@94ai/nf-table 8.0.1 → 8.0.5

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