@dazhicheng/ui 1.5.180 → 1.5.183
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-button/index.d.ts +11 -9
- package/dist/components/tt-button/index.vue.d.ts +8 -6
- package/dist/components/tt-drawer/index.d.ts +23 -23
- package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +11 -11
- package/dist/components/tt-form/index.d.ts +1 -1
- package/dist/components/tt-form/src/components/FormElInput.vue.d.ts +5 -5
- package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +4 -4
- package/dist/components/tt-form/src/form-render/FormLabel.vue.d.ts +0 -3
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +6 -6
- package/dist/components/tt-form/src/form-render/form.vue.d.ts +19 -3
- package/dist/components/tt-form/src/group-form/GroupForm.vue.d.ts +1 -1
- package/dist/components/tt-form/src/group-form/index.d.ts +1 -1
- package/dist/components/tt-form/src/index.vue.d.ts +29 -5
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +8 -8
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +4 -4
- package/dist/components/tt-image/index.d.ts +2 -2
- package/dist/components/tt-image/tt-image.d.ts +2 -2
- package/dist/components/tt-loading/index.d.ts +2 -2
- package/dist/components/tt-loading/src/loading.vue.d.ts +2 -2
- package/dist/components/tt-modal/index.d.ts +50 -50
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +28 -28
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.d.ts +1 -1
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +9 -9
- package/dist/components/tt-modal-form/index.vue.d.ts +2 -2
- package/dist/components/tt-nav-anchor/index.d.ts +3 -3
- package/dist/components/tt-nav-anchor/src/TtNavAnchor.vue.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.d.ts +2 -2
- package/dist/components/tt-panel-select/src/index.vue.d.ts +408 -0
- package/dist/components/tt-select/src/Select.vue.d.ts +6 -4
- package/dist/components/tt-select/src/components/SelectTable.vue.d.ts +1 -1
- package/dist/components/tt-select/src/components/Table.vue.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/useDataSource.d.ts +1 -1
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +1 -1
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
- package/dist/components/tt-table/index.d.ts +9 -9
- package/dist/components/tt-table/src/Table.vue.d.ts +5 -5
- package/dist/components/tt-table/src/TableForm.vue.d.ts +237 -0
- package/dist/components/tt-table/src/components/TableColumnModal.vue.d.ts +1 -1
- package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +8 -8
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +4 -3
- package/dist/components/tt-table/src/hooks/useTableEvent.d.ts +1 -1
- package/dist/components/tt-table/src/hooks/useTableSlot.d.ts +2 -2
- package/dist/components/tt-table/src/props.d.ts +3 -3
- package/dist/components/tt-table/src/types/table.d.ts +8 -0
- package/dist/components/tt-table/src/types/tableForm.d.ts +1 -1
- package/dist/components/tt-text/index.d.ts +3 -3
- package/dist/components/tt-text/index.vue.d.ts +1 -1
- package/dist/components/tt-upload/index.d.ts +14 -14
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +5 -5
- package/dist/components/types.d.ts +2 -0
- package/dist/hooks/useTemplateSlot.d.ts +2 -2
- package/dist/index.d.ts +0 -1
- package/dist/index.js +10890 -11342
- package/dist/style.css +1 -1
- package/package.json +15 -6
- package/dist/components/tt-tree-select/index.d.ts +0 -5
- package/dist/components/tt-tree-select/src/TtTreeSelect.vue.d.ts +0 -6
- package/dist/components/tt-tree-select/src/cache-options.d.ts +0 -35
- package/dist/components/tt-tree-select/src/select.d.ts +0 -10
- package/dist/components/tt-tree-select/src/tree.d.ts +0 -23
- package/dist/components/tt-tree-select/src/utils.d.ts +0 -10
|
@@ -10,10 +10,7 @@ export default function useDependencies(getDependencies: () => FormItemDependenc
|
|
|
10
10
|
[x: Record<never, never> & string]: any;
|
|
11
11
|
style?: any;
|
|
12
12
|
title?: any;
|
|
13
|
-
options?: any;
|
|
14
|
-
id?: any;
|
|
15
13
|
contextmenu?: any;
|
|
16
|
-
onError?: any;
|
|
17
14
|
onInput?: any;
|
|
18
15
|
onProgress?: any;
|
|
19
16
|
onSelect?: any;
|
|
@@ -45,6 +42,7 @@ export default function useDependencies(getDependencies: () => FormItemDependenc
|
|
|
45
42
|
onDurationchange?: any;
|
|
46
43
|
onEmptied?: any;
|
|
47
44
|
onEnded?: any;
|
|
45
|
+
onError?: any;
|
|
48
46
|
onFocus?: any;
|
|
49
47
|
onFocusin?: any;
|
|
50
48
|
onFocusout?: any;
|
|
@@ -94,6 +92,7 @@ export default function useDependencies(getDependencies: () => FormItemDependenc
|
|
|
94
92
|
onVolumechange?: any;
|
|
95
93
|
onWaiting?: any;
|
|
96
94
|
onWheel?: any;
|
|
95
|
+
id?: any;
|
|
97
96
|
role?: any;
|
|
98
97
|
class?: any;
|
|
99
98
|
dir?: any;
|
|
@@ -181,15 +180,13 @@ export default function useDependencies(getDependencies: () => FormItemDependenc
|
|
|
181
180
|
"aria-valuemin"?: any;
|
|
182
181
|
"aria-valuenow"?: any;
|
|
183
182
|
"aria-valuetext"?: any;
|
|
183
|
+
options?: any;
|
|
184
184
|
manifest?: any;
|
|
185
185
|
}, MaybeComponentProps | {
|
|
186
186
|
[x: Record<never, never> & string]: any;
|
|
187
187
|
style?: any;
|
|
188
188
|
title?: any;
|
|
189
|
-
options?: any;
|
|
190
|
-
id?: any;
|
|
191
189
|
contextmenu?: any;
|
|
192
|
-
onError?: any;
|
|
193
190
|
onInput?: any;
|
|
194
191
|
onProgress?: any;
|
|
195
192
|
onSelect?: any;
|
|
@@ -221,6 +218,7 @@ export default function useDependencies(getDependencies: () => FormItemDependenc
|
|
|
221
218
|
onDurationchange?: any;
|
|
222
219
|
onEmptied?: any;
|
|
223
220
|
onEnded?: any;
|
|
221
|
+
onError?: any;
|
|
224
222
|
onFocus?: any;
|
|
225
223
|
onFocusin?: any;
|
|
226
224
|
onFocusout?: any;
|
|
@@ -270,6 +268,7 @@ export default function useDependencies(getDependencies: () => FormItemDependenc
|
|
|
270
268
|
onVolumechange?: any;
|
|
271
269
|
onWaiting?: any;
|
|
272
270
|
onWheel?: any;
|
|
271
|
+
id?: any;
|
|
273
272
|
role?: any;
|
|
274
273
|
class?: any;
|
|
275
274
|
dir?: any;
|
|
@@ -357,6 +356,7 @@ export default function useDependencies(getDependencies: () => FormItemDependenc
|
|
|
357
356
|
"aria-valuemin"?: any;
|
|
358
357
|
"aria-valuenow"?: any;
|
|
359
358
|
"aria-valuetext"?: any;
|
|
359
|
+
options?: any;
|
|
360
360
|
manifest?: any;
|
|
361
361
|
}>;
|
|
362
362
|
dynamicRules: import('vue').Ref<FormSchemaRuleType | undefined, FormSchemaRuleType | undefined>;
|
|
@@ -1,9 +1,23 @@
|
|
|
1
|
-
import { FormCommonConfig, FormRenderProps } from '../types';
|
|
1
|
+
import { FormCommonConfig, FormRenderProps, FormShape } from '../types';
|
|
2
2
|
type Props = FormRenderProps;
|
|
3
3
|
type __VLS_Props = Props & {
|
|
4
4
|
globalCommonConfig?: FormCommonConfig;
|
|
5
5
|
};
|
|
6
|
-
declare function __VLS_template():
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: Partial<Record<string, (_: {
|
|
9
|
+
values: Record<string, any>;
|
|
10
|
+
formActions: import('../types').FormActions;
|
|
11
|
+
}) => any>> & Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
12
|
+
default?(_: {
|
|
13
|
+
shapes: FormShape[];
|
|
14
|
+
}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {
|
|
17
|
+
wrapperRef: HTMLDivElement;
|
|
18
|
+
};
|
|
19
|
+
rootEl: any;
|
|
20
|
+
};
|
|
7
21
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
8
22
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
9
23
|
wrapperRef: import('vue').ComputedRef<HTMLElement | null>;
|
|
@@ -17,7 +31,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
17
31
|
showCollapseButton: boolean;
|
|
18
32
|
wrapperClass: import('../types').WrapperClassType;
|
|
19
33
|
globalCommonConfig: FormCommonConfig;
|
|
20
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false,
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
35
|
+
wrapperRef: HTMLDivElement;
|
|
36
|
+
}, any>;
|
|
21
37
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
38
|
export default _default;
|
|
23
39
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -11,7 +11,7 @@ import { GroupFormSectionProps } from './types';
|
|
|
11
11
|
declare function scrollToGroup(key: string): void;
|
|
12
12
|
declare function __VLS_template(): {
|
|
13
13
|
attrs: Partial<{}>;
|
|
14
|
-
slots: Partial<Record<number
|
|
14
|
+
slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
15
15
|
[x: string]: unknown;
|
|
16
16
|
}) => any>>;
|
|
17
17
|
refs: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { GroupFormApi } from './groupFormApi';
|
|
2
2
|
export { useGroupForm } from './useGroupForm';
|
|
3
|
-
export type { FormGroupSchema, FormRowSchema, GroupFormApiOptions, GroupFormNavAnchorProps, GroupFormSchema, UseGroupFormNavAnchorProps, UseGroupFormOptions, UseGroupFormOptionsWithGroupSchema, UseGroupFormOptionsWithLegacySchema, } from './types';
|
|
3
|
+
export type { FormGroupSchema, FormRowSchema, GroupFormApiOptions, GroupFormNavAnchorProps, GroupFormSchema, GroupFormState, UseGroupFormNavAnchorProps, UseGroupFormOptions, UseGroupFormOptionsWithGroupSchema, UseGroupFormOptionsWithLegacySchema, } from './types';
|
|
4
4
|
export { extractFlatSchemas, isGroupSchema, isRowSchema, isSlotSchema, resolveGroupSchema } from './utils';
|
|
@@ -6,7 +6,9 @@ interface Props extends TtFormProps {
|
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
7
|
attrs: Partial<{}>;
|
|
8
8
|
slots: Partial<Record<string, (_: any) => any>> & {
|
|
9
|
-
default?(_:
|
|
9
|
+
default?(_: {
|
|
10
|
+
shapes: import('./types').FormShape[];
|
|
11
|
+
}): any;
|
|
10
12
|
'reset-before'?(_: {}): any;
|
|
11
13
|
'submit-before'?(_: {}): any;
|
|
12
14
|
'expand-before'?(_: {}): any;
|
|
@@ -37,7 +39,11 @@ declare function __VLS_template(): {
|
|
|
37
39
|
$attrs: {
|
|
38
40
|
[x: string]: unknown;
|
|
39
41
|
};
|
|
40
|
-
$refs:
|
|
42
|
+
$refs: {
|
|
43
|
+
[x: string]: unknown;
|
|
44
|
+
} & {
|
|
45
|
+
wrapperRef: HTMLDivElement;
|
|
46
|
+
};
|
|
41
47
|
$slots: Readonly<{
|
|
42
48
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
43
49
|
}>;
|
|
@@ -93,7 +99,14 @@ declare function __VLS_template(): {
|
|
|
93
99
|
}>, "wrapperRef" | ("collapsedRows" | "commonConfig" | "showCollapseButton" | "wrapperClass" | "globalCommonConfig")> & import('vue').ShallowUnwrapRef<{
|
|
94
100
|
wrapperRef: import('vue').ComputedRef<HTMLElement | null>;
|
|
95
101
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
96
|
-
$slots:
|
|
102
|
+
$slots: Partial<Record<string, (_: {
|
|
103
|
+
values: Record<string, any>;
|
|
104
|
+
formActions: import('./types').FormActions;
|
|
105
|
+
}) => any>> & Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
106
|
+
default?(_: {
|
|
107
|
+
shapes: import('./types').FormShape[];
|
|
108
|
+
}): any;
|
|
109
|
+
};
|
|
97
110
|
}) | null;
|
|
98
111
|
};
|
|
99
112
|
rootEl: any;
|
|
@@ -124,7 +137,11 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
124
137
|
$attrs: {
|
|
125
138
|
[x: string]: unknown;
|
|
126
139
|
};
|
|
127
|
-
$refs:
|
|
140
|
+
$refs: {
|
|
141
|
+
[x: string]: unknown;
|
|
142
|
+
} & {
|
|
143
|
+
wrapperRef: HTMLDivElement;
|
|
144
|
+
};
|
|
128
145
|
$slots: Readonly<{
|
|
129
146
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
130
147
|
}>;
|
|
@@ -180,7 +197,14 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
180
197
|
}>, "wrapperRef" | ("collapsedRows" | "commonConfig" | "showCollapseButton" | "wrapperClass" | "globalCommonConfig")> & import('vue').ShallowUnwrapRef<{
|
|
181
198
|
wrapperRef: import('vue').ComputedRef<HTMLElement | null>;
|
|
182
199
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
183
|
-
$slots:
|
|
200
|
+
$slots: Partial<Record<string, (_: {
|
|
201
|
+
values: Record<string, any>;
|
|
202
|
+
formActions: import('./types').FormActions;
|
|
203
|
+
}) => any>> & Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
204
|
+
default?(_: {
|
|
205
|
+
shapes: import('./types').FormShape[];
|
|
206
|
+
}): any;
|
|
207
|
+
};
|
|
184
208
|
}) | null;
|
|
185
209
|
}, any>;
|
|
186
210
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -57,11 +57,9 @@ export declare const TtFormItemErrorTooltip: import('../../../../utils/src').SFC
|
|
|
57
57
|
readonly showAfter?: number | undefined;
|
|
58
58
|
readonly hideAfter?: number | undefined;
|
|
59
59
|
readonly autoClose?: number | undefined;
|
|
60
|
+
readonly placement?: import('element-plus').Placement | undefined;
|
|
60
61
|
readonly style?: import('vue').StyleValue;
|
|
61
62
|
readonly id?: string | undefined;
|
|
62
|
-
readonly offset?: number | undefined;
|
|
63
|
-
readonly placement?: import('element-plus').Placement | undefined;
|
|
64
|
-
readonly zIndex?: number | undefined;
|
|
65
63
|
readonly className?: (string | {
|
|
66
64
|
[x: string]: boolean;
|
|
67
65
|
} | (string | {
|
|
@@ -122,10 +120,12 @@ export declare const TtFormItemErrorTooltip: import('../../../../utils/src').SFC
|
|
|
122
120
|
readonly triggerTargetEl?: HTMLElement | undefined;
|
|
123
121
|
readonly stopPopperMouseEvent?: boolean | undefined;
|
|
124
122
|
readonly virtualTriggering?: boolean | undefined;
|
|
123
|
+
readonly zIndex?: number | undefined;
|
|
125
124
|
readonly loop?: boolean | undefined;
|
|
126
125
|
readonly boundariesPadding?: number | undefined;
|
|
127
126
|
readonly fallbackPlacements?: import('element-plus').Placement[] | undefined;
|
|
128
127
|
readonly gpuAcceleration?: boolean | undefined;
|
|
128
|
+
readonly offset?: number | undefined;
|
|
129
129
|
readonly popperOptions?: Partial<import('element-plus').Options> | undefined;
|
|
130
130
|
readonly strategy?: ("fixed" | "absolute") | undefined;
|
|
131
131
|
readonly arrowOffset?: number | undefined;
|
|
@@ -270,7 +270,7 @@ export declare const TtFormItemErrorTooltip: import('../../../../utils/src').SFC
|
|
|
270
270
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
271
271
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
272
272
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
273
|
-
}>, "
|
|
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
274
|
popperRef: import('vue').Ref<import('element-plus').PopperInstance | undefined, import('element-plus').PopperInstance | undefined>;
|
|
275
275
|
contentRef: import('vue').Ref<import('element-plus').TooltipContentInstance | undefined, import('element-plus').TooltipContentInstance | undefined>;
|
|
276
276
|
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
@@ -345,11 +345,9 @@ export declare const TtErrorTooltip: import('../../../../utils/src').SFCWithInst
|
|
|
345
345
|
readonly showAfter?: number | undefined;
|
|
346
346
|
readonly hideAfter?: number | undefined;
|
|
347
347
|
readonly autoClose?: number | undefined;
|
|
348
|
+
readonly placement?: import('element-plus').Placement | undefined;
|
|
348
349
|
readonly style?: import('vue').StyleValue;
|
|
349
350
|
readonly id?: string | undefined;
|
|
350
|
-
readonly offset?: number | undefined;
|
|
351
|
-
readonly placement?: import('element-plus').Placement | undefined;
|
|
352
|
-
readonly zIndex?: number | undefined;
|
|
353
351
|
readonly className?: (string | {
|
|
354
352
|
[x: string]: boolean;
|
|
355
353
|
} | (string | {
|
|
@@ -410,10 +408,12 @@ export declare const TtErrorTooltip: import('../../../../utils/src').SFCWithInst
|
|
|
410
408
|
readonly triggerTargetEl?: HTMLElement | undefined;
|
|
411
409
|
readonly stopPopperMouseEvent?: boolean | undefined;
|
|
412
410
|
readonly virtualTriggering?: boolean | undefined;
|
|
411
|
+
readonly zIndex?: number | undefined;
|
|
413
412
|
readonly loop?: boolean | undefined;
|
|
414
413
|
readonly boundariesPadding?: number | undefined;
|
|
415
414
|
readonly fallbackPlacements?: import('element-plus').Placement[] | undefined;
|
|
416
415
|
readonly gpuAcceleration?: boolean | undefined;
|
|
416
|
+
readonly offset?: number | undefined;
|
|
417
417
|
readonly popperOptions?: Partial<import('element-plus').Options> | undefined;
|
|
418
418
|
readonly strategy?: ("fixed" | "absolute") | undefined;
|
|
419
419
|
readonly arrowOffset?: number | undefined;
|
|
@@ -558,7 +558,7 @@ export declare const TtErrorTooltip: import('../../../../utils/src').SFCWithInst
|
|
|
558
558
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
559
559
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
560
560
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
561
|
-
}>, "
|
|
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
562
|
popperRef: import('vue').Ref<import('element-plus').PopperInstance | undefined, import('element-plus').PopperInstance | undefined>;
|
|
563
563
|
contentRef: import('vue').Ref<import('element-plus').TooltipContentInstance | undefined, import('element-plus').TooltipContentInstance | undefined>;
|
|
564
564
|
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
@@ -66,11 +66,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
66
66
|
readonly showAfter?: number | undefined;
|
|
67
67
|
readonly hideAfter?: number | undefined;
|
|
68
68
|
readonly autoClose?: number | undefined;
|
|
69
|
+
readonly placement?: import('element-plus').Placement | undefined;
|
|
69
70
|
readonly style?: import('vue').StyleValue;
|
|
70
71
|
readonly id?: string | undefined;
|
|
71
|
-
readonly offset?: number | undefined;
|
|
72
|
-
readonly placement?: import('element-plus').Placement | undefined;
|
|
73
|
-
readonly zIndex?: number | undefined;
|
|
74
72
|
readonly className?: (string | {
|
|
75
73
|
[x: string]: boolean;
|
|
76
74
|
} | (string | {
|
|
@@ -131,10 +129,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
131
129
|
readonly triggerTargetEl?: HTMLElement | undefined;
|
|
132
130
|
readonly stopPopperMouseEvent?: boolean | undefined;
|
|
133
131
|
readonly virtualTriggering?: boolean | undefined;
|
|
132
|
+
readonly zIndex?: number | undefined;
|
|
134
133
|
readonly loop?: boolean | undefined;
|
|
135
134
|
readonly boundariesPadding?: number | undefined;
|
|
136
135
|
readonly fallbackPlacements?: import('element-plus').Placement[] | undefined;
|
|
137
136
|
readonly gpuAcceleration?: boolean | undefined;
|
|
137
|
+
readonly offset?: number | undefined;
|
|
138
138
|
readonly popperOptions?: Partial<import('element-plus').Options> | undefined;
|
|
139
139
|
readonly strategy?: ("fixed" | "absolute") | undefined;
|
|
140
140
|
readonly arrowOffset?: number | undefined;
|
|
@@ -279,7 +279,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
279
279
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
280
280
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
281
281
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
282
|
-
}>, "
|
|
282
|
+
}>, "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<{
|
|
283
283
|
popperRef: Ref<import('element-plus').PopperInstance | undefined, import('element-plus').PopperInstance | undefined>;
|
|
284
284
|
contentRef: Ref<import('element-plus').TooltipContentInstance | undefined, import('element-plus').TooltipContentInstance | undefined>;
|
|
285
285
|
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
@@ -104,10 +104,9 @@ export declare const TtImage: import('../../../../utils/src').SFCWithInstall<imp
|
|
|
104
104
|
onShow?: (() => any) | undefined;
|
|
105
105
|
onSwitch?: ((val: number) => any) | undefined;
|
|
106
106
|
}>, {
|
|
107
|
-
status: ImageStatus;
|
|
108
107
|
src: string;
|
|
109
108
|
hideOnClickModal: boolean;
|
|
110
|
-
fit: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "
|
|
109
|
+
fit: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown>;
|
|
111
110
|
lazy: boolean;
|
|
112
111
|
previewSrcList: string[];
|
|
113
112
|
previewTeleported: boolean;
|
|
@@ -119,6 +118,7 @@ export declare const TtImage: import('../../../../utils/src').SFCWithInstall<imp
|
|
|
119
118
|
minScale: number;
|
|
120
119
|
maxScale: number;
|
|
121
120
|
showProgress: boolean;
|
|
121
|
+
status: ImageStatus;
|
|
122
122
|
}, import('vue').SlotsType<{
|
|
123
123
|
placeholder?: () => import('vue').VNodeChild;
|
|
124
124
|
error?: () => import('vue').VNodeChild;
|
|
@@ -103,10 +103,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
103
103
|
onShow?: (() => any) | undefined;
|
|
104
104
|
onSwitch?: ((val: number) => any) | undefined;
|
|
105
105
|
}>, {
|
|
106
|
-
status: ImageStatus;
|
|
107
106
|
src: string;
|
|
108
107
|
hideOnClickModal: boolean;
|
|
109
|
-
fit: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "
|
|
108
|
+
fit: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown>;
|
|
110
109
|
lazy: boolean;
|
|
111
110
|
previewSrcList: string[];
|
|
112
111
|
previewTeleported: boolean;
|
|
@@ -118,6 +117,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
118
117
|
minScale: number;
|
|
119
118
|
maxScale: number;
|
|
120
119
|
showProgress: boolean;
|
|
120
|
+
status: ImageStatus;
|
|
121
121
|
}, SlotsType<{
|
|
122
122
|
placeholder?: () => VNodeChild;
|
|
123
123
|
error?: () => VNodeChild;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { vTtLoading } from './src/directive';
|
|
2
2
|
import { Loading } from './src/service';
|
|
3
3
|
export declare const TtLoading: import('../../../../utils/src').SFCWithInstall<import('vue').DefineComponent<import('.').LoadingProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('.').LoadingProps> & Readonly<{}>, {
|
|
4
|
+
visible: boolean;
|
|
4
5
|
zIndex: number;
|
|
5
|
-
background: string;
|
|
6
6
|
svg: string;
|
|
7
7
|
text: string;
|
|
8
|
+
background: string;
|
|
8
9
|
fullscreen: boolean;
|
|
9
|
-
visible: boolean;
|
|
10
10
|
textColor: string;
|
|
11
11
|
spinnerColor: string;
|
|
12
12
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>> & Record<string, any>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { LoadingProps } from './type';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<LoadingProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LoadingProps> & Readonly<{}>, {
|
|
3
|
+
visible: boolean;
|
|
3
4
|
zIndex: number;
|
|
4
|
-
background: string;
|
|
5
5
|
svg: string;
|
|
6
6
|
text: string;
|
|
7
|
+
background: string;
|
|
7
8
|
fullscreen: boolean;
|
|
8
|
-
visible: boolean;
|
|
9
9
|
textColor: string;
|
|
10
10
|
spinnerColor: string;
|
|
11
11
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|