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