@dazhicheng/ui 1.6.23 → 1.6.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/tt-api-component/index.d.ts +24 -35
- package/dist/components/tt-area/TtArea.d.ts +3 -0
- package/dist/components/tt-area/index.d.ts +1 -1
- package/dist/components/tt-button/components/AddButton.d.ts +3 -0
- package/dist/components/tt-button/index.d.ts +260 -589
- package/dist/components/tt-checkbox/index.d.ts +26 -35
- package/dist/components/tt-drawer/index.d.ts +306 -299
- package/dist/components/tt-drawer/src/{RenderDrawer.vue.d.ts → RenderDrawer.d.ts} +149 -146
- package/dist/components/tt-drawer/src/components/{DrawerFooter.vue.d.ts → DrawerFooter.d.ts} +18 -16
- package/dist/components/tt-drawer/src/components/{DrawerHeader.vue.d.ts → DrawerHeader.d.ts} +4 -3
- package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +2 -2
- package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +2 -2
- package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +4 -2
- package/dist/components/tt-empty/index.d.ts +10 -8
- package/dist/components/tt-form/src/components/{ExpandableArrow.vue.d.ts → ExpandableArrow.d.ts} +5 -4
- package/dist/components/tt-form/src/components/{FormActions.vue.d.ts → FormActions.d.ts} +6 -5
- package/dist/components/tt-form/src/components/{FormElInput.vue.d.ts → FormElInput.d.ts} +105 -101
- package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
- package/dist/components/tt-form/src/form/{FormControl.vue.d.ts → FormControl.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormDescription.vue.d.ts → FormDescription.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormItem.vue.d.ts → FormItem.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormLabel.vue.d.ts → FormLabel.d.ts} +2 -1
- package/dist/components/tt-form/src/form/FormMessage.d.ts +3 -0
- package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +9 -0
- package/dist/components/tt-form/src/form/{FormWarnMessage.vue.d.ts → FormWarnMessage.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{RenderContent.vue.d.ts → RenderContent.d.ts} +4 -4
- package/dist/components/tt-form/src/form/index.d.ts +8 -8
- package/dist/components/tt-form/src/form/useFormField.d.ts +6 -5
- package/dist/components/tt-form/src/form-render/{FormField.vue.d.ts → FormField.d.ts} +2 -1
- package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
- package/dist/components/tt-form/src/form-render/{FormLabel.vue.d.ts → FormLabel.d.ts} +3 -2
- package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +14 -11
- package/dist/components/tt-form/src/form-render/context.d.ts +5 -4
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +7 -6
- package/dist/components/tt-form/src/form-render/expandable.d.ts +4 -3
- package/dist/components/tt-form/src/form-render/{form.vue.d.ts → form.d.ts} +9 -8
- package/dist/components/tt-form/src/form-render/index.d.ts +3 -3
- package/dist/components/tt-form/src/formApi.d.ts +3 -3
- package/dist/components/tt-form/src/group-form/{GroupForm.vue.d.ts → GroupForm.d.ts} +7 -5
- package/dist/components/tt-form/src/group-form/{GroupSection.vue.d.ts → GroupSection.d.ts} +7 -5
- package/dist/components/tt-form/src/group-form/{LazyFormField.vue.d.ts → LazyFormField.d.ts} +5 -3
- package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +7 -5
- package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +3 -2
- package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +2 -2
- package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +2 -2
- package/dist/components/tt-form/src/index.d.ts +217 -0
- package/dist/components/tt-form/src/useForm.d.ts +2 -1
- package/dist/components/tt-form/src/useFormContext.d.ts +2 -1
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +61 -337
- package/dist/components/tt-icon/components/AddIcon.d.ts +8 -0
- package/dist/components/tt-icon/components/SubIcon.d.ts +8 -0
- package/dist/components/tt-icon/index.d.ts +24 -115
- package/dist/components/tt-image/index.d.ts +45 -41
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +30 -26
- package/dist/components/tt-image/tt-image.d.ts +36 -34
- package/dist/components/tt-loading/index.d.ts +5 -2
- package/dist/components/tt-loading/src/loading.d.ts +13 -0
- package/dist/components/tt-log/index.d.ts +7 -6
- package/dist/components/tt-modal/index.d.ts +371 -364
- package/dist/components/tt-modal/src/{RenderModal.vue.d.ts → RenderModal.d.ts} +118 -115
- package/dist/components/tt-modal/src/components/{ModalFooter.vue.d.ts → ModalFooter.d.ts} +26 -23
- package/dist/components/tt-modal/src/components/{ModalHeader.vue.d.ts → ModalHeader.d.ts} +4 -3
- package/dist/components/tt-modal/src/components/{ModalWrapper.vue.d.ts → ModalWrapper.d.ts} +27 -24
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +32 -29
- package/dist/components/tt-modal/src/typing.d.ts +2 -2
- package/dist/components/tt-modal/src/utils/modal-api.d.ts +2 -1
- package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +3 -2
- package/dist/components/tt-modal-form/index.d.ts +46 -2
- package/dist/components/tt-modal-form/useModalForm.d.ts +4 -3
- package/dist/components/tt-nav-anchor/index.d.ts +15 -12
- package/dist/components/tt-nav-anchor/src/{TtNavAnchor.vue.d.ts → TtNavAnchor.d.ts} +4 -4
- package/dist/components/tt-panel-select/index.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/{PanelLeft.vue.d.ts → PanelLeft.d.ts} +4 -3
- package/dist/components/tt-panel-select/src/components/{PanelMiddle.vue.d.ts → PanelMiddle.d.ts} +83 -80
- package/dist/components/tt-panel-select/src/components/{PanelRight.vue.d.ts → PanelRight.d.ts} +34 -32
- package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +7 -6
- package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
- package/dist/components/tt-panel-select/src/{index.vue.d.ts → index.d.ts} +84 -80
- package/dist/components/tt-radio-group/index.d.ts +31 -50
- package/dist/components/tt-select/index.d.ts +1 -1
- package/dist/components/tt-select/src/{Select.vue.d.ts → Select.d.ts} +146 -141
- package/dist/components/tt-select/src/components/{SelectTable.vue.d.ts → SelectTable.d.ts} +40 -36
- package/dist/components/tt-select/src/components/{Table.vue.d.ts → Table.d.ts} +41 -38
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/usePagination.d.ts +4 -3
- package/dist/components/tt-select/src/hooks/useSelect.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
- package/dist/components/tt-table/index.d.ts +287 -279
- package/dist/components/tt-table/src/{Table.vue.d.ts → Table.d.ts} +209 -204
- package/dist/components/tt-table/src/{TableForm.vue.d.ts → TableForm.d.ts} +83 -80
- package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableAction.vue.d.ts → TableAction.d.ts} +4 -4
- package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableColumnModal.vue.d.ts → TableColumnModal.d.ts} +5 -4
- package/dist/components/tt-table/src/components/{TableToolbarTools.vue.d.ts → TableToolbarTools.d.ts} +7 -6
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +45 -44
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +33 -33
- package/dist/components/tt-table/src/hooks/useQuery.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +112 -110
- package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
- package/dist/components/tt-table/src/props.d.ts +19 -17
- package/dist/components/tt-table/src/utils/table-api.d.ts +4 -4
- package/dist/components/tt-table/src/utils/table-form-api.d.ts +2 -1
- package/dist/components/tt-text/index.d.ts +34 -59
- package/dist/components/tt-upload/index.d.ts +317 -311
- package/dist/components/tt-upload/src/TtUpload.d.ts +519 -0
- package/dist/components/tt-upload/src/typing.d.ts +49 -47
- package/dist/hooks/useDataPermissionOptions.js +76 -72
- package/dist/hooks/useLoading.d.ts +2 -2
- package/dist/hooks/useScreenshotOss.d.ts +2 -2
- package/dist/index.d.ts +2 -1
- package/package.json +2 -2
- package/dist/components/tt-api-component/index.vue.d.ts +0 -34
- package/dist/components/tt-area/TtArea.vue.d.ts +0 -2
- package/dist/components/tt-button/components/AddButton.vue.d.ts +0 -2
- package/dist/components/tt-button/index.vue.d.ts +0 -466
- package/dist/components/tt-checkbox/index.vue.d.ts +0 -28
- package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +0 -2
- package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +0 -8
- package/dist/components/tt-form/src/index.vue.d.ts +0 -216
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +0 -298
- package/dist/components/tt-icon/components/AddIcon.vue.d.ts +0 -7
- package/dist/components/tt-icon/components/SubIcon.vue.d.ts +0 -7
- package/dist/components/tt-icon/index.vue.d.ts +0 -32
- package/dist/components/tt-loading/src/loading.vue.d.ts +0 -12
- package/dist/components/tt-log/index.vue.d.ts +0 -5
- package/dist/components/tt-modal-form/index.vue.d.ts +0 -45
- package/dist/components/tt-radio-group/index.vue.d.ts +0 -33
- package/dist/components/tt-text/index.vue.d.ts +0 -50
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +0 -517
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { TipConfig } from '../../../directives/disabled-tip';
|
|
2
|
-
import { PropType, Slot, nextTick } from 'vue';
|
|
2
|
+
import { PropType, Slot, nextTick, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, Ref, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, TransitionProps, Component, PublicProps } from 'vue';
|
|
3
3
|
import { ModalMethods, TtModalExtendedModalApi } from './typing';
|
|
4
|
+
import { ButtonProps, DialogBeforeCloseFn, DialogTransition } from 'element-plus';
|
|
5
|
+
import { OnCleanup } from '@vue/reactivity';
|
|
6
|
+
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
|
4
7
|
declare function __VLS_template(): {
|
|
5
8
|
attrs: Partial<{}>;
|
|
6
9
|
slots: Readonly<{
|
|
@@ -18,7 +21,7 @@ declare function __VLS_template(): {
|
|
|
18
21
|
};
|
|
19
22
|
refs: {
|
|
20
23
|
modalWrapperRef: ({
|
|
21
|
-
$:
|
|
24
|
+
$: ComponentInternalInstance;
|
|
22
25
|
$data: {};
|
|
23
26
|
$props: Partial<{
|
|
24
27
|
title: any;
|
|
@@ -41,10 +44,10 @@ declare function __VLS_template(): {
|
|
|
41
44
|
showOkBtn: boolean;
|
|
42
45
|
confirmLoading: boolean;
|
|
43
46
|
cancelLoading: boolean;
|
|
44
|
-
okButtonProps: Partial<
|
|
47
|
+
okButtonProps: Partial< ButtonProps> & {
|
|
45
48
|
disabledTip?: TipConfig | TipConfig[];
|
|
46
49
|
};
|
|
47
|
-
cancelButtonProps: Partial<
|
|
50
|
+
cancelButtonProps: Partial< ButtonProps>;
|
|
48
51
|
isBottom: boolean;
|
|
49
52
|
}> & Omit<{
|
|
50
53
|
readonly title: any;
|
|
@@ -67,17 +70,17 @@ declare function __VLS_template(): {
|
|
|
67
70
|
readonly showOkBtn: boolean;
|
|
68
71
|
readonly confirmLoading: boolean;
|
|
69
72
|
readonly cancelLoading: boolean;
|
|
70
|
-
readonly okButtonProps: Partial<
|
|
73
|
+
readonly okButtonProps: Partial< ButtonProps> & {
|
|
71
74
|
disabledTip?: TipConfig | TipConfig[];
|
|
72
75
|
};
|
|
73
|
-
readonly cancelButtonProps: Partial<
|
|
76
|
+
readonly cancelButtonProps: Partial< ButtonProps>;
|
|
74
77
|
readonly isBottom: boolean;
|
|
75
78
|
readonly top?: string | undefined;
|
|
76
79
|
readonly width?: string | number | undefined;
|
|
77
80
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
78
81
|
readonly loadingTip?: string | undefined;
|
|
79
82
|
readonly "onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
80
|
-
} &
|
|
83
|
+
} & 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">;
|
|
81
84
|
$attrs: {
|
|
82
85
|
[x: string]: unknown;
|
|
83
86
|
};
|
|
@@ -89,12 +92,12 @@ declare function __VLS_template(): {
|
|
|
89
92
|
$slots: Readonly<{
|
|
90
93
|
[name: string]: Slot<any> | undefined;
|
|
91
94
|
}>;
|
|
92
|
-
$root:
|
|
93
|
-
$parent:
|
|
95
|
+
$root: ComponentPublicInstance | null;
|
|
96
|
+
$parent: ComponentPublicInstance | null;
|
|
94
97
|
$host: Element | null;
|
|
95
98
|
$emit: (event: "is-scroll", ...args: any[]) => void;
|
|
96
99
|
$el: HTMLDivElement;
|
|
97
|
-
$options:
|
|
100
|
+
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
98
101
|
contained: {
|
|
99
102
|
type: BooleanConstructor;
|
|
100
103
|
default: boolean;
|
|
@@ -165,14 +168,14 @@ declare function __VLS_template(): {
|
|
|
165
168
|
default: string;
|
|
166
169
|
};
|
|
167
170
|
okButtonProps: {
|
|
168
|
-
type: PropType<Partial<
|
|
171
|
+
type: PropType<Partial< ButtonProps> & {
|
|
169
172
|
disabledTip?: TipConfig | TipConfig[];
|
|
170
173
|
}>;
|
|
171
|
-
default: Partial<
|
|
174
|
+
default: Partial< ButtonProps>;
|
|
172
175
|
};
|
|
173
176
|
cancelButtonProps: {
|
|
174
|
-
type: PropType<Partial<
|
|
175
|
-
default: Partial<
|
|
177
|
+
type: PropType<Partial< ButtonProps>>;
|
|
178
|
+
default: Partial< ButtonProps>;
|
|
176
179
|
};
|
|
177
180
|
isBottom: {
|
|
178
181
|
type: BooleanConstructor;
|
|
@@ -187,8 +190,8 @@ declare function __VLS_template(): {
|
|
|
187
190
|
}>, {
|
|
188
191
|
onScrollBottom: () => void;
|
|
189
192
|
setModalHeight: () => void;
|
|
190
|
-
elm:
|
|
191
|
-
}, {}, {}, {},
|
|
193
|
+
elm: Ref<any, any>;
|
|
194
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
192
195
|
"is-scroll": (...args: any[]) => void;
|
|
193
196
|
}, string, {
|
|
194
197
|
title: any;
|
|
@@ -211,12 +214,12 @@ declare function __VLS_template(): {
|
|
|
211
214
|
showOkBtn: boolean;
|
|
212
215
|
confirmLoading: boolean;
|
|
213
216
|
cancelLoading: boolean;
|
|
214
|
-
okButtonProps: Partial<
|
|
217
|
+
okButtonProps: Partial< ButtonProps> & {
|
|
215
218
|
disabledTip?: TipConfig | TipConfig[];
|
|
216
219
|
};
|
|
217
|
-
cancelButtonProps: Partial<
|
|
220
|
+
cancelButtonProps: Partial< ButtonProps>;
|
|
218
221
|
isBottom: boolean;
|
|
219
|
-
}, {}, string, {},
|
|
222
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
220
223
|
beforeCreate?: (() => void) | (() => void)[];
|
|
221
224
|
created?: (() => void) | (() => void)[];
|
|
222
225
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -229,13 +232,13 @@ declare function __VLS_template(): {
|
|
|
229
232
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
230
233
|
destroyed?: (() => void) | (() => void)[];
|
|
231
234
|
unmounted?: (() => void) | (() => void)[];
|
|
232
|
-
renderTracked?: ((e:
|
|
233
|
-
renderTriggered?: ((e:
|
|
234
|
-
errorCaptured?: ((err: unknown, instance:
|
|
235
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
236
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
237
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
235
238
|
};
|
|
236
239
|
$forceUpdate: () => void;
|
|
237
240
|
$nextTick: typeof nextTick;
|
|
238
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
241
|
+
$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;
|
|
239
242
|
} & Readonly<{
|
|
240
243
|
title: any;
|
|
241
244
|
visible: boolean;
|
|
@@ -257,12 +260,12 @@ declare function __VLS_template(): {
|
|
|
257
260
|
showOkBtn: boolean;
|
|
258
261
|
confirmLoading: boolean;
|
|
259
262
|
cancelLoading: boolean;
|
|
260
|
-
okButtonProps: Partial<
|
|
263
|
+
okButtonProps: Partial< ButtonProps> & {
|
|
261
264
|
disabledTip?: TipConfig | TipConfig[];
|
|
262
265
|
};
|
|
263
|
-
cancelButtonProps: Partial<
|
|
266
|
+
cancelButtonProps: Partial< ButtonProps>;
|
|
264
267
|
isBottom: boolean;
|
|
265
|
-
}> & Omit<Readonly<
|
|
268
|
+
}> & Omit<Readonly< ExtractPropTypes<{
|
|
266
269
|
contained: {
|
|
267
270
|
type: BooleanConstructor;
|
|
268
271
|
default: boolean;
|
|
@@ -333,14 +336,14 @@ declare function __VLS_template(): {
|
|
|
333
336
|
default: string;
|
|
334
337
|
};
|
|
335
338
|
okButtonProps: {
|
|
336
|
-
type: PropType<Partial<
|
|
339
|
+
type: PropType<Partial< ButtonProps> & {
|
|
337
340
|
disabledTip?: TipConfig | TipConfig[];
|
|
338
341
|
}>;
|
|
339
|
-
default: Partial<
|
|
342
|
+
default: Partial< ButtonProps>;
|
|
340
343
|
};
|
|
341
344
|
cancelButtonProps: {
|
|
342
|
-
type: PropType<Partial<
|
|
343
|
-
default: Partial<
|
|
345
|
+
type: PropType<Partial< ButtonProps>>;
|
|
346
|
+
default: Partial< ButtonProps>;
|
|
344
347
|
};
|
|
345
348
|
isBottom: {
|
|
346
349
|
type: BooleanConstructor;
|
|
@@ -352,11 +355,11 @@ declare function __VLS_template(): {
|
|
|
352
355
|
};
|
|
353
356
|
}>> & Readonly<{
|
|
354
357
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
355
|
-
}>, "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")> &
|
|
358
|
+
}>, "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<{
|
|
356
359
|
onScrollBottom: () => void;
|
|
357
360
|
setModalHeight: () => void;
|
|
358
|
-
elm:
|
|
359
|
-
}> & {} &
|
|
361
|
+
elm: Ref<any, any>;
|
|
362
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
360
363
|
$slots: {
|
|
361
364
|
default?(_: {}): any;
|
|
362
365
|
};
|
|
@@ -365,7 +368,7 @@ declare function __VLS_template(): {
|
|
|
365
368
|
rootEl: HTMLDivElement;
|
|
366
369
|
};
|
|
367
370
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
368
|
-
declare const __VLS_component:
|
|
371
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
369
372
|
/** modalApi */
|
|
370
373
|
modalApi: {
|
|
371
374
|
type: PropType<TtModalExtendedModalApi>;
|
|
@@ -437,14 +440,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
437
440
|
default: string;
|
|
438
441
|
};
|
|
439
442
|
okButtonProps: {
|
|
440
|
-
type: PropType<Partial<
|
|
443
|
+
type: PropType<Partial< ButtonProps> & {
|
|
441
444
|
disabledTip?: TipConfig | TipConfig[];
|
|
442
445
|
}>;
|
|
443
|
-
default: Partial<
|
|
446
|
+
default: Partial< ButtonProps>;
|
|
444
447
|
};
|
|
445
448
|
cancelButtonProps: {
|
|
446
|
-
type: PropType<Partial<
|
|
447
|
-
default: Partial<
|
|
449
|
+
type: PropType<Partial< ButtonProps>>;
|
|
450
|
+
default: Partial< ButtonProps>;
|
|
448
451
|
};
|
|
449
452
|
isBottom: {
|
|
450
453
|
type: BooleanConstructor;
|
|
@@ -455,20 +458,20 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
455
458
|
default: () => boolean | undefined;
|
|
456
459
|
};
|
|
457
460
|
appendToBody: BooleanConstructor;
|
|
458
|
-
appendTo:
|
|
461
|
+
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>;
|
|
459
462
|
beforeClose: {
|
|
460
|
-
readonly type: PropType<
|
|
463
|
+
readonly type: PropType< DialogBeforeCloseFn>;
|
|
461
464
|
readonly required: false;
|
|
462
465
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
463
466
|
__epPropKey: true;
|
|
464
467
|
};
|
|
465
468
|
destroyOnClose: BooleanConstructor;
|
|
466
|
-
closeOnClickModal:
|
|
467
|
-
closeOnPressEscape:
|
|
468
|
-
lockScroll:
|
|
469
|
+
closeOnClickModal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
470
|
+
closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
471
|
+
lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
469
472
|
modalPenetrable: BooleanConstructor;
|
|
470
|
-
openDelay:
|
|
471
|
-
closeDelay:
|
|
473
|
+
openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
474
|
+
closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
472
475
|
modelValue: BooleanConstructor;
|
|
473
476
|
modalClass: StringConstructor;
|
|
474
477
|
headerClass: StringConstructor;
|
|
@@ -481,26 +484,26 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
481
484
|
__epPropKey: true;
|
|
482
485
|
};
|
|
483
486
|
trapFocus: BooleanConstructor;
|
|
484
|
-
headerAriaLevel:
|
|
485
|
-
transition:
|
|
487
|
+
headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
488
|
+
transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | (((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
486
489
|
center: BooleanConstructor;
|
|
487
|
-
alignCenter:
|
|
490
|
+
alignCenter: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
488
491
|
closeIcon: {
|
|
489
|
-
readonly type: PropType<
|
|
492
|
+
readonly type: PropType< EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>;
|
|
490
493
|
readonly required: false;
|
|
491
494
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
492
495
|
__epPropKey: true;
|
|
493
496
|
};
|
|
494
|
-
overflow:
|
|
495
|
-
showClose:
|
|
496
|
-
ariaLevel:
|
|
497
|
+
overflow: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
498
|
+
showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
499
|
+
ariaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
497
500
|
}>, {
|
|
498
501
|
modalApi: TtModalExtendedModalApi;
|
|
499
|
-
}, {}, {}, {},
|
|
502
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
500
503
|
"update:visible": (args_0: boolean) => any;
|
|
501
504
|
"visible-change": (args_0: boolean) => any;
|
|
502
505
|
register: (args_0: ModalMethods, args_1: string) => any;
|
|
503
|
-
}, string,
|
|
506
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
504
507
|
/** modalApi */
|
|
505
508
|
modalApi: {
|
|
506
509
|
type: PropType<TtModalExtendedModalApi>;
|
|
@@ -572,14 +575,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
572
575
|
default: string;
|
|
573
576
|
};
|
|
574
577
|
okButtonProps: {
|
|
575
|
-
type: PropType<Partial<
|
|
578
|
+
type: PropType<Partial< ButtonProps> & {
|
|
576
579
|
disabledTip?: TipConfig | TipConfig[];
|
|
577
580
|
}>;
|
|
578
|
-
default: Partial<
|
|
581
|
+
default: Partial< ButtonProps>;
|
|
579
582
|
};
|
|
580
583
|
cancelButtonProps: {
|
|
581
|
-
type: PropType<Partial<
|
|
582
|
-
default: Partial<
|
|
584
|
+
type: PropType<Partial< ButtonProps>>;
|
|
585
|
+
default: Partial< ButtonProps>;
|
|
583
586
|
};
|
|
584
587
|
isBottom: {
|
|
585
588
|
type: BooleanConstructor;
|
|
@@ -590,20 +593,20 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
590
593
|
default: () => boolean | undefined;
|
|
591
594
|
};
|
|
592
595
|
appendToBody: BooleanConstructor;
|
|
593
|
-
appendTo:
|
|
596
|
+
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>;
|
|
594
597
|
beforeClose: {
|
|
595
|
-
readonly type: PropType<
|
|
598
|
+
readonly type: PropType< DialogBeforeCloseFn>;
|
|
596
599
|
readonly required: false;
|
|
597
600
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
598
601
|
__epPropKey: true;
|
|
599
602
|
};
|
|
600
603
|
destroyOnClose: BooleanConstructor;
|
|
601
|
-
closeOnClickModal:
|
|
602
|
-
closeOnPressEscape:
|
|
603
|
-
lockScroll:
|
|
604
|
+
closeOnClickModal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
605
|
+
closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
606
|
+
lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
604
607
|
modalPenetrable: BooleanConstructor;
|
|
605
|
-
openDelay:
|
|
606
|
-
closeDelay:
|
|
608
|
+
openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
609
|
+
closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
607
610
|
modelValue: BooleanConstructor;
|
|
608
611
|
modalClass: StringConstructor;
|
|
609
612
|
headerClass: StringConstructor;
|
|
@@ -616,19 +619,19 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
616
619
|
__epPropKey: true;
|
|
617
620
|
};
|
|
618
621
|
trapFocus: BooleanConstructor;
|
|
619
|
-
headerAriaLevel:
|
|
620
|
-
transition:
|
|
622
|
+
headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
623
|
+
transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | (((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
621
624
|
center: BooleanConstructor;
|
|
622
|
-
alignCenter:
|
|
625
|
+
alignCenter: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
623
626
|
closeIcon: {
|
|
624
|
-
readonly type: PropType<
|
|
627
|
+
readonly type: PropType< EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>;
|
|
625
628
|
readonly required: false;
|
|
626
629
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
627
630
|
__epPropKey: true;
|
|
628
631
|
};
|
|
629
|
-
overflow:
|
|
630
|
-
showClose:
|
|
631
|
-
ariaLevel:
|
|
632
|
+
overflow: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
633
|
+
showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
634
|
+
ariaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
632
635
|
}>> & Readonly<{
|
|
633
636
|
"onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
|
|
634
637
|
"onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
@@ -636,21 +639,21 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
636
639
|
}>, {
|
|
637
640
|
title: any;
|
|
638
641
|
visible: boolean;
|
|
639
|
-
appendTo:
|
|
640
|
-
transition:
|
|
642
|
+
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>;
|
|
643
|
+
transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | null)[], unknown, unknown>;
|
|
641
644
|
size: "small" | "medium" | "mini";
|
|
642
645
|
center: boolean;
|
|
643
646
|
height: any;
|
|
644
647
|
draggable: boolean;
|
|
645
|
-
showClose:
|
|
648
|
+
showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
646
649
|
loading: boolean;
|
|
647
650
|
modelValue: boolean;
|
|
648
|
-
closeOnPressEscape:
|
|
651
|
+
closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
649
652
|
scrollTop: boolean;
|
|
650
653
|
minHeight: any;
|
|
651
654
|
showFooter: boolean;
|
|
652
655
|
fullscreen: boolean;
|
|
653
|
-
overflow:
|
|
656
|
+
overflow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
654
657
|
testId: any;
|
|
655
658
|
modal: boolean;
|
|
656
659
|
cancelText: string;
|
|
@@ -660,26 +663,26 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
660
663
|
showOkBtn: boolean;
|
|
661
664
|
confirmLoading: boolean;
|
|
662
665
|
cancelLoading: boolean;
|
|
663
|
-
okButtonProps: Partial<
|
|
666
|
+
okButtonProps: Partial< ButtonProps> & {
|
|
664
667
|
disabledTip?: TipConfig | TipConfig[];
|
|
665
668
|
};
|
|
666
|
-
cancelButtonProps: Partial<
|
|
669
|
+
cancelButtonProps: Partial< ButtonProps>;
|
|
667
670
|
isBottom: boolean;
|
|
668
671
|
appendToBody: boolean;
|
|
669
672
|
destroyOnClose: boolean;
|
|
670
|
-
closeOnClickModal:
|
|
671
|
-
lockScroll:
|
|
673
|
+
closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
674
|
+
lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
672
675
|
modalPenetrable: boolean;
|
|
673
676
|
openDelay: number;
|
|
674
677
|
closeDelay: number;
|
|
675
678
|
trapFocus: boolean;
|
|
676
679
|
headerAriaLevel: string;
|
|
677
|
-
alignCenter:
|
|
680
|
+
alignCenter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
678
681
|
ariaLevel: string;
|
|
679
682
|
modalApi: TtModalExtendedModalApi;
|
|
680
|
-
}, {}, {}, {}, string,
|
|
683
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
681
684
|
modalWrapperRef: ({
|
|
682
|
-
$:
|
|
685
|
+
$: ComponentInternalInstance;
|
|
683
686
|
$data: {};
|
|
684
687
|
$props: Partial<{
|
|
685
688
|
title: any;
|
|
@@ -702,10 +705,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
702
705
|
showOkBtn: boolean;
|
|
703
706
|
confirmLoading: boolean;
|
|
704
707
|
cancelLoading: boolean;
|
|
705
|
-
okButtonProps: Partial<
|
|
708
|
+
okButtonProps: Partial< ButtonProps> & {
|
|
706
709
|
disabledTip?: TipConfig | TipConfig[];
|
|
707
710
|
};
|
|
708
|
-
cancelButtonProps: Partial<
|
|
711
|
+
cancelButtonProps: Partial< ButtonProps>;
|
|
709
712
|
isBottom: boolean;
|
|
710
713
|
}> & Omit<{
|
|
711
714
|
readonly title: any;
|
|
@@ -728,17 +731,17 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
728
731
|
readonly showOkBtn: boolean;
|
|
729
732
|
readonly confirmLoading: boolean;
|
|
730
733
|
readonly cancelLoading: boolean;
|
|
731
|
-
readonly okButtonProps: Partial<
|
|
734
|
+
readonly okButtonProps: Partial< ButtonProps> & {
|
|
732
735
|
disabledTip?: TipConfig | TipConfig[];
|
|
733
736
|
};
|
|
734
|
-
readonly cancelButtonProps: Partial<
|
|
737
|
+
readonly cancelButtonProps: Partial< ButtonProps>;
|
|
735
738
|
readonly isBottom: boolean;
|
|
736
739
|
readonly top?: string | undefined;
|
|
737
740
|
readonly width?: string | number | undefined;
|
|
738
741
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
739
742
|
readonly loadingTip?: string | undefined;
|
|
740
743
|
readonly "onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
741
|
-
} &
|
|
744
|
+
} & 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">;
|
|
742
745
|
$attrs: {
|
|
743
746
|
[x: string]: unknown;
|
|
744
747
|
};
|
|
@@ -750,12 +753,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
750
753
|
$slots: Readonly<{
|
|
751
754
|
[name: string]: Slot<any> | undefined;
|
|
752
755
|
}>;
|
|
753
|
-
$root:
|
|
754
|
-
$parent:
|
|
756
|
+
$root: ComponentPublicInstance | null;
|
|
757
|
+
$parent: ComponentPublicInstance | null;
|
|
755
758
|
$host: Element | null;
|
|
756
759
|
$emit: (event: "is-scroll", ...args: any[]) => void;
|
|
757
760
|
$el: HTMLDivElement;
|
|
758
|
-
$options:
|
|
761
|
+
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
759
762
|
contained: {
|
|
760
763
|
type: BooleanConstructor;
|
|
761
764
|
default: boolean;
|
|
@@ -826,14 +829,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
826
829
|
default: string;
|
|
827
830
|
};
|
|
828
831
|
okButtonProps: {
|
|
829
|
-
type: PropType<Partial<
|
|
832
|
+
type: PropType<Partial< ButtonProps> & {
|
|
830
833
|
disabledTip?: TipConfig | TipConfig[];
|
|
831
834
|
}>;
|
|
832
|
-
default: Partial<
|
|
835
|
+
default: Partial< ButtonProps>;
|
|
833
836
|
};
|
|
834
837
|
cancelButtonProps: {
|
|
835
|
-
type: PropType<Partial<
|
|
836
|
-
default: Partial<
|
|
838
|
+
type: PropType<Partial< ButtonProps>>;
|
|
839
|
+
default: Partial< ButtonProps>;
|
|
837
840
|
};
|
|
838
841
|
isBottom: {
|
|
839
842
|
type: BooleanConstructor;
|
|
@@ -848,8 +851,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
848
851
|
}>, {
|
|
849
852
|
onScrollBottom: () => void;
|
|
850
853
|
setModalHeight: () => void;
|
|
851
|
-
elm:
|
|
852
|
-
}, {}, {}, {},
|
|
854
|
+
elm: Ref<any, any>;
|
|
855
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
853
856
|
"is-scroll": (...args: any[]) => void;
|
|
854
857
|
}, string, {
|
|
855
858
|
title: any;
|
|
@@ -872,12 +875,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
872
875
|
showOkBtn: boolean;
|
|
873
876
|
confirmLoading: boolean;
|
|
874
877
|
cancelLoading: boolean;
|
|
875
|
-
okButtonProps: Partial<
|
|
878
|
+
okButtonProps: Partial< ButtonProps> & {
|
|
876
879
|
disabledTip?: TipConfig | TipConfig[];
|
|
877
880
|
};
|
|
878
|
-
cancelButtonProps: Partial<
|
|
881
|
+
cancelButtonProps: Partial< ButtonProps>;
|
|
879
882
|
isBottom: boolean;
|
|
880
|
-
}, {}, string, {},
|
|
883
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
881
884
|
beforeCreate?: (() => void) | (() => void)[];
|
|
882
885
|
created?: (() => void) | (() => void)[];
|
|
883
886
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -890,13 +893,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
890
893
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
891
894
|
destroyed?: (() => void) | (() => void)[];
|
|
892
895
|
unmounted?: (() => void) | (() => void)[];
|
|
893
|
-
renderTracked?: ((e:
|
|
894
|
-
renderTriggered?: ((e:
|
|
895
|
-
errorCaptured?: ((err: unknown, instance:
|
|
896
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
897
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
898
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
896
899
|
};
|
|
897
900
|
$forceUpdate: () => void;
|
|
898
901
|
$nextTick: typeof nextTick;
|
|
899
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
902
|
+
$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;
|
|
900
903
|
} & Readonly<{
|
|
901
904
|
title: any;
|
|
902
905
|
visible: boolean;
|
|
@@ -918,12 +921,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
918
921
|
showOkBtn: boolean;
|
|
919
922
|
confirmLoading: boolean;
|
|
920
923
|
cancelLoading: boolean;
|
|
921
|
-
okButtonProps: Partial<
|
|
924
|
+
okButtonProps: Partial< ButtonProps> & {
|
|
922
925
|
disabledTip?: TipConfig | TipConfig[];
|
|
923
926
|
};
|
|
924
|
-
cancelButtonProps: Partial<
|
|
927
|
+
cancelButtonProps: Partial< ButtonProps>;
|
|
925
928
|
isBottom: boolean;
|
|
926
|
-
}> & Omit<Readonly<
|
|
929
|
+
}> & Omit<Readonly< ExtractPropTypes<{
|
|
927
930
|
contained: {
|
|
928
931
|
type: BooleanConstructor;
|
|
929
932
|
default: boolean;
|
|
@@ -994,14 +997,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
994
997
|
default: string;
|
|
995
998
|
};
|
|
996
999
|
okButtonProps: {
|
|
997
|
-
type: PropType<Partial<
|
|
1000
|
+
type: PropType<Partial< ButtonProps> & {
|
|
998
1001
|
disabledTip?: TipConfig | TipConfig[];
|
|
999
1002
|
}>;
|
|
1000
|
-
default: Partial<
|
|
1003
|
+
default: Partial< ButtonProps>;
|
|
1001
1004
|
};
|
|
1002
1005
|
cancelButtonProps: {
|
|
1003
|
-
type: PropType<Partial<
|
|
1004
|
-
default: Partial<
|
|
1006
|
+
type: PropType<Partial< ButtonProps>>;
|
|
1007
|
+
default: Partial< ButtonProps>;
|
|
1005
1008
|
};
|
|
1006
1009
|
isBottom: {
|
|
1007
1010
|
type: BooleanConstructor;
|
|
@@ -1013,11 +1016,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1013
1016
|
};
|
|
1014
1017
|
}>> & Readonly<{
|
|
1015
1018
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
1016
|
-
}>, "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")> &
|
|
1019
|
+
}>, "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<{
|
|
1017
1020
|
onScrollBottom: () => void;
|
|
1018
1021
|
setModalHeight: () => void;
|
|
1019
|
-
elm:
|
|
1020
|
-
}> & {} &
|
|
1022
|
+
elm: Ref<any, any>;
|
|
1023
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1021
1024
|
$slots: {
|
|
1022
1025
|
default?(_: {}): any;
|
|
1023
1026
|
};
|