@dazhicheng/ui 1.6.24 → 1.6.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/tt-api-component/index.d.ts +24 -35
- package/dist/components/tt-area/TtArea.d.ts +3 -0
- package/dist/components/tt-area/index.d.ts +1 -1
- package/dist/components/tt-button/components/AddButton.d.ts +3 -0
- package/dist/components/tt-button/index.d.ts +260 -589
- package/dist/components/tt-checkbox/index.d.ts +26 -35
- package/dist/components/tt-drawer/index.d.ts +306 -299
- package/dist/components/tt-drawer/src/{RenderDrawer.vue.d.ts → RenderDrawer.d.ts} +149 -146
- package/dist/components/tt-drawer/src/components/{DrawerFooter.vue.d.ts → DrawerFooter.d.ts} +18 -16
- package/dist/components/tt-drawer/src/components/{DrawerHeader.vue.d.ts → DrawerHeader.d.ts} +4 -3
- package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +2 -2
- package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +2 -2
- package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +4 -2
- package/dist/components/tt-empty/index.d.ts +10 -8
- package/dist/components/tt-form/src/components/{ExpandableArrow.vue.d.ts → ExpandableArrow.d.ts} +5 -4
- package/dist/components/tt-form/src/components/{FormActions.vue.d.ts → FormActions.d.ts} +6 -5
- package/dist/components/tt-form/src/components/{FormElInput.vue.d.ts → FormElInput.d.ts} +105 -101
- package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
- package/dist/components/tt-form/src/form/{FormControl.vue.d.ts → FormControl.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormDescription.vue.d.ts → FormDescription.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormItem.vue.d.ts → FormItem.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormLabel.vue.d.ts → FormLabel.d.ts} +2 -1
- package/dist/components/tt-form/src/form/FormMessage.d.ts +3 -0
- package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +9 -0
- package/dist/components/tt-form/src/form/{FormWarnMessage.vue.d.ts → FormWarnMessage.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{RenderContent.vue.d.ts → RenderContent.d.ts} +4 -4
- package/dist/components/tt-form/src/form/index.d.ts +8 -8
- package/dist/components/tt-form/src/form/useFormField.d.ts +6 -5
- package/dist/components/tt-form/src/form-render/{FormField.vue.d.ts → FormField.d.ts} +2 -1
- package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
- package/dist/components/tt-form/src/form-render/{FormLabel.vue.d.ts → FormLabel.d.ts} +3 -2
- package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +14 -11
- package/dist/components/tt-form/src/form-render/context.d.ts +5 -4
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +7 -6
- package/dist/components/tt-form/src/form-render/expandable.d.ts +4 -3
- package/dist/components/tt-form/src/form-render/{form.vue.d.ts → form.d.ts} +9 -8
- package/dist/components/tt-form/src/form-render/index.d.ts +3 -3
- package/dist/components/tt-form/src/formApi.d.ts +3 -3
- package/dist/components/tt-form/src/group-form/{GroupForm.vue.d.ts → GroupForm.d.ts} +7 -5
- package/dist/components/tt-form/src/group-form/{GroupSection.vue.d.ts → GroupSection.d.ts} +7 -5
- package/dist/components/tt-form/src/group-form/{LazyFormField.vue.d.ts → LazyFormField.d.ts} +5 -3
- package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +7 -5
- package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +3 -2
- package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +2 -2
- package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +2 -2
- package/dist/components/tt-form/src/index.d.ts +217 -0
- package/dist/components/tt-form/src/useForm.d.ts +2 -1
- package/dist/components/tt-form/src/useFormContext.d.ts +2 -1
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +61 -337
- package/dist/components/tt-icon/components/AddIcon.d.ts +8 -0
- package/dist/components/tt-icon/components/SubIcon.d.ts +8 -0
- package/dist/components/tt-icon/index.d.ts +24 -115
- package/dist/components/tt-image/index.d.ts +45 -41
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +30 -26
- package/dist/components/tt-image/tt-image.d.ts +36 -34
- package/dist/components/tt-loading/index.d.ts +5 -2
- package/dist/components/tt-loading/src/loading.d.ts +13 -0
- package/dist/components/tt-log/index.d.ts +7 -6
- package/dist/components/tt-modal/index.d.ts +371 -364
- package/dist/components/tt-modal/src/{RenderModal.vue.d.ts → RenderModal.d.ts} +118 -115
- package/dist/components/tt-modal/src/components/{ModalFooter.vue.d.ts → ModalFooter.d.ts} +26 -23
- package/dist/components/tt-modal/src/components/{ModalHeader.vue.d.ts → ModalHeader.d.ts} +4 -3
- package/dist/components/tt-modal/src/components/{ModalWrapper.vue.d.ts → ModalWrapper.d.ts} +27 -24
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +32 -29
- package/dist/components/tt-modal/src/typing.d.ts +2 -2
- package/dist/components/tt-modal/src/utils/modal-api.d.ts +2 -1
- package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +3 -2
- package/dist/components/tt-modal-form/index.d.ts +46 -2
- package/dist/components/tt-modal-form/useModalForm.d.ts +4 -3
- package/dist/components/tt-nav-anchor/index.d.ts +15 -12
- package/dist/components/tt-nav-anchor/src/{TtNavAnchor.vue.d.ts → TtNavAnchor.d.ts} +4 -4
- package/dist/components/tt-panel-select/index.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/{PanelLeft.vue.d.ts → PanelLeft.d.ts} +4 -3
- package/dist/components/tt-panel-select/src/components/{PanelMiddle.vue.d.ts → PanelMiddle.d.ts} +83 -80
- package/dist/components/tt-panel-select/src/components/{PanelRight.vue.d.ts → PanelRight.d.ts} +34 -32
- package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +7 -6
- package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
- package/dist/components/tt-panel-select/src/{index.vue.d.ts → index.d.ts} +84 -80
- package/dist/components/tt-radio-group/index.d.ts +31 -50
- package/dist/components/tt-select/index.d.ts +1 -1
- package/dist/components/tt-select/src/{Select.vue.d.ts → Select.d.ts} +146 -141
- package/dist/components/tt-select/src/components/{SelectTable.vue.d.ts → SelectTable.d.ts} +40 -36
- package/dist/components/tt-select/src/components/{Table.vue.d.ts → Table.d.ts} +41 -38
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/usePagination.d.ts +4 -3
- package/dist/components/tt-select/src/hooks/useSelect.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
- package/dist/components/tt-table/index.d.ts +287 -279
- package/dist/components/tt-table/src/{Table.vue.d.ts → Table.d.ts} +209 -204
- package/dist/components/tt-table/src/{TableForm.vue.d.ts → TableForm.d.ts} +83 -80
- package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableAction.vue.d.ts → TableAction.d.ts} +4 -4
- package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableColumnModal.vue.d.ts → TableColumnModal.d.ts} +5 -4
- package/dist/components/tt-table/src/components/{TableToolbarTools.vue.d.ts → TableToolbarTools.d.ts} +7 -6
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +45 -44
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +33 -33
- package/dist/components/tt-table/src/hooks/useQuery.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +112 -110
- package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
- package/dist/components/tt-table/src/props.d.ts +19 -17
- package/dist/components/tt-table/src/utils/table-api.d.ts +4 -4
- package/dist/components/tt-table/src/utils/table-form-api.d.ts +2 -1
- package/dist/components/tt-text/index.d.ts +34 -59
- package/dist/components/tt-upload/index.d.ts +317 -311
- package/dist/components/tt-upload/src/TtUpload.d.ts +519 -0
- package/dist/components/tt-upload/src/typing.d.ts +49 -47
- package/dist/hooks/useLoading.d.ts +2 -2
- package/dist/hooks/useScreenshotOss.d.ts +2 -2
- package/dist/index.d.ts +2 -1
- package/package.json +2 -2
- package/dist/components/tt-api-component/index.vue.d.ts +0 -34
- package/dist/components/tt-area/TtArea.vue.d.ts +0 -2
- package/dist/components/tt-button/components/AddButton.vue.d.ts +0 -2
- package/dist/components/tt-button/index.vue.d.ts +0 -466
- package/dist/components/tt-checkbox/index.vue.d.ts +0 -28
- package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +0 -2
- package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +0 -8
- package/dist/components/tt-form/src/index.vue.d.ts +0 -216
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +0 -298
- package/dist/components/tt-icon/components/AddIcon.vue.d.ts +0 -7
- package/dist/components/tt-icon/components/SubIcon.vue.d.ts +0 -7
- package/dist/components/tt-icon/index.vue.d.ts +0 -32
- package/dist/components/tt-loading/src/loading.vue.d.ts +0 -12
- package/dist/components/tt-log/index.vue.d.ts +0 -5
- package/dist/components/tt-modal-form/index.vue.d.ts +0 -45
- package/dist/components/tt-radio-group/index.vue.d.ts +0 -33
- package/dist/components/tt-text/index.vue.d.ts +0 -50
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +0 -517
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import { Ref, nextTick } from 'vue';
|
|
2
|
-
import { VxeGridInstance } from 'vxe-table';
|
|
1
|
+
import { Ref, nextTick, ComponentInternalInstance, StyleValue, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, CSSProperties, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, ExtractPropTypes, PropType, ComputedRef, MaybeRef, PublicProps } from 'vue';
|
|
2
|
+
import { VxeGridInstance, VxeGridMethods, VxeGridProps, VxeGridEventProps, VxeGridSlots } from 'vxe-table';
|
|
3
3
|
import { Recordable } from '../../../../../utils/src';
|
|
4
4
|
import { TtTableExtendedTableApi, TtTableProps } from './types/table';
|
|
5
|
+
import { ScrollbarDirection, ScrollbarProps } from 'element-plus';
|
|
6
|
+
import { OnCleanup } from '@vue/reactivity';
|
|
7
|
+
import { VxeComponentSizeType } from 'vxe-pc-ui';
|
|
8
|
+
import { TtColumnOptions, FetchParams, TtSelectRowKeysType, TtSelectRowsType } from '..';
|
|
9
|
+
import { TtExtendedFormApi } from '../../tt-form';
|
|
5
10
|
declare function __VLS_template(): {
|
|
6
11
|
attrs: Partial<{}>;
|
|
7
12
|
slots: Readonly<{
|
|
@@ -27,22 +32,22 @@ declare function __VLS_template(): {
|
|
|
27
32
|
};
|
|
28
33
|
refs: {
|
|
29
34
|
wrapRef: HTMLDivElement;
|
|
30
|
-
xGrid: (
|
|
31
|
-
$props:
|
|
32
|
-
$slots:
|
|
35
|
+
xGrid: ( VxeGridMethods<any> & {
|
|
36
|
+
$props: VxeGridProps<any> & VxeGridEventProps<any>;
|
|
37
|
+
$slots: VxeGridSlots<any>;
|
|
33
38
|
}) | null;
|
|
34
39
|
leftScrollbarRef: ({
|
|
35
|
-
$:
|
|
40
|
+
$: ComponentInternalInstance;
|
|
36
41
|
$data: {};
|
|
37
42
|
$props: {
|
|
38
43
|
readonly distance?: number | undefined;
|
|
39
44
|
readonly height?: number | string | undefined;
|
|
40
45
|
readonly maxHeight?: number | string | undefined;
|
|
41
46
|
readonly native?: boolean | undefined;
|
|
42
|
-
readonly wrapStyle?:
|
|
47
|
+
readonly wrapStyle?: StyleValue;
|
|
43
48
|
readonly wrapClass?: string | string[] | undefined;
|
|
44
49
|
readonly viewClass?: string | string[] | undefined;
|
|
45
|
-
readonly viewStyle?:
|
|
50
|
+
readonly viewStyle?: StyleValue;
|
|
46
51
|
readonly noresize?: boolean | undefined;
|
|
47
52
|
readonly tag?: (keyof HTMLElementTagNameMap | (string & {})) | undefined;
|
|
48
53
|
readonly always?: boolean | undefined;
|
|
@@ -56,8 +61,8 @@ declare function __VLS_template(): {
|
|
|
56
61
|
scrollTop: number;
|
|
57
62
|
scrollLeft: number;
|
|
58
63
|
}) => any) | undefined | undefined;
|
|
59
|
-
readonly "onEnd-reached"?: ((direction:
|
|
60
|
-
} &
|
|
64
|
+
readonly "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined | undefined;
|
|
65
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
61
66
|
$attrs: {
|
|
62
67
|
[x: string]: unknown;
|
|
63
68
|
};
|
|
@@ -65,22 +70,22 @@ declare function __VLS_template(): {
|
|
|
65
70
|
[x: string]: unknown;
|
|
66
71
|
};
|
|
67
72
|
$slots: Readonly<{
|
|
68
|
-
[name: string]:
|
|
73
|
+
[name: string]: Slot<any> | undefined;
|
|
69
74
|
}>;
|
|
70
|
-
$root:
|
|
71
|
-
$parent:
|
|
75
|
+
$root: ComponentPublicInstance | null;
|
|
76
|
+
$parent: ComponentPublicInstance | null;
|
|
72
77
|
$host: Element | null;
|
|
73
78
|
$emit: ((event: "scroll", args_0: {
|
|
74
79
|
scrollTop: number;
|
|
75
80
|
scrollLeft: number;
|
|
76
|
-
}) => void) & ((event: "end-reached", direction:
|
|
81
|
+
}) => void) & ((event: "end-reached", direction: ScrollbarDirection) => void);
|
|
77
82
|
$el: any;
|
|
78
|
-
$options:
|
|
83
|
+
$options: ComponentOptionsBase<Readonly< ScrollbarProps> & Readonly<{
|
|
79
84
|
onScroll?: ((args_0: {
|
|
80
85
|
scrollTop: number;
|
|
81
86
|
scrollLeft: number;
|
|
82
87
|
}) => any) | undefined;
|
|
83
|
-
"onEnd-reached"?: ((direction:
|
|
88
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
84
89
|
}>, {
|
|
85
90
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
86
91
|
update: () => void;
|
|
@@ -91,24 +96,24 @@ declare function __VLS_template(): {
|
|
|
91
96
|
setScrollTop: (value: number) => void;
|
|
92
97
|
setScrollLeft: (value: number) => void;
|
|
93
98
|
handleScroll: () => void;
|
|
94
|
-
}, {}, {}, {},
|
|
99
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
95
100
|
scroll: (args_0: {
|
|
96
101
|
scrollTop: number;
|
|
97
102
|
scrollLeft: number;
|
|
98
103
|
}) => void;
|
|
99
|
-
"end-reached": (direction:
|
|
104
|
+
"end-reached": (direction: ScrollbarDirection) => void;
|
|
100
105
|
}, string, {
|
|
101
106
|
tabindex: number | string;
|
|
102
107
|
height: number | string;
|
|
103
108
|
maxHeight: number | string;
|
|
104
109
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
105
110
|
distance: number;
|
|
106
|
-
wrapStyle: string | false |
|
|
111
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
107
112
|
wrapClass: string | string[];
|
|
108
113
|
viewClass: string | string[];
|
|
109
|
-
viewStyle: string | false |
|
|
114
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
110
115
|
minSize: number;
|
|
111
|
-
}, {}, string, {},
|
|
116
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
112
117
|
beforeCreate?: (() => void) | (() => void)[];
|
|
113
118
|
created?: (() => void) | (() => void)[];
|
|
114
119
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -121,31 +126,31 @@ declare function __VLS_template(): {
|
|
|
121
126
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
122
127
|
destroyed?: (() => void) | (() => void)[];
|
|
123
128
|
unmounted?: (() => void) | (() => void)[];
|
|
124
|
-
renderTracked?: ((e:
|
|
125
|
-
renderTriggered?: ((e:
|
|
126
|
-
errorCaptured?: ((err: unknown, instance:
|
|
129
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
130
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
131
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
127
132
|
};
|
|
128
133
|
$forceUpdate: () => void;
|
|
129
134
|
$nextTick: typeof nextTick;
|
|
130
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
135
|
+
$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;
|
|
131
136
|
} & Readonly<{
|
|
132
137
|
tabindex: number | string;
|
|
133
138
|
height: number | string;
|
|
134
139
|
maxHeight: number | string;
|
|
135
140
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
136
141
|
distance: number;
|
|
137
|
-
wrapStyle: string | false |
|
|
142
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
138
143
|
wrapClass: string | string[];
|
|
139
144
|
viewClass: string | string[];
|
|
140
|
-
viewStyle: string | false |
|
|
145
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
141
146
|
minSize: number;
|
|
142
|
-
}> & Omit<Readonly<
|
|
147
|
+
}> & Omit<Readonly< ScrollbarProps> & Readonly<{
|
|
143
148
|
onScroll?: ((args_0: {
|
|
144
149
|
scrollTop: number;
|
|
145
150
|
scrollLeft: number;
|
|
146
151
|
}) => any) | undefined;
|
|
147
|
-
"onEnd-reached"?: ((direction:
|
|
148
|
-
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> &
|
|
152
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
153
|
+
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & ShallowUnwrapRef<{
|
|
149
154
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
150
155
|
update: () => void;
|
|
151
156
|
scrollTo: {
|
|
@@ -155,23 +160,23 @@ declare function __VLS_template(): {
|
|
|
155
160
|
setScrollTop: (value: number) => void;
|
|
156
161
|
setScrollLeft: (value: number) => void;
|
|
157
162
|
handleScroll: () => void;
|
|
158
|
-
}> & {} &
|
|
163
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
159
164
|
$slots: {
|
|
160
165
|
default?: (props: {}) => any;
|
|
161
166
|
};
|
|
162
167
|
}) | null;
|
|
163
168
|
rightScrollbarRef: ({
|
|
164
|
-
$:
|
|
169
|
+
$: ComponentInternalInstance;
|
|
165
170
|
$data: {};
|
|
166
171
|
$props: {
|
|
167
172
|
readonly distance?: number | undefined;
|
|
168
173
|
readonly height?: number | string | undefined;
|
|
169
174
|
readonly maxHeight?: number | string | undefined;
|
|
170
175
|
readonly native?: boolean | undefined;
|
|
171
|
-
readonly wrapStyle?:
|
|
176
|
+
readonly wrapStyle?: StyleValue;
|
|
172
177
|
readonly wrapClass?: string | string[] | undefined;
|
|
173
178
|
readonly viewClass?: string | string[] | undefined;
|
|
174
|
-
readonly viewStyle?:
|
|
179
|
+
readonly viewStyle?: StyleValue;
|
|
175
180
|
readonly noresize?: boolean | undefined;
|
|
176
181
|
readonly tag?: (keyof HTMLElementTagNameMap | (string & {})) | undefined;
|
|
177
182
|
readonly always?: boolean | undefined;
|
|
@@ -185,8 +190,8 @@ declare function __VLS_template(): {
|
|
|
185
190
|
scrollTop: number;
|
|
186
191
|
scrollLeft: number;
|
|
187
192
|
}) => any) | undefined | undefined;
|
|
188
|
-
readonly "onEnd-reached"?: ((direction:
|
|
189
|
-
} &
|
|
193
|
+
readonly "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined | undefined;
|
|
194
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
190
195
|
$attrs: {
|
|
191
196
|
[x: string]: unknown;
|
|
192
197
|
};
|
|
@@ -194,22 +199,22 @@ declare function __VLS_template(): {
|
|
|
194
199
|
[x: string]: unknown;
|
|
195
200
|
};
|
|
196
201
|
$slots: Readonly<{
|
|
197
|
-
[name: string]:
|
|
202
|
+
[name: string]: Slot<any> | undefined;
|
|
198
203
|
}>;
|
|
199
|
-
$root:
|
|
200
|
-
$parent:
|
|
204
|
+
$root: ComponentPublicInstance | null;
|
|
205
|
+
$parent: ComponentPublicInstance | null;
|
|
201
206
|
$host: Element | null;
|
|
202
207
|
$emit: ((event: "scroll", args_0: {
|
|
203
208
|
scrollTop: number;
|
|
204
209
|
scrollLeft: number;
|
|
205
|
-
}) => void) & ((event: "end-reached", direction:
|
|
210
|
+
}) => void) & ((event: "end-reached", direction: ScrollbarDirection) => void);
|
|
206
211
|
$el: any;
|
|
207
|
-
$options:
|
|
212
|
+
$options: ComponentOptionsBase<Readonly< ScrollbarProps> & Readonly<{
|
|
208
213
|
onScroll?: ((args_0: {
|
|
209
214
|
scrollTop: number;
|
|
210
215
|
scrollLeft: number;
|
|
211
216
|
}) => any) | undefined;
|
|
212
|
-
"onEnd-reached"?: ((direction:
|
|
217
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
213
218
|
}>, {
|
|
214
219
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
215
220
|
update: () => void;
|
|
@@ -220,24 +225,24 @@ declare function __VLS_template(): {
|
|
|
220
225
|
setScrollTop: (value: number) => void;
|
|
221
226
|
setScrollLeft: (value: number) => void;
|
|
222
227
|
handleScroll: () => void;
|
|
223
|
-
}, {}, {}, {},
|
|
228
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
224
229
|
scroll: (args_0: {
|
|
225
230
|
scrollTop: number;
|
|
226
231
|
scrollLeft: number;
|
|
227
232
|
}) => void;
|
|
228
|
-
"end-reached": (direction:
|
|
233
|
+
"end-reached": (direction: ScrollbarDirection) => void;
|
|
229
234
|
}, string, {
|
|
230
235
|
tabindex: number | string;
|
|
231
236
|
height: number | string;
|
|
232
237
|
maxHeight: number | string;
|
|
233
238
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
234
239
|
distance: number;
|
|
235
|
-
wrapStyle: string | false |
|
|
240
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
236
241
|
wrapClass: string | string[];
|
|
237
242
|
viewClass: string | string[];
|
|
238
|
-
viewStyle: string | false |
|
|
243
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
239
244
|
minSize: number;
|
|
240
|
-
}, {}, string, {},
|
|
245
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
241
246
|
beforeCreate?: (() => void) | (() => void)[];
|
|
242
247
|
created?: (() => void) | (() => void)[];
|
|
243
248
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -250,31 +255,31 @@ declare function __VLS_template(): {
|
|
|
250
255
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
251
256
|
destroyed?: (() => void) | (() => void)[];
|
|
252
257
|
unmounted?: (() => void) | (() => void)[];
|
|
253
|
-
renderTracked?: ((e:
|
|
254
|
-
renderTriggered?: ((e:
|
|
255
|
-
errorCaptured?: ((err: unknown, instance:
|
|
258
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
259
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
260
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
256
261
|
};
|
|
257
262
|
$forceUpdate: () => void;
|
|
258
263
|
$nextTick: typeof nextTick;
|
|
259
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
264
|
+
$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
265
|
} & Readonly<{
|
|
261
266
|
tabindex: number | string;
|
|
262
267
|
height: number | string;
|
|
263
268
|
maxHeight: number | string;
|
|
264
269
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
265
270
|
distance: number;
|
|
266
|
-
wrapStyle: string | false |
|
|
271
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
267
272
|
wrapClass: string | string[];
|
|
268
273
|
viewClass: string | string[];
|
|
269
|
-
viewStyle: string | false |
|
|
274
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
270
275
|
minSize: number;
|
|
271
|
-
}> & Omit<Readonly<
|
|
276
|
+
}> & Omit<Readonly< ScrollbarProps> & Readonly<{
|
|
272
277
|
onScroll?: ((args_0: {
|
|
273
278
|
scrollTop: number;
|
|
274
279
|
scrollLeft: number;
|
|
275
280
|
}) => any) | undefined;
|
|
276
|
-
"onEnd-reached"?: ((direction:
|
|
277
|
-
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> &
|
|
281
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
282
|
+
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & ShallowUnwrapRef<{
|
|
278
283
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
279
284
|
update: () => void;
|
|
280
285
|
scrollTo: {
|
|
@@ -284,7 +289,7 @@ declare function __VLS_template(): {
|
|
|
284
289
|
setScrollTop: (value: number) => void;
|
|
285
290
|
setScrollLeft: (value: number) => void;
|
|
286
291
|
handleScroll: () => void;
|
|
287
|
-
}> & {} &
|
|
292
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
288
293
|
$slots: {
|
|
289
294
|
default?: (props: {}) => any;
|
|
290
295
|
};
|
|
@@ -293,25 +298,25 @@ declare function __VLS_template(): {
|
|
|
293
298
|
rootEl: HTMLDivElement;
|
|
294
299
|
};
|
|
295
300
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
296
|
-
declare const __VLS_component:
|
|
301
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
297
302
|
keyboardConfig: {
|
|
298
|
-
type:
|
|
303
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.KeyboardConfig>;
|
|
299
304
|
default: () => import("vxe-table").VxeTablePropTypes.KeyboardConfig<any> | undefined;
|
|
300
305
|
};
|
|
301
306
|
mouseConfig: {
|
|
302
|
-
type:
|
|
307
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.MouseConfig>;
|
|
303
308
|
default: () => import("vxe-table").VxeTablePropTypes.MouseConfig | undefined;
|
|
304
309
|
};
|
|
305
310
|
checkboxConfig: {
|
|
306
|
-
type:
|
|
311
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.CheckboxConfig>;
|
|
307
312
|
default: () => import("vxe-table").VxeTablePropTypes.CheckboxConfig<any> | undefined;
|
|
308
313
|
};
|
|
309
314
|
radioConfig: {
|
|
310
|
-
type:
|
|
315
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.RadioConfig>;
|
|
311
316
|
default: () => import("vxe-table").VxeTablePropTypes.RadioConfig<any> | undefined;
|
|
312
317
|
};
|
|
313
318
|
columns: {
|
|
314
|
-
type:
|
|
319
|
+
type: PropType<TtTableProps["columns"]>;
|
|
315
320
|
default: () => TtTableProps["columns"];
|
|
316
321
|
};
|
|
317
322
|
height: {
|
|
@@ -319,26 +324,26 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
319
324
|
default: () => import("vxe-table").VxeTablePropTypes.Height | undefined;
|
|
320
325
|
};
|
|
321
326
|
showOverflow: {
|
|
322
|
-
type:
|
|
327
|
+
type: PropType<TtTableProps["showOverflow"]>;
|
|
323
328
|
default: () => import("vxe-table").VxeTablePropTypes.ShowOverflow | undefined;
|
|
324
329
|
};
|
|
325
330
|
showHeaderOverflow: {
|
|
326
|
-
type:
|
|
331
|
+
type: PropType<TtTableProps["showHeaderOverflow"]>;
|
|
327
332
|
default: () => import("vxe-table").VxeTablePropTypes.ShowOverflow | undefined;
|
|
328
333
|
};
|
|
329
334
|
pagerConfig: {
|
|
330
|
-
type:
|
|
335
|
+
type: PropType<TtTableProps["pagerConfig"]>;
|
|
331
336
|
default: () => import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
332
337
|
};
|
|
333
338
|
toolbarConfig: {
|
|
334
|
-
type:
|
|
339
|
+
type: PropType<TtTableProps["toolbarConfig"]>;
|
|
335
340
|
};
|
|
336
341
|
size: {
|
|
337
|
-
type:
|
|
338
|
-
default: () =>
|
|
342
|
+
type: PropType<TtTableProps["size"]>;
|
|
343
|
+
default: () => VxeComponentSizeType | undefined;
|
|
339
344
|
};
|
|
340
345
|
toolTipErrorPlacement: {
|
|
341
|
-
type:
|
|
346
|
+
type: PropType<"top" | "bottom" | "left" | "right">;
|
|
342
347
|
default: string;
|
|
343
348
|
};
|
|
344
349
|
showToolbar: {
|
|
@@ -346,11 +351,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
346
351
|
default: () => boolean | undefined;
|
|
347
352
|
};
|
|
348
353
|
columnsFieldSort: {
|
|
349
|
-
type:
|
|
354
|
+
type: PropType<string[]>;
|
|
350
355
|
default: () => string[] | undefined;
|
|
351
356
|
};
|
|
352
357
|
columnsFieldNoSort: {
|
|
353
|
-
type:
|
|
358
|
+
type: PropType<string[]>;
|
|
354
359
|
default: () => string[] | undefined;
|
|
355
360
|
};
|
|
356
361
|
showRefresh: {
|
|
@@ -366,7 +371,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
366
371
|
default: () => boolean | undefined;
|
|
367
372
|
};
|
|
368
373
|
notSetColumnField: {
|
|
369
|
-
type:
|
|
374
|
+
type: PropType<string[]>;
|
|
370
375
|
default: () => string[] | undefined;
|
|
371
376
|
};
|
|
372
377
|
showTableAlert: {
|
|
@@ -374,7 +379,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
374
379
|
default: () => boolean | undefined;
|
|
375
380
|
};
|
|
376
381
|
api: {
|
|
377
|
-
type:
|
|
382
|
+
type: PropType<(...arg: any[]) => Promise<any>>;
|
|
378
383
|
default: null;
|
|
379
384
|
};
|
|
380
385
|
searchInfo: {
|
|
@@ -386,19 +391,19 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
386
391
|
default: () => boolean | undefined;
|
|
387
392
|
};
|
|
388
393
|
afterFetch: {
|
|
389
|
-
type:
|
|
394
|
+
type: PropType<TtTableProps["afterFetch"]>;
|
|
390
395
|
default: null;
|
|
391
396
|
};
|
|
392
397
|
beforeFetch: {
|
|
393
|
-
type:
|
|
398
|
+
type: PropType<TtTableProps["beforeFetch"]>;
|
|
394
399
|
default: null;
|
|
395
400
|
};
|
|
396
401
|
beforePageChange: {
|
|
397
|
-
type:
|
|
402
|
+
type: PropType<TtTableProps["beforePageChange"]>;
|
|
398
403
|
default: null;
|
|
399
404
|
};
|
|
400
405
|
data: {
|
|
401
|
-
type:
|
|
406
|
+
type: PropType<TtTableProps["data"]>;
|
|
402
407
|
default: () => TtTableProps["data"];
|
|
403
408
|
};
|
|
404
409
|
isScrollFetch: {
|
|
@@ -446,31 +451,31 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
446
451
|
default: () => string | undefined;
|
|
447
452
|
};
|
|
448
453
|
actionProps: {
|
|
449
|
-
type:
|
|
450
|
-
default: () =>
|
|
454
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
455
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
451
456
|
};
|
|
452
457
|
indexColumnProps: {
|
|
453
|
-
type:
|
|
454
|
-
default: () =>
|
|
458
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
459
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
455
460
|
};
|
|
456
461
|
checkboxColumnProps: {
|
|
457
|
-
type:
|
|
458
|
-
default: () =>
|
|
462
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
463
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
459
464
|
};
|
|
460
465
|
expandColumnProps: {
|
|
461
|
-
type:
|
|
462
|
-
default: () =>
|
|
466
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
467
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
463
468
|
};
|
|
464
469
|
radioColumnProps: {
|
|
465
|
-
type:
|
|
466
|
-
default: () =>
|
|
470
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
471
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
467
472
|
};
|
|
468
473
|
tableRowId: {
|
|
469
474
|
type: StringConstructor;
|
|
470
475
|
default: () => string | undefined;
|
|
471
476
|
};
|
|
472
477
|
customizeColumn: {
|
|
473
|
-
type:
|
|
478
|
+
type: PropType<TtTableProps["customizeColumn"]>;
|
|
474
479
|
};
|
|
475
480
|
showPager: {
|
|
476
481
|
type: BooleanConstructor;
|
|
@@ -503,14 +508,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
503
508
|
};
|
|
504
509
|
emptyImageStyle: {
|
|
505
510
|
type: ObjectConstructor;
|
|
506
|
-
default: () =>
|
|
511
|
+
default: () => CSSProperties | undefined;
|
|
507
512
|
};
|
|
508
513
|
emptyText: {
|
|
509
514
|
type: StringConstructor;
|
|
510
515
|
default: () => string | undefined;
|
|
511
516
|
};
|
|
512
517
|
emptyImageStatus: {
|
|
513
|
-
type:
|
|
518
|
+
type: PropType<"no-data" | "no-search">;
|
|
514
519
|
default: () => "no-data" | "no-search" | undefined;
|
|
515
520
|
};
|
|
516
521
|
noSearchText: {
|
|
@@ -518,7 +523,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
518
523
|
default: () => string | undefined;
|
|
519
524
|
};
|
|
520
525
|
columnsKey: {
|
|
521
|
-
type:
|
|
526
|
+
type: PropType<string | (() => string)>;
|
|
522
527
|
default: string;
|
|
523
528
|
};
|
|
524
529
|
useHttpCache: {
|
|
@@ -526,7 +531,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
526
531
|
default: () => boolean | undefined;
|
|
527
532
|
};
|
|
528
533
|
defaultDisplayFields: {
|
|
529
|
-
type:
|
|
534
|
+
type: PropType<string[]>;
|
|
530
535
|
default: () => string[] | undefined;
|
|
531
536
|
};
|
|
532
537
|
clearTreeExpand: {
|
|
@@ -542,10 +547,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
542
547
|
default: () => boolean | undefined;
|
|
543
548
|
};
|
|
544
549
|
tableApi: {
|
|
545
|
-
type:
|
|
550
|
+
type: PropType<TtTableExtendedTableApi>;
|
|
546
551
|
};
|
|
547
552
|
formApi: {
|
|
548
|
-
type:
|
|
553
|
+
type: PropType<TtExtendedFormApi>;
|
|
549
554
|
};
|
|
550
555
|
useSearchForm: any;
|
|
551
556
|
testId: {
|
|
@@ -553,27 +558,27 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
553
558
|
default: undefined;
|
|
554
559
|
};
|
|
555
560
|
modelValue: {
|
|
556
|
-
type:
|
|
561
|
+
type: PropType<Recordable[]>;
|
|
557
562
|
};
|
|
558
563
|
}>, {
|
|
559
|
-
xGrid:
|
|
560
|
-
reload: (data?:
|
|
564
|
+
xGrid: ComputedRef<VxeGridInstance<Recordable>>;
|
|
565
|
+
reload: (data?: FetchParams) => Promise<void>;
|
|
561
566
|
redoHeight: (full?: boolean) => void;
|
|
562
567
|
setProps: (props: Partial<TtTableProps>) => void;
|
|
563
568
|
setLoading: (loading: boolean) => void;
|
|
564
|
-
getLoading?:
|
|
569
|
+
getLoading?: ComputedRef<boolean | undefined>;
|
|
565
570
|
setTableColumns: (columns: import("vxe-table").VxeGridPropTypes.Columns<import("vxe-table").VxeTablePropTypes.Row>) => void;
|
|
566
571
|
getDataSource: () => import("vxe-table").VxeTablePropTypes.Row[];
|
|
567
572
|
setPagination: (props: Partial<import("vxe-table").VxeGridPropTypes.PagerConfig>) => void;
|
|
568
573
|
getPagination: () => import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
569
|
-
getTableInstance: () =>
|
|
570
|
-
getSelectRowKeys: () =>
|
|
571
|
-
getSelectRows: () =>
|
|
574
|
+
getTableInstance: () => VxeGridMethods;
|
|
575
|
+
getSelectRowKeys: () => TtSelectRowKeysType;
|
|
576
|
+
getSelectRows: () => TtSelectRowsType;
|
|
572
577
|
getTableColumns: () => import("vxe-table").VxeGridPropTypes.Columns<import("vxe-table").VxeTablePropTypes.Row> | undefined;
|
|
573
|
-
setSelectedRowKeys: (rows:
|
|
578
|
+
setSelectedRowKeys: (rows: TtSelectRowsType, keys?: TtSelectRowKeysType) => void;
|
|
574
579
|
clearSelectedRowKeys: () => void;
|
|
575
|
-
selectedKeys:
|
|
576
|
-
selectedRows:
|
|
580
|
+
selectedKeys: MaybeRef<TtSelectRowKeysType>;
|
|
581
|
+
selectedRows: MaybeRef<TtSelectRowsType>;
|
|
577
582
|
insert: (records: any) => Promise<{
|
|
578
583
|
row: import("vxe-table").VxeTablePropTypes.Row;
|
|
579
584
|
rows: import("vxe-table").VxeTablePropTypes.Row[];
|
|
@@ -646,27 +651,27 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
646
651
|
reloadTreeExpand: (row: any) => Promise<any>;
|
|
647
652
|
validate: (isFull?: boolean) => Promise<undefined | import("vxe-table").VxeTableDefines.ValidatorErrorMapParams>;
|
|
648
653
|
validateField: (row: import("vxe-table").VxeTablePropTypes.Row, field: string) => Promise<undefined | import("vxe-table").VxeTableDefines.ValidatorErrorMapParams>;
|
|
649
|
-
}, {}, {}, {},
|
|
654
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
650
655
|
"update:modelValue": (value: Recordable[]) => void;
|
|
651
|
-
}, string,
|
|
656
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
652
657
|
keyboardConfig: {
|
|
653
|
-
type:
|
|
658
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.KeyboardConfig>;
|
|
654
659
|
default: () => import("vxe-table").VxeTablePropTypes.KeyboardConfig<any> | undefined;
|
|
655
660
|
};
|
|
656
661
|
mouseConfig: {
|
|
657
|
-
type:
|
|
662
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.MouseConfig>;
|
|
658
663
|
default: () => import("vxe-table").VxeTablePropTypes.MouseConfig | undefined;
|
|
659
664
|
};
|
|
660
665
|
checkboxConfig: {
|
|
661
|
-
type:
|
|
666
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.CheckboxConfig>;
|
|
662
667
|
default: () => import("vxe-table").VxeTablePropTypes.CheckboxConfig<any> | undefined;
|
|
663
668
|
};
|
|
664
669
|
radioConfig: {
|
|
665
|
-
type:
|
|
670
|
+
type: PropType<import("vxe-table").VxeTablePropTypes.RadioConfig>;
|
|
666
671
|
default: () => import("vxe-table").VxeTablePropTypes.RadioConfig<any> | undefined;
|
|
667
672
|
};
|
|
668
673
|
columns: {
|
|
669
|
-
type:
|
|
674
|
+
type: PropType<TtTableProps["columns"]>;
|
|
670
675
|
default: () => TtTableProps["columns"];
|
|
671
676
|
};
|
|
672
677
|
height: {
|
|
@@ -674,26 +679,26 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
674
679
|
default: () => import("vxe-table").VxeTablePropTypes.Height | undefined;
|
|
675
680
|
};
|
|
676
681
|
showOverflow: {
|
|
677
|
-
type:
|
|
682
|
+
type: PropType<TtTableProps["showOverflow"]>;
|
|
678
683
|
default: () => import("vxe-table").VxeTablePropTypes.ShowOverflow | undefined;
|
|
679
684
|
};
|
|
680
685
|
showHeaderOverflow: {
|
|
681
|
-
type:
|
|
686
|
+
type: PropType<TtTableProps["showHeaderOverflow"]>;
|
|
682
687
|
default: () => import("vxe-table").VxeTablePropTypes.ShowOverflow | undefined;
|
|
683
688
|
};
|
|
684
689
|
pagerConfig: {
|
|
685
|
-
type:
|
|
690
|
+
type: PropType<TtTableProps["pagerConfig"]>;
|
|
686
691
|
default: () => import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
687
692
|
};
|
|
688
693
|
toolbarConfig: {
|
|
689
|
-
type:
|
|
694
|
+
type: PropType<TtTableProps["toolbarConfig"]>;
|
|
690
695
|
};
|
|
691
696
|
size: {
|
|
692
|
-
type:
|
|
693
|
-
default: () =>
|
|
697
|
+
type: PropType<TtTableProps["size"]>;
|
|
698
|
+
default: () => VxeComponentSizeType | undefined;
|
|
694
699
|
};
|
|
695
700
|
toolTipErrorPlacement: {
|
|
696
|
-
type:
|
|
701
|
+
type: PropType<"top" | "bottom" | "left" | "right">;
|
|
697
702
|
default: string;
|
|
698
703
|
};
|
|
699
704
|
showToolbar: {
|
|
@@ -701,11 +706,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
701
706
|
default: () => boolean | undefined;
|
|
702
707
|
};
|
|
703
708
|
columnsFieldSort: {
|
|
704
|
-
type:
|
|
709
|
+
type: PropType<string[]>;
|
|
705
710
|
default: () => string[] | undefined;
|
|
706
711
|
};
|
|
707
712
|
columnsFieldNoSort: {
|
|
708
|
-
type:
|
|
713
|
+
type: PropType<string[]>;
|
|
709
714
|
default: () => string[] | undefined;
|
|
710
715
|
};
|
|
711
716
|
showRefresh: {
|
|
@@ -721,7 +726,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
721
726
|
default: () => boolean | undefined;
|
|
722
727
|
};
|
|
723
728
|
notSetColumnField: {
|
|
724
|
-
type:
|
|
729
|
+
type: PropType<string[]>;
|
|
725
730
|
default: () => string[] | undefined;
|
|
726
731
|
};
|
|
727
732
|
showTableAlert: {
|
|
@@ -729,7 +734,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
729
734
|
default: () => boolean | undefined;
|
|
730
735
|
};
|
|
731
736
|
api: {
|
|
732
|
-
type:
|
|
737
|
+
type: PropType<(...arg: any[]) => Promise<any>>;
|
|
733
738
|
default: null;
|
|
734
739
|
};
|
|
735
740
|
searchInfo: {
|
|
@@ -741,19 +746,19 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
741
746
|
default: () => boolean | undefined;
|
|
742
747
|
};
|
|
743
748
|
afterFetch: {
|
|
744
|
-
type:
|
|
749
|
+
type: PropType<TtTableProps["afterFetch"]>;
|
|
745
750
|
default: null;
|
|
746
751
|
};
|
|
747
752
|
beforeFetch: {
|
|
748
|
-
type:
|
|
753
|
+
type: PropType<TtTableProps["beforeFetch"]>;
|
|
749
754
|
default: null;
|
|
750
755
|
};
|
|
751
756
|
beforePageChange: {
|
|
752
|
-
type:
|
|
757
|
+
type: PropType<TtTableProps["beforePageChange"]>;
|
|
753
758
|
default: null;
|
|
754
759
|
};
|
|
755
760
|
data: {
|
|
756
|
-
type:
|
|
761
|
+
type: PropType<TtTableProps["data"]>;
|
|
757
762
|
default: () => TtTableProps["data"];
|
|
758
763
|
};
|
|
759
764
|
isScrollFetch: {
|
|
@@ -801,31 +806,31 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
801
806
|
default: () => string | undefined;
|
|
802
807
|
};
|
|
803
808
|
actionProps: {
|
|
804
|
-
type:
|
|
805
|
-
default: () =>
|
|
809
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
810
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
806
811
|
};
|
|
807
812
|
indexColumnProps: {
|
|
808
|
-
type:
|
|
809
|
-
default: () =>
|
|
813
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
814
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
810
815
|
};
|
|
811
816
|
checkboxColumnProps: {
|
|
812
|
-
type:
|
|
813
|
-
default: () =>
|
|
817
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
818
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
814
819
|
};
|
|
815
820
|
expandColumnProps: {
|
|
816
|
-
type:
|
|
817
|
-
default: () =>
|
|
821
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
822
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
818
823
|
};
|
|
819
824
|
radioColumnProps: {
|
|
820
|
-
type:
|
|
821
|
-
default: () =>
|
|
825
|
+
type: PropType<import("vxe-table").VxeTableDefines.ColumnOptions>;
|
|
826
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
822
827
|
};
|
|
823
828
|
tableRowId: {
|
|
824
829
|
type: StringConstructor;
|
|
825
830
|
default: () => string | undefined;
|
|
826
831
|
};
|
|
827
832
|
customizeColumn: {
|
|
828
|
-
type:
|
|
833
|
+
type: PropType<TtTableProps["customizeColumn"]>;
|
|
829
834
|
};
|
|
830
835
|
showPager: {
|
|
831
836
|
type: BooleanConstructor;
|
|
@@ -858,14 +863,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
858
863
|
};
|
|
859
864
|
emptyImageStyle: {
|
|
860
865
|
type: ObjectConstructor;
|
|
861
|
-
default: () =>
|
|
866
|
+
default: () => CSSProperties | undefined;
|
|
862
867
|
};
|
|
863
868
|
emptyText: {
|
|
864
869
|
type: StringConstructor;
|
|
865
870
|
default: () => string | undefined;
|
|
866
871
|
};
|
|
867
872
|
emptyImageStatus: {
|
|
868
|
-
type:
|
|
873
|
+
type: PropType<"no-data" | "no-search">;
|
|
869
874
|
default: () => "no-data" | "no-search" | undefined;
|
|
870
875
|
};
|
|
871
876
|
noSearchText: {
|
|
@@ -873,7 +878,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
873
878
|
default: () => string | undefined;
|
|
874
879
|
};
|
|
875
880
|
columnsKey: {
|
|
876
|
-
type:
|
|
881
|
+
type: PropType<string | (() => string)>;
|
|
877
882
|
default: string;
|
|
878
883
|
};
|
|
879
884
|
useHttpCache: {
|
|
@@ -881,7 +886,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
881
886
|
default: () => boolean | undefined;
|
|
882
887
|
};
|
|
883
888
|
defaultDisplayFields: {
|
|
884
|
-
type:
|
|
889
|
+
type: PropType<string[]>;
|
|
885
890
|
default: () => string[] | undefined;
|
|
886
891
|
};
|
|
887
892
|
clearTreeExpand: {
|
|
@@ -897,10 +902,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
897
902
|
default: () => boolean | undefined;
|
|
898
903
|
};
|
|
899
904
|
tableApi: {
|
|
900
|
-
type:
|
|
905
|
+
type: PropType<TtTableExtendedTableApi>;
|
|
901
906
|
};
|
|
902
907
|
formApi: {
|
|
903
|
-
type:
|
|
908
|
+
type: PropType<TtExtendedFormApi>;
|
|
904
909
|
};
|
|
905
910
|
useSearchForm: any;
|
|
906
911
|
testId: {
|
|
@@ -908,13 +913,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
908
913
|
default: undefined;
|
|
909
914
|
};
|
|
910
915
|
modelValue: {
|
|
911
|
-
type:
|
|
916
|
+
type: PropType<Recordable[]>;
|
|
912
917
|
};
|
|
913
918
|
}>> & Readonly<{
|
|
914
919
|
"onUpdate:modelValue"?: ((value: Recordable[]) => any) | undefined;
|
|
915
920
|
}>, {
|
|
916
|
-
data:
|
|
917
|
-
size:
|
|
921
|
+
data: MaybeRef<any[]> | undefined;
|
|
922
|
+
size: VxeComponentSizeType | undefined;
|
|
918
923
|
immediate: boolean;
|
|
919
924
|
height: string | number;
|
|
920
925
|
pagerConfig: import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
@@ -923,7 +928,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
923
928
|
showRadio: boolean;
|
|
924
929
|
radioConfig: import("vxe-table").VxeTablePropTypes.RadioConfig<import("vxe-table").VxeTablePropTypes.Row>;
|
|
925
930
|
checkboxConfig: import("vxe-table").VxeTablePropTypes.CheckboxConfig<import("vxe-table").VxeTablePropTypes.Row>;
|
|
926
|
-
columns:
|
|
931
|
+
columns: MaybeRef< TtColumnOptions<any>[]> | undefined;
|
|
927
932
|
showOverflow: import("vxe-table").VxeTablePropTypes.ShowOverflow | undefined;
|
|
928
933
|
showHeaderOverflow: import("vxe-table").VxeTablePropTypes.ShowOverflow | undefined;
|
|
929
934
|
mouseConfig: import("vxe-table").VxeTablePropTypes.MouseConfig;
|
|
@@ -976,24 +981,24 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
976
981
|
afterFetch: ((data: any[], res: globalThis.Recordable | globalThis.Recordable[]) => Promise<any[]>) | undefined;
|
|
977
982
|
beforeFetch: ((params: globalThis.Recordable) => Promise<globalThis.Recordable>) | undefined;
|
|
978
983
|
beforePageChange: ((page: import("vxe-table").VxeGridPropTypes.PagerConfig) => boolean | Promise<boolean>) | undefined;
|
|
979
|
-
}, {}, {}, {}, string,
|
|
984
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
980
985
|
wrapRef: HTMLDivElement;
|
|
981
|
-
xGrid: (
|
|
982
|
-
$props:
|
|
983
|
-
$slots:
|
|
986
|
+
xGrid: ( VxeGridMethods<any> & {
|
|
987
|
+
$props: VxeGridProps<any> & VxeGridEventProps<any>;
|
|
988
|
+
$slots: VxeGridSlots<any>;
|
|
984
989
|
}) | null;
|
|
985
990
|
leftScrollbarRef: ({
|
|
986
|
-
$:
|
|
991
|
+
$: ComponentInternalInstance;
|
|
987
992
|
$data: {};
|
|
988
993
|
$props: {
|
|
989
994
|
readonly distance?: number | undefined;
|
|
990
995
|
readonly height?: number | string | undefined;
|
|
991
996
|
readonly maxHeight?: number | string | undefined;
|
|
992
997
|
readonly native?: boolean | undefined;
|
|
993
|
-
readonly wrapStyle?:
|
|
998
|
+
readonly wrapStyle?: StyleValue;
|
|
994
999
|
readonly wrapClass?: string | string[] | undefined;
|
|
995
1000
|
readonly viewClass?: string | string[] | undefined;
|
|
996
|
-
readonly viewStyle?:
|
|
1001
|
+
readonly viewStyle?: StyleValue;
|
|
997
1002
|
readonly noresize?: boolean | undefined;
|
|
998
1003
|
readonly tag?: (keyof HTMLElementTagNameMap | (string & {})) | undefined;
|
|
999
1004
|
readonly always?: boolean | undefined;
|
|
@@ -1007,8 +1012,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1007
1012
|
scrollTop: number;
|
|
1008
1013
|
scrollLeft: number;
|
|
1009
1014
|
}) => any) | undefined | undefined;
|
|
1010
|
-
readonly "onEnd-reached"?: ((direction:
|
|
1011
|
-
} &
|
|
1015
|
+
readonly "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined | undefined;
|
|
1016
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1012
1017
|
$attrs: {
|
|
1013
1018
|
[x: string]: unknown;
|
|
1014
1019
|
};
|
|
@@ -1016,22 +1021,22 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1016
1021
|
[x: string]: unknown;
|
|
1017
1022
|
};
|
|
1018
1023
|
$slots: Readonly<{
|
|
1019
|
-
[name: string]:
|
|
1024
|
+
[name: string]: Slot<any> | undefined;
|
|
1020
1025
|
}>;
|
|
1021
|
-
$root:
|
|
1022
|
-
$parent:
|
|
1026
|
+
$root: ComponentPublicInstance | null;
|
|
1027
|
+
$parent: ComponentPublicInstance | null;
|
|
1023
1028
|
$host: Element | null;
|
|
1024
1029
|
$emit: ((event: "scroll", args_0: {
|
|
1025
1030
|
scrollTop: number;
|
|
1026
1031
|
scrollLeft: number;
|
|
1027
|
-
}) => void) & ((event: "end-reached", direction:
|
|
1032
|
+
}) => void) & ((event: "end-reached", direction: ScrollbarDirection) => void);
|
|
1028
1033
|
$el: any;
|
|
1029
|
-
$options:
|
|
1034
|
+
$options: ComponentOptionsBase<Readonly< ScrollbarProps> & Readonly<{
|
|
1030
1035
|
onScroll?: ((args_0: {
|
|
1031
1036
|
scrollTop: number;
|
|
1032
1037
|
scrollLeft: number;
|
|
1033
1038
|
}) => any) | undefined;
|
|
1034
|
-
"onEnd-reached"?: ((direction:
|
|
1039
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
1035
1040
|
}>, {
|
|
1036
1041
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
1037
1042
|
update: () => void;
|
|
@@ -1042,24 +1047,24 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1042
1047
|
setScrollTop: (value: number) => void;
|
|
1043
1048
|
setScrollLeft: (value: number) => void;
|
|
1044
1049
|
handleScroll: () => void;
|
|
1045
|
-
}, {}, {}, {},
|
|
1050
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1046
1051
|
scroll: (args_0: {
|
|
1047
1052
|
scrollTop: number;
|
|
1048
1053
|
scrollLeft: number;
|
|
1049
1054
|
}) => void;
|
|
1050
|
-
"end-reached": (direction:
|
|
1055
|
+
"end-reached": (direction: ScrollbarDirection) => void;
|
|
1051
1056
|
}, string, {
|
|
1052
1057
|
tabindex: number | string;
|
|
1053
1058
|
height: number | string;
|
|
1054
1059
|
maxHeight: number | string;
|
|
1055
1060
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
1056
1061
|
distance: number;
|
|
1057
|
-
wrapStyle: string | false |
|
|
1062
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
1058
1063
|
wrapClass: string | string[];
|
|
1059
1064
|
viewClass: string | string[];
|
|
1060
|
-
viewStyle: string | false |
|
|
1065
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
1061
1066
|
minSize: number;
|
|
1062
|
-
}, {}, string, {},
|
|
1067
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1063
1068
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1064
1069
|
created?: (() => void) | (() => void)[];
|
|
1065
1070
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -1072,31 +1077,31 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1072
1077
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
1073
1078
|
destroyed?: (() => void) | (() => void)[];
|
|
1074
1079
|
unmounted?: (() => void) | (() => void)[];
|
|
1075
|
-
renderTracked?: ((e:
|
|
1076
|
-
renderTriggered?: ((e:
|
|
1077
|
-
errorCaptured?: ((err: unknown, instance:
|
|
1080
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1081
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1082
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1078
1083
|
};
|
|
1079
1084
|
$forceUpdate: () => void;
|
|
1080
1085
|
$nextTick: typeof nextTick;
|
|
1081
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
1086
|
+
$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;
|
|
1082
1087
|
} & Readonly<{
|
|
1083
1088
|
tabindex: number | string;
|
|
1084
1089
|
height: number | string;
|
|
1085
1090
|
maxHeight: number | string;
|
|
1086
1091
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
1087
1092
|
distance: number;
|
|
1088
|
-
wrapStyle: string | false |
|
|
1093
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
1089
1094
|
wrapClass: string | string[];
|
|
1090
1095
|
viewClass: string | string[];
|
|
1091
|
-
viewStyle: string | false |
|
|
1096
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
1092
1097
|
minSize: number;
|
|
1093
|
-
}> & Omit<Readonly<
|
|
1098
|
+
}> & Omit<Readonly< ScrollbarProps> & Readonly<{
|
|
1094
1099
|
onScroll?: ((args_0: {
|
|
1095
1100
|
scrollTop: number;
|
|
1096
1101
|
scrollLeft: number;
|
|
1097
1102
|
}) => any) | undefined;
|
|
1098
|
-
"onEnd-reached"?: ((direction:
|
|
1099
|
-
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> &
|
|
1103
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
1104
|
+
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & ShallowUnwrapRef<{
|
|
1100
1105
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
1101
1106
|
update: () => void;
|
|
1102
1107
|
scrollTo: {
|
|
@@ -1106,23 +1111,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1106
1111
|
setScrollTop: (value: number) => void;
|
|
1107
1112
|
setScrollLeft: (value: number) => void;
|
|
1108
1113
|
handleScroll: () => void;
|
|
1109
|
-
}> & {} &
|
|
1114
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1110
1115
|
$slots: {
|
|
1111
1116
|
default?: (props: {}) => any;
|
|
1112
1117
|
};
|
|
1113
1118
|
}) | null;
|
|
1114
1119
|
rightScrollbarRef: ({
|
|
1115
|
-
$:
|
|
1120
|
+
$: ComponentInternalInstance;
|
|
1116
1121
|
$data: {};
|
|
1117
1122
|
$props: {
|
|
1118
1123
|
readonly distance?: number | undefined;
|
|
1119
1124
|
readonly height?: number | string | undefined;
|
|
1120
1125
|
readonly maxHeight?: number | string | undefined;
|
|
1121
1126
|
readonly native?: boolean | undefined;
|
|
1122
|
-
readonly wrapStyle?:
|
|
1127
|
+
readonly wrapStyle?: StyleValue;
|
|
1123
1128
|
readonly wrapClass?: string | string[] | undefined;
|
|
1124
1129
|
readonly viewClass?: string | string[] | undefined;
|
|
1125
|
-
readonly viewStyle?:
|
|
1130
|
+
readonly viewStyle?: StyleValue;
|
|
1126
1131
|
readonly noresize?: boolean | undefined;
|
|
1127
1132
|
readonly tag?: (keyof HTMLElementTagNameMap | (string & {})) | undefined;
|
|
1128
1133
|
readonly always?: boolean | undefined;
|
|
@@ -1136,8 +1141,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1136
1141
|
scrollTop: number;
|
|
1137
1142
|
scrollLeft: number;
|
|
1138
1143
|
}) => any) | undefined | undefined;
|
|
1139
|
-
readonly "onEnd-reached"?: ((direction:
|
|
1140
|
-
} &
|
|
1144
|
+
readonly "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined | undefined;
|
|
1145
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1141
1146
|
$attrs: {
|
|
1142
1147
|
[x: string]: unknown;
|
|
1143
1148
|
};
|
|
@@ -1145,22 +1150,22 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1145
1150
|
[x: string]: unknown;
|
|
1146
1151
|
};
|
|
1147
1152
|
$slots: Readonly<{
|
|
1148
|
-
[name: string]:
|
|
1153
|
+
[name: string]: Slot<any> | undefined;
|
|
1149
1154
|
}>;
|
|
1150
|
-
$root:
|
|
1151
|
-
$parent:
|
|
1155
|
+
$root: ComponentPublicInstance | null;
|
|
1156
|
+
$parent: ComponentPublicInstance | null;
|
|
1152
1157
|
$host: Element | null;
|
|
1153
1158
|
$emit: ((event: "scroll", args_0: {
|
|
1154
1159
|
scrollTop: number;
|
|
1155
1160
|
scrollLeft: number;
|
|
1156
|
-
}) => void) & ((event: "end-reached", direction:
|
|
1161
|
+
}) => void) & ((event: "end-reached", direction: ScrollbarDirection) => void);
|
|
1157
1162
|
$el: any;
|
|
1158
|
-
$options:
|
|
1163
|
+
$options: ComponentOptionsBase<Readonly< ScrollbarProps> & Readonly<{
|
|
1159
1164
|
onScroll?: ((args_0: {
|
|
1160
1165
|
scrollTop: number;
|
|
1161
1166
|
scrollLeft: number;
|
|
1162
1167
|
}) => any) | undefined;
|
|
1163
|
-
"onEnd-reached"?: ((direction:
|
|
1168
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
1164
1169
|
}>, {
|
|
1165
1170
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
1166
1171
|
update: () => void;
|
|
@@ -1171,24 +1176,24 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1171
1176
|
setScrollTop: (value: number) => void;
|
|
1172
1177
|
setScrollLeft: (value: number) => void;
|
|
1173
1178
|
handleScroll: () => void;
|
|
1174
|
-
}, {}, {}, {},
|
|
1179
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1175
1180
|
scroll: (args_0: {
|
|
1176
1181
|
scrollTop: number;
|
|
1177
1182
|
scrollLeft: number;
|
|
1178
1183
|
}) => void;
|
|
1179
|
-
"end-reached": (direction:
|
|
1184
|
+
"end-reached": (direction: ScrollbarDirection) => void;
|
|
1180
1185
|
}, string, {
|
|
1181
1186
|
tabindex: number | string;
|
|
1182
1187
|
height: number | string;
|
|
1183
1188
|
maxHeight: number | string;
|
|
1184
1189
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
1185
1190
|
distance: number;
|
|
1186
|
-
wrapStyle: string | false |
|
|
1191
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
1187
1192
|
wrapClass: string | string[];
|
|
1188
1193
|
viewClass: string | string[];
|
|
1189
|
-
viewStyle: string | false |
|
|
1194
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
1190
1195
|
minSize: number;
|
|
1191
|
-
}, {}, string, {},
|
|
1196
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1192
1197
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1193
1198
|
created?: (() => void) | (() => void)[];
|
|
1194
1199
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -1201,31 +1206,31 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1201
1206
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
1202
1207
|
destroyed?: (() => void) | (() => void)[];
|
|
1203
1208
|
unmounted?: (() => void) | (() => void)[];
|
|
1204
|
-
renderTracked?: ((e:
|
|
1205
|
-
renderTriggered?: ((e:
|
|
1206
|
-
errorCaptured?: ((err: unknown, instance:
|
|
1209
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1210
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1211
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1207
1212
|
};
|
|
1208
1213
|
$forceUpdate: () => void;
|
|
1209
1214
|
$nextTick: typeof nextTick;
|
|
1210
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
1215
|
+
$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;
|
|
1211
1216
|
} & Readonly<{
|
|
1212
1217
|
tabindex: number | string;
|
|
1213
1218
|
height: number | string;
|
|
1214
1219
|
maxHeight: number | string;
|
|
1215
1220
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
1216
1221
|
distance: number;
|
|
1217
|
-
wrapStyle: string | false |
|
|
1222
|
+
wrapStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
1218
1223
|
wrapClass: string | string[];
|
|
1219
1224
|
viewClass: string | string[];
|
|
1220
|
-
viewStyle: string | false |
|
|
1225
|
+
viewStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
1221
1226
|
minSize: number;
|
|
1222
|
-
}> & Omit<Readonly<
|
|
1227
|
+
}> & Omit<Readonly< ScrollbarProps> & Readonly<{
|
|
1223
1228
|
onScroll?: ((args_0: {
|
|
1224
1229
|
scrollTop: number;
|
|
1225
1230
|
scrollLeft: number;
|
|
1226
1231
|
}) => any) | undefined;
|
|
1227
|
-
"onEnd-reached"?: ((direction:
|
|
1228
|
-
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> &
|
|
1232
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
1233
|
+
}>, "height" | "tabindex" | "tag" | "handleScroll" | "maxHeight" | "scrollTo" | "update" | "distance" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "minSize" | "wrapRef" | "setScrollTop" | "setScrollLeft"> & ShallowUnwrapRef<{
|
|
1229
1234
|
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
1230
1235
|
update: () => void;
|
|
1231
1236
|
scrollTo: {
|
|
@@ -1235,7 +1240,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1235
1240
|
setScrollTop: (value: number) => void;
|
|
1236
1241
|
setScrollLeft: (value: number) => void;
|
|
1237
1242
|
handleScroll: () => void;
|
|
1238
|
-
}> & {} &
|
|
1243
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1239
1244
|
$slots: {
|
|
1240
1245
|
default?: (props: {}) => any;
|
|
1241
1246
|
};
|