@94ai/nf-table 8.0.5 → 8.0.12

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.
@@ -1,632 +1,632 @@
1
- import { NfTableColumnAttributes, ElTableAttributes, ElTableEventKey, ElPaginationEventKey, ElPaginationAttributes, NfSearchFormAttributes, NfSearchFormEventKey, NfTableActionBtnAttributes } from './types';
2
- import { ITabItem } from '@94ai/nf-drawer/lib/types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
- data?: Record<string, any>[] | undefined;
5
- columns?: NfTableColumnAttributes[] | any;
6
- searchFormAttrs?: NfSearchFormAttributes | undefined;
7
- searchFormEvents?: Partial<Record<NfSearchFormEventKey, Function>> | undefined;
8
- tableAttrs?: ElTableAttributes | undefined;
9
- tableEvents?: Partial<Record<ElTableEventKey, Function>> | undefined;
10
- pageAttrs?: ElPaginationAttributes | undefined;
11
- pageEvents?: Partial<Record<ElPaginationEventKey, Function>> | undefined;
12
- actionBarOptList?: NfTableActionBtnAttributes[] | undefined;
13
- initSearchApi?: boolean | undefined;
14
- pageChangeSearchApi?: boolean | undefined;
15
- pageKeys?: string[] | undefined;
16
- setEasyConf?: boolean | undefined;
17
- dragCached?: boolean | undefined;
18
- emptyImageSize?: number | undefined;
19
- emptyText?: string | undefined;
20
- calHeight?: boolean | undefined;
21
- columnEdit?: boolean | undefined;
22
- columnPosition?: "embed" | "free" | undefined;
23
- checkMode?: "dialog" | "drawer" | undefined;
24
- priority?: "value" | "cached" | undefined;
25
- storageKey?: string | undefined;
26
- searchFormStorageKey?: string | undefined;
27
- showColumn?: string[] | undefined;
28
- selectEmptyWarningTips?: string | undefined;
29
- columnDisplayBtnClass?: string | undefined;
30
- columnDisplayBtnIcon?: string | undefined;
31
- columnDisplayBtnType?: string | undefined;
32
- columnDisplayBtnPlain?: boolean | undefined;
33
- columnDisplayBtnSize?: string | undefined;
34
- columnDisplayBtnRound?: boolean | undefined;
35
- columnDisplayBtnCircle?: boolean | undefined;
36
- columnDisplayBtnLoading?: boolean | undefined;
37
- columnDisplayBtnDisabled?: boolean | undefined;
38
- columnDisplayBtnText?: string | undefined;
39
- columnCheckTitle?: string | undefined;
40
- columnCheckCancelButtonText?: string | undefined;
41
- columnCheckConfirmButtonText?: string | undefined;
42
- columnCheckBasicFieldDesc?: string | undefined;
43
- columnCheckWidth?: string | undefined;
44
- columnCheckModalAppendToBody?: boolean | undefined;
45
- columnCheckModal?: boolean | undefined;
46
- columnCheckFullscreen?: boolean | undefined;
47
- columnCheckTop?: string | undefined;
48
- columnCheckAppendToBody?: boolean | undefined;
49
- columnCheckLockScroll?: boolean | undefined;
50
- columnCheckCustomClass?: string | undefined;
51
- columnCheckCloseOnlickModal?: boolean | undefined;
52
- columnCheckCloseOnPressEscape?: boolean | undefined;
53
- columnCheckShowClose?: boolean | undefined;
54
- columnCheckBeforeClose?: Function | undefined;
55
- columnCheckCenter?: boolean | undefined;
56
- columnCheckDestroyOnClose?: boolean | undefined;
57
- columnCheckSearchPlaceholder?: string | undefined;
58
- columnCheckFixedLeftDesc?: string | undefined;
59
- columnCheckClearDesc?: string | undefined;
60
- columnCheckNoFixedDesc?: string | undefined;
61
- columnCheckGetCheckedLengthDesc?: any;
62
- columnCheckGetAllCheckDesc?: any;
63
- columnCheckTabs?: ITabItem[] | undefined;
64
- columnCheckCurrentTab?: string | undefined;
65
- loading?: boolean | undefined;
66
- target?: HTMLElement | undefined;
67
- body?: boolean | undefined;
68
- fullscreen?: boolean | undefined;
69
- lock?: boolean | undefined;
70
- text?: string | undefined;
71
- spinner?: string | undefined;
72
- background?: string | undefined;
73
- customClass?: string | undefined;
74
- alwaysShowPage?: boolean | undefined;
75
- operationPropKey?: string | undefined;
76
- drawerProps?: Record<string, any> | undefined;
77
- }>, {
78
- dragCached: boolean;
79
- emptyImageSize: number;
80
- emptyText: string;
81
- priority: string;
82
- storageKey: string;
83
- searchFormStorageKey: string;
84
- checkMode: string;
85
- data: () => never[];
86
- columns: () => never[];
87
- searchFormAttrs: () => {};
88
- tableAttrs: () => {};
89
- pageAttrs: () => {};
90
- searchFormEvents: () => {};
91
- tableEvents: () => {};
92
- pageEvents: () => {};
93
- actionBarOptList: () => never[];
94
- initSearchApi: undefined;
95
- pageChangeSearchApi: undefined;
96
- pageKeys: () => string[];
97
- setEasyConf: boolean;
98
- calHeight: boolean;
99
- columnEdit: boolean;
100
- columnPosition: string;
101
- showColumn: undefined;
102
- loading: boolean;
103
- target: undefined;
104
- body: boolean;
105
- fullscreen: boolean;
106
- lock: boolean;
107
- text: undefined;
108
- spinner: undefined;
109
- background: undefined;
110
- customClass: undefined;
111
- columnDisplayBtnIcon: string;
112
- columnDisplayBtnType: string;
113
- columnDisplayBtnPlain: boolean;
114
- columnDisplayBtnSize: string;
115
- columnDisplayBtnRound: boolean;
116
- columnDisplayBtnCircle: boolean;
117
- columnDisplayBtnLoading: boolean;
118
- columnDisplayBtnDisabled: boolean;
119
- columnDisplayBtnClass: string;
120
- alwaysShowPage: boolean;
121
- operationPropKey: string;
122
- columnCheckWidth: string;
123
- columnCheckModalAppendToBody: boolean;
124
- columnCheckModal: boolean;
125
- columnCheckFullscreen: boolean;
126
- columnCheckTop: string;
127
- columnCheckAppendToBody: boolean;
128
- columnCheckLockScroll: boolean;
129
- columnCheckCustomClass: string;
130
- columnCheckCloseOnlickModal: boolean;
131
- columnCheckCloseOnPressEscape: boolean;
132
- columnCheckShowClose: boolean;
133
- columnCheckBeforeClose: undefined;
134
- columnCheckCenter: boolean;
135
- columnCheckDestroyOnClose: boolean;
136
- selectEmptyWarningTips: string;
137
- columnDisplayBtnText: string;
138
- columnCheckTitle: string;
139
- columnCheckCancelButtonText: string;
140
- columnCheckConfirmButtonText: string;
141
- columnCheckSearchPlaceholder: string;
142
- columnCheckFixedLeftDesc: string;
143
- columnCheckClearDesc: string;
144
- columnCheckNoFixedDesc: string;
145
- columnCheckBasicFieldDesc: string;
146
- columnCheckGetCheckedLengthDesc: (length: any) => (length: any) => string;
147
- columnCheckGetAllCheckDesc: (length: any) => (length: any) => string;
148
- drawerProps: () => {};
149
- }>, {
150
- clearFilter: () => void;
151
- sort: (prop: any, order: any) => void;
152
- doLayout: () => void;
153
- clearSort: () => void;
154
- setCurrentRow: (row: Record<string, any>) => void;
155
- toggleRowExpansion: (row: Record<string, any>, expanded: boolean) => void;
156
- toggleAllSelection: () => void;
157
- toggleRowSelection: (row: Record<string, any>, selected: boolean) => void;
158
- clearSelection: () => void;
159
- resetNfSearchFormModel: () => void;
160
- onNfSearchFormValidate: (callback: any) => void;
161
- onNfSearchFormSearch: () => void;
162
- onNfSearchFormExport: () => void;
163
- nfTableRef: import("vue-demi").Ref<any>;
164
- elTableRef: import("vue-demi").Ref<any>;
165
- nfTableActionContainerRef: import("vue-demi").Ref<any>;
166
- nfTableActionBarRef: import("vue-demi").Ref<any>;
167
- nfTablePaginationRef: import("vue-demi").Ref<any>;
168
- nfSearchFormRef: import("vue-demi").Ref<any>;
169
- loadingInstance: import("vue-demi").Ref<any>;
170
- nfColumCheckDialogVisible: import("vue-demi").Ref<boolean>;
171
- columnCheckNfDrawer: import("vue-demi").Ref<any>;
172
- columnCheckDialog: import("vue-demi").Ref<any>;
173
- columnCheckDrawer: import("vue-demi").Ref<any>;
174
- syncShowItemToInitHidden: () => void;
175
- showData: import("vue-demi").ComputedRef<Record<string, any>[]>;
176
- localShowColumn: import("vue-demi").Ref<string[]>;
177
- tableColumns: import("vue-demi").Ref<{
178
- _index?: number | undefined;
179
- __index?: number | undefined;
180
- initHidden?: boolean | undefined;
181
- destory?: boolean | ((any: any) => boolean) | undefined;
182
- type?: "index" | "selection" | "expand" | undefined;
183
- label?: string | undefined;
184
- addLabel?: string | undefined;
185
- prop?: string | undefined;
186
- render?: Function | undefined;
187
- slot?: any;
188
- headerSlot?: any;
189
- labelTooltip?: string | undefined;
190
- labelTooltipPlacement?: string | undefined;
191
- unit?: string | undefined;
192
- options: {
193
- label: string;
194
- value: string | number;
195
- tagType?: any;
196
- }[];
197
- getOptions?: Function | undefined;
198
- singleHeadMutiColSlot?: any;
199
- operationSpan?: number | undefined;
200
- operationList?: object[] | undefined;
201
- attr?: {
202
- type?: "index" | "selection" | "expand" | undefined;
203
- label?: string | undefined;
204
- prop?: string | undefined;
205
- index?: number | ((index: number) => number) | undefined;
206
- 'column-key'?: string | undefined;
207
- width?: string | undefined;
208
- 'min-width'?: string | undefined;
209
- fixed?: boolean | "left" | "right" | undefined;
210
- 'render-header'?: Function | undefined;
211
- sortable?: boolean | "custom" | undefined;
212
- 'sort-method'?: Function | undefined;
213
- 'sort-by'?: string | Function | string[] | undefined;
214
- 'sort-orders'?: ["descending" | "ascending" | null, "descending" | "ascending" | null, "descending" | "ascending" | null] | undefined;
215
- resizable?: boolean | undefined;
216
- formatter?: Function | undefined;
217
- 'show-overflow-tooltip'?: boolean | undefined;
218
- align?: "left" | "right" | "center" | undefined;
219
- 'class-name'?: string | undefined;
220
- 'label-class-name'?: string | undefined;
221
- selectable?: Function | undefined;
222
- 'reserve-selection'?: boolean | undefined;
223
- filters?: {
224
- text?: string | number | undefined;
225
- value?: string | number | undefined;
226
- }[] | undefined;
227
- 'filter-placement'?: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end" | undefined;
228
- 'filter-multiple'?: boolean | undefined;
229
- 'filter-method'?: Function | undefined;
230
- 'filtered-value'?: string[] | undefined;
231
- } | undefined;
232
- }[]>;
233
- isLoading: import("vue-demi").ComputedRef<boolean>;
234
- calcTableHeight: () => void;
235
- syncLocalShowColumnToCookies: () => void;
236
- syncCookiesToLocalShowColumn: () => Promise<void>;
237
- syncCookiesToTableColumn: (readCached?: boolean) => Promise<void>;
238
- elTableRefKey: import("vue-demi").Ref<number>;
239
- clearDragCached: () => Promise<void>;
240
- clearColumnEditCached: () => Promise<void>;
241
- handleCurrentChange: (val: any, isSearch?: boolean) => void;
242
- pageAttrs: import("vue-demi").ComputedRef<{
243
- 'current-page': number | undefined;
244
- 'page-size': number;
245
- pageKeys: string[];
246
- }>;
247
- }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
248
- fieldsChange: (event: string[]) => void;
249
- "update:showColumn": (event: string[] | undefined) => void;
250
- searchApi: (event: {
251
- data: Record<string, any>;
252
- callback: Function;
253
- }) => void;
254
- }, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
255
- data?: Record<string, any>[] | undefined;
256
- columns?: NfTableColumnAttributes[] | any;
257
- searchFormAttrs?: NfSearchFormAttributes | undefined;
258
- searchFormEvents?: Partial<Record<NfSearchFormEventKey, Function>> | undefined;
259
- tableAttrs?: ElTableAttributes | undefined;
260
- tableEvents?: Partial<Record<ElTableEventKey, Function>> | undefined;
261
- pageAttrs?: ElPaginationAttributes | undefined;
262
- pageEvents?: Partial<Record<ElPaginationEventKey, Function>> | undefined;
263
- actionBarOptList?: NfTableActionBtnAttributes[] | undefined;
264
- initSearchApi?: boolean | undefined;
265
- pageChangeSearchApi?: boolean | undefined;
266
- pageKeys?: string[] | undefined;
267
- setEasyConf?: boolean | undefined;
268
- dragCached?: boolean | undefined;
269
- emptyImageSize?: number | undefined;
270
- emptyText?: string | undefined;
271
- calHeight?: boolean | undefined;
272
- columnEdit?: boolean | undefined;
273
- columnPosition?: "embed" | "free" | undefined;
274
- checkMode?: "dialog" | "drawer" | undefined;
275
- priority?: "value" | "cached" | undefined;
276
- storageKey?: string | undefined;
277
- searchFormStorageKey?: string | undefined;
278
- showColumn?: string[] | undefined;
279
- selectEmptyWarningTips?: string | undefined;
280
- columnDisplayBtnClass?: string | undefined;
281
- columnDisplayBtnIcon?: string | undefined;
282
- columnDisplayBtnType?: string | undefined;
283
- columnDisplayBtnPlain?: boolean | undefined;
284
- columnDisplayBtnSize?: string | undefined;
285
- columnDisplayBtnRound?: boolean | undefined;
286
- columnDisplayBtnCircle?: boolean | undefined;
287
- columnDisplayBtnLoading?: boolean | undefined;
288
- columnDisplayBtnDisabled?: boolean | undefined;
289
- columnDisplayBtnText?: string | undefined;
290
- columnCheckTitle?: string | undefined;
291
- columnCheckCancelButtonText?: string | undefined;
292
- columnCheckConfirmButtonText?: string | undefined;
293
- columnCheckBasicFieldDesc?: string | undefined;
294
- columnCheckWidth?: string | undefined;
295
- columnCheckModalAppendToBody?: boolean | undefined;
296
- columnCheckModal?: boolean | undefined;
297
- columnCheckFullscreen?: boolean | undefined;
298
- columnCheckTop?: string | undefined;
299
- columnCheckAppendToBody?: boolean | undefined;
300
- columnCheckLockScroll?: boolean | undefined;
301
- columnCheckCustomClass?: string | undefined;
302
- columnCheckCloseOnlickModal?: boolean | undefined;
303
- columnCheckCloseOnPressEscape?: boolean | undefined;
304
- columnCheckShowClose?: boolean | undefined;
305
- columnCheckBeforeClose?: Function | undefined;
306
- columnCheckCenter?: boolean | undefined;
307
- columnCheckDestroyOnClose?: boolean | undefined;
308
- columnCheckSearchPlaceholder?: string | undefined;
309
- columnCheckFixedLeftDesc?: string | undefined;
310
- columnCheckClearDesc?: string | undefined;
311
- columnCheckNoFixedDesc?: string | undefined;
312
- columnCheckGetCheckedLengthDesc?: any;
313
- columnCheckGetAllCheckDesc?: any;
314
- columnCheckTabs?: ITabItem[] | undefined;
315
- columnCheckCurrentTab?: string | undefined;
316
- loading?: boolean | undefined;
317
- target?: HTMLElement | undefined;
318
- body?: boolean | undefined;
319
- fullscreen?: boolean | undefined;
320
- lock?: boolean | undefined;
321
- text?: string | undefined;
322
- spinner?: string | undefined;
323
- background?: string | undefined;
324
- customClass?: string | undefined;
325
- alwaysShowPage?: boolean | undefined;
326
- operationPropKey?: string | undefined;
327
- drawerProps?: Record<string, any> | undefined;
328
- }>, {
329
- dragCached: boolean;
330
- emptyImageSize: number;
331
- emptyText: string;
332
- priority: string;
333
- storageKey: string;
334
- searchFormStorageKey: string;
335
- checkMode: string;
336
- data: () => never[];
337
- columns: () => never[];
338
- searchFormAttrs: () => {};
339
- tableAttrs: () => {};
340
- pageAttrs: () => {};
341
- searchFormEvents: () => {};
342
- tableEvents: () => {};
343
- pageEvents: () => {};
344
- actionBarOptList: () => never[];
345
- initSearchApi: undefined;
346
- pageChangeSearchApi: undefined;
347
- pageKeys: () => string[];
348
- setEasyConf: boolean;
349
- calHeight: boolean;
350
- columnEdit: boolean;
351
- columnPosition: string;
352
- showColumn: undefined;
353
- loading: boolean;
354
- target: undefined;
355
- body: boolean;
356
- fullscreen: boolean;
357
- lock: boolean;
358
- text: undefined;
359
- spinner: undefined;
360
- background: undefined;
361
- customClass: undefined;
362
- columnDisplayBtnIcon: string;
363
- columnDisplayBtnType: string;
364
- columnDisplayBtnPlain: boolean;
365
- columnDisplayBtnSize: string;
366
- columnDisplayBtnRound: boolean;
367
- columnDisplayBtnCircle: boolean;
368
- columnDisplayBtnLoading: boolean;
369
- columnDisplayBtnDisabled: boolean;
370
- columnDisplayBtnClass: string;
371
- alwaysShowPage: boolean;
372
- operationPropKey: string;
373
- columnCheckWidth: string;
374
- columnCheckModalAppendToBody: boolean;
375
- columnCheckModal: boolean;
376
- columnCheckFullscreen: boolean;
377
- columnCheckTop: string;
378
- columnCheckAppendToBody: boolean;
379
- columnCheckLockScroll: boolean;
380
- columnCheckCustomClass: string;
381
- columnCheckCloseOnlickModal: boolean;
382
- columnCheckCloseOnPressEscape: boolean;
383
- columnCheckShowClose: boolean;
384
- columnCheckBeforeClose: undefined;
385
- columnCheckCenter: boolean;
386
- columnCheckDestroyOnClose: boolean;
387
- selectEmptyWarningTips: string;
388
- columnDisplayBtnText: string;
389
- columnCheckTitle: string;
390
- columnCheckCancelButtonText: string;
391
- columnCheckConfirmButtonText: string;
392
- columnCheckSearchPlaceholder: string;
393
- columnCheckFixedLeftDesc: string;
394
- columnCheckClearDesc: string;
395
- columnCheckNoFixedDesc: string;
396
- columnCheckBasicFieldDesc: string;
397
- columnCheckGetCheckedLengthDesc: (length: any) => (length: any) => string;
398
- columnCheckGetAllCheckDesc: (length: any) => (length: any) => string;
399
- drawerProps: () => {};
400
- }>>>, {
401
- background: string;
402
- columns: NfTableColumnAttributes[] | any;
403
- columnEdit: boolean;
404
- operationPropKey: string;
405
- storageKey: string;
406
- fullscreen: boolean;
407
- customClass: string;
408
- data: Record<string, any>[];
409
- body: boolean;
410
- text: string;
411
- selectEmptyWarningTips: string;
412
- showColumn: string[];
413
- searchFormAttrs: NfSearchFormAttributes;
414
- searchFormEvents: Partial<Record<NfSearchFormEventKey, Function>>;
415
- tableAttrs: ElTableAttributes;
416
- tableEvents: Partial<Record<ElTableEventKey, Function>>;
417
- pageAttrs: ElPaginationAttributes;
418
- pageEvents: Partial<Record<ElPaginationEventKey, Function>>;
419
- actionBarOptList: NfTableActionBtnAttributes[];
420
- initSearchApi: boolean;
421
- pageChangeSearchApi: boolean;
422
- pageKeys: string[];
423
- setEasyConf: boolean;
424
- dragCached: boolean;
425
- emptyImageSize: number;
426
- emptyText: string;
427
- calHeight: boolean;
428
- columnPosition: 'free' | 'embed';
429
- checkMode: 'dialog' | 'drawer';
430
- priority: 'cached' | 'value';
431
- searchFormStorageKey: string;
432
- columnDisplayBtnClass: string;
433
- columnDisplayBtnIcon: string;
434
- columnDisplayBtnType: string;
435
- columnDisplayBtnPlain: boolean;
436
- columnDisplayBtnSize: string;
437
- columnDisplayBtnRound: boolean;
438
- columnDisplayBtnCircle: boolean;
439
- columnDisplayBtnLoading: boolean;
440
- columnDisplayBtnDisabled: boolean;
441
- columnDisplayBtnText: string;
442
- columnCheckTitle: string;
443
- columnCheckCancelButtonText: string;
444
- columnCheckConfirmButtonText: string;
445
- columnCheckBasicFieldDesc: string;
446
- columnCheckWidth: string;
447
- columnCheckModalAppendToBody: boolean;
448
- columnCheckModal: boolean;
449
- columnCheckFullscreen: boolean;
450
- columnCheckTop: string;
451
- columnCheckAppendToBody: boolean;
452
- columnCheckLockScroll: boolean;
453
- columnCheckCustomClass: string;
454
- columnCheckCloseOnlickModal: boolean;
455
- columnCheckCloseOnPressEscape: boolean;
456
- columnCheckShowClose: boolean;
457
- columnCheckBeforeClose: Function;
458
- columnCheckCenter: boolean;
459
- columnCheckDestroyOnClose: boolean;
460
- columnCheckSearchPlaceholder: string;
461
- columnCheckFixedLeftDesc: string;
462
- columnCheckClearDesc: string;
463
- columnCheckNoFixedDesc: string;
464
- columnCheckGetCheckedLengthDesc: any;
465
- columnCheckGetAllCheckDesc: any;
466
- loading: boolean;
467
- target: HTMLElement;
468
- lock: boolean;
469
- spinner: string;
470
- alwaysShowPage: boolean;
471
- drawerProps: Record<string, any>;
472
- }>, Partial<Record<any, (_: {
473
- slot: any;
474
- }) => any>> & Partial<Record<any, (_: {
475
- slot: any;
476
- }) => any>> & Partial<Record<any, (_: {
477
- slot: any;
478
- }) => any>> & Partial<Record<any, (_: {
479
- slot: any;
480
- }) => any>> & Partial<Record<any, (_: {
481
- slot: any;
482
- }) => any>> & Partial<Record<any, (_: {
483
- slot: any;
484
- }) => any>> & Partial<Record<any, (_: {
485
- slot: any;
486
- }) => any>> & Partial<Record<any, (_: {
487
- slot: any;
488
- }) => any>> & Partial<Record<any, (_: {
489
- slot: any;
490
- }) => any>> & Partial<Record<any, (_: {
491
- slot: any;
492
- }) => any>> & Partial<Record<any, (_: {
493
- slot: any;
494
- }) => any>> & Partial<Record<any, (_: {
495
- slot: any;
496
- }) => any>> & Partial<Record<any, (_: {
497
- row: any;
498
- index: any;
499
- }) => any>> & Partial<Record<any, (_: {}) => any>> & Partial<Record<any, (_: {
500
- $index: any;
501
- column: any;
502
- }) => any>> & Partial<Record<any, (_: {
503
- row: any;
504
- index: any;
505
- }) => any>> & Partial<Record<string, (_: {
506
- slot: string;
507
- }) => any>> & Partial<Record<string, (_: {
508
- slot: string;
509
- }) => any>> & Partial<Record<string, (_: {
510
- slot: string;
511
- }) => any>> & Partial<Record<string, (_: {
512
- slot: string;
513
- }) => any>> & Partial<Record<string, (_: {
514
- slot: string;
515
- }) => any>> & Partial<Record<string, (_: {
516
- slot: string;
517
- }) => any>> & Partial<Record<string, (_: {
518
- slot: string;
519
- }) => any>> & Partial<Record<string, (_: {
520
- slot: string;
521
- }) => any>> & {
522
- searchBox?(_: {
523
- ref: string;
524
- }): any;
525
- btnBox?(_: {
526
- slot: string;
527
- }): any;
528
- searchFormColumnEditDialogTitle?(_: {
529
- slot: string;
530
- }): any;
531
- searchFormColumnEditDialogFooter?(_: {
532
- slot: string;
533
- }): any;
534
- columnEdit?(_: {}): any;
535
- operationIconColumnCheck?(_: {
536
- column: {
537
- _index?: number | undefined;
538
- __index?: number | undefined;
539
- initHidden?: boolean | undefined;
540
- destory?: boolean | ((any: any) => boolean) | undefined;
541
- type?: "index" | "selection" | "expand" | undefined;
542
- label?: string | undefined;
543
- addLabel?: string | undefined;
544
- prop?: string | undefined;
545
- render?: Function | undefined;
546
- slot?: any;
547
- headerSlot?: any;
548
- labelTooltip?: string | undefined;
549
- labelTooltipPlacement?: string | undefined;
550
- unit?: string | undefined;
551
- options: {
552
- label: string;
553
- value: string | number;
554
- tagType?: any;
555
- }[];
556
- getOptions?: Function | undefined;
557
- singleHeadMutiColSlot?: any;
558
- operationSpan?: number | undefined;
559
- operationList?: object[] | undefined;
560
- attr?: {
561
- type?: "index" | "selection" | "expand" | undefined;
562
- label?: string | undefined;
563
- prop?: string | undefined;
564
- index?: number | ((index: number) => number) | undefined;
565
- 'column-key'?: string | undefined;
566
- width?: string | undefined;
567
- 'min-width'?: string | undefined;
568
- fixed?: boolean | "left" | "right" | undefined;
569
- 'render-header'?: Function | undefined;
570
- sortable?: boolean | "custom" | undefined;
571
- 'sort-method'?: Function | undefined;
572
- 'sort-by'?: string | Function | string[] | undefined;
573
- 'sort-orders'?: ["descending" | "ascending" | null, "descending" | "ascending" | null, "descending" | "ascending" | null] | undefined;
574
- resizable?: boolean | undefined;
575
- formatter?: Function | undefined;
576
- 'show-overflow-tooltip'?: boolean | undefined;
577
- align?: "left" | "right" | "center" | undefined;
578
- 'class-name'?: string | undefined;
579
- 'label-class-name'?: string | undefined;
580
- selectable?: Function | undefined;
581
- 'reserve-selection'?: boolean | undefined;
582
- filters?: {
583
- text?: string | number | undefined;
584
- value?: string | number | undefined;
585
- }[] | undefined;
586
- 'filter-placement'?: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end" | undefined;
587
- 'filter-multiple'?: boolean | undefined;
588
- 'filter-method'?: Function | undefined;
589
- 'filtered-value'?: string[] | undefined;
590
- } | undefined;
591
- };
592
- }): any;
593
- append?(_: {
594
- slot: string;
595
- }): any;
596
- empty?(_: {
597
- slot: string;
598
- }): any;
599
- actionBar?(_: {
600
- ref: string;
601
- }): any;
602
- pagination?(_: {}): any;
603
- title?(_: {
604
- slot: string;
605
- }): any;
606
- footer?(_: {
607
- slot: string;
608
- }): any;
609
- }>;
610
- export default _default;
611
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
612
- declare type __VLS_TypePropsToRuntimeProps<T> = {
613
- [K in keyof T]-?: {} extends Pick<T, K> ? {
614
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
615
- } : {
616
- type: import('vue').PropType<T[K]>;
617
- required: true;
618
- };
619
- };
620
- declare type __VLS_WithDefaults<P, D> = {
621
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
622
- default: D[K];
623
- }> : P[K];
624
- };
625
- declare type __VLS_Prettify<T> = {
626
- [K in keyof T]: T[K];
627
- } & {};
628
- declare type __VLS_WithTemplateSlots<T, S> = T & {
629
- new (): {
630
- $scopedSlots: S;
631
- };
632
- };
1
+ import { NfTableColumnAttributes, ElTableAttributes, ElTableEventKey, ElPaginationEventKey, ElPaginationAttributes, NfSearchFormAttributes, NfSearchFormEventKey, NfTableActionBtnAttributes } from './types';
2
+ import { ITabItem } from '@94ai/nf-drawer/lib/types';
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ data?: Record<string, any>[] | undefined;
5
+ columns?: NfTableColumnAttributes[] | any;
6
+ searchFormAttrs?: NfSearchFormAttributes | undefined;
7
+ searchFormEvents?: Partial<Record<NfSearchFormEventKey, Function>> | undefined;
8
+ tableAttrs?: ElTableAttributes | undefined;
9
+ tableEvents?: Partial<Record<ElTableEventKey, Function>> | undefined;
10
+ pageAttrs?: ElPaginationAttributes | undefined;
11
+ pageEvents?: Partial<Record<ElPaginationEventKey, Function>> | undefined;
12
+ actionBarOptList?: NfTableActionBtnAttributes[] | undefined;
13
+ initSearchApi?: boolean | undefined;
14
+ pageChangeSearchApi?: boolean | undefined;
15
+ pageKeys?: string[] | undefined;
16
+ setEasyConf?: boolean | undefined;
17
+ dragCached?: boolean | undefined;
18
+ emptyImageSize?: number | undefined;
19
+ emptyText?: string | undefined;
20
+ calHeight?: boolean | undefined;
21
+ columnEdit?: boolean | undefined;
22
+ columnPosition?: "embed" | "free" | undefined;
23
+ checkMode?: "dialog" | "drawer" | undefined;
24
+ priority?: "value" | "cached" | undefined;
25
+ storageKey?: string | undefined;
26
+ searchFormStorageKey?: string | undefined;
27
+ showColumn?: string[] | undefined;
28
+ selectEmptyWarningTips?: string | undefined;
29
+ columnDisplayBtnClass?: string | undefined;
30
+ columnDisplayBtnIcon?: string | undefined;
31
+ columnDisplayBtnType?: string | undefined;
32
+ columnDisplayBtnPlain?: boolean | undefined;
33
+ columnDisplayBtnSize?: string | undefined;
34
+ columnDisplayBtnRound?: boolean | undefined;
35
+ columnDisplayBtnCircle?: boolean | undefined;
36
+ columnDisplayBtnLoading?: boolean | undefined;
37
+ columnDisplayBtnDisabled?: boolean | undefined;
38
+ columnDisplayBtnText?: string | undefined;
39
+ columnCheckTitle?: string | undefined;
40
+ columnCheckCancelButtonText?: string | undefined;
41
+ columnCheckConfirmButtonText?: string | undefined;
42
+ columnCheckBasicFieldDesc?: string | undefined;
43
+ columnCheckWidth?: string | undefined;
44
+ columnCheckModalAppendToBody?: boolean | undefined;
45
+ columnCheckModal?: boolean | undefined;
46
+ columnCheckFullscreen?: boolean | undefined;
47
+ columnCheckTop?: string | undefined;
48
+ columnCheckAppendToBody?: boolean | undefined;
49
+ columnCheckLockScroll?: boolean | undefined;
50
+ columnCheckCustomClass?: string | undefined;
51
+ columnCheckCloseOnlickModal?: boolean | undefined;
52
+ columnCheckCloseOnPressEscape?: boolean | undefined;
53
+ columnCheckShowClose?: boolean | undefined;
54
+ columnCheckBeforeClose?: Function | undefined;
55
+ columnCheckCenter?: boolean | undefined;
56
+ columnCheckDestroyOnClose?: boolean | undefined;
57
+ columnCheckSearchPlaceholder?: string | undefined;
58
+ columnCheckFixedLeftDesc?: string | undefined;
59
+ columnCheckClearDesc?: string | undefined;
60
+ columnCheckNoFixedDesc?: string | undefined;
61
+ columnCheckGetCheckedLengthDesc?: any;
62
+ columnCheckGetAllCheckDesc?: any;
63
+ columnCheckTabs?: ITabItem[] | undefined;
64
+ columnCheckCurrentTab?: string | undefined;
65
+ loading?: boolean | undefined;
66
+ target?: HTMLElement | undefined;
67
+ body?: boolean | undefined;
68
+ fullscreen?: boolean | undefined;
69
+ lock?: boolean | undefined;
70
+ text?: string | undefined;
71
+ spinner?: string | undefined;
72
+ background?: string | undefined;
73
+ customClass?: string | undefined;
74
+ alwaysShowPage?: boolean | undefined;
75
+ operationPropKey?: string | undefined;
76
+ drawerProps?: Record<string, any> | undefined;
77
+ }>, {
78
+ dragCached: boolean;
79
+ emptyImageSize: number;
80
+ emptyText: string;
81
+ priority: string;
82
+ storageKey: string;
83
+ searchFormStorageKey: string;
84
+ checkMode: string;
85
+ data: () => never[];
86
+ columns: () => never[];
87
+ searchFormAttrs: () => {};
88
+ tableAttrs: () => {};
89
+ pageAttrs: () => {};
90
+ searchFormEvents: () => {};
91
+ tableEvents: () => {};
92
+ pageEvents: () => {};
93
+ actionBarOptList: () => never[];
94
+ initSearchApi: undefined;
95
+ pageChangeSearchApi: undefined;
96
+ pageKeys: () => string[];
97
+ setEasyConf: boolean;
98
+ calHeight: boolean;
99
+ columnEdit: boolean;
100
+ columnPosition: string;
101
+ showColumn: undefined;
102
+ loading: boolean;
103
+ target: undefined;
104
+ body: boolean;
105
+ fullscreen: boolean;
106
+ lock: boolean;
107
+ text: undefined;
108
+ spinner: undefined;
109
+ background: undefined;
110
+ customClass: undefined;
111
+ columnDisplayBtnIcon: string;
112
+ columnDisplayBtnType: string;
113
+ columnDisplayBtnPlain: boolean;
114
+ columnDisplayBtnSize: string;
115
+ columnDisplayBtnRound: boolean;
116
+ columnDisplayBtnCircle: boolean;
117
+ columnDisplayBtnLoading: boolean;
118
+ columnDisplayBtnDisabled: boolean;
119
+ columnDisplayBtnClass: string;
120
+ alwaysShowPage: boolean;
121
+ operationPropKey: string;
122
+ columnCheckWidth: string;
123
+ columnCheckModalAppendToBody: boolean;
124
+ columnCheckModal: boolean;
125
+ columnCheckFullscreen: boolean;
126
+ columnCheckTop: string;
127
+ columnCheckAppendToBody: boolean;
128
+ columnCheckLockScroll: boolean;
129
+ columnCheckCustomClass: string;
130
+ columnCheckCloseOnlickModal: boolean;
131
+ columnCheckCloseOnPressEscape: boolean;
132
+ columnCheckShowClose: boolean;
133
+ columnCheckBeforeClose: undefined;
134
+ columnCheckCenter: boolean;
135
+ columnCheckDestroyOnClose: boolean;
136
+ selectEmptyWarningTips: string;
137
+ columnDisplayBtnText: string;
138
+ columnCheckTitle: string;
139
+ columnCheckCancelButtonText: string;
140
+ columnCheckConfirmButtonText: string;
141
+ columnCheckSearchPlaceholder: string;
142
+ columnCheckFixedLeftDesc: string;
143
+ columnCheckClearDesc: string;
144
+ columnCheckNoFixedDesc: string;
145
+ columnCheckBasicFieldDesc: string;
146
+ columnCheckGetCheckedLengthDesc: (length: any) => (length: any) => string;
147
+ columnCheckGetAllCheckDesc: (length: any) => (length: any) => string;
148
+ drawerProps: () => {};
149
+ }>, {
150
+ clearFilter: () => void;
151
+ sort: (prop: any, order: any) => void;
152
+ doLayout: () => void;
153
+ clearSort: () => void;
154
+ setCurrentRow: (row: Record<string, any>) => void;
155
+ toggleRowExpansion: (row: Record<string, any>, expanded: boolean) => void;
156
+ toggleAllSelection: () => void;
157
+ toggleRowSelection: (row: Record<string, any>, selected: boolean) => void;
158
+ clearSelection: () => void;
159
+ resetNfSearchFormModel: () => void;
160
+ onNfSearchFormValidate: (callback: any) => void;
161
+ onNfSearchFormSearch: () => void;
162
+ onNfSearchFormExport: () => void;
163
+ nfTableRef: import("vue-demi").Ref<any>;
164
+ elTableRef: import("vue-demi").Ref<any>;
165
+ nfTableActionContainerRef: import("vue-demi").Ref<any>;
166
+ nfTableActionBarRef: import("vue-demi").Ref<any>;
167
+ nfTablePaginationRef: import("vue-demi").Ref<any>;
168
+ nfSearchFormRef: import("vue-demi").Ref<any>;
169
+ loadingInstance: import("vue-demi").Ref<any>;
170
+ nfColumCheckDialogVisible: import("vue-demi").Ref<boolean>;
171
+ columnCheckNfDrawer: import("vue-demi").Ref<any>;
172
+ columnCheckDialog: import("vue-demi").Ref<any>;
173
+ columnCheckDrawer: import("vue-demi").Ref<any>;
174
+ syncShowItemToInitHidden: () => void;
175
+ showData: import("vue-demi").ComputedRef<Record<string, any>[]>;
176
+ localShowColumn: import("vue-demi").Ref<string[]>;
177
+ tableColumns: import("vue-demi").Ref<{
178
+ _index?: number | undefined;
179
+ __index?: number | undefined;
180
+ initHidden?: boolean | undefined;
181
+ destory?: boolean | ((any: any) => boolean) | undefined;
182
+ type?: "index" | "selection" | "expand" | undefined;
183
+ label?: string | ((any: any) => string) | undefined;
184
+ addLabel?: string | undefined;
185
+ prop?: string | undefined;
186
+ render?: Function | undefined;
187
+ slot?: any;
188
+ headerSlot?: any;
189
+ labelTooltip?: string | undefined;
190
+ labelTooltipPlacement?: string | undefined;
191
+ unit?: string | undefined;
192
+ options: {
193
+ label: string;
194
+ value: string | number;
195
+ tagType?: any;
196
+ }[];
197
+ getOptions?: Function | undefined;
198
+ singleHeadMutiColSlot?: any;
199
+ operationSpan?: number | undefined;
200
+ operationList?: object[] | undefined;
201
+ attr?: {
202
+ type?: "index" | "selection" | "expand" | undefined;
203
+ label?: string | undefined;
204
+ prop?: string | undefined;
205
+ index?: number | ((index: number) => number) | undefined;
206
+ 'column-key'?: string | undefined;
207
+ width?: string | undefined;
208
+ 'min-width'?: string | undefined;
209
+ fixed?: boolean | "left" | "right" | undefined;
210
+ 'render-header'?: Function | undefined;
211
+ sortable?: boolean | "custom" | undefined;
212
+ 'sort-method'?: Function | undefined;
213
+ 'sort-by'?: string | Function | string[] | undefined;
214
+ 'sort-orders'?: ["descending" | "ascending" | null, "descending" | "ascending" | null, "descending" | "ascending" | null] | undefined;
215
+ resizable?: boolean | undefined;
216
+ formatter?: Function | undefined;
217
+ 'show-overflow-tooltip'?: boolean | undefined;
218
+ align?: "left" | "right" | "center" | undefined;
219
+ 'class-name'?: string | undefined;
220
+ 'label-class-name'?: string | undefined;
221
+ selectable?: Function | undefined;
222
+ 'reserve-selection'?: boolean | undefined;
223
+ filters?: {
224
+ text?: string | number | undefined;
225
+ value?: string | number | undefined;
226
+ }[] | undefined;
227
+ 'filter-placement'?: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end" | undefined;
228
+ 'filter-multiple'?: boolean | undefined;
229
+ 'filter-method'?: Function | undefined;
230
+ 'filtered-value'?: string[] | undefined;
231
+ } | undefined;
232
+ }[]>;
233
+ isLoading: import("vue-demi").ComputedRef<boolean>;
234
+ calcTableHeight: () => void;
235
+ syncLocalShowColumnToCookies: () => void;
236
+ syncCookiesToLocalShowColumn: () => Promise<void>;
237
+ syncCookiesToTableColumn: (readCached?: boolean) => Promise<void>;
238
+ elTableRefKey: import("vue-demi").Ref<number>;
239
+ clearDragCached: () => Promise<void>;
240
+ clearColumnEditCached: () => Promise<void>;
241
+ handleCurrentChange: (val: any, isSearch?: boolean) => void;
242
+ pageAttrs: import("vue-demi").ComputedRef<{
243
+ 'current-page': number | undefined;
244
+ 'page-size': number;
245
+ pageKeys: string[];
246
+ }>;
247
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
248
+ fieldsChange: (event: string[]) => void;
249
+ "update:showColumn": (event: string[] | undefined) => void;
250
+ searchApi: (event: {
251
+ data: Record<string, any>;
252
+ callback: Function;
253
+ }) => void;
254
+ }, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
255
+ data?: Record<string, any>[] | undefined;
256
+ columns?: NfTableColumnAttributes[] | any;
257
+ searchFormAttrs?: NfSearchFormAttributes | undefined;
258
+ searchFormEvents?: Partial<Record<NfSearchFormEventKey, Function>> | undefined;
259
+ tableAttrs?: ElTableAttributes | undefined;
260
+ tableEvents?: Partial<Record<ElTableEventKey, Function>> | undefined;
261
+ pageAttrs?: ElPaginationAttributes | undefined;
262
+ pageEvents?: Partial<Record<ElPaginationEventKey, Function>> | undefined;
263
+ actionBarOptList?: NfTableActionBtnAttributes[] | undefined;
264
+ initSearchApi?: boolean | undefined;
265
+ pageChangeSearchApi?: boolean | undefined;
266
+ pageKeys?: string[] | undefined;
267
+ setEasyConf?: boolean | undefined;
268
+ dragCached?: boolean | undefined;
269
+ emptyImageSize?: number | undefined;
270
+ emptyText?: string | undefined;
271
+ calHeight?: boolean | undefined;
272
+ columnEdit?: boolean | undefined;
273
+ columnPosition?: "embed" | "free" | undefined;
274
+ checkMode?: "dialog" | "drawer" | undefined;
275
+ priority?: "value" | "cached" | undefined;
276
+ storageKey?: string | undefined;
277
+ searchFormStorageKey?: string | undefined;
278
+ showColumn?: string[] | undefined;
279
+ selectEmptyWarningTips?: string | undefined;
280
+ columnDisplayBtnClass?: string | undefined;
281
+ columnDisplayBtnIcon?: string | undefined;
282
+ columnDisplayBtnType?: string | undefined;
283
+ columnDisplayBtnPlain?: boolean | undefined;
284
+ columnDisplayBtnSize?: string | undefined;
285
+ columnDisplayBtnRound?: boolean | undefined;
286
+ columnDisplayBtnCircle?: boolean | undefined;
287
+ columnDisplayBtnLoading?: boolean | undefined;
288
+ columnDisplayBtnDisabled?: boolean | undefined;
289
+ columnDisplayBtnText?: string | undefined;
290
+ columnCheckTitle?: string | undefined;
291
+ columnCheckCancelButtonText?: string | undefined;
292
+ columnCheckConfirmButtonText?: string | undefined;
293
+ columnCheckBasicFieldDesc?: string | undefined;
294
+ columnCheckWidth?: string | undefined;
295
+ columnCheckModalAppendToBody?: boolean | undefined;
296
+ columnCheckModal?: boolean | undefined;
297
+ columnCheckFullscreen?: boolean | undefined;
298
+ columnCheckTop?: string | undefined;
299
+ columnCheckAppendToBody?: boolean | undefined;
300
+ columnCheckLockScroll?: boolean | undefined;
301
+ columnCheckCustomClass?: string | undefined;
302
+ columnCheckCloseOnlickModal?: boolean | undefined;
303
+ columnCheckCloseOnPressEscape?: boolean | undefined;
304
+ columnCheckShowClose?: boolean | undefined;
305
+ columnCheckBeforeClose?: Function | undefined;
306
+ columnCheckCenter?: boolean | undefined;
307
+ columnCheckDestroyOnClose?: boolean | undefined;
308
+ columnCheckSearchPlaceholder?: string | undefined;
309
+ columnCheckFixedLeftDesc?: string | undefined;
310
+ columnCheckClearDesc?: string | undefined;
311
+ columnCheckNoFixedDesc?: string | undefined;
312
+ columnCheckGetCheckedLengthDesc?: any;
313
+ columnCheckGetAllCheckDesc?: any;
314
+ columnCheckTabs?: ITabItem[] | undefined;
315
+ columnCheckCurrentTab?: string | undefined;
316
+ loading?: boolean | undefined;
317
+ target?: HTMLElement | undefined;
318
+ body?: boolean | undefined;
319
+ fullscreen?: boolean | undefined;
320
+ lock?: boolean | undefined;
321
+ text?: string | undefined;
322
+ spinner?: string | undefined;
323
+ background?: string | undefined;
324
+ customClass?: string | undefined;
325
+ alwaysShowPage?: boolean | undefined;
326
+ operationPropKey?: string | undefined;
327
+ drawerProps?: Record<string, any> | undefined;
328
+ }>, {
329
+ dragCached: boolean;
330
+ emptyImageSize: number;
331
+ emptyText: string;
332
+ priority: string;
333
+ storageKey: string;
334
+ searchFormStorageKey: string;
335
+ checkMode: string;
336
+ data: () => never[];
337
+ columns: () => never[];
338
+ searchFormAttrs: () => {};
339
+ tableAttrs: () => {};
340
+ pageAttrs: () => {};
341
+ searchFormEvents: () => {};
342
+ tableEvents: () => {};
343
+ pageEvents: () => {};
344
+ actionBarOptList: () => never[];
345
+ initSearchApi: undefined;
346
+ pageChangeSearchApi: undefined;
347
+ pageKeys: () => string[];
348
+ setEasyConf: boolean;
349
+ calHeight: boolean;
350
+ columnEdit: boolean;
351
+ columnPosition: string;
352
+ showColumn: undefined;
353
+ loading: boolean;
354
+ target: undefined;
355
+ body: boolean;
356
+ fullscreen: boolean;
357
+ lock: boolean;
358
+ text: undefined;
359
+ spinner: undefined;
360
+ background: undefined;
361
+ customClass: undefined;
362
+ columnDisplayBtnIcon: string;
363
+ columnDisplayBtnType: string;
364
+ columnDisplayBtnPlain: boolean;
365
+ columnDisplayBtnSize: string;
366
+ columnDisplayBtnRound: boolean;
367
+ columnDisplayBtnCircle: boolean;
368
+ columnDisplayBtnLoading: boolean;
369
+ columnDisplayBtnDisabled: boolean;
370
+ columnDisplayBtnClass: string;
371
+ alwaysShowPage: boolean;
372
+ operationPropKey: string;
373
+ columnCheckWidth: string;
374
+ columnCheckModalAppendToBody: boolean;
375
+ columnCheckModal: boolean;
376
+ columnCheckFullscreen: boolean;
377
+ columnCheckTop: string;
378
+ columnCheckAppendToBody: boolean;
379
+ columnCheckLockScroll: boolean;
380
+ columnCheckCustomClass: string;
381
+ columnCheckCloseOnlickModal: boolean;
382
+ columnCheckCloseOnPressEscape: boolean;
383
+ columnCheckShowClose: boolean;
384
+ columnCheckBeforeClose: undefined;
385
+ columnCheckCenter: boolean;
386
+ columnCheckDestroyOnClose: boolean;
387
+ selectEmptyWarningTips: string;
388
+ columnDisplayBtnText: string;
389
+ columnCheckTitle: string;
390
+ columnCheckCancelButtonText: string;
391
+ columnCheckConfirmButtonText: string;
392
+ columnCheckSearchPlaceholder: string;
393
+ columnCheckFixedLeftDesc: string;
394
+ columnCheckClearDesc: string;
395
+ columnCheckNoFixedDesc: string;
396
+ columnCheckBasicFieldDesc: string;
397
+ columnCheckGetCheckedLengthDesc: (length: any) => (length: any) => string;
398
+ columnCheckGetAllCheckDesc: (length: any) => (length: any) => string;
399
+ drawerProps: () => {};
400
+ }>>>, {
401
+ background: string;
402
+ columns: NfTableColumnAttributes[] | any;
403
+ columnEdit: boolean;
404
+ operationPropKey: string;
405
+ storageKey: string;
406
+ fullscreen: boolean;
407
+ customClass: string;
408
+ data: Record<string, any>[];
409
+ body: boolean;
410
+ text: string;
411
+ selectEmptyWarningTips: string;
412
+ showColumn: string[];
413
+ searchFormAttrs: NfSearchFormAttributes;
414
+ searchFormEvents: Partial<Record<NfSearchFormEventKey, Function>>;
415
+ tableAttrs: ElTableAttributes;
416
+ tableEvents: Partial<Record<ElTableEventKey, Function>>;
417
+ pageAttrs: ElPaginationAttributes;
418
+ pageEvents: Partial<Record<ElPaginationEventKey, Function>>;
419
+ actionBarOptList: NfTableActionBtnAttributes[];
420
+ initSearchApi: boolean;
421
+ pageChangeSearchApi: boolean;
422
+ pageKeys: string[];
423
+ setEasyConf: boolean;
424
+ dragCached: boolean;
425
+ emptyImageSize: number;
426
+ emptyText: string;
427
+ calHeight: boolean;
428
+ columnPosition: 'free' | 'embed';
429
+ checkMode: 'dialog' | 'drawer';
430
+ priority: 'cached' | 'value';
431
+ searchFormStorageKey: string;
432
+ columnDisplayBtnClass: string;
433
+ columnDisplayBtnIcon: string;
434
+ columnDisplayBtnType: string;
435
+ columnDisplayBtnPlain: boolean;
436
+ columnDisplayBtnSize: string;
437
+ columnDisplayBtnRound: boolean;
438
+ columnDisplayBtnCircle: boolean;
439
+ columnDisplayBtnLoading: boolean;
440
+ columnDisplayBtnDisabled: boolean;
441
+ columnDisplayBtnText: string;
442
+ columnCheckTitle: string;
443
+ columnCheckCancelButtonText: string;
444
+ columnCheckConfirmButtonText: string;
445
+ columnCheckBasicFieldDesc: string;
446
+ columnCheckWidth: string;
447
+ columnCheckModalAppendToBody: boolean;
448
+ columnCheckModal: boolean;
449
+ columnCheckFullscreen: boolean;
450
+ columnCheckTop: string;
451
+ columnCheckAppendToBody: boolean;
452
+ columnCheckLockScroll: boolean;
453
+ columnCheckCustomClass: string;
454
+ columnCheckCloseOnlickModal: boolean;
455
+ columnCheckCloseOnPressEscape: boolean;
456
+ columnCheckShowClose: boolean;
457
+ columnCheckBeforeClose: Function;
458
+ columnCheckCenter: boolean;
459
+ columnCheckDestroyOnClose: boolean;
460
+ columnCheckSearchPlaceholder: string;
461
+ columnCheckFixedLeftDesc: string;
462
+ columnCheckClearDesc: string;
463
+ columnCheckNoFixedDesc: string;
464
+ columnCheckGetCheckedLengthDesc: any;
465
+ columnCheckGetAllCheckDesc: any;
466
+ loading: boolean;
467
+ target: HTMLElement;
468
+ lock: boolean;
469
+ spinner: string;
470
+ alwaysShowPage: boolean;
471
+ drawerProps: Record<string, any>;
472
+ }>, Partial<Record<any, (_: {
473
+ slot: any;
474
+ }) => any>> & Partial<Record<any, (_: {
475
+ slot: any;
476
+ }) => any>> & Partial<Record<any, (_: {
477
+ slot: any;
478
+ }) => any>> & Partial<Record<any, (_: {
479
+ slot: any;
480
+ }) => any>> & Partial<Record<any, (_: {
481
+ slot: any;
482
+ }) => any>> & Partial<Record<any, (_: {
483
+ slot: any;
484
+ }) => any>> & Partial<Record<any, (_: {
485
+ slot: any;
486
+ }) => any>> & Partial<Record<any, (_: {
487
+ slot: any;
488
+ }) => any>> & Partial<Record<any, (_: {
489
+ slot: any;
490
+ }) => any>> & Partial<Record<any, (_: {
491
+ slot: any;
492
+ }) => any>> & Partial<Record<any, (_: {
493
+ slot: any;
494
+ }) => any>> & Partial<Record<any, (_: {
495
+ slot: any;
496
+ }) => any>> & Partial<Record<any, (_: {
497
+ row: any;
498
+ index: any;
499
+ }) => any>> & Partial<Record<any, (_: {}) => any>> & Partial<Record<any, (_: {
500
+ $index: any;
501
+ column: any;
502
+ }) => any>> & Partial<Record<any, (_: {
503
+ row: any;
504
+ index: any;
505
+ }) => any>> & Partial<Record<string, (_: {
506
+ slot: string;
507
+ }) => any>> & Partial<Record<string, (_: {
508
+ slot: string;
509
+ }) => any>> & Partial<Record<string, (_: {
510
+ slot: string;
511
+ }) => any>> & Partial<Record<string, (_: {
512
+ slot: string;
513
+ }) => any>> & Partial<Record<string, (_: {
514
+ slot: string;
515
+ }) => any>> & Partial<Record<string, (_: {
516
+ slot: string;
517
+ }) => any>> & Partial<Record<string, (_: {
518
+ slot: string;
519
+ }) => any>> & Partial<Record<string, (_: {
520
+ slot: string;
521
+ }) => any>> & {
522
+ searchBox?(_: {
523
+ ref: string;
524
+ }): any;
525
+ btnBox?(_: {
526
+ slot: string;
527
+ }): any;
528
+ searchFormColumnEditDialogTitle?(_: {
529
+ slot: string;
530
+ }): any;
531
+ searchFormColumnEditDialogFooter?(_: {
532
+ slot: string;
533
+ }): any;
534
+ columnEdit?(_: {}): any;
535
+ operationIconColumnCheck?(_: {
536
+ column: {
537
+ _index?: number | undefined;
538
+ __index?: number | undefined;
539
+ initHidden?: boolean | undefined;
540
+ destory?: boolean | ((any: any) => boolean) | undefined;
541
+ type?: "index" | "selection" | "expand" | undefined;
542
+ label?: string | ((any: any) => string) | undefined;
543
+ addLabel?: string | undefined;
544
+ prop?: string | undefined;
545
+ render?: Function | undefined;
546
+ slot?: any;
547
+ headerSlot?: any;
548
+ labelTooltip?: string | undefined;
549
+ labelTooltipPlacement?: string | undefined;
550
+ unit?: string | undefined;
551
+ options: {
552
+ label: string;
553
+ value: string | number;
554
+ tagType?: any;
555
+ }[];
556
+ getOptions?: Function | undefined;
557
+ singleHeadMutiColSlot?: any;
558
+ operationSpan?: number | undefined;
559
+ operationList?: object[] | undefined;
560
+ attr?: {
561
+ type?: "index" | "selection" | "expand" | undefined;
562
+ label?: string | undefined;
563
+ prop?: string | undefined;
564
+ index?: number | ((index: number) => number) | undefined;
565
+ 'column-key'?: string | undefined;
566
+ width?: string | undefined;
567
+ 'min-width'?: string | undefined;
568
+ fixed?: boolean | "left" | "right" | undefined;
569
+ 'render-header'?: Function | undefined;
570
+ sortable?: boolean | "custom" | undefined;
571
+ 'sort-method'?: Function | undefined;
572
+ 'sort-by'?: string | Function | string[] | undefined;
573
+ 'sort-orders'?: ["descending" | "ascending" | null, "descending" | "ascending" | null, "descending" | "ascending" | null] | undefined;
574
+ resizable?: boolean | undefined;
575
+ formatter?: Function | undefined;
576
+ 'show-overflow-tooltip'?: boolean | undefined;
577
+ align?: "left" | "right" | "center" | undefined;
578
+ 'class-name'?: string | undefined;
579
+ 'label-class-name'?: string | undefined;
580
+ selectable?: Function | undefined;
581
+ 'reserve-selection'?: boolean | undefined;
582
+ filters?: {
583
+ text?: string | number | undefined;
584
+ value?: string | number | undefined;
585
+ }[] | undefined;
586
+ 'filter-placement'?: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end" | undefined;
587
+ 'filter-multiple'?: boolean | undefined;
588
+ 'filter-method'?: Function | undefined;
589
+ 'filtered-value'?: string[] | undefined;
590
+ } | undefined;
591
+ };
592
+ }): any;
593
+ append?(_: {
594
+ slot: string;
595
+ }): any;
596
+ empty?(_: {
597
+ slot: string;
598
+ }): any;
599
+ actionBar?(_: {
600
+ ref: string;
601
+ }): any;
602
+ pagination?(_: {}): any;
603
+ title?(_: {
604
+ slot: string;
605
+ }): any;
606
+ footer?(_: {
607
+ slot: string;
608
+ }): any;
609
+ }>;
610
+ export default _default;
611
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
612
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
613
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
614
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
615
+ } : {
616
+ type: import('vue').PropType<T[K]>;
617
+ required: true;
618
+ };
619
+ };
620
+ declare type __VLS_WithDefaults<P, D> = {
621
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
622
+ default: D[K];
623
+ }> : P[K];
624
+ };
625
+ declare type __VLS_Prettify<T> = {
626
+ [K in keyof T]: T[K];
627
+ } & {};
628
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
629
+ new (): {
630
+ $scopedSlots: S;
631
+ };
632
+ };