@dazhicheng/ui 1.6.24 → 1.6.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/tt-api-component/index.d.ts +24 -35
- package/dist/components/tt-area/TtArea.d.ts +3 -0
- package/dist/components/tt-area/index.d.ts +1 -1
- package/dist/components/tt-button/components/AddButton.d.ts +3 -0
- package/dist/components/tt-button/index.d.ts +260 -589
- package/dist/components/tt-checkbox/index.d.ts +26 -35
- package/dist/components/tt-drawer/index.d.ts +306 -299
- package/dist/components/tt-drawer/src/{RenderDrawer.vue.d.ts → RenderDrawer.d.ts} +149 -146
- package/dist/components/tt-drawer/src/components/{DrawerFooter.vue.d.ts → DrawerFooter.d.ts} +18 -16
- package/dist/components/tt-drawer/src/components/{DrawerHeader.vue.d.ts → DrawerHeader.d.ts} +4 -3
- package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +2 -2
- package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +2 -2
- package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +4 -2
- package/dist/components/tt-empty/index.d.ts +10 -8
- package/dist/components/tt-form/src/components/{ExpandableArrow.vue.d.ts → ExpandableArrow.d.ts} +5 -4
- package/dist/components/tt-form/src/components/{FormActions.vue.d.ts → FormActions.d.ts} +6 -5
- package/dist/components/tt-form/src/components/{FormElInput.vue.d.ts → FormElInput.d.ts} +105 -101
- package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
- package/dist/components/tt-form/src/form/{FormControl.vue.d.ts → FormControl.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormDescription.vue.d.ts → FormDescription.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormItem.vue.d.ts → FormItem.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormLabel.vue.d.ts → FormLabel.d.ts} +2 -1
- package/dist/components/tt-form/src/form/FormMessage.d.ts +3 -0
- package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +9 -0
- package/dist/components/tt-form/src/form/{FormWarnMessage.vue.d.ts → FormWarnMessage.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{RenderContent.vue.d.ts → RenderContent.d.ts} +4 -4
- package/dist/components/tt-form/src/form/index.d.ts +8 -8
- package/dist/components/tt-form/src/form/useFormField.d.ts +6 -5
- package/dist/components/tt-form/src/form-render/{FormField.vue.d.ts → FormField.d.ts} +2 -1
- package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
- package/dist/components/tt-form/src/form-render/{FormLabel.vue.d.ts → FormLabel.d.ts} +3 -2
- package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +14 -11
- package/dist/components/tt-form/src/form-render/context.d.ts +5 -4
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +7 -6
- package/dist/components/tt-form/src/form-render/expandable.d.ts +4 -3
- package/dist/components/tt-form/src/form-render/{form.vue.d.ts → form.d.ts} +9 -8
- package/dist/components/tt-form/src/form-render/index.d.ts +3 -3
- package/dist/components/tt-form/src/formApi.d.ts +3 -3
- package/dist/components/tt-form/src/group-form/{GroupForm.vue.d.ts → GroupForm.d.ts} +7 -5
- package/dist/components/tt-form/src/group-form/{GroupSection.vue.d.ts → GroupSection.d.ts} +7 -5
- package/dist/components/tt-form/src/group-form/{LazyFormField.vue.d.ts → LazyFormField.d.ts} +5 -3
- package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +7 -5
- package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +3 -2
- package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +2 -2
- package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +2 -2
- package/dist/components/tt-form/src/index.d.ts +217 -0
- package/dist/components/tt-form/src/useForm.d.ts +2 -1
- package/dist/components/tt-form/src/useFormContext.d.ts +2 -1
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +61 -337
- package/dist/components/tt-icon/components/AddIcon.d.ts +8 -0
- package/dist/components/tt-icon/components/SubIcon.d.ts +8 -0
- package/dist/components/tt-icon/index.d.ts +24 -115
- package/dist/components/tt-image/index.d.ts +45 -41
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +30 -26
- package/dist/components/tt-image/tt-image.d.ts +36 -34
- package/dist/components/tt-loading/index.d.ts +5 -2
- package/dist/components/tt-loading/src/loading.d.ts +13 -0
- package/dist/components/tt-log/index.d.ts +7 -6
- package/dist/components/tt-modal/index.d.ts +371 -364
- package/dist/components/tt-modal/src/{RenderModal.vue.d.ts → RenderModal.d.ts} +118 -115
- package/dist/components/tt-modal/src/components/{ModalFooter.vue.d.ts → ModalFooter.d.ts} +26 -23
- package/dist/components/tt-modal/src/components/{ModalHeader.vue.d.ts → ModalHeader.d.ts} +4 -3
- package/dist/components/tt-modal/src/components/{ModalWrapper.vue.d.ts → ModalWrapper.d.ts} +27 -24
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +32 -29
- package/dist/components/tt-modal/src/typing.d.ts +2 -2
- package/dist/components/tt-modal/src/utils/modal-api.d.ts +2 -1
- package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +3 -2
- package/dist/components/tt-modal-form/index.d.ts +46 -2
- package/dist/components/tt-modal-form/useModalForm.d.ts +4 -3
- package/dist/components/tt-nav-anchor/index.d.ts +15 -12
- package/dist/components/tt-nav-anchor/src/{TtNavAnchor.vue.d.ts → TtNavAnchor.d.ts} +4 -4
- package/dist/components/tt-panel-select/index.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/{PanelLeft.vue.d.ts → PanelLeft.d.ts} +4 -3
- package/dist/components/tt-panel-select/src/components/{PanelMiddle.vue.d.ts → PanelMiddle.d.ts} +83 -80
- package/dist/components/tt-panel-select/src/components/{PanelRight.vue.d.ts → PanelRight.d.ts} +34 -32
- package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +7 -6
- package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
- package/dist/components/tt-panel-select/src/{index.vue.d.ts → index.d.ts} +84 -80
- package/dist/components/tt-radio-group/index.d.ts +31 -50
- package/dist/components/tt-select/index.d.ts +1 -1
- package/dist/components/tt-select/src/{Select.vue.d.ts → Select.d.ts} +146 -141
- package/dist/components/tt-select/src/components/{SelectTable.vue.d.ts → SelectTable.d.ts} +40 -36
- package/dist/components/tt-select/src/components/{Table.vue.d.ts → Table.d.ts} +41 -38
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/usePagination.d.ts +4 -3
- package/dist/components/tt-select/src/hooks/useSelect.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
- package/dist/components/tt-table/index.d.ts +287 -279
- package/dist/components/tt-table/src/{Table.vue.d.ts → Table.d.ts} +209 -204
- package/dist/components/tt-table/src/{TableForm.vue.d.ts → TableForm.d.ts} +83 -80
- package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableAction.vue.d.ts → TableAction.d.ts} +4 -4
- package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableColumnModal.vue.d.ts → TableColumnModal.d.ts} +5 -4
- package/dist/components/tt-table/src/components/{TableToolbarTools.vue.d.ts → TableToolbarTools.d.ts} +7 -6
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +45 -44
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +33 -33
- package/dist/components/tt-table/src/hooks/useQuery.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +112 -110
- package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
- package/dist/components/tt-table/src/props.d.ts +19 -17
- package/dist/components/tt-table/src/utils/table-api.d.ts +4 -4
- package/dist/components/tt-table/src/utils/table-form-api.d.ts +2 -1
- package/dist/components/tt-text/index.d.ts +34 -59
- package/dist/components/tt-upload/index.d.ts +317 -311
- package/dist/components/tt-upload/src/TtUpload.d.ts +519 -0
- package/dist/components/tt-upload/src/typing.d.ts +49 -47
- package/dist/hooks/useLoading.d.ts +2 -2
- package/dist/hooks/useScreenshotOss.d.ts +2 -2
- package/dist/index.d.ts +2 -1
- package/package.json +2 -2
- package/dist/components/tt-api-component/index.vue.d.ts +0 -34
- package/dist/components/tt-area/TtArea.vue.d.ts +0 -2
- package/dist/components/tt-button/components/AddButton.vue.d.ts +0 -2
- package/dist/components/tt-button/index.vue.d.ts +0 -466
- package/dist/components/tt-checkbox/index.vue.d.ts +0 -28
- package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +0 -2
- package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +0 -8
- package/dist/components/tt-form/src/index.vue.d.ts +0 -216
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +0 -298
- package/dist/components/tt-icon/components/AddIcon.vue.d.ts +0 -7
- package/dist/components/tt-icon/components/SubIcon.vue.d.ts +0 -7
- package/dist/components/tt-icon/index.vue.d.ts +0 -32
- package/dist/components/tt-loading/src/loading.vue.d.ts +0 -12
- package/dist/components/tt-log/index.vue.d.ts +0 -5
- package/dist/components/tt-modal-form/index.vue.d.ts +0 -45
- package/dist/components/tt-radio-group/index.vue.d.ts +0 -33
- package/dist/components/tt-text/index.vue.d.ts +0 -50
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +0 -517
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { ExtendedFormApi, TtFormProps } from './types';
|
|
2
|
-
|
|
2
|
+
import { DefineSetupFnComponent, PublicProps } from 'vue';
|
|
3
|
+
export declare function useForm<TValues extends Record<string, any> = Record<string, any>>(options: TtFormProps<TValues>): readonly [ DefineSetupFnComponent<TtFormProps<TValues>, {}, {}, TtFormProps<TValues> & {}, PublicProps>, ExtendedFormApi<TValues>];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
2
|
import { ArraySchemaContext, FormArrayActions, FormSchema, NestedArrayHandle, ExtendedFormApi, FormActions, TtFormProps } from './types';
|
|
3
|
+
import { FormContext } from 'vee-validate';
|
|
3
4
|
type ExtendFormProps = TtFormProps & {
|
|
4
5
|
formApi?: ExtendedFormApi;
|
|
5
6
|
};
|
|
@@ -85,6 +86,6 @@ export declare function resolveSchemaFieldInitialValue(item: FormSchema): unknow
|
|
|
85
86
|
export declare function shouldSeedAppendedFieldValue(values: Record<string, unknown>, item: FormSchema): boolean;
|
|
86
87
|
export declare function useFormInitial(props: ComputedRef<TtFormProps> | TtFormProps): {
|
|
87
88
|
delegatedSlots: ComputedRef<string[]>;
|
|
88
|
-
form:
|
|
89
|
+
form: FormContext<Record<string, unknown>, Record<string, unknown>>;
|
|
89
90
|
};
|
|
90
91
|
export {};
|
|
@@ -1,33 +1,45 @@
|
|
|
1
|
-
|
|
1
|
+
import { PropType, Ref, nextTick, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, StyleValue, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, CSSProperties, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
2
|
+
import { Placement, PopperEffect, Options, TooltipTriggerType, Measurable, UseTooltipProps, PopperInstance, TooltipContentInstance } from 'element-plus';
|
|
3
|
+
import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
|
|
4
|
+
import { OnCleanup } from '@vue/reactivity';
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
6
|
+
/** 错误信息 */
|
|
2
7
|
errMsg: {
|
|
3
8
|
type: StringConstructor;
|
|
4
9
|
default: string;
|
|
5
10
|
};
|
|
11
|
+
/** 挂载的DOM */
|
|
6
12
|
refDom: {
|
|
7
|
-
type:
|
|
13
|
+
type: PropType<HTMLElement | null>;
|
|
8
14
|
default: () => null;
|
|
9
15
|
};
|
|
16
|
+
/** 显示的位置 enum */
|
|
10
17
|
placement: {
|
|
11
|
-
type:
|
|
18
|
+
type: PropType<any>;
|
|
12
19
|
default: string;
|
|
13
20
|
};
|
|
21
|
+
/** 字段名称(用于 E2E 测试定位) */
|
|
14
22
|
fieldName: {
|
|
15
23
|
type: StringConstructor;
|
|
16
24
|
default: string;
|
|
17
25
|
};
|
|
18
|
-
}>, {}, {}, {}, {},
|
|
26
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
27
|
+
/** 错误信息 */
|
|
19
28
|
errMsg: {
|
|
20
29
|
type: StringConstructor;
|
|
21
30
|
default: string;
|
|
22
31
|
};
|
|
32
|
+
/** 挂载的DOM */
|
|
23
33
|
refDom: {
|
|
24
|
-
type:
|
|
34
|
+
type: PropType<HTMLElement | null>;
|
|
25
35
|
default: () => null;
|
|
26
36
|
};
|
|
37
|
+
/** 显示的位置 enum */
|
|
27
38
|
placement: {
|
|
28
|
-
type:
|
|
39
|
+
type: PropType<any>;
|
|
29
40
|
default: string;
|
|
30
41
|
};
|
|
42
|
+
/** 字段名称(用于 E2E 测试定位) */
|
|
31
43
|
fieldName: {
|
|
32
44
|
type: StringConstructor;
|
|
33
45
|
default: string;
|
|
@@ -37,9 +49,9 @@ export declare const TtFormItemErrorTooltip: import('../../../../utils/src').SFC
|
|
|
37
49
|
fieldName: string;
|
|
38
50
|
errMsg: string;
|
|
39
51
|
refDom: HTMLElement | null;
|
|
40
|
-
}, {}, {}, {}, string,
|
|
52
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
41
53
|
tooltipRef: ({
|
|
42
|
-
$:
|
|
54
|
+
$: ComponentInternalInstance;
|
|
43
55
|
$data: {};
|
|
44
56
|
$props: {
|
|
45
57
|
readonly showArrow?: boolean | undefined;
|
|
@@ -57,8 +69,8 @@ export declare const TtFormItemErrorTooltip: import('../../../../utils/src').SFC
|
|
|
57
69
|
readonly showAfter?: number | undefined;
|
|
58
70
|
readonly hideAfter?: number | undefined;
|
|
59
71
|
readonly autoClose?: number | undefined;
|
|
60
|
-
readonly placement?:
|
|
61
|
-
readonly style?:
|
|
72
|
+
readonly placement?: Placement | undefined;
|
|
73
|
+
readonly style?: StyleValue;
|
|
62
74
|
readonly id?: string | undefined;
|
|
63
75
|
readonly className?: (string | {
|
|
64
76
|
[x: string]: boolean;
|
|
@@ -85,7 +97,7 @@ export declare const TtFormItemErrorTooltip: import('../../../../utils/src').SFC
|
|
|
85
97
|
} | (string | {
|
|
86
98
|
[x: string]: boolean;
|
|
87
99
|
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | undefined;
|
|
88
|
-
readonly effect?:
|
|
100
|
+
readonly effect?: PopperEffect | undefined;
|
|
89
101
|
readonly enterable?: boolean | undefined;
|
|
90
102
|
readonly pure?: boolean | undefined;
|
|
91
103
|
readonly focusOnShow?: boolean | undefined;
|
|
@@ -115,7 +127,7 @@ export declare const TtFormItemErrorTooltip: import('../../../../utils/src').SFC
|
|
|
115
127
|
} | (string | {
|
|
116
128
|
[x: string]: boolean;
|
|
117
129
|
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | undefined;
|
|
118
|
-
readonly popperStyle?:
|
|
130
|
+
readonly popperStyle?: StyleValue;
|
|
119
131
|
readonly referenceEl?: HTMLElement | undefined;
|
|
120
132
|
readonly triggerTargetEl?: HTMLElement | undefined;
|
|
121
133
|
readonly stopPopperMouseEvent?: boolean | undefined;
|
|
@@ -123,16 +135,16 @@ export declare const TtFormItemErrorTooltip: import('../../../../utils/src').SFC
|
|
|
123
135
|
readonly zIndex?: number | undefined;
|
|
124
136
|
readonly loop?: boolean | undefined;
|
|
125
137
|
readonly boundariesPadding?: number | undefined;
|
|
126
|
-
readonly fallbackPlacements?:
|
|
138
|
+
readonly fallbackPlacements?: Placement[] | undefined;
|
|
127
139
|
readonly gpuAcceleration?: boolean | undefined;
|
|
128
140
|
readonly offset?: number | undefined;
|
|
129
|
-
readonly popperOptions?: Partial<
|
|
141
|
+
readonly popperOptions?: Partial< Options> | undefined;
|
|
130
142
|
readonly strategy?: ("fixed" | "absolute") | undefined;
|
|
131
143
|
readonly arrowOffset?: number | undefined;
|
|
132
|
-
readonly trigger?:
|
|
144
|
+
readonly trigger?: Arrayable<TooltipTriggerType> | undefined;
|
|
133
145
|
readonly triggerKeys?: string[] | undefined;
|
|
134
146
|
readonly focusOnTarget?: boolean | undefined;
|
|
135
|
-
readonly virtualRef?:
|
|
147
|
+
readonly virtualRef?: Measurable | undefined;
|
|
136
148
|
readonly onMouseenter?: ((e: MouseEvent) => void) | undefined;
|
|
137
149
|
readonly onMouseleave?: ((e: MouseEvent) => void) | undefined;
|
|
138
150
|
readonly onClick?: ((e: PointerEvent) => void) | undefined;
|
|
@@ -147,7 +159,7 @@ export declare const TtFormItemErrorTooltip: import('../../../../utils/src').SFC
|
|
|
147
159
|
readonly onOpen?: ((...args: any[]) => any) | undefined | undefined;
|
|
148
160
|
readonly "onBefore-show"?: ((...args: any[]) => any) | undefined | undefined;
|
|
149
161
|
readonly "onBefore-hide"?: ((...args: any[]) => any) | undefined | undefined;
|
|
150
|
-
} &
|
|
162
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
151
163
|
$attrs: {
|
|
152
164
|
[x: string]: unknown;
|
|
153
165
|
};
|
|
@@ -155,14 +167,14 @@ export declare const TtFormItemErrorTooltip: import('../../../../utils/src').SFC
|
|
|
155
167
|
[x: string]: unknown;
|
|
156
168
|
};
|
|
157
169
|
$slots: Readonly<{
|
|
158
|
-
[name: string]:
|
|
170
|
+
[name: string]: Slot<any> | undefined;
|
|
159
171
|
}>;
|
|
160
|
-
$root:
|
|
161
|
-
$parent:
|
|
172
|
+
$root: ComponentPublicInstance | null;
|
|
173
|
+
$parent: ComponentPublicInstance | null;
|
|
162
174
|
$host: Element | null;
|
|
163
175
|
$emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "hide", ...args: any[]) => void) & ((event: "show", ...args: any[]) => void) & ((event: "update:visible", ...args: any[]) => void) & ((event: "before-show", ...args: any[]) => void) & ((event: "before-hide", ...args: any[]) => void);
|
|
164
176
|
$el: any;
|
|
165
|
-
$options:
|
|
177
|
+
$options: ComponentOptionsBase<Readonly< UseTooltipProps> & Readonly<{
|
|
166
178
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
167
179
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
168
180
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
@@ -171,14 +183,14 @@ export declare const TtFormItemErrorTooltip: import('../../../../utils/src').SFC
|
|
|
171
183
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
172
184
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
173
185
|
}>, {
|
|
174
|
-
popperRef:
|
|
175
|
-
contentRef:
|
|
186
|
+
popperRef: Ref< PopperInstance | undefined, PopperInstance | undefined>;
|
|
187
|
+
contentRef: Ref< TooltipContentInstance | undefined, TooltipContentInstance | undefined>;
|
|
176
188
|
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
177
189
|
updatePopper: () => void;
|
|
178
190
|
onOpen: (event?: Event, delay?: number) => void;
|
|
179
191
|
onClose: (event?: Event, delay?: number) => void;
|
|
180
192
|
hide: (event?: Event) => void;
|
|
181
|
-
}, {}, {}, {},
|
|
193
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
182
194
|
close: (...args: any[]) => void;
|
|
183
195
|
hide: (...args: any[]) => void;
|
|
184
196
|
show: (...args: any[]) => void;
|
|
@@ -189,22 +201,22 @@ export declare const TtFormItemErrorTooltip: import('../../../../utils/src').SFC
|
|
|
189
201
|
}, string, {
|
|
190
202
|
offset: number;
|
|
191
203
|
teleported: boolean;
|
|
192
|
-
effect:
|
|
204
|
+
effect: PopperEffect;
|
|
193
205
|
visible: boolean | null;
|
|
194
206
|
content: string;
|
|
195
|
-
style: string | false |
|
|
207
|
+
style: string | false | CSSProperties | StyleValue[] | null;
|
|
196
208
|
enterable: boolean;
|
|
197
209
|
pure: boolean;
|
|
198
210
|
focusOnShow: boolean;
|
|
199
211
|
trapping: boolean;
|
|
200
|
-
popperStyle: string | false |
|
|
212
|
+
popperStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
201
213
|
stopPopperMouseEvent: boolean;
|
|
202
214
|
virtualTriggering: boolean;
|
|
203
215
|
loop: boolean;
|
|
204
216
|
boundariesPadding: number;
|
|
205
217
|
gpuAcceleration: boolean;
|
|
206
|
-
placement:
|
|
207
|
-
popperOptions: Partial<
|
|
218
|
+
placement: Placement;
|
|
219
|
+
popperOptions: Partial< Options>;
|
|
208
220
|
strategy: "fixed" | "absolute";
|
|
209
221
|
arrowOffset: number;
|
|
210
222
|
showArrow: boolean;
|
|
@@ -212,9 +224,9 @@ export declare const TtFormItemErrorTooltip: import('../../../../utils/src').SFC
|
|
|
212
224
|
showAfter: number;
|
|
213
225
|
hideAfter: number;
|
|
214
226
|
autoClose: number;
|
|
215
|
-
trigger:
|
|
227
|
+
trigger: Arrayable<TooltipTriggerType>;
|
|
216
228
|
triggerKeys: string[];
|
|
217
|
-
}, {}, string, {},
|
|
229
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
218
230
|
beforeCreate?: (() => void) | (() => void)[];
|
|
219
231
|
created?: (() => void) | (() => void)[];
|
|
220
232
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -227,32 +239,32 @@ export declare const TtFormItemErrorTooltip: import('../../../../utils/src').SFC
|
|
|
227
239
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
228
240
|
destroyed?: (() => void) | (() => void)[];
|
|
229
241
|
unmounted?: (() => void) | (() => void)[];
|
|
230
|
-
renderTracked?: ((e:
|
|
231
|
-
renderTriggered?: ((e:
|
|
232
|
-
errorCaptured?: ((err: unknown, instance:
|
|
242
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
243
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
244
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
233
245
|
};
|
|
234
246
|
$forceUpdate: () => void;
|
|
235
|
-
$nextTick: typeof
|
|
236
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
247
|
+
$nextTick: typeof nextTick;
|
|
248
|
+
$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;
|
|
237
249
|
} & Readonly<{
|
|
238
250
|
offset: number;
|
|
239
251
|
teleported: boolean;
|
|
240
|
-
effect:
|
|
252
|
+
effect: PopperEffect;
|
|
241
253
|
visible: boolean | null;
|
|
242
254
|
content: string;
|
|
243
|
-
style: string | false |
|
|
255
|
+
style: string | false | CSSProperties | StyleValue[] | null;
|
|
244
256
|
enterable: boolean;
|
|
245
257
|
pure: boolean;
|
|
246
258
|
focusOnShow: boolean;
|
|
247
259
|
trapping: boolean;
|
|
248
|
-
popperStyle: string | false |
|
|
260
|
+
popperStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
249
261
|
stopPopperMouseEvent: boolean;
|
|
250
262
|
virtualTriggering: boolean;
|
|
251
263
|
loop: boolean;
|
|
252
264
|
boundariesPadding: number;
|
|
253
265
|
gpuAcceleration: boolean;
|
|
254
|
-
placement:
|
|
255
|
-
popperOptions: Partial<
|
|
266
|
+
placement: Placement;
|
|
267
|
+
popperOptions: Partial< Options>;
|
|
256
268
|
strategy: "fixed" | "absolute";
|
|
257
269
|
arrowOffset: number;
|
|
258
270
|
showArrow: boolean;
|
|
@@ -260,9 +272,9 @@ export declare const TtFormItemErrorTooltip: import('../../../../utils/src').SFC
|
|
|
260
272
|
showAfter: number;
|
|
261
273
|
hideAfter: number;
|
|
262
274
|
autoClose: number;
|
|
263
|
-
trigger:
|
|
275
|
+
trigger: Arrayable<TooltipTriggerType>;
|
|
264
276
|
triggerKeys: string[];
|
|
265
|
-
}> & Omit<Readonly<
|
|
277
|
+
}> & Omit<Readonly< UseTooltipProps> & Readonly<{
|
|
266
278
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
267
279
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
268
280
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
@@ -270,308 +282,20 @@ export declare const TtFormItemErrorTooltip: import('../../../../utils/src').SFC
|
|
|
270
282
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
271
283
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
272
284
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
273
|
-
}>, "placement" | "style" | "onClose" | "visible" | "effect" | "enterable" | "pure" | "focusOnShow" | "trapping" | "popperStyle" | "stopPopperMouseEvent" | "virtualTriggering" | "loop" | "boundariesPadding" | "gpuAcceleration" | "offset" | "popperOptions" | "strategy" | "arrowOffset" | "showArrow" | "role" | "content" | "teleported" | "showAfter" | "hideAfter" | "autoClose" | "trigger" | "triggerKeys" | "onOpen" | "popperRef" | "contentRef" | "isFocusInsideContent" | "updatePopper" | "hide"> &
|
|
274
|
-
popperRef:
|
|
275
|
-
contentRef:
|
|
285
|
+
}>, "placement" | "style" | "onClose" | "visible" | "effect" | "enterable" | "pure" | "focusOnShow" | "trapping" | "popperStyle" | "stopPopperMouseEvent" | "virtualTriggering" | "loop" | "boundariesPadding" | "gpuAcceleration" | "offset" | "popperOptions" | "strategy" | "arrowOffset" | "showArrow" | "role" | "content" | "teleported" | "showAfter" | "hideAfter" | "autoClose" | "trigger" | "triggerKeys" | "onOpen" | "popperRef" | "contentRef" | "isFocusInsideContent" | "updatePopper" | "hide"> & ShallowUnwrapRef<{
|
|
286
|
+
popperRef: Ref< PopperInstance | undefined, PopperInstance | undefined>;
|
|
287
|
+
contentRef: Ref< TooltipContentInstance | undefined, TooltipContentInstance | undefined>;
|
|
276
288
|
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
277
289
|
updatePopper: () => void;
|
|
278
290
|
onOpen: (event?: Event, delay?: number) => void;
|
|
279
291
|
onClose: (event?: Event, delay?: number) => void;
|
|
280
292
|
hide: (event?: Event) => void;
|
|
281
|
-
}> & {} &
|
|
293
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
282
294
|
$slots: {
|
|
283
295
|
default?: (props: {}) => any;
|
|
284
296
|
} & {
|
|
285
297
|
content?: (props: {}) => any;
|
|
286
298
|
};
|
|
287
299
|
}) | null;
|
|
288
|
-
}, HTMLDivElement
|
|
289
|
-
export
|
|
290
|
-
errMsg: {
|
|
291
|
-
type: StringConstructor;
|
|
292
|
-
default: string;
|
|
293
|
-
};
|
|
294
|
-
refDom: {
|
|
295
|
-
type: import('vue').PropType<HTMLElement | null>;
|
|
296
|
-
default: () => null;
|
|
297
|
-
};
|
|
298
|
-
placement: {
|
|
299
|
-
type: import('vue').PropType<any>;
|
|
300
|
-
default: string;
|
|
301
|
-
};
|
|
302
|
-
fieldName: {
|
|
303
|
-
type: StringConstructor;
|
|
304
|
-
default: string;
|
|
305
|
-
};
|
|
306
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
307
|
-
errMsg: {
|
|
308
|
-
type: StringConstructor;
|
|
309
|
-
default: string;
|
|
310
|
-
};
|
|
311
|
-
refDom: {
|
|
312
|
-
type: import('vue').PropType<HTMLElement | null>;
|
|
313
|
-
default: () => null;
|
|
314
|
-
};
|
|
315
|
-
placement: {
|
|
316
|
-
type: import('vue').PropType<any>;
|
|
317
|
-
default: string;
|
|
318
|
-
};
|
|
319
|
-
fieldName: {
|
|
320
|
-
type: StringConstructor;
|
|
321
|
-
default: string;
|
|
322
|
-
};
|
|
323
|
-
}>> & Readonly<{}>, {
|
|
324
|
-
placement: any;
|
|
325
|
-
fieldName: string;
|
|
326
|
-
errMsg: string;
|
|
327
|
-
refDom: HTMLElement | null;
|
|
328
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
329
|
-
tooltipRef: ({
|
|
330
|
-
$: import('vue').ComponentInternalInstance;
|
|
331
|
-
$data: {};
|
|
332
|
-
$props: {
|
|
333
|
-
readonly showArrow?: boolean | undefined;
|
|
334
|
-
readonly "onUpdate:visible"?: (((value: boolean) => void) & ((...args: any[]) => any)) | undefined;
|
|
335
|
-
readonly role?: ("dialog" | "menu" | "grid" | "group" | "listbox" | "navigation" | "tooltip" | "tree") | undefined;
|
|
336
|
-
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
337
|
-
readonly content?: string | undefined;
|
|
338
|
-
readonly rawContent?: boolean | undefined;
|
|
339
|
-
readonly persistent?: boolean | undefined;
|
|
340
|
-
readonly visible?: boolean | null | undefined;
|
|
341
|
-
readonly transition?: string | undefined;
|
|
342
|
-
readonly teleported?: boolean | undefined;
|
|
343
|
-
readonly disabled?: boolean | undefined;
|
|
344
|
-
readonly ariaLabel?: string | undefined;
|
|
345
|
-
readonly showAfter?: number | undefined;
|
|
346
|
-
readonly hideAfter?: number | undefined;
|
|
347
|
-
readonly autoClose?: number | undefined;
|
|
348
|
-
readonly placement?: import('element-plus').Placement | undefined;
|
|
349
|
-
readonly style?: import('vue').StyleValue;
|
|
350
|
-
readonly id?: string | undefined;
|
|
351
|
-
readonly className?: (string | {
|
|
352
|
-
[x: string]: boolean;
|
|
353
|
-
} | (string | {
|
|
354
|
-
[x: string]: boolean;
|
|
355
|
-
} | (string | {
|
|
356
|
-
[x: string]: boolean;
|
|
357
|
-
} | (string | {
|
|
358
|
-
[x: string]: boolean;
|
|
359
|
-
} | (string | {
|
|
360
|
-
[x: string]: boolean;
|
|
361
|
-
} | (string | {
|
|
362
|
-
[x: string]: boolean;
|
|
363
|
-
} | (string | {
|
|
364
|
-
[x: string]: boolean;
|
|
365
|
-
} | (string | {
|
|
366
|
-
[x: string]: boolean;
|
|
367
|
-
} | (string | {
|
|
368
|
-
[x: string]: boolean;
|
|
369
|
-
} | (string | {
|
|
370
|
-
[x: string]: boolean;
|
|
371
|
-
} | (string | {
|
|
372
|
-
[x: string]: boolean;
|
|
373
|
-
} | (string | {
|
|
374
|
-
[x: string]: boolean;
|
|
375
|
-
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | undefined;
|
|
376
|
-
readonly effect?: import('element-plus').PopperEffect | undefined;
|
|
377
|
-
readonly enterable?: boolean | undefined;
|
|
378
|
-
readonly pure?: boolean | undefined;
|
|
379
|
-
readonly focusOnShow?: boolean | undefined;
|
|
380
|
-
readonly trapping?: boolean | undefined;
|
|
381
|
-
readonly popperClass?: (string | {
|
|
382
|
-
[x: string]: boolean;
|
|
383
|
-
} | (string | {
|
|
384
|
-
[x: string]: boolean;
|
|
385
|
-
} | (string | {
|
|
386
|
-
[x: string]: boolean;
|
|
387
|
-
} | (string | {
|
|
388
|
-
[x: string]: boolean;
|
|
389
|
-
} | (string | {
|
|
390
|
-
[x: string]: boolean;
|
|
391
|
-
} | (string | {
|
|
392
|
-
[x: string]: boolean;
|
|
393
|
-
} | (string | {
|
|
394
|
-
[x: string]: boolean;
|
|
395
|
-
} | (string | {
|
|
396
|
-
[x: string]: boolean;
|
|
397
|
-
} | (string | {
|
|
398
|
-
[x: string]: boolean;
|
|
399
|
-
} | (string | {
|
|
400
|
-
[x: string]: boolean;
|
|
401
|
-
} | (string | {
|
|
402
|
-
[x: string]: boolean;
|
|
403
|
-
} | (string | {
|
|
404
|
-
[x: string]: boolean;
|
|
405
|
-
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | undefined;
|
|
406
|
-
readonly popperStyle?: import('vue').StyleValue;
|
|
407
|
-
readonly referenceEl?: HTMLElement | undefined;
|
|
408
|
-
readonly triggerTargetEl?: HTMLElement | undefined;
|
|
409
|
-
readonly stopPopperMouseEvent?: boolean | undefined;
|
|
410
|
-
readonly virtualTriggering?: boolean | undefined;
|
|
411
|
-
readonly zIndex?: number | undefined;
|
|
412
|
-
readonly loop?: boolean | undefined;
|
|
413
|
-
readonly boundariesPadding?: number | undefined;
|
|
414
|
-
readonly fallbackPlacements?: import('element-plus').Placement[] | undefined;
|
|
415
|
-
readonly gpuAcceleration?: boolean | undefined;
|
|
416
|
-
readonly offset?: number | undefined;
|
|
417
|
-
readonly popperOptions?: Partial<import('element-plus').Options> | undefined;
|
|
418
|
-
readonly strategy?: ("fixed" | "absolute") | undefined;
|
|
419
|
-
readonly arrowOffset?: number | undefined;
|
|
420
|
-
readonly trigger?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').TooltipTriggerType> | undefined;
|
|
421
|
-
readonly triggerKeys?: string[] | undefined;
|
|
422
|
-
readonly focusOnTarget?: boolean | undefined;
|
|
423
|
-
readonly virtualRef?: import('element-plus').Measurable | undefined;
|
|
424
|
-
readonly onMouseenter?: ((e: MouseEvent) => void) | undefined;
|
|
425
|
-
readonly onMouseleave?: ((e: MouseEvent) => void) | undefined;
|
|
426
|
-
readonly onClick?: ((e: PointerEvent) => void) | undefined;
|
|
427
|
-
readonly onKeydown?: ((e: KeyboardEvent) => void) | undefined;
|
|
428
|
-
readonly onFocus?: ((e: FocusEvent) => void) | undefined;
|
|
429
|
-
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
430
|
-
readonly onContextmenu?: ((e: PointerEvent) => void) | undefined;
|
|
431
|
-
readonly open?: boolean | undefined;
|
|
432
|
-
readonly onClose?: ((...args: any[]) => any) | undefined | undefined;
|
|
433
|
-
readonly onHide?: ((...args: any[]) => any) | undefined | undefined;
|
|
434
|
-
readonly onShow?: ((...args: any[]) => any) | undefined | undefined;
|
|
435
|
-
readonly onOpen?: ((...args: any[]) => any) | undefined | undefined;
|
|
436
|
-
readonly "onBefore-show"?: ((...args: any[]) => any) | undefined | undefined;
|
|
437
|
-
readonly "onBefore-hide"?: ((...args: any[]) => any) | undefined | undefined;
|
|
438
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
439
|
-
$attrs: {
|
|
440
|
-
[x: string]: unknown;
|
|
441
|
-
};
|
|
442
|
-
$refs: {
|
|
443
|
-
[x: string]: unknown;
|
|
444
|
-
};
|
|
445
|
-
$slots: Readonly<{
|
|
446
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
447
|
-
}>;
|
|
448
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
449
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
450
|
-
$host: Element | null;
|
|
451
|
-
$emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "hide", ...args: any[]) => void) & ((event: "show", ...args: any[]) => void) & ((event: "update:visible", ...args: any[]) => void) & ((event: "before-show", ...args: any[]) => void) & ((event: "before-hide", ...args: any[]) => void);
|
|
452
|
-
$el: any;
|
|
453
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').UseTooltipProps> & Readonly<{
|
|
454
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
455
|
-
onHide?: ((...args: any[]) => any) | undefined;
|
|
456
|
-
onShow?: ((...args: any[]) => any) | undefined;
|
|
457
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
458
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
459
|
-
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
460
|
-
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
461
|
-
}>, {
|
|
462
|
-
popperRef: import('vue').Ref<import('element-plus').PopperInstance | undefined, import('element-plus').PopperInstance | undefined>;
|
|
463
|
-
contentRef: import('vue').Ref<import('element-plus').TooltipContentInstance | undefined, import('element-plus').TooltipContentInstance | undefined>;
|
|
464
|
-
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
465
|
-
updatePopper: () => void;
|
|
466
|
-
onOpen: (event?: Event, delay?: number) => void;
|
|
467
|
-
onClose: (event?: Event, delay?: number) => void;
|
|
468
|
-
hide: (event?: Event) => void;
|
|
469
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
470
|
-
close: (...args: any[]) => void;
|
|
471
|
-
hide: (...args: any[]) => void;
|
|
472
|
-
show: (...args: any[]) => void;
|
|
473
|
-
open: (...args: any[]) => void;
|
|
474
|
-
"update:visible": (...args: any[]) => void;
|
|
475
|
-
"before-show": (...args: any[]) => void;
|
|
476
|
-
"before-hide": (...args: any[]) => void;
|
|
477
|
-
}, string, {
|
|
478
|
-
offset: number;
|
|
479
|
-
teleported: boolean;
|
|
480
|
-
effect: import('element-plus').PopperEffect;
|
|
481
|
-
visible: boolean | null;
|
|
482
|
-
content: string;
|
|
483
|
-
style: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
484
|
-
enterable: boolean;
|
|
485
|
-
pure: boolean;
|
|
486
|
-
focusOnShow: boolean;
|
|
487
|
-
trapping: boolean;
|
|
488
|
-
popperStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
489
|
-
stopPopperMouseEvent: boolean;
|
|
490
|
-
virtualTriggering: boolean;
|
|
491
|
-
loop: boolean;
|
|
492
|
-
boundariesPadding: number;
|
|
493
|
-
gpuAcceleration: boolean;
|
|
494
|
-
placement: import('element-plus').Placement;
|
|
495
|
-
popperOptions: Partial<import('element-plus').Options>;
|
|
496
|
-
strategy: "fixed" | "absolute";
|
|
497
|
-
arrowOffset: number;
|
|
498
|
-
showArrow: boolean;
|
|
499
|
-
role: "dialog" | "menu" | "grid" | "group" | "listbox" | "navigation" | "tooltip" | "tree";
|
|
500
|
-
showAfter: number;
|
|
501
|
-
hideAfter: number;
|
|
502
|
-
autoClose: number;
|
|
503
|
-
trigger: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').TooltipTriggerType>;
|
|
504
|
-
triggerKeys: string[];
|
|
505
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
506
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
507
|
-
created?: (() => void) | (() => void)[];
|
|
508
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
509
|
-
mounted?: (() => void) | (() => void)[];
|
|
510
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
511
|
-
updated?: (() => void) | (() => void)[];
|
|
512
|
-
activated?: (() => void) | (() => void)[];
|
|
513
|
-
deactivated?: (() => void) | (() => void)[];
|
|
514
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
515
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
516
|
-
destroyed?: (() => void) | (() => void)[];
|
|
517
|
-
unmounted?: (() => void) | (() => void)[];
|
|
518
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
519
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
520
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
521
|
-
};
|
|
522
|
-
$forceUpdate: () => void;
|
|
523
|
-
$nextTick: typeof import('vue').nextTick;
|
|
524
|
-
$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;
|
|
525
|
-
} & Readonly<{
|
|
526
|
-
offset: number;
|
|
527
|
-
teleported: boolean;
|
|
528
|
-
effect: import('element-plus').PopperEffect;
|
|
529
|
-
visible: boolean | null;
|
|
530
|
-
content: string;
|
|
531
|
-
style: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
532
|
-
enterable: boolean;
|
|
533
|
-
pure: boolean;
|
|
534
|
-
focusOnShow: boolean;
|
|
535
|
-
trapping: boolean;
|
|
536
|
-
popperStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
537
|
-
stopPopperMouseEvent: boolean;
|
|
538
|
-
virtualTriggering: boolean;
|
|
539
|
-
loop: boolean;
|
|
540
|
-
boundariesPadding: number;
|
|
541
|
-
gpuAcceleration: boolean;
|
|
542
|
-
placement: import('element-plus').Placement;
|
|
543
|
-
popperOptions: Partial<import('element-plus').Options>;
|
|
544
|
-
strategy: "fixed" | "absolute";
|
|
545
|
-
arrowOffset: number;
|
|
546
|
-
showArrow: boolean;
|
|
547
|
-
role: "dialog" | "menu" | "grid" | "group" | "listbox" | "navigation" | "tooltip" | "tree";
|
|
548
|
-
showAfter: number;
|
|
549
|
-
hideAfter: number;
|
|
550
|
-
autoClose: number;
|
|
551
|
-
trigger: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').TooltipTriggerType>;
|
|
552
|
-
triggerKeys: string[];
|
|
553
|
-
}> & Omit<Readonly<import('element-plus').UseTooltipProps> & Readonly<{
|
|
554
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
555
|
-
onHide?: ((...args: any[]) => any) | undefined;
|
|
556
|
-
onShow?: ((...args: any[]) => any) | undefined;
|
|
557
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
558
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
559
|
-
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
560
|
-
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
561
|
-
}>, "placement" | "style" | "onClose" | "visible" | "effect" | "enterable" | "pure" | "focusOnShow" | "trapping" | "popperStyle" | "stopPopperMouseEvent" | "virtualTriggering" | "loop" | "boundariesPadding" | "gpuAcceleration" | "offset" | "popperOptions" | "strategy" | "arrowOffset" | "showArrow" | "role" | "content" | "teleported" | "showAfter" | "hideAfter" | "autoClose" | "trigger" | "triggerKeys" | "onOpen" | "popperRef" | "contentRef" | "isFocusInsideContent" | "updatePopper" | "hide"> & import('vue').ShallowUnwrapRef<{
|
|
562
|
-
popperRef: import('vue').Ref<import('element-plus').PopperInstance | undefined, import('element-plus').PopperInstance | undefined>;
|
|
563
|
-
contentRef: import('vue').Ref<import('element-plus').TooltipContentInstance | undefined, import('element-plus').TooltipContentInstance | undefined>;
|
|
564
|
-
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
565
|
-
updatePopper: () => void;
|
|
566
|
-
onOpen: (event?: Event, delay?: number) => void;
|
|
567
|
-
onClose: (event?: Event, delay?: number) => void;
|
|
568
|
-
hide: (event?: Event) => void;
|
|
569
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
570
|
-
$slots: {
|
|
571
|
-
default?: (props: {}) => any;
|
|
572
|
-
} & {
|
|
573
|
-
content?: (props: {}) => any;
|
|
574
|
-
};
|
|
575
|
-
}) | null;
|
|
576
|
-
}, HTMLDivElement>> & Record<string, any>;
|
|
577
|
-
export default TtFormItemErrorTooltip;
|
|
300
|
+
}, HTMLDivElement>;
|
|
301
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TtIconProps } from '../index';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = Omit<TtIconProps, "icon">;
|
|
4
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
5
|
+
size: number;
|
|
6
|
+
isCustomSvg: boolean;
|
|
7
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TtIconProps } from '../index';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = Omit<TtIconProps, "icon">;
|
|
4
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
5
|
+
size: number;
|
|
6
|
+
isCustomSvg: boolean;
|
|
7
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|