@dazhicheng/ui 1.6.25 → 1.6.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/tt-api-component/index.d.ts +35 -24
- package/dist/components/tt-api-component/index.vue.d.ts +34 -0
- package/dist/components/tt-area/TtArea.vue.d.ts +2 -0
- package/dist/components/tt-area/index.d.ts +1 -1
- package/dist/components/tt-button/components/AddButton.vue.d.ts +2 -0
- package/dist/components/tt-button/index.d.ts +589 -260
- package/dist/components/tt-button/index.vue.d.ts +466 -0
- package/dist/components/tt-checkbox/index.d.ts +35 -26
- package/dist/components/tt-checkbox/index.vue.d.ts +28 -0
- package/dist/components/tt-drawer/index.d.ts +299 -306
- package/dist/components/tt-drawer/src/{RenderDrawer.d.ts → RenderDrawer.vue.d.ts} +146 -149
- package/dist/components/tt-drawer/src/components/{DrawerFooter.d.ts → DrawerFooter.vue.d.ts} +16 -18
- package/dist/components/tt-drawer/src/components/{DrawerHeader.d.ts → DrawerHeader.vue.d.ts} +3 -4
- package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +2 -2
- package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +2 -2
- package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +2 -4
- package/dist/components/tt-empty/index.d.ts +8 -10
- package/dist/components/tt-form/src/components/{ExpandableArrow.d.ts → ExpandableArrow.vue.d.ts} +4 -5
- package/dist/components/tt-form/src/components/{FormActions.d.ts → FormActions.vue.d.ts} +5 -6
- package/dist/components/tt-form/src/components/{FormElInput.d.ts → FormElInput.vue.d.ts} +101 -105
- package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
- package/dist/components/tt-form/src/form/{FormControl.d.ts → FormControl.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{FormDescription.d.ts → FormDescription.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{FormItem.d.ts → FormItem.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{FormLabel.d.ts → FormLabel.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +2 -0
- package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +8 -0
- package/dist/components/tt-form/src/form/{FormWarnMessage.d.ts → FormWarnMessage.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{RenderContent.d.ts → RenderContent.vue.d.ts} +4 -4
- package/dist/components/tt-form/src/form/index.d.ts +8 -8
- package/dist/components/tt-form/src/form/useFormField.d.ts +5 -6
- package/dist/components/tt-form/src/form-render/{FormField.d.ts → FormField.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
- package/dist/components/tt-form/src/form-render/{FormLabel.d.ts → FormLabel.vue.d.ts} +2 -3
- package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +11 -14
- package/dist/components/tt-form/src/form-render/context.d.ts +4 -5
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +6 -7
- package/dist/components/tt-form/src/form-render/expandable.d.ts +3 -4
- package/dist/components/tt-form/src/form-render/{form.d.ts → form.vue.d.ts} +8 -9
- package/dist/components/tt-form/src/form-render/index.d.ts +3 -3
- package/dist/components/tt-form/src/formApi.d.ts +3 -3
- package/dist/components/tt-form/src/group-form/{GroupForm.d.ts → GroupForm.vue.d.ts} +5 -7
- package/dist/components/tt-form/src/group-form/{GroupSection.d.ts → GroupSection.vue.d.ts} +5 -7
- package/dist/components/tt-form/src/group-form/{LazyFormField.d.ts → LazyFormField.vue.d.ts} +3 -5
- package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +5 -7
- package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +2 -3
- package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +2 -2
- package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +2 -2
- package/dist/components/tt-form/src/index.vue.d.ts +216 -0
- package/dist/components/tt-form/src/useForm.d.ts +1 -2
- package/dist/components/tt-form/src/useFormContext.d.ts +1 -2
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +337 -61
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +298 -0
- package/dist/components/tt-icon/components/AddIcon.vue.d.ts +7 -0
- package/dist/components/tt-icon/components/SubIcon.vue.d.ts +7 -0
- package/dist/components/tt-icon/index.d.ts +115 -24
- package/dist/components/tt-icon/index.vue.d.ts +32 -0
- package/dist/components/tt-image/index.d.ts +41 -45
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +26 -30
- package/dist/components/tt-image/tt-image.d.ts +34 -36
- package/dist/components/tt-loading/index.d.ts +2 -5
- package/dist/components/tt-loading/src/loading.vue.d.ts +12 -0
- package/dist/components/tt-log/index.d.ts +6 -7
- package/dist/components/tt-log/index.vue.d.ts +5 -0
- package/dist/components/tt-modal/index.d.ts +364 -371
- package/dist/components/tt-modal/src/{RenderModal.d.ts → RenderModal.vue.d.ts} +115 -118
- package/dist/components/tt-modal/src/components/{ModalFooter.d.ts → ModalFooter.vue.d.ts} +23 -26
- package/dist/components/tt-modal/src/components/{ModalHeader.d.ts → ModalHeader.vue.d.ts} +3 -4
- package/dist/components/tt-modal/src/components/{ModalWrapper.d.ts → ModalWrapper.vue.d.ts} +24 -27
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +29 -32
- package/dist/components/tt-modal/src/typing.d.ts +2 -2
- package/dist/components/tt-modal/src/utils/modal-api.d.ts +1 -2
- package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +2 -3
- package/dist/components/tt-modal-form/index.d.ts +2 -46
- package/dist/components/tt-modal-form/index.vue.d.ts +45 -0
- package/dist/components/tt-modal-form/useModalForm.d.ts +3 -4
- package/dist/components/tt-nav-anchor/index.d.ts +12 -15
- package/dist/components/tt-nav-anchor/src/{TtNavAnchor.d.ts → TtNavAnchor.vue.d.ts} +4 -4
- package/dist/components/tt-panel-select/index.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/{PanelLeft.d.ts → PanelLeft.vue.d.ts} +3 -4
- package/dist/components/tt-panel-select/src/components/{PanelMiddle.d.ts → PanelMiddle.vue.d.ts} +80 -83
- package/dist/components/tt-panel-select/src/components/{PanelRight.d.ts → PanelRight.vue.d.ts} +32 -34
- package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +6 -7
- package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
- package/dist/components/tt-panel-select/src/{index.d.ts → index.vue.d.ts} +80 -84
- package/dist/components/tt-radio-group/index.d.ts +50 -31
- package/dist/components/tt-radio-group/index.vue.d.ts +33 -0
- package/dist/components/tt-select/index.d.ts +1 -1
- package/dist/components/tt-select/src/{Select.d.ts → Select.vue.d.ts} +141 -146
- package/dist/components/tt-select/src/components/{SelectTable.d.ts → SelectTable.vue.d.ts} +36 -40
- package/dist/components/tt-select/src/components/{Table.d.ts → Table.vue.d.ts} +38 -41
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/usePagination.d.ts +3 -4
- package/dist/components/tt-select/src/hooks/useSelect.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
- package/dist/components/tt-table/index.d.ts +279 -287
- package/dist/components/tt-table/src/{Table.d.ts → Table.vue.d.ts} +204 -209
- package/dist/components/tt-table/src/{TableForm.d.ts → TableForm.vue.d.ts} +80 -83
- package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableAction.d.ts → TableAction.vue.d.ts} +4 -4
- package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableColumnModal.d.ts → TableColumnModal.vue.d.ts} +4 -5
- package/dist/components/tt-table/src/components/{TableToolbarTools.d.ts → TableToolbarTools.vue.d.ts} +6 -7
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +44 -45
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +33 -33
- package/dist/components/tt-table/src/hooks/useQuery.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +110 -112
- package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
- package/dist/components/tt-table/src/props.d.ts +17 -19
- package/dist/components/tt-table/src/utils/table-api.d.ts +4 -4
- package/dist/components/tt-table/src/utils/table-form-api.d.ts +1 -2
- package/dist/components/tt-text/index.d.ts +59 -34
- package/dist/components/tt-text/index.vue.d.ts +50 -0
- package/dist/components/tt-upload/index.d.ts +311 -317
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +517 -0
- package/dist/components/tt-upload/src/typing.d.ts +47 -49
- package/dist/hooks/useLoading.d.ts +2 -2
- package/dist/hooks/useScreenshotOss.d.ts +2 -2
- package/dist/index.d.ts +1 -2
- package/package.json +3 -3
- package/dist/components/tt-area/TtArea.d.ts +0 -3
- package/dist/components/tt-button/components/AddButton.d.ts +0 -3
- package/dist/components/tt-form/src/form/FormMessage.d.ts +0 -3
- package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +0 -9
- package/dist/components/tt-form/src/index.d.ts +0 -217
- package/dist/components/tt-icon/components/AddIcon.d.ts +0 -8
- package/dist/components/tt-icon/components/SubIcon.d.ts +0 -8
- package/dist/components/tt-loading/src/loading.d.ts +0 -13
- package/dist/components/tt-upload/src/TtUpload.d.ts +0 -519
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { ExtendedFormApi, TtFormProps } from './types';
|
|
2
|
-
import {
|
|
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>];
|
|
2
|
+
export declare function useForm<TValues extends Record<string, any> = Record<string, any>>(options: TtFormProps<TValues>): readonly [import('vue').DefineSetupFnComponent<TtFormProps<TValues>, {}, {}, TtFormProps<TValues> & {}, import('vue').PublicProps>, ExtendedFormApi<TValues>];
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
2
|
import { ArraySchemaContext, FormArrayActions, FormSchema, NestedArrayHandle, ExtendedFormApi, FormActions, TtFormProps } from './types';
|
|
3
|
-
import { FormContext } from 'vee-validate';
|
|
4
3
|
type ExtendFormProps = TtFormProps & {
|
|
5
4
|
formApi?: ExtendedFormApi;
|
|
6
5
|
};
|
|
@@ -86,6 +85,6 @@ export declare function resolveSchemaFieldInitialValue(item: FormSchema): unknow
|
|
|
86
85
|
export declare function shouldSeedAppendedFieldValue(values: Record<string, unknown>, item: FormSchema): boolean;
|
|
87
86
|
export declare function useFormInitial(props: ComputedRef<TtFormProps> | TtFormProps): {
|
|
88
87
|
delegatedSlots: ComputedRef<string[]>;
|
|
89
|
-
form: FormContext<Record<string, unknown>, Record<string, unknown>>;
|
|
88
|
+
form: import('vee-validate').FormContext<Record<string, unknown>, Record<string, unknown>>;
|
|
90
89
|
};
|
|
91
90
|
export {};
|
|
@@ -1,45 +1,33 @@
|
|
|
1
|
-
|
|
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
|
-
/** 错误信息 */
|
|
1
|
+
export declare const TtFormItemErrorTooltip: import('../../../../utils/src').SFCWithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
2
|
errMsg: {
|
|
8
3
|
type: StringConstructor;
|
|
9
4
|
default: string;
|
|
10
5
|
};
|
|
11
|
-
/** 挂载的DOM */
|
|
12
6
|
refDom: {
|
|
13
|
-
type: PropType<HTMLElement | null>;
|
|
7
|
+
type: import('vue').PropType<HTMLElement | null>;
|
|
14
8
|
default: () => null;
|
|
15
9
|
};
|
|
16
|
-
/** 显示的位置 enum */
|
|
17
10
|
placement: {
|
|
18
|
-
type: PropType<any>;
|
|
11
|
+
type: import('vue').PropType<any>;
|
|
19
12
|
default: string;
|
|
20
13
|
};
|
|
21
|
-
/** 字段名称(用于 E2E 测试定位) */
|
|
22
14
|
fieldName: {
|
|
23
15
|
type: StringConstructor;
|
|
24
16
|
default: string;
|
|
25
17
|
};
|
|
26
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
27
|
-
/** 错误信息 */
|
|
18
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
28
19
|
errMsg: {
|
|
29
20
|
type: StringConstructor;
|
|
30
21
|
default: string;
|
|
31
22
|
};
|
|
32
|
-
/** 挂载的DOM */
|
|
33
23
|
refDom: {
|
|
34
|
-
type: PropType<HTMLElement | null>;
|
|
24
|
+
type: import('vue').PropType<HTMLElement | null>;
|
|
35
25
|
default: () => null;
|
|
36
26
|
};
|
|
37
|
-
/** 显示的位置 enum */
|
|
38
27
|
placement: {
|
|
39
|
-
type: PropType<any>;
|
|
28
|
+
type: import('vue').PropType<any>;
|
|
40
29
|
default: string;
|
|
41
30
|
};
|
|
42
|
-
/** 字段名称(用于 E2E 测试定位) */
|
|
43
31
|
fieldName: {
|
|
44
32
|
type: StringConstructor;
|
|
45
33
|
default: string;
|
|
@@ -49,9 +37,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
49
37
|
fieldName: string;
|
|
50
38
|
errMsg: string;
|
|
51
39
|
refDom: HTMLElement | null;
|
|
52
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
53
41
|
tooltipRef: ({
|
|
54
|
-
$: ComponentInternalInstance;
|
|
42
|
+
$: import('vue').ComponentInternalInstance;
|
|
55
43
|
$data: {};
|
|
56
44
|
$props: {
|
|
57
45
|
readonly showArrow?: boolean | undefined;
|
|
@@ -69,8 +57,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
69
57
|
readonly showAfter?: number | undefined;
|
|
70
58
|
readonly hideAfter?: number | undefined;
|
|
71
59
|
readonly autoClose?: number | undefined;
|
|
72
|
-
readonly placement?: Placement | undefined;
|
|
73
|
-
readonly style?: StyleValue;
|
|
60
|
+
readonly placement?: import('element-plus').Placement | undefined;
|
|
61
|
+
readonly style?: import('vue').StyleValue;
|
|
74
62
|
readonly id?: string | undefined;
|
|
75
63
|
readonly className?: (string | {
|
|
76
64
|
[x: string]: boolean;
|
|
@@ -97,7 +85,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
97
85
|
} | (string | {
|
|
98
86
|
[x: string]: boolean;
|
|
99
87
|
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | undefined;
|
|
100
|
-
readonly effect?: PopperEffect | undefined;
|
|
88
|
+
readonly effect?: import('element-plus').PopperEffect | undefined;
|
|
101
89
|
readonly enterable?: boolean | undefined;
|
|
102
90
|
readonly pure?: boolean | undefined;
|
|
103
91
|
readonly focusOnShow?: boolean | undefined;
|
|
@@ -127,7 +115,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
127
115
|
} | (string | {
|
|
128
116
|
[x: string]: boolean;
|
|
129
117
|
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | undefined;
|
|
130
|
-
readonly popperStyle?: StyleValue;
|
|
118
|
+
readonly popperStyle?: import('vue').StyleValue;
|
|
131
119
|
readonly referenceEl?: HTMLElement | undefined;
|
|
132
120
|
readonly triggerTargetEl?: HTMLElement | undefined;
|
|
133
121
|
readonly stopPopperMouseEvent?: boolean | undefined;
|
|
@@ -135,16 +123,16 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
135
123
|
readonly zIndex?: number | undefined;
|
|
136
124
|
readonly loop?: boolean | undefined;
|
|
137
125
|
readonly boundariesPadding?: number | undefined;
|
|
138
|
-
readonly fallbackPlacements?: Placement[] | undefined;
|
|
126
|
+
readonly fallbackPlacements?: import('element-plus').Placement[] | undefined;
|
|
139
127
|
readonly gpuAcceleration?: boolean | undefined;
|
|
140
128
|
readonly offset?: number | undefined;
|
|
141
|
-
readonly popperOptions?: Partial<
|
|
129
|
+
readonly popperOptions?: Partial<import('element-plus').Options> | undefined;
|
|
142
130
|
readonly strategy?: ("fixed" | "absolute") | undefined;
|
|
143
131
|
readonly arrowOffset?: number | undefined;
|
|
144
|
-
readonly trigger?: Arrayable<TooltipTriggerType> | undefined;
|
|
132
|
+
readonly trigger?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').TooltipTriggerType> | undefined;
|
|
145
133
|
readonly triggerKeys?: string[] | undefined;
|
|
146
134
|
readonly focusOnTarget?: boolean | undefined;
|
|
147
|
-
readonly virtualRef?: Measurable | undefined;
|
|
135
|
+
readonly virtualRef?: import('element-plus').Measurable | undefined;
|
|
148
136
|
readonly onMouseenter?: ((e: MouseEvent) => void) | undefined;
|
|
149
137
|
readonly onMouseleave?: ((e: MouseEvent) => void) | undefined;
|
|
150
138
|
readonly onClick?: ((e: PointerEvent) => void) | undefined;
|
|
@@ -159,7 +147,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
159
147
|
readonly onOpen?: ((...args: any[]) => any) | undefined | undefined;
|
|
160
148
|
readonly "onBefore-show"?: ((...args: any[]) => any) | undefined | undefined;
|
|
161
149
|
readonly "onBefore-hide"?: ((...args: any[]) => any) | undefined | undefined;
|
|
162
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
150
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
163
151
|
$attrs: {
|
|
164
152
|
[x: string]: unknown;
|
|
165
153
|
};
|
|
@@ -167,14 +155,14 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
167
155
|
[x: string]: unknown;
|
|
168
156
|
};
|
|
169
157
|
$slots: Readonly<{
|
|
170
|
-
[name: string]: Slot<any> | undefined;
|
|
158
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
171
159
|
}>;
|
|
172
|
-
$root: ComponentPublicInstance | null;
|
|
173
|
-
$parent: ComponentPublicInstance | null;
|
|
160
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
161
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
174
162
|
$host: Element | null;
|
|
175
163
|
$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);
|
|
176
164
|
$el: any;
|
|
177
|
-
$options: ComponentOptionsBase<Readonly<
|
|
165
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').UseTooltipProps> & Readonly<{
|
|
178
166
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
179
167
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
180
168
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
@@ -183,14 +171,14 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
183
171
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
184
172
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
185
173
|
}>, {
|
|
186
|
-
popperRef: Ref<
|
|
187
|
-
contentRef: Ref<
|
|
174
|
+
popperRef: import('vue').Ref<import('element-plus').PopperInstance | undefined, import('element-plus').PopperInstance | undefined>;
|
|
175
|
+
contentRef: import('vue').Ref<import('element-plus').TooltipContentInstance | undefined, import('element-plus').TooltipContentInstance | undefined>;
|
|
188
176
|
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
189
177
|
updatePopper: () => void;
|
|
190
178
|
onOpen: (event?: Event, delay?: number) => void;
|
|
191
179
|
onClose: (event?: Event, delay?: number) => void;
|
|
192
180
|
hide: (event?: Event) => void;
|
|
193
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
181
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
194
182
|
close: (...args: any[]) => void;
|
|
195
183
|
hide: (...args: any[]) => void;
|
|
196
184
|
show: (...args: any[]) => void;
|
|
@@ -201,22 +189,22 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
201
189
|
}, string, {
|
|
202
190
|
offset: number;
|
|
203
191
|
teleported: boolean;
|
|
204
|
-
effect: PopperEffect;
|
|
192
|
+
effect: import('element-plus').PopperEffect;
|
|
205
193
|
visible: boolean | null;
|
|
206
194
|
content: string;
|
|
207
|
-
style: string | false | CSSProperties | StyleValue[] | null;
|
|
195
|
+
style: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
208
196
|
enterable: boolean;
|
|
209
197
|
pure: boolean;
|
|
210
198
|
focusOnShow: boolean;
|
|
211
199
|
trapping: boolean;
|
|
212
|
-
popperStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
200
|
+
popperStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
213
201
|
stopPopperMouseEvent: boolean;
|
|
214
202
|
virtualTriggering: boolean;
|
|
215
203
|
loop: boolean;
|
|
216
204
|
boundariesPadding: number;
|
|
217
205
|
gpuAcceleration: boolean;
|
|
218
|
-
placement: Placement;
|
|
219
|
-
popperOptions: Partial<
|
|
206
|
+
placement: import('element-plus').Placement;
|
|
207
|
+
popperOptions: Partial<import('element-plus').Options>;
|
|
220
208
|
strategy: "fixed" | "absolute";
|
|
221
209
|
arrowOffset: number;
|
|
222
210
|
showArrow: boolean;
|
|
@@ -224,9 +212,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
224
212
|
showAfter: number;
|
|
225
213
|
hideAfter: number;
|
|
226
214
|
autoClose: number;
|
|
227
|
-
trigger: Arrayable<TooltipTriggerType>;
|
|
215
|
+
trigger: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').TooltipTriggerType>;
|
|
228
216
|
triggerKeys: string[];
|
|
229
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
217
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
230
218
|
beforeCreate?: (() => void) | (() => void)[];
|
|
231
219
|
created?: (() => void) | (() => void)[];
|
|
232
220
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -239,32 +227,32 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
239
227
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
240
228
|
destroyed?: (() => void) | (() => void)[];
|
|
241
229
|
unmounted?: (() => void) | (() => void)[];
|
|
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)[];
|
|
230
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
231
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
232
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
245
233
|
};
|
|
246
234
|
$forceUpdate: () => void;
|
|
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;
|
|
235
|
+
$nextTick: typeof import('vue').nextTick;
|
|
236
|
+
$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;
|
|
249
237
|
} & Readonly<{
|
|
250
238
|
offset: number;
|
|
251
239
|
teleported: boolean;
|
|
252
|
-
effect: PopperEffect;
|
|
240
|
+
effect: import('element-plus').PopperEffect;
|
|
253
241
|
visible: boolean | null;
|
|
254
242
|
content: string;
|
|
255
|
-
style: string | false | CSSProperties | StyleValue[] | null;
|
|
243
|
+
style: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
256
244
|
enterable: boolean;
|
|
257
245
|
pure: boolean;
|
|
258
246
|
focusOnShow: boolean;
|
|
259
247
|
trapping: boolean;
|
|
260
|
-
popperStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
248
|
+
popperStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
261
249
|
stopPopperMouseEvent: boolean;
|
|
262
250
|
virtualTriggering: boolean;
|
|
263
251
|
loop: boolean;
|
|
264
252
|
boundariesPadding: number;
|
|
265
253
|
gpuAcceleration: boolean;
|
|
266
|
-
placement: Placement;
|
|
267
|
-
popperOptions: Partial<
|
|
254
|
+
placement: import('element-plus').Placement;
|
|
255
|
+
popperOptions: Partial<import('element-plus').Options>;
|
|
268
256
|
strategy: "fixed" | "absolute";
|
|
269
257
|
arrowOffset: number;
|
|
270
258
|
showArrow: boolean;
|
|
@@ -272,9 +260,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
272
260
|
showAfter: number;
|
|
273
261
|
hideAfter: number;
|
|
274
262
|
autoClose: number;
|
|
275
|
-
trigger: Arrayable<TooltipTriggerType>;
|
|
263
|
+
trigger: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').TooltipTriggerType>;
|
|
276
264
|
triggerKeys: string[];
|
|
277
|
-
}> & Omit<Readonly<
|
|
265
|
+
}> & Omit<Readonly<import('element-plus').UseTooltipProps> & Readonly<{
|
|
278
266
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
279
267
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
280
268
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
@@ -282,20 +270,308 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
282
270
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
283
271
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
284
272
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
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<
|
|
287
|
-
contentRef: Ref<
|
|
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"> & import('vue').ShallowUnwrapRef<{
|
|
274
|
+
popperRef: import('vue').Ref<import('element-plus').PopperInstance | undefined, import('element-plus').PopperInstance | undefined>;
|
|
275
|
+
contentRef: import('vue').Ref<import('element-plus').TooltipContentInstance | undefined, import('element-plus').TooltipContentInstance | undefined>;
|
|
288
276
|
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
289
277
|
updatePopper: () => void;
|
|
290
278
|
onOpen: (event?: Event, delay?: number) => void;
|
|
291
279
|
onClose: (event?: Event, delay?: number) => void;
|
|
292
280
|
hide: (event?: Event) => void;
|
|
293
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
281
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
294
282
|
$slots: {
|
|
295
283
|
default?: (props: {}) => any;
|
|
296
284
|
} & {
|
|
297
285
|
content?: (props: {}) => any;
|
|
298
286
|
};
|
|
299
287
|
}) | null;
|
|
300
|
-
}, HTMLDivElement>;
|
|
301
|
-
export
|
|
288
|
+
}, HTMLDivElement>> & Record<string, any>;
|
|
289
|
+
export declare const TtErrorTooltip: import('../../../../utils/src').SFCWithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
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;
|