@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,124 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
click: () => any;
|
|
7
|
-
}, import('vue').PublicProps, {
|
|
8
|
-
disabled: boolean;
|
|
9
|
-
size: number;
|
|
10
|
-
isSymbol: boolean;
|
|
11
|
-
isCustomSvg: boolean;
|
|
12
|
-
isImg: boolean;
|
|
13
|
-
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
14
|
-
P: {};
|
|
15
|
-
B: {};
|
|
16
|
-
D: {};
|
|
17
|
-
C: {};
|
|
18
|
-
M: {};
|
|
19
|
-
Defaults: {};
|
|
20
|
-
}, Readonly<TtIconProps> & Readonly<{
|
|
21
|
-
onClick?: (() => any) | undefined;
|
|
22
|
-
}>, {}, {}, {}, {}, {
|
|
23
|
-
disabled: boolean;
|
|
24
|
-
size: number;
|
|
25
|
-
isSymbol: boolean;
|
|
26
|
-
isCustomSvg: boolean;
|
|
27
|
-
isImg: boolean;
|
|
28
|
-
}>;
|
|
29
|
-
__isFragment?: never;
|
|
30
|
-
__isTeleport?: never;
|
|
31
|
-
__isSuspense?: never;
|
|
32
|
-
} & import('vue').ComponentOptionsBase<Readonly<TtIconProps> & Readonly<{
|
|
33
|
-
onClick?: (() => any) | undefined;
|
|
34
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
35
|
-
click: () => any;
|
|
36
|
-
}, string, {
|
|
37
|
-
disabled: boolean;
|
|
38
|
-
size: number;
|
|
39
|
-
isSymbol: boolean;
|
|
40
|
-
isCustomSvg: boolean;
|
|
41
|
-
isImg: boolean;
|
|
42
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
43
|
-
$slots: Readonly<{
|
|
1
|
+
import { TtIconProps } from '.';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: Readonly<{
|
|
44
6
|
default?: () => any;
|
|
45
7
|
prefix?: () => any;
|
|
46
8
|
}> & {
|
|
47
9
|
default?: () => any;
|
|
48
10
|
prefix?: () => any;
|
|
49
11
|
};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
color?: string | undefined;
|
|
61
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
62
|
-
title?: string | undefined;
|
|
63
|
-
disabled?: boolean | undefined;
|
|
64
|
-
size?: number | undefined;
|
|
65
|
-
class?: HTMLAttributes["class"];
|
|
66
|
-
isSymbol?: boolean | undefined;
|
|
67
|
-
isCustomSvg?: boolean | undefined;
|
|
68
|
-
iconFont?: string | undefined;
|
|
69
|
-
isImg?: boolean | undefined;
|
|
70
|
-
color?: string | undefined;
|
|
71
|
-
}> & Readonly<{}>, {
|
|
72
|
-
size: number;
|
|
73
|
-
isCustomSvg: boolean;
|
|
74
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>> & Record<string, any>;
|
|
75
|
-
export declare const TtSubIcon: import('../../../../utils/src').SFCWithInstall<import('vue').DefineComponent<{
|
|
76
|
-
title?: string | undefined;
|
|
77
|
-
disabled?: boolean | undefined;
|
|
78
|
-
size?: number | undefined;
|
|
79
|
-
class?: HTMLAttributes["class"];
|
|
80
|
-
isSymbol?: boolean | undefined;
|
|
81
|
-
isCustomSvg?: boolean | undefined;
|
|
82
|
-
iconFont?: string | undefined;
|
|
83
|
-
isImg?: boolean | undefined;
|
|
84
|
-
color?: string | undefined;
|
|
85
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
86
|
-
title?: string | undefined;
|
|
87
|
-
disabled?: boolean | undefined;
|
|
88
|
-
size?: number | undefined;
|
|
89
|
-
class?: HTMLAttributes["class"];
|
|
90
|
-
isSymbol?: boolean | undefined;
|
|
91
|
-
isCustomSvg?: boolean | undefined;
|
|
92
|
-
iconFont?: string | undefined;
|
|
93
|
-
isImg?: boolean | undefined;
|
|
94
|
-
color?: string | undefined;
|
|
95
|
-
}> & Readonly<{}>, {
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: any;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: DefineComponent<TtIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
17
|
+
click: () => any;
|
|
18
|
+
}, string, PublicProps, Readonly<TtIconProps> & Readonly<{
|
|
19
|
+
onClick?: (() => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
disabled: boolean;
|
|
96
22
|
size: number;
|
|
23
|
+
isSymbol: boolean;
|
|
97
24
|
isCustomSvg: boolean;
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
export
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
/** 是否是自定义svg */
|
|
107
|
-
isCustomSvg?: boolean;
|
|
108
|
-
/** 标题 */
|
|
109
|
-
title?: string;
|
|
110
|
-
/**
|
|
111
|
-
* 是否是iconfont, iconfont 图标使用
|
|
112
|
-
*/
|
|
113
|
-
iconFont?: string;
|
|
114
|
-
/** 是否是图片 */
|
|
115
|
-
isImg?: boolean;
|
|
116
|
-
/** size */
|
|
117
|
-
size?: number;
|
|
118
|
-
/** 是否禁用 */
|
|
119
|
-
disabled?: boolean;
|
|
120
|
-
/** 类名 */
|
|
121
|
-
class?: HTMLAttributes["class"];
|
|
122
|
-
/** 类名 */
|
|
123
|
-
color?: HTMLAttributes["color"];
|
|
25
|
+
isImg: boolean;
|
|
26
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
124
33
|
};
|
|
@@ -1,98 +1,102 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../../../../utils/src';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, SlotsType, VNodeChild, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
|
4
|
+
import { ImageCrossorigin } from 'element-plus';
|
|
1
5
|
export * from './src/components/ImageViewer';
|
|
2
6
|
/**
|
|
3
7
|
* 图片业务状态
|
|
4
8
|
*/
|
|
5
9
|
export type ImageStatus = "no-network" | "develop" | "loading" | "loading-fail" | "no-data" | "no-permission" | "no-search";
|
|
6
|
-
export declare const TtImage:
|
|
10
|
+
export declare const TtImage: SFCWithInstall<DefineComponent<ExtractPropTypes<{
|
|
7
11
|
status: {
|
|
8
|
-
type:
|
|
12
|
+
type: PropType<ImageStatus>;
|
|
9
13
|
required: false;
|
|
10
14
|
default: string;
|
|
11
15
|
};
|
|
12
16
|
hideOnClickModal: BooleanConstructor;
|
|
13
|
-
src:
|
|
14
|
-
fit:
|
|
17
|
+
src: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
18
|
+
fit: EpPropFinalized<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown, "", boolean>;
|
|
15
19
|
loading: {
|
|
16
|
-
readonly type:
|
|
20
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "lazy" | "eager", unknown>>;
|
|
17
21
|
readonly required: false;
|
|
18
22
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
19
23
|
__epPropKey: true;
|
|
20
24
|
};
|
|
21
25
|
lazy: BooleanConstructor;
|
|
22
26
|
scrollContainer: {
|
|
23
|
-
readonly type:
|
|
27
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement | undefined) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement | undefined)) | null)[], unknown, unknown>>;
|
|
24
28
|
readonly required: false;
|
|
25
29
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
26
30
|
__epPropKey: true;
|
|
27
31
|
};
|
|
28
|
-
previewSrcList:
|
|
32
|
+
previewSrcList: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
|
|
29
33
|
previewTeleported: BooleanConstructor;
|
|
30
34
|
zIndex: {
|
|
31
|
-
readonly type:
|
|
35
|
+
readonly type: PropType<number>;
|
|
32
36
|
readonly required: false;
|
|
33
37
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
34
38
|
__epPropKey: true;
|
|
35
39
|
};
|
|
36
|
-
initialIndex:
|
|
37
|
-
infinite:
|
|
38
|
-
closeOnPressEscape:
|
|
39
|
-
zoomRate:
|
|
40
|
-
scale:
|
|
41
|
-
minScale:
|
|
42
|
-
maxScale:
|
|
40
|
+
initialIndex: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
41
|
+
infinite: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
42
|
+
closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
43
|
+
zoomRate: EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
|
|
44
|
+
scale: EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
45
|
+
minScale: EpPropFinalized<NumberConstructor, unknown, unknown, 0.2, boolean>;
|
|
46
|
+
maxScale: EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
43
47
|
showProgress: BooleanConstructor;
|
|
44
48
|
crossorigin: {
|
|
45
|
-
readonly type:
|
|
49
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => ImageCrossorigin) | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => ImageCrossorigin)) | null)[], unknown, unknown>>;
|
|
46
50
|
readonly required: false;
|
|
47
51
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
48
52
|
__epPropKey: true;
|
|
49
53
|
};
|
|
50
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {},
|
|
54
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
51
55
|
load: (evt: Event) => boolean;
|
|
52
56
|
error: (evt: Event) => boolean;
|
|
53
57
|
switch: (val: number) => boolean;
|
|
54
58
|
close: () => boolean;
|
|
55
59
|
show: () => boolean;
|
|
56
|
-
}, string,
|
|
60
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
57
61
|
status: {
|
|
58
|
-
type:
|
|
62
|
+
type: PropType<ImageStatus>;
|
|
59
63
|
required: false;
|
|
60
64
|
default: string;
|
|
61
65
|
};
|
|
62
66
|
hideOnClickModal: BooleanConstructor;
|
|
63
|
-
src:
|
|
64
|
-
fit:
|
|
67
|
+
src: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
68
|
+
fit: EpPropFinalized<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown, "", boolean>;
|
|
65
69
|
loading: {
|
|
66
|
-
readonly type:
|
|
70
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "lazy" | "eager", unknown>>;
|
|
67
71
|
readonly required: false;
|
|
68
72
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
69
73
|
__epPropKey: true;
|
|
70
74
|
};
|
|
71
75
|
lazy: BooleanConstructor;
|
|
72
76
|
scrollContainer: {
|
|
73
|
-
readonly type:
|
|
77
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement | undefined) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement | undefined)) | null)[], unknown, unknown>>;
|
|
74
78
|
readonly required: false;
|
|
75
79
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
76
80
|
__epPropKey: true;
|
|
77
81
|
};
|
|
78
|
-
previewSrcList:
|
|
82
|
+
previewSrcList: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
|
|
79
83
|
previewTeleported: BooleanConstructor;
|
|
80
84
|
zIndex: {
|
|
81
|
-
readonly type:
|
|
85
|
+
readonly type: PropType<number>;
|
|
82
86
|
readonly required: false;
|
|
83
87
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
84
88
|
__epPropKey: true;
|
|
85
89
|
};
|
|
86
|
-
initialIndex:
|
|
87
|
-
infinite:
|
|
88
|
-
closeOnPressEscape:
|
|
89
|
-
zoomRate:
|
|
90
|
-
scale:
|
|
91
|
-
minScale:
|
|
92
|
-
maxScale:
|
|
90
|
+
initialIndex: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
91
|
+
infinite: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
92
|
+
closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
93
|
+
zoomRate: EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
|
|
94
|
+
scale: EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
95
|
+
minScale: EpPropFinalized<NumberConstructor, unknown, unknown, 0.2, boolean>;
|
|
96
|
+
maxScale: EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
93
97
|
showProgress: BooleanConstructor;
|
|
94
98
|
crossorigin: {
|
|
95
|
-
readonly type:
|
|
99
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => ImageCrossorigin) | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => ImageCrossorigin)) | null)[], unknown, unknown>>;
|
|
96
100
|
readonly required: false;
|
|
97
101
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
98
102
|
__epPropKey: true;
|
|
@@ -107,21 +111,21 @@ export declare const TtImage: import('../../../../utils/src').SFCWithInstall<imp
|
|
|
107
111
|
src: string;
|
|
108
112
|
status: ImageStatus;
|
|
109
113
|
hideOnClickModal: boolean;
|
|
110
|
-
fit:
|
|
114
|
+
fit: EpPropMergeType<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown>;
|
|
111
115
|
lazy: boolean;
|
|
112
116
|
previewSrcList: string[];
|
|
113
117
|
previewTeleported: boolean;
|
|
114
118
|
initialIndex: number;
|
|
115
|
-
infinite:
|
|
116
|
-
closeOnPressEscape:
|
|
119
|
+
infinite: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
120
|
+
closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
117
121
|
zoomRate: number;
|
|
118
122
|
scale: number;
|
|
119
123
|
minScale: number;
|
|
120
124
|
maxScale: number;
|
|
121
125
|
showProgress: boolean;
|
|
122
|
-
},
|
|
123
|
-
placeholder?: () =>
|
|
124
|
-
error?: () =>
|
|
125
|
-
viewer?: () =>
|
|
126
|
-
}>, {}, {}, string,
|
|
126
|
+
}, SlotsType<{
|
|
127
|
+
placeholder?: () => VNodeChild;
|
|
128
|
+
error?: () => VNodeChild;
|
|
129
|
+
viewer?: () => VNodeChild;
|
|
130
|
+
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
127
131
|
export default TtImage;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { SFCWithInstall } from '../../../../../../utils/src';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
|
4
|
+
import { ImageViewerCrossorigin } from 'element-plus';
|
|
5
|
+
export declare const TtImageViewer: SFCWithInstall<DefineComponent<ExtractPropTypes<{
|
|
2
6
|
/**
|
|
3
7
|
* 是否显示
|
|
4
8
|
*/
|
|
@@ -6,36 +10,36 @@ export declare const TtImageViewer: import('../../../../../../utils/src').SFCWit
|
|
|
6
10
|
type: BooleanConstructor;
|
|
7
11
|
default: boolean;
|
|
8
12
|
};
|
|
9
|
-
urlList:
|
|
13
|
+
urlList: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
|
|
10
14
|
zIndex: {
|
|
11
|
-
readonly type:
|
|
15
|
+
readonly type: PropType<number>;
|
|
12
16
|
readonly required: false;
|
|
13
17
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14
18
|
__epPropKey: true;
|
|
15
19
|
};
|
|
16
|
-
initialIndex:
|
|
17
|
-
infinite:
|
|
20
|
+
initialIndex: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
21
|
+
infinite: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
18
22
|
hideOnClickModal: BooleanConstructor;
|
|
19
23
|
teleported: BooleanConstructor;
|
|
20
|
-
closeOnPressEscape:
|
|
21
|
-
zoomRate:
|
|
22
|
-
scale:
|
|
23
|
-
minScale:
|
|
24
|
-
maxScale:
|
|
24
|
+
closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
25
|
+
zoomRate: EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
|
|
26
|
+
scale: EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
27
|
+
minScale: EpPropFinalized<NumberConstructor, unknown, unknown, 0.2, boolean>;
|
|
28
|
+
maxScale: EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
25
29
|
showProgress: BooleanConstructor;
|
|
26
30
|
crossorigin: {
|
|
27
|
-
readonly type:
|
|
31
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => ImageViewerCrossorigin) | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => ImageViewerCrossorigin)) | null)[], unknown, unknown>>;
|
|
28
32
|
readonly required: false;
|
|
29
33
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
30
34
|
__epPropKey: true;
|
|
31
35
|
};
|
|
32
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {},
|
|
36
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
33
37
|
"update:visible": (_visible: boolean) => true;
|
|
34
38
|
close: () => boolean;
|
|
35
39
|
error: (evt: Event) => boolean;
|
|
36
40
|
switch: (index: number) => boolean;
|
|
37
41
|
rotate: (deg: number) => boolean;
|
|
38
|
-
}, string,
|
|
42
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
39
43
|
/**
|
|
40
44
|
* 是否显示
|
|
41
45
|
*/
|
|
@@ -43,25 +47,25 @@ export declare const TtImageViewer: import('../../../../../../utils/src').SFCWit
|
|
|
43
47
|
type: BooleanConstructor;
|
|
44
48
|
default: boolean;
|
|
45
49
|
};
|
|
46
|
-
urlList:
|
|
50
|
+
urlList: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
|
|
47
51
|
zIndex: {
|
|
48
|
-
readonly type:
|
|
52
|
+
readonly type: PropType<number>;
|
|
49
53
|
readonly required: false;
|
|
50
54
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
55
|
__epPropKey: true;
|
|
52
56
|
};
|
|
53
|
-
initialIndex:
|
|
54
|
-
infinite:
|
|
57
|
+
initialIndex: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
58
|
+
infinite: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
55
59
|
hideOnClickModal: BooleanConstructor;
|
|
56
60
|
teleported: BooleanConstructor;
|
|
57
|
-
closeOnPressEscape:
|
|
58
|
-
zoomRate:
|
|
59
|
-
scale:
|
|
60
|
-
minScale:
|
|
61
|
-
maxScale:
|
|
61
|
+
closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
62
|
+
zoomRate: EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
|
|
63
|
+
scale: EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
64
|
+
minScale: EpPropFinalized<NumberConstructor, unknown, unknown, 0.2, boolean>;
|
|
65
|
+
maxScale: EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
62
66
|
showProgress: BooleanConstructor;
|
|
63
67
|
crossorigin: {
|
|
64
|
-
readonly type:
|
|
68
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => ImageViewerCrossorigin) | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => ImageViewerCrossorigin)) | null)[], unknown, unknown>>;
|
|
65
69
|
readonly required: false;
|
|
66
70
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
67
71
|
__epPropKey: true;
|
|
@@ -77,13 +81,13 @@ export declare const TtImageViewer: import('../../../../../../utils/src').SFCWit
|
|
|
77
81
|
teleported: boolean;
|
|
78
82
|
hideOnClickModal: boolean;
|
|
79
83
|
initialIndex: number;
|
|
80
|
-
infinite:
|
|
81
|
-
closeOnPressEscape:
|
|
84
|
+
infinite: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
85
|
+
closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
82
86
|
zoomRate: number;
|
|
83
87
|
scale: number;
|
|
84
88
|
minScale: number;
|
|
85
89
|
maxScale: number;
|
|
86
90
|
showProgress: boolean;
|
|
87
91
|
urlList: string[];
|
|
88
|
-
}, {}, {}, {}, string,
|
|
92
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
89
93
|
export default TtImageViewer;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { PropType, SlotsType, VNodeChild } from 'vue';
|
|
1
|
+
import { PropType, SlotsType, VNodeChild, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
import { ImageStatus } from './index';
|
|
3
|
-
|
|
3
|
+
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
|
4
|
+
import { ImageCrossorigin } from 'element-plus';
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
6
|
/** image 图片的 集中状态 */
|
|
5
7
|
status: {
|
|
6
8
|
type: PropType<ImageStatus>;
|
|
@@ -8,22 +10,22 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
8
10
|
default: string;
|
|
9
11
|
};
|
|
10
12
|
hideOnClickModal: BooleanConstructor;
|
|
11
|
-
src:
|
|
12
|
-
fit:
|
|
13
|
+
src: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
14
|
+
fit: EpPropFinalized<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown, "", boolean>;
|
|
13
15
|
loading: {
|
|
14
|
-
readonly type: PropType<
|
|
16
|
+
readonly type: PropType< EpPropMergeType<StringConstructor, "lazy" | "eager", unknown>>;
|
|
15
17
|
readonly required: false;
|
|
16
18
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
17
19
|
__epPropKey: true;
|
|
18
20
|
};
|
|
19
21
|
lazy: BooleanConstructor;
|
|
20
22
|
scrollContainer: {
|
|
21
|
-
readonly type: PropType<
|
|
23
|
+
readonly type: PropType< EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement | undefined) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement | undefined)) | null)[], unknown, unknown>>;
|
|
22
24
|
readonly required: false;
|
|
23
25
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
24
26
|
__epPropKey: true;
|
|
25
27
|
};
|
|
26
|
-
previewSrcList:
|
|
28
|
+
previewSrcList: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
|
|
27
29
|
previewTeleported: BooleanConstructor;
|
|
28
30
|
zIndex: {
|
|
29
31
|
readonly type: PropType<number>;
|
|
@@ -31,27 +33,27 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
31
33
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
32
34
|
__epPropKey: true;
|
|
33
35
|
};
|
|
34
|
-
initialIndex:
|
|
35
|
-
infinite:
|
|
36
|
-
closeOnPressEscape:
|
|
37
|
-
zoomRate:
|
|
38
|
-
scale:
|
|
39
|
-
minScale:
|
|
40
|
-
maxScale:
|
|
36
|
+
initialIndex: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
37
|
+
infinite: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
38
|
+
closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
39
|
+
zoomRate: EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
|
|
40
|
+
scale: EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
41
|
+
minScale: EpPropFinalized<NumberConstructor, unknown, unknown, 0.2, boolean>;
|
|
42
|
+
maxScale: EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
41
43
|
showProgress: BooleanConstructor;
|
|
42
44
|
crossorigin: {
|
|
43
|
-
readonly type: PropType<
|
|
45
|
+
readonly type: PropType< EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => ImageCrossorigin) | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => ImageCrossorigin)) | null)[], unknown, unknown>>;
|
|
44
46
|
readonly required: false;
|
|
45
47
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
46
48
|
__epPropKey: true;
|
|
47
49
|
};
|
|
48
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {},
|
|
50
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
49
51
|
load: (evt: Event) => boolean;
|
|
50
52
|
error: (evt: Event) => boolean;
|
|
51
53
|
switch: (val: number) => boolean;
|
|
52
54
|
close: () => boolean;
|
|
53
55
|
show: () => boolean;
|
|
54
|
-
}, string,
|
|
56
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
55
57
|
/** image 图片的 集中状态 */
|
|
56
58
|
status: {
|
|
57
59
|
type: PropType<ImageStatus>;
|
|
@@ -59,22 +61,22 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
59
61
|
default: string;
|
|
60
62
|
};
|
|
61
63
|
hideOnClickModal: BooleanConstructor;
|
|
62
|
-
src:
|
|
63
|
-
fit:
|
|
64
|
+
src: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
65
|
+
fit: EpPropFinalized<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown, "", boolean>;
|
|
64
66
|
loading: {
|
|
65
|
-
readonly type: PropType<
|
|
67
|
+
readonly type: PropType< EpPropMergeType<StringConstructor, "lazy" | "eager", unknown>>;
|
|
66
68
|
readonly required: false;
|
|
67
69
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
68
70
|
__epPropKey: true;
|
|
69
71
|
};
|
|
70
72
|
lazy: BooleanConstructor;
|
|
71
73
|
scrollContainer: {
|
|
72
|
-
readonly type: PropType<
|
|
74
|
+
readonly type: PropType< EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement | undefined) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement | undefined)) | null)[], unknown, unknown>>;
|
|
73
75
|
readonly required: false;
|
|
74
76
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
75
77
|
__epPropKey: true;
|
|
76
78
|
};
|
|
77
|
-
previewSrcList:
|
|
79
|
+
previewSrcList: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
|
|
78
80
|
previewTeleported: BooleanConstructor;
|
|
79
81
|
zIndex: {
|
|
80
82
|
readonly type: PropType<number>;
|
|
@@ -82,16 +84,16 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
82
84
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
83
85
|
__epPropKey: true;
|
|
84
86
|
};
|
|
85
|
-
initialIndex:
|
|
86
|
-
infinite:
|
|
87
|
-
closeOnPressEscape:
|
|
88
|
-
zoomRate:
|
|
89
|
-
scale:
|
|
90
|
-
minScale:
|
|
91
|
-
maxScale:
|
|
87
|
+
initialIndex: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
88
|
+
infinite: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
89
|
+
closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
90
|
+
zoomRate: EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
|
|
91
|
+
scale: EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
92
|
+
minScale: EpPropFinalized<NumberConstructor, unknown, unknown, 0.2, boolean>;
|
|
93
|
+
maxScale: EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
92
94
|
showProgress: BooleanConstructor;
|
|
93
95
|
crossorigin: {
|
|
94
|
-
readonly type: PropType<
|
|
96
|
+
readonly type: PropType< EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => ImageCrossorigin) | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => ImageCrossorigin)) | null)[], unknown, unknown>>;
|
|
95
97
|
readonly required: false;
|
|
96
98
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
97
99
|
__epPropKey: true;
|
|
@@ -106,13 +108,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
106
108
|
src: string;
|
|
107
109
|
status: ImageStatus;
|
|
108
110
|
hideOnClickModal: boolean;
|
|
109
|
-
fit:
|
|
111
|
+
fit: EpPropMergeType<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown>;
|
|
110
112
|
lazy: boolean;
|
|
111
113
|
previewSrcList: string[];
|
|
112
114
|
previewTeleported: boolean;
|
|
113
115
|
initialIndex: number;
|
|
114
|
-
infinite:
|
|
115
|
-
closeOnPressEscape:
|
|
116
|
+
infinite: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
117
|
+
closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
116
118
|
zoomRate: number;
|
|
117
119
|
scale: number;
|
|
118
120
|
minScale: number;
|
|
@@ -122,5 +124,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
122
124
|
placeholder?: () => VNodeChild;
|
|
123
125
|
error?: () => VNodeChild;
|
|
124
126
|
viewer?: () => VNodeChild;
|
|
125
|
-
}>, {}, {}, string,
|
|
127
|
+
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
126
128
|
export default _default;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { vTtLoading } from './src/directive';
|
|
2
2
|
import { Loading } from './src/service';
|
|
3
|
-
|
|
3
|
+
import { SFCWithInstall } from '../../../../utils/src';
|
|
4
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
5
|
+
import { LoadingProps } from '.';
|
|
6
|
+
export declare const TtLoading: SFCWithInstall<DefineComponent<LoadingProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< LoadingProps> & Readonly<{}>, {
|
|
4
7
|
visible: boolean;
|
|
5
8
|
zIndex: number;
|
|
6
9
|
svg: string;
|
|
@@ -9,7 +12,7 @@ export declare const TtLoading: import('../../../../utils/src').SFCWithInstall<i
|
|
|
9
12
|
fullscreen: boolean;
|
|
10
13
|
textColor: string;
|
|
11
14
|
spinnerColor: string;
|
|
12
|
-
}, {}, {}, {}, string,
|
|
15
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>;
|
|
13
16
|
export { vTtLoading };
|
|
14
17
|
export { Loading };
|
|
15
18
|
export * from './src/type';
|