@94ai/nf-table 3.3.0 → 3.3.4

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