@94ai/nf-table 9.0.0 → 10.0.0

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