yc-pro-components 0.0.82 → 0.0.84
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 +34 -34
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +20 -20
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +19 -19
- package/es/components/date-picker/src/index.vue.d.ts +11 -11
- package/es/components/dialog/index.d.ts +57 -57
- package/es/components/dialog/src/index.vue.d.ts +5 -5
- package/es/components/dialog-form/index.d.ts +14 -14
- package/es/components/dialog-form/src/index.vue.d.ts +8 -8
- 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 +103 -103
- package/es/components/drawer-form/src/index.vue.d.ts +27 -27
- package/es/components/form/index.d.ts +39 -39
- package/es/components/form/src/form-content.vue.d.ts +27 -27
- package/es/components/form/src/index.vue.d.ts +14 -14
- package/es/components/form-item/index.d.ts +42 -42
- package/es/components/form-item/src/index.vue.d.ts +21 -13
- package/es/components/form-item/src/index.vue2.mjs +429 -301
- package/es/components/form-item/src/overflow-tooltip.d.ts +16 -0
- package/es/components/form-item/src/overflow-tooltip.mjs +67 -0
- package/es/components/header/index.d.ts +7 -7
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +10 -10
- package/es/components/input-tag/src/index.vue.d.ts +2 -2
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +283 -283
- package/es/components/page/src/index.vue.d.ts +97 -97
- package/es/components/pagination/index.d.ts +38 -38
- 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 +31 -31
- package/es/components/radio/src/index.vue.d.ts +23 -23
- 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 +128 -128
- package/es/components/search/src/index.vue.d.ts +41 -41
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +19 -19
- package/es/components/steps-form/src/index.vue.d.ts +1 -1
- package/es/components/table/src/index.vue2.mjs +11 -5
- package/es/components/table/src/table-column.vue.d.ts +18 -18
- package/es/components/table/src/use-table-density.d.ts +8 -0
- package/es/components/table/src/use-table-density.mjs +24 -0
- 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-drawer/store.d.ts +5 -5
- 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/index.vue.d.ts +192 -192
- 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 +2 -2
- package/es/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +288 -288
- package/es/index.css +8 -8
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.css +1 -1
- package/index.js +525 -306
- package/index.min.js +12 -12
- package/index.min.mjs +12 -12
- package/index.mjs +525 -306
- package/lib/components/check-card/index.d.ts +34 -34
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +20 -20
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +19 -19
- package/lib/components/date-picker/src/index.vue.d.ts +11 -11
- package/lib/components/dialog/index.d.ts +57 -57
- package/lib/components/dialog/src/index.vue.d.ts +5 -5
- package/lib/components/dialog-form/index.d.ts +14 -14
- package/lib/components/dialog-form/src/index.vue.d.ts +8 -8
- 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 +103 -103
- package/lib/components/drawer-form/src/index.vue.d.ts +27 -27
- package/lib/components/form/index.d.ts +39 -39
- package/lib/components/form/src/form-content.vue.d.ts +27 -27
- package/lib/components/form/src/index.vue.d.ts +14 -14
- package/lib/components/form-item/index.d.ts +42 -42
- package/lib/components/form-item/src/index.vue.d.ts +21 -13
- package/lib/components/form-item/src/index.vue2.js +428 -300
- package/lib/components/form-item/src/overflow-tooltip.d.ts +16 -0
- package/lib/components/form-item/src/overflow-tooltip.js +71 -0
- package/lib/components/header/index.d.ts +7 -7
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +10 -10
- package/lib/components/input-tag/src/index.vue.d.ts +2 -2
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +283 -283
- package/lib/components/page/src/index.vue.d.ts +97 -97
- package/lib/components/pagination/index.d.ts +38 -38
- 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 +31 -31
- package/lib/components/radio/src/index.vue.d.ts +23 -23
- 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 +128 -128
- package/lib/components/search/src/index.vue.d.ts +41 -41
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +19 -19
- package/lib/components/steps-form/src/index.vue.d.ts +1 -1
- package/lib/components/table/src/index.vue2.js +10 -4
- package/lib/components/table/src/table-column.vue.d.ts +18 -18
- package/lib/components/table/src/use-table-density.d.ts +8 -0
- package/lib/components/table/src/use-table-density.js +28 -0
- 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-drawer/store.d.ts +5 -5
- 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/index.vue.d.ts +192 -192
- 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 +2 -2
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +288 -288
- package/lib/index.css +7 -7
- 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
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-form-item.css +1 -1
- package/theme-chalk/src/form-item.scss +56 -0
|
@@ -111,7 +111,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
111
111
|
columns: PlusColumn[];
|
|
112
112
|
immediate: boolean;
|
|
113
113
|
params: RecordType;
|
|
114
|
-
pagination: false | Omit< PlusPaginationProps, "
|
|
114
|
+
pagination: false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
115
115
|
columnsEmptyText: string;
|
|
116
116
|
postData: <T = RecordType[]>(data: T[]) => T[];
|
|
117
117
|
beforeSearchSubmit: <T_1 = RecordType>(params: T_1) => T_1;
|
|
@@ -148,7 +148,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
148
148
|
total: number;
|
|
149
149
|
}>;
|
|
150
150
|
readonly params: RecordType;
|
|
151
|
-
readonly pagination: false | Omit< PlusPaginationProps, "
|
|
151
|
+
readonly pagination: false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
152
152
|
readonly columnsEmptyText: string;
|
|
153
153
|
readonly isCard: boolean;
|
|
154
154
|
readonly searchCardProps: Partial< Mutable<CardProps> & {
|
|
@@ -210,7 +210,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
210
210
|
default: () => {};
|
|
211
211
|
};
|
|
212
212
|
pagination: {
|
|
213
|
-
type: PropType<false | Omit< PlusPaginationProps, "
|
|
213
|
+
type: PropType<false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">>;
|
|
214
214
|
default: () => {};
|
|
215
215
|
};
|
|
216
216
|
columnsEmptyText: {
|
|
@@ -328,7 +328,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
328
328
|
default: () => {};
|
|
329
329
|
};
|
|
330
330
|
pagination: {
|
|
331
|
-
type: PropType<false | Omit< PlusPaginationProps, "
|
|
331
|
+
type: PropType<false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">>;
|
|
332
332
|
default: () => {};
|
|
333
333
|
};
|
|
334
334
|
columnsEmptyText: {
|
|
@@ -401,9 +401,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
401
401
|
$: ComponentInternalInstance;
|
|
402
402
|
$data: {};
|
|
403
403
|
$props: Partial<{
|
|
404
|
-
modelValue: FieldValues;
|
|
405
404
|
columns: PlusColumn[];
|
|
406
405
|
layout: "grid" | "flex";
|
|
406
|
+
modelValue: FieldValues;
|
|
407
407
|
labelPosition: "top" | "right" | "left";
|
|
408
408
|
inline: boolean;
|
|
409
409
|
showNumber: number;
|
|
@@ -429,9 +429,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
429
429
|
searchIcon: Component | null;
|
|
430
430
|
resetIcon: Component | null;
|
|
431
431
|
}> & Omit<{
|
|
432
|
-
readonly modelValue: FieldValues;
|
|
433
432
|
readonly columns: PlusColumn[];
|
|
434
433
|
readonly layout: "grid" | "flex";
|
|
434
|
+
readonly modelValue: FieldValues;
|
|
435
435
|
readonly inline: boolean;
|
|
436
436
|
readonly showNumber: number;
|
|
437
437
|
readonly defaultValues: FieldValues;
|
|
@@ -462,10 +462,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
462
462
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
463
463
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
464
464
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
465
|
-
modelValue: {
|
|
466
|
-
type: PropType<FieldValues>;
|
|
467
|
-
default: () => {};
|
|
468
|
-
};
|
|
469
465
|
columns: {
|
|
470
466
|
type: PropType<PlusColumn[]>;
|
|
471
467
|
default: () => never[];
|
|
@@ -474,6 +470,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
474
470
|
type: PropType<"grid" | "flex">;
|
|
475
471
|
default: "grid";
|
|
476
472
|
};
|
|
473
|
+
modelValue: {
|
|
474
|
+
type: PropType<FieldValues>;
|
|
475
|
+
default: () => {};
|
|
476
|
+
};
|
|
477
477
|
labelPosition: {
|
|
478
478
|
type: PropType<"top" | "right" | "left">;
|
|
479
479
|
default: undefined;
|
|
@@ -566,7 +566,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
566
566
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
567
567
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
568
568
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
569
|
-
}, "
|
|
569
|
+
}, "columns" | "layout" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
570
570
|
$attrs: {
|
|
571
571
|
[x: string]: unknown;
|
|
572
572
|
};
|
|
@@ -581,10 +581,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
581
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
|
-
modelValue: {
|
|
585
|
-
type: PropType<FieldValues>;
|
|
586
|
-
default: () => {};
|
|
587
|
-
};
|
|
588
584
|
columns: {
|
|
589
585
|
type: PropType<PlusColumn[]>;
|
|
590
586
|
default: () => never[];
|
|
@@ -593,6 +589,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
593
589
|
type: PropType<"grid" | "flex">;
|
|
594
590
|
default: "grid";
|
|
595
591
|
};
|
|
592
|
+
modelValue: {
|
|
593
|
+
type: PropType<FieldValues>;
|
|
594
|
+
default: () => {};
|
|
595
|
+
};
|
|
596
596
|
labelPosition: {
|
|
597
597
|
type: PropType<"top" | "right" | "left">;
|
|
598
598
|
default: undefined;
|
|
@@ -690,12 +690,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
690
690
|
$: ComponentInternalInstance;
|
|
691
691
|
$data: {};
|
|
692
692
|
$props: Partial<{
|
|
693
|
-
modelValue: FieldValues;
|
|
694
693
|
collapseDuration: number;
|
|
695
694
|
collapseTransition: boolean;
|
|
696
695
|
columns: PlusColumn[];
|
|
697
696
|
group: false | PlusFormGroupRow[];
|
|
698
697
|
layout: "grid" | "flex";
|
|
698
|
+
modelValue: FieldValues;
|
|
699
699
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
700
700
|
labelPosition: "top" | "right" | "left";
|
|
701
701
|
labelWidth: string | number;
|
|
@@ -716,7 +716,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
716
716
|
submitText: string;
|
|
717
717
|
resetText: string;
|
|
718
718
|
submitLoading: boolean;
|
|
719
|
-
footerAlign: "
|
|
719
|
+
footerAlign: "right" | "left" | "center";
|
|
720
720
|
cardProps: Partial< Mutable<CardProps> & {
|
|
721
721
|
style?: CSSProperties | undefined;
|
|
722
722
|
class?: any;
|
|
@@ -724,9 +724,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
724
724
|
prevent: boolean;
|
|
725
725
|
clearable: boolean;
|
|
726
726
|
}> & Omit<{
|
|
727
|
-
readonly modelValue: FieldValues;
|
|
728
727
|
readonly columns: PlusColumn[];
|
|
729
728
|
readonly group: false | PlusFormGroupRow[];
|
|
729
|
+
readonly modelValue: FieldValues;
|
|
730
730
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
731
731
|
readonly labelPosition: "top" | "right" | "left";
|
|
732
732
|
readonly labelWidth: string | number;
|
|
@@ -747,7 +747,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
747
747
|
readonly submitText: string;
|
|
748
748
|
readonly resetText: string;
|
|
749
749
|
readonly submitLoading: boolean;
|
|
750
|
-
readonly footerAlign: "
|
|
750
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
751
751
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
752
752
|
style?: CSSProperties | undefined;
|
|
753
753
|
class?: any;
|
|
@@ -764,10 +764,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
764
764
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
765
765
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
766
766
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
767
|
-
modelValue: {
|
|
768
|
-
type: PropType<FieldValues>;
|
|
769
|
-
default: () => {};
|
|
770
|
-
};
|
|
771
767
|
collapseDuration: {
|
|
772
768
|
type: PropType<number>;
|
|
773
769
|
default: undefined;
|
|
@@ -788,6 +784,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
788
784
|
type: PropType<"grid" | "flex">;
|
|
789
785
|
default: undefined;
|
|
790
786
|
};
|
|
787
|
+
modelValue: {
|
|
788
|
+
type: PropType<FieldValues>;
|
|
789
|
+
default: () => {};
|
|
790
|
+
};
|
|
791
791
|
rules: {
|
|
792
792
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
793
793
|
default: () => {};
|
|
@@ -851,7 +851,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
851
851
|
default: boolean;
|
|
852
852
|
};
|
|
853
853
|
footerAlign: {
|
|
854
|
-
type: PropType<"
|
|
854
|
+
type: PropType<"right" | "left" | "center">;
|
|
855
855
|
default: string;
|
|
856
856
|
};
|
|
857
857
|
cardProps: {
|
|
@@ -876,7 +876,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
876
876
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
877
877
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
878
878
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
879
|
-
}, "
|
|
879
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
880
880
|
$attrs: {
|
|
881
881
|
[x: string]: unknown;
|
|
882
882
|
};
|
|
@@ -891,10 +891,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
891
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
|
-
modelValue: {
|
|
895
|
-
type: PropType<FieldValues>;
|
|
896
|
-
default: () => {};
|
|
897
|
-
};
|
|
898
894
|
collapseDuration: {
|
|
899
895
|
type: PropType<number>;
|
|
900
896
|
default: undefined;
|
|
@@ -915,6 +911,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
915
911
|
type: PropType<"grid" | "flex">;
|
|
916
912
|
default: undefined;
|
|
917
913
|
};
|
|
914
|
+
modelValue: {
|
|
915
|
+
type: PropType<FieldValues>;
|
|
916
|
+
default: () => {};
|
|
917
|
+
};
|
|
918
918
|
rules: {
|
|
919
919
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
920
920
|
default: () => {};
|
|
@@ -978,7 +978,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
978
978
|
default: boolean;
|
|
979
979
|
};
|
|
980
980
|
footerAlign: {
|
|
981
|
-
type: PropType<"
|
|
981
|
+
type: PropType<"right" | "left" | "center">;
|
|
982
982
|
default: string;
|
|
983
983
|
};
|
|
984
984
|
cardProps: {
|
|
@@ -1015,12 +1015,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1015
1015
|
submitError: (errors: unknown) => void;
|
|
1016
1016
|
validate: (...args: any[]) => void;
|
|
1017
1017
|
}, string, {
|
|
1018
|
-
modelValue: FieldValues;
|
|
1019
1018
|
collapseDuration: number;
|
|
1020
1019
|
collapseTransition: boolean;
|
|
1021
1020
|
columns: PlusColumn[];
|
|
1022
1021
|
group: false | PlusFormGroupRow[];
|
|
1023
1022
|
layout: "grid" | "flex";
|
|
1023
|
+
modelValue: FieldValues;
|
|
1024
1024
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1025
1025
|
labelPosition: "top" | "right" | "left";
|
|
1026
1026
|
labelWidth: string | number;
|
|
@@ -1041,7 +1041,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1041
1041
|
submitText: string;
|
|
1042
1042
|
resetText: string;
|
|
1043
1043
|
submitLoading: boolean;
|
|
1044
|
-
footerAlign: "
|
|
1044
|
+
footerAlign: "right" | "left" | "center";
|
|
1045
1045
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1046
1046
|
style?: CSSProperties | undefined;
|
|
1047
1047
|
class?: any;
|
|
@@ -1069,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
|
-
modelValue: {
|
|
1073
|
-
type: PropType<FieldValues>;
|
|
1074
|
-
default: () => {};
|
|
1075
|
-
};
|
|
1076
1072
|
collapseDuration: {
|
|
1077
1073
|
type: PropType<number>;
|
|
1078
1074
|
default: undefined;
|
|
@@ -1093,6 +1089,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1093
1089
|
type: PropType<"grid" | "flex">;
|
|
1094
1090
|
default: undefined;
|
|
1095
1091
|
};
|
|
1092
|
+
modelValue: {
|
|
1093
|
+
type: PropType<FieldValues>;
|
|
1094
|
+
default: () => {};
|
|
1095
|
+
};
|
|
1096
1096
|
rules: {
|
|
1097
1097
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1098
1098
|
default: () => {};
|
|
@@ -1156,7 +1156,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1156
1156
|
default: boolean;
|
|
1157
1157
|
};
|
|
1158
1158
|
footerAlign: {
|
|
1159
|
-
type: PropType<"
|
|
1159
|
+
type: PropType<"right" | "left" | "center">;
|
|
1160
1160
|
default: string;
|
|
1161
1161
|
};
|
|
1162
1162
|
cardProps: {
|
|
@@ -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" | "label" | "
|
|
1201
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1202
1202
|
readonly label: string | ComputedRef<string>;
|
|
1203
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1204
|
-
readonly hasLabel: boolean |
|
|
1203
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1204
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<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" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1234
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "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] |
|
|
1280
|
-
hasLabel: boolean |
|
|
1279
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1280
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<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" | "label" | "
|
|
1313
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1314
1314
|
readonly label: string | ComputedRef<string>;
|
|
1315
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1316
|
-
readonly hasLabel: boolean |
|
|
1315
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1316
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<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" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1346
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "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] |
|
|
1392
|
-
hasLabel: boolean |
|
|
1391
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1392
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1393
1393
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1394
1394
|
style?: CSSProperties | undefined;
|
|
1395
1395
|
class?: any;
|
|
@@ -1445,9 +1445,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1445
1445
|
reset: (values: FieldValues) => void;
|
|
1446
1446
|
collapse: (isShowUnfold: boolean) => void;
|
|
1447
1447
|
}, string, {
|
|
1448
|
-
modelValue: FieldValues;
|
|
1449
1448
|
columns: PlusColumn[];
|
|
1450
1449
|
layout: "grid" | "flex";
|
|
1450
|
+
modelValue: FieldValues;
|
|
1451
1451
|
labelPosition: "top" | "right" | "left";
|
|
1452
1452
|
inline: boolean;
|
|
1453
1453
|
showNumber: number;
|
|
@@ -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
|
-
modelValue: {
|
|
1497
|
-
type: PropType<FieldValues>;
|
|
1498
|
-
default: () => {};
|
|
1499
|
-
};
|
|
1500
1496
|
columns: {
|
|
1501
1497
|
type: PropType<PlusColumn[]>;
|
|
1502
1498
|
default: () => never[];
|
|
@@ -1505,6 +1501,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1505
1501
|
type: PropType<"grid" | "flex">;
|
|
1506
1502
|
default: "grid";
|
|
1507
1503
|
};
|
|
1504
|
+
modelValue: {
|
|
1505
|
+
type: PropType<FieldValues>;
|
|
1506
|
+
default: () => {};
|
|
1507
|
+
};
|
|
1508
1508
|
labelPosition: {
|
|
1509
1509
|
type: PropType<"top" | "right" | "left">;
|
|
1510
1510
|
default: undefined;
|
|
@@ -1602,12 +1602,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1602
1602
|
$: ComponentInternalInstance;
|
|
1603
1603
|
$data: {};
|
|
1604
1604
|
$props: Partial<{
|
|
1605
|
-
modelValue: FieldValues;
|
|
1606
1605
|
collapseDuration: number;
|
|
1607
1606
|
collapseTransition: boolean;
|
|
1608
1607
|
columns: PlusColumn[];
|
|
1609
1608
|
group: false | PlusFormGroupRow[];
|
|
1610
1609
|
layout: "grid" | "flex";
|
|
1610
|
+
modelValue: FieldValues;
|
|
1611
1611
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1612
1612
|
labelPosition: "top" | "right" | "left";
|
|
1613
1613
|
labelWidth: string | number;
|
|
@@ -1628,7 +1628,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1628
1628
|
submitText: string;
|
|
1629
1629
|
resetText: string;
|
|
1630
1630
|
submitLoading: boolean;
|
|
1631
|
-
footerAlign: "
|
|
1631
|
+
footerAlign: "right" | "left" | "center";
|
|
1632
1632
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1633
1633
|
style?: CSSProperties | undefined;
|
|
1634
1634
|
class?: any;
|
|
@@ -1636,9 +1636,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1636
1636
|
prevent: boolean;
|
|
1637
1637
|
clearable: boolean;
|
|
1638
1638
|
}> & Omit<{
|
|
1639
|
-
readonly modelValue: FieldValues;
|
|
1640
1639
|
readonly columns: PlusColumn[];
|
|
1641
1640
|
readonly group: false | PlusFormGroupRow[];
|
|
1641
|
+
readonly modelValue: FieldValues;
|
|
1642
1642
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1643
1643
|
readonly labelPosition: "top" | "right" | "left";
|
|
1644
1644
|
readonly labelWidth: string | number;
|
|
@@ -1659,7 +1659,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1659
1659
|
readonly submitText: string;
|
|
1660
1660
|
readonly resetText: string;
|
|
1661
1661
|
readonly submitLoading: boolean;
|
|
1662
|
-
readonly footerAlign: "
|
|
1662
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
1663
1663
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1664
1664
|
style?: CSSProperties | undefined;
|
|
1665
1665
|
class?: any;
|
|
@@ -1676,10 +1676,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1676
1676
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1677
1677
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1678
1678
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1679
|
-
modelValue: {
|
|
1680
|
-
type: PropType<FieldValues>;
|
|
1681
|
-
default: () => {};
|
|
1682
|
-
};
|
|
1683
1679
|
collapseDuration: {
|
|
1684
1680
|
type: PropType<number>;
|
|
1685
1681
|
default: undefined;
|
|
@@ -1700,6 +1696,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1700
1696
|
type: PropType<"grid" | "flex">;
|
|
1701
1697
|
default: undefined;
|
|
1702
1698
|
};
|
|
1699
|
+
modelValue: {
|
|
1700
|
+
type: PropType<FieldValues>;
|
|
1701
|
+
default: () => {};
|
|
1702
|
+
};
|
|
1703
1703
|
rules: {
|
|
1704
1704
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1705
1705
|
default: () => {};
|
|
@@ -1763,7 +1763,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1763
1763
|
default: boolean;
|
|
1764
1764
|
};
|
|
1765
1765
|
footerAlign: {
|
|
1766
|
-
type: PropType<"
|
|
1766
|
+
type: PropType<"right" | "left" | "center">;
|
|
1767
1767
|
default: string;
|
|
1768
1768
|
};
|
|
1769
1769
|
cardProps: {
|
|
@@ -1788,7 +1788,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1788
1788
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1789
1789
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1790
1790
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1791
|
-
}, "
|
|
1791
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
1792
1792
|
$attrs: {
|
|
1793
1793
|
[x: string]: unknown;
|
|
1794
1794
|
};
|
|
@@ -1803,10 +1803,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1803
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
|
-
modelValue: {
|
|
1807
|
-
type: PropType<FieldValues>;
|
|
1808
|
-
default: () => {};
|
|
1809
|
-
};
|
|
1810
1806
|
collapseDuration: {
|
|
1811
1807
|
type: PropType<number>;
|
|
1812
1808
|
default: undefined;
|
|
@@ -1827,6 +1823,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1827
1823
|
type: PropType<"grid" | "flex">;
|
|
1828
1824
|
default: undefined;
|
|
1829
1825
|
};
|
|
1826
|
+
modelValue: {
|
|
1827
|
+
type: PropType<FieldValues>;
|
|
1828
|
+
default: () => {};
|
|
1829
|
+
};
|
|
1830
1830
|
rules: {
|
|
1831
1831
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1832
1832
|
default: () => {};
|
|
@@ -1890,7 +1890,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1890
1890
|
default: boolean;
|
|
1891
1891
|
};
|
|
1892
1892
|
footerAlign: {
|
|
1893
|
-
type: PropType<"
|
|
1893
|
+
type: PropType<"right" | "left" | "center">;
|
|
1894
1894
|
default: string;
|
|
1895
1895
|
};
|
|
1896
1896
|
cardProps: {
|
|
@@ -1927,12 +1927,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1927
1927
|
submitError: (errors: unknown) => void;
|
|
1928
1928
|
validate: (...args: any[]) => void;
|
|
1929
1929
|
}, string, {
|
|
1930
|
-
modelValue: FieldValues;
|
|
1931
1930
|
collapseDuration: number;
|
|
1932
1931
|
collapseTransition: boolean;
|
|
1933
1932
|
columns: PlusColumn[];
|
|
1934
1933
|
group: false | PlusFormGroupRow[];
|
|
1935
1934
|
layout: "grid" | "flex";
|
|
1935
|
+
modelValue: FieldValues;
|
|
1936
1936
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1937
1937
|
labelPosition: "top" | "right" | "left";
|
|
1938
1938
|
labelWidth: string | number;
|
|
@@ -1953,7 +1953,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1953
1953
|
submitText: string;
|
|
1954
1954
|
resetText: string;
|
|
1955
1955
|
submitLoading: boolean;
|
|
1956
|
-
footerAlign: "
|
|
1956
|
+
footerAlign: "right" | "left" | "center";
|
|
1957
1957
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1958
1958
|
style?: CSSProperties | undefined;
|
|
1959
1959
|
class?: any;
|
|
@@ -1981,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
|
-
modelValue: {
|
|
1985
|
-
type: PropType<FieldValues>;
|
|
1986
|
-
default: () => {};
|
|
1987
|
-
};
|
|
1988
1984
|
collapseDuration: {
|
|
1989
1985
|
type: PropType<number>;
|
|
1990
1986
|
default: undefined;
|
|
@@ -2005,6 +2001,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2005
2001
|
type: PropType<"grid" | "flex">;
|
|
2006
2002
|
default: undefined;
|
|
2007
2003
|
};
|
|
2004
|
+
modelValue: {
|
|
2005
|
+
type: PropType<FieldValues>;
|
|
2006
|
+
default: () => {};
|
|
2007
|
+
};
|
|
2008
2008
|
rules: {
|
|
2009
2009
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2010
2010
|
default: () => {};
|
|
@@ -2068,7 +2068,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2068
2068
|
default: boolean;
|
|
2069
2069
|
};
|
|
2070
2070
|
footerAlign: {
|
|
2071
|
-
type: PropType<"
|
|
2071
|
+
type: PropType<"right" | "left" | "center">;
|
|
2072
2072
|
default: string;
|
|
2073
2073
|
};
|
|
2074
2074
|
cardProps: {
|
|
@@ -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" | "label" | "
|
|
2113
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2114
2114
|
readonly label: string | ComputedRef<string>;
|
|
2115
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2116
|
-
readonly hasLabel: boolean |
|
|
2115
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2116
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<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" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
2146
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "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] |
|
|
2192
|
-
hasLabel: boolean |
|
|
2191
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2192
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<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" | "label" | "
|
|
2225
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2226
2226
|
readonly label: string | ComputedRef<string>;
|
|
2227
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2228
|
-
readonly hasLabel: boolean |
|
|
2227
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2228
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<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" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
2258
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "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] |
|
|
2304
|
-
hasLabel: boolean |
|
|
2303
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2304
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<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" | "label" | "
|
|
2355
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2356
2356
|
readonly label: string | ComputedRef<string>;
|
|
2357
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2358
|
-
readonly hasLabel: boolean |
|
|
2357
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2358
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<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" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
2388
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "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] |
|
|
2434
|
-
hasLabel: boolean |
|
|
2433
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2434
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2435
2435
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2436
2436
|
style?: CSSProperties | undefined;
|
|
2437
2437
|
class?: any;
|
|
@@ -3732,7 +3732,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3732
3732
|
columns: PlusColumn[];
|
|
3733
3733
|
immediate: boolean;
|
|
3734
3734
|
params: RecordType;
|
|
3735
|
-
pagination: false | Omit< PlusPaginationProps, "
|
|
3735
|
+
pagination: false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
3736
3736
|
columnsEmptyText: string;
|
|
3737
3737
|
postData: <T = RecordType[]>(data: T[]) => T[];
|
|
3738
3738
|
beforeSearchSubmit: <T_1 = RecordType>(params: T_1) => T_1;
|
|
@@ -3809,7 +3809,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3809
3809
|
default: () => {};
|
|
3810
3810
|
};
|
|
3811
3811
|
pagination: {
|
|
3812
|
-
type: PropType<false | Omit< PlusPaginationProps, "
|
|
3812
|
+
type: PropType<false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">>;
|
|
3813
3813
|
default: () => {};
|
|
3814
3814
|
};
|
|
3815
3815
|
columnsEmptyText: {
|
|
@@ -3882,9 +3882,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3882
3882
|
$: ComponentInternalInstance;
|
|
3883
3883
|
$data: {};
|
|
3884
3884
|
$props: Partial<{
|
|
3885
|
-
modelValue: FieldValues;
|
|
3886
3885
|
columns: PlusColumn[];
|
|
3887
3886
|
layout: "grid" | "flex";
|
|
3887
|
+
modelValue: FieldValues;
|
|
3888
3888
|
labelPosition: "top" | "right" | "left";
|
|
3889
3889
|
inline: boolean;
|
|
3890
3890
|
showNumber: number;
|
|
@@ -3910,9 +3910,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3910
3910
|
searchIcon: Component | null;
|
|
3911
3911
|
resetIcon: Component | null;
|
|
3912
3912
|
}> & Omit<{
|
|
3913
|
-
readonly modelValue: FieldValues;
|
|
3914
3913
|
readonly columns: PlusColumn[];
|
|
3915
3914
|
readonly layout: "grid" | "flex";
|
|
3915
|
+
readonly modelValue: FieldValues;
|
|
3916
3916
|
readonly inline: boolean;
|
|
3917
3917
|
readonly showNumber: number;
|
|
3918
3918
|
readonly defaultValues: FieldValues;
|
|
@@ -3943,10 +3943,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3943
3943
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
3944
3944
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
3945
3945
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3946
|
-
modelValue: {
|
|
3947
|
-
type: PropType<FieldValues>;
|
|
3948
|
-
default: () => {};
|
|
3949
|
-
};
|
|
3950
3946
|
columns: {
|
|
3951
3947
|
type: PropType<PlusColumn[]>;
|
|
3952
3948
|
default: () => never[];
|
|
@@ -3955,6 +3951,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3955
3951
|
type: PropType<"grid" | "flex">;
|
|
3956
3952
|
default: "grid";
|
|
3957
3953
|
};
|
|
3954
|
+
modelValue: {
|
|
3955
|
+
type: PropType<FieldValues>;
|
|
3956
|
+
default: () => {};
|
|
3957
|
+
};
|
|
3958
3958
|
labelPosition: {
|
|
3959
3959
|
type: PropType<"top" | "right" | "left">;
|
|
3960
3960
|
default: undefined;
|
|
@@ -4047,7 +4047,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4047
4047
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4048
4048
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
4049
4049
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
4050
|
-
}, "
|
|
4050
|
+
}, "columns" | "layout" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
4051
4051
|
$attrs: {
|
|
4052
4052
|
[x: string]: unknown;
|
|
4053
4053
|
};
|
|
@@ -4062,10 +4062,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4062
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);
|
|
4063
4063
|
$el: any;
|
|
4064
4064
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
4065
|
-
modelValue: {
|
|
4066
|
-
type: PropType<FieldValues>;
|
|
4067
|
-
default: () => {};
|
|
4068
|
-
};
|
|
4069
4065
|
columns: {
|
|
4070
4066
|
type: PropType<PlusColumn[]>;
|
|
4071
4067
|
default: () => never[];
|
|
@@ -4074,6 +4070,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4074
4070
|
type: PropType<"grid" | "flex">;
|
|
4075
4071
|
default: "grid";
|
|
4076
4072
|
};
|
|
4073
|
+
modelValue: {
|
|
4074
|
+
type: PropType<FieldValues>;
|
|
4075
|
+
default: () => {};
|
|
4076
|
+
};
|
|
4077
4077
|
labelPosition: {
|
|
4078
4078
|
type: PropType<"top" | "right" | "left">;
|
|
4079
4079
|
default: undefined;
|
|
@@ -4171,12 +4171,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4171
4171
|
$: ComponentInternalInstance;
|
|
4172
4172
|
$data: {};
|
|
4173
4173
|
$props: Partial<{
|
|
4174
|
-
modelValue: FieldValues;
|
|
4175
4174
|
collapseDuration: number;
|
|
4176
4175
|
collapseTransition: boolean;
|
|
4177
4176
|
columns: PlusColumn[];
|
|
4178
4177
|
group: false | PlusFormGroupRow[];
|
|
4179
4178
|
layout: "grid" | "flex";
|
|
4179
|
+
modelValue: FieldValues;
|
|
4180
4180
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
4181
4181
|
labelPosition: "top" | "right" | "left";
|
|
4182
4182
|
labelWidth: string | number;
|
|
@@ -4197,7 +4197,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4197
4197
|
submitText: string;
|
|
4198
4198
|
resetText: string;
|
|
4199
4199
|
submitLoading: boolean;
|
|
4200
|
-
footerAlign: "
|
|
4200
|
+
footerAlign: "right" | "left" | "center";
|
|
4201
4201
|
cardProps: Partial< Mutable<CardProps> & {
|
|
4202
4202
|
style?: CSSProperties | undefined;
|
|
4203
4203
|
class?: any;
|
|
@@ -4205,9 +4205,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4205
4205
|
prevent: boolean;
|
|
4206
4206
|
clearable: boolean;
|
|
4207
4207
|
}> & Omit<{
|
|
4208
|
-
readonly modelValue: FieldValues;
|
|
4209
4208
|
readonly columns: PlusColumn[];
|
|
4210
4209
|
readonly group: false | PlusFormGroupRow[];
|
|
4210
|
+
readonly modelValue: FieldValues;
|
|
4211
4211
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
4212
4212
|
readonly labelPosition: "top" | "right" | "left";
|
|
4213
4213
|
readonly labelWidth: string | number;
|
|
@@ -4228,7 +4228,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4228
4228
|
readonly submitText: string;
|
|
4229
4229
|
readonly resetText: string;
|
|
4230
4230
|
readonly submitLoading: boolean;
|
|
4231
|
-
readonly footerAlign: "
|
|
4231
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
4232
4232
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
4233
4233
|
style?: CSSProperties | undefined;
|
|
4234
4234
|
class?: any;
|
|
@@ -4245,10 +4245,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4245
4245
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
4246
4246
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
4247
4247
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
4248
|
-
modelValue: {
|
|
4249
|
-
type: PropType<FieldValues>;
|
|
4250
|
-
default: () => {};
|
|
4251
|
-
};
|
|
4252
4248
|
collapseDuration: {
|
|
4253
4249
|
type: PropType<number>;
|
|
4254
4250
|
default: undefined;
|
|
@@ -4269,6 +4265,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4269
4265
|
type: PropType<"grid" | "flex">;
|
|
4270
4266
|
default: undefined;
|
|
4271
4267
|
};
|
|
4268
|
+
modelValue: {
|
|
4269
|
+
type: PropType<FieldValues>;
|
|
4270
|
+
default: () => {};
|
|
4271
|
+
};
|
|
4272
4272
|
rules: {
|
|
4273
4273
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
4274
4274
|
default: () => {};
|
|
@@ -4332,7 +4332,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4332
4332
|
default: boolean;
|
|
4333
4333
|
};
|
|
4334
4334
|
footerAlign: {
|
|
4335
|
-
type: PropType<"
|
|
4335
|
+
type: PropType<"right" | "left" | "center">;
|
|
4336
4336
|
default: string;
|
|
4337
4337
|
};
|
|
4338
4338
|
cardProps: {
|
|
@@ -4357,7 +4357,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4357
4357
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4358
4358
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
4359
4359
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
4360
|
-
}, "
|
|
4360
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
4361
4361
|
$attrs: {
|
|
4362
4362
|
[x: string]: unknown;
|
|
4363
4363
|
};
|
|
@@ -4372,10 +4372,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4372
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);
|
|
4373
4373
|
$el: any;
|
|
4374
4374
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
4375
|
-
modelValue: {
|
|
4376
|
-
type: PropType<FieldValues>;
|
|
4377
|
-
default: () => {};
|
|
4378
|
-
};
|
|
4379
4375
|
collapseDuration: {
|
|
4380
4376
|
type: PropType<number>;
|
|
4381
4377
|
default: undefined;
|
|
@@ -4396,6 +4392,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4396
4392
|
type: PropType<"grid" | "flex">;
|
|
4397
4393
|
default: undefined;
|
|
4398
4394
|
};
|
|
4395
|
+
modelValue: {
|
|
4396
|
+
type: PropType<FieldValues>;
|
|
4397
|
+
default: () => {};
|
|
4398
|
+
};
|
|
4399
4399
|
rules: {
|
|
4400
4400
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
4401
4401
|
default: () => {};
|
|
@@ -4459,7 +4459,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4459
4459
|
default: boolean;
|
|
4460
4460
|
};
|
|
4461
4461
|
footerAlign: {
|
|
4462
|
-
type: PropType<"
|
|
4462
|
+
type: PropType<"right" | "left" | "center">;
|
|
4463
4463
|
default: string;
|
|
4464
4464
|
};
|
|
4465
4465
|
cardProps: {
|
|
@@ -4496,12 +4496,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4496
4496
|
submitError: (errors: unknown) => void;
|
|
4497
4497
|
validate: (...args: any[]) => void;
|
|
4498
4498
|
}, string, {
|
|
4499
|
-
modelValue: FieldValues;
|
|
4500
4499
|
collapseDuration: number;
|
|
4501
4500
|
collapseTransition: boolean;
|
|
4502
4501
|
columns: PlusColumn[];
|
|
4503
4502
|
group: false | PlusFormGroupRow[];
|
|
4504
4503
|
layout: "grid" | "flex";
|
|
4504
|
+
modelValue: FieldValues;
|
|
4505
4505
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
4506
4506
|
labelPosition: "top" | "right" | "left";
|
|
4507
4507
|
labelWidth: string | number;
|
|
@@ -4522,7 +4522,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4522
4522
|
submitText: string;
|
|
4523
4523
|
resetText: string;
|
|
4524
4524
|
submitLoading: boolean;
|
|
4525
|
-
footerAlign: "
|
|
4525
|
+
footerAlign: "right" | "left" | "center";
|
|
4526
4526
|
cardProps: Partial< Mutable<CardProps> & {
|
|
4527
4527
|
style?: CSSProperties | undefined;
|
|
4528
4528
|
class?: any;
|
|
@@ -4550,10 +4550,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4550
4550
|
$nextTick: typeof nextTick;
|
|
4551
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;
|
|
4552
4552
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
4553
|
-
modelValue: {
|
|
4554
|
-
type: PropType<FieldValues>;
|
|
4555
|
-
default: () => {};
|
|
4556
|
-
};
|
|
4557
4553
|
collapseDuration: {
|
|
4558
4554
|
type: PropType<number>;
|
|
4559
4555
|
default: undefined;
|
|
@@ -4574,6 +4570,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4574
4570
|
type: PropType<"grid" | "flex">;
|
|
4575
4571
|
default: undefined;
|
|
4576
4572
|
};
|
|
4573
|
+
modelValue: {
|
|
4574
|
+
type: PropType<FieldValues>;
|
|
4575
|
+
default: () => {};
|
|
4576
|
+
};
|
|
4577
4577
|
rules: {
|
|
4578
4578
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
4579
4579
|
default: () => {};
|
|
@@ -4637,7 +4637,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4637
4637
|
default: boolean;
|
|
4638
4638
|
};
|
|
4639
4639
|
footerAlign: {
|
|
4640
|
-
type: PropType<"
|
|
4640
|
+
type: PropType<"right" | "left" | "center">;
|
|
4641
4641
|
default: string;
|
|
4642
4642
|
};
|
|
4643
4643
|
cardProps: {
|
|
@@ -4679,10 +4679,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4679
4679
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
4680
4680
|
columns?: PlusColumn[] | undefined;
|
|
4681
4681
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4682
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "
|
|
4682
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4683
4683
|
readonly label: string | ComputedRef<string>;
|
|
4684
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4685
|
-
readonly hasLabel: boolean |
|
|
4684
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4685
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4686
4686
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4687
4687
|
style?: CSSProperties | undefined;
|
|
4688
4688
|
class?: any;
|
|
@@ -4712,7 +4712,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4712
4712
|
};
|
|
4713
4713
|
rows: number;
|
|
4714
4714
|
autocomplete: string;
|
|
4715
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
4715
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
4716
4716
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4717
4717
|
step: string | number;
|
|
4718
4718
|
format: string | ProgressFn | undefined;
|
|
@@ -4757,8 +4757,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4757
4757
|
fieldInstance?: any;
|
|
4758
4758
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4759
4759
|
prop: string;
|
|
4760
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4761
|
-
hasLabel: boolean |
|
|
4760
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4761
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4762
4762
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4763
4763
|
style?: CSSProperties | undefined;
|
|
4764
4764
|
class?: any;
|
|
@@ -4791,10 +4791,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4791
4791
|
clearable: boolean;
|
|
4792
4792
|
index: number;
|
|
4793
4793
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4794
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "
|
|
4794
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4795
4795
|
readonly label: string | ComputedRef<string>;
|
|
4796
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4797
|
-
readonly hasLabel: boolean |
|
|
4796
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4797
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4798
4798
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4799
4799
|
style?: CSSProperties | undefined;
|
|
4800
4800
|
class?: any;
|
|
@@ -4824,7 +4824,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4824
4824
|
};
|
|
4825
4825
|
rows: number;
|
|
4826
4826
|
autocomplete: string;
|
|
4827
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
4827
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
4828
4828
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4829
4829
|
step: string | number;
|
|
4830
4830
|
format: string | ProgressFn | undefined;
|
|
@@ -4869,8 +4869,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4869
4869
|
fieldInstance?: any;
|
|
4870
4870
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4871
4871
|
prop: string;
|
|
4872
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4873
|
-
hasLabel: boolean |
|
|
4872
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4873
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4874
4874
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4875
4875
|
style?: CSSProperties | undefined;
|
|
4876
4876
|
class?: any;
|
|
@@ -4926,9 +4926,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4926
4926
|
reset: (values: FieldValues) => void;
|
|
4927
4927
|
collapse: (isShowUnfold: boolean) => void;
|
|
4928
4928
|
}, string, {
|
|
4929
|
-
modelValue: FieldValues;
|
|
4930
4929
|
columns: PlusColumn[];
|
|
4931
4930
|
layout: "grid" | "flex";
|
|
4931
|
+
modelValue: FieldValues;
|
|
4932
4932
|
labelPosition: "top" | "right" | "left";
|
|
4933
4933
|
inline: boolean;
|
|
4934
4934
|
showNumber: number;
|
|
@@ -4974,10 +4974,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4974
4974
|
$nextTick: typeof nextTick;
|
|
4975
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;
|
|
4976
4976
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
4977
|
-
modelValue: {
|
|
4978
|
-
type: PropType<FieldValues>;
|
|
4979
|
-
default: () => {};
|
|
4980
|
-
};
|
|
4981
4977
|
columns: {
|
|
4982
4978
|
type: PropType<PlusColumn[]>;
|
|
4983
4979
|
default: () => never[];
|
|
@@ -4986,6 +4982,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4986
4982
|
type: PropType<"grid" | "flex">;
|
|
4987
4983
|
default: "grid";
|
|
4988
4984
|
};
|
|
4985
|
+
modelValue: {
|
|
4986
|
+
type: PropType<FieldValues>;
|
|
4987
|
+
default: () => {};
|
|
4988
|
+
};
|
|
4989
4989
|
labelPosition: {
|
|
4990
4990
|
type: PropType<"top" | "right" | "left">;
|
|
4991
4991
|
default: undefined;
|
|
@@ -5083,12 +5083,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5083
5083
|
$: ComponentInternalInstance;
|
|
5084
5084
|
$data: {};
|
|
5085
5085
|
$props: Partial<{
|
|
5086
|
-
modelValue: FieldValues;
|
|
5087
5086
|
collapseDuration: number;
|
|
5088
5087
|
collapseTransition: boolean;
|
|
5089
5088
|
columns: PlusColumn[];
|
|
5090
5089
|
group: false | PlusFormGroupRow[];
|
|
5091
5090
|
layout: "grid" | "flex";
|
|
5091
|
+
modelValue: FieldValues;
|
|
5092
5092
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
5093
5093
|
labelPosition: "top" | "right" | "left";
|
|
5094
5094
|
labelWidth: string | number;
|
|
@@ -5109,7 +5109,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5109
5109
|
submitText: string;
|
|
5110
5110
|
resetText: string;
|
|
5111
5111
|
submitLoading: boolean;
|
|
5112
|
-
footerAlign: "
|
|
5112
|
+
footerAlign: "right" | "left" | "center";
|
|
5113
5113
|
cardProps: Partial< Mutable<CardProps> & {
|
|
5114
5114
|
style?: CSSProperties | undefined;
|
|
5115
5115
|
class?: any;
|
|
@@ -5117,9 +5117,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5117
5117
|
prevent: boolean;
|
|
5118
5118
|
clearable: boolean;
|
|
5119
5119
|
}> & Omit<{
|
|
5120
|
-
readonly modelValue: FieldValues;
|
|
5121
5120
|
readonly columns: PlusColumn[];
|
|
5122
5121
|
readonly group: false | PlusFormGroupRow[];
|
|
5122
|
+
readonly modelValue: FieldValues;
|
|
5123
5123
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
5124
5124
|
readonly labelPosition: "top" | "right" | "left";
|
|
5125
5125
|
readonly labelWidth: string | number;
|
|
@@ -5140,7 +5140,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5140
5140
|
readonly submitText: string;
|
|
5141
5141
|
readonly resetText: string;
|
|
5142
5142
|
readonly submitLoading: boolean;
|
|
5143
|
-
readonly footerAlign: "
|
|
5143
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
5144
5144
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
5145
5145
|
style?: CSSProperties | undefined;
|
|
5146
5146
|
class?: any;
|
|
@@ -5157,10 +5157,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5157
5157
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5158
5158
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5159
5159
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
5160
|
-
modelValue: {
|
|
5161
|
-
type: PropType<FieldValues>;
|
|
5162
|
-
default: () => {};
|
|
5163
|
-
};
|
|
5164
5160
|
collapseDuration: {
|
|
5165
5161
|
type: PropType<number>;
|
|
5166
5162
|
default: undefined;
|
|
@@ -5181,6 +5177,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5181
5177
|
type: PropType<"grid" | "flex">;
|
|
5182
5178
|
default: undefined;
|
|
5183
5179
|
};
|
|
5180
|
+
modelValue: {
|
|
5181
|
+
type: PropType<FieldValues>;
|
|
5182
|
+
default: () => {};
|
|
5183
|
+
};
|
|
5184
5184
|
rules: {
|
|
5185
5185
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5186
5186
|
default: () => {};
|
|
@@ -5244,7 +5244,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5244
5244
|
default: boolean;
|
|
5245
5245
|
};
|
|
5246
5246
|
footerAlign: {
|
|
5247
|
-
type: PropType<"
|
|
5247
|
+
type: PropType<"right" | "left" | "center">;
|
|
5248
5248
|
default: string;
|
|
5249
5249
|
};
|
|
5250
5250
|
cardProps: {
|
|
@@ -5269,7 +5269,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5269
5269
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5270
5270
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5271
5271
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5272
|
-
}, "
|
|
5272
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
5273
5273
|
$attrs: {
|
|
5274
5274
|
[x: string]: unknown;
|
|
5275
5275
|
};
|
|
@@ -5284,10 +5284,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5284
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);
|
|
5285
5285
|
$el: any;
|
|
5286
5286
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
5287
|
-
modelValue: {
|
|
5288
|
-
type: PropType<FieldValues>;
|
|
5289
|
-
default: () => {};
|
|
5290
|
-
};
|
|
5291
5287
|
collapseDuration: {
|
|
5292
5288
|
type: PropType<number>;
|
|
5293
5289
|
default: undefined;
|
|
@@ -5308,6 +5304,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5308
5304
|
type: PropType<"grid" | "flex">;
|
|
5309
5305
|
default: undefined;
|
|
5310
5306
|
};
|
|
5307
|
+
modelValue: {
|
|
5308
|
+
type: PropType<FieldValues>;
|
|
5309
|
+
default: () => {};
|
|
5310
|
+
};
|
|
5311
5311
|
rules: {
|
|
5312
5312
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5313
5313
|
default: () => {};
|
|
@@ -5371,7 +5371,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5371
5371
|
default: boolean;
|
|
5372
5372
|
};
|
|
5373
5373
|
footerAlign: {
|
|
5374
|
-
type: PropType<"
|
|
5374
|
+
type: PropType<"right" | "left" | "center">;
|
|
5375
5375
|
default: string;
|
|
5376
5376
|
};
|
|
5377
5377
|
cardProps: {
|
|
@@ -5408,12 +5408,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5408
5408
|
submitError: (errors: unknown) => void;
|
|
5409
5409
|
validate: (...args: any[]) => void;
|
|
5410
5410
|
}, string, {
|
|
5411
|
-
modelValue: FieldValues;
|
|
5412
5411
|
collapseDuration: number;
|
|
5413
5412
|
collapseTransition: boolean;
|
|
5414
5413
|
columns: PlusColumn[];
|
|
5415
5414
|
group: false | PlusFormGroupRow[];
|
|
5416
5415
|
layout: "grid" | "flex";
|
|
5416
|
+
modelValue: FieldValues;
|
|
5417
5417
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
5418
5418
|
labelPosition: "top" | "right" | "left";
|
|
5419
5419
|
labelWidth: string | number;
|
|
@@ -5434,7 +5434,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5434
5434
|
submitText: string;
|
|
5435
5435
|
resetText: string;
|
|
5436
5436
|
submitLoading: boolean;
|
|
5437
|
-
footerAlign: "
|
|
5437
|
+
footerAlign: "right" | "left" | "center";
|
|
5438
5438
|
cardProps: Partial< Mutable<CardProps> & {
|
|
5439
5439
|
style?: CSSProperties | undefined;
|
|
5440
5440
|
class?: any;
|
|
@@ -5462,10 +5462,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5462
5462
|
$nextTick: typeof nextTick;
|
|
5463
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;
|
|
5464
5464
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
5465
|
-
modelValue: {
|
|
5466
|
-
type: PropType<FieldValues>;
|
|
5467
|
-
default: () => {};
|
|
5468
|
-
};
|
|
5469
5465
|
collapseDuration: {
|
|
5470
5466
|
type: PropType<number>;
|
|
5471
5467
|
default: undefined;
|
|
@@ -5486,6 +5482,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5486
5482
|
type: PropType<"grid" | "flex">;
|
|
5487
5483
|
default: undefined;
|
|
5488
5484
|
};
|
|
5485
|
+
modelValue: {
|
|
5486
|
+
type: PropType<FieldValues>;
|
|
5487
|
+
default: () => {};
|
|
5488
|
+
};
|
|
5489
5489
|
rules: {
|
|
5490
5490
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5491
5491
|
default: () => {};
|
|
@@ -5549,7 +5549,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5549
5549
|
default: boolean;
|
|
5550
5550
|
};
|
|
5551
5551
|
footerAlign: {
|
|
5552
|
-
type: PropType<"
|
|
5552
|
+
type: PropType<"right" | "left" | "center">;
|
|
5553
5553
|
default: string;
|
|
5554
5554
|
};
|
|
5555
5555
|
cardProps: {
|
|
@@ -5591,10 +5591,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5591
5591
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
5592
5592
|
columns?: PlusColumn[] | undefined;
|
|
5593
5593
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
5594
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "
|
|
5594
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5595
5595
|
readonly label: string | ComputedRef<string>;
|
|
5596
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5597
|
-
readonly hasLabel: boolean |
|
|
5596
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5597
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5598
5598
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5599
5599
|
style?: CSSProperties | undefined;
|
|
5600
5600
|
class?: any;
|
|
@@ -5624,7 +5624,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5624
5624
|
};
|
|
5625
5625
|
rows: number;
|
|
5626
5626
|
autocomplete: string;
|
|
5627
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
5627
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
5628
5628
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5629
5629
|
step: string | number;
|
|
5630
5630
|
format: string | ProgressFn | undefined;
|
|
@@ -5669,8 +5669,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5669
5669
|
fieldInstance?: any;
|
|
5670
5670
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5671
5671
|
prop: string;
|
|
5672
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5673
|
-
hasLabel: boolean |
|
|
5672
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5673
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5674
5674
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5675
5675
|
style?: CSSProperties | undefined;
|
|
5676
5676
|
class?: any;
|
|
@@ -5703,10 +5703,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5703
5703
|
clearable: boolean;
|
|
5704
5704
|
index: number;
|
|
5705
5705
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
5706
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "
|
|
5706
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5707
5707
|
readonly label: string | ComputedRef<string>;
|
|
5708
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5709
|
-
readonly hasLabel: boolean |
|
|
5708
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5709
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5710
5710
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5711
5711
|
style?: CSSProperties | undefined;
|
|
5712
5712
|
class?: any;
|
|
@@ -5736,7 +5736,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5736
5736
|
};
|
|
5737
5737
|
rows: number;
|
|
5738
5738
|
autocomplete: string;
|
|
5739
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
5739
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
5740
5740
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5741
5741
|
step: string | number;
|
|
5742
5742
|
format: string | ProgressFn | undefined;
|
|
@@ -5781,8 +5781,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5781
5781
|
fieldInstance?: any;
|
|
5782
5782
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5783
5783
|
prop: string;
|
|
5784
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5785
|
-
hasLabel: boolean |
|
|
5784
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5785
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5786
5786
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5787
5787
|
style?: CSSProperties | undefined;
|
|
5788
5788
|
class?: any;
|
|
@@ -5833,10 +5833,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5833
5833
|
handleUnfold: (e: MouseEvent) => void;
|
|
5834
5834
|
}> & {} & ComponentCustomProperties & {} & {
|
|
5835
5835
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
5836
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "
|
|
5836
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5837
5837
|
readonly label: string | ComputedRef<string>;
|
|
5838
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5839
|
-
readonly hasLabel: boolean |
|
|
5838
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5839
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5840
5840
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5841
5841
|
style?: CSSProperties | undefined;
|
|
5842
5842
|
class?: any;
|
|
@@ -5866,7 +5866,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5866
5866
|
};
|
|
5867
5867
|
rows: number;
|
|
5868
5868
|
autocomplete: string;
|
|
5869
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
5869
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
5870
5870
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5871
5871
|
step: string | number;
|
|
5872
5872
|
format: string | ProgressFn | undefined;
|
|
@@ -5911,8 +5911,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5911
5911
|
fieldInstance?: any;
|
|
5912
5912
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5913
5913
|
prop: string;
|
|
5914
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5915
|
-
hasLabel: boolean |
|
|
5914
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5915
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5916
5916
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5917
5917
|
style?: CSSProperties | undefined;
|
|
5918
5918
|
class?: any;
|
|
@@ -7197,10 +7197,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7197
7197
|
setTableData: (data?: RecordType[] | undefined, _total?: number | undefined) => void;
|
|
7198
7198
|
}> & {} & ComponentCustomProperties & {} & {
|
|
7199
7199
|
$slots: Partial<Record<never, (_: {
|
|
7200
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "
|
|
7200
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
7201
7201
|
readonly label: string | ComputedRef<string>;
|
|
7202
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
7203
|
-
readonly hasLabel: boolean |
|
|
7202
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7203
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7204
7204
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
7205
7205
|
style?: CSSProperties | undefined;
|
|
7206
7206
|
class?: any;
|
|
@@ -7230,7 +7230,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7230
7230
|
};
|
|
7231
7231
|
rows: number;
|
|
7232
7232
|
autocomplete: string;
|
|
7233
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
7233
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
7234
7234
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
7235
7235
|
step: string | number;
|
|
7236
7236
|
format: string | ProgressFn | undefined;
|
|
@@ -7275,8 +7275,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7275
7275
|
fieldInstance?: any;
|
|
7276
7276
|
valueIsReady?: Ref<boolean> | undefined;
|
|
7277
7277
|
prop: string;
|
|
7278
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
7279
|
-
hasLabel: boolean |
|
|
7278
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7279
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7280
7280
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
7281
7281
|
style?: CSSProperties | undefined;
|
|
7282
7282
|
class?: any;
|