@94ai/nf-table 8.0.15 → 8.0.17

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