@dazhicheng/ui 1.6.25 → 1.6.26
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 +35 -24
- package/dist/components/tt-api-component/index.vue.d.ts +34 -0
- package/dist/components/tt-area/TtArea.vue.d.ts +2 -0
- package/dist/components/tt-area/index.d.ts +1 -1
- package/dist/components/tt-button/components/AddButton.vue.d.ts +2 -0
- package/dist/components/tt-button/index.d.ts +589 -260
- package/dist/components/tt-button/index.vue.d.ts +466 -0
- package/dist/components/tt-checkbox/index.d.ts +35 -26
- package/dist/components/tt-checkbox/index.vue.d.ts +28 -0
- package/dist/components/tt-drawer/index.d.ts +299 -306
- package/dist/components/tt-drawer/src/{RenderDrawer.d.ts → RenderDrawer.vue.d.ts} +146 -149
- package/dist/components/tt-drawer/src/components/{DrawerFooter.d.ts → DrawerFooter.vue.d.ts} +16 -18
- package/dist/components/tt-drawer/src/components/{DrawerHeader.d.ts → DrawerHeader.vue.d.ts} +3 -4
- 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 +2 -4
- package/dist/components/tt-empty/index.d.ts +8 -10
- package/dist/components/tt-form/src/components/{ExpandableArrow.d.ts → ExpandableArrow.vue.d.ts} +4 -5
- package/dist/components/tt-form/src/components/{FormActions.d.ts → FormActions.vue.d.ts} +5 -6
- package/dist/components/tt-form/src/components/{FormElInput.d.ts → FormElInput.vue.d.ts} +101 -105
- package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
- package/dist/components/tt-form/src/form/{FormControl.d.ts → FormControl.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{FormDescription.d.ts → FormDescription.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{FormItem.d.ts → FormItem.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{FormLabel.d.ts → FormLabel.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +2 -0
- package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +8 -0
- package/dist/components/tt-form/src/form/{FormWarnMessage.d.ts → FormWarnMessage.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{RenderContent.d.ts → RenderContent.vue.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 +5 -6
- package/dist/components/tt-form/src/form-render/{FormField.d.ts → FormField.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
- package/dist/components/tt-form/src/form-render/{FormLabel.d.ts → FormLabel.vue.d.ts} +2 -3
- package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +11 -14
- package/dist/components/tt-form/src/form-render/context.d.ts +4 -5
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +6 -7
- package/dist/components/tt-form/src/form-render/expandable.d.ts +3 -4
- package/dist/components/tt-form/src/form-render/{form.d.ts → form.vue.d.ts} +8 -9
- 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.d.ts → GroupForm.vue.d.ts} +5 -7
- package/dist/components/tt-form/src/group-form/{GroupSection.d.ts → GroupSection.vue.d.ts} +5 -7
- package/dist/components/tt-form/src/group-form/{LazyFormField.d.ts → LazyFormField.vue.d.ts} +3 -5
- package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +5 -7
- package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +2 -3
- 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.vue.d.ts +216 -0
- package/dist/components/tt-form/src/useForm.d.ts +1 -2
- package/dist/components/tt-form/src/useFormContext.d.ts +1 -2
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +337 -61
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +298 -0
- package/dist/components/tt-icon/components/AddIcon.vue.d.ts +7 -0
- package/dist/components/tt-icon/components/SubIcon.vue.d.ts +7 -0
- package/dist/components/tt-icon/index.d.ts +115 -24
- package/dist/components/tt-icon/index.vue.d.ts +32 -0
- package/dist/components/tt-image/index.d.ts +41 -45
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +26 -30
- package/dist/components/tt-image/tt-image.d.ts +34 -36
- package/dist/components/tt-loading/index.d.ts +2 -5
- package/dist/components/tt-loading/src/loading.vue.d.ts +12 -0
- package/dist/components/tt-log/index.d.ts +6 -7
- package/dist/components/tt-log/index.vue.d.ts +5 -0
- package/dist/components/tt-modal/index.d.ts +364 -371
- package/dist/components/tt-modal/src/{RenderModal.d.ts → RenderModal.vue.d.ts} +115 -118
- package/dist/components/tt-modal/src/components/{ModalFooter.d.ts → ModalFooter.vue.d.ts} +23 -26
- package/dist/components/tt-modal/src/components/{ModalHeader.d.ts → ModalHeader.vue.d.ts} +3 -4
- package/dist/components/tt-modal/src/components/{ModalWrapper.d.ts → ModalWrapper.vue.d.ts} +24 -27
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +29 -32
- package/dist/components/tt-modal/src/typing.d.ts +2 -2
- package/dist/components/tt-modal/src/utils/modal-api.d.ts +1 -2
- package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +2 -3
- package/dist/components/tt-modal-form/index.d.ts +2 -46
- package/dist/components/tt-modal-form/index.vue.d.ts +45 -0
- package/dist/components/tt-modal-form/useModalForm.d.ts +3 -4
- package/dist/components/tt-nav-anchor/index.d.ts +12 -15
- package/dist/components/tt-nav-anchor/src/{TtNavAnchor.d.ts → TtNavAnchor.vue.d.ts} +4 -4
- package/dist/components/tt-panel-select/index.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/{PanelLeft.d.ts → PanelLeft.vue.d.ts} +3 -4
- package/dist/components/tt-panel-select/src/components/{PanelMiddle.d.ts → PanelMiddle.vue.d.ts} +80 -83
- package/dist/components/tt-panel-select/src/components/{PanelRight.d.ts → PanelRight.vue.d.ts} +32 -34
- package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +6 -7
- package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
- package/dist/components/tt-panel-select/src/{index.d.ts → index.vue.d.ts} +80 -84
- package/dist/components/tt-radio-group/index.d.ts +50 -31
- package/dist/components/tt-radio-group/index.vue.d.ts +33 -0
- package/dist/components/tt-select/index.d.ts +1 -1
- package/dist/components/tt-select/src/{Select.d.ts → Select.vue.d.ts} +141 -146
- package/dist/components/tt-select/src/components/{SelectTable.d.ts → SelectTable.vue.d.ts} +36 -40
- package/dist/components/tt-select/src/components/{Table.d.ts → Table.vue.d.ts} +38 -41
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/usePagination.d.ts +3 -4
- 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 +279 -287
- package/dist/components/tt-table/src/{Table.d.ts → Table.vue.d.ts} +204 -209
- package/dist/components/tt-table/src/{TableForm.d.ts → TableForm.vue.d.ts} +80 -83
- package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableAction.d.ts → TableAction.vue.d.ts} +4 -4
- package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableColumnModal.d.ts → TableColumnModal.vue.d.ts} +4 -5
- package/dist/components/tt-table/src/components/{TableToolbarTools.d.ts → TableToolbarTools.vue.d.ts} +6 -7
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +44 -45
- 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 +110 -112
- package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
- package/dist/components/tt-table/src/props.d.ts +17 -19
- 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 +1 -2
- package/dist/components/tt-text/index.d.ts +59 -34
- package/dist/components/tt-text/index.vue.d.ts +50 -0
- package/dist/components/tt-upload/index.d.ts +311 -317
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +517 -0
- package/dist/components/tt-upload/src/typing.d.ts +47 -49
- package/dist/hooks/useLoading.d.ts +2 -2
- package/dist/hooks/useScreenshotOss.d.ts +2 -2
- package/dist/index.d.ts +1 -2
- package/package.json +3 -3
- package/dist/components/tt-area/TtArea.d.ts +0 -3
- package/dist/components/tt-button/components/AddButton.d.ts +0 -3
- package/dist/components/tt-form/src/form/FormMessage.d.ts +0 -3
- package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +0 -9
- package/dist/components/tt-form/src/index.d.ts +0 -217
- package/dist/components/tt-icon/components/AddIcon.d.ts +0 -8
- package/dist/components/tt-icon/components/SubIcon.d.ts +0 -8
- package/dist/components/tt-loading/src/loading.d.ts +0 -13
- package/dist/components/tt-upload/src/TtUpload.d.ts +0 -519
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { TtModalExtendedModalApi, ModalMethods } from '.';
|
|
4
|
-
import { ButtonProps, DialogBeforeCloseFn, DialogTransition } from 'element-plus';
|
|
5
|
-
import { TipConfig } from '../../directives/disabled-tip';
|
|
6
|
-
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
|
7
|
-
import { OnCleanup } from '@vue/reactivity';
|
|
8
|
-
export declare const RenderModal: SFCWithInstall<{
|
|
9
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
1
|
+
export declare const RenderModal: import('../../../../utils/src').SFCWithInstall<{
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
10
3
|
modalApi: {
|
|
11
|
-
type: PropType<TtModalExtendedModalApi>;
|
|
4
|
+
type: import('vue').PropType<import('.').TtModalExtendedModalApi>;
|
|
12
5
|
default: undefined;
|
|
13
6
|
};
|
|
14
7
|
testId: any;
|
|
@@ -30,7 +23,7 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
30
23
|
type: BooleanConstructor;
|
|
31
24
|
default: boolean;
|
|
32
25
|
};
|
|
33
|
-
closeFunc: PropType<() => Promise<boolean>>;
|
|
26
|
+
closeFunc: import('vue').PropType<() => Promise<boolean>>;
|
|
34
27
|
draggable: {
|
|
35
28
|
type: BooleanConstructor;
|
|
36
29
|
default: boolean;
|
|
@@ -68,23 +61,23 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
68
61
|
cancelLoading: {
|
|
69
62
|
type: BooleanConstructor;
|
|
70
63
|
};
|
|
71
|
-
width: PropType<string | number>;
|
|
64
|
+
width: import('vue').PropType<string | number>;
|
|
72
65
|
top: {
|
|
73
66
|
type: StringConstructor;
|
|
74
67
|
};
|
|
75
68
|
size: {
|
|
76
|
-
type: PropType<"medium" | "small" | "mini">;
|
|
69
|
+
type: import('vue').PropType<"medium" | "small" | "mini">;
|
|
77
70
|
default: string;
|
|
78
71
|
};
|
|
79
72
|
okButtonProps: {
|
|
80
|
-
type: PropType<Partial<
|
|
81
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
73
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps> & {
|
|
74
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
82
75
|
}>;
|
|
83
|
-
default: Partial<
|
|
76
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
84
77
|
};
|
|
85
78
|
cancelButtonProps: {
|
|
86
|
-
type: PropType<Partial<
|
|
87
|
-
default: Partial<
|
|
79
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps>>;
|
|
80
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
88
81
|
};
|
|
89
82
|
isBottom: {
|
|
90
83
|
type: BooleanConstructor;
|
|
@@ -95,73 +88,73 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
95
88
|
default: () => boolean | undefined;
|
|
96
89
|
};
|
|
97
90
|
appendToBody: BooleanConstructor;
|
|
98
|
-
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>;
|
|
91
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | (((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>)) | null)[], unknown, unknown, "body", boolean>;
|
|
99
92
|
beforeClose: {
|
|
100
|
-
readonly type: PropType<DialogBeforeCloseFn>;
|
|
93
|
+
readonly type: import('vue').PropType<import('element-plus').DialogBeforeCloseFn>;
|
|
101
94
|
readonly required: false;
|
|
102
95
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
103
96
|
__epPropKey: true;
|
|
104
97
|
};
|
|
105
98
|
destroyOnClose: BooleanConstructor;
|
|
106
|
-
closeOnClickModal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
107
|
-
closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
108
|
-
lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
99
|
+
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
100
|
+
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
101
|
+
lockScroll: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
109
102
|
modalPenetrable: BooleanConstructor;
|
|
110
|
-
openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
111
|
-
closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
103
|
+
openDelay: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
104
|
+
closeDelay: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
112
105
|
modelValue: BooleanConstructor;
|
|
113
106
|
modalClass: StringConstructor;
|
|
114
107
|
headerClass: StringConstructor;
|
|
115
108
|
bodyClass: StringConstructor;
|
|
116
109
|
footerClass: StringConstructor;
|
|
117
110
|
zIndex: {
|
|
118
|
-
readonly type: PropType<number>;
|
|
111
|
+
readonly type: import('vue').PropType<number>;
|
|
119
112
|
readonly required: false;
|
|
120
113
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
121
114
|
__epPropKey: true;
|
|
122
115
|
};
|
|
123
116
|
trapFocus: BooleanConstructor;
|
|
124
|
-
headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
125
|
-
transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | (((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
117
|
+
headerAriaLevel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
118
|
+
transition: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | (((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
126
119
|
center: BooleanConstructor;
|
|
127
|
-
alignCenter: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
120
|
+
alignCenter: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
128
121
|
closeIcon: {
|
|
129
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>;
|
|
122
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | (((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component)) | null)[], unknown, unknown>>;
|
|
130
123
|
readonly required: false;
|
|
131
124
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
132
125
|
__epPropKey: true;
|
|
133
126
|
};
|
|
134
|
-
overflow: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
135
|
-
showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
136
|
-
ariaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
127
|
+
overflow: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
128
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
129
|
+
ariaLevel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
137
130
|
}>> & Readonly<{
|
|
138
131
|
"onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
|
|
139
132
|
"onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
140
|
-
onRegister?: ((args_0: ModalMethods, args_1: string) => any) | undefined;
|
|
133
|
+
onRegister?: ((args_0: import('.').ModalMethods, args_1: string) => any) | undefined;
|
|
141
134
|
}>, {
|
|
142
|
-
modalApi: TtModalExtendedModalApi;
|
|
143
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
135
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
136
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
144
137
|
"update:visible": (args_0: boolean) => any;
|
|
145
138
|
"visible-change": (args_0: boolean) => any;
|
|
146
|
-
register: (args_0: ModalMethods, args_1: string) => any;
|
|
147
|
-
}, PublicProps, {
|
|
139
|
+
register: (args_0: import('.').ModalMethods, args_1: string) => any;
|
|
140
|
+
}, import('vue').PublicProps, {
|
|
148
141
|
title: any;
|
|
149
142
|
visible: boolean;
|
|
150
|
-
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>;
|
|
151
|
-
transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | null)[], unknown, unknown>;
|
|
143
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
144
|
+
transition: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | ((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | null)[], unknown, unknown>;
|
|
152
145
|
size: "small" | "medium" | "mini";
|
|
153
146
|
center: boolean;
|
|
154
147
|
height: any;
|
|
155
148
|
draggable: boolean;
|
|
156
|
-
showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
149
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
157
150
|
loading: boolean;
|
|
158
151
|
modelValue: boolean;
|
|
159
|
-
closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
152
|
+
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
160
153
|
scrollTop: boolean;
|
|
161
154
|
minHeight: any;
|
|
162
155
|
showFooter: boolean;
|
|
163
156
|
fullscreen: boolean;
|
|
164
|
-
overflow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
157
|
+
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
165
158
|
testId: any;
|
|
166
159
|
modal: boolean;
|
|
167
160
|
cancelText: string;
|
|
@@ -171,26 +164,26 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
171
164
|
showOkBtn: boolean;
|
|
172
165
|
confirmLoading: boolean;
|
|
173
166
|
cancelLoading: boolean;
|
|
174
|
-
okButtonProps: Partial<
|
|
175
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
167
|
+
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
168
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
176
169
|
};
|
|
177
|
-
cancelButtonProps: Partial<
|
|
170
|
+
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
178
171
|
isBottom: boolean;
|
|
179
172
|
appendToBody: boolean;
|
|
180
173
|
destroyOnClose: boolean;
|
|
181
|
-
closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
182
|
-
lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
174
|
+
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
175
|
+
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
183
176
|
modalPenetrable: boolean;
|
|
184
177
|
openDelay: number;
|
|
185
178
|
closeDelay: number;
|
|
186
179
|
trapFocus: boolean;
|
|
187
180
|
headerAriaLevel: string;
|
|
188
|
-
alignCenter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
181
|
+
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
189
182
|
ariaLevel: string;
|
|
190
|
-
modalApi: TtModalExtendedModalApi;
|
|
191
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
183
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
184
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
192
185
|
modalWrapperRef: ({
|
|
193
|
-
$: ComponentInternalInstance;
|
|
186
|
+
$: import('vue').ComponentInternalInstance;
|
|
194
187
|
$data: {};
|
|
195
188
|
$props: Partial<{
|
|
196
189
|
title: any;
|
|
@@ -213,10 +206,10 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
213
206
|
showOkBtn: boolean;
|
|
214
207
|
confirmLoading: boolean;
|
|
215
208
|
cancelLoading: boolean;
|
|
216
|
-
okButtonProps: Partial<
|
|
217
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
209
|
+
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
210
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
218
211
|
};
|
|
219
|
-
cancelButtonProps: Partial<
|
|
212
|
+
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
220
213
|
isBottom: boolean;
|
|
221
214
|
}> & Omit<{
|
|
222
215
|
readonly title: any;
|
|
@@ -239,17 +232,17 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
239
232
|
readonly showOkBtn: boolean;
|
|
240
233
|
readonly confirmLoading: boolean;
|
|
241
234
|
readonly cancelLoading: boolean;
|
|
242
|
-
readonly okButtonProps: Partial<
|
|
243
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
235
|
+
readonly okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
236
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
244
237
|
};
|
|
245
|
-
readonly cancelButtonProps: Partial<
|
|
238
|
+
readonly cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
246
239
|
readonly isBottom: boolean;
|
|
247
240
|
readonly top?: string | undefined;
|
|
248
241
|
readonly width?: string | number | undefined;
|
|
249
242
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
250
243
|
readonly loadingTip?: string | undefined;
|
|
251
244
|
readonly "onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
252
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "contained" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
245
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "contained" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
253
246
|
$attrs: {
|
|
254
247
|
[x: string]: unknown;
|
|
255
248
|
};
|
|
@@ -259,14 +252,14 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
259
252
|
wrapperRef: HTMLDivElement;
|
|
260
253
|
};
|
|
261
254
|
$slots: Readonly<{
|
|
262
|
-
[name: string]: Slot<any> | undefined;
|
|
255
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
263
256
|
}>;
|
|
264
|
-
$root: ComponentPublicInstance | null;
|
|
265
|
-
$parent: ComponentPublicInstance | null;
|
|
257
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
258
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
266
259
|
$host: Element | null;
|
|
267
260
|
$emit: (event: "is-scroll", ...args: any[]) => void;
|
|
268
261
|
$el: HTMLDivElement;
|
|
269
|
-
$options: ComponentOptionsBase<Readonly<
|
|
262
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
270
263
|
contained: {
|
|
271
264
|
type: BooleanConstructor;
|
|
272
265
|
default: boolean;
|
|
@@ -290,7 +283,7 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
290
283
|
type: BooleanConstructor;
|
|
291
284
|
default: boolean;
|
|
292
285
|
};
|
|
293
|
-
closeFunc: PropType<() => Promise<boolean>>;
|
|
286
|
+
closeFunc: import('vue').PropType<() => Promise<boolean>>;
|
|
294
287
|
draggable: {
|
|
295
288
|
type: BooleanConstructor;
|
|
296
289
|
default: boolean;
|
|
@@ -328,23 +321,23 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
328
321
|
cancelLoading: {
|
|
329
322
|
type: BooleanConstructor;
|
|
330
323
|
};
|
|
331
|
-
width: PropType<string | number>;
|
|
324
|
+
width: import('vue').PropType<string | number>;
|
|
332
325
|
top: {
|
|
333
326
|
type: StringConstructor;
|
|
334
327
|
};
|
|
335
328
|
size: {
|
|
336
|
-
type: PropType<"medium" | "small" | "mini">;
|
|
329
|
+
type: import('vue').PropType<"medium" | "small" | "mini">;
|
|
337
330
|
default: string;
|
|
338
331
|
};
|
|
339
332
|
okButtonProps: {
|
|
340
|
-
type: PropType<Partial<
|
|
341
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
333
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps> & {
|
|
334
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
342
335
|
}>;
|
|
343
|
-
default: Partial<
|
|
336
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
344
337
|
};
|
|
345
338
|
cancelButtonProps: {
|
|
346
|
-
type: PropType<Partial<
|
|
347
|
-
default: Partial<
|
|
339
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps>>;
|
|
340
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
348
341
|
};
|
|
349
342
|
isBottom: {
|
|
350
343
|
type: BooleanConstructor;
|
|
@@ -359,8 +352,8 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
359
352
|
}>, {
|
|
360
353
|
onScrollBottom: () => void;
|
|
361
354
|
setModalHeight: () => void;
|
|
362
|
-
elm: Ref<any, any>;
|
|
363
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
355
|
+
elm: import('vue').Ref<any, any>;
|
|
356
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
364
357
|
"is-scroll": (...args: any[]) => void;
|
|
365
358
|
}, string, {
|
|
366
359
|
title: any;
|
|
@@ -383,12 +376,12 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
383
376
|
showOkBtn: boolean;
|
|
384
377
|
confirmLoading: boolean;
|
|
385
378
|
cancelLoading: boolean;
|
|
386
|
-
okButtonProps: Partial<
|
|
387
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
379
|
+
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
380
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
388
381
|
};
|
|
389
|
-
cancelButtonProps: Partial<
|
|
382
|
+
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
390
383
|
isBottom: boolean;
|
|
391
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
384
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
392
385
|
beforeCreate?: (() => void) | (() => void)[];
|
|
393
386
|
created?: (() => void) | (() => void)[];
|
|
394
387
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -401,13 +394,13 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
401
394
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
402
395
|
destroyed?: (() => void) | (() => void)[];
|
|
403
396
|
unmounted?: (() => void) | (() => void)[];
|
|
404
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
405
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
406
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
397
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
398
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
399
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
407
400
|
};
|
|
408
401
|
$forceUpdate: () => void;
|
|
409
|
-
$nextTick: nextTick;
|
|
410
|
-
$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;
|
|
402
|
+
$nextTick: typeof import('vue').nextTick;
|
|
403
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
411
404
|
} & Readonly<{
|
|
412
405
|
title: any;
|
|
413
406
|
visible: boolean;
|
|
@@ -429,12 +422,12 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
429
422
|
showOkBtn: boolean;
|
|
430
423
|
confirmLoading: boolean;
|
|
431
424
|
cancelLoading: boolean;
|
|
432
|
-
okButtonProps: Partial<
|
|
433
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
425
|
+
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
426
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
434
427
|
};
|
|
435
|
-
cancelButtonProps: Partial<
|
|
428
|
+
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
436
429
|
isBottom: boolean;
|
|
437
|
-
}> & Omit<Readonly<
|
|
430
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
438
431
|
contained: {
|
|
439
432
|
type: BooleanConstructor;
|
|
440
433
|
default: boolean;
|
|
@@ -458,7 +451,7 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
458
451
|
type: BooleanConstructor;
|
|
459
452
|
default: boolean;
|
|
460
453
|
};
|
|
461
|
-
closeFunc: PropType<() => Promise<boolean>>;
|
|
454
|
+
closeFunc: import('vue').PropType<() => Promise<boolean>>;
|
|
462
455
|
draggable: {
|
|
463
456
|
type: BooleanConstructor;
|
|
464
457
|
default: boolean;
|
|
@@ -496,23 +489,23 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
496
489
|
cancelLoading: {
|
|
497
490
|
type: BooleanConstructor;
|
|
498
491
|
};
|
|
499
|
-
width: PropType<string | number>;
|
|
492
|
+
width: import('vue').PropType<string | number>;
|
|
500
493
|
top: {
|
|
501
494
|
type: StringConstructor;
|
|
502
495
|
};
|
|
503
496
|
size: {
|
|
504
|
-
type: PropType<"medium" | "small" | "mini">;
|
|
497
|
+
type: import('vue').PropType<"medium" | "small" | "mini">;
|
|
505
498
|
default: string;
|
|
506
499
|
};
|
|
507
500
|
okButtonProps: {
|
|
508
|
-
type: PropType<Partial<
|
|
509
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
501
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps> & {
|
|
502
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
510
503
|
}>;
|
|
511
|
-
default: Partial<
|
|
504
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
512
505
|
};
|
|
513
506
|
cancelButtonProps: {
|
|
514
|
-
type: PropType<Partial<
|
|
515
|
-
default: Partial<
|
|
507
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps>>;
|
|
508
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
516
509
|
};
|
|
517
510
|
isBottom: {
|
|
518
511
|
type: BooleanConstructor;
|
|
@@ -524,25 +517,25 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
524
517
|
};
|
|
525
518
|
}>> & Readonly<{
|
|
526
519
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
527
|
-
}>, "onScrollBottom" | "setModalHeight" | "elm" | ("title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "contained" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom")> & ShallowUnwrapRef<{
|
|
520
|
+
}>, "onScrollBottom" | "setModalHeight" | "elm" | ("title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "contained" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom")> & import('vue').ShallowUnwrapRef<{
|
|
528
521
|
onScrollBottom: () => void;
|
|
529
522
|
setModalHeight: () => void;
|
|
530
|
-
elm: Ref<any, any>;
|
|
531
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
523
|
+
elm: import('vue').Ref<any, any>;
|
|
524
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
532
525
|
$slots: {
|
|
533
526
|
default?(_: {}): any;
|
|
534
527
|
};
|
|
535
528
|
}) | null;
|
|
536
|
-
}, HTMLDivElement, ComponentProvideOptions, {
|
|
529
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
537
530
|
P: {};
|
|
538
531
|
B: {};
|
|
539
532
|
D: {};
|
|
540
533
|
C: {};
|
|
541
534
|
M: {};
|
|
542
535
|
Defaults: {};
|
|
543
|
-
}, Readonly<
|
|
536
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
544
537
|
modalApi: {
|
|
545
|
-
type: PropType<TtModalExtendedModalApi>;
|
|
538
|
+
type: import('vue').PropType<import('.').TtModalExtendedModalApi>;
|
|
546
539
|
default: undefined;
|
|
547
540
|
};
|
|
548
541
|
testId: any;
|
|
@@ -564,7 +557,7 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
564
557
|
type: BooleanConstructor;
|
|
565
558
|
default: boolean;
|
|
566
559
|
};
|
|
567
|
-
closeFunc: PropType<() => Promise<boolean>>;
|
|
560
|
+
closeFunc: import('vue').PropType<() => Promise<boolean>>;
|
|
568
561
|
draggable: {
|
|
569
562
|
type: BooleanConstructor;
|
|
570
563
|
default: boolean;
|
|
@@ -602,23 +595,23 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
602
595
|
cancelLoading: {
|
|
603
596
|
type: BooleanConstructor;
|
|
604
597
|
};
|
|
605
|
-
width: PropType<string | number>;
|
|
598
|
+
width: import('vue').PropType<string | number>;
|
|
606
599
|
top: {
|
|
607
600
|
type: StringConstructor;
|
|
608
601
|
};
|
|
609
602
|
size: {
|
|
610
|
-
type: PropType<"medium" | "small" | "mini">;
|
|
603
|
+
type: import('vue').PropType<"medium" | "small" | "mini">;
|
|
611
604
|
default: string;
|
|
612
605
|
};
|
|
613
606
|
okButtonProps: {
|
|
614
|
-
type: PropType<Partial<
|
|
615
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
607
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps> & {
|
|
608
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
616
609
|
}>;
|
|
617
|
-
default: Partial<
|
|
610
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
618
611
|
};
|
|
619
612
|
cancelButtonProps: {
|
|
620
|
-
type: PropType<Partial<
|
|
621
|
-
default: Partial<
|
|
613
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps>>;
|
|
614
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
622
615
|
};
|
|
623
616
|
isBottom: {
|
|
624
617
|
type: BooleanConstructor;
|
|
@@ -629,69 +622,69 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
629
622
|
default: () => boolean | undefined;
|
|
630
623
|
};
|
|
631
624
|
appendToBody: BooleanConstructor;
|
|
632
|
-
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>;
|
|
625
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | (((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>)) | null)[], unknown, unknown, "body", boolean>;
|
|
633
626
|
beforeClose: {
|
|
634
|
-
readonly type: PropType<DialogBeforeCloseFn>;
|
|
627
|
+
readonly type: import('vue').PropType<import('element-plus').DialogBeforeCloseFn>;
|
|
635
628
|
readonly required: false;
|
|
636
629
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
637
630
|
__epPropKey: true;
|
|
638
631
|
};
|
|
639
632
|
destroyOnClose: BooleanConstructor;
|
|
640
|
-
closeOnClickModal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
641
|
-
closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
642
|
-
lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
633
|
+
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
634
|
+
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
635
|
+
lockScroll: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
643
636
|
modalPenetrable: BooleanConstructor;
|
|
644
|
-
openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
645
|
-
closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
637
|
+
openDelay: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
638
|
+
closeDelay: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
646
639
|
modelValue: BooleanConstructor;
|
|
647
640
|
modalClass: StringConstructor;
|
|
648
641
|
headerClass: StringConstructor;
|
|
649
642
|
bodyClass: StringConstructor;
|
|
650
643
|
footerClass: StringConstructor;
|
|
651
644
|
zIndex: {
|
|
652
|
-
readonly type: PropType<number>;
|
|
645
|
+
readonly type: import('vue').PropType<number>;
|
|
653
646
|
readonly required: false;
|
|
654
647
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
655
648
|
__epPropKey: true;
|
|
656
649
|
};
|
|
657
650
|
trapFocus: BooleanConstructor;
|
|
658
|
-
headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
659
|
-
transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | (((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
651
|
+
headerAriaLevel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
652
|
+
transition: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | (((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
660
653
|
center: BooleanConstructor;
|
|
661
|
-
alignCenter: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
654
|
+
alignCenter: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
662
655
|
closeIcon: {
|
|
663
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>;
|
|
656
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | (((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component)) | null)[], unknown, unknown>>;
|
|
664
657
|
readonly required: false;
|
|
665
658
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
666
659
|
__epPropKey: true;
|
|
667
660
|
};
|
|
668
|
-
overflow: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
669
|
-
showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
670
|
-
ariaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
661
|
+
overflow: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
662
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
663
|
+
ariaLevel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
671
664
|
}>> & Readonly<{
|
|
672
665
|
"onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
|
|
673
666
|
"onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
674
|
-
onRegister?: ((args_0: ModalMethods, args_1: string) => any) | undefined;
|
|
667
|
+
onRegister?: ((args_0: import('.').ModalMethods, args_1: string) => any) | undefined;
|
|
675
668
|
}>, {
|
|
676
|
-
modalApi: TtModalExtendedModalApi;
|
|
669
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
677
670
|
}, {}, {}, {}, {
|
|
678
671
|
title: any;
|
|
679
672
|
visible: boolean;
|
|
680
|
-
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>;
|
|
681
|
-
transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | null)[], unknown, unknown>;
|
|
673
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
674
|
+
transition: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | ((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | null)[], unknown, unknown>;
|
|
682
675
|
size: "small" | "medium" | "mini";
|
|
683
676
|
center: boolean;
|
|
684
677
|
height: any;
|
|
685
678
|
draggable: boolean;
|
|
686
|
-
showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
679
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
687
680
|
loading: boolean;
|
|
688
681
|
modelValue: boolean;
|
|
689
|
-
closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
682
|
+
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
690
683
|
scrollTop: boolean;
|
|
691
684
|
minHeight: any;
|
|
692
685
|
showFooter: boolean;
|
|
693
686
|
fullscreen: boolean;
|
|
694
|
-
overflow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
687
|
+
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
695
688
|
testId: any;
|
|
696
689
|
modal: boolean;
|
|
697
690
|
cancelText: string;
|
|
@@ -701,30 +694,30 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
701
694
|
showOkBtn: boolean;
|
|
702
695
|
confirmLoading: boolean;
|
|
703
696
|
cancelLoading: boolean;
|
|
704
|
-
okButtonProps: Partial<
|
|
705
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
697
|
+
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
698
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
706
699
|
};
|
|
707
|
-
cancelButtonProps: Partial<
|
|
700
|
+
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
708
701
|
isBottom: boolean;
|
|
709
702
|
appendToBody: boolean;
|
|
710
703
|
destroyOnClose: boolean;
|
|
711
|
-
closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
712
|
-
lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
704
|
+
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
705
|
+
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
713
706
|
modalPenetrable: boolean;
|
|
714
707
|
openDelay: number;
|
|
715
708
|
closeDelay: number;
|
|
716
709
|
trapFocus: boolean;
|
|
717
710
|
headerAriaLevel: string;
|
|
718
|
-
alignCenter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
711
|
+
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
719
712
|
ariaLevel: string;
|
|
720
|
-
modalApi: TtModalExtendedModalApi;
|
|
713
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
721
714
|
}>;
|
|
722
715
|
__isFragment?: never;
|
|
723
716
|
__isTeleport?: never;
|
|
724
717
|
__isSuspense?: never;
|
|
725
|
-
} & ComponentOptionsBase<Readonly<
|
|
718
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
726
719
|
modalApi: {
|
|
727
|
-
type: PropType<TtModalExtendedModalApi>;
|
|
720
|
+
type: import('vue').PropType<import('.').TtModalExtendedModalApi>;
|
|
728
721
|
default: undefined;
|
|
729
722
|
};
|
|
730
723
|
testId: any;
|
|
@@ -746,7 +739,7 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
746
739
|
type: BooleanConstructor;
|
|
747
740
|
default: boolean;
|
|
748
741
|
};
|
|
749
|
-
closeFunc: PropType<() => Promise<boolean>>;
|
|
742
|
+
closeFunc: import('vue').PropType<() => Promise<boolean>>;
|
|
750
743
|
draggable: {
|
|
751
744
|
type: BooleanConstructor;
|
|
752
745
|
default: boolean;
|
|
@@ -784,23 +777,23 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
784
777
|
cancelLoading: {
|
|
785
778
|
type: BooleanConstructor;
|
|
786
779
|
};
|
|
787
|
-
width: PropType<string | number>;
|
|
780
|
+
width: import('vue').PropType<string | number>;
|
|
788
781
|
top: {
|
|
789
782
|
type: StringConstructor;
|
|
790
783
|
};
|
|
791
784
|
size: {
|
|
792
|
-
type: PropType<"medium" | "small" | "mini">;
|
|
785
|
+
type: import('vue').PropType<"medium" | "small" | "mini">;
|
|
793
786
|
default: string;
|
|
794
787
|
};
|
|
795
788
|
okButtonProps: {
|
|
796
|
-
type: PropType<Partial<
|
|
797
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
789
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps> & {
|
|
790
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
798
791
|
}>;
|
|
799
|
-
default: Partial<
|
|
792
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
800
793
|
};
|
|
801
794
|
cancelButtonProps: {
|
|
802
|
-
type: PropType<Partial<
|
|
803
|
-
default: Partial<
|
|
795
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps>>;
|
|
796
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
804
797
|
};
|
|
805
798
|
isBottom: {
|
|
806
799
|
type: BooleanConstructor;
|
|
@@ -811,73 +804,73 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
811
804
|
default: () => boolean | undefined;
|
|
812
805
|
};
|
|
813
806
|
appendToBody: BooleanConstructor;
|
|
814
|
-
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>;
|
|
807
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | (((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>)) | null)[], unknown, unknown, "body", boolean>;
|
|
815
808
|
beforeClose: {
|
|
816
|
-
readonly type: PropType<DialogBeforeCloseFn>;
|
|
809
|
+
readonly type: import('vue').PropType<import('element-plus').DialogBeforeCloseFn>;
|
|
817
810
|
readonly required: false;
|
|
818
811
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
819
812
|
__epPropKey: true;
|
|
820
813
|
};
|
|
821
814
|
destroyOnClose: BooleanConstructor;
|
|
822
|
-
closeOnClickModal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
823
|
-
closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
824
|
-
lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
815
|
+
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
816
|
+
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
817
|
+
lockScroll: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
825
818
|
modalPenetrable: BooleanConstructor;
|
|
826
|
-
openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
827
|
-
closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
819
|
+
openDelay: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
820
|
+
closeDelay: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
828
821
|
modelValue: BooleanConstructor;
|
|
829
822
|
modalClass: StringConstructor;
|
|
830
823
|
headerClass: StringConstructor;
|
|
831
824
|
bodyClass: StringConstructor;
|
|
832
825
|
footerClass: StringConstructor;
|
|
833
826
|
zIndex: {
|
|
834
|
-
readonly type: PropType<number>;
|
|
827
|
+
readonly type: import('vue').PropType<number>;
|
|
835
828
|
readonly required: false;
|
|
836
829
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
837
830
|
__epPropKey: true;
|
|
838
831
|
};
|
|
839
832
|
trapFocus: BooleanConstructor;
|
|
840
|
-
headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
841
|
-
transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | (((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
833
|
+
headerAriaLevel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
834
|
+
transition: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | (((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
842
835
|
center: BooleanConstructor;
|
|
843
|
-
alignCenter: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
836
|
+
alignCenter: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
844
837
|
closeIcon: {
|
|
845
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>;
|
|
838
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | (((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component)) | null)[], unknown, unknown>>;
|
|
846
839
|
readonly required: false;
|
|
847
840
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
848
841
|
__epPropKey: true;
|
|
849
842
|
};
|
|
850
|
-
overflow: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
851
|
-
showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
852
|
-
ariaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
843
|
+
overflow: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
844
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
845
|
+
ariaLevel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
853
846
|
}>> & Readonly<{
|
|
854
847
|
"onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
|
|
855
848
|
"onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
856
|
-
onRegister?: ((args_0: ModalMethods, args_1: string) => any) | undefined;
|
|
849
|
+
onRegister?: ((args_0: import('.').ModalMethods, args_1: string) => any) | undefined;
|
|
857
850
|
}>, {
|
|
858
|
-
modalApi: TtModalExtendedModalApi;
|
|
859
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
851
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
852
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
860
853
|
"update:visible": (args_0: boolean) => any;
|
|
861
854
|
"visible-change": (args_0: boolean) => any;
|
|
862
|
-
register: (args_0: ModalMethods, args_1: string) => any;
|
|
855
|
+
register: (args_0: import('.').ModalMethods, args_1: string) => any;
|
|
863
856
|
}, string, {
|
|
864
857
|
title: any;
|
|
865
858
|
visible: boolean;
|
|
866
|
-
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>;
|
|
867
|
-
transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | null)[], unknown, unknown>;
|
|
859
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
860
|
+
transition: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | ((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | null)[], unknown, unknown>;
|
|
868
861
|
size: "small" | "medium" | "mini";
|
|
869
862
|
center: boolean;
|
|
870
863
|
height: any;
|
|
871
864
|
draggable: boolean;
|
|
872
|
-
showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
865
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
873
866
|
loading: boolean;
|
|
874
867
|
modelValue: boolean;
|
|
875
|
-
closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
868
|
+
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
876
869
|
scrollTop: boolean;
|
|
877
870
|
minHeight: any;
|
|
878
871
|
showFooter: boolean;
|
|
879
872
|
fullscreen: boolean;
|
|
880
|
-
overflow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
873
|
+
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
881
874
|
testId: any;
|
|
882
875
|
modal: boolean;
|
|
883
876
|
cancelText: string;
|
|
@@ -887,46 +880,46 @@ export declare const RenderModal: SFCWithInstall<{
|
|
|
887
880
|
showOkBtn: boolean;
|
|
888
881
|
confirmLoading: boolean;
|
|
889
882
|
cancelLoading: boolean;
|
|
890
|
-
okButtonProps: Partial<
|
|
891
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
883
|
+
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
884
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
892
885
|
};
|
|
893
|
-
cancelButtonProps: Partial<
|
|
886
|
+
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
894
887
|
isBottom: boolean;
|
|
895
888
|
appendToBody: boolean;
|
|
896
889
|
destroyOnClose: boolean;
|
|
897
|
-
closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
898
|
-
lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
890
|
+
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
891
|
+
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
899
892
|
modalPenetrable: boolean;
|
|
900
893
|
openDelay: number;
|
|
901
894
|
closeDelay: number;
|
|
902
895
|
trapFocus: boolean;
|
|
903
896
|
headerAriaLevel: string;
|
|
904
|
-
alignCenter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
897
|
+
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
905
898
|
ariaLevel: string;
|
|
906
|
-
modalApi: TtModalExtendedModalApi;
|
|
907
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
899
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
900
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
908
901
|
$slots: Readonly<{
|
|
909
|
-
[key: string]: Slot | undefined;
|
|
910
|
-
titleToolbar?: Slot;
|
|
911
|
-
header?: Slot;
|
|
912
|
-
default?: Slot;
|
|
913
|
-
footer?: Slot;
|
|
902
|
+
[key: string]: import('vue').Slot | undefined;
|
|
903
|
+
titleToolbar?: import('vue').Slot;
|
|
904
|
+
header?: import('vue').Slot;
|
|
905
|
+
default?: import('vue').Slot;
|
|
906
|
+
footer?: import('vue').Slot;
|
|
914
907
|
}> & {
|
|
915
|
-
[key: string]: Slot | undefined;
|
|
916
|
-
titleToolbar?: Slot;
|
|
917
|
-
header?: Slot;
|
|
918
|
-
default?: Slot;
|
|
919
|
-
footer?: Slot;
|
|
908
|
+
[key: string]: import('vue').Slot | undefined;
|
|
909
|
+
titleToolbar?: import('vue').Slot;
|
|
910
|
+
header?: import('vue').Slot;
|
|
911
|
+
default?: import('vue').Slot;
|
|
912
|
+
footer?: import('vue').Slot;
|
|
920
913
|
};
|
|
921
914
|
})> & Record<string, any>;
|
|
922
915
|
export { useModalRender, showTtModal } from './src/hooks/useModalRender';
|
|
923
916
|
export { setupModal, useShowModal } from './src';
|
|
924
917
|
export { ttModal, openTtModal, closeTtModal, closeAllTtModal, type OpenTtModalOptions, } from './src/utils/modal-service';
|
|
925
918
|
export * from './src/typing';
|
|
926
|
-
export declare const TtModal: SFCWithInstall<{
|
|
927
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<
|
|
919
|
+
export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
920
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
928
921
|
modalApi: {
|
|
929
|
-
type: PropType<TtModalExtendedModalApi>;
|
|
922
|
+
type: import('vue').PropType<import('.').TtModalExtendedModalApi>;
|
|
930
923
|
default: undefined;
|
|
931
924
|
};
|
|
932
925
|
testId: any;
|
|
@@ -948,7 +941,7 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
948
941
|
type: BooleanConstructor;
|
|
949
942
|
default: boolean;
|
|
950
943
|
};
|
|
951
|
-
closeFunc: PropType<() => Promise<boolean>>;
|
|
944
|
+
closeFunc: import('vue').PropType<() => Promise<boolean>>;
|
|
952
945
|
draggable: {
|
|
953
946
|
type: BooleanConstructor;
|
|
954
947
|
default: boolean;
|
|
@@ -986,23 +979,23 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
986
979
|
cancelLoading: {
|
|
987
980
|
type: BooleanConstructor;
|
|
988
981
|
};
|
|
989
|
-
width: PropType<string | number>;
|
|
982
|
+
width: import('vue').PropType<string | number>;
|
|
990
983
|
top: {
|
|
991
984
|
type: StringConstructor;
|
|
992
985
|
};
|
|
993
986
|
size: {
|
|
994
|
-
type: PropType<"medium" | "small" | "mini">;
|
|
987
|
+
type: import('vue').PropType<"medium" | "small" | "mini">;
|
|
995
988
|
default: string;
|
|
996
989
|
};
|
|
997
990
|
okButtonProps: {
|
|
998
|
-
type: PropType<Partial<
|
|
999
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
991
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps> & {
|
|
992
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1000
993
|
}>;
|
|
1001
|
-
default: Partial<
|
|
994
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
1002
995
|
};
|
|
1003
996
|
cancelButtonProps: {
|
|
1004
|
-
type: PropType<Partial<
|
|
1005
|
-
default: Partial<
|
|
997
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps>>;
|
|
998
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
1006
999
|
};
|
|
1007
1000
|
isBottom: {
|
|
1008
1001
|
type: BooleanConstructor;
|
|
@@ -1013,73 +1006,73 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1013
1006
|
default: () => boolean | undefined;
|
|
1014
1007
|
};
|
|
1015
1008
|
appendToBody: BooleanConstructor;
|
|
1016
|
-
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>;
|
|
1009
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | (((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>)) | null)[], unknown, unknown, "body", boolean>;
|
|
1017
1010
|
beforeClose: {
|
|
1018
|
-
readonly type: PropType<DialogBeforeCloseFn>;
|
|
1011
|
+
readonly type: import('vue').PropType<import('element-plus').DialogBeforeCloseFn>;
|
|
1019
1012
|
readonly required: false;
|
|
1020
1013
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1021
1014
|
__epPropKey: true;
|
|
1022
1015
|
};
|
|
1023
1016
|
destroyOnClose: BooleanConstructor;
|
|
1024
|
-
closeOnClickModal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1025
|
-
closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1026
|
-
lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1017
|
+
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1018
|
+
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1019
|
+
lockScroll: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1027
1020
|
modalPenetrable: BooleanConstructor;
|
|
1028
|
-
openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
1029
|
-
closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
1021
|
+
openDelay: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
1022
|
+
closeDelay: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
1030
1023
|
modelValue: BooleanConstructor;
|
|
1031
1024
|
modalClass: StringConstructor;
|
|
1032
1025
|
headerClass: StringConstructor;
|
|
1033
1026
|
bodyClass: StringConstructor;
|
|
1034
1027
|
footerClass: StringConstructor;
|
|
1035
1028
|
zIndex: {
|
|
1036
|
-
readonly type: PropType<number>;
|
|
1029
|
+
readonly type: import('vue').PropType<number>;
|
|
1037
1030
|
readonly required: false;
|
|
1038
1031
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1039
1032
|
__epPropKey: true;
|
|
1040
1033
|
};
|
|
1041
1034
|
trapFocus: BooleanConstructor;
|
|
1042
|
-
headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
1043
|
-
transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | (((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
1035
|
+
headerAriaLevel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
1036
|
+
transition: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | (((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
1044
1037
|
center: BooleanConstructor;
|
|
1045
|
-
alignCenter: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1038
|
+
alignCenter: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1046
1039
|
closeIcon: {
|
|
1047
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>;
|
|
1040
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | (((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component)) | null)[], unknown, unknown>>;
|
|
1048
1041
|
readonly required: false;
|
|
1049
1042
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1050
1043
|
__epPropKey: true;
|
|
1051
1044
|
};
|
|
1052
|
-
overflow: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1053
|
-
showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1054
|
-
ariaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
1045
|
+
overflow: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1046
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1047
|
+
ariaLevel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
1055
1048
|
}>> & Readonly<{
|
|
1056
1049
|
"onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
|
|
1057
1050
|
"onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
1058
|
-
onRegister?: ((args_0: ModalMethods, args_1: string) => any) | undefined;
|
|
1051
|
+
onRegister?: ((args_0: import('.').ModalMethods, args_1: string) => any) | undefined;
|
|
1059
1052
|
}>, {
|
|
1060
|
-
modalApi: TtModalExtendedModalApi;
|
|
1061
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1053
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
1054
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1062
1055
|
"update:visible": (args_0: boolean) => any;
|
|
1063
1056
|
"visible-change": (args_0: boolean) => any;
|
|
1064
|
-
register: (args_0: ModalMethods, args_1: string) => any;
|
|
1065
|
-
}, PublicProps, {
|
|
1057
|
+
register: (args_0: import('.').ModalMethods, args_1: string) => any;
|
|
1058
|
+
}, import('vue').PublicProps, {
|
|
1066
1059
|
title: any;
|
|
1067
1060
|
visible: boolean;
|
|
1068
|
-
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>;
|
|
1069
|
-
transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | null)[], unknown, unknown>;
|
|
1061
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
1062
|
+
transition: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | ((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | null)[], unknown, unknown>;
|
|
1070
1063
|
size: "small" | "medium" | "mini";
|
|
1071
1064
|
center: boolean;
|
|
1072
1065
|
height: any;
|
|
1073
1066
|
draggable: boolean;
|
|
1074
|
-
showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1067
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1075
1068
|
loading: boolean;
|
|
1076
1069
|
modelValue: boolean;
|
|
1077
|
-
closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1070
|
+
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1078
1071
|
scrollTop: boolean;
|
|
1079
1072
|
minHeight: any;
|
|
1080
1073
|
showFooter: boolean;
|
|
1081
1074
|
fullscreen: boolean;
|
|
1082
|
-
overflow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1075
|
+
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1083
1076
|
testId: any;
|
|
1084
1077
|
modal: boolean;
|
|
1085
1078
|
cancelText: string;
|
|
@@ -1089,26 +1082,26 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1089
1082
|
showOkBtn: boolean;
|
|
1090
1083
|
confirmLoading: boolean;
|
|
1091
1084
|
cancelLoading: boolean;
|
|
1092
|
-
okButtonProps: Partial<
|
|
1093
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
1085
|
+
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1086
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1094
1087
|
};
|
|
1095
|
-
cancelButtonProps: Partial<
|
|
1088
|
+
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1096
1089
|
isBottom: boolean;
|
|
1097
1090
|
appendToBody: boolean;
|
|
1098
1091
|
destroyOnClose: boolean;
|
|
1099
|
-
closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1100
|
-
lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1092
|
+
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1093
|
+
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1101
1094
|
modalPenetrable: boolean;
|
|
1102
1095
|
openDelay: number;
|
|
1103
1096
|
closeDelay: number;
|
|
1104
1097
|
trapFocus: boolean;
|
|
1105
1098
|
headerAriaLevel: string;
|
|
1106
|
-
alignCenter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1099
|
+
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1107
1100
|
ariaLevel: string;
|
|
1108
|
-
modalApi: TtModalExtendedModalApi;
|
|
1109
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
1101
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
1102
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
1110
1103
|
modalWrapperRef: ({
|
|
1111
|
-
$: ComponentInternalInstance;
|
|
1104
|
+
$: import('vue').ComponentInternalInstance;
|
|
1112
1105
|
$data: {};
|
|
1113
1106
|
$props: Partial<{
|
|
1114
1107
|
title: any;
|
|
@@ -1131,10 +1124,10 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1131
1124
|
showOkBtn: boolean;
|
|
1132
1125
|
confirmLoading: boolean;
|
|
1133
1126
|
cancelLoading: boolean;
|
|
1134
|
-
okButtonProps: Partial<
|
|
1135
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
1127
|
+
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1128
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1136
1129
|
};
|
|
1137
|
-
cancelButtonProps: Partial<
|
|
1130
|
+
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1138
1131
|
isBottom: boolean;
|
|
1139
1132
|
}> & Omit<{
|
|
1140
1133
|
readonly title: any;
|
|
@@ -1157,17 +1150,17 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1157
1150
|
readonly showOkBtn: boolean;
|
|
1158
1151
|
readonly confirmLoading: boolean;
|
|
1159
1152
|
readonly cancelLoading: boolean;
|
|
1160
|
-
readonly okButtonProps: Partial<
|
|
1161
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
1153
|
+
readonly okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1154
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1162
1155
|
};
|
|
1163
|
-
readonly cancelButtonProps: Partial<
|
|
1156
|
+
readonly cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1164
1157
|
readonly isBottom: boolean;
|
|
1165
1158
|
readonly top?: string | undefined;
|
|
1166
1159
|
readonly width?: string | number | undefined;
|
|
1167
1160
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
1168
1161
|
readonly loadingTip?: string | undefined;
|
|
1169
1162
|
readonly "onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
1170
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "contained" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
1163
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "contained" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
1171
1164
|
$attrs: {
|
|
1172
1165
|
[x: string]: unknown;
|
|
1173
1166
|
};
|
|
@@ -1177,14 +1170,14 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1177
1170
|
wrapperRef: HTMLDivElement;
|
|
1178
1171
|
};
|
|
1179
1172
|
$slots: Readonly<{
|
|
1180
|
-
[name: string]: Slot<any> | undefined;
|
|
1173
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
1181
1174
|
}>;
|
|
1182
|
-
$root: ComponentPublicInstance | null;
|
|
1183
|
-
$parent: ComponentPublicInstance | null;
|
|
1175
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
1176
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
1184
1177
|
$host: Element | null;
|
|
1185
1178
|
$emit: (event: "is-scroll", ...args: any[]) => void;
|
|
1186
1179
|
$el: HTMLDivElement;
|
|
1187
|
-
$options: ComponentOptionsBase<Readonly<
|
|
1180
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
1188
1181
|
contained: {
|
|
1189
1182
|
type: BooleanConstructor;
|
|
1190
1183
|
default: boolean;
|
|
@@ -1208,7 +1201,7 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1208
1201
|
type: BooleanConstructor;
|
|
1209
1202
|
default: boolean;
|
|
1210
1203
|
};
|
|
1211
|
-
closeFunc: PropType<() => Promise<boolean>>;
|
|
1204
|
+
closeFunc: import('vue').PropType<() => Promise<boolean>>;
|
|
1212
1205
|
draggable: {
|
|
1213
1206
|
type: BooleanConstructor;
|
|
1214
1207
|
default: boolean;
|
|
@@ -1246,23 +1239,23 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1246
1239
|
cancelLoading: {
|
|
1247
1240
|
type: BooleanConstructor;
|
|
1248
1241
|
};
|
|
1249
|
-
width: PropType<string | number>;
|
|
1242
|
+
width: import('vue').PropType<string | number>;
|
|
1250
1243
|
top: {
|
|
1251
1244
|
type: StringConstructor;
|
|
1252
1245
|
};
|
|
1253
1246
|
size: {
|
|
1254
|
-
type: PropType<"medium" | "small" | "mini">;
|
|
1247
|
+
type: import('vue').PropType<"medium" | "small" | "mini">;
|
|
1255
1248
|
default: string;
|
|
1256
1249
|
};
|
|
1257
1250
|
okButtonProps: {
|
|
1258
|
-
type: PropType<Partial<
|
|
1259
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
1251
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps> & {
|
|
1252
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1260
1253
|
}>;
|
|
1261
|
-
default: Partial<
|
|
1254
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
1262
1255
|
};
|
|
1263
1256
|
cancelButtonProps: {
|
|
1264
|
-
type: PropType<Partial<
|
|
1265
|
-
default: Partial<
|
|
1257
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps>>;
|
|
1258
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
1266
1259
|
};
|
|
1267
1260
|
isBottom: {
|
|
1268
1261
|
type: BooleanConstructor;
|
|
@@ -1277,8 +1270,8 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1277
1270
|
}>, {
|
|
1278
1271
|
onScrollBottom: () => void;
|
|
1279
1272
|
setModalHeight: () => void;
|
|
1280
|
-
elm: Ref<any, any>;
|
|
1281
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1273
|
+
elm: import('vue').Ref<any, any>;
|
|
1274
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1282
1275
|
"is-scroll": (...args: any[]) => void;
|
|
1283
1276
|
}, string, {
|
|
1284
1277
|
title: any;
|
|
@@ -1301,12 +1294,12 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1301
1294
|
showOkBtn: boolean;
|
|
1302
1295
|
confirmLoading: boolean;
|
|
1303
1296
|
cancelLoading: boolean;
|
|
1304
|
-
okButtonProps: Partial<
|
|
1305
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
1297
|
+
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1298
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1306
1299
|
};
|
|
1307
|
-
cancelButtonProps: Partial<
|
|
1300
|
+
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1308
1301
|
isBottom: boolean;
|
|
1309
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1302
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1310
1303
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1311
1304
|
created?: (() => void) | (() => void)[];
|
|
1312
1305
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -1319,13 +1312,13 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1319
1312
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
1320
1313
|
destroyed?: (() => void) | (() => void)[];
|
|
1321
1314
|
unmounted?: (() => void) | (() => void)[];
|
|
1322
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1323
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1324
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1315
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1316
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1317
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1325
1318
|
};
|
|
1326
1319
|
$forceUpdate: () => void;
|
|
1327
|
-
$nextTick: nextTick;
|
|
1328
|
-
$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;
|
|
1320
|
+
$nextTick: typeof import('vue').nextTick;
|
|
1321
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
1329
1322
|
} & Readonly<{
|
|
1330
1323
|
title: any;
|
|
1331
1324
|
visible: boolean;
|
|
@@ -1347,12 +1340,12 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1347
1340
|
showOkBtn: boolean;
|
|
1348
1341
|
confirmLoading: boolean;
|
|
1349
1342
|
cancelLoading: boolean;
|
|
1350
|
-
okButtonProps: Partial<
|
|
1351
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
1343
|
+
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1344
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1352
1345
|
};
|
|
1353
|
-
cancelButtonProps: Partial<
|
|
1346
|
+
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1354
1347
|
isBottom: boolean;
|
|
1355
|
-
}> & Omit<Readonly<
|
|
1348
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
1356
1349
|
contained: {
|
|
1357
1350
|
type: BooleanConstructor;
|
|
1358
1351
|
default: boolean;
|
|
@@ -1376,7 +1369,7 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1376
1369
|
type: BooleanConstructor;
|
|
1377
1370
|
default: boolean;
|
|
1378
1371
|
};
|
|
1379
|
-
closeFunc: PropType<() => Promise<boolean>>;
|
|
1372
|
+
closeFunc: import('vue').PropType<() => Promise<boolean>>;
|
|
1380
1373
|
draggable: {
|
|
1381
1374
|
type: BooleanConstructor;
|
|
1382
1375
|
default: boolean;
|
|
@@ -1414,23 +1407,23 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1414
1407
|
cancelLoading: {
|
|
1415
1408
|
type: BooleanConstructor;
|
|
1416
1409
|
};
|
|
1417
|
-
width: PropType<string | number>;
|
|
1410
|
+
width: import('vue').PropType<string | number>;
|
|
1418
1411
|
top: {
|
|
1419
1412
|
type: StringConstructor;
|
|
1420
1413
|
};
|
|
1421
1414
|
size: {
|
|
1422
|
-
type: PropType<"medium" | "small" | "mini">;
|
|
1415
|
+
type: import('vue').PropType<"medium" | "small" | "mini">;
|
|
1423
1416
|
default: string;
|
|
1424
1417
|
};
|
|
1425
1418
|
okButtonProps: {
|
|
1426
|
-
type: PropType<Partial<
|
|
1427
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
1419
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps> & {
|
|
1420
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1428
1421
|
}>;
|
|
1429
|
-
default: Partial<
|
|
1422
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
1430
1423
|
};
|
|
1431
1424
|
cancelButtonProps: {
|
|
1432
|
-
type: PropType<Partial<
|
|
1433
|
-
default: Partial<
|
|
1425
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps>>;
|
|
1426
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
1434
1427
|
};
|
|
1435
1428
|
isBottom: {
|
|
1436
1429
|
type: BooleanConstructor;
|
|
@@ -1442,25 +1435,25 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1442
1435
|
};
|
|
1443
1436
|
}>> & Readonly<{
|
|
1444
1437
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
1445
|
-
}>, "onScrollBottom" | "setModalHeight" | "elm" | ("title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "contained" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom")> & ShallowUnwrapRef<{
|
|
1438
|
+
}>, "onScrollBottom" | "setModalHeight" | "elm" | ("title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "contained" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom")> & import('vue').ShallowUnwrapRef<{
|
|
1446
1439
|
onScrollBottom: () => void;
|
|
1447
1440
|
setModalHeight: () => void;
|
|
1448
|
-
elm: Ref<any, any>;
|
|
1449
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
1441
|
+
elm: import('vue').Ref<any, any>;
|
|
1442
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1450
1443
|
$slots: {
|
|
1451
1444
|
default?(_: {}): any;
|
|
1452
1445
|
};
|
|
1453
1446
|
}) | null;
|
|
1454
|
-
}, HTMLDivElement, ComponentProvideOptions, {
|
|
1447
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
1455
1448
|
P: {};
|
|
1456
1449
|
B: {};
|
|
1457
1450
|
D: {};
|
|
1458
1451
|
C: {};
|
|
1459
1452
|
M: {};
|
|
1460
1453
|
Defaults: {};
|
|
1461
|
-
}, Readonly<
|
|
1454
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
1462
1455
|
modalApi: {
|
|
1463
|
-
type: PropType<TtModalExtendedModalApi>;
|
|
1456
|
+
type: import('vue').PropType<import('.').TtModalExtendedModalApi>;
|
|
1464
1457
|
default: undefined;
|
|
1465
1458
|
};
|
|
1466
1459
|
testId: any;
|
|
@@ -1482,7 +1475,7 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1482
1475
|
type: BooleanConstructor;
|
|
1483
1476
|
default: boolean;
|
|
1484
1477
|
};
|
|
1485
|
-
closeFunc: PropType<() => Promise<boolean>>;
|
|
1478
|
+
closeFunc: import('vue').PropType<() => Promise<boolean>>;
|
|
1486
1479
|
draggable: {
|
|
1487
1480
|
type: BooleanConstructor;
|
|
1488
1481
|
default: boolean;
|
|
@@ -1520,23 +1513,23 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1520
1513
|
cancelLoading: {
|
|
1521
1514
|
type: BooleanConstructor;
|
|
1522
1515
|
};
|
|
1523
|
-
width: PropType<string | number>;
|
|
1516
|
+
width: import('vue').PropType<string | number>;
|
|
1524
1517
|
top: {
|
|
1525
1518
|
type: StringConstructor;
|
|
1526
1519
|
};
|
|
1527
1520
|
size: {
|
|
1528
|
-
type: PropType<"medium" | "small" | "mini">;
|
|
1521
|
+
type: import('vue').PropType<"medium" | "small" | "mini">;
|
|
1529
1522
|
default: string;
|
|
1530
1523
|
};
|
|
1531
1524
|
okButtonProps: {
|
|
1532
|
-
type: PropType<Partial<
|
|
1533
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
1525
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps> & {
|
|
1526
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1534
1527
|
}>;
|
|
1535
|
-
default: Partial<
|
|
1528
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
1536
1529
|
};
|
|
1537
1530
|
cancelButtonProps: {
|
|
1538
|
-
type: PropType<Partial<
|
|
1539
|
-
default: Partial<
|
|
1531
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps>>;
|
|
1532
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
1540
1533
|
};
|
|
1541
1534
|
isBottom: {
|
|
1542
1535
|
type: BooleanConstructor;
|
|
@@ -1547,69 +1540,69 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1547
1540
|
default: () => boolean | undefined;
|
|
1548
1541
|
};
|
|
1549
1542
|
appendToBody: BooleanConstructor;
|
|
1550
|
-
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>;
|
|
1543
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | (((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>)) | null)[], unknown, unknown, "body", boolean>;
|
|
1551
1544
|
beforeClose: {
|
|
1552
|
-
readonly type: PropType<DialogBeforeCloseFn>;
|
|
1545
|
+
readonly type: import('vue').PropType<import('element-plus').DialogBeforeCloseFn>;
|
|
1553
1546
|
readonly required: false;
|
|
1554
1547
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1555
1548
|
__epPropKey: true;
|
|
1556
1549
|
};
|
|
1557
1550
|
destroyOnClose: BooleanConstructor;
|
|
1558
|
-
closeOnClickModal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1559
|
-
closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1560
|
-
lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1551
|
+
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1552
|
+
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1553
|
+
lockScroll: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1561
1554
|
modalPenetrable: BooleanConstructor;
|
|
1562
|
-
openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
1563
|
-
closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
1555
|
+
openDelay: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
1556
|
+
closeDelay: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
1564
1557
|
modelValue: BooleanConstructor;
|
|
1565
1558
|
modalClass: StringConstructor;
|
|
1566
1559
|
headerClass: StringConstructor;
|
|
1567
1560
|
bodyClass: StringConstructor;
|
|
1568
1561
|
footerClass: StringConstructor;
|
|
1569
1562
|
zIndex: {
|
|
1570
|
-
readonly type: PropType<number>;
|
|
1563
|
+
readonly type: import('vue').PropType<number>;
|
|
1571
1564
|
readonly required: false;
|
|
1572
1565
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1573
1566
|
__epPropKey: true;
|
|
1574
1567
|
};
|
|
1575
1568
|
trapFocus: BooleanConstructor;
|
|
1576
|
-
headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
1577
|
-
transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | (((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
1569
|
+
headerAriaLevel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
1570
|
+
transition: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | (((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
1578
1571
|
center: BooleanConstructor;
|
|
1579
|
-
alignCenter: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1572
|
+
alignCenter: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1580
1573
|
closeIcon: {
|
|
1581
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>;
|
|
1574
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | (((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component)) | null)[], unknown, unknown>>;
|
|
1582
1575
|
readonly required: false;
|
|
1583
1576
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1584
1577
|
__epPropKey: true;
|
|
1585
1578
|
};
|
|
1586
|
-
overflow: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1587
|
-
showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1588
|
-
ariaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
1579
|
+
overflow: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1580
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1581
|
+
ariaLevel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
1589
1582
|
}>> & Readonly<{
|
|
1590
1583
|
"onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
|
|
1591
1584
|
"onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
1592
|
-
onRegister?: ((args_0: ModalMethods, args_1: string) => any) | undefined;
|
|
1585
|
+
onRegister?: ((args_0: import('.').ModalMethods, args_1: string) => any) | undefined;
|
|
1593
1586
|
}>, {
|
|
1594
|
-
modalApi: TtModalExtendedModalApi;
|
|
1587
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
1595
1588
|
}, {}, {}, {}, {
|
|
1596
1589
|
title: any;
|
|
1597
1590
|
visible: boolean;
|
|
1598
|
-
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>;
|
|
1599
|
-
transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | null)[], unknown, unknown>;
|
|
1591
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
1592
|
+
transition: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | ((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | null)[], unknown, unknown>;
|
|
1600
1593
|
size: "small" | "medium" | "mini";
|
|
1601
1594
|
center: boolean;
|
|
1602
1595
|
height: any;
|
|
1603
1596
|
draggable: boolean;
|
|
1604
|
-
showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1597
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1605
1598
|
loading: boolean;
|
|
1606
1599
|
modelValue: boolean;
|
|
1607
|
-
closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1600
|
+
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1608
1601
|
scrollTop: boolean;
|
|
1609
1602
|
minHeight: any;
|
|
1610
1603
|
showFooter: boolean;
|
|
1611
1604
|
fullscreen: boolean;
|
|
1612
|
-
overflow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1605
|
+
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1613
1606
|
testId: any;
|
|
1614
1607
|
modal: boolean;
|
|
1615
1608
|
cancelText: string;
|
|
@@ -1619,30 +1612,30 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1619
1612
|
showOkBtn: boolean;
|
|
1620
1613
|
confirmLoading: boolean;
|
|
1621
1614
|
cancelLoading: boolean;
|
|
1622
|
-
okButtonProps: Partial<
|
|
1623
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
1615
|
+
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1616
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1624
1617
|
};
|
|
1625
|
-
cancelButtonProps: Partial<
|
|
1618
|
+
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1626
1619
|
isBottom: boolean;
|
|
1627
1620
|
appendToBody: boolean;
|
|
1628
1621
|
destroyOnClose: boolean;
|
|
1629
|
-
closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1630
|
-
lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1622
|
+
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1623
|
+
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1631
1624
|
modalPenetrable: boolean;
|
|
1632
1625
|
openDelay: number;
|
|
1633
1626
|
closeDelay: number;
|
|
1634
1627
|
trapFocus: boolean;
|
|
1635
1628
|
headerAriaLevel: string;
|
|
1636
|
-
alignCenter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1629
|
+
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1637
1630
|
ariaLevel: string;
|
|
1638
|
-
modalApi: TtModalExtendedModalApi;
|
|
1631
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
1639
1632
|
}>;
|
|
1640
1633
|
__isFragment?: never;
|
|
1641
1634
|
__isTeleport?: never;
|
|
1642
1635
|
__isSuspense?: never;
|
|
1643
|
-
} & ComponentOptionsBase<Readonly<
|
|
1636
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
1644
1637
|
modalApi: {
|
|
1645
|
-
type: PropType<TtModalExtendedModalApi>;
|
|
1638
|
+
type: import('vue').PropType<import('.').TtModalExtendedModalApi>;
|
|
1646
1639
|
default: undefined;
|
|
1647
1640
|
};
|
|
1648
1641
|
testId: any;
|
|
@@ -1664,7 +1657,7 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1664
1657
|
type: BooleanConstructor;
|
|
1665
1658
|
default: boolean;
|
|
1666
1659
|
};
|
|
1667
|
-
closeFunc: PropType<() => Promise<boolean>>;
|
|
1660
|
+
closeFunc: import('vue').PropType<() => Promise<boolean>>;
|
|
1668
1661
|
draggable: {
|
|
1669
1662
|
type: BooleanConstructor;
|
|
1670
1663
|
default: boolean;
|
|
@@ -1702,23 +1695,23 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1702
1695
|
cancelLoading: {
|
|
1703
1696
|
type: BooleanConstructor;
|
|
1704
1697
|
};
|
|
1705
|
-
width: PropType<string | number>;
|
|
1698
|
+
width: import('vue').PropType<string | number>;
|
|
1706
1699
|
top: {
|
|
1707
1700
|
type: StringConstructor;
|
|
1708
1701
|
};
|
|
1709
1702
|
size: {
|
|
1710
|
-
type: PropType<"medium" | "small" | "mini">;
|
|
1703
|
+
type: import('vue').PropType<"medium" | "small" | "mini">;
|
|
1711
1704
|
default: string;
|
|
1712
1705
|
};
|
|
1713
1706
|
okButtonProps: {
|
|
1714
|
-
type: PropType<Partial<
|
|
1715
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
1707
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps> & {
|
|
1708
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1716
1709
|
}>;
|
|
1717
|
-
default: Partial<
|
|
1710
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
1718
1711
|
};
|
|
1719
1712
|
cancelButtonProps: {
|
|
1720
|
-
type: PropType<Partial<
|
|
1721
|
-
default: Partial<
|
|
1713
|
+
type: import('vue').PropType<Partial<import('element-plus').ButtonProps>>;
|
|
1714
|
+
default: Partial<import('element-plus').ButtonProps>;
|
|
1722
1715
|
};
|
|
1723
1716
|
isBottom: {
|
|
1724
1717
|
type: BooleanConstructor;
|
|
@@ -1729,73 +1722,73 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1729
1722
|
default: () => boolean | undefined;
|
|
1730
1723
|
};
|
|
1731
1724
|
appendToBody: BooleanConstructor;
|
|
1732
|
-
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>;
|
|
1725
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | (((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>)) | null)[], unknown, unknown, "body", boolean>;
|
|
1733
1726
|
beforeClose: {
|
|
1734
|
-
readonly type: PropType<DialogBeforeCloseFn>;
|
|
1727
|
+
readonly type: import('vue').PropType<import('element-plus').DialogBeforeCloseFn>;
|
|
1735
1728
|
readonly required: false;
|
|
1736
1729
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1737
1730
|
__epPropKey: true;
|
|
1738
1731
|
};
|
|
1739
1732
|
destroyOnClose: BooleanConstructor;
|
|
1740
|
-
closeOnClickModal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1741
|
-
closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1742
|
-
lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1733
|
+
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1734
|
+
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1735
|
+
lockScroll: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1743
1736
|
modalPenetrable: BooleanConstructor;
|
|
1744
|
-
openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
1745
|
-
closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
1737
|
+
openDelay: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
1738
|
+
closeDelay: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
1746
1739
|
modelValue: BooleanConstructor;
|
|
1747
1740
|
modalClass: StringConstructor;
|
|
1748
1741
|
headerClass: StringConstructor;
|
|
1749
1742
|
bodyClass: StringConstructor;
|
|
1750
1743
|
footerClass: StringConstructor;
|
|
1751
1744
|
zIndex: {
|
|
1752
|
-
readonly type: PropType<number>;
|
|
1745
|
+
readonly type: import('vue').PropType<number>;
|
|
1753
1746
|
readonly required: false;
|
|
1754
1747
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1755
1748
|
__epPropKey: true;
|
|
1756
1749
|
};
|
|
1757
1750
|
trapFocus: BooleanConstructor;
|
|
1758
|
-
headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
1759
|
-
transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | (((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
1751
|
+
headerAriaLevel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
1752
|
+
transition: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | (((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
1760
1753
|
center: BooleanConstructor;
|
|
1761
|
-
alignCenter: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1754
|
+
alignCenter: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1762
1755
|
closeIcon: {
|
|
1763
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>;
|
|
1756
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | (((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component)) | null)[], unknown, unknown>>;
|
|
1764
1757
|
readonly required: false;
|
|
1765
1758
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1766
1759
|
__epPropKey: true;
|
|
1767
1760
|
};
|
|
1768
|
-
overflow: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1769
|
-
showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1770
|
-
ariaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
1761
|
+
overflow: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1762
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1763
|
+
ariaLevel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
1771
1764
|
}>> & Readonly<{
|
|
1772
1765
|
"onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
|
|
1773
1766
|
"onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
1774
|
-
onRegister?: ((args_0: ModalMethods, args_1: string) => any) | undefined;
|
|
1767
|
+
onRegister?: ((args_0: import('.').ModalMethods, args_1: string) => any) | undefined;
|
|
1775
1768
|
}>, {
|
|
1776
|
-
modalApi: TtModalExtendedModalApi;
|
|
1777
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1769
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
1770
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1778
1771
|
"update:visible": (args_0: boolean) => any;
|
|
1779
1772
|
"visible-change": (args_0: boolean) => any;
|
|
1780
|
-
register: (args_0: ModalMethods, args_1: string) => any;
|
|
1773
|
+
register: (args_0: import('.').ModalMethods, args_1: string) => any;
|
|
1781
1774
|
}, string, {
|
|
1782
1775
|
title: any;
|
|
1783
1776
|
visible: boolean;
|
|
1784
|
-
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>;
|
|
1785
|
-
transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | null)[], unknown, unknown>;
|
|
1777
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | null)[], unknown, unknown>;
|
|
1778
|
+
transition: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | ((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | null)[], unknown, unknown>;
|
|
1786
1779
|
size: "small" | "medium" | "mini";
|
|
1787
1780
|
center: boolean;
|
|
1788
1781
|
height: any;
|
|
1789
1782
|
draggable: boolean;
|
|
1790
|
-
showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1783
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1791
1784
|
loading: boolean;
|
|
1792
1785
|
modelValue: boolean;
|
|
1793
|
-
closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1786
|
+
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1794
1787
|
scrollTop: boolean;
|
|
1795
1788
|
minHeight: any;
|
|
1796
1789
|
showFooter: boolean;
|
|
1797
1790
|
fullscreen: boolean;
|
|
1798
|
-
overflow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1791
|
+
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1799
1792
|
testId: any;
|
|
1800
1793
|
modal: boolean;
|
|
1801
1794
|
cancelText: string;
|
|
@@ -1805,36 +1798,36 @@ export declare const TtModal: SFCWithInstall<{
|
|
|
1805
1798
|
showOkBtn: boolean;
|
|
1806
1799
|
confirmLoading: boolean;
|
|
1807
1800
|
cancelLoading: boolean;
|
|
1808
|
-
okButtonProps: Partial<
|
|
1809
|
-
disabledTip?: TipConfig | TipConfig[];
|
|
1801
|
+
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1802
|
+
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1810
1803
|
};
|
|
1811
|
-
cancelButtonProps: Partial<
|
|
1804
|
+
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1812
1805
|
isBottom: boolean;
|
|
1813
1806
|
appendToBody: boolean;
|
|
1814
1807
|
destroyOnClose: boolean;
|
|
1815
|
-
closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1816
|
-
lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1808
|
+
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1809
|
+
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1817
1810
|
modalPenetrable: boolean;
|
|
1818
1811
|
openDelay: number;
|
|
1819
1812
|
closeDelay: number;
|
|
1820
1813
|
trapFocus: boolean;
|
|
1821
1814
|
headerAriaLevel: string;
|
|
1822
|
-
alignCenter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1815
|
+
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1823
1816
|
ariaLevel: string;
|
|
1824
|
-
modalApi: TtModalExtendedModalApi;
|
|
1825
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
1817
|
+
modalApi: import('.').TtModalExtendedModalApi;
|
|
1818
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1826
1819
|
$slots: Readonly<{
|
|
1827
|
-
[key: string]: Slot | undefined;
|
|
1828
|
-
titleToolbar?: Slot;
|
|
1829
|
-
header?: Slot;
|
|
1830
|
-
default?: Slot;
|
|
1831
|
-
footer?: Slot;
|
|
1820
|
+
[key: string]: import('vue').Slot | undefined;
|
|
1821
|
+
titleToolbar?: import('vue').Slot;
|
|
1822
|
+
header?: import('vue').Slot;
|
|
1823
|
+
default?: import('vue').Slot;
|
|
1824
|
+
footer?: import('vue').Slot;
|
|
1832
1825
|
}> & {
|
|
1833
|
-
[key: string]: Slot | undefined;
|
|
1834
|
-
titleToolbar?: Slot;
|
|
1835
|
-
header?: Slot;
|
|
1836
|
-
default?: Slot;
|
|
1837
|
-
footer?: Slot;
|
|
1826
|
+
[key: string]: import('vue').Slot | undefined;
|
|
1827
|
+
titleToolbar?: import('vue').Slot;
|
|
1828
|
+
header?: import('vue').Slot;
|
|
1829
|
+
default?: import('vue').Slot;
|
|
1830
|
+
footer?: import('vue').Slot;
|
|
1838
1831
|
};
|
|
1839
1832
|
})> & Record<string, any>;
|
|
1840
1833
|
export type TtModalInstance = InstanceType<typeof RenderModal>;
|