yc-pro-components 0.0.80 → 0.0.82
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 +38 -38
- package/es/components/check-card/src/index.vue.d.ts +3 -3
- package/es/components/check-card-group/index.d.ts +4 -4
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +11 -11
- package/es/components/date-picker/src/index.vue.d.ts +11 -11
- package/es/components/dialog/index.d.ts +83 -83
- package/es/components/dialog/src/index.vue.d.ts +7 -7
- package/es/components/dialog-form/index.d.ts +38 -38
- package/es/components/dialog-form/src/index.vue.d.ts +10 -10
- package/es/components/display-item/index.d.ts +18 -18
- package/es/components/display-item/src/index.vue.d.ts +18 -18
- package/es/components/drawer-form/index.d.ts +126 -126
- package/es/components/drawer-form/src/index.vue.d.ts +29 -29
- package/es/components/form/index.d.ts +49 -49
- package/es/components/form/src/form-content.vue.d.ts +28 -28
- package/es/components/form/src/index.vue.d.ts +16 -16
- package/es/components/form-item/index.d.ts +66 -66
- package/es/components/form-item/src/index.vue.d.ts +19 -19
- package/es/components/input-tag/index.d.ts +1 -1
- package/es/components/input-tag/src/index.vue.d.ts +1 -1
- package/es/components/page/index.d.ts +390 -378
- package/es/components/page/src/index.vue.d.ts +134 -130
- package/es/components/pagination/index.d.ts +11 -11
- package/es/components/pagination/src/index.vue.d.ts +2 -2
- package/es/components/popover/index.d.ts +42 -42
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +22 -22
- package/es/components/radio/src/index.vue.d.ts +22 -22
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +171 -171
- package/es/components/search/src/index.vue.d.ts +54 -54
- 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 +18 -18
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-card/index.d.ts +19 -19
- package/es/components/yc-card/src/index.vue.d.ts +1 -1
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/store.d.ts +5 -5
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +16 -16
- package/es/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/es/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/header-filter-cell.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue2.mjs +17 -0
- package/es/components/yc-plus-page/src/index.vue.d.ts +269 -257
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-segmented/index.d.ts +1 -1
- package/es/components/yc-segmented/src/index.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/es/components/yc-svg-icon/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 +402 -402
- package/es/index.css +11 -11
- 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 +50 -4
- package/index.min.css +1 -1
- package/index.min.js +12 -12
- package/index.min.mjs +12 -12
- package/index.mjs +50 -4
- package/lib/components/check-card/index.d.ts +38 -38
- package/lib/components/check-card/src/index.vue.d.ts +3 -3
- package/lib/components/check-card-group/index.d.ts +4 -4
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +11 -11
- package/lib/components/date-picker/src/index.vue.d.ts +11 -11
- package/lib/components/dialog/index.d.ts +83 -83
- package/lib/components/dialog/src/index.vue.d.ts +7 -7
- package/lib/components/dialog-form/index.d.ts +38 -38
- package/lib/components/dialog-form/src/index.vue.d.ts +10 -10
- package/lib/components/display-item/index.d.ts +18 -18
- package/lib/components/display-item/src/index.vue.d.ts +18 -18
- package/lib/components/drawer-form/index.d.ts +126 -126
- package/lib/components/drawer-form/src/index.vue.d.ts +29 -29
- package/lib/components/form/index.d.ts +49 -49
- package/lib/components/form/src/form-content.vue.d.ts +28 -28
- package/lib/components/form/src/index.vue.d.ts +16 -16
- package/lib/components/form-item/index.d.ts +66 -66
- package/lib/components/form-item/src/index.vue.d.ts +19 -19
- package/lib/components/input-tag/index.d.ts +1 -1
- package/lib/components/input-tag/src/index.vue.d.ts +1 -1
- package/lib/components/page/index.d.ts +390 -378
- package/lib/components/page/src/index.vue.d.ts +134 -130
- package/lib/components/pagination/index.d.ts +11 -11
- package/lib/components/pagination/src/index.vue.d.ts +2 -2
- package/lib/components/popover/index.d.ts +42 -42
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +22 -22
- package/lib/components/radio/src/index.vue.d.ts +22 -22
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +171 -171
- package/lib/components/search/src/index.vue.d.ts +54 -54
- 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 +18 -18
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-card/index.d.ts +19 -19
- package/lib/components/yc-card/src/index.vue.d.ts +1 -1
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/store.d.ts +5 -5
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +16 -16
- package/lib/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.js +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue2.js +17 -0
- package/lib/components/yc-plus-page/src/index.vue.d.ts +269 -257
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-segmented/index.d.ts +1 -1
- package/lib/components/yc-segmented/src/index.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/lib/components/yc-svg-icon/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 +402 -402
- 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
|
@@ -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
404
|
modelValue: FieldValues;
|
|
406
405
|
columns: PlusColumn[];
|
|
407
|
-
layout: "
|
|
406
|
+
layout: "grid" | "flex";
|
|
407
|
+
labelPosition: "top" | "right" | "left";
|
|
408
408
|
inline: boolean;
|
|
409
409
|
showNumber: number;
|
|
410
410
|
defaultValues: FieldValues;
|
|
@@ -431,7 +431,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
431
431
|
}> & Omit<{
|
|
432
432
|
readonly modelValue: FieldValues;
|
|
433
433
|
readonly columns: PlusColumn[];
|
|
434
|
-
readonly layout: "
|
|
434
|
+
readonly layout: "grid" | "flex";
|
|
435
435
|
readonly inline: boolean;
|
|
436
436
|
readonly showNumber: number;
|
|
437
437
|
readonly defaultValues: FieldValues;
|
|
@@ -453,19 +453,15 @@ 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
465
|
modelValue: {
|
|
470
466
|
type: PropType<FieldValues>;
|
|
471
467
|
default: () => {};
|
|
@@ -475,9 +471,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
475
471
|
default: () => never[];
|
|
476
472
|
};
|
|
477
473
|
layout: {
|
|
478
|
-
type: PropType<"
|
|
474
|
+
type: PropType<"grid" | "flex">;
|
|
479
475
|
default: "grid";
|
|
480
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
|
+
}, "modelValue" | "columns" | "layout" | "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,13 +578,9 @@ 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
584
|
modelValue: {
|
|
589
585
|
type: PropType<FieldValues>;
|
|
590
586
|
default: () => {};
|
|
@@ -594,9 +590,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
594
590
|
default: () => never[];
|
|
595
591
|
};
|
|
596
592
|
layout: {
|
|
597
|
-
type: PropType<"
|
|
593
|
+
type: PropType<"grid" | "flex">;
|
|
598
594
|
default: "grid";
|
|
599
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
693
|
modelValue: FieldValues;
|
|
695
694
|
collapseDuration: number;
|
|
696
695
|
collapseTransition: boolean;
|
|
697
696
|
columns: PlusColumn[];
|
|
698
697
|
group: false | PlusFormGroupRow[];
|
|
699
|
-
layout: "
|
|
698
|
+
layout: "grid" | "flex";
|
|
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: "center" | "right" | "left";
|
|
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
727
|
readonly modelValue: FieldValues;
|
|
729
728
|
readonly columns: PlusColumn[];
|
|
730
729
|
readonly group: false | PlusFormGroupRow[];
|
|
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: "center" | "right" | "left";
|
|
751
751
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
752
752
|
style?: CSSProperties | undefined;
|
|
753
753
|
class?: any;
|
|
@@ -756,18 +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
767
|
modelValue: {
|
|
772
768
|
type: PropType<FieldValues>;
|
|
773
769
|
default: () => {};
|
|
@@ -789,13 +785,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
789
785
|
default: boolean;
|
|
790
786
|
};
|
|
791
787
|
layout: {
|
|
792
|
-
type: PropType<"
|
|
788
|
+
type: PropType<"grid" | "flex">;
|
|
793
789
|
default: undefined;
|
|
794
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<"center" | "right" | "left">;
|
|
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
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "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,13 +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
894
|
modelValue: {
|
|
899
895
|
type: PropType<FieldValues>;
|
|
900
896
|
default: () => {};
|
|
@@ -916,13 +912,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
916
912
|
default: boolean;
|
|
917
913
|
};
|
|
918
914
|
layout: {
|
|
919
|
-
type: PropType<"
|
|
915
|
+
type: PropType<"grid" | "flex">;
|
|
920
916
|
default: undefined;
|
|
921
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<"center" | "right" | "left">;
|
|
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
1018
|
modelValue: FieldValues;
|
|
1020
1019
|
collapseDuration: number;
|
|
1021
1020
|
collapseTransition: boolean;
|
|
1022
1021
|
columns: PlusColumn[];
|
|
1023
1022
|
group: false | PlusFormGroupRow[];
|
|
1024
|
-
layout: "
|
|
1023
|
+
layout: "grid" | "flex";
|
|
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: "center" | "right" | "left";
|
|
1045
1045
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1046
1046
|
style?: CSSProperties | undefined;
|
|
1047
1047
|
class?: any;
|
|
@@ -1069,10 +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
1072
|
modelValue: {
|
|
1077
1073
|
type: PropType<FieldValues>;
|
|
1078
1074
|
default: () => {};
|
|
@@ -1094,13 +1090,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1094
1090
|
default: boolean;
|
|
1095
1091
|
};
|
|
1096
1092
|
layout: {
|
|
1097
|
-
type: PropType<"
|
|
1093
|
+
type: PropType<"grid" | "flex">;
|
|
1098
1094
|
default: undefined;
|
|
1099
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<"center" | "right" | "left">;
|
|
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,10 +1198,10 @@ 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" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] |
|
|
1204
|
-
readonly hasLabel: boolean |
|
|
1203
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1204
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1205
1205
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1206
1206
|
style?: CSSProperties | undefined;
|
|
1207
1207
|
class?: any;
|
|
@@ -1231,7 +1231,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1231
1231
|
};
|
|
1232
1232
|
rows: number;
|
|
1233
1233
|
autocomplete: string;
|
|
1234
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1234
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1235
1235
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1236
1236
|
step: string | number;
|
|
1237
1237
|
format: string | ProgressFn | undefined;
|
|
@@ -1276,8 +1276,8 @@ 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] | boolean[] |
|
|
1280
|
-
hasLabel: boolean |
|
|
1279
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1280
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1281
1281
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1282
1282
|
style?: CSSProperties | undefined;
|
|
1283
1283
|
class?: any;
|
|
@@ -1310,10 +1310,10 @@ 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" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] |
|
|
1316
|
-
readonly hasLabel: boolean |
|
|
1315
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1316
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1317
1317
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1318
1318
|
style?: CSSProperties | undefined;
|
|
1319
1319
|
class?: any;
|
|
@@ -1343,7 +1343,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1343
1343
|
};
|
|
1344
1344
|
rows: number;
|
|
1345
1345
|
autocomplete: string;
|
|
1346
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1346
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1347
1347
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1348
1348
|
step: string | number;
|
|
1349
1349
|
format: string | ProgressFn | undefined;
|
|
@@ -1388,8 +1388,8 @@ 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] | boolean[] |
|
|
1392
|
-
hasLabel: boolean |
|
|
1391
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1392
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1393
1393
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1394
1394
|
style?: CSSProperties | undefined;
|
|
1395
1395
|
class?: any;
|
|
@@ -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
1448
|
modelValue: FieldValues;
|
|
1450
1449
|
columns: PlusColumn[];
|
|
1451
|
-
layout: "
|
|
1450
|
+
layout: "grid" | "flex";
|
|
1451
|
+
labelPosition: "top" | "right" | "left";
|
|
1452
1452
|
inline: boolean;
|
|
1453
1453
|
showNumber: number;
|
|
1454
1454
|
defaultValues: FieldValues;
|
|
@@ -1493,10 +1493,6 @@ 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
1496
|
modelValue: {
|
|
1501
1497
|
type: PropType<FieldValues>;
|
|
1502
1498
|
default: () => {};
|
|
@@ -1506,9 +1502,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1506
1502
|
default: () => never[];
|
|
1507
1503
|
};
|
|
1508
1504
|
layout: {
|
|
1509
|
-
type: PropType<"
|
|
1505
|
+
type: PropType<"grid" | "flex">;
|
|
1510
1506
|
default: "grid";
|
|
1511
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
1605
|
modelValue: FieldValues;
|
|
1607
1606
|
collapseDuration: number;
|
|
1608
1607
|
collapseTransition: boolean;
|
|
1609
1608
|
columns: PlusColumn[];
|
|
1610
1609
|
group: false | PlusFormGroupRow[];
|
|
1611
|
-
layout: "
|
|
1610
|
+
layout: "grid" | "flex";
|
|
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: "center" | "right" | "left";
|
|
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
1639
|
readonly modelValue: FieldValues;
|
|
1641
1640
|
readonly columns: PlusColumn[];
|
|
1642
1641
|
readonly group: false | PlusFormGroupRow[];
|
|
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: "center" | "right" | "left";
|
|
1663
1663
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1664
1664
|
style?: CSSProperties | undefined;
|
|
1665
1665
|
class?: any;
|
|
@@ -1668,18 +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
1679
|
modelValue: {
|
|
1684
1680
|
type: PropType<FieldValues>;
|
|
1685
1681
|
default: () => {};
|
|
@@ -1701,13 +1697,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1701
1697
|
default: boolean;
|
|
1702
1698
|
};
|
|
1703
1699
|
layout: {
|
|
1704
|
-
type: PropType<"
|
|
1700
|
+
type: PropType<"grid" | "flex">;
|
|
1705
1701
|
default: undefined;
|
|
1706
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<"center" | "right" | "left">;
|
|
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
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "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,13 +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
1806
|
modelValue: {
|
|
1811
1807
|
type: PropType<FieldValues>;
|
|
1812
1808
|
default: () => {};
|
|
@@ -1828,13 +1824,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1828
1824
|
default: boolean;
|
|
1829
1825
|
};
|
|
1830
1826
|
layout: {
|
|
1831
|
-
type: PropType<"
|
|
1827
|
+
type: PropType<"grid" | "flex">;
|
|
1832
1828
|
default: undefined;
|
|
1833
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<"center" | "right" | "left">;
|
|
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
1930
|
modelValue: FieldValues;
|
|
1932
1931
|
collapseDuration: number;
|
|
1933
1932
|
collapseTransition: boolean;
|
|
1934
1933
|
columns: PlusColumn[];
|
|
1935
1934
|
group: false | PlusFormGroupRow[];
|
|
1936
|
-
layout: "
|
|
1935
|
+
layout: "grid" | "flex";
|
|
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: "center" | "right" | "left";
|
|
1957
1957
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1958
1958
|
style?: CSSProperties | undefined;
|
|
1959
1959
|
class?: any;
|
|
@@ -1981,10 +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
1984
|
modelValue: {
|
|
1989
1985
|
type: PropType<FieldValues>;
|
|
1990
1986
|
default: () => {};
|
|
@@ -2006,13 +2002,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2006
2002
|
default: boolean;
|
|
2007
2003
|
};
|
|
2008
2004
|
layout: {
|
|
2009
|
-
type: PropType<"
|
|
2005
|
+
type: PropType<"grid" | "flex">;
|
|
2010
2006
|
default: undefined;
|
|
2011
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<"center" | "right" | "left">;
|
|
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,10 +2110,10 @@ 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" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] |
|
|
2116
|
-
readonly hasLabel: boolean |
|
|
2115
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2116
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
2117
2117
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2118
2118
|
style?: CSSProperties | undefined;
|
|
2119
2119
|
class?: any;
|
|
@@ -2143,7 +2143,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2143
2143
|
};
|
|
2144
2144
|
rows: number;
|
|
2145
2145
|
autocomplete: string;
|
|
2146
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
2146
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
2147
2147
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2148
2148
|
step: string | number;
|
|
2149
2149
|
format: string | ProgressFn | undefined;
|
|
@@ -2188,8 +2188,8 @@ 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] | boolean[] |
|
|
2192
|
-
hasLabel: boolean |
|
|
2191
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2192
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
2193
2193
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2194
2194
|
style?: CSSProperties | undefined;
|
|
2195
2195
|
class?: any;
|
|
@@ -2222,10 +2222,10 @@ 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" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] |
|
|
2228
|
-
readonly hasLabel: boolean |
|
|
2227
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2228
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
2229
2229
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2230
2230
|
style?: CSSProperties | undefined;
|
|
2231
2231
|
class?: any;
|
|
@@ -2255,7 +2255,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2255
2255
|
};
|
|
2256
2256
|
rows: number;
|
|
2257
2257
|
autocomplete: string;
|
|
2258
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
2258
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
2259
2259
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2260
2260
|
step: string | number;
|
|
2261
2261
|
format: string | ProgressFn | undefined;
|
|
@@ -2300,8 +2300,8 @@ 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] | boolean[] |
|
|
2304
|
-
hasLabel: boolean |
|
|
2303
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2304
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
2305
2305
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2306
2306
|
style?: CSSProperties | undefined;
|
|
2307
2307
|
class?: any;
|
|
@@ -2352,10 +2352,10 @@ 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" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] |
|
|
2358
|
-
readonly hasLabel: boolean |
|
|
2357
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2358
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
2359
2359
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2360
2360
|
style?: CSSProperties | undefined;
|
|
2361
2361
|
class?: any;
|
|
@@ -2385,7 +2385,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2385
2385
|
};
|
|
2386
2386
|
rows: number;
|
|
2387
2387
|
autocomplete: string;
|
|
2388
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
2388
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
2389
2389
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2390
2390
|
step: string | number;
|
|
2391
2391
|
format: string | ProgressFn | undefined;
|
|
@@ -2430,8 +2430,8 @@ 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] | boolean[] |
|
|
2434
|
-
hasLabel: boolean |
|
|
2433
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2434
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
2435
2435
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2436
2436
|
style?: CSSProperties | undefined;
|
|
2437
2437
|
class?: any;
|
|
@@ -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;
|
|
@@ -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
3885
|
modelValue: FieldValues;
|
|
3883
3886
|
columns: PlusColumn[];
|
|
3884
|
-
layout: "
|
|
3887
|
+
layout: "grid" | "flex";
|
|
3888
|
+
labelPosition: "top" | "right" | "left";
|
|
3885
3889
|
inline: boolean;
|
|
3886
3890
|
showNumber: number;
|
|
3887
3891
|
defaultValues: FieldValues;
|
|
@@ -3908,7 +3912,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3908
3912
|
}> & Omit<{
|
|
3909
3913
|
readonly modelValue: FieldValues;
|
|
3910
3914
|
readonly columns: PlusColumn[];
|
|
3911
|
-
readonly layout: "
|
|
3915
|
+
readonly layout: "grid" | "flex";
|
|
3912
3916
|
readonly inline: boolean;
|
|
3913
3917
|
readonly showNumber: number;
|
|
3914
3918
|
readonly defaultValues: FieldValues;
|
|
@@ -3930,19 +3934,15 @@ 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
3946
|
modelValue: {
|
|
3947
3947
|
type: PropType<FieldValues>;
|
|
3948
3948
|
default: () => {};
|
|
@@ -3952,9 +3952,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3952
3952
|
default: () => never[];
|
|
3953
3953
|
};
|
|
3954
3954
|
layout: {
|
|
3955
|
-
type: PropType<"
|
|
3955
|
+
type: PropType<"grid" | "flex">;
|
|
3956
3956
|
default: "grid";
|
|
3957
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
|
+
}, "modelValue" | "columns" | "layout" | "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,13 +4059,9 @@ 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
4065
|
modelValue: {
|
|
4066
4066
|
type: PropType<FieldValues>;
|
|
4067
4067
|
default: () => {};
|
|
@@ -4071,9 +4071,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4071
4071
|
default: () => never[];
|
|
4072
4072
|
};
|
|
4073
4073
|
layout: {
|
|
4074
|
-
type: PropType<"
|
|
4074
|
+
type: PropType<"grid" | "flex">;
|
|
4075
4075
|
default: "grid";
|
|
4076
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
4174
|
modelValue: FieldValues;
|
|
4172
4175
|
collapseDuration: number;
|
|
4173
4176
|
collapseTransition: boolean;
|
|
4174
4177
|
columns: PlusColumn[];
|
|
4175
4178
|
group: false | PlusFormGroupRow[];
|
|
4176
|
-
layout: "
|
|
4179
|
+
layout: "grid" | "flex";
|
|
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: "center" | "right" | "left";
|
|
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
4208
|
readonly modelValue: FieldValues;
|
|
4206
4209
|
readonly columns: PlusColumn[];
|
|
4207
4210
|
readonly group: false | PlusFormGroupRow[];
|
|
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: "center" | "right" | "left";
|
|
4228
4232
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
4229
4233
|
style?: CSSProperties | undefined;
|
|
4230
4234
|
class?: any;
|
|
@@ -4233,18 +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
4248
|
modelValue: {
|
|
4249
4249
|
type: PropType<FieldValues>;
|
|
4250
4250
|
default: () => {};
|
|
@@ -4266,13 +4266,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4266
4266
|
default: boolean;
|
|
4267
4267
|
};
|
|
4268
4268
|
layout: {
|
|
4269
|
-
type: PropType<"
|
|
4269
|
+
type: PropType<"grid" | "flex">;
|
|
4270
4270
|
default: undefined;
|
|
4271
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<"center" | "right" | "left">;
|
|
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
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "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,13 +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
4375
|
modelValue: {
|
|
4376
4376
|
type: PropType<FieldValues>;
|
|
4377
4377
|
default: () => {};
|
|
@@ -4393,13 +4393,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4393
4393
|
default: boolean;
|
|
4394
4394
|
};
|
|
4395
4395
|
layout: {
|
|
4396
|
-
type: PropType<"
|
|
4396
|
+
type: PropType<"grid" | "flex">;
|
|
4397
4397
|
default: undefined;
|
|
4398
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<"center" | "right" | "left">;
|
|
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
4499
|
modelValue: FieldValues;
|
|
4497
4500
|
collapseDuration: number;
|
|
4498
4501
|
collapseTransition: boolean;
|
|
4499
4502
|
columns: PlusColumn[];
|
|
4500
4503
|
group: false | PlusFormGroupRow[];
|
|
4501
|
-
layout: "
|
|
4504
|
+
layout: "grid" | "flex";
|
|
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: "center" | "right" | "left";
|
|
4522
4526
|
cardProps: Partial< Mutable<CardProps> & {
|
|
4523
4527
|
style?: CSSProperties | undefined;
|
|
4524
4528
|
class?: any;
|
|
@@ -4546,10 +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
4553
|
modelValue: {
|
|
4554
4554
|
type: PropType<FieldValues>;
|
|
4555
4555
|
default: () => {};
|
|
@@ -4571,13 +4571,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4571
4571
|
default: boolean;
|
|
4572
4572
|
};
|
|
4573
4573
|
layout: {
|
|
4574
|
-
type: PropType<"
|
|
4574
|
+
type: PropType<"grid" | "flex">;
|
|
4575
4575
|
default: undefined;
|
|
4576
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<"center" | "right" | "left">;
|
|
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,10 +4679,10 @@ 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" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] |
|
|
4681
|
-
readonly hasLabel: boolean |
|
|
4684
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4685
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
4682
4686
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4683
4687
|
style?: CSSProperties | undefined;
|
|
4684
4688
|
class?: any;
|
|
@@ -4708,7 +4712,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4708
4712
|
};
|
|
4709
4713
|
rows: number;
|
|
4710
4714
|
autocomplete: string;
|
|
4711
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
4715
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
4712
4716
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4713
4717
|
step: string | number;
|
|
4714
4718
|
format: string | ProgressFn | undefined;
|
|
@@ -4753,8 +4757,8 @@ 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] | boolean[] |
|
|
4757
|
-
hasLabel: boolean |
|
|
4760
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4761
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
4758
4762
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4759
4763
|
style?: CSSProperties | undefined;
|
|
4760
4764
|
class?: any;
|
|
@@ -4787,10 +4791,10 @@ 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" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] |
|
|
4793
|
-
readonly hasLabel: boolean |
|
|
4796
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4797
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
4794
4798
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4795
4799
|
style?: CSSProperties | undefined;
|
|
4796
4800
|
class?: any;
|
|
@@ -4820,7 +4824,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4820
4824
|
};
|
|
4821
4825
|
rows: number;
|
|
4822
4826
|
autocomplete: string;
|
|
4823
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
4827
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
4824
4828
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4825
4829
|
step: string | number;
|
|
4826
4830
|
format: string | ProgressFn | undefined;
|
|
@@ -4865,8 +4869,8 @@ 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] | boolean[] |
|
|
4869
|
-
hasLabel: boolean |
|
|
4872
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4873
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
4870
4874
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4871
4875
|
style?: CSSProperties | undefined;
|
|
4872
4876
|
class?: any;
|
|
@@ -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
4929
|
modelValue: FieldValues;
|
|
4927
4930
|
columns: PlusColumn[];
|
|
4928
|
-
layout: "
|
|
4931
|
+
layout: "grid" | "flex";
|
|
4932
|
+
labelPosition: "top" | "right" | "left";
|
|
4929
4933
|
inline: boolean;
|
|
4930
4934
|
showNumber: number;
|
|
4931
4935
|
defaultValues: FieldValues;
|
|
@@ -4970,10 +4974,6 @@ 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
4977
|
modelValue: {
|
|
4978
4978
|
type: PropType<FieldValues>;
|
|
4979
4979
|
default: () => {};
|
|
@@ -4983,9 +4983,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4983
4983
|
default: () => never[];
|
|
4984
4984
|
};
|
|
4985
4985
|
layout: {
|
|
4986
|
-
type: PropType<"
|
|
4986
|
+
type: PropType<"grid" | "flex">;
|
|
4987
4987
|
default: "grid";
|
|
4988
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
5086
|
modelValue: FieldValues;
|
|
5084
5087
|
collapseDuration: number;
|
|
5085
5088
|
collapseTransition: boolean;
|
|
5086
5089
|
columns: PlusColumn[];
|
|
5087
5090
|
group: false | PlusFormGroupRow[];
|
|
5088
|
-
layout: "
|
|
5091
|
+
layout: "grid" | "flex";
|
|
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: "center" | "right" | "left";
|
|
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
5120
|
readonly modelValue: FieldValues;
|
|
5118
5121
|
readonly columns: PlusColumn[];
|
|
5119
5122
|
readonly group: false | PlusFormGroupRow[];
|
|
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: "center" | "right" | "left";
|
|
5140
5144
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
5141
5145
|
style?: CSSProperties | undefined;
|
|
5142
5146
|
class?: any;
|
|
@@ -5145,18 +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
5160
|
modelValue: {
|
|
5161
5161
|
type: PropType<FieldValues>;
|
|
5162
5162
|
default: () => {};
|
|
@@ -5178,13 +5178,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5178
5178
|
default: boolean;
|
|
5179
5179
|
};
|
|
5180
5180
|
layout: {
|
|
5181
|
-
type: PropType<"
|
|
5181
|
+
type: PropType<"grid" | "flex">;
|
|
5182
5182
|
default: undefined;
|
|
5183
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<"center" | "right" | "left">;
|
|
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
|
+
}, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "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,13 +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
5287
|
modelValue: {
|
|
5288
5288
|
type: PropType<FieldValues>;
|
|
5289
5289
|
default: () => {};
|
|
@@ -5305,13 +5305,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5305
5305
|
default: boolean;
|
|
5306
5306
|
};
|
|
5307
5307
|
layout: {
|
|
5308
|
-
type: PropType<"
|
|
5308
|
+
type: PropType<"grid" | "flex">;
|
|
5309
5309
|
default: undefined;
|
|
5310
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<"center" | "right" | "left">;
|
|
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
5411
|
modelValue: FieldValues;
|
|
5409
5412
|
collapseDuration: number;
|
|
5410
5413
|
collapseTransition: boolean;
|
|
5411
5414
|
columns: PlusColumn[];
|
|
5412
5415
|
group: false | PlusFormGroupRow[];
|
|
5413
|
-
layout: "
|
|
5416
|
+
layout: "grid" | "flex";
|
|
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: "center" | "right" | "left";
|
|
5434
5438
|
cardProps: Partial< Mutable<CardProps> & {
|
|
5435
5439
|
style?: CSSProperties | undefined;
|
|
5436
5440
|
class?: any;
|
|
@@ -5458,10 +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
5465
|
modelValue: {
|
|
5466
5466
|
type: PropType<FieldValues>;
|
|
5467
5467
|
default: () => {};
|
|
@@ -5483,13 +5483,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5483
5483
|
default: boolean;
|
|
5484
5484
|
};
|
|
5485
5485
|
layout: {
|
|
5486
|
-
type: PropType<"
|
|
5486
|
+
type: PropType<"grid" | "flex">;
|
|
5487
5487
|
default: undefined;
|
|
5488
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<"center" | "right" | "left">;
|
|
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,10 +5591,10 @@ 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" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] |
|
|
5593
|
-
readonly hasLabel: boolean |
|
|
5596
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5597
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
5594
5598
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5595
5599
|
style?: CSSProperties | undefined;
|
|
5596
5600
|
class?: any;
|
|
@@ -5620,7 +5624,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5620
5624
|
};
|
|
5621
5625
|
rows: number;
|
|
5622
5626
|
autocomplete: string;
|
|
5623
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
5627
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
5624
5628
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5625
5629
|
step: string | number;
|
|
5626
5630
|
format: string | ProgressFn | undefined;
|
|
@@ -5665,8 +5669,8 @@ 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] | boolean[] |
|
|
5669
|
-
hasLabel: boolean |
|
|
5672
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5673
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
5670
5674
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5671
5675
|
style?: CSSProperties | undefined;
|
|
5672
5676
|
class?: any;
|
|
@@ -5699,10 +5703,10 @@ 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" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] |
|
|
5705
|
-
readonly hasLabel: boolean |
|
|
5708
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5709
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
5706
5710
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5707
5711
|
style?: CSSProperties | undefined;
|
|
5708
5712
|
class?: any;
|
|
@@ -5732,7 +5736,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5732
5736
|
};
|
|
5733
5737
|
rows: number;
|
|
5734
5738
|
autocomplete: string;
|
|
5735
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
5739
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
5736
5740
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5737
5741
|
step: string | number;
|
|
5738
5742
|
format: string | ProgressFn | undefined;
|
|
@@ -5777,8 +5781,8 @@ 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] | boolean[] |
|
|
5781
|
-
hasLabel: boolean |
|
|
5784
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5785
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
5782
5786
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5783
5787
|
style?: CSSProperties | undefined;
|
|
5784
5788
|
class?: any;
|
|
@@ -5829,10 +5833,10 @@ 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" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] |
|
|
5835
|
-
readonly hasLabel: boolean |
|
|
5838
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5839
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
5836
5840
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5837
5841
|
style?: CSSProperties | undefined;
|
|
5838
5842
|
class?: any;
|
|
@@ -5862,7 +5866,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5862
5866
|
};
|
|
5863
5867
|
rows: number;
|
|
5864
5868
|
autocomplete: string;
|
|
5865
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
5869
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
5866
5870
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5867
5871
|
step: string | number;
|
|
5868
5872
|
format: string | ProgressFn | undefined;
|
|
@@ -5907,8 +5911,8 @@ 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] | boolean[] |
|
|
5911
|
-
hasLabel: boolean |
|
|
5914
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5915
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
5912
5916
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5913
5917
|
style?: CSSProperties | undefined;
|
|
5914
5918
|
class?: any;
|
|
@@ -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,10 +7197,10 @@ 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" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] |
|
|
7195
|
-
readonly hasLabel: boolean |
|
|
7202
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7203
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
7196
7204
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
7197
7205
|
style?: CSSProperties | undefined;
|
|
7198
7206
|
class?: any;
|
|
@@ -7222,7 +7230,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7222
7230
|
};
|
|
7223
7231
|
rows: number;
|
|
7224
7232
|
autocomplete: string;
|
|
7225
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
7233
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
7226
7234
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
7227
7235
|
step: string | number;
|
|
7228
7236
|
format: string | ProgressFn | undefined;
|
|
@@ -7267,8 +7275,8 @@ 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] | boolean[] |
|
|
7271
|
-
hasLabel: boolean |
|
|
7278
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7279
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
7272
7280
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
7273
7281
|
style?: CSSProperties | undefined;
|
|
7274
7282
|
class?: any;
|
|
@@ -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;
|