@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,9 +1,7 @@
|
|
|
1
|
-
import { ComputedRef, Ref, nextTick
|
|
1
|
+
import { ComputedRef, Ref, nextTick } from 'vue';
|
|
2
2
|
import { VxeGridInstance } from 'vxe-table';
|
|
3
3
|
import { Recordable } from '../../../../../../utils/src';
|
|
4
4
|
import { TtTableLeftRightRowNode, TtTableProps } from '../types/table';
|
|
5
|
-
import { ScrollbarDirection, ScrollbarProps } from 'element-plus';
|
|
6
|
-
import { OnCleanup } from '@vue/reactivity';
|
|
7
5
|
/**
|
|
8
6
|
* 表格左右两侧自定义插槽
|
|
9
7
|
*
|
|
@@ -30,23 +28,23 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
30
28
|
index?: number | undefined;
|
|
31
29
|
parent?: any;
|
|
32
30
|
}[]>;
|
|
33
|
-
headerHeight: ShallowRef<number, number>;
|
|
34
|
-
bodyHeight: ShallowRef<number, number>;
|
|
35
|
-
bodyWrapperHeight: ShallowRef<number, number>;
|
|
36
|
-
bodyOffsetTop: ShallowRef<number, number>;
|
|
37
|
-
bodyScrollHeight: ShallowRef<number, number>;
|
|
31
|
+
headerHeight: import('vue').ShallowRef<number, number>;
|
|
32
|
+
bodyHeight: import('vue').ShallowRef<number, number>;
|
|
33
|
+
bodyWrapperHeight: import('vue').ShallowRef<number, number>;
|
|
34
|
+
bodyOffsetTop: import('vue').ShallowRef<number, number>;
|
|
35
|
+
bodyScrollHeight: import('vue').ShallowRef<number, number>;
|
|
38
36
|
leftScrollbarRef: Ref<({
|
|
39
|
-
$: ComponentInternalInstance;
|
|
37
|
+
$: import('vue').ComponentInternalInstance;
|
|
40
38
|
$data: {};
|
|
41
39
|
$props: {
|
|
42
40
|
readonly distance?: number | undefined;
|
|
43
41
|
readonly height?: number | string | undefined;
|
|
44
42
|
readonly maxHeight?: number | string | undefined;
|
|
45
43
|
readonly native?: boolean | undefined;
|
|
46
|
-
readonly wrapStyle?: StyleValue;
|
|
44
|
+
readonly wrapStyle?: import('vue').StyleValue;
|
|
47
45
|
readonly wrapClass?: string | string[] | undefined;
|
|
48
46
|
readonly viewClass?: string | string[] | undefined;
|
|
49
|
-
readonly viewStyle?: StyleValue;
|
|
47
|
+
readonly viewStyle?: import('vue').StyleValue;
|
|
50
48
|
readonly noresize?: boolean | undefined;
|
|
51
49
|
readonly tag?: (keyof HTMLElementTagNameMap | (string & {})) | undefined;
|
|
52
50
|
readonly always?: boolean | undefined;
|
|
@@ -60,8 +58,8 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
60
58
|
scrollTop: number;
|
|
61
59
|
scrollLeft: number;
|
|
62
60
|
}) => any) | undefined | undefined;
|
|
63
|
-
readonly "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined | undefined;
|
|
64
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
61
|
+
readonly "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
|
|
62
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
65
63
|
$attrs: {
|
|
66
64
|
[x: string]: unknown;
|
|
67
65
|
};
|
|
@@ -69,22 +67,22 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
69
67
|
[x: string]: unknown;
|
|
70
68
|
};
|
|
71
69
|
$slots: Readonly<{
|
|
72
|
-
[name: string]: Slot<any> | undefined;
|
|
70
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
73
71
|
}>;
|
|
74
|
-
$root: ComponentPublicInstance | null;
|
|
75
|
-
$parent: ComponentPublicInstance | null;
|
|
72
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
73
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
76
74
|
$host: Element | null;
|
|
77
75
|
$emit: ((event: "scroll", args_0: {
|
|
78
76
|
scrollTop: number;
|
|
79
77
|
scrollLeft: number;
|
|
80
|
-
}) => void) & ((event: "end-reached", direction: ScrollbarDirection) => void);
|
|
78
|
+
}) => void) & ((event: "end-reached", direction: import('element-plus').ScrollbarDirection) => void);
|
|
81
79
|
$el: any;
|
|
82
|
-
$options: ComponentOptionsBase<Readonly<
|
|
80
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').ScrollbarProps> & Readonly<{
|
|
83
81
|
onScroll?: ((args_0: {
|
|
84
82
|
scrollTop: number;
|
|
85
83
|
scrollLeft: number;
|
|
86
84
|
}) => any) | undefined;
|
|
87
|
-
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
85
|
+
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
|
|
88
86
|
}>, {
|
|
89
87
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
90
88
|
update: () => void;
|
|
@@ -95,24 +93,24 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
95
93
|
setScrollTop: (value: number) => void;
|
|
96
94
|
setScrollLeft: (value: number) => void;
|
|
97
95
|
handleScroll: () => void;
|
|
98
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
96
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
99
97
|
scroll: (args_0: {
|
|
100
98
|
scrollTop: number;
|
|
101
99
|
scrollLeft: number;
|
|
102
100
|
}) => void;
|
|
103
|
-
"end-reached": (direction: ScrollbarDirection) => void;
|
|
101
|
+
"end-reached": (direction: import('element-plus').ScrollbarDirection) => void;
|
|
104
102
|
}, string, {
|
|
105
103
|
tabindex: number | string;
|
|
106
104
|
height: number | string;
|
|
107
105
|
maxHeight: number | string;
|
|
108
106
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
109
107
|
distance: number;
|
|
110
|
-
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
108
|
+
wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
111
109
|
wrapClass: string | string[];
|
|
112
110
|
viewClass: string | string[];
|
|
113
|
-
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
111
|
+
viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
114
112
|
minSize: number;
|
|
115
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
113
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
116
114
|
beforeCreate?: (() => void) | (() => void)[];
|
|
117
115
|
created?: (() => void) | (() => void)[];
|
|
118
116
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -125,31 +123,31 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
125
123
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
126
124
|
destroyed?: (() => void) | (() => void)[];
|
|
127
125
|
unmounted?: (() => void) | (() => void)[];
|
|
128
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
129
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
130
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
126
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
127
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
128
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
131
129
|
};
|
|
132
130
|
$forceUpdate: () => void;
|
|
133
131
|
$nextTick: typeof nextTick;
|
|
134
|
-
$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;
|
|
132
|
+
$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;
|
|
135
133
|
} & Readonly<{
|
|
136
134
|
tabindex: number | string;
|
|
137
135
|
height: number | string;
|
|
138
136
|
maxHeight: number | string;
|
|
139
137
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
140
138
|
distance: number;
|
|
141
|
-
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
139
|
+
wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
142
140
|
wrapClass: string | string[];
|
|
143
141
|
viewClass: string | string[];
|
|
144
|
-
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
142
|
+
viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
145
143
|
minSize: number;
|
|
146
|
-
}> & Omit<Readonly<
|
|
144
|
+
}> & Omit<Readonly<import('element-plus').ScrollbarProps> & Readonly<{
|
|
147
145
|
onScroll?: ((args_0: {
|
|
148
146
|
scrollTop: number;
|
|
149
147
|
scrollLeft: number;
|
|
150
148
|
}) => any) | undefined;
|
|
151
|
-
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
152
|
-
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & ShallowUnwrapRef<{
|
|
149
|
+
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
|
|
150
|
+
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & import('vue').ShallowUnwrapRef<{
|
|
153
151
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
154
152
|
update: () => void;
|
|
155
153
|
scrollTo: {
|
|
@@ -159,22 +157,22 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
159
157
|
setScrollTop: (value: number) => void;
|
|
160
158
|
setScrollLeft: (value: number) => void;
|
|
161
159
|
handleScroll: () => void;
|
|
162
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
160
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
163
161
|
$slots: {
|
|
164
162
|
default?: (props: {}) => any;
|
|
165
163
|
};
|
|
166
164
|
}) | undefined, ({
|
|
167
|
-
$: ComponentInternalInstance;
|
|
165
|
+
$: import('vue').ComponentInternalInstance;
|
|
168
166
|
$data: {};
|
|
169
167
|
$props: {
|
|
170
168
|
readonly distance?: number | undefined;
|
|
171
169
|
readonly height?: number | string | undefined;
|
|
172
170
|
readonly maxHeight?: number | string | undefined;
|
|
173
171
|
readonly native?: boolean | undefined;
|
|
174
|
-
readonly wrapStyle?: StyleValue;
|
|
172
|
+
readonly wrapStyle?: import('vue').StyleValue;
|
|
175
173
|
readonly wrapClass?: string | string[] | undefined;
|
|
176
174
|
readonly viewClass?: string | string[] | undefined;
|
|
177
|
-
readonly viewStyle?: StyleValue;
|
|
175
|
+
readonly viewStyle?: import('vue').StyleValue;
|
|
178
176
|
readonly noresize?: boolean | undefined;
|
|
179
177
|
readonly tag?: (keyof HTMLElementTagNameMap | (string & {})) | undefined;
|
|
180
178
|
readonly always?: boolean | undefined;
|
|
@@ -188,8 +186,8 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
188
186
|
scrollTop: number;
|
|
189
187
|
scrollLeft: number;
|
|
190
188
|
}) => any) | undefined | undefined;
|
|
191
|
-
readonly "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined | undefined;
|
|
192
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
189
|
+
readonly "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
|
|
190
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
193
191
|
$attrs: {
|
|
194
192
|
[x: string]: unknown;
|
|
195
193
|
};
|
|
@@ -197,22 +195,22 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
197
195
|
[x: string]: unknown;
|
|
198
196
|
};
|
|
199
197
|
$slots: Readonly<{
|
|
200
|
-
[name: string]: Slot<any> | undefined;
|
|
198
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
201
199
|
}>;
|
|
202
|
-
$root: ComponentPublicInstance | null;
|
|
203
|
-
$parent: ComponentPublicInstance | null;
|
|
200
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
201
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
204
202
|
$host: Element | null;
|
|
205
203
|
$emit: ((event: "scroll", args_0: {
|
|
206
204
|
scrollTop: number;
|
|
207
205
|
scrollLeft: number;
|
|
208
|
-
}) => void) & ((event: "end-reached", direction: ScrollbarDirection) => void);
|
|
206
|
+
}) => void) & ((event: "end-reached", direction: import('element-plus').ScrollbarDirection) => void);
|
|
209
207
|
$el: any;
|
|
210
|
-
$options: ComponentOptionsBase<Readonly<
|
|
208
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').ScrollbarProps> & Readonly<{
|
|
211
209
|
onScroll?: ((args_0: {
|
|
212
210
|
scrollTop: number;
|
|
213
211
|
scrollLeft: number;
|
|
214
212
|
}) => any) | undefined;
|
|
215
|
-
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
213
|
+
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
|
|
216
214
|
}>, {
|
|
217
215
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
218
216
|
update: () => void;
|
|
@@ -223,24 +221,24 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
223
221
|
setScrollTop: (value: number) => void;
|
|
224
222
|
setScrollLeft: (value: number) => void;
|
|
225
223
|
handleScroll: () => void;
|
|
226
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
224
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
227
225
|
scroll: (args_0: {
|
|
228
226
|
scrollTop: number;
|
|
229
227
|
scrollLeft: number;
|
|
230
228
|
}) => void;
|
|
231
|
-
"end-reached": (direction: ScrollbarDirection) => void;
|
|
229
|
+
"end-reached": (direction: import('element-plus').ScrollbarDirection) => void;
|
|
232
230
|
}, string, {
|
|
233
231
|
tabindex: number | string;
|
|
234
232
|
height: number | string;
|
|
235
233
|
maxHeight: number | string;
|
|
236
234
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
237
235
|
distance: number;
|
|
238
|
-
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
236
|
+
wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
239
237
|
wrapClass: string | string[];
|
|
240
238
|
viewClass: string | string[];
|
|
241
|
-
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
239
|
+
viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
242
240
|
minSize: number;
|
|
243
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
241
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
244
242
|
beforeCreate?: (() => void) | (() => void)[];
|
|
245
243
|
created?: (() => void) | (() => void)[];
|
|
246
244
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -253,31 +251,31 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
253
251
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
254
252
|
destroyed?: (() => void) | (() => void)[];
|
|
255
253
|
unmounted?: (() => void) | (() => void)[];
|
|
256
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
257
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
258
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
254
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
255
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
256
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
259
257
|
};
|
|
260
258
|
$forceUpdate: () => void;
|
|
261
259
|
$nextTick: typeof nextTick;
|
|
262
|
-
$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;
|
|
260
|
+
$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;
|
|
263
261
|
} & Readonly<{
|
|
264
262
|
tabindex: number | string;
|
|
265
263
|
height: number | string;
|
|
266
264
|
maxHeight: number | string;
|
|
267
265
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
268
266
|
distance: number;
|
|
269
|
-
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
267
|
+
wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
270
268
|
wrapClass: string | string[];
|
|
271
269
|
viewClass: string | string[];
|
|
272
|
-
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
270
|
+
viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
273
271
|
minSize: number;
|
|
274
|
-
}> & Omit<Readonly<
|
|
272
|
+
}> & Omit<Readonly<import('element-plus').ScrollbarProps> & Readonly<{
|
|
275
273
|
onScroll?: ((args_0: {
|
|
276
274
|
scrollTop: number;
|
|
277
275
|
scrollLeft: number;
|
|
278
276
|
}) => any) | undefined;
|
|
279
|
-
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
280
|
-
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & ShallowUnwrapRef<{
|
|
277
|
+
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
|
|
278
|
+
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & import('vue').ShallowUnwrapRef<{
|
|
281
279
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
282
280
|
update: () => void;
|
|
283
281
|
scrollTo: {
|
|
@@ -287,23 +285,23 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
287
285
|
setScrollTop: (value: number) => void;
|
|
288
286
|
setScrollLeft: (value: number) => void;
|
|
289
287
|
handleScroll: () => void;
|
|
290
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
288
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
291
289
|
$slots: {
|
|
292
290
|
default?: (props: {}) => any;
|
|
293
291
|
};
|
|
294
292
|
}) | undefined>;
|
|
295
293
|
rightScrollbarRef: Ref<({
|
|
296
|
-
$: ComponentInternalInstance;
|
|
294
|
+
$: import('vue').ComponentInternalInstance;
|
|
297
295
|
$data: {};
|
|
298
296
|
$props: {
|
|
299
297
|
readonly distance?: number | undefined;
|
|
300
298
|
readonly height?: number | string | undefined;
|
|
301
299
|
readonly maxHeight?: number | string | undefined;
|
|
302
300
|
readonly native?: boolean | undefined;
|
|
303
|
-
readonly wrapStyle?: StyleValue;
|
|
301
|
+
readonly wrapStyle?: import('vue').StyleValue;
|
|
304
302
|
readonly wrapClass?: string | string[] | undefined;
|
|
305
303
|
readonly viewClass?: string | string[] | undefined;
|
|
306
|
-
readonly viewStyle?: StyleValue;
|
|
304
|
+
readonly viewStyle?: import('vue').StyleValue;
|
|
307
305
|
readonly noresize?: boolean | undefined;
|
|
308
306
|
readonly tag?: (keyof HTMLElementTagNameMap | (string & {})) | undefined;
|
|
309
307
|
readonly always?: boolean | undefined;
|
|
@@ -317,8 +315,8 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
317
315
|
scrollTop: number;
|
|
318
316
|
scrollLeft: number;
|
|
319
317
|
}) => any) | undefined | undefined;
|
|
320
|
-
readonly "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined | undefined;
|
|
321
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
318
|
+
readonly "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
|
|
319
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
322
320
|
$attrs: {
|
|
323
321
|
[x: string]: unknown;
|
|
324
322
|
};
|
|
@@ -326,22 +324,22 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
326
324
|
[x: string]: unknown;
|
|
327
325
|
};
|
|
328
326
|
$slots: Readonly<{
|
|
329
|
-
[name: string]: Slot<any> | undefined;
|
|
327
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
330
328
|
}>;
|
|
331
|
-
$root: ComponentPublicInstance | null;
|
|
332
|
-
$parent: ComponentPublicInstance | null;
|
|
329
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
330
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
333
331
|
$host: Element | null;
|
|
334
332
|
$emit: ((event: "scroll", args_0: {
|
|
335
333
|
scrollTop: number;
|
|
336
334
|
scrollLeft: number;
|
|
337
|
-
}) => void) & ((event: "end-reached", direction: ScrollbarDirection) => void);
|
|
335
|
+
}) => void) & ((event: "end-reached", direction: import('element-plus').ScrollbarDirection) => void);
|
|
338
336
|
$el: any;
|
|
339
|
-
$options: ComponentOptionsBase<Readonly<
|
|
337
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').ScrollbarProps> & Readonly<{
|
|
340
338
|
onScroll?: ((args_0: {
|
|
341
339
|
scrollTop: number;
|
|
342
340
|
scrollLeft: number;
|
|
343
341
|
}) => any) | undefined;
|
|
344
|
-
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
342
|
+
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
|
|
345
343
|
}>, {
|
|
346
344
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
347
345
|
update: () => void;
|
|
@@ -352,24 +350,24 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
352
350
|
setScrollTop: (value: number) => void;
|
|
353
351
|
setScrollLeft: (value: number) => void;
|
|
354
352
|
handleScroll: () => void;
|
|
355
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
353
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
356
354
|
scroll: (args_0: {
|
|
357
355
|
scrollTop: number;
|
|
358
356
|
scrollLeft: number;
|
|
359
357
|
}) => void;
|
|
360
|
-
"end-reached": (direction: ScrollbarDirection) => void;
|
|
358
|
+
"end-reached": (direction: import('element-plus').ScrollbarDirection) => void;
|
|
361
359
|
}, string, {
|
|
362
360
|
tabindex: number | string;
|
|
363
361
|
height: number | string;
|
|
364
362
|
maxHeight: number | string;
|
|
365
363
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
366
364
|
distance: number;
|
|
367
|
-
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
365
|
+
wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
368
366
|
wrapClass: string | string[];
|
|
369
367
|
viewClass: string | string[];
|
|
370
|
-
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
368
|
+
viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
371
369
|
minSize: number;
|
|
372
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
370
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
373
371
|
beforeCreate?: (() => void) | (() => void)[];
|
|
374
372
|
created?: (() => void) | (() => void)[];
|
|
375
373
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -382,31 +380,31 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
382
380
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
383
381
|
destroyed?: (() => void) | (() => void)[];
|
|
384
382
|
unmounted?: (() => void) | (() => void)[];
|
|
385
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
386
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
387
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
383
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
384
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
385
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
388
386
|
};
|
|
389
387
|
$forceUpdate: () => void;
|
|
390
388
|
$nextTick: typeof nextTick;
|
|
391
|
-
$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;
|
|
389
|
+
$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;
|
|
392
390
|
} & Readonly<{
|
|
393
391
|
tabindex: number | string;
|
|
394
392
|
height: number | string;
|
|
395
393
|
maxHeight: number | string;
|
|
396
394
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
397
395
|
distance: number;
|
|
398
|
-
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
396
|
+
wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
399
397
|
wrapClass: string | string[];
|
|
400
398
|
viewClass: string | string[];
|
|
401
|
-
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
399
|
+
viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
402
400
|
minSize: number;
|
|
403
|
-
}> & Omit<Readonly<
|
|
401
|
+
}> & Omit<Readonly<import('element-plus').ScrollbarProps> & Readonly<{
|
|
404
402
|
onScroll?: ((args_0: {
|
|
405
403
|
scrollTop: number;
|
|
406
404
|
scrollLeft: number;
|
|
407
405
|
}) => any) | undefined;
|
|
408
|
-
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
409
|
-
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & ShallowUnwrapRef<{
|
|
406
|
+
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
|
|
407
|
+
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & import('vue').ShallowUnwrapRef<{
|
|
410
408
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
411
409
|
update: () => void;
|
|
412
410
|
scrollTo: {
|
|
@@ -416,22 +414,22 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
416
414
|
setScrollTop: (value: number) => void;
|
|
417
415
|
setScrollLeft: (value: number) => void;
|
|
418
416
|
handleScroll: () => void;
|
|
419
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
417
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
420
418
|
$slots: {
|
|
421
419
|
default?: (props: {}) => any;
|
|
422
420
|
};
|
|
423
421
|
}) | undefined, ({
|
|
424
|
-
$: ComponentInternalInstance;
|
|
422
|
+
$: import('vue').ComponentInternalInstance;
|
|
425
423
|
$data: {};
|
|
426
424
|
$props: {
|
|
427
425
|
readonly distance?: number | undefined;
|
|
428
426
|
readonly height?: number | string | undefined;
|
|
429
427
|
readonly maxHeight?: number | string | undefined;
|
|
430
428
|
readonly native?: boolean | undefined;
|
|
431
|
-
readonly wrapStyle?: StyleValue;
|
|
429
|
+
readonly wrapStyle?: import('vue').StyleValue;
|
|
432
430
|
readonly wrapClass?: string | string[] | undefined;
|
|
433
431
|
readonly viewClass?: string | string[] | undefined;
|
|
434
|
-
readonly viewStyle?: StyleValue;
|
|
432
|
+
readonly viewStyle?: import('vue').StyleValue;
|
|
435
433
|
readonly noresize?: boolean | undefined;
|
|
436
434
|
readonly tag?: (keyof HTMLElementTagNameMap | (string & {})) | undefined;
|
|
437
435
|
readonly always?: boolean | undefined;
|
|
@@ -445,8 +443,8 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
445
443
|
scrollTop: number;
|
|
446
444
|
scrollLeft: number;
|
|
447
445
|
}) => any) | undefined | undefined;
|
|
448
|
-
readonly "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined | undefined;
|
|
449
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
446
|
+
readonly "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
|
|
447
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
450
448
|
$attrs: {
|
|
451
449
|
[x: string]: unknown;
|
|
452
450
|
};
|
|
@@ -454,22 +452,22 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
454
452
|
[x: string]: unknown;
|
|
455
453
|
};
|
|
456
454
|
$slots: Readonly<{
|
|
457
|
-
[name: string]: Slot<any> | undefined;
|
|
455
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
458
456
|
}>;
|
|
459
|
-
$root: ComponentPublicInstance | null;
|
|
460
|
-
$parent: ComponentPublicInstance | null;
|
|
457
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
458
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
461
459
|
$host: Element | null;
|
|
462
460
|
$emit: ((event: "scroll", args_0: {
|
|
463
461
|
scrollTop: number;
|
|
464
462
|
scrollLeft: number;
|
|
465
|
-
}) => void) & ((event: "end-reached", direction: ScrollbarDirection) => void);
|
|
463
|
+
}) => void) & ((event: "end-reached", direction: import('element-plus').ScrollbarDirection) => void);
|
|
466
464
|
$el: any;
|
|
467
|
-
$options: ComponentOptionsBase<Readonly<
|
|
465
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').ScrollbarProps> & Readonly<{
|
|
468
466
|
onScroll?: ((args_0: {
|
|
469
467
|
scrollTop: number;
|
|
470
468
|
scrollLeft: number;
|
|
471
469
|
}) => any) | undefined;
|
|
472
|
-
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
470
|
+
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
|
|
473
471
|
}>, {
|
|
474
472
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
475
473
|
update: () => void;
|
|
@@ -480,24 +478,24 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
480
478
|
setScrollTop: (value: number) => void;
|
|
481
479
|
setScrollLeft: (value: number) => void;
|
|
482
480
|
handleScroll: () => void;
|
|
483
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
481
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
484
482
|
scroll: (args_0: {
|
|
485
483
|
scrollTop: number;
|
|
486
484
|
scrollLeft: number;
|
|
487
485
|
}) => void;
|
|
488
|
-
"end-reached": (direction: ScrollbarDirection) => void;
|
|
486
|
+
"end-reached": (direction: import('element-plus').ScrollbarDirection) => void;
|
|
489
487
|
}, string, {
|
|
490
488
|
tabindex: number | string;
|
|
491
489
|
height: number | string;
|
|
492
490
|
maxHeight: number | string;
|
|
493
491
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
494
492
|
distance: number;
|
|
495
|
-
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
493
|
+
wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
496
494
|
wrapClass: string | string[];
|
|
497
495
|
viewClass: string | string[];
|
|
498
|
-
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
496
|
+
viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
499
497
|
minSize: number;
|
|
500
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
498
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
501
499
|
beforeCreate?: (() => void) | (() => void)[];
|
|
502
500
|
created?: (() => void) | (() => void)[];
|
|
503
501
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -510,31 +508,31 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
510
508
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
511
509
|
destroyed?: (() => void) | (() => void)[];
|
|
512
510
|
unmounted?: (() => void) | (() => void)[];
|
|
513
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
514
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
515
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
511
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
512
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
513
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
516
514
|
};
|
|
517
515
|
$forceUpdate: () => void;
|
|
518
516
|
$nextTick: typeof nextTick;
|
|
519
|
-
$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;
|
|
517
|
+
$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;
|
|
520
518
|
} & Readonly<{
|
|
521
519
|
tabindex: number | string;
|
|
522
520
|
height: number | string;
|
|
523
521
|
maxHeight: number | string;
|
|
524
522
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
525
523
|
distance: number;
|
|
526
|
-
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
524
|
+
wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
527
525
|
wrapClass: string | string[];
|
|
528
526
|
viewClass: string | string[];
|
|
529
|
-
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
527
|
+
viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
530
528
|
minSize: number;
|
|
531
|
-
}> & Omit<Readonly<
|
|
529
|
+
}> & Omit<Readonly<import('element-plus').ScrollbarProps> & Readonly<{
|
|
532
530
|
onScroll?: ((args_0: {
|
|
533
531
|
scrollTop: number;
|
|
534
532
|
scrollLeft: number;
|
|
535
533
|
}) => any) | undefined;
|
|
536
|
-
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
537
|
-
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & ShallowUnwrapRef<{
|
|
534
|
+
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
|
|
535
|
+
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & import('vue').ShallowUnwrapRef<{
|
|
538
536
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
539
537
|
update: () => void;
|
|
540
538
|
scrollTo: {
|
|
@@ -544,7 +542,7 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
544
542
|
setScrollTop: (value: number) => void;
|
|
545
543
|
setScrollLeft: (value: number) => void;
|
|
546
544
|
handleScroll: () => void;
|
|
547
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
545
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
548
546
|
$slots: {
|
|
549
547
|
default?: (props: {}) => any;
|
|
550
548
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MaybeRefOrGetter, ModelRef, Ref
|
|
1
|
+
import { MaybeRefOrGetter, ModelRef, Ref } from 'vue';
|
|
2
2
|
import { VxeGridInstance } from 'vxe-table';
|
|
3
3
|
import { Recordable } from '../../../../../../utils/src';
|
|
4
4
|
import { TtTableProps } from '../types/table';
|
|
@@ -54,7 +54,7 @@ export declare function withTreeExpand<T>(grid: undefined | VxeGridInstance<Reco
|
|
|
54
54
|
* @param sources 从 store 独立选择的数据与接口来源
|
|
55
55
|
*/
|
|
56
56
|
export declare function useTableData(propsRef: Ref<TtTableProps>, grid: Ref<undefined | VxeGridInstance<Recordable>>, modelValue: ModelRef<Recordable[] | undefined>, emit: DataEmit, sources: TableDataSources): {
|
|
57
|
-
rows: ShallowRef<Recordable[], Recordable[]>;
|
|
57
|
+
rows: import('vue').ShallowRef<Recordable[], Recordable[]>;
|
|
58
58
|
loadRows: (nextRows: Recordable[], guard?: RowsCommitGuard) => Promise<boolean>;
|
|
59
59
|
applyRows: (nextRows: Recordable[], guard?: RowsCommitGuard) => Promise<boolean>;
|
|
60
60
|
emitRows: (nextRows: Recordable[]) => void;
|