yc-pro-components 0.0.52 → 0.0.56
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 +20 -20
- package/es/components/date-picker/src/index.vue.d.ts +12 -12
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/drawer-form/index.d.ts +65 -65
- package/es/components/drawer-form/src/index.vue.d.ts +15 -15
- package/es/components/form/index.d.ts +45 -45
- package/es/components/form/src/form-content.vue.d.ts +20 -20
- package/es/components/form/src/index.vue.d.ts +17 -17
- package/es/components/form-item/index.d.ts +48 -48
- package/es/components/form-item/src/index.vue.d.ts +14 -14
- 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 +344 -344
- package/es/components/page/src/index.vue.d.ts +118 -118
- 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 +154 -154
- package/es/components/search/src/index.vue.d.ts +50 -50
- 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-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +235 -235
- 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/defaults.mjs +9 -2
- package/es/directives/dist/fn-perm.mjs +12 -0
- package/es/hooks/usePlusFormReset.d.ts +238 -238
- package/es/index.css +11 -11
- package/es/index.d.ts +1 -0
- package/es/index.mjs +9 -1
- package/es/utils/dist/permission.mjs +3 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/index.d.ts +1 -0
- package/es/yc-components/version.d.ts +1 -1
- package/index.js +13 -18
- package/index.min.js +11 -11
- package/index.min.mjs +11 -11
- package/index.mjs +7 -15
- 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 +20 -20
- package/lib/components/date-picker/src/index.vue.d.ts +12 -12
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/drawer-form/index.d.ts +65 -65
- package/lib/components/drawer-form/src/index.vue.d.ts +15 -15
- package/lib/components/form/index.d.ts +45 -45
- package/lib/components/form/src/form-content.vue.d.ts +20 -20
- package/lib/components/form/src/index.vue.d.ts +17 -17
- package/lib/components/form-item/index.d.ts +48 -48
- package/lib/components/form-item/src/index.vue.d.ts +14 -14
- 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 +344 -344
- package/lib/components/page/src/index.vue.d.ts +118 -118
- 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 +154 -154
- package/lib/components/search/src/index.vue.d.ts +50 -50
- 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-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +235 -235
- 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/defaults.js +9 -2
- package/lib/directives/dist/fn-perm.js +14 -0
- package/lib/hooks/usePlusFormReset.d.ts +238 -238
- package/lib/index.css +10 -10
- package/lib/index.d.ts +1 -0
- package/lib/index.js +12 -2
- package/lib/utils/dist/permission.js +6 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/index.d.ts +1 -0
- package/lib/yc-components/version.d.ts +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/es/directives/dist/index.mjs +0 -14
- package/lib/directives/dist/index.js +0 -16
|
@@ -100,7 +100,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
100
100
|
columns: PlusColumn[];
|
|
101
101
|
immediate: boolean;
|
|
102
102
|
params: RecordType;
|
|
103
|
-
pagination: false | Omit< PlusPaginationProps, "
|
|
103
|
+
pagination: false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
104
104
|
columnsEmptyText: string;
|
|
105
105
|
postData: <T = RecordType[]>(data: T[]) => T[];
|
|
106
106
|
beforeSearchSubmit: <T_1 = RecordType>(params: T_1) => T_1;
|
|
@@ -137,7 +137,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
137
137
|
data: RecordType[];
|
|
138
138
|
total: number;
|
|
139
139
|
}>;
|
|
140
|
-
readonly pagination: false | Omit< PlusPaginationProps, "
|
|
140
|
+
readonly pagination: false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
141
141
|
readonly columnsEmptyText: string;
|
|
142
142
|
readonly isCard: boolean;
|
|
143
143
|
readonly searchCardProps: Partial< Mutable<CardProps> & {
|
|
@@ -199,7 +199,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
199
199
|
required: true;
|
|
200
200
|
};
|
|
201
201
|
pagination: {
|
|
202
|
-
type: PropType<false | Omit< PlusPaginationProps, "
|
|
202
|
+
type: PropType<false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">>;
|
|
203
203
|
default: () => {};
|
|
204
204
|
};
|
|
205
205
|
columnsEmptyText: {
|
|
@@ -317,7 +317,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
317
317
|
required: true;
|
|
318
318
|
};
|
|
319
319
|
pagination: {
|
|
320
|
-
type: PropType<false | Omit< PlusPaginationProps, "
|
|
320
|
+
type: PropType<false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">>;
|
|
321
321
|
default: () => {};
|
|
322
322
|
};
|
|
323
323
|
columnsEmptyText: {
|
|
@@ -390,9 +390,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
390
390
|
$: ComponentInternalInstance;
|
|
391
391
|
$data: {};
|
|
392
392
|
$props: Partial<{
|
|
393
|
-
modelValue: FieldValues;
|
|
394
393
|
columns: PlusColumn[];
|
|
395
394
|
layout: "grid" | "flex";
|
|
395
|
+
modelValue: FieldValues;
|
|
396
396
|
labelPosition: "top" | "right" | "left";
|
|
397
397
|
inline: boolean;
|
|
398
398
|
showNumber: number;
|
|
@@ -418,9 +418,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
418
418
|
searchIcon: Component | null;
|
|
419
419
|
resetIcon: Component | null;
|
|
420
420
|
}> & Omit<{
|
|
421
|
-
readonly modelValue: FieldValues;
|
|
422
421
|
readonly columns: PlusColumn[];
|
|
423
422
|
readonly layout: "grid" | "flex";
|
|
423
|
+
readonly modelValue: FieldValues;
|
|
424
424
|
readonly inline: boolean;
|
|
425
425
|
readonly showNumber: number;
|
|
426
426
|
readonly defaultValues: FieldValues;
|
|
@@ -445,16 +445,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
445
445
|
readonly labelPosition?: "top" | "right" | "left" | undefined;
|
|
446
446
|
readonly searchIcon?: Component | null | undefined;
|
|
447
447
|
readonly resetIcon?: Component | null | undefined;
|
|
448
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
449
448
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
450
449
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
450
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
451
451
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
452
452
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
453
453
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
454
|
-
modelValue: {
|
|
455
|
-
type: PropType<FieldValues>;
|
|
456
|
-
default: () => {};
|
|
457
|
-
};
|
|
458
454
|
columns: {
|
|
459
455
|
type: PropType<PlusColumn[]>;
|
|
460
456
|
default: () => never[];
|
|
@@ -463,6 +459,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
463
459
|
type: PropType<"grid" | "flex">;
|
|
464
460
|
default: "flex";
|
|
465
461
|
};
|
|
462
|
+
modelValue: {
|
|
463
|
+
type: PropType<FieldValues>;
|
|
464
|
+
default: () => {};
|
|
465
|
+
};
|
|
466
466
|
labelPosition: {
|
|
467
467
|
type: PropType<"top" | "right" | "left">;
|
|
468
468
|
default: undefined;
|
|
@@ -550,12 +550,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
550
550
|
default: undefined;
|
|
551
551
|
};
|
|
552
552
|
}>> & {
|
|
553
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
554
553
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
555
554
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
555
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
556
556
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
557
557
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
558
|
-
}, "
|
|
558
|
+
}, "columns" | "layout" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
559
559
|
$attrs: {
|
|
560
560
|
[x: string]: unknown;
|
|
561
561
|
};
|
|
@@ -567,13 +567,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
567
567
|
}>;
|
|
568
568
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
569
569
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
570
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "
|
|
570
|
+
$emit: ((event: "search", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
571
571
|
$el: any;
|
|
572
572
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
573
|
-
modelValue: {
|
|
574
|
-
type: PropType<FieldValues>;
|
|
575
|
-
default: () => {};
|
|
576
|
-
};
|
|
577
573
|
columns: {
|
|
578
574
|
type: PropType<PlusColumn[]>;
|
|
579
575
|
default: () => never[];
|
|
@@ -582,6 +578,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
582
578
|
type: PropType<"grid" | "flex">;
|
|
583
579
|
default: "flex";
|
|
584
580
|
};
|
|
581
|
+
modelValue: {
|
|
582
|
+
type: PropType<FieldValues>;
|
|
583
|
+
default: () => {};
|
|
584
|
+
};
|
|
585
585
|
labelPosition: {
|
|
586
586
|
type: PropType<"top" | "right" | "left">;
|
|
587
587
|
default: undefined;
|
|
@@ -669,9 +669,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
669
669
|
default: undefined;
|
|
670
670
|
};
|
|
671
671
|
}>> & {
|
|
672
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
673
672
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
674
673
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
674
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
675
675
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
676
676
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
677
677
|
}, {
|
|
@@ -679,12 +679,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
679
679
|
$: ComponentInternalInstance;
|
|
680
680
|
$data: {};
|
|
681
681
|
$props: Partial<{
|
|
682
|
-
modelValue: FieldValues;
|
|
683
682
|
collapseDuration: number;
|
|
684
683
|
collapseTransition: boolean;
|
|
685
684
|
columns: PlusColumn[];
|
|
686
685
|
group: false | PlusFormGroupRow[];
|
|
687
686
|
layout: "grid" | "flex";
|
|
687
|
+
modelValue: FieldValues;
|
|
688
688
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
689
689
|
labelPosition: "top" | "right" | "left";
|
|
690
690
|
labelWidth: string | number;
|
|
@@ -705,7 +705,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
705
705
|
submitText: string;
|
|
706
706
|
resetText: string;
|
|
707
707
|
submitLoading: boolean;
|
|
708
|
-
footerAlign: "
|
|
708
|
+
footerAlign: "right" | "left" | "center";
|
|
709
709
|
cardProps: Partial< Mutable<CardProps> & {
|
|
710
710
|
style?: CSSProperties | undefined;
|
|
711
711
|
class?: any;
|
|
@@ -713,9 +713,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
713
713
|
prevent: boolean;
|
|
714
714
|
clearable: boolean;
|
|
715
715
|
}> & Omit<{
|
|
716
|
-
readonly modelValue: FieldValues;
|
|
717
716
|
readonly columns: PlusColumn[];
|
|
718
717
|
readonly group: false | PlusFormGroupRow[];
|
|
718
|
+
readonly modelValue: FieldValues;
|
|
719
719
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
720
720
|
readonly labelPosition: "top" | "right" | "left";
|
|
721
721
|
readonly labelWidth: string | number;
|
|
@@ -736,7 +736,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
736
736
|
readonly submitText: string;
|
|
737
737
|
readonly resetText: string;
|
|
738
738
|
readonly submitLoading: boolean;
|
|
739
|
-
readonly footerAlign: "
|
|
739
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
740
740
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
741
741
|
style?: CSSProperties | undefined;
|
|
742
742
|
class?: any;
|
|
@@ -746,17 +746,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
746
746
|
readonly collapseDuration?: number | undefined;
|
|
747
747
|
readonly collapseTransition?: boolean | undefined;
|
|
748
748
|
readonly layout?: "grid" | "flex" | undefined;
|
|
749
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
750
749
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
751
750
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
752
751
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
752
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
753
753
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
754
754
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
755
755
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
756
|
-
modelValue: {
|
|
757
|
-
type: PropType<FieldValues>;
|
|
758
|
-
default: () => {};
|
|
759
|
-
};
|
|
760
756
|
collapseDuration: {
|
|
761
757
|
type: PropType<number>;
|
|
762
758
|
default: undefined;
|
|
@@ -777,6 +773,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
777
773
|
type: PropType<"grid" | "flex">;
|
|
778
774
|
default: undefined;
|
|
779
775
|
};
|
|
776
|
+
modelValue: {
|
|
777
|
+
type: PropType<FieldValues>;
|
|
778
|
+
default: () => {};
|
|
779
|
+
};
|
|
780
780
|
rules: {
|
|
781
781
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
782
782
|
default: () => {};
|
|
@@ -840,7 +840,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
840
840
|
default: boolean;
|
|
841
841
|
};
|
|
842
842
|
footerAlign: {
|
|
843
|
-
type: PropType<"
|
|
843
|
+
type: PropType<"right" | "left" | "center">;
|
|
844
844
|
default: string;
|
|
845
845
|
};
|
|
846
846
|
cardProps: {
|
|
@@ -859,13 +859,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
859
859
|
default: boolean;
|
|
860
860
|
};
|
|
861
861
|
}>> & {
|
|
862
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
863
862
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
864
863
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
865
864
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
865
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
866
866
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
867
867
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
868
|
-
}, "
|
|
868
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
869
869
|
$attrs: {
|
|
870
870
|
[x: string]: unknown;
|
|
871
871
|
};
|
|
@@ -877,13 +877,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
877
877
|
}>;
|
|
878
878
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
879
879
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
880
|
-
$emit: ((event: "
|
|
880
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
881
881
|
$el: any;
|
|
882
882
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
883
|
-
modelValue: {
|
|
884
|
-
type: PropType<FieldValues>;
|
|
885
|
-
default: () => {};
|
|
886
|
-
};
|
|
887
883
|
collapseDuration: {
|
|
888
884
|
type: PropType<number>;
|
|
889
885
|
default: undefined;
|
|
@@ -904,6 +900,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
904
900
|
type: PropType<"grid" | "flex">;
|
|
905
901
|
default: undefined;
|
|
906
902
|
};
|
|
903
|
+
modelValue: {
|
|
904
|
+
type: PropType<FieldValues>;
|
|
905
|
+
default: () => {};
|
|
906
|
+
};
|
|
907
907
|
rules: {
|
|
908
908
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
909
909
|
default: () => {};
|
|
@@ -967,7 +967,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
967
967
|
default: boolean;
|
|
968
968
|
};
|
|
969
969
|
footerAlign: {
|
|
970
|
-
type: PropType<"
|
|
970
|
+
type: PropType<"right" | "left" | "center">;
|
|
971
971
|
default: string;
|
|
972
972
|
};
|
|
973
973
|
cardProps: {
|
|
@@ -986,10 +986,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
986
986
|
default: boolean;
|
|
987
987
|
};
|
|
988
988
|
}>> & {
|
|
989
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
990
989
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
991
990
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
992
991
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
992
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
993
993
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
994
994
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
995
995
|
}, {
|
|
@@ -1008,12 +1008,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1008
1008
|
submitError: (errors: unknown) => void;
|
|
1009
1009
|
validate: (...args: any[]) => void;
|
|
1010
1010
|
}, string, {
|
|
1011
|
-
modelValue: FieldValues;
|
|
1012
1011
|
collapseDuration: number;
|
|
1013
1012
|
collapseTransition: boolean;
|
|
1014
1013
|
columns: PlusColumn[];
|
|
1015
1014
|
group: false | PlusFormGroupRow[];
|
|
1016
1015
|
layout: "grid" | "flex";
|
|
1016
|
+
modelValue: FieldValues;
|
|
1017
1017
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1018
1018
|
labelPosition: "top" | "right" | "left";
|
|
1019
1019
|
labelWidth: string | number;
|
|
@@ -1034,7 +1034,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1034
1034
|
submitText: string;
|
|
1035
1035
|
resetText: string;
|
|
1036
1036
|
submitLoading: boolean;
|
|
1037
|
-
footerAlign: "
|
|
1037
|
+
footerAlign: "right" | "left" | "center";
|
|
1038
1038
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1039
1039
|
style?: CSSProperties | undefined;
|
|
1040
1040
|
class?: any;
|
|
@@ -1062,10 +1062,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1062
1062
|
$nextTick: typeof nextTick;
|
|
1063
1063
|
$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;
|
|
1064
1064
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1065
|
-
modelValue: {
|
|
1066
|
-
type: PropType<FieldValues>;
|
|
1067
|
-
default: () => {};
|
|
1068
|
-
};
|
|
1069
1065
|
collapseDuration: {
|
|
1070
1066
|
type: PropType<number>;
|
|
1071
1067
|
default: undefined;
|
|
@@ -1086,6 +1082,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1086
1082
|
type: PropType<"grid" | "flex">;
|
|
1087
1083
|
default: undefined;
|
|
1088
1084
|
};
|
|
1085
|
+
modelValue: {
|
|
1086
|
+
type: PropType<FieldValues>;
|
|
1087
|
+
default: () => {};
|
|
1088
|
+
};
|
|
1089
1089
|
rules: {
|
|
1090
1090
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1091
1091
|
default: () => {};
|
|
@@ -1149,7 +1149,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1149
1149
|
default: boolean;
|
|
1150
1150
|
};
|
|
1151
1151
|
footerAlign: {
|
|
1152
|
-
type: PropType<"
|
|
1152
|
+
type: PropType<"right" | "left" | "center">;
|
|
1153
1153
|
default: string;
|
|
1154
1154
|
};
|
|
1155
1155
|
cardProps: {
|
|
@@ -1168,10 +1168,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1168
1168
|
default: boolean;
|
|
1169
1169
|
};
|
|
1170
1170
|
}>> & {
|
|
1171
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1172
1171
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1173
1172
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1174
1173
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1174
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1175
1175
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1176
1176
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1177
1177
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1195,14 +1195,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1195
1195
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1196
1196
|
columns?: PlusColumn[] | undefined;
|
|
1197
1197
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1198
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1198
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1199
1199
|
readonly label: string | ComputedRef<string>;
|
|
1200
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1200
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1201
1201
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1202
|
-
readonly tooltip: string |
|
|
1202
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1203
1203
|
style?: CSSProperties | undefined;
|
|
1204
1204
|
class?: any;
|
|
1205
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1205
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1206
1206
|
style?: CSSProperties | undefined;
|
|
1207
1207
|
class?: any;
|
|
1208
1208
|
} & RecordType>>;
|
|
@@ -1269,12 +1269,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1269
1269
|
fieldInstance?: any;
|
|
1270
1270
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1271
1271
|
prop: string;
|
|
1272
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1272
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1273
1273
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1274
|
-
tooltip: string |
|
|
1274
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1275
1275
|
style?: CSSProperties | undefined;
|
|
1276
1276
|
class?: any;
|
|
1277
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1277
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1278
1278
|
style?: CSSProperties | undefined;
|
|
1279
1279
|
class?: any;
|
|
1280
1280
|
} & RecordType>>;
|
|
@@ -1303,14 +1303,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1303
1303
|
clearable: boolean;
|
|
1304
1304
|
index: number;
|
|
1305
1305
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1306
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1306
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1307
1307
|
readonly label: string | ComputedRef<string>;
|
|
1308
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1308
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1309
1309
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1310
|
-
readonly tooltip: string |
|
|
1310
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1311
1311
|
style?: CSSProperties | undefined;
|
|
1312
1312
|
class?: any;
|
|
1313
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1313
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1314
1314
|
style?: CSSProperties | undefined;
|
|
1315
1315
|
class?: any;
|
|
1316
1316
|
} & RecordType>>;
|
|
@@ -1377,12 +1377,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1377
1377
|
fieldInstance?: any;
|
|
1378
1378
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1379
1379
|
prop: string;
|
|
1380
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1380
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1381
1381
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1382
|
-
tooltip: string |
|
|
1382
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1383
1383
|
style?: CSSProperties | undefined;
|
|
1384
1384
|
class?: any;
|
|
1385
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1385
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1386
1386
|
style?: CSSProperties | undefined;
|
|
1387
1387
|
class?: any;
|
|
1388
1388
|
} & RecordType>>;
|
|
@@ -1434,9 +1434,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1434
1434
|
reset: (values: FieldValues) => void;
|
|
1435
1435
|
collapse: (isShowUnfold: boolean) => void;
|
|
1436
1436
|
}, string, {
|
|
1437
|
-
modelValue: FieldValues;
|
|
1438
1437
|
columns: PlusColumn[];
|
|
1439
1438
|
layout: "grid" | "flex";
|
|
1439
|
+
modelValue: FieldValues;
|
|
1440
1440
|
labelPosition: "top" | "right" | "left";
|
|
1441
1441
|
inline: boolean;
|
|
1442
1442
|
showNumber: number;
|
|
@@ -1482,10 +1482,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1482
1482
|
$nextTick: typeof nextTick;
|
|
1483
1483
|
$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;
|
|
1484
1484
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1485
|
-
modelValue: {
|
|
1486
|
-
type: PropType<FieldValues>;
|
|
1487
|
-
default: () => {};
|
|
1488
|
-
};
|
|
1489
1485
|
columns: {
|
|
1490
1486
|
type: PropType<PlusColumn[]>;
|
|
1491
1487
|
default: () => never[];
|
|
@@ -1494,6 +1490,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1494
1490
|
type: PropType<"grid" | "flex">;
|
|
1495
1491
|
default: "flex";
|
|
1496
1492
|
};
|
|
1493
|
+
modelValue: {
|
|
1494
|
+
type: PropType<FieldValues>;
|
|
1495
|
+
default: () => {};
|
|
1496
|
+
};
|
|
1497
1497
|
labelPosition: {
|
|
1498
1498
|
type: PropType<"top" | "right" | "left">;
|
|
1499
1499
|
default: undefined;
|
|
@@ -1581,9 +1581,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1581
1581
|
default: undefined;
|
|
1582
1582
|
};
|
|
1583
1583
|
}>> & {
|
|
1584
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1585
1584
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1586
1585
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1586
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1587
1587
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1588
1588
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1589
1589
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -1591,12 +1591,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1591
1591
|
$: ComponentInternalInstance;
|
|
1592
1592
|
$data: {};
|
|
1593
1593
|
$props: Partial<{
|
|
1594
|
-
modelValue: FieldValues;
|
|
1595
1594
|
collapseDuration: number;
|
|
1596
1595
|
collapseTransition: boolean;
|
|
1597
1596
|
columns: PlusColumn[];
|
|
1598
1597
|
group: false | PlusFormGroupRow[];
|
|
1599
1598
|
layout: "grid" | "flex";
|
|
1599
|
+
modelValue: FieldValues;
|
|
1600
1600
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1601
1601
|
labelPosition: "top" | "right" | "left";
|
|
1602
1602
|
labelWidth: string | number;
|
|
@@ -1617,7 +1617,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1617
1617
|
submitText: string;
|
|
1618
1618
|
resetText: string;
|
|
1619
1619
|
submitLoading: boolean;
|
|
1620
|
-
footerAlign: "
|
|
1620
|
+
footerAlign: "right" | "left" | "center";
|
|
1621
1621
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1622
1622
|
style?: CSSProperties | undefined;
|
|
1623
1623
|
class?: any;
|
|
@@ -1625,9 +1625,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1625
1625
|
prevent: boolean;
|
|
1626
1626
|
clearable: boolean;
|
|
1627
1627
|
}> & Omit<{
|
|
1628
|
-
readonly modelValue: FieldValues;
|
|
1629
1628
|
readonly columns: PlusColumn[];
|
|
1630
1629
|
readonly group: false | PlusFormGroupRow[];
|
|
1630
|
+
readonly modelValue: FieldValues;
|
|
1631
1631
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1632
1632
|
readonly labelPosition: "top" | "right" | "left";
|
|
1633
1633
|
readonly labelWidth: string | number;
|
|
@@ -1648,7 +1648,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1648
1648
|
readonly submitText: string;
|
|
1649
1649
|
readonly resetText: string;
|
|
1650
1650
|
readonly submitLoading: boolean;
|
|
1651
|
-
readonly footerAlign: "
|
|
1651
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
1652
1652
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1653
1653
|
style?: CSSProperties | undefined;
|
|
1654
1654
|
class?: any;
|
|
@@ -1658,17 +1658,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1658
1658
|
readonly collapseDuration?: number | undefined;
|
|
1659
1659
|
readonly collapseTransition?: boolean | undefined;
|
|
1660
1660
|
readonly layout?: "grid" | "flex" | undefined;
|
|
1661
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1662
1661
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1663
1662
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1664
1663
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1664
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1665
1665
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1666
1666
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1667
1667
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1668
|
-
modelValue: {
|
|
1669
|
-
type: PropType<FieldValues>;
|
|
1670
|
-
default: () => {};
|
|
1671
|
-
};
|
|
1672
1668
|
collapseDuration: {
|
|
1673
1669
|
type: PropType<number>;
|
|
1674
1670
|
default: undefined;
|
|
@@ -1689,6 +1685,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1689
1685
|
type: PropType<"grid" | "flex">;
|
|
1690
1686
|
default: undefined;
|
|
1691
1687
|
};
|
|
1688
|
+
modelValue: {
|
|
1689
|
+
type: PropType<FieldValues>;
|
|
1690
|
+
default: () => {};
|
|
1691
|
+
};
|
|
1692
1692
|
rules: {
|
|
1693
1693
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1694
1694
|
default: () => {};
|
|
@@ -1752,7 +1752,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1752
1752
|
default: boolean;
|
|
1753
1753
|
};
|
|
1754
1754
|
footerAlign: {
|
|
1755
|
-
type: PropType<"
|
|
1755
|
+
type: PropType<"right" | "left" | "center">;
|
|
1756
1756
|
default: string;
|
|
1757
1757
|
};
|
|
1758
1758
|
cardProps: {
|
|
@@ -1771,13 +1771,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1771
1771
|
default: boolean;
|
|
1772
1772
|
};
|
|
1773
1773
|
}>> & {
|
|
1774
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1775
1774
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1776
1775
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1777
1776
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1777
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1778
1778
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1779
1779
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1780
|
-
}, "
|
|
1780
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
1781
1781
|
$attrs: {
|
|
1782
1782
|
[x: string]: unknown;
|
|
1783
1783
|
};
|
|
@@ -1789,13 +1789,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1789
1789
|
}>;
|
|
1790
1790
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1791
1791
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1792
|
-
$emit: ((event: "
|
|
1792
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
1793
1793
|
$el: any;
|
|
1794
1794
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1795
|
-
modelValue: {
|
|
1796
|
-
type: PropType<FieldValues>;
|
|
1797
|
-
default: () => {};
|
|
1798
|
-
};
|
|
1799
1795
|
collapseDuration: {
|
|
1800
1796
|
type: PropType<number>;
|
|
1801
1797
|
default: undefined;
|
|
@@ -1816,6 +1812,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1816
1812
|
type: PropType<"grid" | "flex">;
|
|
1817
1813
|
default: undefined;
|
|
1818
1814
|
};
|
|
1815
|
+
modelValue: {
|
|
1816
|
+
type: PropType<FieldValues>;
|
|
1817
|
+
default: () => {};
|
|
1818
|
+
};
|
|
1819
1819
|
rules: {
|
|
1820
1820
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1821
1821
|
default: () => {};
|
|
@@ -1879,7 +1879,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1879
1879
|
default: boolean;
|
|
1880
1880
|
};
|
|
1881
1881
|
footerAlign: {
|
|
1882
|
-
type: PropType<"
|
|
1882
|
+
type: PropType<"right" | "left" | "center">;
|
|
1883
1883
|
default: string;
|
|
1884
1884
|
};
|
|
1885
1885
|
cardProps: {
|
|
@@ -1898,10 +1898,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1898
1898
|
default: boolean;
|
|
1899
1899
|
};
|
|
1900
1900
|
}>> & {
|
|
1901
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1902
1901
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1903
1902
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1904
1903
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1904
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1905
1905
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1906
1906
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1907
1907
|
}, {
|
|
@@ -1920,12 +1920,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1920
1920
|
submitError: (errors: unknown) => void;
|
|
1921
1921
|
validate: (...args: any[]) => void;
|
|
1922
1922
|
}, string, {
|
|
1923
|
-
modelValue: FieldValues;
|
|
1924
1923
|
collapseDuration: number;
|
|
1925
1924
|
collapseTransition: boolean;
|
|
1926
1925
|
columns: PlusColumn[];
|
|
1927
1926
|
group: false | PlusFormGroupRow[];
|
|
1928
1927
|
layout: "grid" | "flex";
|
|
1928
|
+
modelValue: FieldValues;
|
|
1929
1929
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1930
1930
|
labelPosition: "top" | "right" | "left";
|
|
1931
1931
|
labelWidth: string | number;
|
|
@@ -1946,7 +1946,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1946
1946
|
submitText: string;
|
|
1947
1947
|
resetText: string;
|
|
1948
1948
|
submitLoading: boolean;
|
|
1949
|
-
footerAlign: "
|
|
1949
|
+
footerAlign: "right" | "left" | "center";
|
|
1950
1950
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1951
1951
|
style?: CSSProperties | undefined;
|
|
1952
1952
|
class?: any;
|
|
@@ -1974,10 +1974,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1974
1974
|
$nextTick: typeof nextTick;
|
|
1975
1975
|
$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;
|
|
1976
1976
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1977
|
-
modelValue: {
|
|
1978
|
-
type: PropType<FieldValues>;
|
|
1979
|
-
default: () => {};
|
|
1980
|
-
};
|
|
1981
1977
|
collapseDuration: {
|
|
1982
1978
|
type: PropType<number>;
|
|
1983
1979
|
default: undefined;
|
|
@@ -1998,6 +1994,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1998
1994
|
type: PropType<"grid" | "flex">;
|
|
1999
1995
|
default: undefined;
|
|
2000
1996
|
};
|
|
1997
|
+
modelValue: {
|
|
1998
|
+
type: PropType<FieldValues>;
|
|
1999
|
+
default: () => {};
|
|
2000
|
+
};
|
|
2001
2001
|
rules: {
|
|
2002
2002
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2003
2003
|
default: () => {};
|
|
@@ -2061,7 +2061,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2061
2061
|
default: boolean;
|
|
2062
2062
|
};
|
|
2063
2063
|
footerAlign: {
|
|
2064
|
-
type: PropType<"
|
|
2064
|
+
type: PropType<"right" | "left" | "center">;
|
|
2065
2065
|
default: string;
|
|
2066
2066
|
};
|
|
2067
2067
|
cardProps: {
|
|
@@ -2080,10 +2080,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2080
2080
|
default: boolean;
|
|
2081
2081
|
};
|
|
2082
2082
|
}>> & {
|
|
2083
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2084
2083
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2085
2084
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2086
2085
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2086
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2087
2087
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2088
2088
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2089
2089
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2107,14 +2107,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2107
2107
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2108
2108
|
columns?: PlusColumn[] | undefined;
|
|
2109
2109
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2110
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2110
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2111
2111
|
readonly label: string | ComputedRef<string>;
|
|
2112
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2112
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2113
2113
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2114
|
-
readonly tooltip: string |
|
|
2114
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2115
2115
|
style?: CSSProperties | undefined;
|
|
2116
2116
|
class?: any;
|
|
2117
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2117
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2118
2118
|
style?: CSSProperties | undefined;
|
|
2119
2119
|
class?: any;
|
|
2120
2120
|
} & RecordType>>;
|
|
@@ -2181,12 +2181,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2181
2181
|
fieldInstance?: any;
|
|
2182
2182
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2183
2183
|
prop: string;
|
|
2184
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2184
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2185
2185
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2186
|
-
tooltip: string |
|
|
2186
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2187
2187
|
style?: CSSProperties | undefined;
|
|
2188
2188
|
class?: any;
|
|
2189
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2189
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2190
2190
|
style?: CSSProperties | undefined;
|
|
2191
2191
|
class?: any;
|
|
2192
2192
|
} & RecordType>>;
|
|
@@ -2215,14 +2215,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2215
2215
|
clearable: boolean;
|
|
2216
2216
|
index: number;
|
|
2217
2217
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2218
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2218
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2219
2219
|
readonly label: string | ComputedRef<string>;
|
|
2220
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2220
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2221
2221
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2222
|
-
readonly tooltip: string |
|
|
2222
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2223
2223
|
style?: CSSProperties | undefined;
|
|
2224
2224
|
class?: any;
|
|
2225
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2225
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2226
2226
|
style?: CSSProperties | undefined;
|
|
2227
2227
|
class?: any;
|
|
2228
2228
|
} & RecordType>>;
|
|
@@ -2289,12 +2289,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2289
2289
|
fieldInstance?: any;
|
|
2290
2290
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2291
2291
|
prop: string;
|
|
2292
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2292
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2293
2293
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2294
|
-
tooltip: string |
|
|
2294
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2295
2295
|
style?: CSSProperties | undefined;
|
|
2296
2296
|
class?: any;
|
|
2297
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2297
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2298
2298
|
style?: CSSProperties | undefined;
|
|
2299
2299
|
class?: any;
|
|
2300
2300
|
} & RecordType>>;
|
|
@@ -2341,14 +2341,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2341
2341
|
handleUnfold: (e: MouseEvent) => void;
|
|
2342
2342
|
}> & {} & ComponentCustomProperties & {} & {
|
|
2343
2343
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
2344
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2344
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2345
2345
|
readonly label: string | ComputedRef<string>;
|
|
2346
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2346
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2347
2347
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2348
|
-
readonly tooltip: string |
|
|
2348
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2349
2349
|
style?: CSSProperties | undefined;
|
|
2350
2350
|
class?: any;
|
|
2351
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2351
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2352
2352
|
style?: CSSProperties | undefined;
|
|
2353
2353
|
class?: any;
|
|
2354
2354
|
} & RecordType>>;
|
|
@@ -2415,12 +2415,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2415
2415
|
fieldInstance?: any;
|
|
2416
2416
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2417
2417
|
prop: string;
|
|
2418
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2418
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2419
2419
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2420
|
-
tooltip: string |
|
|
2420
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2421
2421
|
style?: CSSProperties | undefined;
|
|
2422
2422
|
class?: any;
|
|
2423
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2423
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2424
2424
|
style?: CSSProperties | undefined;
|
|
2425
2425
|
class?: any;
|
|
2426
2426
|
} & RecordType>>;
|
|
@@ -3711,7 +3711,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3711
3711
|
columns: PlusColumn[];
|
|
3712
3712
|
immediate: boolean;
|
|
3713
3713
|
params: RecordType;
|
|
3714
|
-
pagination: false | Omit< PlusPaginationProps, "
|
|
3714
|
+
pagination: false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
3715
3715
|
columnsEmptyText: string;
|
|
3716
3716
|
postData: <T = RecordType[]>(data: T[]) => T[];
|
|
3717
3717
|
beforeSearchSubmit: <T_1 = RecordType>(params: T_1) => T_1;
|
|
@@ -3788,7 +3788,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3788
3788
|
required: true;
|
|
3789
3789
|
};
|
|
3790
3790
|
pagination: {
|
|
3791
|
-
type: PropType<false | Omit< PlusPaginationProps, "
|
|
3791
|
+
type: PropType<false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">>;
|
|
3792
3792
|
default: () => {};
|
|
3793
3793
|
};
|
|
3794
3794
|
columnsEmptyText: {
|
|
@@ -3861,9 +3861,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3861
3861
|
$: ComponentInternalInstance;
|
|
3862
3862
|
$data: {};
|
|
3863
3863
|
$props: Partial<{
|
|
3864
|
-
modelValue: FieldValues;
|
|
3865
3864
|
columns: PlusColumn[];
|
|
3866
3865
|
layout: "grid" | "flex";
|
|
3866
|
+
modelValue: FieldValues;
|
|
3867
3867
|
labelPosition: "top" | "right" | "left";
|
|
3868
3868
|
inline: boolean;
|
|
3869
3869
|
showNumber: number;
|
|
@@ -3889,9 +3889,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3889
3889
|
searchIcon: Component | null;
|
|
3890
3890
|
resetIcon: Component | null;
|
|
3891
3891
|
}> & Omit<{
|
|
3892
|
-
readonly modelValue: FieldValues;
|
|
3893
3892
|
readonly columns: PlusColumn[];
|
|
3894
3893
|
readonly layout: "grid" | "flex";
|
|
3894
|
+
readonly modelValue: FieldValues;
|
|
3895
3895
|
readonly inline: boolean;
|
|
3896
3896
|
readonly showNumber: number;
|
|
3897
3897
|
readonly defaultValues: FieldValues;
|
|
@@ -3916,16 +3916,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3916
3916
|
readonly labelPosition?: "top" | "right" | "left" | undefined;
|
|
3917
3917
|
readonly searchIcon?: Component | null | undefined;
|
|
3918
3918
|
readonly resetIcon?: Component | null | undefined;
|
|
3919
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3920
3919
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3921
3920
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3921
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3922
3922
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
3923
3923
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
3924
3924
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3925
|
-
modelValue: {
|
|
3926
|
-
type: PropType<FieldValues>;
|
|
3927
|
-
default: () => {};
|
|
3928
|
-
};
|
|
3929
3925
|
columns: {
|
|
3930
3926
|
type: PropType<PlusColumn[]>;
|
|
3931
3927
|
default: () => never[];
|
|
@@ -3934,6 +3930,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3934
3930
|
type: PropType<"grid" | "flex">;
|
|
3935
3931
|
default: "flex";
|
|
3936
3932
|
};
|
|
3933
|
+
modelValue: {
|
|
3934
|
+
type: PropType<FieldValues>;
|
|
3935
|
+
default: () => {};
|
|
3936
|
+
};
|
|
3937
3937
|
labelPosition: {
|
|
3938
3938
|
type: PropType<"top" | "right" | "left">;
|
|
3939
3939
|
default: undefined;
|
|
@@ -4021,12 +4021,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4021
4021
|
default: undefined;
|
|
4022
4022
|
};
|
|
4023
4023
|
}>> & {
|
|
4024
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4025
4024
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4026
4025
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4026
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4027
4027
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
4028
4028
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
4029
|
-
}, "
|
|
4029
|
+
}, "columns" | "layout" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
4030
4030
|
$attrs: {
|
|
4031
4031
|
[x: string]: unknown;
|
|
4032
4032
|
};
|
|
@@ -4038,13 +4038,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4038
4038
|
}>;
|
|
4039
4039
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4040
4040
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4041
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "
|
|
4041
|
+
$emit: ((event: "search", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
4042
4042
|
$el: any;
|
|
4043
4043
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
4044
|
-
modelValue: {
|
|
4045
|
-
type: PropType<FieldValues>;
|
|
4046
|
-
default: () => {};
|
|
4047
|
-
};
|
|
4048
4044
|
columns: {
|
|
4049
4045
|
type: PropType<PlusColumn[]>;
|
|
4050
4046
|
default: () => never[];
|
|
@@ -4053,6 +4049,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4053
4049
|
type: PropType<"grid" | "flex">;
|
|
4054
4050
|
default: "flex";
|
|
4055
4051
|
};
|
|
4052
|
+
modelValue: {
|
|
4053
|
+
type: PropType<FieldValues>;
|
|
4054
|
+
default: () => {};
|
|
4055
|
+
};
|
|
4056
4056
|
labelPosition: {
|
|
4057
4057
|
type: PropType<"top" | "right" | "left">;
|
|
4058
4058
|
default: undefined;
|
|
@@ -4140,9 +4140,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4140
4140
|
default: undefined;
|
|
4141
4141
|
};
|
|
4142
4142
|
}>> & {
|
|
4143
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4144
4143
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4145
4144
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4145
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4146
4146
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
4147
4147
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
4148
4148
|
}, {
|
|
@@ -4150,12 +4150,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4150
4150
|
$: ComponentInternalInstance;
|
|
4151
4151
|
$data: {};
|
|
4152
4152
|
$props: Partial<{
|
|
4153
|
-
modelValue: FieldValues;
|
|
4154
4153
|
collapseDuration: number;
|
|
4155
4154
|
collapseTransition: boolean;
|
|
4156
4155
|
columns: PlusColumn[];
|
|
4157
4156
|
group: false | PlusFormGroupRow[];
|
|
4158
4157
|
layout: "grid" | "flex";
|
|
4158
|
+
modelValue: FieldValues;
|
|
4159
4159
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
4160
4160
|
labelPosition: "top" | "right" | "left";
|
|
4161
4161
|
labelWidth: string | number;
|
|
@@ -4176,7 +4176,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4176
4176
|
submitText: string;
|
|
4177
4177
|
resetText: string;
|
|
4178
4178
|
submitLoading: boolean;
|
|
4179
|
-
footerAlign: "
|
|
4179
|
+
footerAlign: "right" | "left" | "center";
|
|
4180
4180
|
cardProps: Partial< Mutable<CardProps> & {
|
|
4181
4181
|
style?: CSSProperties | undefined;
|
|
4182
4182
|
class?: any;
|
|
@@ -4184,9 +4184,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4184
4184
|
prevent: boolean;
|
|
4185
4185
|
clearable: boolean;
|
|
4186
4186
|
}> & Omit<{
|
|
4187
|
-
readonly modelValue: FieldValues;
|
|
4188
4187
|
readonly columns: PlusColumn[];
|
|
4189
4188
|
readonly group: false | PlusFormGroupRow[];
|
|
4189
|
+
readonly modelValue: FieldValues;
|
|
4190
4190
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
4191
4191
|
readonly labelPosition: "top" | "right" | "left";
|
|
4192
4192
|
readonly labelWidth: string | number;
|
|
@@ -4207,7 +4207,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4207
4207
|
readonly submitText: string;
|
|
4208
4208
|
readonly resetText: string;
|
|
4209
4209
|
readonly submitLoading: boolean;
|
|
4210
|
-
readonly footerAlign: "
|
|
4210
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
4211
4211
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
4212
4212
|
style?: CSSProperties | undefined;
|
|
4213
4213
|
class?: any;
|
|
@@ -4217,17 +4217,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4217
4217
|
readonly collapseDuration?: number | undefined;
|
|
4218
4218
|
readonly collapseTransition?: boolean | undefined;
|
|
4219
4219
|
readonly layout?: "grid" | "flex" | undefined;
|
|
4220
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4221
4220
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4222
4221
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4223
4222
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
4223
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4224
4224
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
4225
4225
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
4226
4226
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
4227
|
-
modelValue: {
|
|
4228
|
-
type: PropType<FieldValues>;
|
|
4229
|
-
default: () => {};
|
|
4230
|
-
};
|
|
4231
4227
|
collapseDuration: {
|
|
4232
4228
|
type: PropType<number>;
|
|
4233
4229
|
default: undefined;
|
|
@@ -4248,6 +4244,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4248
4244
|
type: PropType<"grid" | "flex">;
|
|
4249
4245
|
default: undefined;
|
|
4250
4246
|
};
|
|
4247
|
+
modelValue: {
|
|
4248
|
+
type: PropType<FieldValues>;
|
|
4249
|
+
default: () => {};
|
|
4250
|
+
};
|
|
4251
4251
|
rules: {
|
|
4252
4252
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
4253
4253
|
default: () => {};
|
|
@@ -4311,7 +4311,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4311
4311
|
default: boolean;
|
|
4312
4312
|
};
|
|
4313
4313
|
footerAlign: {
|
|
4314
|
-
type: PropType<"
|
|
4314
|
+
type: PropType<"right" | "left" | "center">;
|
|
4315
4315
|
default: string;
|
|
4316
4316
|
};
|
|
4317
4317
|
cardProps: {
|
|
@@ -4330,13 +4330,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4330
4330
|
default: boolean;
|
|
4331
4331
|
};
|
|
4332
4332
|
}>> & {
|
|
4333
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4334
4333
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4335
4334
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4336
4335
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
4336
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4337
4337
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
4338
4338
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
4339
|
-
}, "
|
|
4339
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
4340
4340
|
$attrs: {
|
|
4341
4341
|
[x: string]: unknown;
|
|
4342
4342
|
};
|
|
@@ -4348,13 +4348,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4348
4348
|
}>;
|
|
4349
4349
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4350
4350
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4351
|
-
$emit: ((event: "
|
|
4351
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
4352
4352
|
$el: any;
|
|
4353
4353
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
4354
|
-
modelValue: {
|
|
4355
|
-
type: PropType<FieldValues>;
|
|
4356
|
-
default: () => {};
|
|
4357
|
-
};
|
|
4358
4354
|
collapseDuration: {
|
|
4359
4355
|
type: PropType<number>;
|
|
4360
4356
|
default: undefined;
|
|
@@ -4375,6 +4371,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4375
4371
|
type: PropType<"grid" | "flex">;
|
|
4376
4372
|
default: undefined;
|
|
4377
4373
|
};
|
|
4374
|
+
modelValue: {
|
|
4375
|
+
type: PropType<FieldValues>;
|
|
4376
|
+
default: () => {};
|
|
4377
|
+
};
|
|
4378
4378
|
rules: {
|
|
4379
4379
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
4380
4380
|
default: () => {};
|
|
@@ -4438,7 +4438,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4438
4438
|
default: boolean;
|
|
4439
4439
|
};
|
|
4440
4440
|
footerAlign: {
|
|
4441
|
-
type: PropType<"
|
|
4441
|
+
type: PropType<"right" | "left" | "center">;
|
|
4442
4442
|
default: string;
|
|
4443
4443
|
};
|
|
4444
4444
|
cardProps: {
|
|
@@ -4457,10 +4457,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4457
4457
|
default: boolean;
|
|
4458
4458
|
};
|
|
4459
4459
|
}>> & {
|
|
4460
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4461
4460
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4462
4461
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4463
4462
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
4463
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4464
4464
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
4465
4465
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
4466
4466
|
}, {
|
|
@@ -4479,12 +4479,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4479
4479
|
submitError: (errors: unknown) => void;
|
|
4480
4480
|
validate: (...args: any[]) => void;
|
|
4481
4481
|
}, string, {
|
|
4482
|
-
modelValue: FieldValues;
|
|
4483
4482
|
collapseDuration: number;
|
|
4484
4483
|
collapseTransition: boolean;
|
|
4485
4484
|
columns: PlusColumn[];
|
|
4486
4485
|
group: false | PlusFormGroupRow[];
|
|
4487
4486
|
layout: "grid" | "flex";
|
|
4487
|
+
modelValue: FieldValues;
|
|
4488
4488
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
4489
4489
|
labelPosition: "top" | "right" | "left";
|
|
4490
4490
|
labelWidth: string | number;
|
|
@@ -4505,7 +4505,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4505
4505
|
submitText: string;
|
|
4506
4506
|
resetText: string;
|
|
4507
4507
|
submitLoading: boolean;
|
|
4508
|
-
footerAlign: "
|
|
4508
|
+
footerAlign: "right" | "left" | "center";
|
|
4509
4509
|
cardProps: Partial< Mutable<CardProps> & {
|
|
4510
4510
|
style?: CSSProperties | undefined;
|
|
4511
4511
|
class?: any;
|
|
@@ -4533,10 +4533,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4533
4533
|
$nextTick: typeof nextTick;
|
|
4534
4534
|
$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;
|
|
4535
4535
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
4536
|
-
modelValue: {
|
|
4537
|
-
type: PropType<FieldValues>;
|
|
4538
|
-
default: () => {};
|
|
4539
|
-
};
|
|
4540
4536
|
collapseDuration: {
|
|
4541
4537
|
type: PropType<number>;
|
|
4542
4538
|
default: undefined;
|
|
@@ -4557,6 +4553,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4557
4553
|
type: PropType<"grid" | "flex">;
|
|
4558
4554
|
default: undefined;
|
|
4559
4555
|
};
|
|
4556
|
+
modelValue: {
|
|
4557
|
+
type: PropType<FieldValues>;
|
|
4558
|
+
default: () => {};
|
|
4559
|
+
};
|
|
4560
4560
|
rules: {
|
|
4561
4561
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
4562
4562
|
default: () => {};
|
|
@@ -4620,7 +4620,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4620
4620
|
default: boolean;
|
|
4621
4621
|
};
|
|
4622
4622
|
footerAlign: {
|
|
4623
|
-
type: PropType<"
|
|
4623
|
+
type: PropType<"right" | "left" | "center">;
|
|
4624
4624
|
default: string;
|
|
4625
4625
|
};
|
|
4626
4626
|
cardProps: {
|
|
@@ -4639,10 +4639,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4639
4639
|
default: boolean;
|
|
4640
4640
|
};
|
|
4641
4641
|
}>> & {
|
|
4642
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4643
4642
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4644
4643
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4645
4644
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
4645
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4646
4646
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
4647
4647
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
4648
4648
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -4666,14 +4666,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4666
4666
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
4667
4667
|
columns?: PlusColumn[] | undefined;
|
|
4668
4668
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4669
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4669
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4670
4670
|
readonly label: string | ComputedRef<string>;
|
|
4671
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4671
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4672
4672
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4673
|
-
readonly tooltip: string |
|
|
4673
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4674
4674
|
style?: CSSProperties | undefined;
|
|
4675
4675
|
class?: any;
|
|
4676
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4676
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4677
4677
|
style?: CSSProperties | undefined;
|
|
4678
4678
|
class?: any;
|
|
4679
4679
|
} & RecordType>>;
|
|
@@ -4740,12 +4740,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4740
4740
|
fieldInstance?: any;
|
|
4741
4741
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4742
4742
|
prop: string;
|
|
4743
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4743
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4744
4744
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4745
|
-
tooltip: string |
|
|
4745
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4746
4746
|
style?: CSSProperties | undefined;
|
|
4747
4747
|
class?: any;
|
|
4748
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4748
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4749
4749
|
style?: CSSProperties | undefined;
|
|
4750
4750
|
class?: any;
|
|
4751
4751
|
} & RecordType>>;
|
|
@@ -4774,14 +4774,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4774
4774
|
clearable: boolean;
|
|
4775
4775
|
index: number;
|
|
4776
4776
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4777
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4777
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4778
4778
|
readonly label: string | ComputedRef<string>;
|
|
4779
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4779
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4780
4780
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4781
|
-
readonly tooltip: string |
|
|
4781
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4782
4782
|
style?: CSSProperties | undefined;
|
|
4783
4783
|
class?: any;
|
|
4784
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4784
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4785
4785
|
style?: CSSProperties | undefined;
|
|
4786
4786
|
class?: any;
|
|
4787
4787
|
} & RecordType>>;
|
|
@@ -4848,12 +4848,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4848
4848
|
fieldInstance?: any;
|
|
4849
4849
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4850
4850
|
prop: string;
|
|
4851
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4851
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4852
4852
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4853
|
-
tooltip: string |
|
|
4853
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4854
4854
|
style?: CSSProperties | undefined;
|
|
4855
4855
|
class?: any;
|
|
4856
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4856
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4857
4857
|
style?: CSSProperties | undefined;
|
|
4858
4858
|
class?: any;
|
|
4859
4859
|
} & RecordType>>;
|
|
@@ -4905,9 +4905,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4905
4905
|
reset: (values: FieldValues) => void;
|
|
4906
4906
|
collapse: (isShowUnfold: boolean) => void;
|
|
4907
4907
|
}, string, {
|
|
4908
|
-
modelValue: FieldValues;
|
|
4909
4908
|
columns: PlusColumn[];
|
|
4910
4909
|
layout: "grid" | "flex";
|
|
4910
|
+
modelValue: FieldValues;
|
|
4911
4911
|
labelPosition: "top" | "right" | "left";
|
|
4912
4912
|
inline: boolean;
|
|
4913
4913
|
showNumber: number;
|
|
@@ -4953,10 +4953,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4953
4953
|
$nextTick: typeof nextTick;
|
|
4954
4954
|
$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;
|
|
4955
4955
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
4956
|
-
modelValue: {
|
|
4957
|
-
type: PropType<FieldValues>;
|
|
4958
|
-
default: () => {};
|
|
4959
|
-
};
|
|
4960
4956
|
columns: {
|
|
4961
4957
|
type: PropType<PlusColumn[]>;
|
|
4962
4958
|
default: () => never[];
|
|
@@ -4965,6 +4961,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4965
4961
|
type: PropType<"grid" | "flex">;
|
|
4966
4962
|
default: "flex";
|
|
4967
4963
|
};
|
|
4964
|
+
modelValue: {
|
|
4965
|
+
type: PropType<FieldValues>;
|
|
4966
|
+
default: () => {};
|
|
4967
|
+
};
|
|
4968
4968
|
labelPosition: {
|
|
4969
4969
|
type: PropType<"top" | "right" | "left">;
|
|
4970
4970
|
default: undefined;
|
|
@@ -5052,9 +5052,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5052
5052
|
default: undefined;
|
|
5053
5053
|
};
|
|
5054
5054
|
}>> & {
|
|
5055
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5056
5055
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5057
5056
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5057
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5058
5058
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
5059
5059
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
5060
5060
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -5062,12 +5062,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5062
5062
|
$: ComponentInternalInstance;
|
|
5063
5063
|
$data: {};
|
|
5064
5064
|
$props: Partial<{
|
|
5065
|
-
modelValue: FieldValues;
|
|
5066
5065
|
collapseDuration: number;
|
|
5067
5066
|
collapseTransition: boolean;
|
|
5068
5067
|
columns: PlusColumn[];
|
|
5069
5068
|
group: false | PlusFormGroupRow[];
|
|
5070
5069
|
layout: "grid" | "flex";
|
|
5070
|
+
modelValue: FieldValues;
|
|
5071
5071
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
5072
5072
|
labelPosition: "top" | "right" | "left";
|
|
5073
5073
|
labelWidth: string | number;
|
|
@@ -5088,7 +5088,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5088
5088
|
submitText: string;
|
|
5089
5089
|
resetText: string;
|
|
5090
5090
|
submitLoading: boolean;
|
|
5091
|
-
footerAlign: "
|
|
5091
|
+
footerAlign: "right" | "left" | "center";
|
|
5092
5092
|
cardProps: Partial< Mutable<CardProps> & {
|
|
5093
5093
|
style?: CSSProperties | undefined;
|
|
5094
5094
|
class?: any;
|
|
@@ -5096,9 +5096,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5096
5096
|
prevent: boolean;
|
|
5097
5097
|
clearable: boolean;
|
|
5098
5098
|
}> & Omit<{
|
|
5099
|
-
readonly modelValue: FieldValues;
|
|
5100
5099
|
readonly columns: PlusColumn[];
|
|
5101
5100
|
readonly group: false | PlusFormGroupRow[];
|
|
5101
|
+
readonly modelValue: FieldValues;
|
|
5102
5102
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
5103
5103
|
readonly labelPosition: "top" | "right" | "left";
|
|
5104
5104
|
readonly labelWidth: string | number;
|
|
@@ -5119,7 +5119,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5119
5119
|
readonly submitText: string;
|
|
5120
5120
|
readonly resetText: string;
|
|
5121
5121
|
readonly submitLoading: boolean;
|
|
5122
|
-
readonly footerAlign: "
|
|
5122
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
5123
5123
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
5124
5124
|
style?: CSSProperties | undefined;
|
|
5125
5125
|
class?: any;
|
|
@@ -5129,17 +5129,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5129
5129
|
readonly collapseDuration?: number | undefined;
|
|
5130
5130
|
readonly collapseTransition?: boolean | undefined;
|
|
5131
5131
|
readonly layout?: "grid" | "flex" | undefined;
|
|
5132
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5133
5132
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5134
5133
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5135
5134
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5135
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5136
5136
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5137
5137
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5138
5138
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
5139
|
-
modelValue: {
|
|
5140
|
-
type: PropType<FieldValues>;
|
|
5141
|
-
default: () => {};
|
|
5142
|
-
};
|
|
5143
5139
|
collapseDuration: {
|
|
5144
5140
|
type: PropType<number>;
|
|
5145
5141
|
default: undefined;
|
|
@@ -5160,6 +5156,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5160
5156
|
type: PropType<"grid" | "flex">;
|
|
5161
5157
|
default: undefined;
|
|
5162
5158
|
};
|
|
5159
|
+
modelValue: {
|
|
5160
|
+
type: PropType<FieldValues>;
|
|
5161
|
+
default: () => {};
|
|
5162
|
+
};
|
|
5163
5163
|
rules: {
|
|
5164
5164
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5165
5165
|
default: () => {};
|
|
@@ -5223,7 +5223,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5223
5223
|
default: boolean;
|
|
5224
5224
|
};
|
|
5225
5225
|
footerAlign: {
|
|
5226
|
-
type: PropType<"
|
|
5226
|
+
type: PropType<"right" | "left" | "center">;
|
|
5227
5227
|
default: string;
|
|
5228
5228
|
};
|
|
5229
5229
|
cardProps: {
|
|
@@ -5242,13 +5242,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5242
5242
|
default: boolean;
|
|
5243
5243
|
};
|
|
5244
5244
|
}>> & {
|
|
5245
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5246
5245
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5247
5246
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5248
5247
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5248
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5249
5249
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5250
5250
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5251
|
-
}, "
|
|
5251
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
5252
5252
|
$attrs: {
|
|
5253
5253
|
[x: string]: unknown;
|
|
5254
5254
|
};
|
|
@@ -5260,13 +5260,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5260
5260
|
}>;
|
|
5261
5261
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
5262
5262
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
5263
|
-
$emit: ((event: "
|
|
5263
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
5264
5264
|
$el: any;
|
|
5265
5265
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
5266
|
-
modelValue: {
|
|
5267
|
-
type: PropType<FieldValues>;
|
|
5268
|
-
default: () => {};
|
|
5269
|
-
};
|
|
5270
5266
|
collapseDuration: {
|
|
5271
5267
|
type: PropType<number>;
|
|
5272
5268
|
default: undefined;
|
|
@@ -5287,6 +5283,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5287
5283
|
type: PropType<"grid" | "flex">;
|
|
5288
5284
|
default: undefined;
|
|
5289
5285
|
};
|
|
5286
|
+
modelValue: {
|
|
5287
|
+
type: PropType<FieldValues>;
|
|
5288
|
+
default: () => {};
|
|
5289
|
+
};
|
|
5290
5290
|
rules: {
|
|
5291
5291
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5292
5292
|
default: () => {};
|
|
@@ -5350,7 +5350,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5350
5350
|
default: boolean;
|
|
5351
5351
|
};
|
|
5352
5352
|
footerAlign: {
|
|
5353
|
-
type: PropType<"
|
|
5353
|
+
type: PropType<"right" | "left" | "center">;
|
|
5354
5354
|
default: string;
|
|
5355
5355
|
};
|
|
5356
5356
|
cardProps: {
|
|
@@ -5369,10 +5369,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5369
5369
|
default: boolean;
|
|
5370
5370
|
};
|
|
5371
5371
|
}>> & {
|
|
5372
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5373
5372
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5374
5373
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5375
5374
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5375
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5376
5376
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5377
5377
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5378
5378
|
}, {
|
|
@@ -5391,12 +5391,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5391
5391
|
submitError: (errors: unknown) => void;
|
|
5392
5392
|
validate: (...args: any[]) => void;
|
|
5393
5393
|
}, string, {
|
|
5394
|
-
modelValue: FieldValues;
|
|
5395
5394
|
collapseDuration: number;
|
|
5396
5395
|
collapseTransition: boolean;
|
|
5397
5396
|
columns: PlusColumn[];
|
|
5398
5397
|
group: false | PlusFormGroupRow[];
|
|
5399
5398
|
layout: "grid" | "flex";
|
|
5399
|
+
modelValue: FieldValues;
|
|
5400
5400
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
5401
5401
|
labelPosition: "top" | "right" | "left";
|
|
5402
5402
|
labelWidth: string | number;
|
|
@@ -5417,7 +5417,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5417
5417
|
submitText: string;
|
|
5418
5418
|
resetText: string;
|
|
5419
5419
|
submitLoading: boolean;
|
|
5420
|
-
footerAlign: "
|
|
5420
|
+
footerAlign: "right" | "left" | "center";
|
|
5421
5421
|
cardProps: Partial< Mutable<CardProps> & {
|
|
5422
5422
|
style?: CSSProperties | undefined;
|
|
5423
5423
|
class?: any;
|
|
@@ -5445,10 +5445,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5445
5445
|
$nextTick: typeof nextTick;
|
|
5446
5446
|
$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;
|
|
5447
5447
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
5448
|
-
modelValue: {
|
|
5449
|
-
type: PropType<FieldValues>;
|
|
5450
|
-
default: () => {};
|
|
5451
|
-
};
|
|
5452
5448
|
collapseDuration: {
|
|
5453
5449
|
type: PropType<number>;
|
|
5454
5450
|
default: undefined;
|
|
@@ -5469,6 +5465,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5469
5465
|
type: PropType<"grid" | "flex">;
|
|
5470
5466
|
default: undefined;
|
|
5471
5467
|
};
|
|
5468
|
+
modelValue: {
|
|
5469
|
+
type: PropType<FieldValues>;
|
|
5470
|
+
default: () => {};
|
|
5471
|
+
};
|
|
5472
5472
|
rules: {
|
|
5473
5473
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5474
5474
|
default: () => {};
|
|
@@ -5532,7 +5532,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5532
5532
|
default: boolean;
|
|
5533
5533
|
};
|
|
5534
5534
|
footerAlign: {
|
|
5535
|
-
type: PropType<"
|
|
5535
|
+
type: PropType<"right" | "left" | "center">;
|
|
5536
5536
|
default: string;
|
|
5537
5537
|
};
|
|
5538
5538
|
cardProps: {
|
|
@@ -5551,10 +5551,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5551
5551
|
default: boolean;
|
|
5552
5552
|
};
|
|
5553
5553
|
}>> & {
|
|
5554
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5555
5554
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5556
5555
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5557
5556
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5557
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5558
5558
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5559
5559
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5560
5560
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -5578,14 +5578,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5578
5578
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
5579
5579
|
columns?: PlusColumn[] | undefined;
|
|
5580
5580
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
5581
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
5581
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5582
5582
|
readonly label: string | ComputedRef<string>;
|
|
5583
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5583
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5584
5584
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5585
|
-
readonly tooltip: string |
|
|
5585
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5586
5586
|
style?: CSSProperties | undefined;
|
|
5587
5587
|
class?: any;
|
|
5588
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5588
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5589
5589
|
style?: CSSProperties | undefined;
|
|
5590
5590
|
class?: any;
|
|
5591
5591
|
} & RecordType>>;
|
|
@@ -5652,12 +5652,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5652
5652
|
fieldInstance?: any;
|
|
5653
5653
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5654
5654
|
prop: string;
|
|
5655
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5655
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5656
5656
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5657
|
-
tooltip: string |
|
|
5657
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5658
5658
|
style?: CSSProperties | undefined;
|
|
5659
5659
|
class?: any;
|
|
5660
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5660
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5661
5661
|
style?: CSSProperties | undefined;
|
|
5662
5662
|
class?: any;
|
|
5663
5663
|
} & RecordType>>;
|
|
@@ -5686,14 +5686,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5686
5686
|
clearable: boolean;
|
|
5687
5687
|
index: number;
|
|
5688
5688
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
5689
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
5689
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5690
5690
|
readonly label: string | ComputedRef<string>;
|
|
5691
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5691
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5692
5692
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5693
|
-
readonly tooltip: string |
|
|
5693
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5694
5694
|
style?: CSSProperties | undefined;
|
|
5695
5695
|
class?: any;
|
|
5696
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5696
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5697
5697
|
style?: CSSProperties | undefined;
|
|
5698
5698
|
class?: any;
|
|
5699
5699
|
} & RecordType>>;
|
|
@@ -5760,12 +5760,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5760
5760
|
fieldInstance?: any;
|
|
5761
5761
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5762
5762
|
prop: string;
|
|
5763
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5763
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5764
5764
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5765
|
-
tooltip: string |
|
|
5765
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5766
5766
|
style?: CSSProperties | undefined;
|
|
5767
5767
|
class?: any;
|
|
5768
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5768
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5769
5769
|
style?: CSSProperties | undefined;
|
|
5770
5770
|
class?: any;
|
|
5771
5771
|
} & RecordType>>;
|
|
@@ -5812,14 +5812,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5812
5812
|
handleUnfold: (e: MouseEvent) => void;
|
|
5813
5813
|
}> & {} & ComponentCustomProperties & {} & {
|
|
5814
5814
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
5815
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
5815
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5816
5816
|
readonly label: string | ComputedRef<string>;
|
|
5817
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5817
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5818
5818
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5819
|
-
readonly tooltip: string |
|
|
5819
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5820
5820
|
style?: CSSProperties | undefined;
|
|
5821
5821
|
class?: any;
|
|
5822
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5822
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5823
5823
|
style?: CSSProperties | undefined;
|
|
5824
5824
|
class?: any;
|
|
5825
5825
|
} & RecordType>>;
|
|
@@ -5886,12 +5886,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5886
5886
|
fieldInstance?: any;
|
|
5887
5887
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5888
5888
|
prop: string;
|
|
5889
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5889
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5890
5890
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5891
|
-
tooltip: string |
|
|
5891
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5892
5892
|
style?: CSSProperties | undefined;
|
|
5893
5893
|
class?: any;
|
|
5894
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5894
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5895
5895
|
style?: CSSProperties | undefined;
|
|
5896
5896
|
class?: any;
|
|
5897
5897
|
} & RecordType>>;
|
|
@@ -7166,14 +7166,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7166
7166
|
setTableData: (data?: RecordType[] | undefined, _total?: number | undefined) => void;
|
|
7167
7167
|
}> & {} & ComponentCustomProperties & {} & {
|
|
7168
7168
|
$slots: Partial<Record<never, (_: {
|
|
7169
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
7169
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
7170
7170
|
readonly label: string | ComputedRef<string>;
|
|
7171
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
7171
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7172
7172
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7173
|
-
readonly tooltip: string |
|
|
7173
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
7174
7174
|
style?: CSSProperties | undefined;
|
|
7175
7175
|
class?: any;
|
|
7176
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7176
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7177
7177
|
style?: CSSProperties | undefined;
|
|
7178
7178
|
class?: any;
|
|
7179
7179
|
} & RecordType>>;
|
|
@@ -7240,12 +7240,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7240
7240
|
fieldInstance?: any;
|
|
7241
7241
|
valueIsReady?: Ref<boolean> | undefined;
|
|
7242
7242
|
prop: string;
|
|
7243
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
7243
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7244
7244
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7245
|
-
tooltip: string |
|
|
7245
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
7246
7246
|
style?: CSSProperties | undefined;
|
|
7247
7247
|
class?: any;
|
|
7248
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7248
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7249
7249
|
style?: CSSProperties | undefined;
|
|
7250
7250
|
class?: any;
|
|
7251
7251
|
} & RecordType>>;
|
|
@@ -8023,11 +8023,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8023
8023
|
"onHeader-filter-confirm"?: ((payload: HeaderFilterPayload) => any) | undefined;
|
|
8024
8024
|
"onHeader-filter-reset"?: ((payload: HeaderFilterResetPayload) => any) | undefined;
|
|
8025
8025
|
}, {
|
|
8026
|
-
showSearch: boolean;
|
|
8027
|
-
columnSettingsText: string;
|
|
8028
8026
|
search: false | Partial<PlusSearchSelfProps & Record<string, unknown>>;
|
|
8029
8027
|
headerFilter: boolean | HeaderFilterConfig;
|
|
8030
8028
|
pagination: false | Record<string, unknown>;
|
|
8029
|
+
showSearch: boolean;
|
|
8030
|
+
columnSettingsText: string;
|
|
8031
8031
|
isCard: boolean;
|
|
8032
8032
|
hideHeaderFilter: boolean;
|
|
8033
8033
|
hideColumnSettingsIcon: boolean;
|