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
|
@@ -20,14 +20,6 @@ export declare const PlusDrawerForm: {
|
|
|
20
20
|
type: PropType<boolean>;
|
|
21
21
|
default: boolean;
|
|
22
22
|
};
|
|
23
|
-
confirmText: {
|
|
24
|
-
type: PropType<string>;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
cancelText: {
|
|
28
|
-
type: PropType<string>;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
23
|
modelValue: {
|
|
32
24
|
type: PropType<FieldValues>;
|
|
33
25
|
default: () => {};
|
|
@@ -44,6 +36,14 @@ export declare const PlusDrawerForm: {
|
|
|
44
36
|
type: PropType<boolean>;
|
|
45
37
|
default: boolean;
|
|
46
38
|
};
|
|
39
|
+
cancelText: {
|
|
40
|
+
type: PropType<string>;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
confirmText: {
|
|
44
|
+
type: PropType<string>;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
47
|
drawer: {
|
|
48
48
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
49
49
|
style?: CSSProperties | undefined;
|
|
@@ -54,9 +54,9 @@ export declare const PlusDrawerForm: {
|
|
|
54
54
|
}>> & {
|
|
55
55
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
56
56
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
57
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
58
|
-
onCancel?: (() => any) | undefined;
|
|
59
57
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
58
|
+
onCancel?: (() => any) | undefined;
|
|
59
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
60
60
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
61
61
|
}, {
|
|
62
62
|
drawerInstance: Ref<({
|
|
@@ -93,40 +93,40 @@ export declare const PlusDrawerForm: {
|
|
|
93
93
|
}> & Omit<{
|
|
94
94
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
95
95
|
readonly title: string;
|
|
96
|
-
readonly
|
|
96
|
+
readonly resizable: boolean;
|
|
97
97
|
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>;
|
|
98
|
+
readonly center: boolean;
|
|
99
|
+
readonly modelValue: boolean;
|
|
100
|
+
readonly ariaLevel: string;
|
|
101
|
+
readonly fullscreen: boolean;
|
|
102
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
103
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
104
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
105
|
+
readonly appendToBody: boolean;
|
|
98
106
|
readonly destroyOnClose: boolean;
|
|
99
107
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
100
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
101
108
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
102
109
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
103
110
|
readonly modalPenetrable: boolean;
|
|
104
111
|
readonly openDelay: number;
|
|
105
112
|
readonly closeDelay: number;
|
|
106
|
-
readonly modelValue: boolean;
|
|
107
113
|
readonly trapFocus: boolean;
|
|
108
114
|
readonly headerAriaLevel: string;
|
|
109
|
-
readonly center: boolean;
|
|
110
|
-
readonly fullscreen: boolean;
|
|
111
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
112
|
-
readonly ariaLevel: string;
|
|
113
|
-
readonly resizable: boolean;
|
|
114
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
115
115
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
116
116
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
117
|
+
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
117
118
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
118
|
-
readonly
|
|
119
|
+
readonly zIndex?: number | undefined;
|
|
119
120
|
readonly top?: string | undefined;
|
|
120
|
-
readonly
|
|
121
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
122
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
121
123
|
readonly headerClass?: string | undefined;
|
|
122
124
|
readonly bodyClass?: string | undefined;
|
|
123
125
|
readonly footerClass?: string | undefined;
|
|
124
|
-
readonly
|
|
125
|
-
readonly
|
|
126
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
127
|
+
readonly modalClass?: string | undefined;
|
|
126
128
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
127
129
|
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;
|
|
128
|
-
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
129
|
-
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
130
130
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
131
131
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
132
132
|
onClose?: (() => any) | undefined;
|
|
@@ -210,7 +210,7 @@ export declare const PlusDrawerForm: {
|
|
|
210
210
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
211
211
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
212
212
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
213
|
-
}, "size" | "title" | "
|
|
213
|
+
}, "size" | "title" | "transition" | "resizable" | "appendTo" | "center" | "modelValue" | "draggable" | "ariaLevel" | "fullscreen" | "direction" | "overflow" | "closeOnPressEscape" | "showClose" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
214
214
|
$attrs: {
|
|
215
215
|
[x: string]: unknown;
|
|
216
216
|
};
|
|
@@ -222,7 +222,7 @@ export declare const PlusDrawerForm: {
|
|
|
222
222
|
}>;
|
|
223
223
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
224
224
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
225
|
-
$emit: ((event: "
|
|
225
|
+
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
226
226
|
$el: any;
|
|
227
227
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
228
228
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -473,14 +473,6 @@ export declare const PlusDrawerForm: {
|
|
|
473
473
|
type: PropType<boolean>;
|
|
474
474
|
default: boolean;
|
|
475
475
|
};
|
|
476
|
-
confirmText: {
|
|
477
|
-
type: PropType<string>;
|
|
478
|
-
default: string;
|
|
479
|
-
};
|
|
480
|
-
cancelText: {
|
|
481
|
-
type: PropType<string>;
|
|
482
|
-
default: string;
|
|
483
|
-
};
|
|
484
476
|
modelValue: {
|
|
485
477
|
type: PropType<FieldValues>;
|
|
486
478
|
default: () => {};
|
|
@@ -497,6 +489,14 @@ export declare const PlusDrawerForm: {
|
|
|
497
489
|
type: PropType<boolean>;
|
|
498
490
|
default: boolean;
|
|
499
491
|
};
|
|
492
|
+
cancelText: {
|
|
493
|
+
type: PropType<string>;
|
|
494
|
+
default: string;
|
|
495
|
+
};
|
|
496
|
+
confirmText: {
|
|
497
|
+
type: PropType<string>;
|
|
498
|
+
default: string;
|
|
499
|
+
};
|
|
500
500
|
drawer: {
|
|
501
501
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
502
502
|
style?: CSSProperties | undefined;
|
|
@@ -507,20 +507,20 @@ export declare const PlusDrawerForm: {
|
|
|
507
507
|
}>> & {
|
|
508
508
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
509
509
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
510
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
511
|
-
onCancel?: (() => any) | undefined;
|
|
512
510
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
511
|
+
onCancel?: (() => any) | undefined;
|
|
512
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
513
513
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
514
514
|
}, {
|
|
515
515
|
size: string | number;
|
|
516
516
|
form: PlusFormProps;
|
|
517
517
|
visible: boolean;
|
|
518
|
-
confirmText: string;
|
|
519
|
-
cancelText: string;
|
|
520
518
|
modelValue: FieldValues;
|
|
521
519
|
hasErrorTip: boolean;
|
|
522
520
|
hasFooter: boolean;
|
|
523
521
|
confirmLoading: boolean;
|
|
522
|
+
cancelText: string;
|
|
523
|
+
confirmText: string;
|
|
524
524
|
drawer: Partial< Mutable<DrawerProps> & {
|
|
525
525
|
style?: CSSProperties | undefined;
|
|
526
526
|
class?: any;
|
|
@@ -545,14 +545,6 @@ export declare const PlusDrawerForm: {
|
|
|
545
545
|
type: PropType<boolean>;
|
|
546
546
|
default: boolean;
|
|
547
547
|
};
|
|
548
|
-
confirmText: {
|
|
549
|
-
type: PropType<string>;
|
|
550
|
-
default: string;
|
|
551
|
-
};
|
|
552
|
-
cancelText: {
|
|
553
|
-
type: PropType<string>;
|
|
554
|
-
default: string;
|
|
555
|
-
};
|
|
556
548
|
modelValue: {
|
|
557
549
|
type: PropType<FieldValues>;
|
|
558
550
|
default: () => {};
|
|
@@ -569,6 +561,14 @@ export declare const PlusDrawerForm: {
|
|
|
569
561
|
type: PropType<boolean>;
|
|
570
562
|
default: boolean;
|
|
571
563
|
};
|
|
564
|
+
cancelText: {
|
|
565
|
+
type: PropType<string>;
|
|
566
|
+
default: string;
|
|
567
|
+
};
|
|
568
|
+
confirmText: {
|
|
569
|
+
type: PropType<string>;
|
|
570
|
+
default: string;
|
|
571
|
+
};
|
|
572
572
|
drawer: {
|
|
573
573
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
574
574
|
style?: CSSProperties | undefined;
|
|
@@ -579,9 +579,9 @@ export declare const PlusDrawerForm: {
|
|
|
579
579
|
}>> & {
|
|
580
580
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
581
581
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
582
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
583
|
-
onCancel?: (() => any) | undefined;
|
|
584
582
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
583
|
+
onCancel?: (() => any) | undefined;
|
|
584
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
585
585
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
586
586
|
}, {
|
|
587
587
|
drawerInstance: Ref<({
|
|
@@ -618,40 +618,40 @@ export declare const PlusDrawerForm: {
|
|
|
618
618
|
}> & Omit<{
|
|
619
619
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
620
620
|
readonly title: string;
|
|
621
|
-
readonly
|
|
621
|
+
readonly resizable: boolean;
|
|
622
622
|
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>;
|
|
623
|
+
readonly center: boolean;
|
|
624
|
+
readonly modelValue: boolean;
|
|
625
|
+
readonly ariaLevel: string;
|
|
626
|
+
readonly fullscreen: boolean;
|
|
627
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
628
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
629
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
630
|
+
readonly appendToBody: boolean;
|
|
623
631
|
readonly destroyOnClose: boolean;
|
|
624
632
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
625
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
626
633
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
627
634
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
628
635
|
readonly modalPenetrable: boolean;
|
|
629
636
|
readonly openDelay: number;
|
|
630
637
|
readonly closeDelay: number;
|
|
631
|
-
readonly modelValue: boolean;
|
|
632
638
|
readonly trapFocus: boolean;
|
|
633
639
|
readonly headerAriaLevel: string;
|
|
634
|
-
readonly center: boolean;
|
|
635
|
-
readonly fullscreen: boolean;
|
|
636
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
637
|
-
readonly ariaLevel: string;
|
|
638
|
-
readonly resizable: boolean;
|
|
639
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
640
640
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
641
641
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
642
|
+
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
642
643
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
643
|
-
readonly
|
|
644
|
+
readonly zIndex?: number | undefined;
|
|
644
645
|
readonly top?: string | undefined;
|
|
645
|
-
readonly
|
|
646
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
647
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
646
648
|
readonly headerClass?: string | undefined;
|
|
647
649
|
readonly bodyClass?: string | undefined;
|
|
648
650
|
readonly footerClass?: string | undefined;
|
|
649
|
-
readonly
|
|
650
|
-
readonly
|
|
651
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
652
|
+
readonly modalClass?: string | undefined;
|
|
651
653
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
652
654
|
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;
|
|
653
|
-
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
654
|
-
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
655
655
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
656
656
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
657
657
|
onClose?: (() => any) | undefined;
|
|
@@ -735,7 +735,7 @@ export declare const PlusDrawerForm: {
|
|
|
735
735
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
736
736
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
737
737
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
738
|
-
}, "size" | "title" | "
|
|
738
|
+
}, "size" | "title" | "transition" | "resizable" | "appendTo" | "center" | "modelValue" | "draggable" | "ariaLevel" | "fullscreen" | "direction" | "overflow" | "closeOnPressEscape" | "showClose" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
739
739
|
$attrs: {
|
|
740
740
|
[x: string]: unknown;
|
|
741
741
|
};
|
|
@@ -747,7 +747,7 @@ export declare const PlusDrawerForm: {
|
|
|
747
747
|
}>;
|
|
748
748
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
749
749
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
750
|
-
$emit: ((event: "
|
|
750
|
+
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
751
751
|
$el: any;
|
|
752
752
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
753
753
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -982,12 +982,12 @@ export declare const PlusDrawerForm: {
|
|
|
982
982
|
size: string | number;
|
|
983
983
|
form: PlusFormProps;
|
|
984
984
|
visible: boolean;
|
|
985
|
-
confirmText: string;
|
|
986
|
-
cancelText: string;
|
|
987
985
|
modelValue: FieldValues;
|
|
988
986
|
hasErrorTip: boolean;
|
|
989
987
|
hasFooter: boolean;
|
|
990
988
|
confirmLoading: boolean;
|
|
989
|
+
cancelText: string;
|
|
990
|
+
confirmText: string;
|
|
991
991
|
drawer: Partial< Mutable<DrawerProps> & {
|
|
992
992
|
style?: CSSProperties | undefined;
|
|
993
993
|
class?: any;
|
|
@@ -1009,14 +1009,6 @@ export declare const PlusDrawerForm: {
|
|
|
1009
1009
|
type: PropType<boolean>;
|
|
1010
1010
|
default: boolean;
|
|
1011
1011
|
};
|
|
1012
|
-
confirmText: {
|
|
1013
|
-
type: PropType<string>;
|
|
1014
|
-
default: string;
|
|
1015
|
-
};
|
|
1016
|
-
cancelText: {
|
|
1017
|
-
type: PropType<string>;
|
|
1018
|
-
default: string;
|
|
1019
|
-
};
|
|
1020
1012
|
modelValue: {
|
|
1021
1013
|
type: PropType<FieldValues>;
|
|
1022
1014
|
default: () => {};
|
|
@@ -1033,6 +1025,14 @@ export declare const PlusDrawerForm: {
|
|
|
1033
1025
|
type: PropType<boolean>;
|
|
1034
1026
|
default: boolean;
|
|
1035
1027
|
};
|
|
1028
|
+
cancelText: {
|
|
1029
|
+
type: PropType<string>;
|
|
1030
|
+
default: string;
|
|
1031
|
+
};
|
|
1032
|
+
confirmText: {
|
|
1033
|
+
type: PropType<string>;
|
|
1034
|
+
default: string;
|
|
1035
|
+
};
|
|
1036
1036
|
drawer: {
|
|
1037
1037
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
1038
1038
|
style?: CSSProperties | undefined;
|
|
@@ -1043,9 +1043,9 @@ export declare const PlusDrawerForm: {
|
|
|
1043
1043
|
}>> & {
|
|
1044
1044
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1045
1045
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1046
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1047
|
-
onCancel?: (() => any) | undefined;
|
|
1048
1046
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1047
|
+
onCancel?: (() => any) | undefined;
|
|
1048
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1049
1049
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1050
1050
|
}, {
|
|
1051
1051
|
drawerInstance: Ref<({
|
|
@@ -1082,40 +1082,40 @@ export declare const PlusDrawerForm: {
|
|
|
1082
1082
|
}> & Omit<{
|
|
1083
1083
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
1084
1084
|
readonly title: string;
|
|
1085
|
-
readonly
|
|
1085
|
+
readonly resizable: boolean;
|
|
1086
1086
|
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>;
|
|
1087
|
+
readonly center: boolean;
|
|
1088
|
+
readonly modelValue: boolean;
|
|
1089
|
+
readonly ariaLevel: string;
|
|
1090
|
+
readonly fullscreen: boolean;
|
|
1091
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
1092
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1093
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1094
|
+
readonly appendToBody: boolean;
|
|
1087
1095
|
readonly destroyOnClose: boolean;
|
|
1088
1096
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1089
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1090
1097
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1091
1098
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1092
1099
|
readonly modalPenetrable: boolean;
|
|
1093
1100
|
readonly openDelay: number;
|
|
1094
1101
|
readonly closeDelay: number;
|
|
1095
|
-
readonly modelValue: boolean;
|
|
1096
1102
|
readonly trapFocus: boolean;
|
|
1097
1103
|
readonly headerAriaLevel: string;
|
|
1098
|
-
readonly center: boolean;
|
|
1099
|
-
readonly fullscreen: boolean;
|
|
1100
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1101
|
-
readonly ariaLevel: string;
|
|
1102
|
-
readonly resizable: boolean;
|
|
1103
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
1104
1104
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1105
1105
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1106
|
+
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
1106
1107
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
1107
|
-
readonly
|
|
1108
|
+
readonly zIndex?: number | undefined;
|
|
1108
1109
|
readonly top?: string | undefined;
|
|
1109
|
-
readonly
|
|
1110
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1111
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1110
1112
|
readonly headerClass?: string | undefined;
|
|
1111
1113
|
readonly bodyClass?: string | undefined;
|
|
1112
1114
|
readonly footerClass?: string | undefined;
|
|
1113
|
-
readonly
|
|
1114
|
-
readonly
|
|
1115
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
1116
|
+
readonly modalClass?: string | undefined;
|
|
1115
1117
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1116
1118
|
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;
|
|
1117
|
-
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1118
|
-
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1119
1119
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1120
1120
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1121
1121
|
onClose?: (() => any) | undefined;
|
|
@@ -1199,7 +1199,7 @@ export declare const PlusDrawerForm: {
|
|
|
1199
1199
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
1200
1200
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1201
1201
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1202
|
-
}, "size" | "title" | "
|
|
1202
|
+
}, "size" | "title" | "transition" | "resizable" | "appendTo" | "center" | "modelValue" | "draggable" | "ariaLevel" | "fullscreen" | "direction" | "overflow" | "closeOnPressEscape" | "showClose" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
1203
1203
|
$attrs: {
|
|
1204
1204
|
[x: string]: unknown;
|
|
1205
1205
|
};
|
|
@@ -1211,7 +1211,7 @@ export declare const PlusDrawerForm: {
|
|
|
1211
1211
|
}>;
|
|
1212
1212
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1213
1213
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1214
|
-
$emit: ((event: "
|
|
1214
|
+
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
1215
1215
|
$el: any;
|
|
1216
1216
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1217
1217
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -1453,22 +1453,22 @@ export declare const PlusDrawerForm: {
|
|
|
1453
1453
|
size: string | number;
|
|
1454
1454
|
form: PlusFormProps;
|
|
1455
1455
|
visible: boolean;
|
|
1456
|
-
confirmText: string;
|
|
1457
|
-
cancelText: string;
|
|
1458
1456
|
modelValue: FieldValues;
|
|
1459
1457
|
hasErrorTip: boolean;
|
|
1460
1458
|
hasFooter: boolean;
|
|
1461
1459
|
confirmLoading: boolean;
|
|
1460
|
+
cancelText: string;
|
|
1461
|
+
confirmText: string;
|
|
1462
1462
|
drawer: Partial< Mutable<DrawerProps> & {
|
|
1463
1463
|
style?: CSSProperties | undefined;
|
|
1464
1464
|
class?: any;
|
|
1465
1465
|
} & RecordType>;
|
|
1466
1466
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
1467
1467
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
1468
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "
|
|
1468
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1469
1469
|
readonly label: string | ComputedRef<string>;
|
|
1470
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1471
|
-
readonly hasLabel: boolean |
|
|
1470
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1471
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1472
1472
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1473
1473
|
style?: CSSProperties | undefined;
|
|
1474
1474
|
class?: any;
|
|
@@ -1494,7 +1494,7 @@ export declare const PlusDrawerForm: {
|
|
|
1494
1494
|
};
|
|
1495
1495
|
rows: number;
|
|
1496
1496
|
autocomplete: string;
|
|
1497
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1497
|
+
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;
|
|
1498
1498
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1499
1499
|
step: string | number;
|
|
1500
1500
|
format: string | ProgressFn | undefined;
|
|
@@ -1539,8 +1539,8 @@ export declare const PlusDrawerForm: {
|
|
|
1539
1539
|
fieldInstance?: any;
|
|
1540
1540
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1541
1541
|
prop: string;
|
|
1542
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1543
|
-
hasLabel: boolean |
|
|
1542
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1543
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1544
1544
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1545
1545
|
style?: CSSProperties | undefined;
|
|
1546
1546
|
class?: any;
|
|
@@ -78,40 +78,40 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
78
78
|
}> & Omit<{
|
|
79
79
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
80
80
|
readonly title: string;
|
|
81
|
-
readonly
|
|
81
|
+
readonly resizable: boolean;
|
|
82
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>;
|
|
83
|
+
readonly center: boolean;
|
|
84
|
+
readonly modelValue: boolean;
|
|
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
|
+
readonly appendToBody: boolean;
|
|
83
91
|
readonly destroyOnClose: boolean;
|
|
84
92
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
85
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
86
93
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
87
94
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
88
95
|
readonly modalPenetrable: boolean;
|
|
89
96
|
readonly openDelay: number;
|
|
90
97
|
readonly closeDelay: number;
|
|
91
|
-
readonly modelValue: boolean;
|
|
92
98
|
readonly trapFocus: boolean;
|
|
93
99
|
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 transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
102
103
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
103
|
-
readonly
|
|
104
|
+
readonly zIndex?: number | undefined;
|
|
104
105
|
readonly top?: string | undefined;
|
|
105
|
-
readonly
|
|
106
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
107
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
106
108
|
readonly headerClass?: string | undefined;
|
|
107
109
|
readonly bodyClass?: string | undefined;
|
|
108
110
|
readonly footerClass?: string | undefined;
|
|
109
|
-
readonly
|
|
110
|
-
readonly
|
|
111
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
112
|
+
readonly modalClass?: string | undefined;
|
|
111
113
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
112
114
|
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" | "title" | "
|
|
198
|
+
}, "size" | "title" | "transition" | "resizable" | "appendTo" | "center" | "modelValue" | "draggable" | "ariaLevel" | "fullscreen" | "direction" | "overflow" | "closeOnPressEscape" | "showClose" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "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: "
|
|
210
|
+
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => 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>;
|
|
@@ -462,29 +462,29 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
462
462
|
}>>> & {
|
|
463
463
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
464
464
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
465
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
466
|
-
onCancel?: (() => any) | undefined;
|
|
467
465
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
466
|
+
onCancel?: (() => any) | undefined;
|
|
467
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
468
468
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
469
469
|
}, {
|
|
470
470
|
size: string | number;
|
|
471
471
|
form: PlusFormProps;
|
|
472
472
|
visible: boolean;
|
|
473
|
-
confirmText: string;
|
|
474
|
-
cancelText: string;
|
|
475
473
|
modelValue: FieldValues;
|
|
476
474
|
hasErrorTip: boolean;
|
|
477
475
|
hasFooter: boolean;
|
|
478
476
|
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" | "label" | "
|
|
484
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "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] |
|
|
487
|
-
readonly hasLabel: boolean |
|
|
486
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
487
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<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" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
513
|
+
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;
|
|
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] |
|
|
559
|
-
hasLabel: boolean |
|
|
558
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
559
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
560
560
|
tooltip: string | ComputedRef<string> | Partial<Mutable< ElTooltipProps> & {
|
|
561
561
|
style?: CSSProperties | undefined;
|
|
562
562
|
class?: any;
|