g-ui-web 1.3.0 → 1.3.2
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/lib/calendar/src/index.vue.d.ts +449 -334
- package/lib/ele/table/src/index.vue.d.ts +474 -0
- package/lib/ele/tree/index.d.ts +4576 -0
- package/lib/ele/tree/src/index.vue.d.ts +2295 -0
- package/lib/g-ui-web.js +35769 -36621
- package/lib/g-ui-web.js.gz +0 -0
- package/lib/g-ui-web.umd.cjs +77 -69
- package/lib/style.css +1 -1
- package/lib/style.css.gz +0 -0
- package/lib/text-select/src/index.vue.d.ts +2723 -12118
- package/package.json +1 -1
|
@@ -0,0 +1,474 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
slots: Partial<Record<NonNullable<string | number>, (_: any) => any>> & {
|
|
3
|
+
empty?(_: {
|
|
4
|
+
class: string;
|
|
5
|
+
}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {
|
|
8
|
+
elTableRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
9
|
+
data: {
|
|
10
|
+
type: import('vue').PropType<import('element-plus/es/components/table/src/table/defaults').DefaultRow[]>;
|
|
11
|
+
default: () => never[];
|
|
12
|
+
};
|
|
13
|
+
size: {
|
|
14
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
15
|
+
readonly required: false;
|
|
16
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
17
|
+
__epPropKey: true;
|
|
18
|
+
};
|
|
19
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
20
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
21
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
22
|
+
fit: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
stripe: BooleanConstructor;
|
|
27
|
+
border: BooleanConstructor;
|
|
28
|
+
rowKey: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["rowKey"]>;
|
|
29
|
+
showHeader: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
showSummary: BooleanConstructor;
|
|
34
|
+
sumText: StringConstructor;
|
|
35
|
+
summaryMethod: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["summaryMethod"]>;
|
|
36
|
+
rowClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["rowClassName"]>;
|
|
37
|
+
rowStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["rowStyle"]>;
|
|
38
|
+
cellClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["cellClassName"]>;
|
|
39
|
+
cellStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["cellStyle"]>;
|
|
40
|
+
headerRowClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerRowClassName"]>;
|
|
41
|
+
headerRowStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerRowStyle"]>;
|
|
42
|
+
headerCellClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerCellClassName"]>;
|
|
43
|
+
headerCellStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerCellStyle"]>;
|
|
44
|
+
highlightCurrentRow: BooleanConstructor;
|
|
45
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
46
|
+
emptyText: StringConstructor;
|
|
47
|
+
expandRowKeys: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["expandRowKeys"]>;
|
|
48
|
+
defaultExpandAll: BooleanConstructor;
|
|
49
|
+
defaultSort: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["defaultSort"]>;
|
|
50
|
+
tooltipEffect: StringConstructor;
|
|
51
|
+
tooltipOptions: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["tooltipOptions"]>;
|
|
52
|
+
spanMethod: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["spanMethod"]>;
|
|
53
|
+
selectOnIndeterminate: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
indent: {
|
|
58
|
+
type: NumberConstructor;
|
|
59
|
+
default: number;
|
|
60
|
+
};
|
|
61
|
+
treeProps: {
|
|
62
|
+
type: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["treeProps"]>;
|
|
63
|
+
default: () => {
|
|
64
|
+
hasChildren: string;
|
|
65
|
+
children: string;
|
|
66
|
+
checkStrictly: boolean;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
lazy: BooleanConstructor;
|
|
70
|
+
load: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["load"]>;
|
|
71
|
+
style: {
|
|
72
|
+
type: import('vue').PropType<import('vue').CSSProperties>;
|
|
73
|
+
default: () => {};
|
|
74
|
+
};
|
|
75
|
+
className: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
tableLayout: {
|
|
80
|
+
type: import('vue').PropType<"fixed" | "auto">;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
scrollbarAlwaysOn: BooleanConstructor;
|
|
84
|
+
flexible: BooleanConstructor;
|
|
85
|
+
showOverflowTooltip: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["showOverflowTooltip"]>;
|
|
86
|
+
appendFilterPanelTo: StringConstructor;
|
|
87
|
+
scrollbarTabindex: {
|
|
88
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
89
|
+
default: undefined;
|
|
90
|
+
};
|
|
91
|
+
allowDragLastColumn: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
}>> & {
|
|
96
|
+
onScroll?: ((...args: any[]) => any) | undefined;
|
|
97
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
98
|
+
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
99
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
100
|
+
"onSelect-all"?: ((...args: any[]) => any) | undefined;
|
|
101
|
+
"onSelection-change"?: ((...args: any[]) => any) | undefined;
|
|
102
|
+
"onCell-mouse-enter"?: ((...args: any[]) => any) | undefined;
|
|
103
|
+
"onCell-mouse-leave"?: ((...args: any[]) => any) | undefined;
|
|
104
|
+
"onCell-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
105
|
+
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
106
|
+
"onCell-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
107
|
+
"onRow-click"?: ((...args: any[]) => any) | undefined;
|
|
108
|
+
"onRow-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
109
|
+
"onRow-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
110
|
+
"onHeader-click"?: ((...args: any[]) => any) | undefined;
|
|
111
|
+
"onHeader-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
112
|
+
"onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
113
|
+
"onFilter-change"?: ((...args: any[]) => any) | undefined;
|
|
114
|
+
"onHeader-dragend"?: ((...args: any[]) => any) | undefined;
|
|
115
|
+
}, {
|
|
116
|
+
ns: {
|
|
117
|
+
namespace: import('vue').ComputedRef<string>;
|
|
118
|
+
b: (blockSuffix?: string) => string;
|
|
119
|
+
e: (element?: string) => string;
|
|
120
|
+
m: (modifier?: string) => string;
|
|
121
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
122
|
+
em: (element?: string, modifier?: string) => string;
|
|
123
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
124
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
125
|
+
is: {
|
|
126
|
+
(name: string, state: boolean | undefined): string;
|
|
127
|
+
(name: string): string;
|
|
128
|
+
};
|
|
129
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
130
|
+
cssVarName: (name: string) => string;
|
|
131
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
132
|
+
cssVarBlockName: (name: string) => string;
|
|
133
|
+
};
|
|
134
|
+
layout: import('element-plus/es/components/table/src/table-layout').default<any>;
|
|
135
|
+
store: any;
|
|
136
|
+
columns: import('vue').ComputedRef<import('element-plus').TableColumnCtx<unknown>>;
|
|
137
|
+
handleHeaderFooterMousewheel: (event: any, data: any) => void;
|
|
138
|
+
handleMouseLeave: () => void;
|
|
139
|
+
tableId: string;
|
|
140
|
+
tableSize: import('vue').ComputedRef<"" | "small" | "default" | "large">;
|
|
141
|
+
isHidden: import('vue').Ref<boolean>;
|
|
142
|
+
isEmpty: import('vue').ComputedRef<boolean>;
|
|
143
|
+
renderExpanded: import('vue').Ref<null>;
|
|
144
|
+
resizeProxyVisible: import('vue').Ref<boolean>;
|
|
145
|
+
resizeState: import('vue').Ref<{
|
|
146
|
+
width: null | number;
|
|
147
|
+
height: null | number;
|
|
148
|
+
headerHeight: null | number;
|
|
149
|
+
}>;
|
|
150
|
+
isGroup: import('vue').Ref<boolean>;
|
|
151
|
+
bodyWidth: import('vue').ComputedRef<string>;
|
|
152
|
+
tableBodyStyles: import('vue').ComputedRef<{
|
|
153
|
+
width: string;
|
|
154
|
+
}>;
|
|
155
|
+
emptyBlockStyle: import('vue').ComputedRef<{
|
|
156
|
+
width: string;
|
|
157
|
+
height: string;
|
|
158
|
+
} | null>;
|
|
159
|
+
debouncedUpdateLayout: import('lodash').DebouncedFunc<() => void>;
|
|
160
|
+
handleFixedMousewheel: (event: any, data: any) => void;
|
|
161
|
+
setCurrentRow: (row: any) => void;
|
|
162
|
+
getSelectionRows: () => any;
|
|
163
|
+
toggleRowSelection: (row: any, selected?: boolean, ignoreSelectable?: boolean) => void;
|
|
164
|
+
clearSelection: () => void;
|
|
165
|
+
clearFilter: (columnKeys?: string[]) => void;
|
|
166
|
+
toggleAllSelection: () => void;
|
|
167
|
+
toggleRowExpansion: (row: any, expanded?: boolean) => void;
|
|
168
|
+
clearSort: () => void;
|
|
169
|
+
doLayout: () => void;
|
|
170
|
+
sort: (prop: string, order: string) => void;
|
|
171
|
+
updateKeyChildren: (key: string, data: any[]) => void;
|
|
172
|
+
t: import('element-plus').Translator;
|
|
173
|
+
setDragVisible: (visible: boolean) => void;
|
|
174
|
+
context: import('element-plus').Table<any>;
|
|
175
|
+
computedSumText: import('vue').ComputedRef<string>;
|
|
176
|
+
computedEmptyText: import('vue').ComputedRef<string>;
|
|
177
|
+
tableLayout: import('vue').ComputedRef<("fixed" | "auto") | undefined>;
|
|
178
|
+
scrollbarViewStyle: {
|
|
179
|
+
display: string;
|
|
180
|
+
verticalAlign: string;
|
|
181
|
+
};
|
|
182
|
+
scrollbarStyle: import('vue').ComputedRef<{
|
|
183
|
+
height: string;
|
|
184
|
+
maxHeight?: undefined;
|
|
185
|
+
} | {
|
|
186
|
+
maxHeight: string;
|
|
187
|
+
height?: undefined;
|
|
188
|
+
} | {
|
|
189
|
+
height?: undefined;
|
|
190
|
+
maxHeight?: undefined;
|
|
191
|
+
}>;
|
|
192
|
+
scrollBarRef: import('vue').Ref<any>;
|
|
193
|
+
scrollTo: (options: ScrollToOptions | number, yCoord?: number) => void;
|
|
194
|
+
setScrollLeft: (left?: number) => void;
|
|
195
|
+
setScrollTop: (top?: number) => void;
|
|
196
|
+
allowDragLastColumn: boolean;
|
|
197
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("select" | "scroll" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {
|
|
198
|
+
data: any[];
|
|
199
|
+
style: import('vue').CSSProperties;
|
|
200
|
+
tableLayout: "fixed" | "auto";
|
|
201
|
+
border: boolean;
|
|
202
|
+
className: string;
|
|
203
|
+
fit: boolean;
|
|
204
|
+
lazy: boolean;
|
|
205
|
+
scrollbarAlwaysOn: boolean;
|
|
206
|
+
allowDragLastColumn: boolean;
|
|
207
|
+
stripe: boolean;
|
|
208
|
+
treeProps: import('element-plus/es/components/table/src/table/defaults').TreeProps | undefined;
|
|
209
|
+
showHeader: boolean;
|
|
210
|
+
showSummary: boolean;
|
|
211
|
+
highlightCurrentRow: boolean;
|
|
212
|
+
defaultExpandAll: boolean;
|
|
213
|
+
selectOnIndeterminate: boolean;
|
|
214
|
+
indent: number;
|
|
215
|
+
flexible: boolean;
|
|
216
|
+
scrollbarTabindex: string | number;
|
|
217
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
218
|
+
P: {};
|
|
219
|
+
B: {};
|
|
220
|
+
D: {};
|
|
221
|
+
C: {};
|
|
222
|
+
M: {};
|
|
223
|
+
Defaults: {};
|
|
224
|
+
}, Readonly<globalThis.ExtractPropTypes<{
|
|
225
|
+
data: {
|
|
226
|
+
type: import('vue').PropType<import('element-plus/es/components/table/src/table/defaults').DefaultRow[]>;
|
|
227
|
+
default: () => never[];
|
|
228
|
+
};
|
|
229
|
+
size: {
|
|
230
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
231
|
+
readonly required: false;
|
|
232
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
233
|
+
__epPropKey: true;
|
|
234
|
+
};
|
|
235
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
236
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
237
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
238
|
+
fit: {
|
|
239
|
+
type: BooleanConstructor;
|
|
240
|
+
default: boolean;
|
|
241
|
+
};
|
|
242
|
+
stripe: BooleanConstructor;
|
|
243
|
+
border: BooleanConstructor;
|
|
244
|
+
rowKey: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["rowKey"]>;
|
|
245
|
+
showHeader: {
|
|
246
|
+
type: BooleanConstructor;
|
|
247
|
+
default: boolean;
|
|
248
|
+
};
|
|
249
|
+
showSummary: BooleanConstructor;
|
|
250
|
+
sumText: StringConstructor;
|
|
251
|
+
summaryMethod: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["summaryMethod"]>;
|
|
252
|
+
rowClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["rowClassName"]>;
|
|
253
|
+
rowStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["rowStyle"]>;
|
|
254
|
+
cellClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["cellClassName"]>;
|
|
255
|
+
cellStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["cellStyle"]>;
|
|
256
|
+
headerRowClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerRowClassName"]>;
|
|
257
|
+
headerRowStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerRowStyle"]>;
|
|
258
|
+
headerCellClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerCellClassName"]>;
|
|
259
|
+
headerCellStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerCellStyle"]>;
|
|
260
|
+
highlightCurrentRow: BooleanConstructor;
|
|
261
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
262
|
+
emptyText: StringConstructor;
|
|
263
|
+
expandRowKeys: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["expandRowKeys"]>;
|
|
264
|
+
defaultExpandAll: BooleanConstructor;
|
|
265
|
+
defaultSort: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["defaultSort"]>;
|
|
266
|
+
tooltipEffect: StringConstructor;
|
|
267
|
+
tooltipOptions: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["tooltipOptions"]>;
|
|
268
|
+
spanMethod: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["spanMethod"]>;
|
|
269
|
+
selectOnIndeterminate: {
|
|
270
|
+
type: BooleanConstructor;
|
|
271
|
+
default: boolean;
|
|
272
|
+
};
|
|
273
|
+
indent: {
|
|
274
|
+
type: NumberConstructor;
|
|
275
|
+
default: number;
|
|
276
|
+
};
|
|
277
|
+
treeProps: {
|
|
278
|
+
type: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["treeProps"]>;
|
|
279
|
+
default: () => {
|
|
280
|
+
hasChildren: string;
|
|
281
|
+
children: string;
|
|
282
|
+
checkStrictly: boolean;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
lazy: BooleanConstructor;
|
|
286
|
+
load: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["load"]>;
|
|
287
|
+
style: {
|
|
288
|
+
type: import('vue').PropType<import('vue').CSSProperties>;
|
|
289
|
+
default: () => {};
|
|
290
|
+
};
|
|
291
|
+
className: {
|
|
292
|
+
type: StringConstructor;
|
|
293
|
+
default: string;
|
|
294
|
+
};
|
|
295
|
+
tableLayout: {
|
|
296
|
+
type: import('vue').PropType<"fixed" | "auto">;
|
|
297
|
+
default: string;
|
|
298
|
+
};
|
|
299
|
+
scrollbarAlwaysOn: BooleanConstructor;
|
|
300
|
+
flexible: BooleanConstructor;
|
|
301
|
+
showOverflowTooltip: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["showOverflowTooltip"]>;
|
|
302
|
+
appendFilterPanelTo: StringConstructor;
|
|
303
|
+
scrollbarTabindex: {
|
|
304
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
305
|
+
default: undefined;
|
|
306
|
+
};
|
|
307
|
+
allowDragLastColumn: {
|
|
308
|
+
type: BooleanConstructor;
|
|
309
|
+
default: boolean;
|
|
310
|
+
};
|
|
311
|
+
}>> & {
|
|
312
|
+
onScroll?: ((...args: any[]) => any) | undefined;
|
|
313
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
314
|
+
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
315
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
316
|
+
"onSelect-all"?: ((...args: any[]) => any) | undefined;
|
|
317
|
+
"onSelection-change"?: ((...args: any[]) => any) | undefined;
|
|
318
|
+
"onCell-mouse-enter"?: ((...args: any[]) => any) | undefined;
|
|
319
|
+
"onCell-mouse-leave"?: ((...args: any[]) => any) | undefined;
|
|
320
|
+
"onCell-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
321
|
+
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
322
|
+
"onCell-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
323
|
+
"onRow-click"?: ((...args: any[]) => any) | undefined;
|
|
324
|
+
"onRow-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
325
|
+
"onRow-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
326
|
+
"onHeader-click"?: ((...args: any[]) => any) | undefined;
|
|
327
|
+
"onHeader-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
328
|
+
"onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
329
|
+
"onFilter-change"?: ((...args: any[]) => any) | undefined;
|
|
330
|
+
"onHeader-dragend"?: ((...args: any[]) => any) | undefined;
|
|
331
|
+
}, {
|
|
332
|
+
ns: {
|
|
333
|
+
namespace: import('vue').ComputedRef<string>;
|
|
334
|
+
b: (blockSuffix?: string) => string;
|
|
335
|
+
e: (element?: string) => string;
|
|
336
|
+
m: (modifier?: string) => string;
|
|
337
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
338
|
+
em: (element?: string, modifier?: string) => string;
|
|
339
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
340
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
341
|
+
is: {
|
|
342
|
+
(name: string, state: boolean | undefined): string;
|
|
343
|
+
(name: string): string;
|
|
344
|
+
};
|
|
345
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
346
|
+
cssVarName: (name: string) => string;
|
|
347
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
348
|
+
cssVarBlockName: (name: string) => string;
|
|
349
|
+
};
|
|
350
|
+
layout: import('element-plus/es/components/table/src/table-layout').default<any>;
|
|
351
|
+
store: any;
|
|
352
|
+
columns: import('vue').ComputedRef<import('element-plus').TableColumnCtx<unknown>>;
|
|
353
|
+
handleHeaderFooterMousewheel: (event: any, data: any) => void;
|
|
354
|
+
handleMouseLeave: () => void;
|
|
355
|
+
tableId: string;
|
|
356
|
+
tableSize: import('vue').ComputedRef<"" | "small" | "default" | "large">;
|
|
357
|
+
isHidden: import('vue').Ref<boolean>;
|
|
358
|
+
isEmpty: import('vue').ComputedRef<boolean>;
|
|
359
|
+
renderExpanded: import('vue').Ref<null>;
|
|
360
|
+
resizeProxyVisible: import('vue').Ref<boolean>;
|
|
361
|
+
resizeState: import('vue').Ref<{
|
|
362
|
+
width: null | number;
|
|
363
|
+
height: null | number;
|
|
364
|
+
headerHeight: null | number;
|
|
365
|
+
}>;
|
|
366
|
+
isGroup: import('vue').Ref<boolean>;
|
|
367
|
+
bodyWidth: import('vue').ComputedRef<string>;
|
|
368
|
+
tableBodyStyles: import('vue').ComputedRef<{
|
|
369
|
+
width: string;
|
|
370
|
+
}>;
|
|
371
|
+
emptyBlockStyle: import('vue').ComputedRef<{
|
|
372
|
+
width: string;
|
|
373
|
+
height: string;
|
|
374
|
+
} | null>;
|
|
375
|
+
debouncedUpdateLayout: import('lodash').DebouncedFunc<() => void>;
|
|
376
|
+
handleFixedMousewheel: (event: any, data: any) => void;
|
|
377
|
+
setCurrentRow: (row: any) => void;
|
|
378
|
+
getSelectionRows: () => any;
|
|
379
|
+
toggleRowSelection: (row: any, selected?: boolean, ignoreSelectable?: boolean) => void;
|
|
380
|
+
clearSelection: () => void;
|
|
381
|
+
clearFilter: (columnKeys?: string[]) => void;
|
|
382
|
+
toggleAllSelection: () => void;
|
|
383
|
+
toggleRowExpansion: (row: any, expanded?: boolean) => void;
|
|
384
|
+
clearSort: () => void;
|
|
385
|
+
doLayout: () => void;
|
|
386
|
+
sort: (prop: string, order: string) => void;
|
|
387
|
+
updateKeyChildren: (key: string, data: any[]) => void;
|
|
388
|
+
t: import('element-plus').Translator;
|
|
389
|
+
setDragVisible: (visible: boolean) => void;
|
|
390
|
+
context: import('element-plus').Table<any>;
|
|
391
|
+
computedSumText: import('vue').ComputedRef<string>;
|
|
392
|
+
computedEmptyText: import('vue').ComputedRef<string>;
|
|
393
|
+
tableLayout: import('vue').ComputedRef<("fixed" | "auto") | undefined>;
|
|
394
|
+
scrollbarViewStyle: {
|
|
395
|
+
display: string;
|
|
396
|
+
verticalAlign: string;
|
|
397
|
+
};
|
|
398
|
+
scrollbarStyle: import('vue').ComputedRef<{
|
|
399
|
+
height: string;
|
|
400
|
+
maxHeight?: undefined;
|
|
401
|
+
} | {
|
|
402
|
+
maxHeight: string;
|
|
403
|
+
height?: undefined;
|
|
404
|
+
} | {
|
|
405
|
+
height?: undefined;
|
|
406
|
+
maxHeight?: undefined;
|
|
407
|
+
}>;
|
|
408
|
+
scrollBarRef: import('vue').Ref<any>;
|
|
409
|
+
scrollTo: (options: ScrollToOptions | number, yCoord?: number) => void;
|
|
410
|
+
setScrollLeft: (left?: number) => void;
|
|
411
|
+
setScrollTop: (top?: number) => void;
|
|
412
|
+
allowDragLastColumn: boolean;
|
|
413
|
+
}, {}, {}, {}, {
|
|
414
|
+
data: any[];
|
|
415
|
+
style: import('vue').CSSProperties;
|
|
416
|
+
tableLayout: "fixed" | "auto";
|
|
417
|
+
border: boolean;
|
|
418
|
+
className: string;
|
|
419
|
+
fit: boolean;
|
|
420
|
+
lazy: boolean;
|
|
421
|
+
scrollbarAlwaysOn: boolean;
|
|
422
|
+
allowDragLastColumn: boolean;
|
|
423
|
+
stripe: boolean;
|
|
424
|
+
treeProps: import('element-plus/es/components/table/src/table/defaults').TreeProps | undefined;
|
|
425
|
+
showHeader: boolean;
|
|
426
|
+
showSummary: boolean;
|
|
427
|
+
highlightCurrentRow: boolean;
|
|
428
|
+
defaultExpandAll: boolean;
|
|
429
|
+
selectOnIndeterminate: boolean;
|
|
430
|
+
indent: number;
|
|
431
|
+
flexible: boolean;
|
|
432
|
+
scrollbarTabindex: string | number;
|
|
433
|
+
}> | null;
|
|
434
|
+
};
|
|
435
|
+
attrs: Partial<{}>;
|
|
436
|
+
};
|
|
437
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
438
|
+
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
439
|
+
data: {
|
|
440
|
+
type: ArrayConstructor;
|
|
441
|
+
};
|
|
442
|
+
emptyText: {
|
|
443
|
+
type: StringConstructor;
|
|
444
|
+
default: string;
|
|
445
|
+
};
|
|
446
|
+
textSize: {
|
|
447
|
+
type: StringConstructor;
|
|
448
|
+
default: string;
|
|
449
|
+
};
|
|
450
|
+
}>, {
|
|
451
|
+
elTableRef: globalThis.Ref<any, any>;
|
|
452
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
453
|
+
data: {
|
|
454
|
+
type: ArrayConstructor;
|
|
455
|
+
};
|
|
456
|
+
emptyText: {
|
|
457
|
+
type: StringConstructor;
|
|
458
|
+
default: string;
|
|
459
|
+
};
|
|
460
|
+
textSize: {
|
|
461
|
+
type: StringConstructor;
|
|
462
|
+
default: string;
|
|
463
|
+
};
|
|
464
|
+
}>> & Readonly<{}>, {
|
|
465
|
+
emptyText: string;
|
|
466
|
+
textSize: string;
|
|
467
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
468
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
469
|
+
export default _default;
|
|
470
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
471
|
+
new (): {
|
|
472
|
+
$slots: S;
|
|
473
|
+
};
|
|
474
|
+
};
|