bilitoolkit-ui 0.0.1 → 0.0.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.
Files changed (47) hide show
  1. package/LICENSE +21 -201
  2. package/README.md +1 -1
  3. package/dist/bilitoolkit-ui.css +1 -6
  4. package/dist/common.d.ts +26 -0
  5. package/dist/common.js +22 -0
  6. package/dist/favicon.ico +0 -0
  7. package/dist/index.d.ts +3213 -28
  8. package/dist/index.js +1526 -0
  9. package/dist/styles/animations.scss +9 -0
  10. package/dist/styles/mixins.scss +36 -13
  11. package/package.json +40 -40
  12. package/dist/api/toolkit-api.d.ts +0 -2
  13. package/dist/bilitoolkit-ui.js +0 -117707
  14. package/dist/bilitoolkit-ui.umd.cjs +0 -85
  15. package/dist/common/ui-constants.d.ts +0 -9
  16. package/dist/components/bili/BiliAccountCard.vue.d.ts +0 -18
  17. package/dist/components/bili/types.d.ts +0 -7
  18. package/dist/components/common/AppIcon.vue.d.ts +0 -9
  19. package/dist/components/common/AppTooltip.vue.d.ts +0 -25
  20. package/dist/components/common/ExternalLink.vue.d.ts +0 -20
  21. package/dist/components/common/IconButton.vue.d.ts +0 -27
  22. package/dist/components/common/IconLabel.vue.d.ts +0 -20
  23. package/dist/components/common/LogPrint.vue.d.ts +0 -5
  24. package/dist/components/dialog/countdown/CountdownDialog.vue.d.ts +0 -22
  25. package/dist/components/dialog/countdown/types.d.ts +0 -11
  26. package/dist/components/dialog/countdown/useCountdown.d.ts +0 -9
  27. package/dist/components/dialog/loading/LoadingDialog.vue.d.ts +0 -16
  28. package/dist/components/dialog/loading/loadingService.d.ts +0 -12
  29. package/dist/components/dialog/loading/types.d.ts +0 -21
  30. package/dist/components/plugin/PluginMenuItem.vue.d.ts +0 -3
  31. package/dist/components/plugin/PluginMenus.vue.d.ts +0 -25
  32. package/dist/components/plugin/PluginPageContent.vue.d.ts +0 -17
  33. package/dist/components/plugin/PluginPageHeader.vue.d.ts +0 -7
  34. package/dist/components/plugin/types.d.ts +0 -12
  35. package/dist/components/settings/SettingGroup.vue.d.ts +0 -20
  36. package/dist/components/settings/SettingItem.vue.d.ts +0 -22
  37. package/dist/composables/useLoadingData.d.ts +0 -4
  38. package/dist/main.d.ts +0 -0
  39. package/dist/stores/app-theme.d.ts +0 -31
  40. package/dist/stores/selected-account.d.ts +0 -26
  41. package/dist/stores/test-data.d.ts +0 -70
  42. package/dist/test/menus.d.ts +0 -2
  43. package/dist/test/user.d.ts +0 -12
  44. package/dist/ui.d.ts +0 -10
  45. package/dist/utils/app-utils.d.ts +0 -20
  46. package/dist/utils/theme-utils.d.ts +0 -10
  47. package/dist/views/HomeView.vue.d.ts +0 -2
