@94ai/nf-table 6.1.12 → 6.1.13

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