yc-pro-components 0.0.50 → 0.0.52
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 +4 -1
- package/es/directives/dist/index.mjs +14 -0
- package/es/hooks/usePlusFormReset.d.ts +238 -238
- package/es/index.css +8 -8
- package/es/index.d.ts +1 -0
- package/es/index.mjs +1 -0
- package/es/make-installer.d.ts +7 -2
- package/es/make-installer.mjs +7 -2
- 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/make-installer.d.ts +7 -2
- package/es/yc-components/version.d.ts +1 -1
- package/index.js +28 -9
- package/index.min.js +11 -11
- package/index.min.mjs +11 -11
- package/index.mjs +25 -6
- 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 +4 -1
- package/lib/directives/dist/index.js +16 -0
- package/lib/hooks/usePlusFormReset.d.ts +238 -238
- package/lib/index.css +9 -9
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -0
- package/lib/make-installer.d.ts +7 -2
- package/lib/make-installer.js +7 -2
- 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/make-installer.d.ts +7 -2
- 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
|
@@ -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, "modelValue" | "total" | "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, "modelValue" | "total" | "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, "modelValue" | "total" | "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, "modelValue" | "total" | "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;
|
|
393
394
|
columns: PlusColumn[];
|
|
394
395
|
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;
|
|
421
422
|
readonly columns: PlusColumn[];
|
|
422
423
|
readonly layout: "grid" | "flex";
|
|
423
|
-
readonly modelValue: FieldValues;
|
|
424
424
|
readonly inline: boolean;
|
|
425
425
|
readonly showNumber: number;
|
|
426
426
|
readonly defaultValues: FieldValues;
|
|
@@ -445,12 +445,16 @@ 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;
|
|
448
449
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
449
450
|
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
|
+
};
|
|
454
458
|
columns: {
|
|
455
459
|
type: PropType<PlusColumn[]>;
|
|
456
460
|
default: () => never[];
|
|
@@ -459,10 +463,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
459
463
|
type: PropType<"grid" | "flex">;
|
|
460
464
|
default: "flex";
|
|
461
465
|
};
|
|
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;
|
|
553
554
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
554
555
|
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
|
+
}, "modelValue" | "columns" | "layout" | "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,9 +567,13 @@ 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: "update:modelValue", values: FieldValues) => void) & ((event: "reset", 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
|
+
};
|
|
573
577
|
columns: {
|
|
574
578
|
type: PropType<PlusColumn[]>;
|
|
575
579
|
default: () => never[];
|
|
@@ -578,10 +582,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
578
582
|
type: PropType<"grid" | "flex">;
|
|
579
583
|
default: "flex";
|
|
580
584
|
};
|
|
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;
|
|
672
673
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
673
674
|
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;
|
|
682
683
|
collapseDuration: number;
|
|
683
684
|
collapseTransition: boolean;
|
|
684
685
|
columns: PlusColumn[];
|
|
685
686
|
group: false | PlusFormGroupRow[];
|
|
686
687
|
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: "center" | "right" | "left";
|
|
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;
|
|
716
717
|
readonly columns: PlusColumn[];
|
|
717
718
|
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: "center" | "right" | "left";
|
|
740
740
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
741
741
|
style?: CSSProperties | undefined;
|
|
742
742
|
class?: any;
|
|
@@ -746,13 +746,17 @@ 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;
|
|
749
750
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
750
751
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
751
752
|
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
|
+
};
|
|
756
760
|
collapseDuration: {
|
|
757
761
|
type: PropType<number>;
|
|
758
762
|
default: undefined;
|
|
@@ -773,10 +777,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
773
777
|
type: PropType<"grid" | "flex">;
|
|
774
778
|
default: undefined;
|
|
775
779
|
};
|
|
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<"center" | "right" | "left">;
|
|
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;
|
|
862
863
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
863
864
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
864
865
|
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
|
-
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "
|
|
868
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "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,9 +877,13 @@ 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: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
881
881
|
$el: any;
|
|
882
882
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
883
|
+
modelValue: {
|
|
884
|
+
type: PropType<FieldValues>;
|
|
885
|
+
default: () => {};
|
|
886
|
+
};
|
|
883
887
|
collapseDuration: {
|
|
884
888
|
type: PropType<number>;
|
|
885
889
|
default: undefined;
|
|
@@ -900,10 +904,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
900
904
|
type: PropType<"grid" | "flex">;
|
|
901
905
|
default: undefined;
|
|
902
906
|
};
|
|
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<"center" | "right" | "left">;
|
|
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;
|
|
989
990
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
990
991
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
991
992
|
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;
|
|
1011
1012
|
collapseDuration: number;
|
|
1012
1013
|
collapseTransition: boolean;
|
|
1013
1014
|
columns: PlusColumn[];
|
|
1014
1015
|
group: false | PlusFormGroupRow[];
|
|
1015
1016
|
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: "center" | "right" | "left";
|
|
1038
1038
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1039
1039
|
style?: CSSProperties | undefined;
|
|
1040
1040
|
class?: any;
|
|
@@ -1062,6 +1062,10 @@ 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
|
+
};
|
|
1065
1069
|
collapseDuration: {
|
|
1066
1070
|
type: PropType<number>;
|
|
1067
1071
|
default: undefined;
|
|
@@ -1082,10 +1086,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1082
1086
|
type: PropType<"grid" | "flex">;
|
|
1083
1087
|
default: undefined;
|
|
1084
1088
|
};
|
|
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<"center" | "right" | "left">;
|
|
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;
|
|
1171
1172
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1172
1173
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1173
1174
|
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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1198
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1201
1201
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1202
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1202
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1203
1203
|
style?: CSSProperties | undefined;
|
|
1204
1204
|
class?: any;
|
|
1205
|
-
} & RecordType> | ComputedRef<
|
|
1205
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1273
1273
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1274
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1274
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1275
1275
|
style?: CSSProperties | undefined;
|
|
1276
1276
|
class?: any;
|
|
1277
|
-
} & RecordType> | ComputedRef<
|
|
1277
|
+
} & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1306
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1309
1309
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1310
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1310
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1311
1311
|
style?: CSSProperties | undefined;
|
|
1312
1312
|
class?: any;
|
|
1313
|
-
} & RecordType> | ComputedRef<
|
|
1313
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1381
1381
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1382
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1382
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1383
1383
|
style?: CSSProperties | undefined;
|
|
1384
1384
|
class?: any;
|
|
1385
|
-
} & RecordType> | ComputedRef<
|
|
1385
|
+
} & RecordType> | 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;
|
|
1437
1438
|
columns: PlusColumn[];
|
|
1438
1439
|
layout: "grid" | "flex";
|
|
1439
|
-
modelValue: FieldValues;
|
|
1440
1440
|
labelPosition: "top" | "right" | "left";
|
|
1441
1441
|
inline: boolean;
|
|
1442
1442
|
showNumber: number;
|
|
@@ -1482,6 +1482,10 @@ 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
|
+
};
|
|
1485
1489
|
columns: {
|
|
1486
1490
|
type: PropType<PlusColumn[]>;
|
|
1487
1491
|
default: () => never[];
|
|
@@ -1490,10 +1494,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1490
1494
|
type: PropType<"grid" | "flex">;
|
|
1491
1495
|
default: "flex";
|
|
1492
1496
|
};
|
|
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;
|
|
1584
1585
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1585
1586
|
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;
|
|
1594
1595
|
collapseDuration: number;
|
|
1595
1596
|
collapseTransition: boolean;
|
|
1596
1597
|
columns: PlusColumn[];
|
|
1597
1598
|
group: false | PlusFormGroupRow[];
|
|
1598
1599
|
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: "center" | "right" | "left";
|
|
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;
|
|
1628
1629
|
readonly columns: PlusColumn[];
|
|
1629
1630
|
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: "center" | "right" | "left";
|
|
1652
1652
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1653
1653
|
style?: CSSProperties | undefined;
|
|
1654
1654
|
class?: any;
|
|
@@ -1658,13 +1658,17 @@ 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;
|
|
1661
1662
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1662
1663
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1663
1664
|
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
|
+
};
|
|
1668
1672
|
collapseDuration: {
|
|
1669
1673
|
type: PropType<number>;
|
|
1670
1674
|
default: undefined;
|
|
@@ -1685,10 +1689,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1685
1689
|
type: PropType<"grid" | "flex">;
|
|
1686
1690
|
default: undefined;
|
|
1687
1691
|
};
|
|
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<"center" | "right" | "left">;
|
|
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;
|
|
1774
1775
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1775
1776
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1776
1777
|
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
|
-
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "
|
|
1780
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "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,9 +1789,13 @@ 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: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
1793
1793
|
$el: any;
|
|
1794
1794
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1795
|
+
modelValue: {
|
|
1796
|
+
type: PropType<FieldValues>;
|
|
1797
|
+
default: () => {};
|
|
1798
|
+
};
|
|
1795
1799
|
collapseDuration: {
|
|
1796
1800
|
type: PropType<number>;
|
|
1797
1801
|
default: undefined;
|
|
@@ -1812,10 +1816,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1812
1816
|
type: PropType<"grid" | "flex">;
|
|
1813
1817
|
default: undefined;
|
|
1814
1818
|
};
|
|
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<"center" | "right" | "left">;
|
|
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;
|
|
1901
1902
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1902
1903
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1903
1904
|
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;
|
|
1923
1924
|
collapseDuration: number;
|
|
1924
1925
|
collapseTransition: boolean;
|
|
1925
1926
|
columns: PlusColumn[];
|
|
1926
1927
|
group: false | PlusFormGroupRow[];
|
|
1927
1928
|
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: "center" | "right" | "left";
|
|
1950
1950
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1951
1951
|
style?: CSSProperties | undefined;
|
|
1952
1952
|
class?: any;
|
|
@@ -1974,6 +1974,10 @@ 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
|
+
};
|
|
1977
1981
|
collapseDuration: {
|
|
1978
1982
|
type: PropType<number>;
|
|
1979
1983
|
default: undefined;
|
|
@@ -1994,10 +1998,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1994
1998
|
type: PropType<"grid" | "flex">;
|
|
1995
1999
|
default: undefined;
|
|
1996
2000
|
};
|
|
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<"center" | "right" | "left">;
|
|
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;
|
|
2083
2084
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2084
2085
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2085
2086
|
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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
2110
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2113
2113
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2114
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2114
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2115
2115
|
style?: CSSProperties | undefined;
|
|
2116
2116
|
class?: any;
|
|
2117
|
-
} & RecordType> | ComputedRef<
|
|
2117
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2185
2185
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2186
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2186
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2187
2187
|
style?: CSSProperties | undefined;
|
|
2188
2188
|
class?: any;
|
|
2189
|
-
} & RecordType> | ComputedRef<
|
|
2189
|
+
} & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
2218
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2221
2221
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2222
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2222
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2223
2223
|
style?: CSSProperties | undefined;
|
|
2224
2224
|
class?: any;
|
|
2225
|
-
} & RecordType> | ComputedRef<
|
|
2225
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2293
2293
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2294
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2294
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2295
2295
|
style?: CSSProperties | undefined;
|
|
2296
2296
|
class?: any;
|
|
2297
|
-
} & RecordType> | ComputedRef<
|
|
2297
|
+
} & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
2344
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2347
2347
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2348
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2348
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2349
2349
|
style?: CSSProperties | undefined;
|
|
2350
2350
|
class?: any;
|
|
2351
|
-
} & RecordType> | ComputedRef<
|
|
2351
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2419
2419
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2420
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2420
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2421
2421
|
style?: CSSProperties | undefined;
|
|
2422
2422
|
class?: any;
|
|
2423
|
-
} & RecordType> | ComputedRef<
|
|
2423
|
+
} & RecordType> | 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, "modelValue" | "total" | "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, "modelValue" | "total" | "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;
|
|
3864
3865
|
columns: PlusColumn[];
|
|
3865
3866
|
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;
|
|
3892
3893
|
readonly columns: PlusColumn[];
|
|
3893
3894
|
readonly layout: "grid" | "flex";
|
|
3894
|
-
readonly modelValue: FieldValues;
|
|
3895
3895
|
readonly inline: boolean;
|
|
3896
3896
|
readonly showNumber: number;
|
|
3897
3897
|
readonly defaultValues: FieldValues;
|
|
@@ -3916,12 +3916,16 @@ 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;
|
|
3919
3920
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3920
3921
|
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
|
+
};
|
|
3925
3929
|
columns: {
|
|
3926
3930
|
type: PropType<PlusColumn[]>;
|
|
3927
3931
|
default: () => never[];
|
|
@@ -3930,10 +3934,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3930
3934
|
type: PropType<"grid" | "flex">;
|
|
3931
3935
|
default: "flex";
|
|
3932
3936
|
};
|
|
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;
|
|
4024
4025
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4025
4026
|
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
|
+
}, "modelValue" | "columns" | "layout" | "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,9 +4038,13 @@ 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: "update:modelValue", values: FieldValues) => void) & ((event: "reset", 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
|
+
};
|
|
4044
4048
|
columns: {
|
|
4045
4049
|
type: PropType<PlusColumn[]>;
|
|
4046
4050
|
default: () => never[];
|
|
@@ -4049,10 +4053,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4049
4053
|
type: PropType<"grid" | "flex">;
|
|
4050
4054
|
default: "flex";
|
|
4051
4055
|
};
|
|
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;
|
|
4143
4144
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4144
4145
|
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;
|
|
4153
4154
|
collapseDuration: number;
|
|
4154
4155
|
collapseTransition: boolean;
|
|
4155
4156
|
columns: PlusColumn[];
|
|
4156
4157
|
group: false | PlusFormGroupRow[];
|
|
4157
4158
|
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: "center" | "right" | "left";
|
|
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;
|
|
4187
4188
|
readonly columns: PlusColumn[];
|
|
4188
4189
|
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: "center" | "right" | "left";
|
|
4211
4211
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
4212
4212
|
style?: CSSProperties | undefined;
|
|
4213
4213
|
class?: any;
|
|
@@ -4217,13 +4217,17 @@ 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;
|
|
4220
4221
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4221
4222
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4222
4223
|
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
|
+
};
|
|
4227
4231
|
collapseDuration: {
|
|
4228
4232
|
type: PropType<number>;
|
|
4229
4233
|
default: undefined;
|
|
@@ -4244,10 +4248,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4244
4248
|
type: PropType<"grid" | "flex">;
|
|
4245
4249
|
default: undefined;
|
|
4246
4250
|
};
|
|
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<"center" | "right" | "left">;
|
|
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;
|
|
4333
4334
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4334
4335
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4335
4336
|
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
|
-
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "
|
|
4339
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "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,9 +4348,13 @@ 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: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
4352
4352
|
$el: any;
|
|
4353
4353
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
4354
|
+
modelValue: {
|
|
4355
|
+
type: PropType<FieldValues>;
|
|
4356
|
+
default: () => {};
|
|
4357
|
+
};
|
|
4354
4358
|
collapseDuration: {
|
|
4355
4359
|
type: PropType<number>;
|
|
4356
4360
|
default: undefined;
|
|
@@ -4371,10 +4375,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4371
4375
|
type: PropType<"grid" | "flex">;
|
|
4372
4376
|
default: undefined;
|
|
4373
4377
|
};
|
|
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<"center" | "right" | "left">;
|
|
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;
|
|
4460
4461
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4461
4462
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4462
4463
|
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;
|
|
4482
4483
|
collapseDuration: number;
|
|
4483
4484
|
collapseTransition: boolean;
|
|
4484
4485
|
columns: PlusColumn[];
|
|
4485
4486
|
group: false | PlusFormGroupRow[];
|
|
4486
4487
|
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: "center" | "right" | "left";
|
|
4509
4509
|
cardProps: Partial< Mutable<CardProps> & {
|
|
4510
4510
|
style?: CSSProperties | undefined;
|
|
4511
4511
|
class?: any;
|
|
@@ -4533,6 +4533,10 @@ 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
|
+
};
|
|
4536
4540
|
collapseDuration: {
|
|
4537
4541
|
type: PropType<number>;
|
|
4538
4542
|
default: undefined;
|
|
@@ -4553,10 +4557,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4553
4557
|
type: PropType<"grid" | "flex">;
|
|
4554
4558
|
default: undefined;
|
|
4555
4559
|
};
|
|
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<"center" | "right" | "left">;
|
|
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;
|
|
4642
4643
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4643
4644
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4644
4645
|
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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
4669
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4672
4672
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4673
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4673
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4674
4674
|
style?: CSSProperties | undefined;
|
|
4675
4675
|
class?: any;
|
|
4676
|
-
} & RecordType> | ComputedRef<
|
|
4676
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4744
4744
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4745
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4745
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4746
4746
|
style?: CSSProperties | undefined;
|
|
4747
4747
|
class?: any;
|
|
4748
|
-
} & RecordType> | ComputedRef<
|
|
4748
|
+
} & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
4777
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4780
4780
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4781
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4781
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4782
4782
|
style?: CSSProperties | undefined;
|
|
4783
4783
|
class?: any;
|
|
4784
|
-
} & RecordType> | ComputedRef<
|
|
4784
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4852
4852
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4853
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4853
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4854
4854
|
style?: CSSProperties | undefined;
|
|
4855
4855
|
class?: any;
|
|
4856
|
-
} & RecordType> | ComputedRef<
|
|
4856
|
+
} & RecordType> | 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;
|
|
4908
4909
|
columns: PlusColumn[];
|
|
4909
4910
|
layout: "grid" | "flex";
|
|
4910
|
-
modelValue: FieldValues;
|
|
4911
4911
|
labelPosition: "top" | "right" | "left";
|
|
4912
4912
|
inline: boolean;
|
|
4913
4913
|
showNumber: number;
|
|
@@ -4953,6 +4953,10 @@ 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
|
+
};
|
|
4956
4960
|
columns: {
|
|
4957
4961
|
type: PropType<PlusColumn[]>;
|
|
4958
4962
|
default: () => never[];
|
|
@@ -4961,10 +4965,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4961
4965
|
type: PropType<"grid" | "flex">;
|
|
4962
4966
|
default: "flex";
|
|
4963
4967
|
};
|
|
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;
|
|
5055
5056
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5056
5057
|
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;
|
|
5065
5066
|
collapseDuration: number;
|
|
5066
5067
|
collapseTransition: boolean;
|
|
5067
5068
|
columns: PlusColumn[];
|
|
5068
5069
|
group: false | PlusFormGroupRow[];
|
|
5069
5070
|
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: "center" | "right" | "left";
|
|
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;
|
|
5099
5100
|
readonly columns: PlusColumn[];
|
|
5100
5101
|
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: "center" | "right" | "left";
|
|
5123
5123
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
5124
5124
|
style?: CSSProperties | undefined;
|
|
5125
5125
|
class?: any;
|
|
@@ -5129,13 +5129,17 @@ 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;
|
|
5132
5133
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5133
5134
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5134
5135
|
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
|
+
};
|
|
5139
5143
|
collapseDuration: {
|
|
5140
5144
|
type: PropType<number>;
|
|
5141
5145
|
default: undefined;
|
|
@@ -5156,10 +5160,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5156
5160
|
type: PropType<"grid" | "flex">;
|
|
5157
5161
|
default: undefined;
|
|
5158
5162
|
};
|
|
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<"center" | "right" | "left">;
|
|
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;
|
|
5245
5246
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5246
5247
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5247
5248
|
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
|
-
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "
|
|
5251
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "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,9 +5260,13 @@ 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: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
5264
5264
|
$el: any;
|
|
5265
5265
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
5266
|
+
modelValue: {
|
|
5267
|
+
type: PropType<FieldValues>;
|
|
5268
|
+
default: () => {};
|
|
5269
|
+
};
|
|
5266
5270
|
collapseDuration: {
|
|
5267
5271
|
type: PropType<number>;
|
|
5268
5272
|
default: undefined;
|
|
@@ -5283,10 +5287,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5283
5287
|
type: PropType<"grid" | "flex">;
|
|
5284
5288
|
default: undefined;
|
|
5285
5289
|
};
|
|
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<"center" | "right" | "left">;
|
|
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;
|
|
5372
5373
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5373
5374
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5374
5375
|
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;
|
|
5394
5395
|
collapseDuration: number;
|
|
5395
5396
|
collapseTransition: boolean;
|
|
5396
5397
|
columns: PlusColumn[];
|
|
5397
5398
|
group: false | PlusFormGroupRow[];
|
|
5398
5399
|
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: "center" | "right" | "left";
|
|
5421
5421
|
cardProps: Partial< Mutable<CardProps> & {
|
|
5422
5422
|
style?: CSSProperties | undefined;
|
|
5423
5423
|
class?: any;
|
|
@@ -5445,6 +5445,10 @@ 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
|
+
};
|
|
5448
5452
|
collapseDuration: {
|
|
5449
5453
|
type: PropType<number>;
|
|
5450
5454
|
default: undefined;
|
|
@@ -5465,10 +5469,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5465
5469
|
type: PropType<"grid" | "flex">;
|
|
5466
5470
|
default: undefined;
|
|
5467
5471
|
};
|
|
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<"center" | "right" | "left">;
|
|
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;
|
|
5554
5555
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5555
5556
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5556
5557
|
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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
5581
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5584
5584
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5585
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5585
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5586
5586
|
style?: CSSProperties | undefined;
|
|
5587
5587
|
class?: any;
|
|
5588
|
-
} & RecordType> | ComputedRef<
|
|
5588
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5656
5656
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5657
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5657
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5658
5658
|
style?: CSSProperties | undefined;
|
|
5659
5659
|
class?: any;
|
|
5660
|
-
} & RecordType> | ComputedRef<
|
|
5660
|
+
} & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
5689
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5692
5692
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5693
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5693
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5694
5694
|
style?: CSSProperties | undefined;
|
|
5695
5695
|
class?: any;
|
|
5696
|
-
} & RecordType> | ComputedRef<
|
|
5696
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5764
5764
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5765
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5765
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5766
5766
|
style?: CSSProperties | undefined;
|
|
5767
5767
|
class?: any;
|
|
5768
|
-
} & RecordType> | ComputedRef<
|
|
5768
|
+
} & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
5815
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5818
5818
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5819
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5819
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5820
5820
|
style?: CSSProperties | undefined;
|
|
5821
5821
|
class?: any;
|
|
5822
|
-
} & RecordType> | ComputedRef<
|
|
5822
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5890
5890
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5891
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5891
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5892
5892
|
style?: CSSProperties | undefined;
|
|
5893
5893
|
class?: any;
|
|
5894
|
-
} & RecordType> | ComputedRef<
|
|
5894
|
+
} & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
7169
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7172
7172
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7173
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
7173
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
7174
7174
|
style?: CSSProperties | undefined;
|
|
7175
7175
|
class?: any;
|
|
7176
|
-
} & RecordType> | ComputedRef<
|
|
7176
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7244
7244
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7245
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
7245
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
7246
7246
|
style?: CSSProperties | undefined;
|
|
7247
7247
|
class?: any;
|
|
7248
|
-
} & RecordType> | ComputedRef<
|
|
7248
|
+
} & RecordType> | 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;
|
|
8026
8028
|
search: false | Partial<PlusSearchSelfProps & Record<string, unknown>>;
|
|
8027
8029
|
headerFilter: boolean | HeaderFilterConfig;
|
|
8028
8030
|
pagination: false | Record<string, unknown>;
|
|
8029
|
-
showSearch: boolean;
|
|
8030
|
-
columnSettingsText: string;
|
|
8031
8031
|
isCard: boolean;
|
|
8032
8032
|
hideHeaderFilter: boolean;
|
|
8033
8033
|
hideColumnSettingsIcon: boolean;
|