package/dist/index.d.ts CHANGED
@@ -1,28 +1,3213 @@
1
- export * from './ui';
2
- export * from './utils/app-utils';
3
- export * from './utils/theme-utils';
4
- export * from './stores/test-data.ts';
5
- export * from './stores/app-theme.ts';
6
- export * from './stores/selected-account.ts';
7
- export { useLoadingData } from './composables/useLoadingData';
8
- export { default as SettingGroup } from './components/settings/SettingGroup.vue';
9
- export { default as SettingItem } from './components/settings/SettingItem.vue';
10
- export * from './components/dialog/countdown/types';
11
- export * from './components/dialog/countdown/useCountdown';
12
- export { default as CountdownDialog } from './components/dialog/countdown/CountdownDialog.vue';
13
- export * from './components/dialog/loading/types';
14
- export * from './components/dialog/loading/loadingService';
15
- export { default as LoadingDialog } from './components/dialog/loading/LoadingDialog.vue';
16
- export { default as AppIcon } from './components/common/AppIcon.vue';
17
- export { default as AppTooltip } from './components/common/AppTooltip.vue';
18
- export { default as IconButton } from './components/common/IconButton.vue';
19
- export { default as IconLabel } from './components/common/IconLabel.vue';
20
- export { default as ExternalLink } from './components/common/ExternalLink.vue';
21
- export { default as LogPrint } from './components/common/LogPrint.vue';
22
- export * from './components/bili/types.ts';
23
- export { default as BiliAccountCard } from './components/bili/BiliAccountCard.vue';
24
- export * from './components/plugin/types';
25
- export { default as PluginMenuItem } from './components/plugin/PluginMenuItem.vue';
26
- export { default as PluginMenus } from './components/plugin/PluginMenus.vue';
27
- export { default as PluginPageHeader } from './components/plugin/PluginPageHeader.vue';
28
- export { default as PluginPageContent } from './components/plugin/PluginPageContent.vue';
1
+ import { AllowedComponentProps } from 'vue';
2
+ import { App } from 'vue';
3
+ import { AppThemeBackgroundMode } from 'bilitoolkit-types';
4
+ import { AppThemeMode } from 'bilitoolkit-types';
5
+ import { AppThemeState } from 'bilitoolkit-types';
6
+ import { CheckboxGroupProps } from 'element-plus';
7
+ import { CheckboxGroupValueType } from 'element-plus';
8
+ import { CheckboxProps } from 'element-plus';
9
+ import { CheckboxValueType } from 'element-plus';
10
+ import { ComponentCustomProps } from 'vue';
11
+ import { ComponentOptionsBase } from 'vue';
12
+ import { ComponentOptionsMixin } from 'vue';
13
+ import { ComponentProvideOptions } from 'vue';
14
+ import { ComponentSize } from 'element-plus';
15
+ import { ComputedRef } from 'vue';
16
+ import { CreateComponentPublicInstanceWithMixins } from 'vue';
17
+ import { CSSProperties } from 'vue';
18
+ import { DebouncedFunc } from 'lodash';
19
+ import { DefaultRow } from 'element-plus/es/components/table/src/table/defaults.mjs';
20
+ import { DefineComponent } from 'vue';
21
+ import { ElMessageBoxOptions } from 'element-plus';
22
+ import { EpPropMergeType } from 'element-plus/es/utils/index.mjs';
23
+ import { ExtractPropTypes } from 'vue';
24
+ import { Filter } from 'element-plus';
25
+ import { GlobalComponents } from 'vue';
26
+ import { GlobalDirectives } from 'vue';
27
+ import { hColgroup } from 'element-plus/es/components/table/src/h-helper.mjs';
28
+ import { MaybeRefOrGetter } from 'vue';
29
+ import { MousewheelCallback } from 'element-plus/es/directives/mousewheel/index.mjs';
30
+ import { ObjectDirective } from 'vue';
31
+ import { ObjectPlugin } from 'vue';
32
+ import { Pinia } from 'pinia';
33
+ import { PropType } from 'vue';
34
+ import { PublicProps } from 'vue';
35
+ import { Reactive } from 'vue';
36
+ import { Ref } from 'vue';
37
+ import { RendererElement } from 'vue';
38
+ import { RendererNode } from 'vue';
39
+ import { RenderExpanded } from 'element-plus/es/components/table/src/table/defaults.mjs';
40
+ import { ScrollbarDirection } from 'element-plus';
41
+ import { ScrollbarProps } from 'element-plus';
42
+ import { SFCWithInstall } from 'element-plus/es/utils/index.mjs';
43
+ import { ShallowRef } from 'vue';
44
+ import { ShallowUnwrapRef } from 'vue';
45
+ import { SilenceStatus } from '@ybgnb/bili-api';
46
+ import { Sort } from 'element-plus';
47
+ import { StoreDefinition } from 'pinia';
48
+ import { StoreFilter } from 'element-plus/es/components/table/src/store/index.mjs';
49
+ import { StyleValue } from 'vue';
50
+ import { Table } from 'element-plus';
51
+ import { TableBodyProps } from 'element-plus/es/components/table/src/table-body/defaults.mjs';
52
+ import { TableColumnCtx } from 'element-plus';
53
+ import { TableFooter } from 'element-plus/es/components/table/src/table-footer/index.mjs';
54
+ import { TableHeaderProps } from 'element-plus/es/components/table/src/table-header/index.mjs';
55
+ import { TableLayout } from 'element-plus/es/components/table/src/table-layout.mjs';
56
+ import { TableProps } from 'element-plus';
57
+ import { TableSortOrder } from 'element-plus/es/components/table/src/table/defaults.mjs';
58
+ import { TimestampMs } from '@ybgnb/bili-api';
59
+ import { ToolkitApi } from 'bilitoolkit-types';
60
+ import { Translator } from 'element-plus';
61
+ import { TreeData } from 'element-plus/es/components/table/src/store/tree.mjs';
62
+ import { TreeProps } from 'element-plus/es/components/table/src/table/defaults.mjs';
63
+ import { UnwrapRefSimple } from '@vue/reactivity';
64
+ import { UserInfo } from '@ybgnb/bili-api';
65
+ import { UserInfoWithCookie } from '@ybgnb/bili-api';
66
+ import { UseTooltipProps } from 'element-plus';
67
+ import { VipStatus } from '@ybgnb/bili-api';
68
+ import { VipType } from '@ybgnb/bili-api';
69
+ import { VNode } from 'vue';
70
+ import { VNodeProps } from 'vue';
71
+ import { WheelElement } from 'element-plus/es/directives/mousewheel/index.mjs';
72
+
73
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
74
+
75
+ declare const __VLS_component_2: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
76
+
77
+ declare const __VLS_component_3: DefineComponent<TooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
78
+ lines: number;
79
+ ellipsis: "right" | "left";
80
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
81
+ refContent: HTMLDivElement;
82
+ }, HTMLDivElement>;
83
+
84
+ declare const __VLS_component_4: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
85
+
86
+ declare const __VLS_component_5: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
87
+
88
+ declare const __VLS_component_6: DefineComponent<BiliUserCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BiliUserCardProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
89
+
90
+ declare const __VLS_component_7: DefineComponent<PluginMenusProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
91
+ handleSelect: (menu: PluginMenuData) => any;
92
+ }, string, PublicProps, Readonly<PluginMenusProps> & Readonly<{
93
+ onHandleSelect?: ((menu: PluginMenuData) => any) | undefined;
94
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
95
+
96
+ declare const __VLS_component_8: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
97
+
98
+ declare type __VLS_PrettifyLocal<T> = {
99
+ [K in keyof T]: T[K];
100
+ } & {};
101
+
102
+ declare type __VLS_PrettifyLocal_2<T> = {
103
+ [K in keyof T]: T[K];
104
+ } & {};
105
+
106
+ declare type __VLS_Props = {
107
+ name: string;
108
+ };
109
+
110
+ declare type __VLS_Props_2 = {
111
+ title: string;
112
+ desc?: string;
113
+ iconClass?: string;
114
+ };
115
+
116
+ declare type __VLS_Props_3 = CountdownDialogProps;
117
+
118
+ declare type __VLS_Props_4 = PageRangeDialogProps;
119
+
120
+ declare type __VLS_Props_5 = LoadingDialogProps;
121
+
122
+ /**
123
+ * remix 图标
124
+ * 根据应用主题自动切换图标类型
125
+ */
126
+ declare type __VLS_Props_6 = {
127
+ icon: string;
128
+ };
129
+
130
+ declare type __VLS_Props_7 = {
131
+ icon: string;
132
+ };
133
+
134
+ declare type __VLS_Props_8 = {
135
+ url: string;
136
+ };
137
+
138
+ declare type __VLS_Props_9 = {
139
+ user: Pick<UserInfoWithCookie, 'mid' | 'face' | 'name'>;
140
+ };
141
+
142
+ declare type __VLS_PublicProps = {
143
+ modelValue: boolean;
144
+ } & __VLS_Props_3;
145
+
146
+ declare type __VLS_PublicProps_2 = {
147
+ modelValue: boolean;
148
+ } & __VLS_Props_4;
149
+
150
+ declare type __VLS_PublicProps_3 = {
151
+ modelValue: boolean;
152
+ } & __VLS_Props_5;
153
+
154
+ declare function __VLS_template(): {
155
+ attrs: Partial<{}>;
156
+ slots: {
157
+ default?(_: {}): any;
158
+ };
159
+ refs: {};
160
+ rootEl: HTMLDivElement;
161
+ };
162
+
163
+ declare function __VLS_template_2(): {
164
+ attrs: Partial<{}>;
165
+ slots: {
166
+ default?(_: {}): any;
167
+ };
168
+ refs: {};
169
+ rootEl: HTMLDivElement;
170
+ };
171
+
172
+ declare function __VLS_template_3(): {
173
+ attrs: Partial<{}>;
174
+ slots: {
175
+ tooltipContent?(_: {}): any;
176
+ default?(_: {}): any;
177
+ };
178
+ refs: {
179
+ refContent: HTMLDivElement;
180
+ };
181
+ rootEl: HTMLDivElement;
182
+ };
183
+
184
+ declare function __VLS_template_4(): {
185
+ attrs: Partial<{}>;
186
+ slots: {
187
+ default?(_: {}): any;
188
+ };
189
+ refs: {};
190
+ rootEl: HTMLDivElement;
191
+ };
192
+
193
+ declare function __VLS_template_5(): {
194
+ attrs: Partial<{}>;
195
+ slots: {
196
+ default?(_: {}): any;
197
+ };
198
+ refs: {};
199
+ rootEl: HTMLSpanElement;
200
+ };
201
+
202
+ declare function __VLS_template_6(): {
203
+ attrs: Partial<{}>;
204
+ slots: {
205
+ default?(_: {}): any;
206
+ };
207
+ refs: {};
208
+ rootEl: HTMLDivElement;
209
+ };
210
+
211
+ declare function __VLS_template_7(): {
212
+ attrs: Partial<{}>;
213
+ slots: {
214
+ 'left-item'?(_: {}): any;
215
+ left?(_: {}): any;
216
+ 'right-item'?(_: {}): any;
217
+ right?(_: {}): any;
218
+ };
219
+ refs: {};
220
+ rootEl: any;
221
+ };
222
+
223
+ declare function __VLS_template_8(): {
224
+ attrs: Partial<{}>;
225
+ slots: {
226
+ default?(_: {}): any;
227
+ };
228
+ refs: {};
229
+ rootEl: HTMLDivElement;
230
+ };
231
+
232
+ declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
233
+
234
+ declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
235
+
236
+ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
237
+
238
+ declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
239
+
240
+ declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
241
+
242
+ declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
243
+
244
+ declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
245
+
246
+ declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
247
+
248
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
249
+ new (): {
250
+ $slots: S;
251
+ };
252
+ };
253
+
254
+ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
255
+ new (): {
256
+ $slots: S;
257
+ };
258
+ };
259
+
260
+ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
261
+ new (): {
262
+ $slots: S;
263
+ };
264
+ };
265
+
266
+ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
267
+ new (): {
268
+ $slots: S;
269
+ };
270
+ };
271
+
272
+ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
273
+ new (): {
274
+ $slots: S;
275
+ };
276
+ };
277
+
278
+ declare type __VLS_WithTemplateSlots_6<T, S> = T & {
279
+ new (): {
280
+ $slots: S;
281
+ };
282
+ };
283
+
284
+ declare type __VLS_WithTemplateSlots_7<T, S> = T & {
285
+ new (): {
286
+ $slots: S;
287
+ };
288
+ };
289
+
290
+ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
291
+ new (): {
292
+ $slots: S;
293
+ };
294
+ };
295
+
296
+ declare function addLog(msg: string): void;
297
+
298
+ declare const AppIcon_2: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
299
+ export { AppIcon_2 as AppIcon }
300
+
301
+ /**
302
+ * APP 全局加载框
303
+ */
304
+ export declare const AppLoadingDialog: {
305
+ /**
306
+ * 显示,返回一个Promise,解析为是否成功,false为用户取消
307
+ * @param options
308
+ */
309
+ show(options?: Omit<GlobalLoadingDialogProps, "onCancel">): Promise<boolean>;
310
+ hide(): void;
311
+ };
312
+
313
+ export declare type AppThemeCssVars = Record<string, string>;
314
+
315
+ declare const AppTooltip_2: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
316
+ export { AppTooltip_2 as AppTooltip }
317
+
318
+ /**
319
+ * 更新主题色的基本方法
320
+ */
321
+ export declare const baseUpdateThemeColor: (primaryColor: string, themeMode: AppThemeMode, isDark: boolean) => void;
322
+
323
+ declare const BiliUserCard_2: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
324
+ export { BiliUserCard_2 as BiliUserCard }
325
+
326
+ /**
327
+ * 用户卡片信息
328
+ */
329
+ export declare interface BiliUserCardProps {
330
+ user: UserInfo;
331
+ }
332
+
333
+ declare const BiliUserInfo_2: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
334
+ export { BiliUserInfo_2 as BiliUserInfo }
335
+
336
+ export declare const blackColor = "#000000";
337
+
338
+ declare const CountdownDialog_2: DefineComponent<__VLS_PublicProps, {
339
+ show: () => void;
340
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
341
+ onConfirm: (...args: any[]) => void;
342
+ onCancel: (...args: any[]) => void;
343
+ "update:modelValue": (value: boolean) => void;
344
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
345
+ onOnConfirm?: ((...args: any[]) => any) | undefined;
346
+ onOnCancel?: ((...args: any[]) => any) | undefined;
347
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
348
+ }>, {
349
+ title: string;
350
+ confirmBtnText: string;
351
+ cancelBtnText: string;
352
+ width: number;
353
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
354
+ export { CountdownDialog_2 as CountdownDialog }
355
+
356
+ /**
357
+ * 倒计时弹窗
358
+ */
359
+ export declare interface CountdownDialogProps {
360
+ content: string;
361
+ countdown: number;
362
+ title?: string;
363
+ confirmBtnText?: string;
364
+ cancelBtnText?: string;
365
+ width?: number;
366
+ }
367
+
368
+ declare const ExternalLink_2: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
369
+ export { ExternalLink_2 as ExternalLink }
370
+
371
+ export declare type FetchPage<D, Q = undefined> = Q extends undefined ? (pageParams: PageParams) => Promise<PageResult<D>> : (pageParams: PageParams, queryParams: Q) => Promise<PageResult<D>>;
372
+
373
+ /**
374
+ * 全局加载框的参数
375
+ */
376
+ export declare type GlobalLoadingDialogProps = {
377
+ autoCloseDelay?: number;
378
+ } & LoadingDialogProps;
379
+
380
+ /**
381
+ * 统一处理错误
382
+ */
383
+ export declare const handleError: (error: unknown) => void;
384
+
385
+ declare const IconButton_2: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
386
+ click: (...args: any[]) => void;
387
+ }, string, PublicProps, Readonly<IconButtonProps> & Readonly<{
388
+ onClick?: ((...args: any[]) => any) | undefined;
389
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
390
+ export { IconButton_2 as IconButton }
391
+
392
+ declare interface IconButtonProps {
393
+ confirm?: string;
394
+ icon: string;
395
+ tip?: string;
396
+ }
397
+
398
+ declare const IconLabel_2: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
399
+ export { IconLabel_2 as IconLabel }
400
+
401
+ /**
402
+ * 初始化应用主题
403
+ */
404
+ export declare const initAppTheme: () => Promise<void>;
405
+
406
+ /**
407
+ * 初始化UI
408
+ */
409
+ export declare const initBilitoolkitUi: (pinia: Pinia, options?: InitOptions) => Promise<{
410
+ install(_app: App): void;
411
+ }>;
412
+
413
+ declare interface InitOptions {
414
+ /** 是否使用测试数据 */
415
+ useTestData?: boolean;
416
+ /** core 环境特有 */
417
+ appThemeDBName?: string;
418
+ /** core 环境特有 */
419
+ appThemeUpdateEvent?: string;
420
+ }
421
+
422
+ /**
423
+ * 初始化透明颜色变量集合
424
+ * @param primaryColor 主题色
425
+ * @param vars 目标保存对象
426
+ * @param preKey 透明色前缀
427
+ */
428
+ export declare const initTransparentColors: (primaryColor: string, vars: AppThemeCssVars, preKey: string) => void;
429
+
430
+ /**
431
+ * 是否为暗黑模式主题
432
+ * @param themeMode
433
+ */
434
+ export declare const isDarkTheme: (themeMode?: AppThemeMode) => Promise<boolean>;
435
+
436
+ declare const LoadingDialog_2: DefineComponent<__VLS_PublicProps_3, {
437
+ show: (options?: LoadingDialogProps) => void;
438
+ hide: () => void;
439
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
440
+ "update:modelValue": (value: boolean) => any;
441
+ }, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
442
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
443
+ }>, {
444
+ canCancel: boolean;
445
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
446
+ export { LoadingDialog_2 as LoadingDialog }
447
+
448
+ /**
449
+ * 加载框暴露的方法
450
+ */
451
+ export declare type LoadingDialogExposed = {
452
+ show: (options?: LoadingDialogProps) => void;
453
+ hide: () => void;
454
+ };
455
+
456
+ /**
457
+ * 加载框
458
+ */
459
+ export declare interface LoadingDialogProps {
460
+ canCancel?: boolean;
461
+ onCancel?: () => void;
462
+ loadingText?: string;
463
+ }
464
+
465
+ declare const LogPrint_2: DefineComponent< {}, {
466
+ addLog: typeof addLog;
467
+ reset: () => void;
468
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
469
+ logBoxRef: HTMLDivElement;
470
+ }, HTMLDivElement>;
471
+ export { LogPrint_2 as LogPrint }
472
+
473
+ export declare interface PageData {
474
+ pageNum: number;
475
+ pageSize: number;
476
+ totalPages: number;
477
+ total: number;
478
+ }
479
+
480
+ export declare type PageParams = {
481
+ pageSize: number;
482
+ pageNum: number;
483
+ };
484
+
485
+ declare const PageRangeDialog_2: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
486
+ confirm: (range: [number, number]) => any;
487
+ "update:modelValue": (value: boolean) => any;
488
+ }, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
489
+ onConfirm?: ((range: [number, number]) => any) | undefined;
490
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
491
+ }>, {
492
+ title: string;
493
+ confirmText: string;
494
+ cancelText: string;
495
+ defaultRange: [number, number];
496
+ minPage: number;
497
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
498
+ export { PageRangeDialog_2 as PageRangeDialog }
499
+
500
+ export declare interface PageRangeDialogProps {
501
+ title?: string;
502
+ defaultRange?: [number, number];
503
+ total?: number;
504
+ minPage?: number;
505
+ maxPage?: number;
506
+ pageSize: number;
507
+ confirmText?: string;
508
+ cancelText?: string;
509
+ }
510
+
511
+ export declare interface PageResult<D> extends PageData {
512
+ data: D[];
513
+ }
514
+
515
+ declare const PageTable_2: <D, Q>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
516
+ props: __VLS_PrettifyLocal_2<Pick<Partial<{}> & Omit<{
517
+ readonly onSearch?: (() => any) | undefined;
518
+ readonly onReset?: (() => any) | undefined;
519
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onReset" | "onSearch"> & PageTableProps<D, Q> & Partial<{}>> & PublicProps;
520
+ expose(exposed: ShallowUnwrapRef< {
521
+ loading: Ref<boolean, boolean>;
522
+ tableRef: Readonly<ShallowRef<CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
523
+ data: {
524
+ type: PropType<any[]>;
525
+ default: () => never[];
526
+ };
527
+ size: {
528
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
529
+ readonly required: false;
530
+ readonly validator: ((val: unknown) => boolean) | undefined;
531
+ __epPropKey: true;
532
+ };
533
+ width: (NumberConstructor | StringConstructor)[];
534
+ height: (NumberConstructor | StringConstructor)[];
535
+ maxHeight: (NumberConstructor | StringConstructor)[];
536
+ fit: {
537
+ type: BooleanConstructor;
538
+ default: boolean;
539
+ };
540
+ stripe: BooleanConstructor;
541
+ border: BooleanConstructor;
542
+ rowKey: PropType<TableProps<any>["rowKey"]>;
543
+ showHeader: {
544
+ type: BooleanConstructor;
545
+ default: boolean;
546
+ };
547
+ showSummary: BooleanConstructor;
548
+ sumText: StringConstructor;
549
+ summaryMethod: PropType<TableProps<any>["summaryMethod"]>;
550
+ rowClassName: PropType<TableProps<any>["rowClassName"]>;
551
+ rowStyle: PropType<TableProps<any>["rowStyle"]>;
552
+ cellClassName: PropType<TableProps<any>["cellClassName"]>;
553
+ cellStyle: PropType<TableProps<any>["cellStyle"]>;
554
+ headerRowClassName: PropType<TableProps<any>["headerRowClassName"]>;
555
+ headerRowStyle: PropType<TableProps<any>["headerRowStyle"]>;
556
+ headerCellClassName: PropType<TableProps<any>["headerCellClassName"]>;
557
+ headerCellStyle: PropType<TableProps<any>["headerCellStyle"]>;
558
+ highlightCurrentRow: BooleanConstructor;
559
+ currentRowKey: (NumberConstructor | StringConstructor)[];
560
+ emptyText: StringConstructor;
561
+ expandRowKeys: PropType<TableProps<any>["expandRowKeys"]>;
562
+ defaultExpandAll: BooleanConstructor;
563
+ rowExpandable: {
564
+ type: PropType<TableProps<any>["rowExpandable"]>;
565
+ };
566
+ defaultSort: PropType<TableProps<any>["defaultSort"]>;
567
+ tooltipEffect: StringConstructor;
568
+ tooltipOptions: PropType<TableProps<any>["tooltipOptions"]>;
569
+ spanMethod: PropType<TableProps<any>["spanMethod"]>;
570
+ selectOnIndeterminate: {
571
+ type: BooleanConstructor;
572
+ default: boolean;
573
+ };
574
+ indent: {
575
+ type: NumberConstructor;
576
+ default: number;
577
+ };
578
+ treeProps: {
579
+ type: PropType<TableProps<any>["treeProps"]>;
580
+ default: () => {
581
+ hasChildren: string;
582
+ children: string;
583
+ checkStrictly: boolean;
584
+ };
585
+ };
586
+ lazy: BooleanConstructor;
587
+ load: PropType<TableProps<any>["load"]>;
588
+ style: {
589
+ type: PropType<TableProps<any>["style"]>;
590
+ default: () => {};
591
+ };
592
+ className: {
593
+ type: StringConstructor;
594
+ default: string;
595
+ };
596
+ tableLayout: {
597
+ type: PropType<"fixed" | "auto">;
598
+ default: string;
599
+ };
600
+ scrollbarAlwaysOn: BooleanConstructor;
601
+ flexible: BooleanConstructor;
602
+ showOverflowTooltip: {
603
+ type: PropType<TableProps<any>["showOverflowTooltip"]>;
604
+ default: undefined;
605
+ };
606
+ tooltipFormatter: PropType<TableProps<any>["tooltipFormatter"]>;
607
+ appendFilterPanelTo: StringConstructor;
608
+ scrollbarTabindex: {
609
+ type: (NumberConstructor | StringConstructor)[];
610
+ default: undefined;
611
+ };
612
+ allowDragLastColumn: {
613
+ type: BooleanConstructor;
614
+ default: boolean;
615
+ };
616
+ preserveExpandedContent: BooleanConstructor;
617
+ nativeScrollbar: BooleanConstructor;
618
+ }>> & Readonly<{
619
+ onScroll?: ((...args: any[]) => any) | undefined;
620
+ onSelect?: ((...args: any[]) => any) | undefined;
621
+ "onExpand-change"?: ((...args: any[]) => any) | undefined;
622
+ "onCurrent-change"?: ((...args: any[]) => any) | undefined;
623
+ "onSelect-all"?: ((...args: any[]) => any) | undefined;
624
+ "onSelection-change"?: ((...args: any[]) => any) | undefined;
625
+ "onCell-mouse-enter"?: ((...args: any[]) => any) | undefined;
626
+ "onCell-mouse-leave"?: ((...args: any[]) => any) | undefined;
627
+ "onCell-contextmenu"?: ((...args: any[]) => any) | undefined;
628
+ "onCell-click"?: ((...args: any[]) => any) | undefined;
629
+ "onCell-dblclick"?: ((...args: any[]) => any) | undefined;
630
+ "onRow-click"?: ((...args: any[]) => any) | undefined;
631
+ "onRow-contextmenu"?: ((...args: any[]) => any) | undefined;
632
+ "onRow-dblclick"?: ((...args: any[]) => any) | undefined;
633
+ "onHeader-click"?: ((...args: any[]) => any) | undefined;
634
+ "onHeader-contextmenu"?: ((...args: any[]) => any) | undefined;
635
+ "onSort-change"?: ((...args: any[]) => any) | undefined;
636
+ "onFilter-change"?: ((...args: any[]) => any) | undefined;
637
+ "onHeader-dragend"?: ((...args: any[]) => any) | undefined;
638
+ }>, {
639
+ ns: {
640
+ namespace: ComputedRef<string>;
641
+ b: (blockSuffix?: string) => string;
642
+ e: (element?: string) => string;
643
+ m: (modifier?: string) => string;
644
+ be: (blockSuffix?: string, element?: string) => string;
645
+ em: (element?: string, modifier?: string) => string;
646
+ bm: (blockSuffix?: string, modifier?: string) => string;
647
+ bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
648
+ is: {
649
+ (name: string, state: boolean | undefined): string;
650
+ (name: string): string;
651
+ };
652
+ cssVar: (object: Record<string, string>) => Record<string, string>;
653
+ cssVarName: (name: string) => string;
654
+ cssVarBlock: (object: Record<string, string>) => Record<string, string>;
655
+ cssVarBlockName: (name: string) => string;
656
+ };
657
+ layout: TableLayout<any>;
658
+ store: {
659
+ mutations: {
660
+ setData(states: {
661
+ _currentRowKey: Ref<string | null, string | null>;
662
+ currentRow: Ref<any, any>;
663
+ expandRowKeys: Ref<string[], string[]>;
664
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
665
+ indent: Ref<number, number>;
666
+ lazy: Ref<boolean, boolean>;
667
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
668
+ lazyColumnIdentifier: Ref<string, string>;
669
+ childrenColumnName: Ref<string, string>;
670
+ checkStrictly: Ref<boolean, boolean>;
671
+ expandRows: Ref<any[], any[]>;
672
+ defaultExpandAll: Ref<boolean, boolean>;
673
+ tableSize: Ref<any, any>;
674
+ rowKey: Ref<string | null, string | null>;
675
+ data: Ref<any[], any[]>;
676
+ _data: Ref<any[], any[]>;
677
+ isComplex: Ref<boolean, boolean>;
678
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
679
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
680
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
681
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
682
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
683
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
684
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
685
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
686
+ updateOrderFns: (() => void)[];
687
+ leafColumnsLength: Ref<number, number>;
688
+ fixedLeafColumnsLength: Ref<number, number>;
689
+ rightFixedLeafColumnsLength: Ref<number, number>;
690
+ isAllSelected: Ref<boolean, boolean>;
691
+ selection: Ref<any[], any[]>;
692
+ reserveSelection: Ref<boolean, boolean>;
693
+ selectOnIndeterminate: Ref<boolean, boolean>;
694
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
695
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
696
+ filters: Ref<StoreFilter, StoreFilter>;
697
+ filteredData: Ref<any[] | null, any[] | null>;
698
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
699
+ sortProp: Ref<string | null, string | null>;
700
+ sortOrder: Ref<string | number | null, string | number | null>;
701
+ hoverRow: Ref<any, any>;
702
+ }, data: any[]): void;
703
+ insertColumn(states: {
704
+ _currentRowKey: Ref<string | null, string | null>;
705
+ currentRow: Ref<any, any>;
706
+ expandRowKeys: Ref<string[], string[]>;
707
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
708
+ indent: Ref<number, number>;
709
+ lazy: Ref<boolean, boolean>;
710
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
711
+ lazyColumnIdentifier: Ref<string, string>;
712
+ childrenColumnName: Ref<string, string>;
713
+ checkStrictly: Ref<boolean, boolean>;
714
+ expandRows: Ref<any[], any[]>;
715
+ defaultExpandAll: Ref<boolean, boolean>;
716
+ tableSize: Ref<any, any>;
717
+ rowKey: Ref<string | null, string | null>;
718
+ data: Ref<any[], any[]>;
719
+ _data: Ref<any[], any[]>;
720
+ isComplex: Ref<boolean, boolean>;
721
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
722
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
723
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
724
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
725
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
726
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
727
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
728
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
729
+ updateOrderFns: (() => void)[];
730
+ leafColumnsLength: Ref<number, number>;
731
+ fixedLeafColumnsLength: Ref<number, number>;
732
+ rightFixedLeafColumnsLength: Ref<number, number>;
733
+ isAllSelected: Ref<boolean, boolean>;
734
+ selection: Ref<any[], any[]>;
735
+ reserveSelection: Ref<boolean, boolean>;
736
+ selectOnIndeterminate: Ref<boolean, boolean>;
737
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
738
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
739
+ filters: Ref<StoreFilter, StoreFilter>;
740
+ filteredData: Ref<any[] | null, any[] | null>;
741
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
742
+ sortProp: Ref<string | null, string | null>;
743
+ sortOrder: Ref<string | number | null, string | number | null>;
744
+ hoverRow: Ref<any, any>;
745
+ }, column: TableColumnCtx<any>, parent: TableColumnCtx<any>, updateColumnOrder: () => void): void;
746
+ updateColumnOrder(states: {
747
+ _currentRowKey: Ref<string | null, string | null>;
748
+ currentRow: Ref<any, any>;
749
+ expandRowKeys: Ref<string[], string[]>;
750
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
751
+ indent: Ref<number, number>;
752
+ lazy: Ref<boolean, boolean>;
753
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
754
+ lazyColumnIdentifier: Ref<string, string>;
755
+ childrenColumnName: Ref<string, string>;
756
+ checkStrictly: Ref<boolean, boolean>;
757
+ expandRows: Ref<any[], any[]>;
758
+ defaultExpandAll: Ref<boolean, boolean>;
759
+ tableSize: Ref<any, any>;
760
+ rowKey: Ref<string | null, string | null>;
761
+ data: Ref<any[], any[]>;
762
+ _data: Ref<any[], any[]>;
763
+ isComplex: Ref<boolean, boolean>;
764
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
765
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
766
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
767
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
768
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
769
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
770
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
771
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
772
+ updateOrderFns: (() => void)[];
773
+ leafColumnsLength: Ref<number, number>;
774
+ fixedLeafColumnsLength: Ref<number, number>;
775
+ rightFixedLeafColumnsLength: Ref<number, number>;
776
+ isAllSelected: Ref<boolean, boolean>;
777
+ selection: Ref<any[], any[]>;
778
+ reserveSelection: Ref<boolean, boolean>;
779
+ selectOnIndeterminate: Ref<boolean, boolean>;
780
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
781
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
782
+ filters: Ref<StoreFilter, StoreFilter>;
783
+ filteredData: Ref<any[] | null, any[] | null>;
784
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
785
+ sortProp: Ref<string | null, string | null>;
786
+ sortOrder: Ref<string | number | null, string | number | null>;
787
+ hoverRow: Ref<any, any>;
788
+ }, column: TableColumnCtx<any>): void;
789
+ removeColumn(states: {
790
+ _currentRowKey: Ref<string | null, string | null>;
791
+ currentRow: Ref<any, any>;
792
+ expandRowKeys: Ref<string[], string[]>;
793
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
794
+ indent: Ref<number, number>;
795
+ lazy: Ref<boolean, boolean>;
796
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
797
+ lazyColumnIdentifier: Ref<string, string>;
798
+ childrenColumnName: Ref<string, string>;
799
+ checkStrictly: Ref<boolean, boolean>;
800
+ expandRows: Ref<any[], any[]>;
801
+ defaultExpandAll: Ref<boolean, boolean>;
802
+ tableSize: Ref<any, any>;
803
+ rowKey: Ref<string | null, string | null>;
804
+ data: Ref<any[], any[]>;
805
+ _data: Ref<any[], any[]>;
806
+ isComplex: Ref<boolean, boolean>;
807
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
808
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
809
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
810
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
811
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
812
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
813
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
814
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
815
+ updateOrderFns: (() => void)[];
816
+ leafColumnsLength: Ref<number, number>;
817
+ fixedLeafColumnsLength: Ref<number, number>;
818
+ rightFixedLeafColumnsLength: Ref<number, number>;
819
+ isAllSelected: Ref<boolean, boolean>;
820
+ selection: Ref<any[], any[]>;
821
+ reserveSelection: Ref<boolean, boolean>;
822
+ selectOnIndeterminate: Ref<boolean, boolean>;
823
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
824
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
825
+ filters: Ref<StoreFilter, StoreFilter>;
826
+ filteredData: Ref<any[] | null, any[] | null>;
827
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
828
+ sortProp: Ref<string | null, string | null>;
829
+ sortOrder: Ref<string | number | null, string | number | null>;
830
+ hoverRow: Ref<any, any>;
831
+ }, column: TableColumnCtx<any>, parent: TableColumnCtx<any>, updateColumnOrder: () => void): void;
832
+ sort(states: {
833
+ _currentRowKey: Ref<string | null, string | null>;
834
+ currentRow: Ref<any, any>;
835
+ expandRowKeys: Ref<string[], string[]>;
836
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
837
+ indent: Ref<number, number>;
838
+ lazy: Ref<boolean, boolean>;
839
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
840
+ lazyColumnIdentifier: Ref<string, string>;
841
+ childrenColumnName: Ref<string, string>;
842
+ checkStrictly: Ref<boolean, boolean>;
843
+ expandRows: Ref<any[], any[]>;
844
+ defaultExpandAll: Ref<boolean, boolean>;
845
+ tableSize: Ref<any, any>;
846
+ rowKey: Ref<string | null, string | null>;
847
+ data: Ref<any[], any[]>;
848
+ _data: Ref<any[], any[]>;
849
+ isComplex: Ref<boolean, boolean>;
850
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
851
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
852
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
853
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
854
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
855
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
856
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
857
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
858
+ updateOrderFns: (() => void)[];
859
+ leafColumnsLength: Ref<number, number>;
860
+ fixedLeafColumnsLength: Ref<number, number>;
861
+ rightFixedLeafColumnsLength: Ref<number, number>;
862
+ isAllSelected: Ref<boolean, boolean>;
863
+ selection: Ref<any[], any[]>;
864
+ reserveSelection: Ref<boolean, boolean>;
865
+ selectOnIndeterminate: Ref<boolean, boolean>;
866
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
867
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
868
+ filters: Ref<StoreFilter, StoreFilter>;
869
+ filteredData: Ref<any[] | null, any[] | null>;
870
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
871
+ sortProp: Ref<string | null, string | null>;
872
+ sortOrder: Ref<string | number | null, string | number | null>;
873
+ hoverRow: Ref<any, any>;
874
+ }, options: Sort): void;
875
+ changeSortCondition(states: {
876
+ _currentRowKey: Ref<string | null, string | null>;
877
+ currentRow: Ref<any, any>;
878
+ expandRowKeys: Ref<string[], string[]>;
879
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
880
+ indent: Ref<number, number>;
881
+ lazy: Ref<boolean, boolean>;
882
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
883
+ lazyColumnIdentifier: Ref<string, string>;
884
+ childrenColumnName: Ref<string, string>;
885
+ checkStrictly: Ref<boolean, boolean>;
886
+ expandRows: Ref<any[], any[]>;
887
+ defaultExpandAll: Ref<boolean, boolean>;
888
+ tableSize: Ref<any, any>;
889
+ rowKey: Ref<string | null, string | null>;
890
+ data: Ref<any[], any[]>;
891
+ _data: Ref<any[], any[]>;
892
+ isComplex: Ref<boolean, boolean>;
893
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
894
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
895
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
896
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
897
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
898
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
899
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
900
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
901
+ updateOrderFns: (() => void)[];
902
+ leafColumnsLength: Ref<number, number>;
903
+ fixedLeafColumnsLength: Ref<number, number>;
904
+ rightFixedLeafColumnsLength: Ref<number, number>;
905
+ isAllSelected: Ref<boolean, boolean>;
906
+ selection: Ref<any[], any[]>;
907
+ reserveSelection: Ref<boolean, boolean>;
908
+ selectOnIndeterminate: Ref<boolean, boolean>;
909
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
910
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
911
+ filters: Ref<StoreFilter, StoreFilter>;
912
+ filteredData: Ref<any[] | null, any[] | null>;
913
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
914
+ sortProp: Ref<string | null, string | null>;
915
+ sortOrder: Ref<string | number | null, string | number | null>;
916
+ hoverRow: Ref<any, any>;
917
+ }, options: Sort): void;
918
+ filterChange(_states: {
919
+ _currentRowKey: Ref<string | null, string | null>;
920
+ currentRow: Ref<any, any>;
921
+ expandRowKeys: Ref<string[], string[]>;
922
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
923
+ indent: Ref<number, number>;
924
+ lazy: Ref<boolean, boolean>;
925
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
926
+ lazyColumnIdentifier: Ref<string, string>;
927
+ childrenColumnName: Ref<string, string>;
928
+ checkStrictly: Ref<boolean, boolean>;
929
+ expandRows: Ref<any[], any[]>;
930
+ defaultExpandAll: Ref<boolean, boolean>;
931
+ tableSize: Ref<any, any>;
932
+ rowKey: Ref<string | null, string | null>;
933
+ data: Ref<any[], any[]>;
934
+ _data: Ref<any[], any[]>;
935
+ isComplex: Ref<boolean, boolean>;
936
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
937
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
938
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
939
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
940
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
941
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
942
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
943
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
944
+ updateOrderFns: (() => void)[];
945
+ leafColumnsLength: Ref<number, number>;
946
+ fixedLeafColumnsLength: Ref<number, number>;
947
+ rightFixedLeafColumnsLength: Ref<number, number>;
948
+ isAllSelected: Ref<boolean, boolean>;
949
+ selection: Ref<any[], any[]>;
950
+ reserveSelection: Ref<boolean, boolean>;
951
+ selectOnIndeterminate: Ref<boolean, boolean>;
952
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
953
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
954
+ filters: Ref<StoreFilter, StoreFilter>;
955
+ filteredData: Ref<any[] | null, any[] | null>;
956
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
957
+ sortProp: Ref<string | null, string | null>;
958
+ sortOrder: Ref<string | number | null, string | number | null>;
959
+ hoverRow: Ref<any, any>;
960
+ }, options: Filter<any>): void;
961
+ toggleAllSelection(): void;
962
+ rowSelectedChanged(_states: {
963
+ _currentRowKey: Ref<string | null, string | null>;
964
+ currentRow: Ref<any, any>;
965
+ expandRowKeys: Ref<string[], string[]>;
966
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
967
+ indent: Ref<number, number>;
968
+ lazy: Ref<boolean, boolean>;
969
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
970
+ lazyColumnIdentifier: Ref<string, string>;
971
+ childrenColumnName: Ref<string, string>;
972
+ checkStrictly: Ref<boolean, boolean>;
973
+ expandRows: Ref<any[], any[]>;
974
+ defaultExpandAll: Ref<boolean, boolean>;
975
+ tableSize: Ref<any, any>;
976
+ rowKey: Ref<string | null, string | null>;
977
+ data: Ref<any[], any[]>;
978
+ _data: Ref<any[], any[]>;
979
+ isComplex: Ref<boolean, boolean>;
980
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
981
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
982
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
983
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
984
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
985
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
986
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
987
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
988
+ updateOrderFns: (() => void)[];
989
+ leafColumnsLength: Ref<number, number>;
990
+ fixedLeafColumnsLength: Ref<number, number>;
991
+ rightFixedLeafColumnsLength: Ref<number, number>;
992
+ isAllSelected: Ref<boolean, boolean>;
993
+ selection: Ref<any[], any[]>;
994
+ reserveSelection: Ref<boolean, boolean>;
995
+ selectOnIndeterminate: Ref<boolean, boolean>;
996
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
997
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
998
+ filters: Ref<StoreFilter, StoreFilter>;
999
+ filteredData: Ref<any[] | null, any[] | null>;
1000
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
1001
+ sortProp: Ref<string | null, string | null>;
1002
+ sortOrder: Ref<string | number | null, string | number | null>;
1003
+ hoverRow: Ref<any, any>;
1004
+ }, row: any): void;
1005
+ setHoverRow(states: {
1006
+ _currentRowKey: Ref<string | null, string | null>;
1007
+ currentRow: Ref<any, any>;
1008
+ expandRowKeys: Ref<string[], string[]>;
1009
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
1010
+ indent: Ref<number, number>;
1011
+ lazy: Ref<boolean, boolean>;
1012
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
1013
+ lazyColumnIdentifier: Ref<string, string>;
1014
+ childrenColumnName: Ref<string, string>;
1015
+ checkStrictly: Ref<boolean, boolean>;
1016
+ expandRows: Ref<any[], any[]>;
1017
+ defaultExpandAll: Ref<boolean, boolean>;
1018
+ tableSize: Ref<any, any>;
1019
+ rowKey: Ref<string | null, string | null>;
1020
+ data: Ref<any[], any[]>;
1021
+ _data: Ref<any[], any[]>;
1022
+ isComplex: Ref<boolean, boolean>;
1023
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1024
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1025
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1026
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1027
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1028
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1029
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1030
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1031
+ updateOrderFns: (() => void)[];
1032
+ leafColumnsLength: Ref<number, number>;
1033
+ fixedLeafColumnsLength: Ref<number, number>;
1034
+ rightFixedLeafColumnsLength: Ref<number, number>;
1035
+ isAllSelected: Ref<boolean, boolean>;
1036
+ selection: Ref<any[], any[]>;
1037
+ reserveSelection: Ref<boolean, boolean>;
1038
+ selectOnIndeterminate: Ref<boolean, boolean>;
1039
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
1040
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
1041
+ filters: Ref<StoreFilter, StoreFilter>;
1042
+ filteredData: Ref<any[] | null, any[] | null>;
1043
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
1044
+ sortProp: Ref<string | null, string | null>;
1045
+ sortOrder: Ref<string | number | null, string | number | null>;
1046
+ hoverRow: Ref<any, any>;
1047
+ }, row: any): void;
1048
+ setCurrentRow(_states: {
1049
+ _currentRowKey: Ref<string | null, string | null>;
1050
+ currentRow: Ref<any, any>;
1051
+ expandRowKeys: Ref<string[], string[]>;
1052
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
1053
+ indent: Ref<number, number>;
1054
+ lazy: Ref<boolean, boolean>;
1055
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
1056
+ lazyColumnIdentifier: Ref<string, string>;
1057
+ childrenColumnName: Ref<string, string>;
1058
+ checkStrictly: Ref<boolean, boolean>;
1059
+ expandRows: Ref<any[], any[]>;
1060
+ defaultExpandAll: Ref<boolean, boolean>;
1061
+ tableSize: Ref<any, any>;
1062
+ rowKey: Ref<string | null, string | null>;
1063
+ data: Ref<any[], any[]>;
1064
+ _data: Ref<any[], any[]>;
1065
+ isComplex: Ref<boolean, boolean>;
1066
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1067
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1068
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1069
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1070
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1071
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1072
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1073
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1074
+ updateOrderFns: (() => void)[];
1075
+ leafColumnsLength: Ref<number, number>;
1076
+ fixedLeafColumnsLength: Ref<number, number>;
1077
+ rightFixedLeafColumnsLength: Ref<number, number>;
1078
+ isAllSelected: Ref<boolean, boolean>;
1079
+ selection: Ref<any[], any[]>;
1080
+ reserveSelection: Ref<boolean, boolean>;
1081
+ selectOnIndeterminate: Ref<boolean, boolean>;
1082
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
1083
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
1084
+ filters: Ref<StoreFilter, StoreFilter>;
1085
+ filteredData: Ref<any[] | null, any[] | null>;
1086
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
1087
+ sortProp: Ref<string | null, string | null>;
1088
+ sortOrder: Ref<string | number | null, string | number | null>;
1089
+ hoverRow: Ref<any, any>;
1090
+ }, row: any): void;
1091
+ };
1092
+ commit: (name: "sort" | "setData" | "insertColumn" | "updateColumnOrder" | "removeColumn" | "changeSortCondition" | "filterChange" | "toggleAllSelection" | "rowSelectedChanged" | "setHoverRow" | "setCurrentRow", ...args: any[]) => void;
1093
+ updateTableScrollY: () => void;
1094
+ assertRowKey: () => void;
1095
+ updateColumns: () => void;
1096
+ scheduleLayout: (needUpdateColumns?: boolean, immediate?: boolean) => void;
1097
+ isSelected: (row: any) => boolean;
1098
+ clearSelection: () => void;
1099
+ cleanSelection: () => void;
1100
+ getSelectionRows: () => any[];
1101
+ toggleRowSelection: (row: any, selected?: boolean, emitChange?: boolean, ignoreSelectable?: boolean) => void;
1102
+ _toggleAllSelection: () => void;
1103
+ toggleAllSelection: (() => void) | null;
1104
+ updateAllSelected: () => void;
1105
+ updateFilters: (column: TableColumnCtx<any>, values: string[]) => Record<string, string[]>;
1106
+ updateCurrentRow: (_currentRow: any) => void;
1107
+ updateSort: (column: TableColumnCtx<any> | null, prop: string | null, order: TableSortOrder | null) => void;
1108
+ execFilter: () => void;
1109
+ execSort: () => void;
1110
+ execQuery: (ignore?: {
1111
+ filter: boolean;
1112
+ } | undefined) => void;
1113
+ clearFilter: (columnKeys?: string[] | string) => void;
1114
+ clearSort: () => void;
1115
+ toggleRowExpansion: (row: any, expanded?: boolean) => void;
1116
+ setExpandRowKeysAdapter: (val: string[]) => void;
1117
+ setCurrentRowKey: (key: string) => void;
1118
+ toggleRowExpansionAdapter: (row: any, expanded?: boolean) => void;
1119
+ isRowExpanded: (row: any) => boolean;
1120
+ updateExpandRows: () => void;
1121
+ updateCurrentRowData: () => void;
1122
+ loadOrToggle: (row: any) => void;
1123
+ updateTreeData: (ifChangeExpandRowKeys?: boolean, ifExpandAll?: boolean) => void;
1124
+ updateKeyChildren: (key: string, data: any[]) => void;
1125
+ states: {
1126
+ _currentRowKey: Ref<string | null, string | null>;
1127
+ currentRow: Ref<any, any>;
1128
+ expandRowKeys: Ref<string[], string[]>;
1129
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
1130
+ indent: Ref<number, number>;
1131
+ lazy: Ref<boolean, boolean>;
1132
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
1133
+ lazyColumnIdentifier: Ref<string, string>;
1134
+ childrenColumnName: Ref<string, string>;
1135
+ checkStrictly: Ref<boolean, boolean>;
1136
+ expandRows: Ref<any[], any[]>;
1137
+ defaultExpandAll: Ref<boolean, boolean>;
1138
+ tableSize: Ref<any, any>;
1139
+ rowKey: Ref<string | null, string | null>;
1140
+ data: Ref<any[], any[]>;
1141
+ _data: Ref<any[], any[]>;
1142
+ isComplex: Ref<boolean, boolean>;
1143
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1144
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1145
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1146
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1147
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1148
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1149
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1150
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
1151
+ updateOrderFns: (() => void)[];
1152
+ leafColumnsLength: Ref<number, number>;
1153
+ fixedLeafColumnsLength: Ref<number, number>;
1154
+ rightFixedLeafColumnsLength: Ref<number, number>;
1155
+ isAllSelected: Ref<boolean, boolean>;
1156
+ selection: Ref<any[], any[]>;
1157
+ reserveSelection: Ref<boolean, boolean>;
1158
+ selectOnIndeterminate: Ref<boolean, boolean>;
1159
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
1160
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
1161
+ filters: Ref<StoreFilter, StoreFilter>;
1162
+ filteredData: Ref<any[] | null, any[] | null>;
1163
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
1164
+ sortProp: Ref<string | null, string | null>;
1165
+ sortOrder: Ref<string | number | null, string | number | null>;
1166
+ hoverRow: Ref<any, any>;
1167
+ };
1168
+ ns: {
1169
+ namespace: ComputedRef<string>;
1170
+ b: (blockSuffix?: string) => string;
1171
+ e: (element?: string) => string;
1172
+ m: (modifier?: string) => string;
1173
+ be: (blockSuffix?: string, element?: string) => string;
1174
+ em: (element?: string, modifier?: string) => string;
1175
+ bm: (blockSuffix?: string, modifier?: string) => string;
1176
+ bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
1177
+ is: {
1178
+ (name: string, state: boolean | undefined): string;
1179
+ (name: string): string;
1180
+ };
1181
+ cssVar: (object: Record<string, string>) => Record<string, string>;
1182
+ cssVarName: (name: string) => string;
1183
+ cssVarBlock: (object: Record<string, string>) => Record<string, string>;
1184
+ cssVarBlockName: (name: string) => string;
1185
+ };
1186
+ t: Translator;
1187
+ };
1188
+ columns: ComputedRef<TableColumnCtx<any>[]>;
1189
+ handleHeaderFooterMousewheel: (_event: WheelEvent, data: any) => void;
1190
+ handleMouseLeave: () => void;
1191
+ tableId: string;
1192
+ tableSize: ComputedRef<"" | "default" | "small" | "large">;
1193
+ isHidden: Ref<boolean, boolean>;
1194
+ isEmpty: ComputedRef<boolean>;
1195
+ renderExpanded: Ref<RenderExpanded<any> | null, RenderExpanded<any> | null>;
1196
+ resizeProxyVisible: Ref<boolean, boolean>;
1197
+ resizeState: Ref<{
1198
+ width: null | number;
1199
+ height: null | number;
1200
+ headerHeight: null | number;
1201
+ }, {
1202
+ width: null | number;
1203
+ height: null | number;
1204
+ headerHeight: null | number;
1205
+ } | {
1206
+ width: null | number;
1207
+ height: null | number;
1208
+ headerHeight: null | number;
1209
+ }>;
1210
+ isGroup: Ref<boolean, boolean>;
1211
+ bodyWidth: ComputedRef<string>;
1212
+ tableBodyStyles: ComputedRef< {
1213
+ width: string;
1214
+ }>;
1215
+ emptyBlockStyle: ComputedRef< {
1216
+ width: string;
1217
+ height: string;
1218
+ } | undefined>;
1219
+ debouncedUpdateLayout: DebouncedFunc<() => void>;
1220
+ setCurrentRow: (row: any) => void;
1221
+ getSelectionRows: () => any[];
1222
+ toggleRowSelection: (row: any, selected?: boolean, ignoreSelectable?: boolean) => void;
1223
+ clearSelection: () => void;
1224
+ clearFilter: (columnKeys?: string[] | string) => void;
1225
+ toggleAllSelection: () => void;
1226
+ toggleRowExpansion: (row: any, expanded?: boolean) => void;
1227
+ clearSort: () => void;
1228
+ doLayout: () => void;
1229
+ sort: (prop: string, order: string) => void;
1230
+ updateKeyChildren: (key: string, data: any[]) => void;
1231
+ t: Translator;
1232
+ setDragVisible: (visible: boolean) => void;
1233
+ context: Table<any>;
1234
+ computedSumText: ComputedRef<string>;
1235
+ computedEmptyText: ComputedRef<string>;
1236
+ computedTooltipEffect: ComputedRef<string | undefined>;
1237
+ computedTooltipOptions: ComputedRef<Partial<Pick<UseTooltipProps, "offset" | "appendTo" | "effect" | "enterable" | "popperClass" | "placement" | "popperOptions" | "showArrow" | "transition" | "showAfter" | "hideAfter">> | undefined>;
1238
+ tableLayout: ComputedRef<"fixed" | "auto">;
1239
+ scrollbarViewStyle: {
1240
+ display: string;
1241
+ verticalAlign: string;
1242
+ };
1243
+ scrollbarStyle: ComputedRef< {
1244
+ height: string;
1245
+ maxHeight?: undefined;
1246
+ } | {
1247
+ maxHeight: string;
1248
+ height?: undefined;
1249
+ } | {
1250
+ height?: undefined;
1251
+ maxHeight?: undefined;
1252
+ }>;
1253
+ scrollBarRef: Ref<any, any>;
1254
+ scrollTo: (options: ScrollToOptions | number, yCoord?: number) => void;
1255
+ setScrollLeft: (left?: number) => void;
1256
+ setScrollTop: (top?: number) => void;
1257
+ allowDragLastColumn: boolean;
1258
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "select-all" | "scroll" | "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")[], PublicProps, {
1259
+ lazy: boolean;
1260
+ style: StyleValue;
1261
+ border: boolean;
1262
+ className: string;
1263
+ tableLayout: "fixed" | "auto";
1264
+ data: any[];
1265
+ fit: boolean;
1266
+ scrollbarAlwaysOn: boolean;
1267
+ allowDragLastColumn: boolean;
1268
+ stripe: boolean;
1269
+ treeProps: TreeProps | undefined;
1270
+ showOverflowTooltip: boolean | Partial<Pick<UseTooltipProps, "offset" | "appendTo" | "effect" | "enterable" | "popperClass" | "placement" | "popperOptions" | "showArrow" | "transition" | "showAfter" | "hideAfter">> | undefined;
1271
+ showHeader: boolean;
1272
+ showSummary: boolean;
1273
+ highlightCurrentRow: boolean;
1274
+ defaultExpandAll: boolean;
1275
+ selectOnIndeterminate: boolean;
1276
+ indent: number;
1277
+ flexible: boolean;
1278
+ scrollbarTabindex: string | number;
1279
+ preserveExpandedContent: boolean;
1280
+ nativeScrollbar: boolean;
1281
+ }, true, {}, {}, {
1282
+ TableHeader: DefineComponent<ExtractPropTypes< {
1283
+ fixed: {
1284
+ type: StringConstructor;
1285
+ default: string;
1286
+ };
1287
+ store: {
1288
+ required: true;
1289
+ type: PropType<TableHeaderProps<any>["store"]>;
1290
+ };
1291
+ border: BooleanConstructor;
1292
+ defaultSort: {
1293
+ type: PropType<TableHeaderProps<any>["defaultSort"]>;
1294
+ default: () => {
1295
+ prop: string;
1296
+ order: string;
1297
+ };
1298
+ };
1299
+ appendFilterPanelTo: {
1300
+ type: StringConstructor;
1301
+ };
1302
+ allowDragLastColumn: {
1303
+ type: BooleanConstructor;
1304
+ };
1305
+ }>, {
1306
+ ns: {
1307
+ namespace: ComputedRef<string>;
1308
+ b: (blockSuffix?: string) => string;
1309
+ e: (element?: string) => string;
1310
+ m: (modifier?: string) => string;
1311
+ be: (blockSuffix?: string, element?: string) => string;
1312
+ em: (element?: string, modifier?: string) => string;
1313
+ bm: (blockSuffix?: string, modifier?: string) => string;
1314
+ bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
1315
+ is: {
1316
+ (name: string, state: boolean | undefined): string;
1317
+ (name: string): string;
1318
+ };
1319
+ cssVar: (object: Record<string, string>) => Record<string, string>;
1320
+ cssVarName: (name: string) => string;
1321
+ cssVarBlock: (object: Record<string, string>) => Record<string, string>;
1322
+ cssVarBlockName: (name: string) => string;
1323
+ };
1324
+ t: Translator;
1325
+ filterPanels: Ref<{}, {}>;
1326
+ onColumnsChange: (layout: TableLayout<DefaultRow>) => void;
1327
+ onScrollableChange: (layout: TableLayout<DefaultRow>) => void;
1328
+ columnRows: ComputedRef<TableColumnCtx<any>[][]>;
1329
+ getHeaderRowClass: (rowIndex: number) => string;
1330
+ getHeaderRowStyle: (rowIndex: number) => any;
1331
+ getHeaderCellClass: (rowIndex: number, columnIndex: number, row: any, column: TableColumnCtx<any>) => string;
1332
+ getHeaderCellStyle: (rowIndex: number, columnIndex: number, row: any, column: TableColumnCtx<any>) => CSSProperties;
1333
+ handleHeaderClick: (event: Event, column: TableColumnCtx<any>) => void;
1334
+ handleHeaderContextMenu: (event: Event, column: TableColumnCtx<any>) => void;
1335
+ handleMouseDown: (event: MouseEvent, column: TableColumnCtx<any>) => void;
1336
+ handleMouseMove: (event: MouseEvent, column: TableColumnCtx<any>) => void;
1337
+ handleMouseOut: () => void;
1338
+ handleSortClick: (event: Event, column: TableColumnCtx<any>, givenOrder?: TableSortOrder | boolean) => void;
1339
+ handleFilterClick: (event: Event) => void;
1340
+ isGroup: ComputedRef<boolean>;
1341
+ toggleAllSelection: (event: Event) => void;
1342
+ saveIndexSelection: Reactive<Map<any, any>>;
1343
+ isTableLayoutAuto: boolean;
1344
+ theadRef: Ref<any, any>;
1345
+ updateFixedColumnStyle: () => void;
1346
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1347
+ fixed: {
1348
+ type: StringConstructor;
1349
+ default: string;
1350
+ };
1351
+ store: {
1352
+ required: true;
1353
+ type: PropType<TableHeaderProps<any>["store"]>;
1354
+ };
1355
+ border: BooleanConstructor;
1356
+ defaultSort: {
1357
+ type: PropType<TableHeaderProps<any>["defaultSort"]>;
1358
+ default: () => {
1359
+ prop: string;
1360
+ order: string;
1361
+ };
1362
+ };
1363
+ appendFilterPanelTo: {
1364
+ type: StringConstructor;
1365
+ };
1366
+ allowDragLastColumn: {
1367
+ type: BooleanConstructor;
1368
+ };
1369
+ }>> & Readonly<{}>, {
1370
+ fixed: string;
1371
+ border: boolean;
1372
+ defaultSort: Sort;
1373
+ allowDragLastColumn: boolean;
1374
+ }, {}, {
1375
+ ElCheckbox: {
1376
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<CheckboxProps> & Readonly<{
1377
+ onChange?: ((val: CheckboxValueType) => any) | undefined;
1378
+ "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
1379
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1380
+ change: (val: CheckboxValueType) => void;
1381
+ "update:modelValue": (val: CheckboxValueType) => void;
1382
+ }, PublicProps, {
1383
+ id: string;
1384
+ disabled: boolean;
1385
+ modelValue: number | string | boolean;
1386
+ validateEvent: boolean;
1387
+ name: string;
1388
+ value: string | boolean | number | object;
1389
+ label: string | boolean | number | object;
1390
+ trueValue: string | number;
1391
+ falseValue: string | number;
1392
+ trueLabel: string | number;
1393
+ falseLabel: string | number;
1394
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1395
+ P: {};
1396
+ B: {};
1397
+ D: {};
1398
+ C: {};
1399
+ M: {};
1400
+ Defaults: {};
1401
+ }, Readonly<CheckboxProps> & Readonly<{
1402
+ onChange?: ((val: CheckboxValueType) => any) | undefined;
1403
+ "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
1404
+ }>, {}, {}, {}, {}, {
1405
+ id: string;
1406
+ disabled: boolean;
1407
+ modelValue: number | string | boolean;
1408
+ validateEvent: boolean;
1409
+ name: string;
1410
+ value: string | boolean | number | object;
1411
+ label: string | boolean | number | object;
1412
+ trueValue: string | number;
1413
+ falseValue: string | number;
1414
+ trueLabel: string | number;
1415
+ falseLabel: string | number;
1416
+ }>;
1417
+ __isFragment?: never;
1418
+ __isTeleport?: never;
1419
+ __isSuspense?: never;
1420
+ } & ComponentOptionsBase<Readonly<CheckboxProps> & Readonly<{
1421
+ onChange?: ((val: CheckboxValueType) => any) | undefined;
1422
+ "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
1423
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1424
+ change: (val: CheckboxValueType) => void;
1425
+ "update:modelValue": (val: CheckboxValueType) => void;
1426
+ }, string, {
1427
+ id: string;
1428
+ disabled: boolean;
1429
+ modelValue: number | string | boolean;
1430
+ validateEvent: boolean;
1431
+ name: string;
1432
+ value: string | boolean | number | object;
1433
+ label: string | boolean | number | object;
1434
+ trueValue: string | number;
1435
+ falseValue: string | number;
1436
+ trueLabel: string | number;
1437
+ falseLabel: string | number;
1438
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
1439
+ $slots: {
1440
+ default?: (props: {}) => any;
1441
+ };
1442
+ }) & ObjectPlugin & {
1443
+ setPropsDefaults: (defaults: Partial<Omit<{
1444
+ readonly modelValue?: (number | string | boolean) | undefined;
1445
+ readonly label?: (string | boolean | number | object) | undefined;
1446
+ readonly value?: (string | boolean | number | object) | undefined;
1447
+ readonly indeterminate?: boolean | undefined;
1448
+ readonly disabled?: boolean | undefined;
1449
+ readonly checked?: boolean | undefined;
1450
+ readonly name?: string | undefined;
1451
+ readonly trueValue?: (string | number) | undefined;
1452
+ readonly falseValue?: (string | number) | undefined;
1453
+ readonly trueLabel?: (string | number) | undefined;
1454
+ readonly falseLabel?: (string | number) | undefined;
1455
+ readonly id?: string | undefined;
1456
+ readonly border?: boolean | undefined;
1457
+ readonly size?: ComponentSize | undefined;
1458
+ readonly tabindex?: (string | number) | undefined;
1459
+ readonly validateEvent?: boolean | undefined;
1460
+ readonly ariaLabel?: string | undefined;
1461
+ readonly ariaControls?: string | undefined;
1462
+ readonly onChange?: ((val: CheckboxValueType) => any) | undefined;
1463
+ readonly "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
1464
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "onChange" | "onUpdate:modelValue" | keyof VNodeProps | keyof AllowedComponentProps>>) => void;
1465
+ } & {
1466
+ CheckboxButton: {
1467
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<CheckboxProps> & Readonly<{
1468
+ onChange?: ((val: CheckboxValueType) => any) | undefined;
1469
+ "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
1470
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1471
+ change: (val: CheckboxValueType) => void;
1472
+ "update:modelValue": (val: CheckboxValueType) => void;
1473
+ }, PublicProps, {
1474
+ id: string;
1475
+ disabled: boolean;
1476
+ modelValue: number | string | boolean;
1477
+ validateEvent: boolean;
1478
+ name: string;
1479
+ value: string | boolean | number | object;
1480
+ label: string | boolean | number | object;
1481
+ trueValue: string | number;
1482
+ falseValue: string | number;
1483
+ trueLabel: string | number;
1484
+ falseLabel: string | number;
1485
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1486
+ P: {};
1487
+ B: {};
1488
+ D: {};
1489
+ C: {};
1490
+ M: {};
1491
+ Defaults: {};
1492
+ }, Readonly<CheckboxProps> & Readonly<{
1493
+ onChange?: ((val: CheckboxValueType) => any) | undefined;
1494
+ "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
1495
+ }>, {}, {}, {}, {}, {
1496
+ id: string;
1497
+ disabled: boolean;
1498
+ modelValue: number | string | boolean;
1499
+ validateEvent: boolean;
1500
+ name: string;
1501
+ value: string | boolean | number | object;
1502
+ label: string | boolean | number | object;
1503
+ trueValue: string | number;
1504
+ falseValue: string | number;
1505
+ trueLabel: string | number;
1506
+ falseLabel: string | number;
1507
+ }>;
1508
+ __isFragment?: never;
1509
+ __isTeleport?: never;
1510
+ __isSuspense?: never;
1511
+ } & ComponentOptionsBase<Readonly<CheckboxProps> & Readonly<{
1512
+ onChange?: ((val: CheckboxValueType) => any) | undefined;
1513
+ "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
1514
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1515
+ change: (val: CheckboxValueType) => void;
1516
+ "update:modelValue": (val: CheckboxValueType) => void;
1517
+ }, string, {
1518
+ id: string;
1519
+ disabled: boolean;
1520
+ modelValue: number | string | boolean;
1521
+ validateEvent: boolean;
1522
+ name: string;
1523
+ value: string | boolean | number | object;
1524
+ label: string | boolean | number | object;
1525
+ trueValue: string | number;
1526
+ falseValue: string | number;
1527
+ trueLabel: string | number;
1528
+ falseLabel: string | number;
1529
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
1530
+ $slots: {
1531
+ default?: (props: {}) => any;
1532
+ };
1533
+ });
1534
+ CheckboxGroup: {
1535
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<CheckboxGroupProps> & Readonly<{
1536
+ onChange?: ((val: CheckboxValueType[]) => any) | undefined;
1537
+ "onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
1538
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1539
+ change: (val: CheckboxValueType[]) => void;
1540
+ "update:modelValue": (val: CheckboxGroupValueType) => void;
1541
+ }, PublicProps, {
1542
+ props: {
1543
+ value?: string;
1544
+ label?: string;
1545
+ disabled?: string;
1546
+ };
1547
+ type: "checkbox" | "button";
1548
+ disabled: boolean;
1549
+ modelValue: CheckboxGroupValueType;
1550
+ validateEvent: boolean;
1551
+ tag: string;
1552
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1553
+ P: {};
1554
+ B: {};
1555
+ D: {};
1556
+ C: {};
1557
+ M: {};
1558
+ Defaults: {};
1559
+ }, Readonly<CheckboxGroupProps> & Readonly<{
1560
+ onChange?: ((val: CheckboxValueType[]) => any) | undefined;
1561
+ "onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
1562
+ }>, {}, {}, {}, {}, {
1563
+ props: {
1564
+ value?: string;
1565
+ label?: string;
1566
+ disabled?: string;
1567
+ };
1568
+ type: "checkbox" | "button";
1569
+ disabled: boolean;
1570
+ modelValue: CheckboxGroupValueType;
1571
+ validateEvent: boolean;
1572
+ tag: string;
1573
+ }>;
1574
+ __isFragment?: never;
1575
+ __isTeleport?: never;
1576
+ __isSuspense?: never;
1577
+ } & ComponentOptionsBase<Readonly<CheckboxGroupProps> & Readonly<{
1578
+ onChange?: ((val: CheckboxValueType[]) => any) | undefined;
1579
+ "onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
1580
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1581
+ change: (val: CheckboxValueType[]) => void;
1582
+ "update:modelValue": (val: CheckboxGroupValueType) => void;
1583
+ }, string, {
1584
+ props: {
1585
+ value?: string;
1586
+ label?: string;
1587
+ disabled?: string;
1588
+ };
1589
+ type: "checkbox" | "button";
1590
+ disabled: boolean;
1591
+ modelValue: CheckboxGroupValueType;
1592
+ validateEvent: boolean;
1593
+ tag: string;
1594
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
1595
+ $slots: {
1596
+ default?: (props: {}) => any;
1597
+ };
1598
+ });
1599
+ };
1600
+ }, {}, string, ComponentProvideOptions, true, {}, any>;
1601
+ TableBody: DefineComponent<ExtractPropTypes< {
1602
+ store: {
1603
+ required: boolean;
1604
+ type: PropType<TableBodyProps<any>["store"]>;
1605
+ };
1606
+ stripe: BooleanConstructor;
1607
+ tooltipEffect: StringConstructor;
1608
+ tooltipOptions: {
1609
+ type: PropType<TableBodyProps<any>["tooltipOptions"]>;
1610
+ };
1611
+ context: {
1612
+ default: () => {};
1613
+ type: PropType<TableBodyProps<any>["context"]>;
1614
+ };
1615
+ rowClassName: PropType<TableBodyProps<any>["rowClassName"]>;
1616
+ rowStyle: PropType<TableBodyProps<any>["rowStyle"]>;
1617
+ fixed: {
1618
+ type: StringConstructor;
1619
+ default: string;
1620
+ };
1621
+ highlight: BooleanConstructor;
1622
+ }>, {
1623
+ ns: {
1624
+ namespace: ComputedRef<string>;
1625
+ b: (blockSuffix?: string) => string;
1626
+ e: (element?: string) => string;
1627
+ m: (modifier?: string) => string;
1628
+ be: (blockSuffix?: string, element?: string) => string;
1629
+ em: (element?: string, modifier?: string) => string;
1630
+ bm: (blockSuffix?: string, modifier?: string) => string;
1631
+ bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
1632
+ is: {
1633
+ (name: string, state: boolean | undefined): string;
1634
+ (name: string): string;
1635
+ };
1636
+ cssVar: (object: Record<string, string>) => Record<string, string>;
1637
+ cssVarName: (name: string) => string;
1638
+ cssVarBlock: (object: Record<string, string>) => Record<string, string>;
1639
+ cssVarBlockName: (name: string) => string;
1640
+ };
1641
+ onColumnsChange: (layout: TableLayout<DefaultRow>) => void;
1642
+ onScrollableChange: (layout: TableLayout<DefaultRow>) => void;
1643
+ wrappedRowRender: (row: any, $index: number) => VNode<RendererNode, RendererElement, {
1644
+ [key: string]: any;
1645
+ }> | VNode<RendererNode, RendererElement, {
1646
+ [key: string]: any;
1647
+ }>[] | VNode<RendererNode, RendererElement, {
1648
+ [key: string]: any;
1649
+ }>[][];
1650
+ tooltipContent: Ref<string, string>;
1651
+ tooltipTrigger: Ref<VNode<RendererNode, RendererElement, {
1652
+ [key: string]: any;
1653
+ }>, VNode<RendererNode, RendererElement, {
1654
+ [key: string]: any;
1655
+ }>>;
1656
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1657
+ store: {
1658
+ required: boolean;
1659
+ type: PropType<TableBodyProps<any>["store"]>;
1660
+ };
1661
+ stripe: BooleanConstructor;
1662
+ tooltipEffect: StringConstructor;
1663
+ tooltipOptions: {
1664
+ type: PropType<TableBodyProps<any>["tooltipOptions"]>;
1665
+ };
1666
+ context: {
1667
+ default: () => {};
1668
+ type: PropType<TableBodyProps<any>["context"]>;
1669
+ };
1670
+ rowClassName: PropType<TableBodyProps<any>["rowClassName"]>;
1671
+ rowStyle: PropType<TableBodyProps<any>["rowStyle"]>;
1672
+ fixed: {
1673
+ type: StringConstructor;
1674
+ default: string;
1675
+ };
1676
+ highlight: BooleanConstructor;
1677
+ }>> & Readonly<{}>, {
1678
+ fixed: string;
1679
+ context: Table<any>;
1680
+ stripe: boolean;
1681
+ highlight: boolean;
1682
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1683
+ TableFooter: DefineComponent<ExtractPropTypes< {
1684
+ fixed: {
1685
+ type: StringConstructor;
1686
+ default: string;
1687
+ };
1688
+ store: {
1689
+ required: true;
1690
+ type: PropType<TableFooter<any>["store"]>;
1691
+ };
1692
+ summaryMethod: PropType<TableFooter<any>["summaryMethod"]>;
1693
+ sumText: StringConstructor;
1694
+ border: BooleanConstructor;
1695
+ defaultSort: {
1696
+ type: PropType<TableFooter<any>["defaultSort"]>;
1697
+ default: () => {
1698
+ prop: string;
1699
+ order: string;
1700
+ };
1701
+ };
1702
+ }>, {
1703
+ ns: {
1704
+ namespace: ComputedRef<string>;
1705
+ b: (blockSuffix?: string) => string;
1706
+ e: (element?: string) => string;
1707
+ m: (modifier?: string) => string;
1708
+ be: (blockSuffix?: string, element?: string) => string;
1709
+ em: (element?: string, modifier?: string) => string;
1710
+ bm: (blockSuffix?: string, modifier?: string) => string;
1711
+ bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
1712
+ is: {
1713
+ (name: string, state: boolean | undefined): string;
1714
+ (name: string): string;
1715
+ };
1716
+ cssVar: (object: Record<string, string>) => Record<string, string>;
1717
+ cssVarName: (name: string) => string;
1718
+ cssVarBlock: (object: Record<string, string>) => Record<string, string>;
1719
+ cssVarBlockName: (name: string) => string;
1720
+ };
1721
+ onScrollableChange: (layout: TableLayout<any>) => void;
1722
+ onColumnsChange: (layout: TableLayout<any>) => void;
1723
+ getCellClasses: (columns: TableColumnCtx<any>[], cellIndex: number) => string[];
1724
+ getCellStyles: (column: TableColumnCtx<any>, cellIndex: number) => CSSProperties | undefined;
1725
+ columns: ComputedRef<TableColumnCtx<DefaultRow>[]>;
1726
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1727
+ fixed: {
1728
+ type: StringConstructor;
1729
+ default: string;
1730
+ };
1731
+ store: {
1732
+ required: true;
1733
+ type: PropType<TableFooter<any>["store"]>;
1734
+ };
1735
+ summaryMethod: PropType<TableFooter<any>["summaryMethod"]>;
1736
+ sumText: StringConstructor;
1737
+ border: BooleanConstructor;
1738
+ defaultSort: {
1739
+ type: PropType<TableFooter<any>["defaultSort"]>;
1740
+ default: () => {
1741
+ prop: string;
1742
+ order: string;
1743
+ };
1744
+ };
1745
+ }>> & Readonly<{}>, {
1746
+ fixed: string;
1747
+ border: boolean;
1748
+ defaultSort: Sort;
1749
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1750
+ ElScrollbar: SFCWithInstall< {
1751
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ScrollbarProps> & Readonly<{
1752
+ onScroll?: ((args_0: {
1753
+ scrollTop: number;
1754
+ scrollLeft: number;
1755
+ }) => any) | undefined;
1756
+ "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
1757
+ }>, {
1758
+ wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
1759
+ update: () => void;
1760
+ scrollTo: {
1761
+ (xCord: number, yCord?: number): void;
1762
+ (options: ScrollToOptions): void;
1763
+ };
1764
+ setScrollTop: (value: number) => void;
1765
+ setScrollLeft: (value: number) => void;
1766
+ handleScroll: () => void;
1767
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1768
+ scroll: (args_0: {
1769
+ scrollTop: number;
1770
+ scrollLeft: number;
1771
+ }) => void;
1772
+ "end-reached": (direction: ScrollbarDirection) => void;
1773
+ }, PublicProps, {
1774
+ tabindex: number | string;
1775
+ height: number | string;
1776
+ maxHeight: number | string;
1777
+ tag: keyof HTMLElementTagNameMap | (string & {});
1778
+ distance: number;
1779
+ wrapStyle: string | false | CSSProperties | StyleValue[] | null;
1780
+ wrapClass: string | string[];
1781
+ viewClass: string | string[];
1782
+ viewStyle: string | false | CSSProperties | StyleValue[] | null;
1783
+ minSize: number;
1784
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1785
+ P: {};
1786
+ B: {};
1787
+ D: {};
1788
+ C: {};
1789
+ M: {};
1790
+ Defaults: {};
1791
+ }, Readonly<ScrollbarProps> & Readonly<{
1792
+ onScroll?: ((args_0: {
1793
+ scrollTop: number;
1794
+ scrollLeft: number;
1795
+ }) => any) | undefined;
1796
+ "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
1797
+ }>, {
1798
+ wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
1799
+ update: () => void;
1800
+ scrollTo: {
1801
+ (xCord: number, yCord?: number): void;
1802
+ (options: ScrollToOptions): void;
1803
+ };
1804
+ setScrollTop: (value: number) => void;
1805
+ setScrollLeft: (value: number) => void;
1806
+ handleScroll: () => void;
1807
+ }, {}, {}, {}, {
1808
+ tabindex: number | string;
1809
+ height: number | string;
1810
+ maxHeight: number | string;
1811
+ tag: keyof HTMLElementTagNameMap | (string & {});
1812
+ distance: number;
1813
+ wrapStyle: string | false | CSSProperties | StyleValue[] | null;
1814
+ wrapClass: string | string[];
1815
+ viewClass: string | string[];
1816
+ viewStyle: string | false | CSSProperties | StyleValue[] | null;
1817
+ minSize: number;
1818
+ }>;
1819
+ __isFragment?: never;
1820
+ __isTeleport?: never;
1821
+ __isSuspense?: never;
1822
+ } & ComponentOptionsBase<Readonly<ScrollbarProps> & Readonly<{
1823
+ onScroll?: ((args_0: {
1824
+ scrollTop: number;
1825
+ scrollLeft: number;
1826
+ }) => any) | undefined;
1827
+ "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
1828
+ }>, {
1829
+ wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
1830
+ update: () => void;
1831
+ scrollTo: {
1832
+ (xCord: number, yCord?: number): void;
1833
+ (options: ScrollToOptions): void;
1834
+ };
1835
+ setScrollTop: (value: number) => void;
1836
+ setScrollLeft: (value: number) => void;
1837
+ handleScroll: () => void;
1838
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1839
+ scroll: (args_0: {
1840
+ scrollTop: number;
1841
+ scrollLeft: number;
1842
+ }) => void;
1843
+ "end-reached": (direction: ScrollbarDirection) => void;
1844
+ }, string, {
1845
+ tabindex: number | string;
1846
+ height: number | string;
1847
+ maxHeight: number | string;
1848
+ tag: keyof HTMLElementTagNameMap | (string & {});
1849
+ distance: number;
1850
+ wrapStyle: string | false | CSSProperties | StyleValue[] | null;
1851
+ wrapClass: string | string[];
1852
+ viewClass: string | string[];
1853
+ viewStyle: string | false | CSSProperties | StyleValue[] | null;
1854
+ minSize: number;
1855
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
1856
+ $slots: {
1857
+ default?: (props: {}) => any;
1858
+ };
1859
+ })>;
1860
+ hColgroup: hColgroup;
1861
+ } & GlobalComponents, {
1862
+ Mousewheel: ObjectDirective<WheelElement, MousewheelCallback, string, any>;
1863
+ } & GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1864
+ P: {};
1865
+ B: {};
1866
+ D: {};
1867
+ C: {};
1868
+ M: {};
1869
+ Defaults: {};
1870
+ }, Readonly<ExtractPropTypes< {
1871
+ data: {
1872
+ type: PropType<any[]>;
1873
+ default: () => never[];
1874
+ };
1875
+ size: {
1876
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
1877
+ readonly required: false;
1878
+ readonly validator: ((val: unknown) => boolean) | undefined;
1879
+ __epPropKey: true;
1880
+ };
1881
+ width: (NumberConstructor | StringConstructor)[];
1882
+ height: (NumberConstructor | StringConstructor)[];
1883
+ maxHeight: (NumberConstructor | StringConstructor)[];
1884
+ fit: {
1885
+ type: BooleanConstructor;
1886
+ default: boolean;
1887
+ };
1888
+ stripe: BooleanConstructor;
1889
+ border: BooleanConstructor;
1890
+ rowKey: PropType<TableProps<any>["rowKey"]>;
1891
+ showHeader: {
1892
+ type: BooleanConstructor;
1893
+ default: boolean;
1894
+ };
1895
+ showSummary: BooleanConstructor;
1896
+ sumText: StringConstructor;
1897
+ summaryMethod: PropType<TableProps<any>["summaryMethod"]>;
1898
+ rowClassName: PropType<TableProps<any>["rowClassName"]>;
1899
+ rowStyle: PropType<TableProps<any>["rowStyle"]>;
1900
+ cellClassName: PropType<TableProps<any>["cellClassName"]>;
1901
+ cellStyle: PropType<TableProps<any>["cellStyle"]>;
1902
+ headerRowClassName: PropType<TableProps<any>["headerRowClassName"]>;
1903
+ headerRowStyle: PropType<TableProps<any>["headerRowStyle"]>;
1904
+ headerCellClassName: PropType<TableProps<any>["headerCellClassName"]>;
1905
+ headerCellStyle: PropType<TableProps<any>["headerCellStyle"]>;
1906
+ highlightCurrentRow: BooleanConstructor;
1907
+ currentRowKey: (NumberConstructor | StringConstructor)[];
1908
+ emptyText: StringConstructor;
1909
+ expandRowKeys: PropType<TableProps<any>["expandRowKeys"]>;
1910
+ defaultExpandAll: BooleanConstructor;
1911
+ rowExpandable: {
1912
+ type: PropType<TableProps<any>["rowExpandable"]>;
1913
+ };
1914
+ defaultSort: PropType<TableProps<any>["defaultSort"]>;
1915
+ tooltipEffect: StringConstructor;
1916
+ tooltipOptions: PropType<TableProps<any>["tooltipOptions"]>;
1917
+ spanMethod: PropType<TableProps<any>["spanMethod"]>;
1918
+ selectOnIndeterminate: {
1919
+ type: BooleanConstructor;
1920
+ default: boolean;
1921
+ };
1922
+ indent: {
1923
+ type: NumberConstructor;
1924
+ default: number;
1925
+ };
1926
+ treeProps: {
1927
+ type: PropType<TableProps<any>["treeProps"]>;
1928
+ default: () => {
1929
+ hasChildren: string;
1930
+ children: string;
1931
+ checkStrictly: boolean;
1932
+ };
1933
+ };
1934
+ lazy: BooleanConstructor;
1935
+ load: PropType<TableProps<any>["load"]>;
1936
+ style: {
1937
+ type: PropType<TableProps<any>["style"]>;
1938
+ default: () => {};
1939
+ };
1940
+ className: {
1941
+ type: StringConstructor;
1942
+ default: string;
1943
+ };
1944
+ tableLayout: {
1945
+ type: PropType<"fixed" | "auto">;
1946
+ default: string;
1947
+ };
1948
+ scrollbarAlwaysOn: BooleanConstructor;
1949
+ flexible: BooleanConstructor;
1950
+ showOverflowTooltip: {
1951
+ type: PropType<TableProps<any>["showOverflowTooltip"]>;
1952
+ default: undefined;
1953
+ };
1954
+ tooltipFormatter: PropType<TableProps<any>["tooltipFormatter"]>;
1955
+ appendFilterPanelTo: StringConstructor;
1956
+ scrollbarTabindex: {
1957
+ type: (NumberConstructor | StringConstructor)[];
1958
+ default: undefined;
1959
+ };
1960
+ allowDragLastColumn: {
1961
+ type: BooleanConstructor;
1962
+ default: boolean;
1963
+ };
1964
+ preserveExpandedContent: BooleanConstructor;
1965
+ nativeScrollbar: BooleanConstructor;
1966
+ }>> & Readonly<{
1967
+ onScroll?: ((...args: any[]) => any) | undefined;
1968
+ onSelect?: ((...args: any[]) => any) | undefined;
1969
+ "onExpand-change"?: ((...args: any[]) => any) | undefined;
1970
+ "onCurrent-change"?: ((...args: any[]) => any) | undefined;
1971
+ "onSelect-all"?: ((...args: any[]) => any) | undefined;
1972
+ "onSelection-change"?: ((...args: any[]) => any) | undefined;
1973
+ "onCell-mouse-enter"?: ((...args: any[]) => any) | undefined;
1974
+ "onCell-mouse-leave"?: ((...args: any[]) => any) | undefined;
1975
+ "onCell-contextmenu"?: ((...args: any[]) => any) | undefined;
1976
+ "onCell-click"?: ((...args: any[]) => any) | undefined;
1977
+ "onCell-dblclick"?: ((...args: any[]) => any) | undefined;
1978
+ "onRow-click"?: ((...args: any[]) => any) | undefined;
1979
+ "onRow-contextmenu"?: ((...args: any[]) => any) | undefined;
1980
+ "onRow-dblclick"?: ((...args: any[]) => any) | undefined;
1981
+ "onHeader-click"?: ((...args: any[]) => any) | undefined;
1982
+ "onHeader-contextmenu"?: ((...args: any[]) => any) | undefined;
1983
+ "onSort-change"?: ((...args: any[]) => any) | undefined;
1984
+ "onFilter-change"?: ((...args: any[]) => any) | undefined;
1985
+ "onHeader-dragend"?: ((...args: any[]) => any) | undefined;
1986
+ }>, {
1987
+ ns: {
1988
+ namespace: ComputedRef<string>;
1989
+ b: (blockSuffix?: string) => string;
1990
+ e: (element?: string) => string;
1991
+ m: (modifier?: string) => string;
1992
+ be: (blockSuffix?: string, element?: string) => string;
1993
+ em: (element?: string, modifier?: string) => string;
1994
+ bm: (blockSuffix?: string, modifier?: string) => string;
1995
+ bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
1996
+ is: {
1997
+ (name: string, state: boolean | undefined): string;
1998
+ (name: string): string;
1999
+ };
2000
+ cssVar: (object: Record<string, string>) => Record<string, string>;
2001
+ cssVarName: (name: string) => string;
2002
+ cssVarBlock: (object: Record<string, string>) => Record<string, string>;
2003
+ cssVarBlockName: (name: string) => string;
2004
+ };
2005
+ layout: TableLayout<any>;
2006
+ store: {
2007
+ mutations: {
2008
+ setData(states: {
2009
+ _currentRowKey: Ref<string | null, string | null>;
2010
+ currentRow: Ref<any, any>;
2011
+ expandRowKeys: Ref<string[], string[]>;
2012
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2013
+ indent: Ref<number, number>;
2014
+ lazy: Ref<boolean, boolean>;
2015
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2016
+ lazyColumnIdentifier: Ref<string, string>;
2017
+ childrenColumnName: Ref<string, string>;
2018
+ checkStrictly: Ref<boolean, boolean>;
2019
+ expandRows: Ref<any[], any[]>;
2020
+ defaultExpandAll: Ref<boolean, boolean>;
2021
+ tableSize: Ref<any, any>;
2022
+ rowKey: Ref<string | null, string | null>;
2023
+ data: Ref<any[], any[]>;
2024
+ _data: Ref<any[], any[]>;
2025
+ isComplex: Ref<boolean, boolean>;
2026
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2027
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2028
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2029
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2030
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2031
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2032
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2033
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2034
+ updateOrderFns: (() => void)[];
2035
+ leafColumnsLength: Ref<number, number>;
2036
+ fixedLeafColumnsLength: Ref<number, number>;
2037
+ rightFixedLeafColumnsLength: Ref<number, number>;
2038
+ isAllSelected: Ref<boolean, boolean>;
2039
+ selection: Ref<any[], any[]>;
2040
+ reserveSelection: Ref<boolean, boolean>;
2041
+ selectOnIndeterminate: Ref<boolean, boolean>;
2042
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2043
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2044
+ filters: Ref<StoreFilter, StoreFilter>;
2045
+ filteredData: Ref<any[] | null, any[] | null>;
2046
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2047
+ sortProp: Ref<string | null, string | null>;
2048
+ sortOrder: Ref<string | number | null, string | number | null>;
2049
+ hoverRow: Ref<any, any>;
2050
+ }, data: any[]): void;
2051
+ insertColumn(states: {
2052
+ _currentRowKey: Ref<string | null, string | null>;
2053
+ currentRow: Ref<any, any>;
2054
+ expandRowKeys: Ref<string[], string[]>;
2055
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2056
+ indent: Ref<number, number>;
2057
+ lazy: Ref<boolean, boolean>;
2058
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2059
+ lazyColumnIdentifier: Ref<string, string>;
2060
+ childrenColumnName: Ref<string, string>;
2061
+ checkStrictly: Ref<boolean, boolean>;
2062
+ expandRows: Ref<any[], any[]>;
2063
+ defaultExpandAll: Ref<boolean, boolean>;
2064
+ tableSize: Ref<any, any>;
2065
+ rowKey: Ref<string | null, string | null>;
2066
+ data: Ref<any[], any[]>;
2067
+ _data: Ref<any[], any[]>;
2068
+ isComplex: Ref<boolean, boolean>;
2069
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2070
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2071
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2072
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2073
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2074
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2075
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2076
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2077
+ updateOrderFns: (() => void)[];
2078
+ leafColumnsLength: Ref<number, number>;
2079
+ fixedLeafColumnsLength: Ref<number, number>;
2080
+ rightFixedLeafColumnsLength: Ref<number, number>;
2081
+ isAllSelected: Ref<boolean, boolean>;
2082
+ selection: Ref<any[], any[]>;
2083
+ reserveSelection: Ref<boolean, boolean>;
2084
+ selectOnIndeterminate: Ref<boolean, boolean>;
2085
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2086
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2087
+ filters: Ref<StoreFilter, StoreFilter>;
2088
+ filteredData: Ref<any[] | null, any[] | null>;
2089
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2090
+ sortProp: Ref<string | null, string | null>;
2091
+ sortOrder: Ref<string | number | null, string | number | null>;
2092
+ hoverRow: Ref<any, any>;
2093
+ }, column: TableColumnCtx<any>, parent: TableColumnCtx<any>, updateColumnOrder: () => void): void;
2094
+ updateColumnOrder(states: {
2095
+ _currentRowKey: Ref<string | null, string | null>;
2096
+ currentRow: Ref<any, any>;
2097
+ expandRowKeys: Ref<string[], string[]>;
2098
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2099
+ indent: Ref<number, number>;
2100
+ lazy: Ref<boolean, boolean>;
2101
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2102
+ lazyColumnIdentifier: Ref<string, string>;
2103
+ childrenColumnName: Ref<string, string>;
2104
+ checkStrictly: Ref<boolean, boolean>;
2105
+ expandRows: Ref<any[], any[]>;
2106
+ defaultExpandAll: Ref<boolean, boolean>;
2107
+ tableSize: Ref<any, any>;
2108
+ rowKey: Ref<string | null, string | null>;
2109
+ data: Ref<any[], any[]>;
2110
+ _data: Ref<any[], any[]>;
2111
+ isComplex: Ref<boolean, boolean>;
2112
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2113
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2114
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2115
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2116
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2117
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2118
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2119
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2120
+ updateOrderFns: (() => void)[];
2121
+ leafColumnsLength: Ref<number, number>;
2122
+ fixedLeafColumnsLength: Ref<number, number>;
2123
+ rightFixedLeafColumnsLength: Ref<number, number>;
2124
+ isAllSelected: Ref<boolean, boolean>;
2125
+ selection: Ref<any[], any[]>;
2126
+ reserveSelection: Ref<boolean, boolean>;
2127
+ selectOnIndeterminate: Ref<boolean, boolean>;
2128
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2129
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2130
+ filters: Ref<StoreFilter, StoreFilter>;
2131
+ filteredData: Ref<any[] | null, any[] | null>;
2132
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2133
+ sortProp: Ref<string | null, string | null>;
2134
+ sortOrder: Ref<string | number | null, string | number | null>;
2135
+ hoverRow: Ref<any, any>;
2136
+ }, column: TableColumnCtx<any>): void;
2137
+ removeColumn(states: {
2138
+ _currentRowKey: Ref<string | null, string | null>;
2139
+ currentRow: Ref<any, any>;
2140
+ expandRowKeys: Ref<string[], string[]>;
2141
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2142
+ indent: Ref<number, number>;
2143
+ lazy: Ref<boolean, boolean>;
2144
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2145
+ lazyColumnIdentifier: Ref<string, string>;
2146
+ childrenColumnName: Ref<string, string>;
2147
+ checkStrictly: Ref<boolean, boolean>;
2148
+ expandRows: Ref<any[], any[]>;
2149
+ defaultExpandAll: Ref<boolean, boolean>;
2150
+ tableSize: Ref<any, any>;
2151
+ rowKey: Ref<string | null, string | null>;
2152
+ data: Ref<any[], any[]>;
2153
+ _data: Ref<any[], any[]>;
2154
+ isComplex: Ref<boolean, boolean>;
2155
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2156
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2157
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2158
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2159
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2160
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2161
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2162
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2163
+ updateOrderFns: (() => void)[];
2164
+ leafColumnsLength: Ref<number, number>;
2165
+ fixedLeafColumnsLength: Ref<number, number>;
2166
+ rightFixedLeafColumnsLength: Ref<number, number>;
2167
+ isAllSelected: Ref<boolean, boolean>;
2168
+ selection: Ref<any[], any[]>;
2169
+ reserveSelection: Ref<boolean, boolean>;
2170
+ selectOnIndeterminate: Ref<boolean, boolean>;
2171
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2172
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2173
+ filters: Ref<StoreFilter, StoreFilter>;
2174
+ filteredData: Ref<any[] | null, any[] | null>;
2175
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2176
+ sortProp: Ref<string | null, string | null>;
2177
+ sortOrder: Ref<string | number | null, string | number | null>;
2178
+ hoverRow: Ref<any, any>;
2179
+ }, column: TableColumnCtx<any>, parent: TableColumnCtx<any>, updateColumnOrder: () => void): void;
2180
+ sort(states: {
2181
+ _currentRowKey: Ref<string | null, string | null>;
2182
+ currentRow: Ref<any, any>;
2183
+ expandRowKeys: Ref<string[], string[]>;
2184
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2185
+ indent: Ref<number, number>;
2186
+ lazy: Ref<boolean, boolean>;
2187
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2188
+ lazyColumnIdentifier: Ref<string, string>;
2189
+ childrenColumnName: Ref<string, string>;
2190
+ checkStrictly: Ref<boolean, boolean>;
2191
+ expandRows: Ref<any[], any[]>;
2192
+ defaultExpandAll: Ref<boolean, boolean>;
2193
+ tableSize: Ref<any, any>;
2194
+ rowKey: Ref<string | null, string | null>;
2195
+ data: Ref<any[], any[]>;
2196
+ _data: Ref<any[], any[]>;
2197
+ isComplex: Ref<boolean, boolean>;
2198
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2199
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2200
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2201
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2202
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2203
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2204
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2205
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2206
+ updateOrderFns: (() => void)[];
2207
+ leafColumnsLength: Ref<number, number>;
2208
+ fixedLeafColumnsLength: Ref<number, number>;
2209
+ rightFixedLeafColumnsLength: Ref<number, number>;
2210
+ isAllSelected: Ref<boolean, boolean>;
2211
+ selection: Ref<any[], any[]>;
2212
+ reserveSelection: Ref<boolean, boolean>;
2213
+ selectOnIndeterminate: Ref<boolean, boolean>;
2214
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2215
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2216
+ filters: Ref<StoreFilter, StoreFilter>;
2217
+ filteredData: Ref<any[] | null, any[] | null>;
2218
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2219
+ sortProp: Ref<string | null, string | null>;
2220
+ sortOrder: Ref<string | number | null, string | number | null>;
2221
+ hoverRow: Ref<any, any>;
2222
+ }, options: Sort): void;
2223
+ changeSortCondition(states: {
2224
+ _currentRowKey: Ref<string | null, string | null>;
2225
+ currentRow: Ref<any, any>;
2226
+ expandRowKeys: Ref<string[], string[]>;
2227
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2228
+ indent: Ref<number, number>;
2229
+ lazy: Ref<boolean, boolean>;
2230
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2231
+ lazyColumnIdentifier: Ref<string, string>;
2232
+ childrenColumnName: Ref<string, string>;
2233
+ checkStrictly: Ref<boolean, boolean>;
2234
+ expandRows: Ref<any[], any[]>;
2235
+ defaultExpandAll: Ref<boolean, boolean>;
2236
+ tableSize: Ref<any, any>;
2237
+ rowKey: Ref<string | null, string | null>;
2238
+ data: Ref<any[], any[]>;
2239
+ _data: Ref<any[], any[]>;
2240
+ isComplex: Ref<boolean, boolean>;
2241
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2242
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2243
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2244
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2245
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2246
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2247
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2248
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2249
+ updateOrderFns: (() => void)[];
2250
+ leafColumnsLength: Ref<number, number>;
2251
+ fixedLeafColumnsLength: Ref<number, number>;
2252
+ rightFixedLeafColumnsLength: Ref<number, number>;
2253
+ isAllSelected: Ref<boolean, boolean>;
2254
+ selection: Ref<any[], any[]>;
2255
+ reserveSelection: Ref<boolean, boolean>;
2256
+ selectOnIndeterminate: Ref<boolean, boolean>;
2257
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2258
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2259
+ filters: Ref<StoreFilter, StoreFilter>;
2260
+ filteredData: Ref<any[] | null, any[] | null>;
2261
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2262
+ sortProp: Ref<string | null, string | null>;
2263
+ sortOrder: Ref<string | number | null, string | number | null>;
2264
+ hoverRow: Ref<any, any>;
2265
+ }, options: Sort): void;
2266
+ filterChange(_states: {
2267
+ _currentRowKey: Ref<string | null, string | null>;
2268
+ currentRow: Ref<any, any>;
2269
+ expandRowKeys: Ref<string[], string[]>;
2270
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2271
+ indent: Ref<number, number>;
2272
+ lazy: Ref<boolean, boolean>;
2273
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2274
+ lazyColumnIdentifier: Ref<string, string>;
2275
+ childrenColumnName: Ref<string, string>;
2276
+ checkStrictly: Ref<boolean, boolean>;
2277
+ expandRows: Ref<any[], any[]>;
2278
+ defaultExpandAll: Ref<boolean, boolean>;
2279
+ tableSize: Ref<any, any>;
2280
+ rowKey: Ref<string | null, string | null>;
2281
+ data: Ref<any[], any[]>;
2282
+ _data: Ref<any[], any[]>;
2283
+ isComplex: Ref<boolean, boolean>;
2284
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2285
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2286
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2287
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2288
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2289
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2290
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2291
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2292
+ updateOrderFns: (() => void)[];
2293
+ leafColumnsLength: Ref<number, number>;
2294
+ fixedLeafColumnsLength: Ref<number, number>;
2295
+ rightFixedLeafColumnsLength: Ref<number, number>;
2296
+ isAllSelected: Ref<boolean, boolean>;
2297
+ selection: Ref<any[], any[]>;
2298
+ reserveSelection: Ref<boolean, boolean>;
2299
+ selectOnIndeterminate: Ref<boolean, boolean>;
2300
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2301
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2302
+ filters: Ref<StoreFilter, StoreFilter>;
2303
+ filteredData: Ref<any[] | null, any[] | null>;
2304
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2305
+ sortProp: Ref<string | null, string | null>;
2306
+ sortOrder: Ref<string | number | null, string | number | null>;
2307
+ hoverRow: Ref<any, any>;
2308
+ }, options: Filter<any>): void;
2309
+ toggleAllSelection(): void;
2310
+ rowSelectedChanged(_states: {
2311
+ _currentRowKey: Ref<string | null, string | null>;
2312
+ currentRow: Ref<any, any>;
2313
+ expandRowKeys: Ref<string[], string[]>;
2314
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2315
+ indent: Ref<number, number>;
2316
+ lazy: Ref<boolean, boolean>;
2317
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2318
+ lazyColumnIdentifier: Ref<string, string>;
2319
+ childrenColumnName: Ref<string, string>;
2320
+ checkStrictly: Ref<boolean, boolean>;
2321
+ expandRows: Ref<any[], any[]>;
2322
+ defaultExpandAll: Ref<boolean, boolean>;
2323
+ tableSize: Ref<any, any>;
2324
+ rowKey: Ref<string | null, string | null>;
2325
+ data: Ref<any[], any[]>;
2326
+ _data: Ref<any[], any[]>;
2327
+ isComplex: Ref<boolean, boolean>;
2328
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2329
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2330
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2331
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2332
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2333
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2334
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2335
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2336
+ updateOrderFns: (() => void)[];
2337
+ leafColumnsLength: Ref<number, number>;
2338
+ fixedLeafColumnsLength: Ref<number, number>;
2339
+ rightFixedLeafColumnsLength: Ref<number, number>;
2340
+ isAllSelected: Ref<boolean, boolean>;
2341
+ selection: Ref<any[], any[]>;
2342
+ reserveSelection: Ref<boolean, boolean>;
2343
+ selectOnIndeterminate: Ref<boolean, boolean>;
2344
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2345
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2346
+ filters: Ref<StoreFilter, StoreFilter>;
2347
+ filteredData: Ref<any[] | null, any[] | null>;
2348
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2349
+ sortProp: Ref<string | null, string | null>;
2350
+ sortOrder: Ref<string | number | null, string | number | null>;
2351
+ hoverRow: Ref<any, any>;
2352
+ }, row: any): void;
2353
+ setHoverRow(states: {
2354
+ _currentRowKey: Ref<string | null, string | null>;
2355
+ currentRow: Ref<any, any>;
2356
+ expandRowKeys: Ref<string[], string[]>;
2357
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2358
+ indent: Ref<number, number>;
2359
+ lazy: Ref<boolean, boolean>;
2360
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2361
+ lazyColumnIdentifier: Ref<string, string>;
2362
+ childrenColumnName: Ref<string, string>;
2363
+ checkStrictly: Ref<boolean, boolean>;
2364
+ expandRows: Ref<any[], any[]>;
2365
+ defaultExpandAll: Ref<boolean, boolean>;
2366
+ tableSize: Ref<any, any>;
2367
+ rowKey: Ref<string | null, string | null>;
2368
+ data: Ref<any[], any[]>;
2369
+ _data: Ref<any[], any[]>;
2370
+ isComplex: Ref<boolean, boolean>;
2371
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2372
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2373
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2374
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2375
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2376
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2377
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2378
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2379
+ updateOrderFns: (() => void)[];
2380
+ leafColumnsLength: Ref<number, number>;
2381
+ fixedLeafColumnsLength: Ref<number, number>;
2382
+ rightFixedLeafColumnsLength: Ref<number, number>;
2383
+ isAllSelected: Ref<boolean, boolean>;
2384
+ selection: Ref<any[], any[]>;
2385
+ reserveSelection: Ref<boolean, boolean>;
2386
+ selectOnIndeterminate: Ref<boolean, boolean>;
2387
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2388
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2389
+ filters: Ref<StoreFilter, StoreFilter>;
2390
+ filteredData: Ref<any[] | null, any[] | null>;
2391
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2392
+ sortProp: Ref<string | null, string | null>;
2393
+ sortOrder: Ref<string | number | null, string | number | null>;
2394
+ hoverRow: Ref<any, any>;
2395
+ }, row: any): void;
2396
+ setCurrentRow(_states: {
2397
+ _currentRowKey: Ref<string | null, string | null>;
2398
+ currentRow: Ref<any, any>;
2399
+ expandRowKeys: Ref<string[], string[]>;
2400
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2401
+ indent: Ref<number, number>;
2402
+ lazy: Ref<boolean, boolean>;
2403
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2404
+ lazyColumnIdentifier: Ref<string, string>;
2405
+ childrenColumnName: Ref<string, string>;
2406
+ checkStrictly: Ref<boolean, boolean>;
2407
+ expandRows: Ref<any[], any[]>;
2408
+ defaultExpandAll: Ref<boolean, boolean>;
2409
+ tableSize: Ref<any, any>;
2410
+ rowKey: Ref<string | null, string | null>;
2411
+ data: Ref<any[], any[]>;
2412
+ _data: Ref<any[], any[]>;
2413
+ isComplex: Ref<boolean, boolean>;
2414
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2415
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2416
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2417
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2418
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2419
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2420
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2421
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2422
+ updateOrderFns: (() => void)[];
2423
+ leafColumnsLength: Ref<number, number>;
2424
+ fixedLeafColumnsLength: Ref<number, number>;
2425
+ rightFixedLeafColumnsLength: Ref<number, number>;
2426
+ isAllSelected: Ref<boolean, boolean>;
2427
+ selection: Ref<any[], any[]>;
2428
+ reserveSelection: Ref<boolean, boolean>;
2429
+ selectOnIndeterminate: Ref<boolean, boolean>;
2430
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2431
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2432
+ filters: Ref<StoreFilter, StoreFilter>;
2433
+ filteredData: Ref<any[] | null, any[] | null>;
2434
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2435
+ sortProp: Ref<string | null, string | null>;
2436
+ sortOrder: Ref<string | number | null, string | number | null>;
2437
+ hoverRow: Ref<any, any>;
2438
+ }, row: any): void;
2439
+ };
2440
+ commit: (name: "sort" | "setData" | "insertColumn" | "updateColumnOrder" | "removeColumn" | "changeSortCondition" | "filterChange" | "toggleAllSelection" | "rowSelectedChanged" | "setHoverRow" | "setCurrentRow", ...args: any[]) => void;
2441
+ updateTableScrollY: () => void;
2442
+ assertRowKey: () => void;
2443
+ updateColumns: () => void;
2444
+ scheduleLayout: (needUpdateColumns?: boolean, immediate?: boolean) => void;
2445
+ isSelected: (row: any) => boolean;
2446
+ clearSelection: () => void;
2447
+ cleanSelection: () => void;
2448
+ getSelectionRows: () => any[];
2449
+ toggleRowSelection: (row: any, selected?: boolean, emitChange?: boolean, ignoreSelectable?: boolean) => void;
2450
+ _toggleAllSelection: () => void;
2451
+ toggleAllSelection: (() => void) | null;
2452
+ updateAllSelected: () => void;
2453
+ updateFilters: (column: TableColumnCtx<any>, values: string[]) => Record<string, string[]>;
2454
+ updateCurrentRow: (_currentRow: any) => void;
2455
+ updateSort: (column: TableColumnCtx<any> | null, prop: string | null, order: TableSortOrder | null) => void;
2456
+ execFilter: () => void;
2457
+ execSort: () => void;
2458
+ execQuery: (ignore?: {
2459
+ filter: boolean;
2460
+ } | undefined) => void;
2461
+ clearFilter: (columnKeys?: string[] | string) => void;
2462
+ clearSort: () => void;
2463
+ toggleRowExpansion: (row: any, expanded?: boolean) => void;
2464
+ setExpandRowKeysAdapter: (val: string[]) => void;
2465
+ setCurrentRowKey: (key: string) => void;
2466
+ toggleRowExpansionAdapter: (row: any, expanded?: boolean) => void;
2467
+ isRowExpanded: (row: any) => boolean;
2468
+ updateExpandRows: () => void;
2469
+ updateCurrentRowData: () => void;
2470
+ loadOrToggle: (row: any) => void;
2471
+ updateTreeData: (ifChangeExpandRowKeys?: boolean, ifExpandAll?: boolean) => void;
2472
+ updateKeyChildren: (key: string, data: any[]) => void;
2473
+ states: {
2474
+ _currentRowKey: Ref<string | null, string | null>;
2475
+ currentRow: Ref<any, any>;
2476
+ expandRowKeys: Ref<string[], string[]>;
2477
+ treeData: Ref<Record<string, TreeData>, Record<string, TreeData>>;
2478
+ indent: Ref<number, number>;
2479
+ lazy: Ref<boolean, boolean>;
2480
+ lazyTreeNodeMap: Ref<Record<string, any[]>, Record<string, any[]>>;
2481
+ lazyColumnIdentifier: Ref<string, string>;
2482
+ childrenColumnName: Ref<string, string>;
2483
+ checkStrictly: Ref<boolean, boolean>;
2484
+ expandRows: Ref<any[], any[]>;
2485
+ defaultExpandAll: Ref<boolean, boolean>;
2486
+ tableSize: Ref<any, any>;
2487
+ rowKey: Ref<string | null, string | null>;
2488
+ data: Ref<any[], any[]>;
2489
+ _data: Ref<any[], any[]>;
2490
+ isComplex: Ref<boolean, boolean>;
2491
+ _columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2492
+ originColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2493
+ columns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2494
+ fixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2495
+ rightFixedColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2496
+ leafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2497
+ fixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2498
+ rightFixedLeafColumns: Ref<TableColumnCtx<any>[], TableColumnCtx<any>[]>;
2499
+ updateOrderFns: (() => void)[];
2500
+ leafColumnsLength: Ref<number, number>;
2501
+ fixedLeafColumnsLength: Ref<number, number>;
2502
+ rightFixedLeafColumnsLength: Ref<number, number>;
2503
+ isAllSelected: Ref<boolean, boolean>;
2504
+ selection: Ref<any[], any[]>;
2505
+ reserveSelection: Ref<boolean, boolean>;
2506
+ selectOnIndeterminate: Ref<boolean, boolean>;
2507
+ selectable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2508
+ rowExpandable: Ref<((row: any, index: number) => boolean) | null, ((row: any, index: number) => boolean) | null>;
2509
+ filters: Ref<StoreFilter, StoreFilter>;
2510
+ filteredData: Ref<any[] | null, any[] | null>;
2511
+ sortingColumn: Ref<TableColumnCtx<any> | null, TableColumnCtx<any> | null>;
2512
+ sortProp: Ref<string | null, string | null>;
2513
+ sortOrder: Ref<string | number | null, string | number | null>;
2514
+ hoverRow: Ref<any, any>;
2515
+ };
2516
+ ns: {
2517
+ namespace: ComputedRef<string>;
2518
+ b: (blockSuffix?: string) => string;
2519
+ e: (element?: string) => string;
2520
+ m: (modifier?: string) => string;
2521
+ be: (blockSuffix?: string, element?: string) => string;
2522
+ em: (element?: string, modifier?: string) => string;
2523
+ bm: (blockSuffix?: string, modifier?: string) => string;
2524
+ bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
2525
+ is: {
2526
+ (name: string, state: boolean | undefined): string;
2527
+ (name: string): string;
2528
+ };
2529
+ cssVar: (object: Record<string, string>) => Record<string, string>;
2530
+ cssVarName: (name: string) => string;
2531
+ cssVarBlock: (object: Record<string, string>) => Record<string, string>;
2532
+ cssVarBlockName: (name: string) => string;
2533
+ };
2534
+ t: Translator;
2535
+ };
2536
+ columns: ComputedRef<TableColumnCtx<any>[]>;
2537
+ handleHeaderFooterMousewheel: (_event: WheelEvent, data: any) => void;
2538
+ handleMouseLeave: () => void;
2539
+ tableId: string;
2540
+ tableSize: ComputedRef<"" | "default" | "small" | "large">;
2541
+ isHidden: Ref<boolean, boolean>;
2542
+ isEmpty: ComputedRef<boolean>;
2543
+ renderExpanded: Ref<RenderExpanded<any> | null, RenderExpanded<any> | null>;
2544
+ resizeProxyVisible: Ref<boolean, boolean>;
2545
+ resizeState: Ref<{
2546
+ width: null | number;
2547
+ height: null | number;
2548
+ headerHeight: null | number;
2549
+ }, {
2550
+ width: null | number;
2551
+ height: null | number;
2552
+ headerHeight: null | number;
2553
+ } | {
2554
+ width: null | number;
2555
+ height: null | number;
2556
+ headerHeight: null | number;
2557
+ }>;
2558
+ isGroup: Ref<boolean, boolean>;
2559
+ bodyWidth: ComputedRef<string>;
2560
+ tableBodyStyles: ComputedRef< {
2561
+ width: string;
2562
+ }>;
2563
+ emptyBlockStyle: ComputedRef< {
2564
+ width: string;
2565
+ height: string;
2566
+ } | undefined>;
2567
+ debouncedUpdateLayout: DebouncedFunc<() => void>;
2568
+ setCurrentRow: (row: any) => void;
2569
+ getSelectionRows: () => any[];
2570
+ toggleRowSelection: (row: any, selected?: boolean, ignoreSelectable?: boolean) => void;
2571
+ clearSelection: () => void;
2572
+ clearFilter: (columnKeys?: string[] | string) => void;
2573
+ toggleAllSelection: () => void;
2574
+ toggleRowExpansion: (row: any, expanded?: boolean) => void;
2575
+ clearSort: () => void;
2576
+ doLayout: () => void;
2577
+ sort: (prop: string, order: string) => void;
2578
+ updateKeyChildren: (key: string, data: any[]) => void;
2579
+ t: Translator;
2580
+ setDragVisible: (visible: boolean) => void;
2581
+ context: Table<any>;
2582
+ computedSumText: ComputedRef<string>;
2583
+ computedEmptyText: ComputedRef<string>;
2584
+ computedTooltipEffect: ComputedRef<string | undefined>;
2585
+ computedTooltipOptions: ComputedRef<Partial<Pick<UseTooltipProps, "offset" | "appendTo" | "effect" | "enterable" | "popperClass" | "placement" | "popperOptions" | "showArrow" | "transition" | "showAfter" | "hideAfter">> | undefined>;
2586
+ tableLayout: ComputedRef<"fixed" | "auto">;
2587
+ scrollbarViewStyle: {
2588
+ display: string;
2589
+ verticalAlign: string;
2590
+ };
2591
+ scrollbarStyle: ComputedRef< {
2592
+ height: string;
2593
+ maxHeight?: undefined;
2594
+ } | {
2595
+ maxHeight: string;
2596
+ height?: undefined;
2597
+ } | {
2598
+ height?: undefined;
2599
+ maxHeight?: undefined;
2600
+ }>;
2601
+ scrollBarRef: Ref<any, any>;
2602
+ scrollTo: (options: ScrollToOptions | number, yCoord?: number) => void;
2603
+ setScrollLeft: (left?: number) => void;
2604
+ setScrollTop: (top?: number) => void;
2605
+ allowDragLastColumn: boolean;
2606
+ }, {}, {}, {}, {
2607
+ lazy: boolean;
2608
+ style: StyleValue;
2609
+ border: boolean;
2610
+ className: string;
2611
+ tableLayout: "fixed" | "auto";
2612
+ data: any[];
2613
+ fit: boolean;
2614
+ scrollbarAlwaysOn: boolean;
2615
+ allowDragLastColumn: boolean;
2616
+ stripe: boolean;
2617
+ treeProps: TreeProps | undefined;
2618
+ showOverflowTooltip: boolean | Partial<Pick<UseTooltipProps, "offset" | "appendTo" | "effect" | "enterable" | "popperClass" | "placement" | "popperOptions" | "showArrow" | "transition" | "showAfter" | "hideAfter">> | undefined;
2619
+ showHeader: boolean;
2620
+ showSummary: boolean;
2621
+ highlightCurrentRow: boolean;
2622
+ defaultExpandAll: boolean;
2623
+ selectOnIndeterminate: boolean;
2624
+ indent: number;
2625
+ flexible: boolean;
2626
+ scrollbarTabindex: string | number;
2627
+ preserveExpandedContent: boolean;
2628
+ nativeScrollbar: boolean;
2629
+ }> | null>>;
2630
+ tableData: Ref<D[]>;
2631
+ pageData: Ref<{
2632
+ pageNum: number;
2633
+ pageSize: number;
2634
+ totalPages: number;
2635
+ total: number;
2636
+ }, PageData | {
2637
+ pageNum: number;
2638
+ pageSize: number;
2639
+ totalPages: number;
2640
+ total: number;
2641
+ }>;
2642
+ refresh: () => Promise<void>;
2643
+ resetAndRefresh: () => Promise<void>;
2644
+ getSelectionRows: (() => any[]) | undefined;
2645
+ toggleRowSelection: ((row: any, selected?: boolean, ignoreSelectable?: boolean) => void) | undefined;
2646
+ setCurrentRow: ((row: any) => void) | undefined;
2647
+ clearSelection: (() => void) | undefined;
2648
+ scrollTo: ((options: ScrollToOptions | number, yCoord?: number) => void) | undefined;
2649
+ }>): void;
2650
+ attrs: any;
2651
+ slots: {
2652
+ query?(_: {}): any;
2653
+ actions?(_: {}): any;
2654
+ default?(_: {}): any;
2655
+ empty?(_: {}): any;
2656
+ };
2657
+ emit: ((evt: "search") => void) & ((evt: "reset") => void);
2658
+ }>) => VNode & {
2659
+ __ctx?: Awaited<typeof __VLS_setup>;
2660
+ };
2661
+ export { PageTable_2 as PageTable }
2662
+
2663
+ export declare type PageTableAction = 'search' | 'resetQuery';
2664
+
2665
+ export declare type PageTableProps<D, Q = undefined> = {
2666
+ /**
2667
+ * 自动加载数据
2668
+ * @default true
2669
+ */
2670
+ autoLoad?: boolean;
2671
+ /** 搜索按钮的文本 */
2672
+ searchActionLabel?: string;
2673
+ /** 顶部栏按钮 */
2674
+ actions?: PageTableAction[];
2675
+ /** 获取分页数据的方法 */
2676
+ fetchPage: FetchPage<D, Q>;
2677
+ /** 分页参数 */
2678
+ pageParams?: PageParams;
2679
+ /** 查询参数 */
2680
+ queryParams?: Q;
2681
+ /** 分页大小切换选项 */
2682
+ pageSizes: number[];
2683
+ /** 表格选择行为模式 */
2684
+ selectionMode?: SelectionMode_2;
2685
+ /** 表格高度,为空则占据页面最大可用高度 */
2686
+ tableHeight?: number | string;
2687
+ /** 设置表格单元、行和列的布局方式 */
2688
+ tableLayout?: 'auto' | 'fixed';
2689
+ };
2690
+
2691
+ export declare interface PluginMenuData {
2692
+ title: string;
2693
+ path: string;
2694
+ children?: Array<PluginMenuData>;
2695
+ }
2696
+
2697
+ declare const PluginMenuItem_2: DefineComponent<PluginMenuItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PluginMenuItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2698
+ export { PluginMenuItem_2 as PluginMenuItem }
2699
+
2700
+ export declare interface PluginMenuItemProps {
2701
+ menu: PluginMenuData;
2702
+ }
2703
+
2704
+ declare const PluginMenus_2: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
2705
+ export { PluginMenus_2 as PluginMenus }
2706
+
2707
+ export declare interface PluginMenusProps {
2708
+ menus: Array<PluginMenuData>;
2709
+ activeIndex: string;
2710
+ }
2711
+
2712
+ declare const PluginPageContent_2: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
2713
+ export { PluginPageContent_2 as PluginPageContent }
2714
+
2715
+ declare const PluginPageHeader_2: DefineComponent<PluginMenusProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2716
+ handleMenuSelect: (menu: PluginMenuData) => any;
2717
+ }, string, PublicProps, Readonly<PluginMenusProps> & Readonly<{
2718
+ onHandleMenuSelect?: ((menu: PluginMenuData) => any) | undefined;
2719
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2720
+ export { PluginPageHeader_2 as PluginPageHeader }
2721
+
2722
+ declare const SelectDialog_2: <T = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2723
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
2724
+ readonly onConfirm?: ((list: T[]) => any) | undefined;
2725
+ readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
2726
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onConfirm" | "onUpdate:modelValue"> & ({
2727
+ modelValue: boolean;
2728
+ } & SelectDialogProps<T>) & Partial<{}>> & PublicProps;
2729
+ expose(exposed: ShallowUnwrapRef< {}>): void;
2730
+ attrs: any;
2731
+ slots: {
2732
+ item?(_: {}): any;
2733
+ 'item-label'?(_: {}): any;
2734
+ };
2735
+ emit: ((evt: "confirm", list: T[]) => void) & ((evt: "update:modelValue", value: boolean) => void);
2736
+ }>) => VNode & {
2737
+ __ctx?: Awaited<typeof __VLS_setup>;
2738
+ };
2739
+ export { SelectDialog_2 as SelectDialog }
2740
+
2741
+ export declare interface SelectDialogProps<T = unknown> {
2742
+ title?: string;
2743
+ options: T[] | (() => Promise<T[]>);
2744
+ defaultSelectedList?: T[];
2745
+ getDataLabel: (data: T) => string;
2746
+ getDataId: (data: T) => string | number;
2747
+ multiple?: boolean;
2748
+ canSelectAll?: boolean;
2749
+ showCurrentSelection?: boolean;
2750
+ confirmText?: string;
2751
+ cancelText?: string;
2752
+ noSelectionTip?: string;
2753
+ }
2754
+
2755
+ declare type SelectionMode_2 = 'none' | 'single' | 'multiple';
2756
+ export { SelectionMode_2 as SelectionMode }
2757
+
2758
+ declare const SettingGroup_2: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2759
+ export { SettingGroup_2 as SettingGroup }
2760
+
2761
+ declare const SettingItem_2: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2762
+ export { SettingItem_2 as SettingItem }
2763
+
2764
+ /**
2765
+ * 显示确认提示
2766
+ */
2767
+ export declare function showConfirm(message: string, title?: string, options?: ElMessageBoxOptions): Promise<void>;
2768
+
2769
+ /**
2770
+ * 按顺序依次显示多个确认弹窗,任意一步取消都会中断后续确认。
2771
+ */
2772
+ export declare function showConfirmSequence(confirms: Array<Parameters<typeof showConfirm>>): Promise<void>;
2773
+
2774
+ /**
2775
+ * 显示错误提示
2776
+ */
2777
+ export declare function showError(msg: string): void;
2778
+
2779
+ export declare const showPageRangeDialog: (options: PageRangeDialogProps) => Promise<[number, number] | undefined>;
2780
+
2781
+ export declare const showSelectDialog: <T>(options: SelectDialogProps<T>) => Promise<T[] | undefined>;
2782
+
2783
+ /**
2784
+ * 显示提示
2785
+ * @param message
2786
+ */
2787
+ export declare function showToast(message: string): void;
2788
+
2789
+ export declare function showToast({ message, type, duration, }: {
2790
+ message: string;
2791
+ type?: 'success' | 'warning' | 'info' | 'error';
2792
+ duration?: number;
2793
+ }): void;
2794
+
2795
+ /**
2796
+ * 显示警告提示
2797
+ */
2798
+ export declare function showWarning(msg: string): void;
2799
+
2800
+ /**
2801
+ * 切换为默认主题
2802
+ */
2803
+ export declare const switchDefaultTheme: () => Promise<void>;
2804
+
2805
+ export declare const switchThemeMode: (themeMode: AppThemeMode) => Promise<void>;
2806
+
2807
+ export declare const toolkitApi: ToolkitApi;
2808
+
2809
+ /**
2810
+ * 内容溢出提示
2811
+ */
2812
+ declare interface TooltipProps {
2813
+ content?: string;
2814
+ lines?: number;
2815
+ ellipsis?: 'right' | 'left';
2816
+ iconClass?: string;
2817
+ }
2818
+
2819
+ /**
2820
+ * 更新应用主题
2821
+ */
2822
+ export declare const updateAppTheme: (appThemeState?: AppThemeState) => Promise<void>;
2823
+
2824
+ export declare const updatePrimaryColor: (primaryColor: string) => Promise<void>;
2825
+
2826
+ /**
2827
+ * 应用主题状态 Store
2828
+ */
2829
+ export declare const useAppThemeStore: StoreDefinition<"biliToolkit-ui-theme", Pick<{
2830
+ init: (dbName?: string, updateEvent?: string) => Promise<void>;
2831
+ state: {
2832
+ primaryColorIndex: number;
2833
+ primaryColor: string;
2834
+ themeMode: AppThemeMode;
2835
+ bgMode: AppThemeBackgroundMode;
2836
+ dark: boolean;
2837
+ };
2838
+ switchThemeColor: () => string;
2839
+ setPrimaryColor: (color: string) => string;
2840
+ }, "state">, Pick<{
2841
+ init: (dbName?: string, updateEvent?: string) => Promise<void>;
2842
+ state: {
2843
+ primaryColorIndex: number;
2844
+ primaryColor: string;
2845
+ themeMode: AppThemeMode;
2846
+ bgMode: AppThemeBackgroundMode;
2847
+ dark: boolean;
2848
+ };
2849
+ switchThemeColor: () => string;
2850
+ setPrimaryColor: (color: string) => string;
2851
+ }, never>, Pick<{
2852
+ init: (dbName?: string, updateEvent?: string) => Promise<void>;
2853
+ state: {
2854
+ primaryColorIndex: number;
2855
+ primaryColor: string;
2856
+ themeMode: AppThemeMode;
2857
+ bgMode: AppThemeBackgroundMode;
2858
+ dark: boolean;
2859
+ };
2860
+ switchThemeColor: () => string;
2861
+ setPrimaryColor: (color: string) => string;
2862
+ }, "init" | "switchThemeColor" | "setPrimaryColor">>;
2863
+
2864
+ export declare const useAutoRefreshData: (doneFn: Promise<void> | (() => void | Promise<void>), intervalTimeMs?: number) => {
2865
+ loading: Ref<boolean, boolean>;
2866
+ refreshTableData: () => Promise<void>;
2867
+ reset: () => void;
2868
+ };
2869
+
2870
+ /**
2871
+ * 使用倒计时
2872
+ * @param initial
2873
+ */
2874
+ export declare function useCountdown(initial: number): {
2875
+ countdown: Ref<number, number>;
2876
+ start: (callback: () => void) => void;
2877
+ stop: () => void;
2878
+ };
2879
+
2880
+ /**
2881
+ * 封装的数据加载函数,方便关联返回的 loading
2882
+ */
2883
+ export declare const useLoadingData: (options?: UseLoadingDataOptions) => {
2884
+ loading: Ref<boolean, boolean>;
2885
+ hasLoaded: Ref<boolean, boolean>;
2886
+ loadingData: <TArgs extends any[] = [], TReturn = void>(doneFn: ((...args: TArgs) => TReturn | Promise<TReturn>) | Promise<TReturn>) => ((...args: TArgs) => Promise<TReturn>);
2887
+ };
2888
+
2889
+ declare interface UseLoadingDataOptions {
2890
+ loading?: Ref<boolean>;
2891
+ /** 是否限制同一时刻只能有一次加载 */
2892
+ singleFlight?: boolean;
2893
+ }
2894
+
2895
+ export declare const usePageTable: <D, Q = undefined>(options: UsePageTableOptions<D, Q>) => {
2896
+ pageData: Ref< {
2897
+ pageNum: number;
2898
+ pageSize: number;
2899
+ totalPages: number;
2900
+ total: number;
2901
+ }, PageData | {
2902
+ pageNum: number;
2903
+ pageSize: number;
2904
+ totalPages: number;
2905
+ total: number;
2906
+ }>;
2907
+ tableData: Ref<UnwrapRefSimple<D>[], D[] | UnwrapRefSimple<D>[]>;
2908
+ loading: Ref<boolean, boolean>;
2909
+ refresh: () => Promise<void>;
2910
+ resetAndRefresh: () => Promise<void>;
2911
+ handleSizeChange: () => Promise<void>;
2912
+ handleCurrPageChange: () => Promise<void>;
2913
+ };
2914
+
2915
+ declare interface UsePageTableOptions<D, Q = undefined> {
2916
+ /** 获取分页数据的方法 */
2917
+ fetchPage: FetchPage<D, Q>;
2918
+ /** 分页参数 */
2919
+ pageParams?: MaybeRefOrGetter<PageParams | undefined>;
2920
+ /** 查询参数 */
2921
+ queryParams?: MaybeRefOrGetter<Q>;
2922
+ /** 是否自动加载数据 */
2923
+ autoLoad?: boolean;
2924
+ /** 数据加载完成后的回调 */
2925
+ onLoaded?: () => void | Promise<void>;
2926
+ }
2927
+
2928
+ export declare const useSelectData: <Data, ID>(dataList: MaybeRefOrGetter<Data[]>, getId: (data: Data) => ID) => {
2929
+ selectedIds: ShallowRef<ID[], ID[]>;
2930
+ isSelected: (id: ID) => boolean;
2931
+ toggleSelect: (id: ID) => void;
2932
+ isAllSelected: Ref<boolean, boolean>;
2933
+ toggleAll: () => void;
2934
+ getSelectedData: () => Data[];
2935
+ };
2936
+
2937
+ /**
2938
+ * 选择的用户 状态 Store
2939
+ */
2940
+ export declare const useSelectedUserStore: StoreDefinition<"biliToolkit-ui-selected-user", Pick<{
2941
+ init: () => Promise<void>;
2942
+ user: Ref< {
2943
+ [x: string]: unknown;
2944
+ userCookie: {
2945
+ uid: number;
2946
+ bili_jct: string;
2947
+ cookie: string;
2948
+ };
2949
+ sex: "\u7537" | "\u5973" | "\u4FDD\u5BC6";
2950
+ moral: number;
2951
+ following: number;
2952
+ follower: number;
2953
+ coins: number;
2954
+ vip: {
2955
+ type: VipType;
2956
+ due_date?: TimestampMs | undefined;
2957
+ status: VipStatus;
2958
+ };
2959
+ mid: number;
2960
+ name: string;
2961
+ face: string;
2962
+ sign: string;
2963
+ rank: number;
2964
+ level: number;
2965
+ silence: SilenceStatus;
2966
+ } | null, UserInfoWithCookie | {
2967
+ [x: string]: unknown;
2968
+ userCookie: {
2969
+ uid: number;
2970
+ bili_jct: string;
2971
+ cookie: string;
2972
+ };
2973
+ sex: "\u7537" | "\u5973" | "\u4FDD\u5BC6";
2974
+ moral: number;
2975
+ following: number;
2976
+ follower: number;
2977
+ coins: number;
2978
+ vip: {
2979
+ type: VipType;
2980
+ due_date?: TimestampMs | undefined;
2981
+ status: VipStatus;
2982
+ };
2983
+ mid: number;
2984
+ name: string;
2985
+ face: string;
2986
+ sign: string;
2987
+ rank: number;
2988
+ level: number;
2989
+ silence: SilenceStatus;
2990
+ } | null>;
2991
+ deleteUser: () => void;
2992
+ setUser: (user: UserInfoWithCookie) => void;
2993
+ }, "user">, Pick<{
2994
+ init: () => Promise<void>;
2995
+ user: Ref< {
2996
+ [x: string]: unknown;
2997
+ userCookie: {
2998
+ uid: number;
2999
+ bili_jct: string;
3000
+ cookie: string;
3001
+ };
3002
+ sex: "\u7537" | "\u5973" | "\u4FDD\u5BC6";
3003
+ moral: number;
3004
+ following: number;
3005
+ follower: number;
3006
+ coins: number;
3007
+ vip: {
3008
+ type: VipType;
3009
+ due_date?: TimestampMs | undefined;
3010
+ status: VipStatus;
3011
+ };
3012
+ mid: number;
3013
+ name: string;
3014
+ face: string;
3015
+ sign: string;
3016
+ rank: number;
3017
+ level: number;
3018
+ silence: SilenceStatus;
3019
+ } | null, UserInfoWithCookie | {
3020
+ [x: string]: unknown;
3021
+ userCookie: {
3022
+ uid: number;
3023
+ bili_jct: string;
3024
+ cookie: string;
3025
+ };
3026
+ sex: "\u7537" | "\u5973" | "\u4FDD\u5BC6";
3027
+ moral: number;
3028
+ following: number;
3029
+ follower: number;
3030
+ coins: number;
3031
+ vip: {
3032
+ type: VipType;
3033
+ due_date?: TimestampMs | undefined;
3034
+ status: VipStatus;
3035
+ };
3036
+ mid: number;
3037
+ name: string;
3038
+ face: string;
3039
+ sign: string;
3040
+ rank: number;
3041
+ level: number;
3042
+ silence: SilenceStatus;
3043
+ } | null>;
3044
+ deleteUser: () => void;
3045
+ setUser: (user: UserInfoWithCookie) => void;
3046
+ }, never>, Pick<{
3047
+ init: () => Promise<void>;
3048
+ user: Ref< {
3049
+ [x: string]: unknown;
3050
+ userCookie: {
3051
+ uid: number;
3052
+ bili_jct: string;
3053
+ cookie: string;
3054
+ };
3055
+ sex: "\u7537" | "\u5973" | "\u4FDD\u5BC6";
3056
+ moral: number;
3057
+ following: number;
3058
+ follower: number;
3059
+ coins: number;
3060
+ vip: {
3061
+ type: VipType;
3062
+ due_date?: TimestampMs | undefined;
3063
+ status: VipStatus;
3064
+ };
3065
+ mid: number;
3066
+ name: string;
3067
+ face: string;
3068
+ sign: string;
3069
+ rank: number;
3070
+ level: number;
3071
+ silence: SilenceStatus;
3072
+ } | null, UserInfoWithCookie | {
3073
+ [x: string]: unknown;
3074
+ userCookie: {
3075
+ uid: number;
3076
+ bili_jct: string;
3077
+ cookie: string;
3078
+ };
3079
+ sex: "\u7537" | "\u5973" | "\u4FDD\u5BC6";
3080
+ moral: number;
3081
+ following: number;
3082
+ follower: number;
3083
+ coins: number;
3084
+ vip: {
3085
+ type: VipType;
3086
+ due_date?: TimestampMs | undefined;
3087
+ status: VipStatus;
3088
+ };
3089
+ mid: number;
3090
+ name: string;
3091
+ face: string;
3092
+ sign: string;
3093
+ rank: number;
3094
+ level: number;
3095
+ silence: SilenceStatus;
3096
+ } | null>;
3097
+ deleteUser: () => void;
3098
+ setUser: (user: UserInfoWithCookie) => void;
3099
+ }, "init" | "deleteUser" | "setUser">>;
3100
+
3101
+ /**
3102
+ * 测试数据状态 Store
3103
+ */
3104
+ export declare const useTestDataStore: StoreDefinition<"biliToolkit-ui-test-data", Pick<{
3105
+ init: (isTest: boolean) => Promise<void>;
3106
+ state: {
3107
+ isTest: boolean;
3108
+ user: {
3109
+ [x: string]: unknown;
3110
+ userCookie: {
3111
+ uid: number;
3112
+ bili_jct: string;
3113
+ cookie: string;
3114
+ };
3115
+ sex: "\u7537" | "\u5973" | "\u4FDD\u5BC6";
3116
+ moral: number;
3117
+ following: number;
3118
+ follower: number;
3119
+ coins: number;
3120
+ vip: {
3121
+ type: VipType;
3122
+ due_date?: TimestampMs | undefined;
3123
+ status: VipStatus;
3124
+ };
3125
+ mid: number;
3126
+ name: string;
3127
+ face: string;
3128
+ sign: string;
3129
+ rank: number;
3130
+ level: number;
3131
+ silence: SilenceStatus;
3132
+ };
3133
+ menus: {
3134
+ title: string;
3135
+ path: string;
3136
+ children?: /*elided*/ any[] | undefined;
3137
+ }[];
3138
+ };
3139
+ }, "state">, Pick<{
3140
+ init: (isTest: boolean) => Promise<void>;
3141
+ state: {
3142
+ isTest: boolean;
3143
+ user: {
3144
+ [x: string]: unknown;
3145
+ userCookie: {
3146
+ uid: number;
3147
+ bili_jct: string;
3148
+ cookie: string;
3149
+ };
3150
+ sex: "\u7537" | "\u5973" | "\u4FDD\u5BC6";
3151
+ moral: number;
3152
+ following: number;
3153
+ follower: number;
3154
+ coins: number;
3155
+ vip: {
3156
+ type: VipType;
3157
+ due_date?: TimestampMs | undefined;
3158
+ status: VipStatus;
3159
+ };
3160
+ mid: number;
3161
+ name: string;
3162
+ face: string;
3163
+ sign: string;
3164
+ rank: number;
3165
+ level: number;
3166
+ silence: SilenceStatus;
3167
+ };
3168
+ menus: {
3169
+ title: string;
3170
+ path: string;
3171
+ children?: /*elided*/ any[] | undefined;
3172
+ }[];
3173
+ };
3174
+ }, never>, Pick<{
3175
+ init: (isTest: boolean) => Promise<void>;
3176
+ state: {
3177
+ isTest: boolean;
3178
+ user: {
3179
+ [x: string]: unknown;
3180
+ userCookie: {
3181
+ uid: number;
3182
+ bili_jct: string;
3183
+ cookie: string;
3184
+ };
3185
+ sex: "\u7537" | "\u5973" | "\u4FDD\u5BC6";
3186
+ moral: number;
3187
+ following: number;
3188
+ follower: number;
3189
+ coins: number;
3190
+ vip: {
3191
+ type: VipType;
3192
+ due_date?: TimestampMs | undefined;
3193
+ status: VipStatus;
3194
+ };
3195
+ mid: number;
3196
+ name: string;
3197
+ face: string;
3198
+ sign: string;
3199
+ rank: number;
3200
+ level: number;
3201
+ silence: SilenceStatus;
3202
+ };
3203
+ menus: {
3204
+ title: string;
3205
+ path: string;
3206
+ children?: /*elided*/ any[] | undefined;
3207
+ }[];
3208
+ };
3209
+ }, "init">>;
3210
+
3211
+ export declare const whiteColor = "#ffffff";
3212
+
3213
+ export { }