@dazhicheng/ui 1.6.24 → 1.6.25
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/dist/components/tt-api-component/index.d.ts +24 -35
- package/dist/components/tt-area/TtArea.d.ts +3 -0
- package/dist/components/tt-area/index.d.ts +1 -1
- package/dist/components/tt-button/components/AddButton.d.ts +3 -0
- package/dist/components/tt-button/index.d.ts +260 -589
- package/dist/components/tt-checkbox/index.d.ts +26 -35
- package/dist/components/tt-drawer/index.d.ts +306 -299
- package/dist/components/tt-drawer/src/{RenderDrawer.vue.d.ts → RenderDrawer.d.ts} +149 -146
- package/dist/components/tt-drawer/src/components/{DrawerFooter.vue.d.ts → DrawerFooter.d.ts} +18 -16
- package/dist/components/tt-drawer/src/components/{DrawerHeader.vue.d.ts → DrawerHeader.d.ts} +4 -3
- package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +2 -2
- package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +2 -2
- package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +4 -2
- package/dist/components/tt-empty/index.d.ts +10 -8
- package/dist/components/tt-form/src/components/{ExpandableArrow.vue.d.ts → ExpandableArrow.d.ts} +5 -4
- package/dist/components/tt-form/src/components/{FormActions.vue.d.ts → FormActions.d.ts} +6 -5
- package/dist/components/tt-form/src/components/{FormElInput.vue.d.ts → FormElInput.d.ts} +105 -101
- package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
- package/dist/components/tt-form/src/form/{FormControl.vue.d.ts → FormControl.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormDescription.vue.d.ts → FormDescription.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormItem.vue.d.ts → FormItem.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormLabel.vue.d.ts → FormLabel.d.ts} +2 -1
- package/dist/components/tt-form/src/form/FormMessage.d.ts +3 -0
- package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +9 -0
- package/dist/components/tt-form/src/form/{FormWarnMessage.vue.d.ts → FormWarnMessage.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{RenderContent.vue.d.ts → RenderContent.d.ts} +4 -4
- package/dist/components/tt-form/src/form/index.d.ts +8 -8
- package/dist/components/tt-form/src/form/useFormField.d.ts +6 -5
- package/dist/components/tt-form/src/form-render/{FormField.vue.d.ts → FormField.d.ts} +2 -1
- package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
- package/dist/components/tt-form/src/form-render/{FormLabel.vue.d.ts → FormLabel.d.ts} +3 -2
- package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +14 -11
- package/dist/components/tt-form/src/form-render/context.d.ts +5 -4
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +7 -6
- package/dist/components/tt-form/src/form-render/expandable.d.ts +4 -3
- package/dist/components/tt-form/src/form-render/{form.vue.d.ts → form.d.ts} +9 -8
- package/dist/components/tt-form/src/form-render/index.d.ts +3 -3
- package/dist/components/tt-form/src/formApi.d.ts +3 -3
- package/dist/components/tt-form/src/group-form/{GroupForm.vue.d.ts → GroupForm.d.ts} +7 -5
- package/dist/components/tt-form/src/group-form/{GroupSection.vue.d.ts → GroupSection.d.ts} +7 -5
- package/dist/components/tt-form/src/group-form/{LazyFormField.vue.d.ts → LazyFormField.d.ts} +5 -3
- package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +7 -5
- package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +3 -2
- package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +2 -2
- package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +2 -2
- package/dist/components/tt-form/src/index.d.ts +217 -0
- package/dist/components/tt-form/src/useForm.d.ts +2 -1
- package/dist/components/tt-form/src/useFormContext.d.ts +2 -1
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +61 -337
- package/dist/components/tt-icon/components/AddIcon.d.ts +8 -0
- package/dist/components/tt-icon/components/SubIcon.d.ts +8 -0
- package/dist/components/tt-icon/index.d.ts +24 -115
- package/dist/components/tt-image/index.d.ts +45 -41
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +30 -26
- package/dist/components/tt-image/tt-image.d.ts +36 -34
- package/dist/components/tt-loading/index.d.ts +5 -2
- package/dist/components/tt-loading/src/loading.d.ts +13 -0
- package/dist/components/tt-log/index.d.ts +7 -6
- package/dist/components/tt-modal/index.d.ts +371 -364
- package/dist/components/tt-modal/src/{RenderModal.vue.d.ts → RenderModal.d.ts} +118 -115
- package/dist/components/tt-modal/src/components/{ModalFooter.vue.d.ts → ModalFooter.d.ts} +26 -23
- package/dist/components/tt-modal/src/components/{ModalHeader.vue.d.ts → ModalHeader.d.ts} +4 -3
- package/dist/components/tt-modal/src/components/{ModalWrapper.vue.d.ts → ModalWrapper.d.ts} +27 -24
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +32 -29
- package/dist/components/tt-modal/src/typing.d.ts +2 -2
- package/dist/components/tt-modal/src/utils/modal-api.d.ts +2 -1
- package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +3 -2
- package/dist/components/tt-modal-form/index.d.ts +46 -2
- package/dist/components/tt-modal-form/useModalForm.d.ts +4 -3
- package/dist/components/tt-nav-anchor/index.d.ts +15 -12
- package/dist/components/tt-nav-anchor/src/{TtNavAnchor.vue.d.ts → TtNavAnchor.d.ts} +4 -4
- package/dist/components/tt-panel-select/index.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/{PanelLeft.vue.d.ts → PanelLeft.d.ts} +4 -3
- package/dist/components/tt-panel-select/src/components/{PanelMiddle.vue.d.ts → PanelMiddle.d.ts} +83 -80
- package/dist/components/tt-panel-select/src/components/{PanelRight.vue.d.ts → PanelRight.d.ts} +34 -32
- package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +7 -6
- package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
- package/dist/components/tt-panel-select/src/{index.vue.d.ts → index.d.ts} +84 -80
- package/dist/components/tt-radio-group/index.d.ts +31 -50
- package/dist/components/tt-select/index.d.ts +1 -1
- package/dist/components/tt-select/src/{Select.vue.d.ts → Select.d.ts} +146 -141
- package/dist/components/tt-select/src/components/{SelectTable.vue.d.ts → SelectTable.d.ts} +40 -36
- package/dist/components/tt-select/src/components/{Table.vue.d.ts → Table.d.ts} +41 -38
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/usePagination.d.ts +4 -3
- package/dist/components/tt-select/src/hooks/useSelect.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
- package/dist/components/tt-table/index.d.ts +287 -279
- package/dist/components/tt-table/src/{Table.vue.d.ts → Table.d.ts} +209 -204
- package/dist/components/tt-table/src/{TableForm.vue.d.ts → TableForm.d.ts} +83 -80
- package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableAction.vue.d.ts → TableAction.d.ts} +4 -4
- package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableColumnModal.vue.d.ts → TableColumnModal.d.ts} +5 -4
- package/dist/components/tt-table/src/components/{TableToolbarTools.vue.d.ts → TableToolbarTools.d.ts} +7 -6
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +45 -44
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +33 -33
- package/dist/components/tt-table/src/hooks/useQuery.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +112 -110
- package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
- package/dist/components/tt-table/src/props.d.ts +19 -17
- package/dist/components/tt-table/src/utils/table-api.d.ts +4 -4
- package/dist/components/tt-table/src/utils/table-form-api.d.ts +2 -1
- package/dist/components/tt-text/index.d.ts +34 -59
- package/dist/components/tt-upload/index.d.ts +317 -311
- package/dist/components/tt-upload/src/TtUpload.d.ts +519 -0
- package/dist/components/tt-upload/src/typing.d.ts +49 -47
- package/dist/hooks/useLoading.d.ts +2 -2
- package/dist/hooks/useScreenshotOss.d.ts +2 -2
- package/dist/index.d.ts +2 -1
- package/package.json +2 -2
- package/dist/components/tt-api-component/index.vue.d.ts +0 -34
- package/dist/components/tt-area/TtArea.vue.d.ts +0 -2
- package/dist/components/tt-button/components/AddButton.vue.d.ts +0 -2
- package/dist/components/tt-button/index.vue.d.ts +0 -466
- package/dist/components/tt-checkbox/index.vue.d.ts +0 -28
- package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +0 -2
- package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +0 -8
- package/dist/components/tt-form/src/index.vue.d.ts +0 -216
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +0 -298
- package/dist/components/tt-icon/components/AddIcon.vue.d.ts +0 -7
- package/dist/components/tt-icon/components/SubIcon.vue.d.ts +0 -7
- package/dist/components/tt-icon/index.vue.d.ts +0 -32
- package/dist/components/tt-loading/src/loading.vue.d.ts +0 -12
- package/dist/components/tt-log/index.vue.d.ts +0 -5
- package/dist/components/tt-modal-form/index.vue.d.ts +0 -45
- package/dist/components/tt-radio-group/index.vue.d.ts +0 -33
- package/dist/components/tt-text/index.vue.d.ts +0 -50
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +0 -517
|
@@ -1,26 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { SFCWithInstall } from '../../../../utils/src';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, TransitionProps, Component, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, PublicProps } from 'vue';
|
|
3
|
+
import { TtDrawerExtendedDrawerApi, DrawerInstance } from '.';
|
|
4
|
+
import { ButtonProps, DialogBeforeCloseFn, DialogTransition, DrawerProps } from 'element-plus';
|
|
5
|
+
import { EpPropFinalized, EpPropMergeType, IconPropType } from 'element-plus/es/utils/index.mjs';
|
|
6
|
+
import { OnCleanup } from '@vue/reactivity';
|
|
7
|
+
import { Recordable } from '../types';
|
|
8
|
+
export declare const RenderDrawer: SFCWithInstall<{
|
|
9
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
3
10
|
drawerApi: {
|
|
4
|
-
type:
|
|
11
|
+
type: PropType<TtDrawerExtendedDrawerApi>;
|
|
5
12
|
default: undefined;
|
|
6
13
|
};
|
|
7
14
|
confirmLoading: any;
|
|
8
15
|
showCancelBtn: any;
|
|
9
16
|
cancelButtonProps: {
|
|
10
|
-
type:
|
|
11
|
-
default: Partial<
|
|
17
|
+
type: PropType<Partial< ButtonProps>>;
|
|
18
|
+
default: Partial< ButtonProps>;
|
|
12
19
|
};
|
|
13
20
|
cancelText: any;
|
|
14
21
|
showOkBtn: any;
|
|
15
22
|
okButtonProps: {
|
|
16
|
-
type:
|
|
17
|
-
default: Partial<
|
|
23
|
+
type: PropType<Partial< ButtonProps>>;
|
|
24
|
+
default: Partial< ButtonProps>;
|
|
18
25
|
};
|
|
19
26
|
okText: any;
|
|
20
27
|
okType: any;
|
|
21
28
|
showFooter: any;
|
|
22
29
|
footerHeight: {
|
|
23
|
-
type:
|
|
30
|
+
type: PropType<string | number>;
|
|
24
31
|
default: number;
|
|
25
32
|
};
|
|
26
33
|
height: any;
|
|
@@ -36,7 +43,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
36
43
|
type: BooleanConstructor;
|
|
37
44
|
};
|
|
38
45
|
closeFunc: {
|
|
39
|
-
type:
|
|
46
|
+
type: PropType<() => Promise<boolean>>;
|
|
40
47
|
};
|
|
41
48
|
showConfirm: any;
|
|
42
49
|
confirmContent: any;
|
|
@@ -44,27 +51,27 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
44
51
|
type: BooleanConstructor;
|
|
45
52
|
default: () => boolean | undefined;
|
|
46
53
|
};
|
|
47
|
-
direction:
|
|
54
|
+
direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
48
55
|
resizable: BooleanConstructor;
|
|
49
|
-
withHeader:
|
|
50
|
-
modalFade:
|
|
51
|
-
headerAriaLevel:
|
|
56
|
+
withHeader: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
57
|
+
modalFade: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
58
|
+
headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
52
59
|
appendToBody: BooleanConstructor;
|
|
53
|
-
appendTo:
|
|
60
|
+
appendTo: EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | (((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>)) | null)[], unknown, unknown, "body", boolean>;
|
|
54
61
|
beforeClose: {
|
|
55
|
-
readonly type:
|
|
62
|
+
readonly type: PropType<DialogBeforeCloseFn>;
|
|
56
63
|
readonly required: false;
|
|
57
64
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
65
|
__epPropKey: true;
|
|
59
66
|
};
|
|
60
|
-
closeOnClickModal:
|
|
61
|
-
closeOnPressEscape:
|
|
62
|
-
lockScroll:
|
|
67
|
+
closeOnClickModal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
68
|
+
closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
69
|
+
lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
63
70
|
modalPenetrable: BooleanConstructor;
|
|
64
|
-
openDelay:
|
|
65
|
-
closeDelay:
|
|
71
|
+
openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
72
|
+
closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
66
73
|
top: {
|
|
67
|
-
readonly type:
|
|
74
|
+
readonly type: PropType<string>;
|
|
68
75
|
readonly required: false;
|
|
69
76
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
70
77
|
__epPropKey: true;
|
|
@@ -75,39 +82,39 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
75
82
|
bodyClass: StringConstructor;
|
|
76
83
|
footerClass: StringConstructor;
|
|
77
84
|
width: {
|
|
78
|
-
readonly type:
|
|
85
|
+
readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
79
86
|
readonly required: false;
|
|
80
87
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
81
88
|
__epPropKey: true;
|
|
82
89
|
};
|
|
83
90
|
zIndex: {
|
|
84
|
-
readonly type:
|
|
91
|
+
readonly type: PropType<number>;
|
|
85
92
|
readonly required: false;
|
|
86
93
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
87
94
|
__epPropKey: true;
|
|
88
95
|
};
|
|
89
96
|
trapFocus: BooleanConstructor;
|
|
90
|
-
transition:
|
|
97
|
+
transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | (((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
91
98
|
center: BooleanConstructor;
|
|
92
|
-
alignCenter:
|
|
99
|
+
alignCenter: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
93
100
|
closeIcon: {
|
|
94
|
-
readonly type:
|
|
101
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>;
|
|
95
102
|
readonly required: false;
|
|
96
103
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
97
104
|
__epPropKey: true;
|
|
98
105
|
};
|
|
99
|
-
draggable:
|
|
100
|
-
overflow:
|
|
106
|
+
draggable: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
107
|
+
overflow: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
101
108
|
fullscreen: BooleanConstructor;
|
|
102
|
-
showClose:
|
|
103
|
-
ariaLevel:
|
|
109
|
+
showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
110
|
+
ariaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
104
111
|
}>> & Readonly<{
|
|
105
112
|
"onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
|
|
106
113
|
"onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
107
|
-
onRegister?: ((instance:
|
|
114
|
+
onRegister?: ((instance: DrawerInstance, uid: number) => any) | undefined;
|
|
108
115
|
}>, {
|
|
109
|
-
drawerRef:
|
|
110
|
-
$:
|
|
116
|
+
drawerRef: Ref<({
|
|
117
|
+
$: ComponentInternalInstance;
|
|
111
118
|
$data: {};
|
|
112
119
|
$props: {
|
|
113
120
|
readonly direction?: "ltr" | "rtl" | "ttb" | "btt" | undefined;
|
|
@@ -118,7 +125,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
118
125
|
readonly headerAriaLevel?: string | undefined;
|
|
119
126
|
readonly appendToBody?: boolean | undefined;
|
|
120
127
|
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
121
|
-
readonly beforeClose?:
|
|
128
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
122
129
|
readonly destroyOnClose?: boolean | undefined;
|
|
123
130
|
readonly closeOnClickModal?: boolean | undefined;
|
|
124
131
|
readonly closeOnPressEscape?: boolean | undefined;
|
|
@@ -133,10 +140,10 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
133
140
|
readonly width?: string | number | undefined;
|
|
134
141
|
readonly zIndex?: number | undefined;
|
|
135
142
|
readonly trapFocus?: boolean | undefined;
|
|
136
|
-
readonly transition?:
|
|
143
|
+
readonly transition?: DialogTransition | undefined;
|
|
137
144
|
readonly center?: boolean | undefined;
|
|
138
145
|
readonly alignCenter?: boolean | undefined;
|
|
139
|
-
readonly closeIcon?:
|
|
146
|
+
readonly closeIcon?: IconPropType | undefined;
|
|
140
147
|
readonly draggable?: boolean | undefined;
|
|
141
148
|
readonly overflow?: boolean | undefined;
|
|
142
149
|
readonly fullscreen?: boolean | undefined;
|
|
@@ -156,7 +163,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
156
163
|
readonly onCloseAutoFocus?: (() => any) | undefined | undefined;
|
|
157
164
|
readonly "onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
158
165
|
readonly "onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
159
|
-
} &
|
|
166
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
160
167
|
$attrs: {
|
|
161
168
|
[x: string]: unknown;
|
|
162
169
|
};
|
|
@@ -164,14 +171,14 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
164
171
|
[x: string]: unknown;
|
|
165
172
|
};
|
|
166
173
|
$slots: Readonly<{
|
|
167
|
-
[name: string]:
|
|
174
|
+
[name: string]: Slot<any> | undefined;
|
|
168
175
|
}>;
|
|
169
|
-
$root:
|
|
170
|
-
$parent:
|
|
176
|
+
$root: ComponentPublicInstance | null;
|
|
177
|
+
$parent: ComponentPublicInstance | null;
|
|
171
178
|
$host: Element | null;
|
|
172
179
|
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => 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);
|
|
173
180
|
$el: any;
|
|
174
|
-
$options:
|
|
181
|
+
$options: ComponentOptionsBase<Readonly< DrawerProps> & Readonly<{
|
|
175
182
|
onClose?: (() => any) | undefined;
|
|
176
183
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
177
184
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -186,7 +193,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
186
193
|
handleClose: () => void;
|
|
187
194
|
afterEnter: () => void;
|
|
188
195
|
afterLeave: () => void;
|
|
189
|
-
}, {}, {}, {},
|
|
196
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
190
197
|
close: () => void;
|
|
191
198
|
resize: (evt: MouseEvent, size: number) => void;
|
|
192
199
|
"update:modelValue": (value: boolean) => void;
|
|
@@ -201,7 +208,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
201
208
|
appendTo: string | HTMLElement;
|
|
202
209
|
title: string;
|
|
203
210
|
size: string | number;
|
|
204
|
-
transition:
|
|
211
|
+
transition: DialogTransition;
|
|
205
212
|
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
206
213
|
overflow: boolean;
|
|
207
214
|
closeOnClickModal: boolean;
|
|
@@ -217,7 +224,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
217
224
|
ariaLevel: string;
|
|
218
225
|
withHeader: boolean;
|
|
219
226
|
modalFade: boolean;
|
|
220
|
-
}, {}, string, {},
|
|
227
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
221
228
|
beforeCreate?: (() => void) | (() => void)[];
|
|
222
229
|
created?: (() => void) | (() => void)[];
|
|
223
230
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -230,18 +237,18 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
230
237
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
231
238
|
destroyed?: (() => void) | (() => void)[];
|
|
232
239
|
unmounted?: (() => void) | (() => void)[];
|
|
233
|
-
renderTracked?: ((e:
|
|
234
|
-
renderTriggered?: ((e:
|
|
235
|
-
errorCaptured?: ((err: unknown, instance:
|
|
240
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
241
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
242
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
236
243
|
};
|
|
237
244
|
$forceUpdate: () => void;
|
|
238
|
-
$nextTick:
|
|
239
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
245
|
+
$nextTick: nextTick;
|
|
246
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
240
247
|
} & Readonly<{
|
|
241
248
|
appendTo: string | HTMLElement;
|
|
242
249
|
title: string;
|
|
243
250
|
size: string | number;
|
|
244
|
-
transition:
|
|
251
|
+
transition: DialogTransition;
|
|
245
252
|
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
246
253
|
overflow: boolean;
|
|
247
254
|
closeOnClickModal: boolean;
|
|
@@ -257,7 +264,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
257
264
|
ariaLevel: string;
|
|
258
265
|
withHeader: boolean;
|
|
259
266
|
modalFade: boolean;
|
|
260
|
-
}> & Omit<Readonly<
|
|
267
|
+
}> & Omit<Readonly< DrawerProps> & Readonly<{
|
|
261
268
|
onClose?: (() => any) | undefined;
|
|
262
269
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
263
270
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -268,11 +275,11 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
268
275
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
269
276
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
270
277
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
271
|
-
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "showClose" | "closeOnPressEscape" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> &
|
|
278
|
+
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "showClose" | "closeOnPressEscape" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & ShallowUnwrapRef<{
|
|
272
279
|
handleClose: () => void;
|
|
273
280
|
afterEnter: () => void;
|
|
274
281
|
afterLeave: () => void;
|
|
275
|
-
}> & {} &
|
|
282
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
276
283
|
$slots: {
|
|
277
284
|
header?: (props: {
|
|
278
285
|
close: () => void;
|
|
@@ -287,7 +294,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
287
294
|
footer?: (props: {}) => any;
|
|
288
295
|
};
|
|
289
296
|
}) | null, ({
|
|
290
|
-
$:
|
|
297
|
+
$: ComponentInternalInstance;
|
|
291
298
|
$data: {};
|
|
292
299
|
$props: {
|
|
293
300
|
readonly direction?: "ltr" | "rtl" | "ttb" | "btt" | undefined;
|
|
@@ -298,7 +305,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
298
305
|
readonly headerAriaLevel?: string | undefined;
|
|
299
306
|
readonly appendToBody?: boolean | undefined;
|
|
300
307
|
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
301
|
-
readonly beforeClose?:
|
|
308
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
302
309
|
readonly destroyOnClose?: boolean | undefined;
|
|
303
310
|
readonly closeOnClickModal?: boolean | undefined;
|
|
304
311
|
readonly closeOnPressEscape?: boolean | undefined;
|
|
@@ -313,10 +320,10 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
313
320
|
readonly width?: string | number | undefined;
|
|
314
321
|
readonly zIndex?: number | undefined;
|
|
315
322
|
readonly trapFocus?: boolean | undefined;
|
|
316
|
-
readonly transition?:
|
|
323
|
+
readonly transition?: DialogTransition | undefined;
|
|
317
324
|
readonly center?: boolean | undefined;
|
|
318
325
|
readonly alignCenter?: boolean | undefined;
|
|
319
|
-
readonly closeIcon?:
|
|
326
|
+
readonly closeIcon?: IconPropType | undefined;
|
|
320
327
|
readonly draggable?: boolean | undefined;
|
|
321
328
|
readonly overflow?: boolean | undefined;
|
|
322
329
|
readonly fullscreen?: boolean | undefined;
|
|
@@ -336,7 +343,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
336
343
|
readonly onCloseAutoFocus?: (() => any) | undefined | undefined;
|
|
337
344
|
readonly "onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
338
345
|
readonly "onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
339
|
-
} &
|
|
346
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
340
347
|
$attrs: {
|
|
341
348
|
[x: string]: unknown;
|
|
342
349
|
};
|
|
@@ -344,14 +351,14 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
344
351
|
[x: string]: unknown;
|
|
345
352
|
};
|
|
346
353
|
$slots: Readonly<{
|
|
347
|
-
[name: string]:
|
|
354
|
+
[name: string]: Slot<any> | undefined;
|
|
348
355
|
}>;
|
|
349
|
-
$root:
|
|
350
|
-
$parent:
|
|
356
|
+
$root: ComponentPublicInstance | null;
|
|
357
|
+
$parent: ComponentPublicInstance | null;
|
|
351
358
|
$host: Element | null;
|
|
352
359
|
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => 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);
|
|
353
360
|
$el: any;
|
|
354
|
-
$options:
|
|
361
|
+
$options: ComponentOptionsBase<Readonly< DrawerProps> & Readonly<{
|
|
355
362
|
onClose?: (() => any) | undefined;
|
|
356
363
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
357
364
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -366,7 +373,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
366
373
|
handleClose: () => void;
|
|
367
374
|
afterEnter: () => void;
|
|
368
375
|
afterLeave: () => void;
|
|
369
|
-
}, {}, {}, {},
|
|
376
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
370
377
|
close: () => void;
|
|
371
378
|
resize: (evt: MouseEvent, size: number) => void;
|
|
372
379
|
"update:modelValue": (value: boolean) => void;
|
|
@@ -381,7 +388,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
381
388
|
appendTo: string | HTMLElement;
|
|
382
389
|
title: string;
|
|
383
390
|
size: string | number;
|
|
384
|
-
transition:
|
|
391
|
+
transition: DialogTransition;
|
|
385
392
|
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
386
393
|
overflow: boolean;
|
|
387
394
|
closeOnClickModal: boolean;
|
|
@@ -397,7 +404,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
397
404
|
ariaLevel: string;
|
|
398
405
|
withHeader: boolean;
|
|
399
406
|
modalFade: boolean;
|
|
400
|
-
}, {}, string, {},
|
|
407
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
401
408
|
beforeCreate?: (() => void) | (() => void)[];
|
|
402
409
|
created?: (() => void) | (() => void)[];
|
|
403
410
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -410,18 +417,18 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
410
417
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
411
418
|
destroyed?: (() => void) | (() => void)[];
|
|
412
419
|
unmounted?: (() => void) | (() => void)[];
|
|
413
|
-
renderTracked?: ((e:
|
|
414
|
-
renderTriggered?: ((e:
|
|
415
|
-
errorCaptured?: ((err: unknown, instance:
|
|
420
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
421
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
422
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
416
423
|
};
|
|
417
424
|
$forceUpdate: () => void;
|
|
418
|
-
$nextTick:
|
|
419
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
425
|
+
$nextTick: nextTick;
|
|
426
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
420
427
|
} & Readonly<{
|
|
421
428
|
appendTo: string | HTMLElement;
|
|
422
429
|
title: string;
|
|
423
430
|
size: string | number;
|
|
424
|
-
transition:
|
|
431
|
+
transition: DialogTransition;
|
|
425
432
|
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
426
433
|
overflow: boolean;
|
|
427
434
|
closeOnClickModal: boolean;
|
|
@@ -437,7 +444,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
437
444
|
ariaLevel: string;
|
|
438
445
|
withHeader: boolean;
|
|
439
446
|
modalFade: boolean;
|
|
440
|
-
}> & Omit<Readonly<
|
|
447
|
+
}> & Omit<Readonly< DrawerProps> & Readonly<{
|
|
441
448
|
onClose?: (() => any) | undefined;
|
|
442
449
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
443
450
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -448,11 +455,11 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
448
455
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
449
456
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
450
457
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
451
|
-
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "showClose" | "closeOnPressEscape" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> &
|
|
458
|
+
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "showClose" | "closeOnPressEscape" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & ShallowUnwrapRef<{
|
|
452
459
|
handleClose: () => void;
|
|
453
460
|
afterEnter: () => void;
|
|
454
461
|
afterLeave: () => void;
|
|
455
|
-
}> & {} &
|
|
462
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
456
463
|
$slots: {
|
|
457
464
|
header?: (props: {
|
|
458
465
|
close: () => void;
|
|
@@ -467,31 +474,31 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
467
474
|
footer?: (props: {}) => any;
|
|
468
475
|
};
|
|
469
476
|
}) | null>;
|
|
470
|
-
drawerApi:
|
|
471
|
-
}, {}, {}, {},
|
|
477
|
+
drawerApi: TtDrawerExtendedDrawerApi;
|
|
478
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
472
479
|
"update:visible": (args_0: boolean) => any;
|
|
473
480
|
"visible-change": (args_0: boolean) => any;
|
|
474
|
-
register: (instance:
|
|
475
|
-
},
|
|
481
|
+
register: (instance: DrawerInstance, uid: number) => any;
|
|
482
|
+
}, PublicProps, {
|
|
476
483
|
title: any;
|
|
477
484
|
visible: any;
|
|
478
|
-
appendTo:
|
|
479
|
-
transition:
|
|
485
|
+
appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
486
|
+
transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | null)[], unknown, unknown>;
|
|
480
487
|
size: any;
|
|
481
488
|
class: any;
|
|
482
489
|
center: boolean;
|
|
483
490
|
height: any;
|
|
484
|
-
draggable:
|
|
485
|
-
showClose:
|
|
491
|
+
draggable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
492
|
+
showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
486
493
|
loading: any;
|
|
487
494
|
modelValue: boolean;
|
|
488
|
-
closeOnPressEscape:
|
|
495
|
+
closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
489
496
|
loadingText: any;
|
|
490
497
|
showFooter: any;
|
|
491
498
|
resizable: boolean;
|
|
492
499
|
fullscreen: boolean;
|
|
493
|
-
direction:
|
|
494
|
-
overflow:
|
|
500
|
+
direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
501
|
+
overflow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
495
502
|
testId: any;
|
|
496
503
|
modal: boolean;
|
|
497
504
|
cancelText: any;
|
|
@@ -499,30 +506,30 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
499
506
|
showCancelBtn: any;
|
|
500
507
|
showOkBtn: any;
|
|
501
508
|
confirmLoading: any;
|
|
502
|
-
okButtonProps: Partial<
|
|
503
|
-
cancelButtonProps: Partial<
|
|
509
|
+
okButtonProps: Partial< ButtonProps>;
|
|
510
|
+
cancelButtonProps: Partial< ButtonProps>;
|
|
504
511
|
appendToBody: boolean;
|
|
505
512
|
destroyOnClose: boolean;
|
|
506
|
-
closeOnClickModal:
|
|
507
|
-
lockScroll:
|
|
513
|
+
closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
514
|
+
lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
508
515
|
modalPenetrable: boolean;
|
|
509
516
|
openDelay: number;
|
|
510
517
|
closeDelay: number;
|
|
511
518
|
trapFocus: boolean;
|
|
512
519
|
headerAriaLevel: string;
|
|
513
|
-
alignCenter:
|
|
520
|
+
alignCenter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
514
521
|
ariaLevel: string;
|
|
515
522
|
showConfirm: any;
|
|
516
523
|
maskClosable: any;
|
|
517
524
|
confirmContent: any;
|
|
518
525
|
footerHeight: string | number;
|
|
519
|
-
withHeader:
|
|
520
|
-
modalFade:
|
|
526
|
+
withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
527
|
+
modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
521
528
|
okType: any;
|
|
522
|
-
drawerApi:
|
|
523
|
-
}, true, {}, {},
|
|
529
|
+
drawerApi: TtDrawerExtendedDrawerApi;
|
|
530
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
524
531
|
drawerRef: ({
|
|
525
|
-
$:
|
|
532
|
+
$: ComponentInternalInstance;
|
|
526
533
|
$data: {};
|
|
527
534
|
$props: {
|
|
528
535
|
readonly direction?: "ltr" | "rtl" | "ttb" | "btt" | undefined;
|
|
@@ -533,7 +540,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
533
540
|
readonly headerAriaLevel?: string | undefined;
|
|
534
541
|
readonly appendToBody?: boolean | undefined;
|
|
535
542
|
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
536
|
-
readonly beforeClose?:
|
|
543
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
537
544
|
readonly destroyOnClose?: boolean | undefined;
|
|
538
545
|
readonly closeOnClickModal?: boolean | undefined;
|
|
539
546
|
readonly closeOnPressEscape?: boolean | undefined;
|
|
@@ -548,10 +555,10 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
548
555
|
readonly width?: string | number | undefined;
|
|
549
556
|
readonly zIndex?: number | undefined;
|
|
550
557
|
readonly trapFocus?: boolean | undefined;
|
|
551
|
-
readonly transition?:
|
|
558
|
+
readonly transition?: DialogTransition | undefined;
|
|
552
559
|
readonly center?: boolean | undefined;
|
|
553
560
|
readonly alignCenter?: boolean | undefined;
|
|
554
|
-
readonly closeIcon?:
|
|
561
|
+
readonly closeIcon?: IconPropType | undefined;
|
|
555
562
|
readonly draggable?: boolean | undefined;
|
|
556
563
|
readonly overflow?: boolean | undefined;
|
|
557
564
|
readonly fullscreen?: boolean | undefined;
|
|
@@ -571,7 +578,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
571
578
|
readonly onCloseAutoFocus?: (() => any) | undefined | undefined;
|
|
572
579
|
readonly "onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
573
580
|
readonly "onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
574
|
-
} &
|
|
581
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
575
582
|
$attrs: {
|
|
576
583
|
[x: string]: unknown;
|
|
577
584
|
};
|
|
@@ -579,14 +586,14 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
579
586
|
[x: string]: unknown;
|
|
580
587
|
};
|
|
581
588
|
$slots: Readonly<{
|
|
582
|
-
[name: string]:
|
|
589
|
+
[name: string]: Slot<any> | undefined;
|
|
583
590
|
}>;
|
|
584
|
-
$root:
|
|
585
|
-
$parent:
|
|
591
|
+
$root: ComponentPublicInstance | null;
|
|
592
|
+
$parent: ComponentPublicInstance | null;
|
|
586
593
|
$host: Element | null;
|
|
587
594
|
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => 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);
|
|
588
595
|
$el: any;
|
|
589
|
-
$options:
|
|
596
|
+
$options: ComponentOptionsBase<Readonly< DrawerProps> & Readonly<{
|
|
590
597
|
onClose?: (() => any) | undefined;
|
|
591
598
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
592
599
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -601,7 +608,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
601
608
|
handleClose: () => void;
|
|
602
609
|
afterEnter: () => void;
|
|
603
610
|
afterLeave: () => void;
|
|
604
|
-
}, {}, {}, {},
|
|
611
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
605
612
|
close: () => void;
|
|
606
613
|
resize: (evt: MouseEvent, size: number) => void;
|
|
607
614
|
"update:modelValue": (value: boolean) => void;
|
|
@@ -616,7 +623,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
616
623
|
appendTo: string | HTMLElement;
|
|
617
624
|
title: string;
|
|
618
625
|
size: string | number;
|
|
619
|
-
transition:
|
|
626
|
+
transition: DialogTransition;
|
|
620
627
|
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
621
628
|
overflow: boolean;
|
|
622
629
|
closeOnClickModal: boolean;
|
|
@@ -632,7 +639,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
632
639
|
ariaLevel: string;
|
|
633
640
|
withHeader: boolean;
|
|
634
641
|
modalFade: boolean;
|
|
635
|
-
}, {}, string, {},
|
|
642
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
636
643
|
beforeCreate?: (() => void) | (() => void)[];
|
|
637
644
|
created?: (() => void) | (() => void)[];
|
|
638
645
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -645,18 +652,18 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
645
652
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
646
653
|
destroyed?: (() => void) | (() => void)[];
|
|
647
654
|
unmounted?: (() => void) | (() => void)[];
|
|
648
|
-
renderTracked?: ((e:
|
|
649
|
-
renderTriggered?: ((e:
|
|
650
|
-
errorCaptured?: ((err: unknown, instance:
|
|
655
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
656
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
657
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
651
658
|
};
|
|
652
659
|
$forceUpdate: () => void;
|
|
653
|
-
$nextTick:
|
|
654
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
660
|
+
$nextTick: nextTick;
|
|
661
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
655
662
|
} & Readonly<{
|
|
656
663
|
appendTo: string | HTMLElement;
|
|
657
664
|
title: string;
|
|
658
665
|
size: string | number;
|
|
659
|
-
transition:
|
|
666
|
+
transition: DialogTransition;
|
|
660
667
|
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
661
668
|
overflow: boolean;
|
|
662
669
|
closeOnClickModal: boolean;
|
|
@@ -672,7 +679,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
672
679
|
ariaLevel: string;
|
|
673
680
|
withHeader: boolean;
|
|
674
681
|
modalFade: boolean;
|
|
675
|
-
}> & Omit<Readonly<
|
|
682
|
+
}> & Omit<Readonly< DrawerProps> & Readonly<{
|
|
676
683
|
onClose?: (() => any) | undefined;
|
|
677
684
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
678
685
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -683,11 +690,11 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
683
690
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
684
691
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
685
692
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
686
|
-
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "showClose" | "closeOnPressEscape" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> &
|
|
693
|
+
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "showClose" | "closeOnPressEscape" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & ShallowUnwrapRef<{
|
|
687
694
|
handleClose: () => void;
|
|
688
695
|
afterEnter: () => void;
|
|
689
696
|
afterLeave: () => void;
|
|
690
|
-
}> & {} &
|
|
697
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
691
698
|
$slots: {
|
|
692
699
|
header?: (props: {
|
|
693
700
|
close: () => void;
|
|
@@ -702,35 +709,35 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
702
709
|
footer?: (props: {}) => any;
|
|
703
710
|
};
|
|
704
711
|
}) | null;
|
|
705
|
-
}, any,
|
|
712
|
+
}, any, ComponentProvideOptions, {
|
|
706
713
|
P: {};
|
|
707
714
|
B: {};
|
|
708
715
|
D: {};
|
|
709
716
|
C: {};
|
|
710
717
|
M: {};
|
|
711
718
|
Defaults: {};
|
|
712
|
-
}, Readonly<
|
|
719
|
+
}, Readonly< ExtractPropTypes<{
|
|
713
720
|
drawerApi: {
|
|
714
|
-
type:
|
|
721
|
+
type: PropType<TtDrawerExtendedDrawerApi>;
|
|
715
722
|
default: undefined;
|
|
716
723
|
};
|
|
717
724
|
confirmLoading: any;
|
|
718
725
|
showCancelBtn: any;
|
|
719
726
|
cancelButtonProps: {
|
|
720
|
-
type:
|
|
721
|
-
default: Partial<
|
|
727
|
+
type: PropType<Partial< ButtonProps>>;
|
|
728
|
+
default: Partial< ButtonProps>;
|
|
722
729
|
};
|
|
723
730
|
cancelText: any;
|
|
724
731
|
showOkBtn: any;
|
|
725
732
|
okButtonProps: {
|
|
726
|
-
type:
|
|
727
|
-
default: Partial<
|
|
733
|
+
type: PropType<Partial< ButtonProps>>;
|
|
734
|
+
default: Partial< ButtonProps>;
|
|
728
735
|
};
|
|
729
736
|
okText: any;
|
|
730
737
|
okType: any;
|
|
731
738
|
showFooter: any;
|
|
732
739
|
footerHeight: {
|
|
733
|
-
type:
|
|
740
|
+
type: PropType<string | number>;
|
|
734
741
|
default: number;
|
|
735
742
|
};
|
|
736
743
|
height: any;
|
|
@@ -746,7 +753,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
746
753
|
type: BooleanConstructor;
|
|
747
754
|
};
|
|
748
755
|
closeFunc: {
|
|
749
|
-
type:
|
|
756
|
+
type: PropType<() => Promise<boolean>>;
|
|
750
757
|
};
|
|
751
758
|
showConfirm: any;
|
|
752
759
|
confirmContent: any;
|
|
@@ -754,27 +761,27 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
754
761
|
type: BooleanConstructor;
|
|
755
762
|
default: () => boolean | undefined;
|
|
756
763
|
};
|
|
757
|
-
direction:
|
|
764
|
+
direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
758
765
|
resizable: BooleanConstructor;
|
|
759
|
-
withHeader:
|
|
760
|
-
modalFade:
|
|
761
|
-
headerAriaLevel:
|
|
766
|
+
withHeader: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
767
|
+
modalFade: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
768
|
+
headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
762
769
|
appendToBody: BooleanConstructor;
|
|
763
|
-
appendTo:
|
|
770
|
+
appendTo: EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | (((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>)) | null)[], unknown, unknown, "body", boolean>;
|
|
764
771
|
beforeClose: {
|
|
765
|
-
readonly type:
|
|
772
|
+
readonly type: PropType<DialogBeforeCloseFn>;
|
|
766
773
|
readonly required: false;
|
|
767
774
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
768
775
|
__epPropKey: true;
|
|
769
776
|
};
|
|
770
|
-
closeOnClickModal:
|
|
771
|
-
closeOnPressEscape:
|
|
772
|
-
lockScroll:
|
|
777
|
+
closeOnClickModal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
778
|
+
closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
779
|
+
lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
773
780
|
modalPenetrable: BooleanConstructor;
|
|
774
|
-
openDelay:
|
|
775
|
-
closeDelay:
|
|
781
|
+
openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
782
|
+
closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
776
783
|
top: {
|
|
777
|
-
readonly type:
|
|
784
|
+
readonly type: PropType<string>;
|
|
778
785
|
readonly required: false;
|
|
779
786
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
780
787
|
__epPropKey: true;
|
|
@@ -785,39 +792,39 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
785
792
|
bodyClass: StringConstructor;
|
|
786
793
|
footerClass: StringConstructor;
|
|
787
794
|
width: {
|
|
788
|
-
readonly type:
|
|
795
|
+
readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
789
796
|
readonly required: false;
|
|
790
797
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
791
798
|
__epPropKey: true;
|
|
792
799
|
};
|
|
793
800
|
zIndex: {
|
|
794
|
-
readonly type:
|
|
801
|
+
readonly type: PropType<number>;
|
|
795
802
|
readonly required: false;
|
|
796
803
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
797
804
|
__epPropKey: true;
|
|
798
805
|
};
|
|
799
806
|
trapFocus: BooleanConstructor;
|
|
800
|
-
transition:
|
|
807
|
+
transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | (((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
801
808
|
center: BooleanConstructor;
|
|
802
|
-
alignCenter:
|
|
809
|
+
alignCenter: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
803
810
|
closeIcon: {
|
|
804
|
-
readonly type:
|
|
811
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>;
|
|
805
812
|
readonly required: false;
|
|
806
813
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
807
814
|
__epPropKey: true;
|
|
808
815
|
};
|
|
809
|
-
draggable:
|
|
810
|
-
overflow:
|
|
816
|
+
draggable: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
817
|
+
overflow: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
811
818
|
fullscreen: BooleanConstructor;
|
|
812
|
-
showClose:
|
|
813
|
-
ariaLevel:
|
|
819
|
+
showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
820
|
+
ariaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
814
821
|
}>> & Readonly<{
|
|
815
822
|
"onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
|
|
816
823
|
"onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
817
|
-
onRegister?: ((instance:
|
|
824
|
+
onRegister?: ((instance: DrawerInstance, uid: number) => any) | undefined;
|
|
818
825
|
}>, {
|
|
819
|
-
drawerRef:
|
|
820
|
-
$:
|
|
826
|
+
drawerRef: Ref<({
|
|
827
|
+
$: ComponentInternalInstance;
|
|
821
828
|
$data: {};
|
|
822
829
|
$props: {
|
|
823
830
|
readonly direction?: "ltr" | "rtl" | "ttb" | "btt" | undefined;
|
|
@@ -828,7 +835,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
828
835
|
readonly headerAriaLevel?: string | undefined;
|
|
829
836
|
readonly appendToBody?: boolean | undefined;
|
|
830
837
|
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
831
|
-
readonly beforeClose?:
|
|
838
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
832
839
|
readonly destroyOnClose?: boolean | undefined;
|
|
833
840
|
readonly closeOnClickModal?: boolean | undefined;
|
|
834
841
|
readonly closeOnPressEscape?: boolean | undefined;
|
|
@@ -843,10 +850,10 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
843
850
|
readonly width?: string | number | undefined;
|
|
844
851
|
readonly zIndex?: number | undefined;
|
|
845
852
|
readonly trapFocus?: boolean | undefined;
|
|
846
|
-
readonly transition?:
|
|
853
|
+
readonly transition?: DialogTransition | undefined;
|
|
847
854
|
readonly center?: boolean | undefined;
|
|
848
855
|
readonly alignCenter?: boolean | undefined;
|
|
849
|
-
readonly closeIcon?:
|
|
856
|
+
readonly closeIcon?: IconPropType | undefined;
|
|
850
857
|
readonly draggable?: boolean | undefined;
|
|
851
858
|
readonly overflow?: boolean | undefined;
|
|
852
859
|
readonly fullscreen?: boolean | undefined;
|
|
@@ -866,7 +873,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
866
873
|
readonly onCloseAutoFocus?: (() => any) | undefined | undefined;
|
|
867
874
|
readonly "onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
868
875
|
readonly "onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
869
|
-
} &
|
|
876
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
870
877
|
$attrs: {
|
|
871
878
|
[x: string]: unknown;
|
|
872
879
|
};
|
|
@@ -874,14 +881,14 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
874
881
|
[x: string]: unknown;
|
|
875
882
|
};
|
|
876
883
|
$slots: Readonly<{
|
|
877
|
-
[name: string]:
|
|
884
|
+
[name: string]: Slot<any> | undefined;
|
|
878
885
|
}>;
|
|
879
|
-
$root:
|
|
880
|
-
$parent:
|
|
886
|
+
$root: ComponentPublicInstance | null;
|
|
887
|
+
$parent: ComponentPublicInstance | null;
|
|
881
888
|
$host: Element | null;
|
|
882
889
|
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => 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);
|
|
883
890
|
$el: any;
|
|
884
|
-
$options:
|
|
891
|
+
$options: ComponentOptionsBase<Readonly< DrawerProps> & Readonly<{
|
|
885
892
|
onClose?: (() => any) | undefined;
|
|
886
893
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
887
894
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -896,7 +903,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
896
903
|
handleClose: () => void;
|
|
897
904
|
afterEnter: () => void;
|
|
898
905
|
afterLeave: () => void;
|
|
899
|
-
}, {}, {}, {},
|
|
906
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
900
907
|
close: () => void;
|
|
901
908
|
resize: (evt: MouseEvent, size: number) => void;
|
|
902
909
|
"update:modelValue": (value: boolean) => void;
|
|
@@ -911,7 +918,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
911
918
|
appendTo: string | HTMLElement;
|
|
912
919
|
title: string;
|
|
913
920
|
size: string | number;
|
|
914
|
-
transition:
|
|
921
|
+
transition: DialogTransition;
|
|
915
922
|
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
916
923
|
overflow: boolean;
|
|
917
924
|
closeOnClickModal: boolean;
|
|
@@ -927,7 +934,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
927
934
|
ariaLevel: string;
|
|
928
935
|
withHeader: boolean;
|
|
929
936
|
modalFade: boolean;
|
|
930
|
-
}, {}, string, {},
|
|
937
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
931
938
|
beforeCreate?: (() => void) | (() => void)[];
|
|
932
939
|
created?: (() => void) | (() => void)[];
|
|
933
940
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -940,18 +947,18 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
940
947
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
941
948
|
destroyed?: (() => void) | (() => void)[];
|
|
942
949
|
unmounted?: (() => void) | (() => void)[];
|
|
943
|
-
renderTracked?: ((e:
|
|
944
|
-
renderTriggered?: ((e:
|
|
945
|
-
errorCaptured?: ((err: unknown, instance:
|
|
950
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
951
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
952
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
946
953
|
};
|
|
947
954
|
$forceUpdate: () => void;
|
|
948
|
-
$nextTick:
|
|
949
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
955
|
+
$nextTick: nextTick;
|
|
956
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
950
957
|
} & Readonly<{
|
|
951
958
|
appendTo: string | HTMLElement;
|
|
952
959
|
title: string;
|
|
953
960
|
size: string | number;
|
|
954
|
-
transition:
|
|
961
|
+
transition: DialogTransition;
|
|
955
962
|
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
956
963
|
overflow: boolean;
|
|
957
964
|
closeOnClickModal: boolean;
|
|
@@ -967,7 +974,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
967
974
|
ariaLevel: string;
|
|
968
975
|
withHeader: boolean;
|
|
969
976
|
modalFade: boolean;
|
|
970
|
-
}> & Omit<Readonly<
|
|
977
|
+
}> & Omit<Readonly< DrawerProps> & Readonly<{
|
|
971
978
|
onClose?: (() => any) | undefined;
|
|
972
979
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
973
980
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -978,11 +985,11 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
978
985
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
979
986
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
980
987
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
981
|
-
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "showClose" | "closeOnPressEscape" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> &
|
|
988
|
+
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "showClose" | "closeOnPressEscape" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & ShallowUnwrapRef<{
|
|
982
989
|
handleClose: () => void;
|
|
983
990
|
afterEnter: () => void;
|
|
984
991
|
afterLeave: () => void;
|
|
985
|
-
}> & {} &
|
|
992
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
986
993
|
$slots: {
|
|
987
994
|
header?: (props: {
|
|
988
995
|
close: () => void;
|
|
@@ -997,7 +1004,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
997
1004
|
footer?: (props: {}) => any;
|
|
998
1005
|
};
|
|
999
1006
|
}) | null, ({
|
|
1000
|
-
$:
|
|
1007
|
+
$: ComponentInternalInstance;
|
|
1001
1008
|
$data: {};
|
|
1002
1009
|
$props: {
|
|
1003
1010
|
readonly direction?: "ltr" | "rtl" | "ttb" | "btt" | undefined;
|
|
@@ -1008,7 +1015,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1008
1015
|
readonly headerAriaLevel?: string | undefined;
|
|
1009
1016
|
readonly appendToBody?: boolean | undefined;
|
|
1010
1017
|
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
1011
|
-
readonly beforeClose?:
|
|
1018
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
1012
1019
|
readonly destroyOnClose?: boolean | undefined;
|
|
1013
1020
|
readonly closeOnClickModal?: boolean | undefined;
|
|
1014
1021
|
readonly closeOnPressEscape?: boolean | undefined;
|
|
@@ -1023,10 +1030,10 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1023
1030
|
readonly width?: string | number | undefined;
|
|
1024
1031
|
readonly zIndex?: number | undefined;
|
|
1025
1032
|
readonly trapFocus?: boolean | undefined;
|
|
1026
|
-
readonly transition?:
|
|
1033
|
+
readonly transition?: DialogTransition | undefined;
|
|
1027
1034
|
readonly center?: boolean | undefined;
|
|
1028
1035
|
readonly alignCenter?: boolean | undefined;
|
|
1029
|
-
readonly closeIcon?:
|
|
1036
|
+
readonly closeIcon?: IconPropType | undefined;
|
|
1030
1037
|
readonly draggable?: boolean | undefined;
|
|
1031
1038
|
readonly overflow?: boolean | undefined;
|
|
1032
1039
|
readonly fullscreen?: boolean | undefined;
|
|
@@ -1046,7 +1053,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1046
1053
|
readonly onCloseAutoFocus?: (() => any) | undefined | undefined;
|
|
1047
1054
|
readonly "onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
1048
1055
|
readonly "onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
1049
|
-
} &
|
|
1056
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1050
1057
|
$attrs: {
|
|
1051
1058
|
[x: string]: unknown;
|
|
1052
1059
|
};
|
|
@@ -1054,14 +1061,14 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1054
1061
|
[x: string]: unknown;
|
|
1055
1062
|
};
|
|
1056
1063
|
$slots: Readonly<{
|
|
1057
|
-
[name: string]:
|
|
1064
|
+
[name: string]: Slot<any> | undefined;
|
|
1058
1065
|
}>;
|
|
1059
|
-
$root:
|
|
1060
|
-
$parent:
|
|
1066
|
+
$root: ComponentPublicInstance | null;
|
|
1067
|
+
$parent: ComponentPublicInstance | null;
|
|
1061
1068
|
$host: Element | null;
|
|
1062
1069
|
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => 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);
|
|
1063
1070
|
$el: any;
|
|
1064
|
-
$options:
|
|
1071
|
+
$options: ComponentOptionsBase<Readonly< DrawerProps> & Readonly<{
|
|
1065
1072
|
onClose?: (() => any) | undefined;
|
|
1066
1073
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1067
1074
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -1076,7 +1083,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1076
1083
|
handleClose: () => void;
|
|
1077
1084
|
afterEnter: () => void;
|
|
1078
1085
|
afterLeave: () => void;
|
|
1079
|
-
}, {}, {}, {},
|
|
1086
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1080
1087
|
close: () => void;
|
|
1081
1088
|
resize: (evt: MouseEvent, size: number) => void;
|
|
1082
1089
|
"update:modelValue": (value: boolean) => void;
|
|
@@ -1091,7 +1098,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1091
1098
|
appendTo: string | HTMLElement;
|
|
1092
1099
|
title: string;
|
|
1093
1100
|
size: string | number;
|
|
1094
|
-
transition:
|
|
1101
|
+
transition: DialogTransition;
|
|
1095
1102
|
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
1096
1103
|
overflow: boolean;
|
|
1097
1104
|
closeOnClickModal: boolean;
|
|
@@ -1107,7 +1114,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1107
1114
|
ariaLevel: string;
|
|
1108
1115
|
withHeader: boolean;
|
|
1109
1116
|
modalFade: boolean;
|
|
1110
|
-
}, {}, string, {},
|
|
1117
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1111
1118
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1112
1119
|
created?: (() => void) | (() => void)[];
|
|
1113
1120
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -1120,18 +1127,18 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1120
1127
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
1121
1128
|
destroyed?: (() => void) | (() => void)[];
|
|
1122
1129
|
unmounted?: (() => void) | (() => void)[];
|
|
1123
|
-
renderTracked?: ((e:
|
|
1124
|
-
renderTriggered?: ((e:
|
|
1125
|
-
errorCaptured?: ((err: unknown, instance:
|
|
1130
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1131
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1132
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1126
1133
|
};
|
|
1127
1134
|
$forceUpdate: () => void;
|
|
1128
|
-
$nextTick:
|
|
1129
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
1135
|
+
$nextTick: nextTick;
|
|
1136
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1130
1137
|
} & Readonly<{
|
|
1131
1138
|
appendTo: string | HTMLElement;
|
|
1132
1139
|
title: string;
|
|
1133
1140
|
size: string | number;
|
|
1134
|
-
transition:
|
|
1141
|
+
transition: DialogTransition;
|
|
1135
1142
|
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
1136
1143
|
overflow: boolean;
|
|
1137
1144
|
closeOnClickModal: boolean;
|
|
@@ -1147,7 +1154,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1147
1154
|
ariaLevel: string;
|
|
1148
1155
|
withHeader: boolean;
|
|
1149
1156
|
modalFade: boolean;
|
|
1150
|
-
}> & Omit<Readonly<
|
|
1157
|
+
}> & Omit<Readonly< DrawerProps> & Readonly<{
|
|
1151
1158
|
onClose?: (() => any) | undefined;
|
|
1152
1159
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1153
1160
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -1158,11 +1165,11 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1158
1165
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
1159
1166
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1160
1167
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1161
|
-
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "showClose" | "closeOnPressEscape" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> &
|
|
1168
|
+
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "showClose" | "closeOnPressEscape" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & ShallowUnwrapRef<{
|
|
1162
1169
|
handleClose: () => void;
|
|
1163
1170
|
afterEnter: () => void;
|
|
1164
1171
|
afterLeave: () => void;
|
|
1165
|
-
}> & {} &
|
|
1172
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1166
1173
|
$slots: {
|
|
1167
1174
|
header?: (props: {
|
|
1168
1175
|
close: () => void;
|
|
@@ -1177,27 +1184,27 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1177
1184
|
footer?: (props: {}) => any;
|
|
1178
1185
|
};
|
|
1179
1186
|
}) | null>;
|
|
1180
|
-
drawerApi:
|
|
1187
|
+
drawerApi: TtDrawerExtendedDrawerApi;
|
|
1181
1188
|
}, {}, {}, {}, {
|
|
1182
1189
|
title: any;
|
|
1183
1190
|
visible: any;
|
|
1184
|
-
appendTo:
|
|
1185
|
-
transition:
|
|
1191
|
+
appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
1192
|
+
transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | null)[], unknown, unknown>;
|
|
1186
1193
|
size: any;
|
|
1187
1194
|
class: any;
|
|
1188
1195
|
center: boolean;
|
|
1189
1196
|
height: any;
|
|
1190
|
-
draggable:
|
|
1191
|
-
showClose:
|
|
1197
|
+
draggable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1198
|
+
showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1192
1199
|
loading: any;
|
|
1193
1200
|
modelValue: boolean;
|
|
1194
|
-
closeOnPressEscape:
|
|
1201
|
+
closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1195
1202
|
loadingText: any;
|
|
1196
1203
|
showFooter: any;
|
|
1197
1204
|
resizable: boolean;
|
|
1198
1205
|
fullscreen: boolean;
|
|
1199
|
-
direction:
|
|
1200
|
-
overflow:
|
|
1206
|
+
direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
1207
|
+
overflow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1201
1208
|
testId: any;
|
|
1202
1209
|
modal: boolean;
|
|
1203
1210
|
cancelText: any;
|
|
@@ -1205,53 +1212,53 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1205
1212
|
showCancelBtn: any;
|
|
1206
1213
|
showOkBtn: any;
|
|
1207
1214
|
confirmLoading: any;
|
|
1208
|
-
okButtonProps: Partial<
|
|
1209
|
-
cancelButtonProps: Partial<
|
|
1215
|
+
okButtonProps: Partial< ButtonProps>;
|
|
1216
|
+
cancelButtonProps: Partial< ButtonProps>;
|
|
1210
1217
|
appendToBody: boolean;
|
|
1211
1218
|
destroyOnClose: boolean;
|
|
1212
|
-
closeOnClickModal:
|
|
1213
|
-
lockScroll:
|
|
1219
|
+
closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1220
|
+
lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1214
1221
|
modalPenetrable: boolean;
|
|
1215
1222
|
openDelay: number;
|
|
1216
1223
|
closeDelay: number;
|
|
1217
1224
|
trapFocus: boolean;
|
|
1218
1225
|
headerAriaLevel: string;
|
|
1219
|
-
alignCenter:
|
|
1226
|
+
alignCenter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1220
1227
|
ariaLevel: string;
|
|
1221
1228
|
showConfirm: any;
|
|
1222
1229
|
maskClosable: any;
|
|
1223
1230
|
confirmContent: any;
|
|
1224
1231
|
footerHeight: string | number;
|
|
1225
|
-
withHeader:
|
|
1226
|
-
modalFade:
|
|
1232
|
+
withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1233
|
+
modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1227
1234
|
okType: any;
|
|
1228
|
-
drawerApi:
|
|
1235
|
+
drawerApi: TtDrawerExtendedDrawerApi;
|
|
1229
1236
|
}>;
|
|
1230
1237
|
__isFragment?: never;
|
|
1231
1238
|
__isTeleport?: never;
|
|
1232
1239
|
__isSuspense?: never;
|
|
1233
|
-
} &
|
|
1240
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1234
1241
|
drawerApi: {
|
|
1235
|
-
type:
|
|
1242
|
+
type: PropType<TtDrawerExtendedDrawerApi>;
|
|
1236
1243
|
default: undefined;
|
|
1237
1244
|
};
|
|
1238
1245
|
confirmLoading: any;
|
|
1239
1246
|
showCancelBtn: any;
|
|
1240
1247
|
cancelButtonProps: {
|
|
1241
|
-
type:
|
|
1242
|
-
default: Partial<
|
|
1248
|
+
type: PropType<Partial< ButtonProps>>;
|
|
1249
|
+
default: Partial< ButtonProps>;
|
|
1243
1250
|
};
|
|
1244
1251
|
cancelText: any;
|
|
1245
1252
|
showOkBtn: any;
|
|
1246
1253
|
okButtonProps: {
|
|
1247
|
-
type:
|
|
1248
|
-
default: Partial<
|
|
1254
|
+
type: PropType<Partial< ButtonProps>>;
|
|
1255
|
+
default: Partial< ButtonProps>;
|
|
1249
1256
|
};
|
|
1250
1257
|
okText: any;
|
|
1251
1258
|
okType: any;
|
|
1252
1259
|
showFooter: any;
|
|
1253
1260
|
footerHeight: {
|
|
1254
|
-
type:
|
|
1261
|
+
type: PropType<string | number>;
|
|
1255
1262
|
default: number;
|
|
1256
1263
|
};
|
|
1257
1264
|
height: any;
|
|
@@ -1267,7 +1274,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1267
1274
|
type: BooleanConstructor;
|
|
1268
1275
|
};
|
|
1269
1276
|
closeFunc: {
|
|
1270
|
-
type:
|
|
1277
|
+
type: PropType<() => Promise<boolean>>;
|
|
1271
1278
|
};
|
|
1272
1279
|
showConfirm: any;
|
|
1273
1280
|
confirmContent: any;
|
|
@@ -1275,27 +1282,27 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1275
1282
|
type: BooleanConstructor;
|
|
1276
1283
|
default: () => boolean | undefined;
|
|
1277
1284
|
};
|
|
1278
|
-
direction:
|
|
1285
|
+
direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
1279
1286
|
resizable: BooleanConstructor;
|
|
1280
|
-
withHeader:
|
|
1281
|
-
modalFade:
|
|
1282
|
-
headerAriaLevel:
|
|
1287
|
+
withHeader: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1288
|
+
modalFade: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1289
|
+
headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
1283
1290
|
appendToBody: BooleanConstructor;
|
|
1284
|
-
appendTo:
|
|
1291
|
+
appendTo: EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | (((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>)) | null)[], unknown, unknown, "body", boolean>;
|
|
1285
1292
|
beforeClose: {
|
|
1286
|
-
readonly type:
|
|
1293
|
+
readonly type: PropType<DialogBeforeCloseFn>;
|
|
1287
1294
|
readonly required: false;
|
|
1288
1295
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1289
1296
|
__epPropKey: true;
|
|
1290
1297
|
};
|
|
1291
|
-
closeOnClickModal:
|
|
1292
|
-
closeOnPressEscape:
|
|
1293
|
-
lockScroll:
|
|
1298
|
+
closeOnClickModal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1299
|
+
closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1300
|
+
lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1294
1301
|
modalPenetrable: BooleanConstructor;
|
|
1295
|
-
openDelay:
|
|
1296
|
-
closeDelay:
|
|
1302
|
+
openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
1303
|
+
closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
1297
1304
|
top: {
|
|
1298
|
-
readonly type:
|
|
1305
|
+
readonly type: PropType<string>;
|
|
1299
1306
|
readonly required: false;
|
|
1300
1307
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1301
1308
|
__epPropKey: true;
|
|
@@ -1306,39 +1313,39 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1306
1313
|
bodyClass: StringConstructor;
|
|
1307
1314
|
footerClass: StringConstructor;
|
|
1308
1315
|
width: {
|
|
1309
|
-
readonly type:
|
|
1316
|
+
readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
1310
1317
|
readonly required: false;
|
|
1311
1318
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1312
1319
|
__epPropKey: true;
|
|
1313
1320
|
};
|
|
1314
1321
|
zIndex: {
|
|
1315
|
-
readonly type:
|
|
1322
|
+
readonly type: PropType<number>;
|
|
1316
1323
|
readonly required: false;
|
|
1317
1324
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1318
1325
|
__epPropKey: true;
|
|
1319
1326
|
};
|
|
1320
1327
|
trapFocus: BooleanConstructor;
|
|
1321
|
-
transition:
|
|
1328
|
+
transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | (((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
1322
1329
|
center: BooleanConstructor;
|
|
1323
|
-
alignCenter:
|
|
1330
|
+
alignCenter: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1324
1331
|
closeIcon: {
|
|
1325
|
-
readonly type:
|
|
1332
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>;
|
|
1326
1333
|
readonly required: false;
|
|
1327
1334
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1328
1335
|
__epPropKey: true;
|
|
1329
1336
|
};
|
|
1330
|
-
draggable:
|
|
1331
|
-
overflow:
|
|
1337
|
+
draggable: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1338
|
+
overflow: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1332
1339
|
fullscreen: BooleanConstructor;
|
|
1333
|
-
showClose:
|
|
1334
|
-
ariaLevel:
|
|
1340
|
+
showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1341
|
+
ariaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
1335
1342
|
}>> & Readonly<{
|
|
1336
1343
|
"onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
|
|
1337
1344
|
"onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
1338
|
-
onRegister?: ((instance:
|
|
1345
|
+
onRegister?: ((instance: DrawerInstance, uid: number) => any) | undefined;
|
|
1339
1346
|
}>, {
|
|
1340
|
-
drawerRef:
|
|
1341
|
-
$:
|
|
1347
|
+
drawerRef: Ref<({
|
|
1348
|
+
$: ComponentInternalInstance;
|
|
1342
1349
|
$data: {};
|
|
1343
1350
|
$props: {
|
|
1344
1351
|
readonly direction?: "ltr" | "rtl" | "ttb" | "btt" | undefined;
|
|
@@ -1349,7 +1356,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1349
1356
|
readonly headerAriaLevel?: string | undefined;
|
|
1350
1357
|
readonly appendToBody?: boolean | undefined;
|
|
1351
1358
|
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
1352
|
-
readonly beforeClose?:
|
|
1359
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
1353
1360
|
readonly destroyOnClose?: boolean | undefined;
|
|
1354
1361
|
readonly closeOnClickModal?: boolean | undefined;
|
|
1355
1362
|
readonly closeOnPressEscape?: boolean | undefined;
|
|
@@ -1364,10 +1371,10 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1364
1371
|
readonly width?: string | number | undefined;
|
|
1365
1372
|
readonly zIndex?: number | undefined;
|
|
1366
1373
|
readonly trapFocus?: boolean | undefined;
|
|
1367
|
-
readonly transition?:
|
|
1374
|
+
readonly transition?: DialogTransition | undefined;
|
|
1368
1375
|
readonly center?: boolean | undefined;
|
|
1369
1376
|
readonly alignCenter?: boolean | undefined;
|
|
1370
|
-
readonly closeIcon?:
|
|
1377
|
+
readonly closeIcon?: IconPropType | undefined;
|
|
1371
1378
|
readonly draggable?: boolean | undefined;
|
|
1372
1379
|
readonly overflow?: boolean | undefined;
|
|
1373
1380
|
readonly fullscreen?: boolean | undefined;
|
|
@@ -1387,7 +1394,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1387
1394
|
readonly onCloseAutoFocus?: (() => any) | undefined | undefined;
|
|
1388
1395
|
readonly "onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
1389
1396
|
readonly "onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
1390
|
-
} &
|
|
1397
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1391
1398
|
$attrs: {
|
|
1392
1399
|
[x: string]: unknown;
|
|
1393
1400
|
};
|
|
@@ -1395,14 +1402,14 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1395
1402
|
[x: string]: unknown;
|
|
1396
1403
|
};
|
|
1397
1404
|
$slots: Readonly<{
|
|
1398
|
-
[name: string]:
|
|
1405
|
+
[name: string]: Slot<any> | undefined;
|
|
1399
1406
|
}>;
|
|
1400
|
-
$root:
|
|
1401
|
-
$parent:
|
|
1407
|
+
$root: ComponentPublicInstance | null;
|
|
1408
|
+
$parent: ComponentPublicInstance | null;
|
|
1402
1409
|
$host: Element | null;
|
|
1403
1410
|
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => 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);
|
|
1404
1411
|
$el: any;
|
|
1405
|
-
$options:
|
|
1412
|
+
$options: ComponentOptionsBase<Readonly< DrawerProps> & Readonly<{
|
|
1406
1413
|
onClose?: (() => any) | undefined;
|
|
1407
1414
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1408
1415
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -1417,7 +1424,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1417
1424
|
handleClose: () => void;
|
|
1418
1425
|
afterEnter: () => void;
|
|
1419
1426
|
afterLeave: () => void;
|
|
1420
|
-
}, {}, {}, {},
|
|
1427
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1421
1428
|
close: () => void;
|
|
1422
1429
|
resize: (evt: MouseEvent, size: number) => void;
|
|
1423
1430
|
"update:modelValue": (value: boolean) => void;
|
|
@@ -1432,7 +1439,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1432
1439
|
appendTo: string | HTMLElement;
|
|
1433
1440
|
title: string;
|
|
1434
1441
|
size: string | number;
|
|
1435
|
-
transition:
|
|
1442
|
+
transition: DialogTransition;
|
|
1436
1443
|
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
1437
1444
|
overflow: boolean;
|
|
1438
1445
|
closeOnClickModal: boolean;
|
|
@@ -1448,7 +1455,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1448
1455
|
ariaLevel: string;
|
|
1449
1456
|
withHeader: boolean;
|
|
1450
1457
|
modalFade: boolean;
|
|
1451
|
-
}, {}, string, {},
|
|
1458
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1452
1459
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1453
1460
|
created?: (() => void) | (() => void)[];
|
|
1454
1461
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -1461,18 +1468,18 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1461
1468
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
1462
1469
|
destroyed?: (() => void) | (() => void)[];
|
|
1463
1470
|
unmounted?: (() => void) | (() => void)[];
|
|
1464
|
-
renderTracked?: ((e:
|
|
1465
|
-
renderTriggered?: ((e:
|
|
1466
|
-
errorCaptured?: ((err: unknown, instance:
|
|
1471
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1472
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1473
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1467
1474
|
};
|
|
1468
1475
|
$forceUpdate: () => void;
|
|
1469
|
-
$nextTick:
|
|
1470
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
1476
|
+
$nextTick: nextTick;
|
|
1477
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1471
1478
|
} & Readonly<{
|
|
1472
1479
|
appendTo: string | HTMLElement;
|
|
1473
1480
|
title: string;
|
|
1474
1481
|
size: string | number;
|
|
1475
|
-
transition:
|
|
1482
|
+
transition: DialogTransition;
|
|
1476
1483
|
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
1477
1484
|
overflow: boolean;
|
|
1478
1485
|
closeOnClickModal: boolean;
|
|
@@ -1488,7 +1495,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1488
1495
|
ariaLevel: string;
|
|
1489
1496
|
withHeader: boolean;
|
|
1490
1497
|
modalFade: boolean;
|
|
1491
|
-
}> & Omit<Readonly<
|
|
1498
|
+
}> & Omit<Readonly< DrawerProps> & Readonly<{
|
|
1492
1499
|
onClose?: (() => any) | undefined;
|
|
1493
1500
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1494
1501
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -1499,11 +1506,11 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1499
1506
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
1500
1507
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1501
1508
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1502
|
-
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "showClose" | "closeOnPressEscape" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> &
|
|
1509
|
+
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "showClose" | "closeOnPressEscape" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & ShallowUnwrapRef<{
|
|
1503
1510
|
handleClose: () => void;
|
|
1504
1511
|
afterEnter: () => void;
|
|
1505
1512
|
afterLeave: () => void;
|
|
1506
|
-
}> & {} &
|
|
1513
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1507
1514
|
$slots: {
|
|
1508
1515
|
header?: (props: {
|
|
1509
1516
|
close: () => void;
|
|
@@ -1518,7 +1525,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1518
1525
|
footer?: (props: {}) => any;
|
|
1519
1526
|
};
|
|
1520
1527
|
}) | null, ({
|
|
1521
|
-
$:
|
|
1528
|
+
$: ComponentInternalInstance;
|
|
1522
1529
|
$data: {};
|
|
1523
1530
|
$props: {
|
|
1524
1531
|
readonly direction?: "ltr" | "rtl" | "ttb" | "btt" | undefined;
|
|
@@ -1529,7 +1536,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1529
1536
|
readonly headerAriaLevel?: string | undefined;
|
|
1530
1537
|
readonly appendToBody?: boolean | undefined;
|
|
1531
1538
|
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
1532
|
-
readonly beforeClose?:
|
|
1539
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
1533
1540
|
readonly destroyOnClose?: boolean | undefined;
|
|
1534
1541
|
readonly closeOnClickModal?: boolean | undefined;
|
|
1535
1542
|
readonly closeOnPressEscape?: boolean | undefined;
|
|
@@ -1544,10 +1551,10 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1544
1551
|
readonly width?: string | number | undefined;
|
|
1545
1552
|
readonly zIndex?: number | undefined;
|
|
1546
1553
|
readonly trapFocus?: boolean | undefined;
|
|
1547
|
-
readonly transition?:
|
|
1554
|
+
readonly transition?: DialogTransition | undefined;
|
|
1548
1555
|
readonly center?: boolean | undefined;
|
|
1549
1556
|
readonly alignCenter?: boolean | undefined;
|
|
1550
|
-
readonly closeIcon?:
|
|
1557
|
+
readonly closeIcon?: IconPropType | undefined;
|
|
1551
1558
|
readonly draggable?: boolean | undefined;
|
|
1552
1559
|
readonly overflow?: boolean | undefined;
|
|
1553
1560
|
readonly fullscreen?: boolean | undefined;
|
|
@@ -1567,7 +1574,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1567
1574
|
readonly onCloseAutoFocus?: (() => any) | undefined | undefined;
|
|
1568
1575
|
readonly "onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
1569
1576
|
readonly "onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined | undefined;
|
|
1570
|
-
} &
|
|
1577
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1571
1578
|
$attrs: {
|
|
1572
1579
|
[x: string]: unknown;
|
|
1573
1580
|
};
|
|
@@ -1575,14 +1582,14 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1575
1582
|
[x: string]: unknown;
|
|
1576
1583
|
};
|
|
1577
1584
|
$slots: Readonly<{
|
|
1578
|
-
[name: string]:
|
|
1585
|
+
[name: string]: Slot<any> | undefined;
|
|
1579
1586
|
}>;
|
|
1580
|
-
$root:
|
|
1581
|
-
$parent:
|
|
1587
|
+
$root: ComponentPublicInstance | null;
|
|
1588
|
+
$parent: ComponentPublicInstance | null;
|
|
1582
1589
|
$host: Element | null;
|
|
1583
1590
|
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => 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);
|
|
1584
1591
|
$el: any;
|
|
1585
|
-
$options:
|
|
1592
|
+
$options: ComponentOptionsBase<Readonly< DrawerProps> & Readonly<{
|
|
1586
1593
|
onClose?: (() => any) | undefined;
|
|
1587
1594
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1588
1595
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -1597,7 +1604,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1597
1604
|
handleClose: () => void;
|
|
1598
1605
|
afterEnter: () => void;
|
|
1599
1606
|
afterLeave: () => void;
|
|
1600
|
-
}, {}, {}, {},
|
|
1607
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1601
1608
|
close: () => void;
|
|
1602
1609
|
resize: (evt: MouseEvent, size: number) => void;
|
|
1603
1610
|
"update:modelValue": (value: boolean) => void;
|
|
@@ -1612,7 +1619,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1612
1619
|
appendTo: string | HTMLElement;
|
|
1613
1620
|
title: string;
|
|
1614
1621
|
size: string | number;
|
|
1615
|
-
transition:
|
|
1622
|
+
transition: DialogTransition;
|
|
1616
1623
|
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
1617
1624
|
overflow: boolean;
|
|
1618
1625
|
closeOnClickModal: boolean;
|
|
@@ -1628,7 +1635,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1628
1635
|
ariaLevel: string;
|
|
1629
1636
|
withHeader: boolean;
|
|
1630
1637
|
modalFade: boolean;
|
|
1631
|
-
}, {}, string, {},
|
|
1638
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1632
1639
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1633
1640
|
created?: (() => void) | (() => void)[];
|
|
1634
1641
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -1641,18 +1648,18 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1641
1648
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
1642
1649
|
destroyed?: (() => void) | (() => void)[];
|
|
1643
1650
|
unmounted?: (() => void) | (() => void)[];
|
|
1644
|
-
renderTracked?: ((e:
|
|
1645
|
-
renderTriggered?: ((e:
|
|
1646
|
-
errorCaptured?: ((err: unknown, instance:
|
|
1651
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1652
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1653
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1647
1654
|
};
|
|
1648
1655
|
$forceUpdate: () => void;
|
|
1649
|
-
$nextTick:
|
|
1650
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
1656
|
+
$nextTick: nextTick;
|
|
1657
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1651
1658
|
} & Readonly<{
|
|
1652
1659
|
appendTo: string | HTMLElement;
|
|
1653
1660
|
title: string;
|
|
1654
1661
|
size: string | number;
|
|
1655
|
-
transition:
|
|
1662
|
+
transition: DialogTransition;
|
|
1656
1663
|
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
1657
1664
|
overflow: boolean;
|
|
1658
1665
|
closeOnClickModal: boolean;
|
|
@@ -1668,7 +1675,7 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1668
1675
|
ariaLevel: string;
|
|
1669
1676
|
withHeader: boolean;
|
|
1670
1677
|
modalFade: boolean;
|
|
1671
|
-
}> & Omit<Readonly<
|
|
1678
|
+
}> & Omit<Readonly< DrawerProps> & Readonly<{
|
|
1672
1679
|
onClose?: (() => any) | undefined;
|
|
1673
1680
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1674
1681
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -1679,11 +1686,11 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1679
1686
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
1680
1687
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1681
1688
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1682
|
-
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "showClose" | "closeOnPressEscape" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> &
|
|
1689
|
+
}>, "title" | "appendTo" | "transition" | "size" | "draggable" | "showClose" | "closeOnPressEscape" | "direction" | "overflow" | "modal" | "closeOnClickModal" | "lockScroll" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade" | "afterEnter" | "afterLeave"> & ShallowUnwrapRef<{
|
|
1683
1690
|
handleClose: () => void;
|
|
1684
1691
|
afterEnter: () => void;
|
|
1685
1692
|
afterLeave: () => void;
|
|
1686
|
-
}> & {} &
|
|
1693
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1687
1694
|
$slots: {
|
|
1688
1695
|
header?: (props: {
|
|
1689
1696
|
close: () => void;
|
|
@@ -1698,31 +1705,31 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1698
1705
|
footer?: (props: {}) => any;
|
|
1699
1706
|
};
|
|
1700
1707
|
}) | null>;
|
|
1701
|
-
drawerApi:
|
|
1702
|
-
}, {}, {}, {},
|
|
1708
|
+
drawerApi: TtDrawerExtendedDrawerApi;
|
|
1709
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1703
1710
|
"update:visible": (args_0: boolean) => any;
|
|
1704
1711
|
"visible-change": (args_0: boolean) => any;
|
|
1705
|
-
register: (instance:
|
|
1712
|
+
register: (instance: DrawerInstance, uid: number) => any;
|
|
1706
1713
|
}, string, {
|
|
1707
1714
|
title: any;
|
|
1708
1715
|
visible: any;
|
|
1709
|
-
appendTo:
|
|
1710
|
-
transition:
|
|
1716
|
+
appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
1717
|
+
transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | null)[], unknown, unknown>;
|
|
1711
1718
|
size: any;
|
|
1712
1719
|
class: any;
|
|
1713
1720
|
center: boolean;
|
|
1714
1721
|
height: any;
|
|
1715
|
-
draggable:
|
|
1716
|
-
showClose:
|
|
1722
|
+
draggable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1723
|
+
showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1717
1724
|
loading: any;
|
|
1718
1725
|
modelValue: boolean;
|
|
1719
|
-
closeOnPressEscape:
|
|
1726
|
+
closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1720
1727
|
loadingText: any;
|
|
1721
1728
|
showFooter: any;
|
|
1722
1729
|
resizable: boolean;
|
|
1723
1730
|
fullscreen: boolean;
|
|
1724
|
-
direction:
|
|
1725
|
-
overflow:
|
|
1731
|
+
direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
1732
|
+
overflow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1726
1733
|
testId: any;
|
|
1727
1734
|
modal: boolean;
|
|
1728
1735
|
cancelText: any;
|
|
@@ -1730,35 +1737,35 @@ export declare const RenderDrawer: import('../../../../utils/src').SFCWithInstal
|
|
|
1730
1737
|
showCancelBtn: any;
|
|
1731
1738
|
showOkBtn: any;
|
|
1732
1739
|
confirmLoading: any;
|
|
1733
|
-
okButtonProps: Partial<
|
|
1734
|
-
cancelButtonProps: Partial<
|
|
1740
|
+
okButtonProps: Partial< ButtonProps>;
|
|
1741
|
+
cancelButtonProps: Partial< ButtonProps>;
|
|
1735
1742
|
appendToBody: boolean;
|
|
1736
1743
|
destroyOnClose: boolean;
|
|
1737
|
-
closeOnClickModal:
|
|
1738
|
-
lockScroll:
|
|
1744
|
+
closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1745
|
+
lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1739
1746
|
modalPenetrable: boolean;
|
|
1740
1747
|
openDelay: number;
|
|
1741
1748
|
closeDelay: number;
|
|
1742
1749
|
trapFocus: boolean;
|
|
1743
1750
|
headerAriaLevel: string;
|
|
1744
|
-
alignCenter:
|
|
1751
|
+
alignCenter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1745
1752
|
ariaLevel: string;
|
|
1746
1753
|
showConfirm: any;
|
|
1747
1754
|
maskClosable: any;
|
|
1748
1755
|
confirmContent: any;
|
|
1749
1756
|
footerHeight: string | number;
|
|
1750
|
-
withHeader:
|
|
1751
|
-
modalFade:
|
|
1757
|
+
withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1758
|
+
modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1752
1759
|
okType: any;
|
|
1753
|
-
drawerApi:
|
|
1754
|
-
}, {}, string, {},
|
|
1760
|
+
drawerApi: TtDrawerExtendedDrawerApi;
|
|
1761
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
1755
1762
|
$slots: Readonly<{
|
|
1756
|
-
[item: string]: (...args:
|
|
1763
|
+
[item: string]: (...args: Recordable[]) => void;
|
|
1757
1764
|
default: () => void;
|
|
1758
1765
|
header: () => void;
|
|
1759
1766
|
titleToolbar: () => void;
|
|
1760
1767
|
}> & {
|
|
1761
|
-
[item: string]: (...args:
|
|
1768
|
+
[item: string]: (...args: Recordable[]) => void;
|
|
1762
1769
|
default: () => void;
|
|
1763
1770
|
header: () => void;
|
|
1764
1771
|
titleToolbar: () => void;
|