yc-pro-components 0.0.80 → 0.0.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/check-card/index.d.ts +38 -38
- package/es/components/check-card/src/index.vue.d.ts +3 -3
- package/es/components/check-card-group/index.d.ts +4 -4
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +11 -11
- package/es/components/date-picker/src/index.vue.d.ts +11 -11
- package/es/components/dialog/index.d.ts +83 -83
- package/es/components/dialog/src/index.vue.d.ts +7 -7
- package/es/components/dialog-form/index.d.ts +38 -38
- package/es/components/dialog-form/src/index.vue.d.ts +10 -10
- package/es/components/display-item/index.d.ts +18 -18
- package/es/components/display-item/src/index.vue.d.ts +18 -18
- package/es/components/drawer-form/index.d.ts +126 -126
- package/es/components/drawer-form/src/index.vue.d.ts +29 -29
- package/es/components/form/index.d.ts +49 -49
- package/es/components/form/src/form-content.vue.d.ts +28 -28
- package/es/components/form/src/index.vue.d.ts +16 -16
- package/es/components/form-item/index.d.ts +66 -66
- package/es/components/form-item/src/index.vue.d.ts +19 -19
- package/es/components/input-tag/index.d.ts +1 -1
- package/es/components/input-tag/src/index.vue.d.ts +1 -1
- package/es/components/page/index.d.ts +390 -378
- package/es/components/page/src/index.vue.d.ts +134 -130
- package/es/components/pagination/index.d.ts +11 -11
- package/es/components/pagination/src/index.vue.d.ts +2 -2
- package/es/components/popover/index.d.ts +42 -42
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +22 -22
- package/es/components/radio/src/index.vue.d.ts +22 -22
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +171 -171
- package/es/components/search/src/index.vue.d.ts +54 -54
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +6 -0
- package/es/components/table/src/index.vue.d.ts +2 -0
- package/es/components/table/src/index.vue2.mjs +30 -1
- package/es/components/table/src/table-action-bar.vue.d.ts +1 -1
- package/es/components/table/src/table-column.vue.d.ts +18 -18
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-card/index.d.ts +19 -19
- package/es/components/yc-card/src/index.vue.d.ts +1 -1
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/store.d.ts +5 -5
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +16 -16
- package/es/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/es/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/header-filter-cell.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue2.mjs +17 -0
- package/es/components/yc-plus-page/src/index.vue.d.ts +269 -257
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-segmented/index.d.ts +1 -1
- package/es/components/yc-segmented/src/index.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +402 -402
- package/es/index.css +11 -11
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.js +50 -4
- package/index.min.css +1 -1
- package/index.min.js +12 -12
- package/index.min.mjs +12 -12
- package/index.mjs +50 -4
- package/lib/components/check-card/index.d.ts +38 -38
- package/lib/components/check-card/src/index.vue.d.ts +3 -3
- package/lib/components/check-card-group/index.d.ts +4 -4
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +11 -11
- package/lib/components/date-picker/src/index.vue.d.ts +11 -11
- package/lib/components/dialog/index.d.ts +83 -83
- package/lib/components/dialog/src/index.vue.d.ts +7 -7
- package/lib/components/dialog-form/index.d.ts +38 -38
- package/lib/components/dialog-form/src/index.vue.d.ts +10 -10
- package/lib/components/display-item/index.d.ts +18 -18
- package/lib/components/display-item/src/index.vue.d.ts +18 -18
- package/lib/components/drawer-form/index.d.ts +126 -126
- package/lib/components/drawer-form/src/index.vue.d.ts +29 -29
- package/lib/components/form/index.d.ts +49 -49
- package/lib/components/form/src/form-content.vue.d.ts +28 -28
- package/lib/components/form/src/index.vue.d.ts +16 -16
- package/lib/components/form-item/index.d.ts +66 -66
- package/lib/components/form-item/src/index.vue.d.ts +19 -19
- package/lib/components/input-tag/index.d.ts +1 -1
- package/lib/components/input-tag/src/index.vue.d.ts +1 -1
- package/lib/components/page/index.d.ts +390 -378
- package/lib/components/page/src/index.vue.d.ts +134 -130
- package/lib/components/pagination/index.d.ts +11 -11
- package/lib/components/pagination/src/index.vue.d.ts +2 -2
- package/lib/components/popover/index.d.ts +42 -42
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +22 -22
- package/lib/components/radio/src/index.vue.d.ts +22 -22
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +171 -171
- package/lib/components/search/src/index.vue.d.ts +54 -54
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +6 -0
- package/lib/components/table/src/index.vue.d.ts +2 -0
- package/lib/components/table/src/index.vue2.js +30 -1
- package/lib/components/table/src/table-action-bar.vue.d.ts +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +18 -18
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-card/index.d.ts +19 -19
- package/lib/components/yc-card/src/index.vue.d.ts +1 -1
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/store.d.ts +5 -5
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +16 -16
- package/lib/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.js +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue2.js +17 -0
- package/lib/components/yc-plus-page/src/index.vue.d.ts +269 -257
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-segmented/index.d.ts +1 -1
- package/lib/components/yc-segmented/src/index.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +402 -402
- package/lib/index.css +10 -10
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/version.d.ts +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
|
@@ -77,41 +77,41 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
77
77
|
readonly resizable: boolean;
|
|
78
78
|
}> & Omit<{
|
|
79
79
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
80
|
-
readonly modelValue: boolean;
|
|
81
80
|
readonly title: string;
|
|
82
|
-
readonly center: boolean;
|
|
83
|
-
readonly resizable: boolean;
|
|
84
|
-
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
85
|
-
readonly ariaLevel: string;
|
|
86
|
-
readonly fullscreen: boolean;
|
|
87
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
88
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
89
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
90
81
|
readonly appendToBody: boolean;
|
|
82
|
+
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
91
83
|
readonly destroyOnClose: boolean;
|
|
92
84
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
85
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
93
86
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
94
87
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
95
88
|
readonly modalPenetrable: boolean;
|
|
96
89
|
readonly openDelay: number;
|
|
97
90
|
readonly closeDelay: number;
|
|
91
|
+
readonly modelValue: boolean;
|
|
98
92
|
readonly trapFocus: boolean;
|
|
99
93
|
readonly headerAriaLevel: string;
|
|
94
|
+
readonly center: boolean;
|
|
95
|
+
readonly fullscreen: boolean;
|
|
96
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
97
|
+
readonly ariaLevel: string;
|
|
98
|
+
readonly resizable: boolean;
|
|
99
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
100
100
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
101
101
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
102
|
-
readonly top?: string | undefined;
|
|
103
|
-
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
104
102
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
105
|
-
readonly
|
|
106
|
-
readonly
|
|
107
|
-
readonly
|
|
103
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
104
|
+
readonly top?: string | undefined;
|
|
105
|
+
readonly modalClass?: string | undefined;
|
|
108
106
|
readonly headerClass?: string | undefined;
|
|
109
107
|
readonly bodyClass?: string | undefined;
|
|
110
108
|
readonly footerClass?: string | undefined;
|
|
111
|
-
readonly
|
|
112
|
-
readonly
|
|
109
|
+
readonly zIndex?: number | undefined;
|
|
110
|
+
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
113
111
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
114
112
|
readonly closeIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown> | undefined;
|
|
113
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
114
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
115
115
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
116
116
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
117
117
|
onClose?: (() => any) | undefined;
|
|
@@ -195,7 +195,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
195
195
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
196
196
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
197
197
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
198
|
-
}, "size" | "
|
|
198
|
+
}, "size" | "title" | "appendToBody" | "appendTo" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "modelValue" | "trapFocus" | "headerAriaLevel" | "transition" | "center" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel" | "resizable" | "direction" | "withHeader" | "modalFade">;
|
|
199
199
|
$attrs: {
|
|
200
200
|
[x: string]: unknown;
|
|
201
201
|
};
|
|
@@ -207,7 +207,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
207
207
|
}>;
|
|
208
208
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
209
209
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
210
|
-
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "
|
|
210
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
211
211
|
$el: any;
|
|
212
212
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
213
213
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -460,31 +460,31 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
460
460
|
drawer: () => {};
|
|
461
461
|
form: () => {};
|
|
462
462
|
}>>> & {
|
|
463
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
464
463
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
465
464
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
466
|
-
onCancel?: (() => any) | undefined;
|
|
467
465
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
466
|
+
onCancel?: (() => any) | undefined;
|
|
467
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
468
468
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
469
469
|
}, {
|
|
470
470
|
size: string | number;
|
|
471
|
-
modelValue: FieldValues;
|
|
472
471
|
form: PlusFormProps;
|
|
473
472
|
visible: boolean;
|
|
473
|
+
confirmText: string;
|
|
474
|
+
cancelText: string;
|
|
475
|
+
modelValue: FieldValues;
|
|
474
476
|
hasErrorTip: boolean;
|
|
475
477
|
hasFooter: boolean;
|
|
476
478
|
confirmLoading: boolean;
|
|
477
|
-
cancelText: string;
|
|
478
|
-
confirmText: string;
|
|
479
479
|
drawer: Partial<Mutable<DrawerProps> & {
|
|
480
480
|
style?: CSSProperties | undefined;
|
|
481
481
|
class?: any;
|
|
482
482
|
} & RecordType>;
|
|
483
483
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
484
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
484
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
485
485
|
readonly label: string | ComputedRef<string>;
|
|
486
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
487
|
-
readonly hasLabel: boolean |
|
|
486
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
487
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
488
488
|
readonly tooltip: string | ComputedRef<string> | Partial<Mutable< ElTooltipProps> & {
|
|
489
489
|
style?: CSSProperties | undefined;
|
|
490
490
|
class?: any;
|
|
@@ -510,7 +510,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
510
510
|
};
|
|
511
511
|
rows: number;
|
|
512
512
|
autocomplete: string;
|
|
513
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
513
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
514
514
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
515
515
|
step: string | number;
|
|
516
516
|
format: string | ProgressFn | undefined;
|
|
@@ -555,8 +555,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
555
555
|
fieldInstance?: any;
|
|
556
556
|
valueIsReady?: Ref<boolean> | undefined;
|
|
557
557
|
prop: string;
|
|
558
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
559
|
-
hasLabel: boolean |
|
|
558
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
559
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
560
560
|
tooltip: string | ComputedRef<string> | Partial<Mutable< ElTooltipProps> & {
|
|
561
561
|
style?: CSSProperties | undefined;
|
|
562
562
|
class?: any;
|
|
@@ -11,10 +11,6 @@ export type PlusFormInstance = InstanceType<typeof Form>;
|
|
|
11
11
|
export * from './src/type';
|
|
12
12
|
export declare const PlusForm: {
|
|
13
13
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
14
|
-
labelPosition: {
|
|
15
|
-
type: PropType<"left" | "right" | "top">;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
14
|
modelValue: {
|
|
19
15
|
type: PropType<FieldValues>;
|
|
20
16
|
default: () => {};
|
|
@@ -36,13 +32,17 @@ export declare const PlusForm: {
|
|
|
36
32
|
default: boolean;
|
|
37
33
|
};
|
|
38
34
|
layout: {
|
|
39
|
-
type: PropType<"
|
|
35
|
+
type: PropType<"grid" | "flex">;
|
|
40
36
|
default: undefined;
|
|
41
37
|
};
|
|
42
38
|
rules: {
|
|
43
39
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
44
40
|
default: () => {};
|
|
45
41
|
};
|
|
42
|
+
labelPosition: {
|
|
43
|
+
type: PropType<"top" | "right" | "left">;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
46
|
labelWidth: {
|
|
47
47
|
type: PropType<string | number>;
|
|
48
48
|
default: string;
|
|
@@ -98,7 +98,7 @@ export declare const PlusForm: {
|
|
|
98
98
|
default: boolean;
|
|
99
99
|
};
|
|
100
100
|
footerAlign: {
|
|
101
|
-
type: PropType<"
|
|
101
|
+
type: PropType<"center" | "right" | "left">;
|
|
102
102
|
default: string;
|
|
103
103
|
};
|
|
104
104
|
cardProps: {
|
|
@@ -117,10 +117,10 @@ export declare const PlusForm: {
|
|
|
117
117
|
default: boolean;
|
|
118
118
|
};
|
|
119
119
|
}>> & {
|
|
120
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
121
120
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
122
121
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
123
122
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
123
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
124
124
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
125
125
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
126
126
|
}, {
|
|
@@ -135,10 +135,6 @@ export declare const PlusForm: {
|
|
|
135
135
|
submitError: (errors: unknown) => void;
|
|
136
136
|
validate: (...args: any[]) => void;
|
|
137
137
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
138
|
-
labelPosition: {
|
|
139
|
-
type: PropType<"left" | "right" | "top">;
|
|
140
|
-
default: string;
|
|
141
|
-
};
|
|
142
138
|
modelValue: {
|
|
143
139
|
type: PropType<FieldValues>;
|
|
144
140
|
default: () => {};
|
|
@@ -160,13 +156,17 @@ export declare const PlusForm: {
|
|
|
160
156
|
default: boolean;
|
|
161
157
|
};
|
|
162
158
|
layout: {
|
|
163
|
-
type: PropType<"
|
|
159
|
+
type: PropType<"grid" | "flex">;
|
|
164
160
|
default: undefined;
|
|
165
161
|
};
|
|
166
162
|
rules: {
|
|
167
163
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
168
164
|
default: () => {};
|
|
169
165
|
};
|
|
166
|
+
labelPosition: {
|
|
167
|
+
type: PropType<"top" | "right" | "left">;
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
170
|
labelWidth: {
|
|
171
171
|
type: PropType<string | number>;
|
|
172
172
|
default: string;
|
|
@@ -222,7 +222,7 @@ export declare const PlusForm: {
|
|
|
222
222
|
default: boolean;
|
|
223
223
|
};
|
|
224
224
|
footerAlign: {
|
|
225
|
-
type: PropType<"
|
|
225
|
+
type: PropType<"center" | "right" | "left">;
|
|
226
226
|
default: string;
|
|
227
227
|
};
|
|
228
228
|
cardProps: {
|
|
@@ -241,21 +241,21 @@ export declare const PlusForm: {
|
|
|
241
241
|
default: boolean;
|
|
242
242
|
};
|
|
243
243
|
}>> & {
|
|
244
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
245
244
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
246
245
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
247
246
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
247
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
248
248
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
249
249
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
250
250
|
}, {
|
|
251
|
-
labelPosition: "left" | "right" | "top";
|
|
252
251
|
modelValue: FieldValues;
|
|
253
252
|
collapseDuration: number;
|
|
254
253
|
collapseTransition: boolean;
|
|
255
254
|
columns: PlusColumn[];
|
|
256
255
|
group: false | PlusFormGroupRow[];
|
|
257
|
-
layout: "
|
|
256
|
+
layout: "grid" | "flex";
|
|
258
257
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
258
|
+
labelPosition: "top" | "right" | "left";
|
|
259
259
|
labelWidth: string | number;
|
|
260
260
|
labelSuffix: string;
|
|
261
261
|
defaultValues: FieldValues;
|
|
@@ -274,7 +274,7 @@ export declare const PlusForm: {
|
|
|
274
274
|
submitText: string;
|
|
275
275
|
resetText: string;
|
|
276
276
|
submitLoading: boolean;
|
|
277
|
-
footerAlign: "
|
|
277
|
+
footerAlign: "center" | "right" | "left";
|
|
278
278
|
cardProps: Partial< Mutable<CardProps> & {
|
|
279
279
|
style?: CSSProperties | undefined;
|
|
280
280
|
class?: any;
|
|
@@ -289,10 +289,6 @@ export declare const PlusForm: {
|
|
|
289
289
|
M: {};
|
|
290
290
|
Defaults: {};
|
|
291
291
|
}, Readonly< ExtractPropTypes<{
|
|
292
|
-
labelPosition: {
|
|
293
|
-
type: PropType<"left" | "right" | "top">;
|
|
294
|
-
default: string;
|
|
295
|
-
};
|
|
296
292
|
modelValue: {
|
|
297
293
|
type: PropType<FieldValues>;
|
|
298
294
|
default: () => {};
|
|
@@ -314,13 +310,17 @@ export declare const PlusForm: {
|
|
|
314
310
|
default: boolean;
|
|
315
311
|
};
|
|
316
312
|
layout: {
|
|
317
|
-
type: PropType<"
|
|
313
|
+
type: PropType<"grid" | "flex">;
|
|
318
314
|
default: undefined;
|
|
319
315
|
};
|
|
320
316
|
rules: {
|
|
321
317
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
322
318
|
default: () => {};
|
|
323
319
|
};
|
|
320
|
+
labelPosition: {
|
|
321
|
+
type: PropType<"top" | "right" | "left">;
|
|
322
|
+
default: string;
|
|
323
|
+
};
|
|
324
324
|
labelWidth: {
|
|
325
325
|
type: PropType<string | number>;
|
|
326
326
|
default: string;
|
|
@@ -376,7 +376,7 @@ export declare const PlusForm: {
|
|
|
376
376
|
default: boolean;
|
|
377
377
|
};
|
|
378
378
|
footerAlign: {
|
|
379
|
-
type: PropType<"
|
|
379
|
+
type: PropType<"center" | "right" | "left">;
|
|
380
380
|
default: string;
|
|
381
381
|
};
|
|
382
382
|
cardProps: {
|
|
@@ -395,10 +395,10 @@ export declare const PlusForm: {
|
|
|
395
395
|
default: boolean;
|
|
396
396
|
};
|
|
397
397
|
}>> & {
|
|
398
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
399
398
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
400
399
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
401
400
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
401
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
402
402
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
403
403
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
404
404
|
}, {
|
|
@@ -406,14 +406,14 @@ export declare const PlusForm: {
|
|
|
406
406
|
handleSubmit: () => void;
|
|
407
407
|
handleReset: () => void;
|
|
408
408
|
}, {}, {}, {}, {
|
|
409
|
-
labelPosition: "left" | "right" | "top";
|
|
410
409
|
modelValue: FieldValues;
|
|
411
410
|
collapseDuration: number;
|
|
412
411
|
collapseTransition: boolean;
|
|
413
412
|
columns: PlusColumn[];
|
|
414
413
|
group: false | PlusFormGroupRow[];
|
|
415
|
-
layout: "
|
|
414
|
+
layout: "grid" | "flex";
|
|
416
415
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
416
|
+
labelPosition: "top" | "right" | "left";
|
|
417
417
|
labelWidth: string | number;
|
|
418
418
|
labelSuffix: string;
|
|
419
419
|
defaultValues: FieldValues;
|
|
@@ -432,7 +432,7 @@ export declare const PlusForm: {
|
|
|
432
432
|
submitText: string;
|
|
433
433
|
resetText: string;
|
|
434
434
|
submitLoading: boolean;
|
|
435
|
-
footerAlign: "
|
|
435
|
+
footerAlign: "center" | "right" | "left";
|
|
436
436
|
cardProps: Partial< Mutable<CardProps> & {
|
|
437
437
|
style?: CSSProperties | undefined;
|
|
438
438
|
class?: any;
|
|
@@ -444,10 +444,6 @@ export declare const PlusForm: {
|
|
|
444
444
|
__isTeleport?: undefined;
|
|
445
445
|
__isSuspense?: undefined;
|
|
446
446
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
447
|
-
labelPosition: {
|
|
448
|
-
type: PropType<"left" | "right" | "top">;
|
|
449
|
-
default: string;
|
|
450
|
-
};
|
|
451
447
|
modelValue: {
|
|
452
448
|
type: PropType<FieldValues>;
|
|
453
449
|
default: () => {};
|
|
@@ -469,13 +465,17 @@ export declare const PlusForm: {
|
|
|
469
465
|
default: boolean;
|
|
470
466
|
};
|
|
471
467
|
layout: {
|
|
472
|
-
type: PropType<"
|
|
468
|
+
type: PropType<"grid" | "flex">;
|
|
473
469
|
default: undefined;
|
|
474
470
|
};
|
|
475
471
|
rules: {
|
|
476
472
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
477
473
|
default: () => {};
|
|
478
474
|
};
|
|
475
|
+
labelPosition: {
|
|
476
|
+
type: PropType<"top" | "right" | "left">;
|
|
477
|
+
default: string;
|
|
478
|
+
};
|
|
479
479
|
labelWidth: {
|
|
480
480
|
type: PropType<string | number>;
|
|
481
481
|
default: string;
|
|
@@ -531,7 +531,7 @@ export declare const PlusForm: {
|
|
|
531
531
|
default: boolean;
|
|
532
532
|
};
|
|
533
533
|
footerAlign: {
|
|
534
|
-
type: PropType<"
|
|
534
|
+
type: PropType<"center" | "right" | "left">;
|
|
535
535
|
default: string;
|
|
536
536
|
};
|
|
537
537
|
cardProps: {
|
|
@@ -550,10 +550,10 @@ export declare const PlusForm: {
|
|
|
550
550
|
default: boolean;
|
|
551
551
|
};
|
|
552
552
|
}>> & {
|
|
553
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
554
553
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
555
554
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
556
555
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
556
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
557
557
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
558
558
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
559
559
|
}, {
|
|
@@ -568,14 +568,14 @@ export declare const PlusForm: {
|
|
|
568
568
|
submitError: (errors: unknown) => void;
|
|
569
569
|
validate: (...args: any[]) => void;
|
|
570
570
|
}, string, {
|
|
571
|
-
labelPosition: "left" | "right" | "top";
|
|
572
571
|
modelValue: FieldValues;
|
|
573
572
|
collapseDuration: number;
|
|
574
573
|
collapseTransition: boolean;
|
|
575
574
|
columns: PlusColumn[];
|
|
576
575
|
group: false | PlusFormGroupRow[];
|
|
577
|
-
layout: "
|
|
576
|
+
layout: "grid" | "flex";
|
|
578
577
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
578
|
+
labelPosition: "top" | "right" | "left";
|
|
579
579
|
labelWidth: string | number;
|
|
580
580
|
labelSuffix: string;
|
|
581
581
|
defaultValues: FieldValues;
|
|
@@ -594,7 +594,7 @@ export declare const PlusForm: {
|
|
|
594
594
|
submitText: string;
|
|
595
595
|
resetText: string;
|
|
596
596
|
submitLoading: boolean;
|
|
597
|
-
footerAlign: "
|
|
597
|
+
footerAlign: "center" | "right" | "left";
|
|
598
598
|
cardProps: Partial< Mutable<CardProps> & {
|
|
599
599
|
style?: CSSProperties | undefined;
|
|
600
600
|
class?: any;
|
|
@@ -614,10 +614,10 @@ export declare const PlusForm: {
|
|
|
614
614
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
615
615
|
columns?: PlusColumn[] | undefined;
|
|
616
616
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
617
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
617
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
618
618
|
readonly label: string | ComputedRef<string>;
|
|
619
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
620
|
-
readonly hasLabel: boolean |
|
|
619
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
620
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
621
621
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
622
622
|
style?: CSSProperties | undefined;
|
|
623
623
|
class?: any;
|
|
@@ -643,7 +643,7 @@ export declare const PlusForm: {
|
|
|
643
643
|
};
|
|
644
644
|
rows: number;
|
|
645
645
|
autocomplete: string;
|
|
646
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
646
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
647
647
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
648
648
|
step: string | number;
|
|
649
649
|
format: string | ProgressFn | undefined;
|
|
@@ -688,8 +688,8 @@ export declare const PlusForm: {
|
|
|
688
688
|
fieldInstance?: any;
|
|
689
689
|
valueIsReady?: Ref<boolean> | undefined;
|
|
690
690
|
prop: string;
|
|
691
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
692
|
-
hasLabel: boolean |
|
|
691
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
692
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
693
693
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
694
694
|
style?: CSSProperties | undefined;
|
|
695
695
|
class?: any;
|
|
@@ -722,10 +722,10 @@ export declare const PlusForm: {
|
|
|
722
722
|
clearable: boolean;
|
|
723
723
|
index: number;
|
|
724
724
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
725
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
725
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
726
726
|
readonly label: string | ComputedRef<string>;
|
|
727
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
728
|
-
readonly hasLabel: boolean |
|
|
727
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
728
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
729
729
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
730
730
|
style?: CSSProperties | undefined;
|
|
731
731
|
class?: any;
|
|
@@ -751,7 +751,7 @@ export declare const PlusForm: {
|
|
|
751
751
|
};
|
|
752
752
|
rows: number;
|
|
753
753
|
autocomplete: string;
|
|
754
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
754
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
755
755
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
756
756
|
step: string | number;
|
|
757
757
|
format: string | ProgressFn | undefined;
|
|
@@ -796,8 +796,8 @@ export declare const PlusForm: {
|
|
|
796
796
|
fieldInstance?: any;
|
|
797
797
|
valueIsReady?: Ref<boolean> | undefined;
|
|
798
798
|
prop: string;
|
|
799
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
800
|
-
hasLabel: boolean |
|
|
799
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
800
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
801
801
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
802
802
|
style?: CSSProperties | undefined;
|
|
803
803
|
class?: any;
|