@dazhicheng/ui 1.6.23 → 1.6.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/tt-api-component/index.d.ts +24 -35
- package/dist/components/tt-area/TtArea.d.ts +3 -0
- package/dist/components/tt-area/index.d.ts +1 -1
- package/dist/components/tt-button/components/AddButton.d.ts +3 -0
- package/dist/components/tt-button/index.d.ts +260 -589
- package/dist/components/tt-checkbox/index.d.ts +26 -35
- package/dist/components/tt-drawer/index.d.ts +306 -299
- package/dist/components/tt-drawer/src/{RenderDrawer.vue.d.ts → RenderDrawer.d.ts} +149 -146
- package/dist/components/tt-drawer/src/components/{DrawerFooter.vue.d.ts → DrawerFooter.d.ts} +18 -16
- package/dist/components/tt-drawer/src/components/{DrawerHeader.vue.d.ts → DrawerHeader.d.ts} +4 -3
- package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +2 -2
- package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +2 -2
- package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +4 -2
- package/dist/components/tt-empty/index.d.ts +10 -8
- package/dist/components/tt-form/src/components/{ExpandableArrow.vue.d.ts → ExpandableArrow.d.ts} +5 -4
- package/dist/components/tt-form/src/components/{FormActions.vue.d.ts → FormActions.d.ts} +6 -5
- package/dist/components/tt-form/src/components/{FormElInput.vue.d.ts → FormElInput.d.ts} +105 -101
- package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
- package/dist/components/tt-form/src/form/{FormControl.vue.d.ts → FormControl.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormDescription.vue.d.ts → FormDescription.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormItem.vue.d.ts → FormItem.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormLabel.vue.d.ts → FormLabel.d.ts} +2 -1
- package/dist/components/tt-form/src/form/FormMessage.d.ts +3 -0
- package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +9 -0
- package/dist/components/tt-form/src/form/{FormWarnMessage.vue.d.ts → FormWarnMessage.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{RenderContent.vue.d.ts → RenderContent.d.ts} +4 -4
- package/dist/components/tt-form/src/form/index.d.ts +8 -8
- package/dist/components/tt-form/src/form/useFormField.d.ts +6 -5
- package/dist/components/tt-form/src/form-render/{FormField.vue.d.ts → FormField.d.ts} +2 -1
- package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
- package/dist/components/tt-form/src/form-render/{FormLabel.vue.d.ts → FormLabel.d.ts} +3 -2
- package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +14 -11
- package/dist/components/tt-form/src/form-render/context.d.ts +5 -4
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +7 -6
- package/dist/components/tt-form/src/form-render/expandable.d.ts +4 -3
- package/dist/components/tt-form/src/form-render/{form.vue.d.ts → form.d.ts} +9 -8
- package/dist/components/tt-form/src/form-render/index.d.ts +3 -3
- package/dist/components/tt-form/src/formApi.d.ts +3 -3
- package/dist/components/tt-form/src/group-form/{GroupForm.vue.d.ts → GroupForm.d.ts} +7 -5
- package/dist/components/tt-form/src/group-form/{GroupSection.vue.d.ts → GroupSection.d.ts} +7 -5
- package/dist/components/tt-form/src/group-form/{LazyFormField.vue.d.ts → LazyFormField.d.ts} +5 -3
- package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +7 -5
- package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +3 -2
- package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +2 -2
- package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +2 -2
- package/dist/components/tt-form/src/index.d.ts +217 -0
- package/dist/components/tt-form/src/useForm.d.ts +2 -1
- package/dist/components/tt-form/src/useFormContext.d.ts +2 -1
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +61 -337
- package/dist/components/tt-icon/components/AddIcon.d.ts +8 -0
- package/dist/components/tt-icon/components/SubIcon.d.ts +8 -0
- package/dist/components/tt-icon/index.d.ts +24 -115
- package/dist/components/tt-image/index.d.ts +45 -41
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +30 -26
- package/dist/components/tt-image/tt-image.d.ts +36 -34
- package/dist/components/tt-loading/index.d.ts +5 -2
- package/dist/components/tt-loading/src/loading.d.ts +13 -0
- package/dist/components/tt-log/index.d.ts +7 -6
- package/dist/components/tt-modal/index.d.ts +371 -364
- package/dist/components/tt-modal/src/{RenderModal.vue.d.ts → RenderModal.d.ts} +118 -115
- package/dist/components/tt-modal/src/components/{ModalFooter.vue.d.ts → ModalFooter.d.ts} +26 -23
- package/dist/components/tt-modal/src/components/{ModalHeader.vue.d.ts → ModalHeader.d.ts} +4 -3
- package/dist/components/tt-modal/src/components/{ModalWrapper.vue.d.ts → ModalWrapper.d.ts} +27 -24
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +32 -29
- package/dist/components/tt-modal/src/typing.d.ts +2 -2
- package/dist/components/tt-modal/src/utils/modal-api.d.ts +2 -1
- package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +3 -2
- package/dist/components/tt-modal-form/index.d.ts +46 -2
- package/dist/components/tt-modal-form/useModalForm.d.ts +4 -3
- package/dist/components/tt-nav-anchor/index.d.ts +15 -12
- package/dist/components/tt-nav-anchor/src/{TtNavAnchor.vue.d.ts → TtNavAnchor.d.ts} +4 -4
- package/dist/components/tt-panel-select/index.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/{PanelLeft.vue.d.ts → PanelLeft.d.ts} +4 -3
- package/dist/components/tt-panel-select/src/components/{PanelMiddle.vue.d.ts → PanelMiddle.d.ts} +83 -80
- package/dist/components/tt-panel-select/src/components/{PanelRight.vue.d.ts → PanelRight.d.ts} +34 -32
- package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +7 -6
- package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
- package/dist/components/tt-panel-select/src/{index.vue.d.ts → index.d.ts} +84 -80
- package/dist/components/tt-radio-group/index.d.ts +31 -50
- package/dist/components/tt-select/index.d.ts +1 -1
- package/dist/components/tt-select/src/{Select.vue.d.ts → Select.d.ts} +146 -141
- package/dist/components/tt-select/src/components/{SelectTable.vue.d.ts → SelectTable.d.ts} +40 -36
- package/dist/components/tt-select/src/components/{Table.vue.d.ts → Table.d.ts} +41 -38
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/usePagination.d.ts +4 -3
- package/dist/components/tt-select/src/hooks/useSelect.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
- package/dist/components/tt-table/index.d.ts +287 -279
- package/dist/components/tt-table/src/{Table.vue.d.ts → Table.d.ts} +209 -204
- package/dist/components/tt-table/src/{TableForm.vue.d.ts → TableForm.d.ts} +83 -80
- package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableAction.vue.d.ts → TableAction.d.ts} +4 -4
- package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableColumnModal.vue.d.ts → TableColumnModal.d.ts} +5 -4
- package/dist/components/tt-table/src/components/{TableToolbarTools.vue.d.ts → TableToolbarTools.d.ts} +7 -6
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +45 -44
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +33 -33
- package/dist/components/tt-table/src/hooks/useQuery.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +112 -110
- package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
- package/dist/components/tt-table/src/props.d.ts +19 -17
- package/dist/components/tt-table/src/utils/table-api.d.ts +4 -4
- package/dist/components/tt-table/src/utils/table-form-api.d.ts +2 -1
- package/dist/components/tt-text/index.d.ts +34 -59
- package/dist/components/tt-upload/index.d.ts +317 -311
- package/dist/components/tt-upload/src/TtUpload.d.ts +519 -0
- package/dist/components/tt-upload/src/typing.d.ts +49 -47
- package/dist/hooks/useDataPermissionOptions.js +76 -72
- package/dist/hooks/useLoading.d.ts +2 -2
- package/dist/hooks/useScreenshotOss.d.ts +2 -2
- package/dist/index.d.ts +2 -1
- package/package.json +2 -2
- package/dist/components/tt-api-component/index.vue.d.ts +0 -34
- package/dist/components/tt-area/TtArea.vue.d.ts +0 -2
- package/dist/components/tt-button/components/AddButton.vue.d.ts +0 -2
- package/dist/components/tt-button/index.vue.d.ts +0 -466
- package/dist/components/tt-checkbox/index.vue.d.ts +0 -28
- package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +0 -2
- package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +0 -8
- package/dist/components/tt-form/src/index.vue.d.ts +0 -216
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +0 -298
- package/dist/components/tt-icon/components/AddIcon.vue.d.ts +0 -7
- package/dist/components/tt-icon/components/SubIcon.vue.d.ts +0 -7
- package/dist/components/tt-icon/index.vue.d.ts +0 -32
- package/dist/components/tt-loading/src/loading.vue.d.ts +0 -12
- package/dist/components/tt-log/index.vue.d.ts +0 -5
- package/dist/components/tt-modal-form/index.vue.d.ts +0 -45
- package/dist/components/tt-radio-group/index.vue.d.ts +0 -33
- package/dist/components/tt-text/index.vue.d.ts +0 -50
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +0 -517
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { ComputedRef, Ref, nextTick } from 'vue';
|
|
1
|
+
import { ComputedRef, Ref, nextTick, ShallowRef, ComponentInternalInstance, StyleValue, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, CSSProperties, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } 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';
|
|
5
7
|
/**
|
|
6
8
|
* 表格左右两侧自定义插槽
|
|
7
9
|
*
|
|
@@ -28,23 +30,23 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
28
30
|
index?: number | undefined;
|
|
29
31
|
parent?: any;
|
|
30
32
|
}[]>;
|
|
31
|
-
headerHeight:
|
|
32
|
-
bodyHeight:
|
|
33
|
-
bodyWrapperHeight:
|
|
34
|
-
bodyOffsetTop:
|
|
35
|
-
bodyScrollHeight:
|
|
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>;
|
|
36
38
|
leftScrollbarRef: Ref<({
|
|
37
|
-
$:
|
|
39
|
+
$: ComponentInternalInstance;
|
|
38
40
|
$data: {};
|
|
39
41
|
$props: {
|
|
40
42
|
readonly distance?: number | undefined;
|
|
41
43
|
readonly height?: number | string | undefined;
|
|
42
44
|
readonly maxHeight?: number | string | undefined;
|
|
43
45
|
readonly native?: boolean | undefined;
|
|
44
|
-
readonly wrapStyle?:
|
|
46
|
+
readonly wrapStyle?: StyleValue;
|
|
45
47
|
readonly wrapClass?: string | string[] | undefined;
|
|
46
48
|
readonly viewClass?: string | string[] | undefined;
|
|
47
|
-
readonly viewStyle?:
|
|
49
|
+
readonly viewStyle?: StyleValue;
|
|
48
50
|
readonly noresize?: boolean | undefined;
|
|
49
51
|
readonly tag?: (keyof HTMLElementTagNameMap | (string & {})) | undefined;
|
|
50
52
|
readonly always?: boolean | undefined;
|
|
@@ -58,8 +60,8 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
58
60
|
scrollTop: number;
|
|
59
61
|
scrollLeft: number;
|
|
60
62
|
}) => any) | undefined | undefined;
|
|
61
|
-
readonly "onEnd-reached"?: ((direction:
|
|
62
|
-
} &
|
|
63
|
+
readonly "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined | undefined;
|
|
64
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
63
65
|
$attrs: {
|
|
64
66
|
[x: string]: unknown;
|
|
65
67
|
};
|
|
@@ -67,22 +69,22 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
67
69
|
[x: string]: unknown;
|
|
68
70
|
};
|
|
69
71
|
$slots: Readonly<{
|
|
70
|
-
[name: string]:
|
|
72
|
+
[name: string]: Slot<any> | undefined;
|
|
71
73
|
}>;
|
|
72
|
-
$root:
|
|
73
|
-
$parent:
|
|
74
|
+
$root: ComponentPublicInstance | null;
|
|
75
|
+
$parent: ComponentPublicInstance | null;
|
|
74
76
|
$host: Element | null;
|
|
75
77
|
$emit: ((event: "scroll", args_0: {
|
|
76
78
|
scrollTop: number;
|
|
77
79
|
scrollLeft: number;
|
|
78
|
-
}) => void) & ((event: "end-reached", direction:
|
|
80
|
+
}) => void) & ((event: "end-reached", direction: ScrollbarDirection) => void);
|
|
79
81
|
$el: any;
|
|
80
|
-
$options:
|
|
82
|
+
$options: ComponentOptionsBase<Readonly< ScrollbarProps> & Readonly<{
|
|
81
83
|
onScroll?: ((args_0: {
|
|
82
84
|
scrollTop: number;
|
|
83
85
|
scrollLeft: number;
|
|
84
86
|
}) => any) | undefined;
|
|
85
|
-
"onEnd-reached"?: ((direction:
|
|
87
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
86
88
|
}>, {
|
|
87
89
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
88
90
|
update: () => void;
|
|
@@ -93,24 +95,24 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
93
95
|
setScrollTop: (value: number) => void;
|
|
94
96
|
setScrollLeft: (value: number) => void;
|
|
95
97
|
handleScroll: () => void;
|
|
96
|
-
}, {}, {}, {},
|
|
98
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
97
99
|
scroll: (args_0: {
|
|
98
100
|
scrollTop: number;
|
|
99
101
|
scrollLeft: number;
|
|
100
102
|
}) => void;
|
|
101
|
-
"end-reached": (direction:
|
|
103
|
+
"end-reached": (direction: ScrollbarDirection) => void;
|
|
102
104
|
}, string, {
|
|
103
105
|
tabindex: number | string;
|
|
104
106
|
height: number | string;
|
|
105
107
|
maxHeight: number | string;
|
|
106
108
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
107
109
|
distance: number;
|
|
108
|
-
wrapStyle: string | false |
|
|
110
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
109
111
|
wrapClass: string | string[];
|
|
110
112
|
viewClass: string | string[];
|
|
111
|
-
viewStyle: string | false |
|
|
113
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
112
114
|
minSize: number;
|
|
113
|
-
}, {}, string, {},
|
|
115
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
114
116
|
beforeCreate?: (() => void) | (() => void)[];
|
|
115
117
|
created?: (() => void) | (() => void)[];
|
|
116
118
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -123,31 +125,31 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
123
125
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
124
126
|
destroyed?: (() => void) | (() => void)[];
|
|
125
127
|
unmounted?: (() => void) | (() => void)[];
|
|
126
|
-
renderTracked?: ((e:
|
|
127
|
-
renderTriggered?: ((e:
|
|
128
|
-
errorCaptured?: ((err: unknown, instance:
|
|
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)[];
|
|
129
131
|
};
|
|
130
132
|
$forceUpdate: () => void;
|
|
131
133
|
$nextTick: typeof nextTick;
|
|
132
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
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;
|
|
133
135
|
} & Readonly<{
|
|
134
136
|
tabindex: number | string;
|
|
135
137
|
height: number | string;
|
|
136
138
|
maxHeight: number | string;
|
|
137
139
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
138
140
|
distance: number;
|
|
139
|
-
wrapStyle: string | false |
|
|
141
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
140
142
|
wrapClass: string | string[];
|
|
141
143
|
viewClass: string | string[];
|
|
142
|
-
viewStyle: string | false |
|
|
144
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
143
145
|
minSize: number;
|
|
144
|
-
}> & Omit<Readonly<
|
|
146
|
+
}> & Omit<Readonly< ScrollbarProps> & Readonly<{
|
|
145
147
|
onScroll?: ((args_0: {
|
|
146
148
|
scrollTop: number;
|
|
147
149
|
scrollLeft: number;
|
|
148
150
|
}) => any) | undefined;
|
|
149
|
-
"onEnd-reached"?: ((direction:
|
|
150
|
-
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> &
|
|
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<{
|
|
151
153
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
152
154
|
update: () => void;
|
|
153
155
|
scrollTo: {
|
|
@@ -157,22 +159,22 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
157
159
|
setScrollTop: (value: number) => void;
|
|
158
160
|
setScrollLeft: (value: number) => void;
|
|
159
161
|
handleScroll: () => void;
|
|
160
|
-
}> & {} &
|
|
162
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
161
163
|
$slots: {
|
|
162
164
|
default?: (props: {}) => any;
|
|
163
165
|
};
|
|
164
166
|
}) | undefined, ({
|
|
165
|
-
$:
|
|
167
|
+
$: ComponentInternalInstance;
|
|
166
168
|
$data: {};
|
|
167
169
|
$props: {
|
|
168
170
|
readonly distance?: number | undefined;
|
|
169
171
|
readonly height?: number | string | undefined;
|
|
170
172
|
readonly maxHeight?: number | string | undefined;
|
|
171
173
|
readonly native?: boolean | undefined;
|
|
172
|
-
readonly wrapStyle?:
|
|
174
|
+
readonly wrapStyle?: StyleValue;
|
|
173
175
|
readonly wrapClass?: string | string[] | undefined;
|
|
174
176
|
readonly viewClass?: string | string[] | undefined;
|
|
175
|
-
readonly viewStyle?:
|
|
177
|
+
readonly viewStyle?: StyleValue;
|
|
176
178
|
readonly noresize?: boolean | undefined;
|
|
177
179
|
readonly tag?: (keyof HTMLElementTagNameMap | (string & {})) | undefined;
|
|
178
180
|
readonly always?: boolean | undefined;
|
|
@@ -186,8 +188,8 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
186
188
|
scrollTop: number;
|
|
187
189
|
scrollLeft: number;
|
|
188
190
|
}) => any) | undefined | undefined;
|
|
189
|
-
readonly "onEnd-reached"?: ((direction:
|
|
190
|
-
} &
|
|
191
|
+
readonly "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined | undefined;
|
|
192
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
191
193
|
$attrs: {
|
|
192
194
|
[x: string]: unknown;
|
|
193
195
|
};
|
|
@@ -195,22 +197,22 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
195
197
|
[x: string]: unknown;
|
|
196
198
|
};
|
|
197
199
|
$slots: Readonly<{
|
|
198
|
-
[name: string]:
|
|
200
|
+
[name: string]: Slot<any> | undefined;
|
|
199
201
|
}>;
|
|
200
|
-
$root:
|
|
201
|
-
$parent:
|
|
202
|
+
$root: ComponentPublicInstance | null;
|
|
203
|
+
$parent: ComponentPublicInstance | null;
|
|
202
204
|
$host: Element | null;
|
|
203
205
|
$emit: ((event: "scroll", args_0: {
|
|
204
206
|
scrollTop: number;
|
|
205
207
|
scrollLeft: number;
|
|
206
|
-
}) => void) & ((event: "end-reached", direction:
|
|
208
|
+
}) => void) & ((event: "end-reached", direction: ScrollbarDirection) => void);
|
|
207
209
|
$el: any;
|
|
208
|
-
$options:
|
|
210
|
+
$options: ComponentOptionsBase<Readonly< ScrollbarProps> & Readonly<{
|
|
209
211
|
onScroll?: ((args_0: {
|
|
210
212
|
scrollTop: number;
|
|
211
213
|
scrollLeft: number;
|
|
212
214
|
}) => any) | undefined;
|
|
213
|
-
"onEnd-reached"?: ((direction:
|
|
215
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
214
216
|
}>, {
|
|
215
217
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
216
218
|
update: () => void;
|
|
@@ -221,24 +223,24 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
221
223
|
setScrollTop: (value: number) => void;
|
|
222
224
|
setScrollLeft: (value: number) => void;
|
|
223
225
|
handleScroll: () => void;
|
|
224
|
-
}, {}, {}, {},
|
|
226
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
225
227
|
scroll: (args_0: {
|
|
226
228
|
scrollTop: number;
|
|
227
229
|
scrollLeft: number;
|
|
228
230
|
}) => void;
|
|
229
|
-
"end-reached": (direction:
|
|
231
|
+
"end-reached": (direction: ScrollbarDirection) => void;
|
|
230
232
|
}, string, {
|
|
231
233
|
tabindex: number | string;
|
|
232
234
|
height: number | string;
|
|
233
235
|
maxHeight: number | string;
|
|
234
236
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
235
237
|
distance: number;
|
|
236
|
-
wrapStyle: string | false |
|
|
238
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
237
239
|
wrapClass: string | string[];
|
|
238
240
|
viewClass: string | string[];
|
|
239
|
-
viewStyle: string | false |
|
|
241
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
240
242
|
minSize: number;
|
|
241
|
-
}, {}, string, {},
|
|
243
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
242
244
|
beforeCreate?: (() => void) | (() => void)[];
|
|
243
245
|
created?: (() => void) | (() => void)[];
|
|
244
246
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -251,31 +253,31 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
251
253
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
252
254
|
destroyed?: (() => void) | (() => void)[];
|
|
253
255
|
unmounted?: (() => void) | (() => void)[];
|
|
254
|
-
renderTracked?: ((e:
|
|
255
|
-
renderTriggered?: ((e:
|
|
256
|
-
errorCaptured?: ((err: unknown, instance:
|
|
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)[];
|
|
257
259
|
};
|
|
258
260
|
$forceUpdate: () => void;
|
|
259
261
|
$nextTick: typeof nextTick;
|
|
260
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
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;
|
|
261
263
|
} & Readonly<{
|
|
262
264
|
tabindex: number | string;
|
|
263
265
|
height: number | string;
|
|
264
266
|
maxHeight: number | string;
|
|
265
267
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
266
268
|
distance: number;
|
|
267
|
-
wrapStyle: string | false |
|
|
269
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
268
270
|
wrapClass: string | string[];
|
|
269
271
|
viewClass: string | string[];
|
|
270
|
-
viewStyle: string | false |
|
|
272
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
271
273
|
minSize: number;
|
|
272
|
-
}> & Omit<Readonly<
|
|
274
|
+
}> & Omit<Readonly< ScrollbarProps> & Readonly<{
|
|
273
275
|
onScroll?: ((args_0: {
|
|
274
276
|
scrollTop: number;
|
|
275
277
|
scrollLeft: number;
|
|
276
278
|
}) => any) | undefined;
|
|
277
|
-
"onEnd-reached"?: ((direction:
|
|
278
|
-
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> &
|
|
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<{
|
|
279
281
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
280
282
|
update: () => void;
|
|
281
283
|
scrollTo: {
|
|
@@ -285,23 +287,23 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
285
287
|
setScrollTop: (value: number) => void;
|
|
286
288
|
setScrollLeft: (value: number) => void;
|
|
287
289
|
handleScroll: () => void;
|
|
288
|
-
}> & {} &
|
|
290
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
289
291
|
$slots: {
|
|
290
292
|
default?: (props: {}) => any;
|
|
291
293
|
};
|
|
292
294
|
}) | undefined>;
|
|
293
295
|
rightScrollbarRef: Ref<({
|
|
294
|
-
$:
|
|
296
|
+
$: ComponentInternalInstance;
|
|
295
297
|
$data: {};
|
|
296
298
|
$props: {
|
|
297
299
|
readonly distance?: number | undefined;
|
|
298
300
|
readonly height?: number | string | undefined;
|
|
299
301
|
readonly maxHeight?: number | string | undefined;
|
|
300
302
|
readonly native?: boolean | undefined;
|
|
301
|
-
readonly wrapStyle?:
|
|
303
|
+
readonly wrapStyle?: StyleValue;
|
|
302
304
|
readonly wrapClass?: string | string[] | undefined;
|
|
303
305
|
readonly viewClass?: string | string[] | undefined;
|
|
304
|
-
readonly viewStyle?:
|
|
306
|
+
readonly viewStyle?: StyleValue;
|
|
305
307
|
readonly noresize?: boolean | undefined;
|
|
306
308
|
readonly tag?: (keyof HTMLElementTagNameMap | (string & {})) | undefined;
|
|
307
309
|
readonly always?: boolean | undefined;
|
|
@@ -315,8 +317,8 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
315
317
|
scrollTop: number;
|
|
316
318
|
scrollLeft: number;
|
|
317
319
|
}) => any) | undefined | undefined;
|
|
318
|
-
readonly "onEnd-reached"?: ((direction:
|
|
319
|
-
} &
|
|
320
|
+
readonly "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined | undefined;
|
|
321
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
320
322
|
$attrs: {
|
|
321
323
|
[x: string]: unknown;
|
|
322
324
|
};
|
|
@@ -324,22 +326,22 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
324
326
|
[x: string]: unknown;
|
|
325
327
|
};
|
|
326
328
|
$slots: Readonly<{
|
|
327
|
-
[name: string]:
|
|
329
|
+
[name: string]: Slot<any> | undefined;
|
|
328
330
|
}>;
|
|
329
|
-
$root:
|
|
330
|
-
$parent:
|
|
331
|
+
$root: ComponentPublicInstance | null;
|
|
332
|
+
$parent: ComponentPublicInstance | null;
|
|
331
333
|
$host: Element | null;
|
|
332
334
|
$emit: ((event: "scroll", args_0: {
|
|
333
335
|
scrollTop: number;
|
|
334
336
|
scrollLeft: number;
|
|
335
|
-
}) => void) & ((event: "end-reached", direction:
|
|
337
|
+
}) => void) & ((event: "end-reached", direction: ScrollbarDirection) => void);
|
|
336
338
|
$el: any;
|
|
337
|
-
$options:
|
|
339
|
+
$options: ComponentOptionsBase<Readonly< ScrollbarProps> & Readonly<{
|
|
338
340
|
onScroll?: ((args_0: {
|
|
339
341
|
scrollTop: number;
|
|
340
342
|
scrollLeft: number;
|
|
341
343
|
}) => any) | undefined;
|
|
342
|
-
"onEnd-reached"?: ((direction:
|
|
344
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
343
345
|
}>, {
|
|
344
346
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
345
347
|
update: () => void;
|
|
@@ -350,24 +352,24 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
350
352
|
setScrollTop: (value: number) => void;
|
|
351
353
|
setScrollLeft: (value: number) => void;
|
|
352
354
|
handleScroll: () => void;
|
|
353
|
-
}, {}, {}, {},
|
|
355
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
354
356
|
scroll: (args_0: {
|
|
355
357
|
scrollTop: number;
|
|
356
358
|
scrollLeft: number;
|
|
357
359
|
}) => void;
|
|
358
|
-
"end-reached": (direction:
|
|
360
|
+
"end-reached": (direction: ScrollbarDirection) => void;
|
|
359
361
|
}, string, {
|
|
360
362
|
tabindex: number | string;
|
|
361
363
|
height: number | string;
|
|
362
364
|
maxHeight: number | string;
|
|
363
365
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
364
366
|
distance: number;
|
|
365
|
-
wrapStyle: string | false |
|
|
367
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
366
368
|
wrapClass: string | string[];
|
|
367
369
|
viewClass: string | string[];
|
|
368
|
-
viewStyle: string | false |
|
|
370
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
369
371
|
minSize: number;
|
|
370
|
-
}, {}, string, {},
|
|
372
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
371
373
|
beforeCreate?: (() => void) | (() => void)[];
|
|
372
374
|
created?: (() => void) | (() => void)[];
|
|
373
375
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -380,31 +382,31 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
380
382
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
381
383
|
destroyed?: (() => void) | (() => void)[];
|
|
382
384
|
unmounted?: (() => void) | (() => void)[];
|
|
383
|
-
renderTracked?: ((e:
|
|
384
|
-
renderTriggered?: ((e:
|
|
385
|
-
errorCaptured?: ((err: unknown, instance:
|
|
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)[];
|
|
386
388
|
};
|
|
387
389
|
$forceUpdate: () => void;
|
|
388
390
|
$nextTick: typeof nextTick;
|
|
389
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
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;
|
|
390
392
|
} & Readonly<{
|
|
391
393
|
tabindex: number | string;
|
|
392
394
|
height: number | string;
|
|
393
395
|
maxHeight: number | string;
|
|
394
396
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
395
397
|
distance: number;
|
|
396
|
-
wrapStyle: string | false |
|
|
398
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
397
399
|
wrapClass: string | string[];
|
|
398
400
|
viewClass: string | string[];
|
|
399
|
-
viewStyle: string | false |
|
|
401
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
400
402
|
minSize: number;
|
|
401
|
-
}> & Omit<Readonly<
|
|
403
|
+
}> & Omit<Readonly< ScrollbarProps> & Readonly<{
|
|
402
404
|
onScroll?: ((args_0: {
|
|
403
405
|
scrollTop: number;
|
|
404
406
|
scrollLeft: number;
|
|
405
407
|
}) => any) | undefined;
|
|
406
|
-
"onEnd-reached"?: ((direction:
|
|
407
|
-
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> &
|
|
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<{
|
|
408
410
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
409
411
|
update: () => void;
|
|
410
412
|
scrollTo: {
|
|
@@ -414,22 +416,22 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
414
416
|
setScrollTop: (value: number) => void;
|
|
415
417
|
setScrollLeft: (value: number) => void;
|
|
416
418
|
handleScroll: () => void;
|
|
417
|
-
}> & {} &
|
|
419
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
418
420
|
$slots: {
|
|
419
421
|
default?: (props: {}) => any;
|
|
420
422
|
};
|
|
421
423
|
}) | undefined, ({
|
|
422
|
-
$:
|
|
424
|
+
$: ComponentInternalInstance;
|
|
423
425
|
$data: {};
|
|
424
426
|
$props: {
|
|
425
427
|
readonly distance?: number | undefined;
|
|
426
428
|
readonly height?: number | string | undefined;
|
|
427
429
|
readonly maxHeight?: number | string | undefined;
|
|
428
430
|
readonly native?: boolean | undefined;
|
|
429
|
-
readonly wrapStyle?:
|
|
431
|
+
readonly wrapStyle?: StyleValue;
|
|
430
432
|
readonly wrapClass?: string | string[] | undefined;
|
|
431
433
|
readonly viewClass?: string | string[] | undefined;
|
|
432
|
-
readonly viewStyle?:
|
|
434
|
+
readonly viewStyle?: StyleValue;
|
|
433
435
|
readonly noresize?: boolean | undefined;
|
|
434
436
|
readonly tag?: (keyof HTMLElementTagNameMap | (string & {})) | undefined;
|
|
435
437
|
readonly always?: boolean | undefined;
|
|
@@ -443,8 +445,8 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
443
445
|
scrollTop: number;
|
|
444
446
|
scrollLeft: number;
|
|
445
447
|
}) => any) | undefined | undefined;
|
|
446
|
-
readonly "onEnd-reached"?: ((direction:
|
|
447
|
-
} &
|
|
448
|
+
readonly "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined | undefined;
|
|
449
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
448
450
|
$attrs: {
|
|
449
451
|
[x: string]: unknown;
|
|
450
452
|
};
|
|
@@ -452,22 +454,22 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
452
454
|
[x: string]: unknown;
|
|
453
455
|
};
|
|
454
456
|
$slots: Readonly<{
|
|
455
|
-
[name: string]:
|
|
457
|
+
[name: string]: Slot<any> | undefined;
|
|
456
458
|
}>;
|
|
457
|
-
$root:
|
|
458
|
-
$parent:
|
|
459
|
+
$root: ComponentPublicInstance | null;
|
|
460
|
+
$parent: ComponentPublicInstance | null;
|
|
459
461
|
$host: Element | null;
|
|
460
462
|
$emit: ((event: "scroll", args_0: {
|
|
461
463
|
scrollTop: number;
|
|
462
464
|
scrollLeft: number;
|
|
463
|
-
}) => void) & ((event: "end-reached", direction:
|
|
465
|
+
}) => void) & ((event: "end-reached", direction: ScrollbarDirection) => void);
|
|
464
466
|
$el: any;
|
|
465
|
-
$options:
|
|
467
|
+
$options: ComponentOptionsBase<Readonly< ScrollbarProps> & Readonly<{
|
|
466
468
|
onScroll?: ((args_0: {
|
|
467
469
|
scrollTop: number;
|
|
468
470
|
scrollLeft: number;
|
|
469
471
|
}) => any) | undefined;
|
|
470
|
-
"onEnd-reached"?: ((direction:
|
|
472
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
471
473
|
}>, {
|
|
472
474
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
473
475
|
update: () => void;
|
|
@@ -478,24 +480,24 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
478
480
|
setScrollTop: (value: number) => void;
|
|
479
481
|
setScrollLeft: (value: number) => void;
|
|
480
482
|
handleScroll: () => void;
|
|
481
|
-
}, {}, {}, {},
|
|
483
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
482
484
|
scroll: (args_0: {
|
|
483
485
|
scrollTop: number;
|
|
484
486
|
scrollLeft: number;
|
|
485
487
|
}) => void;
|
|
486
|
-
"end-reached": (direction:
|
|
488
|
+
"end-reached": (direction: ScrollbarDirection) => void;
|
|
487
489
|
}, string, {
|
|
488
490
|
tabindex: number | string;
|
|
489
491
|
height: number | string;
|
|
490
492
|
maxHeight: number | string;
|
|
491
493
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
492
494
|
distance: number;
|
|
493
|
-
wrapStyle: string | false |
|
|
495
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
494
496
|
wrapClass: string | string[];
|
|
495
497
|
viewClass: string | string[];
|
|
496
|
-
viewStyle: string | false |
|
|
498
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
497
499
|
minSize: number;
|
|
498
|
-
}, {}, string, {},
|
|
500
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
499
501
|
beforeCreate?: (() => void) | (() => void)[];
|
|
500
502
|
created?: (() => void) | (() => void)[];
|
|
501
503
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -508,31 +510,31 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
508
510
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
509
511
|
destroyed?: (() => void) | (() => void)[];
|
|
510
512
|
unmounted?: (() => void) | (() => void)[];
|
|
511
|
-
renderTracked?: ((e:
|
|
512
|
-
renderTriggered?: ((e:
|
|
513
|
-
errorCaptured?: ((err: unknown, instance:
|
|
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)[];
|
|
514
516
|
};
|
|
515
517
|
$forceUpdate: () => void;
|
|
516
518
|
$nextTick: typeof nextTick;
|
|
517
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
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;
|
|
518
520
|
} & Readonly<{
|
|
519
521
|
tabindex: number | string;
|
|
520
522
|
height: number | string;
|
|
521
523
|
maxHeight: number | string;
|
|
522
524
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
523
525
|
distance: number;
|
|
524
|
-
wrapStyle: string | false |
|
|
526
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
525
527
|
wrapClass: string | string[];
|
|
526
528
|
viewClass: string | string[];
|
|
527
|
-
viewStyle: string | false |
|
|
529
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
528
530
|
minSize: number;
|
|
529
|
-
}> & Omit<Readonly<
|
|
531
|
+
}> & Omit<Readonly< ScrollbarProps> & Readonly<{
|
|
530
532
|
onScroll?: ((args_0: {
|
|
531
533
|
scrollTop: number;
|
|
532
534
|
scrollLeft: number;
|
|
533
535
|
}) => any) | undefined;
|
|
534
|
-
"onEnd-reached"?: ((direction:
|
|
535
|
-
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> &
|
|
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<{
|
|
536
538
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
537
539
|
update: () => void;
|
|
538
540
|
scrollTo: {
|
|
@@ -542,7 +544,7 @@ export declare function useSideSlot(propsRef: ComputedRef<TtTableProps>, grid: R
|
|
|
542
544
|
setScrollTop: (value: number) => void;
|
|
543
545
|
setScrollLeft: (value: number) => void;
|
|
544
546
|
handleScroll: () => void;
|
|
545
|
-
}> & {} &
|
|
547
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
546
548
|
$slots: {
|
|
547
549
|
default?: (props: {}) => any;
|
|
548
550
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MaybeRefOrGetter, ModelRef, Ref } from 'vue';
|
|
1
|
+
import { MaybeRefOrGetter, ModelRef, Ref, ShallowRef } 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:
|
|
57
|
+
rows: 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;
|