@94ai/nf-table 6.1.0 → 6.1.1

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,476 +1,476 @@
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
- unit?: string | undefined;
189
- options: {
190
- label: string;
191
- value: string | number;
192
- tagType?: any;
193
- }[];
194
- getOptions?: Function | undefined;
195
- singleHeadMutiColSlot?: any;
196
- attr?: {
197
- type?: "index" | "selection" | "expand" | undefined;
198
- label?: string | undefined;
199
- prop?: string | undefined;
200
- index?: number | ((index: number) => number) | undefined;
201
- 'column-key'?: string | undefined;
202
- width?: string | undefined;
203
- 'min-width'?: string | undefined;
204
- fixed?: boolean | "left" | "right" | undefined;
205
- 'render-header'?: Function | undefined;
206
- sortable?: boolean | "custom" | undefined;
207
- 'sort-method'?: Function | undefined;
208
- 'sort-by'?: string | Function | string[] | undefined;
209
- 'sort-orders'?: ["descending" | "ascending" | null, "descending" | "ascending" | null, "descending" | "ascending" | null] | undefined;
210
- resizable?: boolean | undefined;
211
- formatter?: Function | undefined;
212
- 'show-overflow-tooltip'?: boolean | undefined;
213
- align?: "left" | "right" | "center" | undefined;
214
- 'class-name'?: string | undefined;
215
- 'label-class-name'?: string | undefined;
216
- selectable?: Function | undefined;
217
- 'reserve-selection'?: boolean | undefined;
218
- filters?: {
219
- text?: string | number | undefined;
220
- value?: string | number | undefined;
221
- }[] | undefined;
222
- 'filter-placement'?: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end" | undefined;
223
- 'filter-multiple'?: boolean | undefined;
224
- 'filter-method'?: Function | undefined;
225
- 'filtered-value'?: string[] | undefined;
226
- } | undefined;
227
- }[]>;
228
- isLoading: import("vue-demi").ComputedRef<boolean>;
229
- calcTableHeight: () => void;
230
- syncLocalShowColumnToCookies: () => void;
231
- syncCookiesToLocalShowColumn: () => Promise<void>;
232
- syncCookiesToTableColumn: (readCached?: boolean) => Promise<void>;
233
- elTableRefKey: import("vue-demi").Ref<number>;
234
- clearDragCached: () => Promise<void>;
235
- clearColumnEditCached: () => Promise<void>;
236
- }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
237
- fieldsChange: (event: string[]) => void;
238
- "update:showColumn": (event: string[] | undefined) => void;
239
- searchApi: (event: {
240
- data: Record<string, any>;
241
- callback: Function;
242
- }) => void;
243
- }, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
244
- data?: Record<string, any>[] | undefined;
245
- columns?: NfTableColumnAttributes[] | any;
246
- searchFormAttrs?: NfSearchFormAttributes | undefined;
247
- searchFormEvents?: Partial<Record<NfSearchFormEventKey, Function>> | undefined;
248
- tableAttrs?: ElTableAttributes | undefined;
249
- tableEvents?: Partial<Record<ElTableEventKey, Function>> | undefined;
250
- pageAttrs?: ElPaginationAttributes | undefined;
251
- pageEvents?: Partial<Record<ElPaginationEventKey, Function>> | undefined;
252
- actionBarOptList?: NfTableActionBtnAttributes[] | undefined;
253
- initSearchApi?: boolean | undefined;
254
- pageChangeSearchApi?: boolean | undefined;
255
- pageKeys?: string[] | undefined;
256
- setEasyConf?: boolean | undefined;
257
- dragCached?: boolean | undefined;
258
- emptyImageSize?: number | undefined;
259
- emptyText?: string | undefined;
260
- calHeight?: boolean | undefined;
261
- columnEdit?: boolean | undefined;
262
- columnPosition?: "embed" | "free" | undefined;
263
- checkMode?: "dialog" | "drawer" | undefined;
264
- priority?: "value" | "cached" | undefined;
265
- storageKey?: string | undefined;
266
- searchFormStorageKey?: string | undefined;
267
- showColumn?: string[] | undefined;
268
- selectEmptyWarningTips?: string | undefined;
269
- columnDisplayBtnClass?: string | undefined;
270
- columnDisplayBtnIcon?: string | undefined;
271
- columnDisplayBtnType?: string | undefined;
272
- columnDisplayBtnPlain?: boolean | undefined;
273
- columnDisplayBtnSize?: string | undefined;
274
- columnDisplayBtnRound?: boolean | undefined;
275
- columnDisplayBtnCircle?: boolean | undefined;
276
- columnDisplayBtnLoading?: boolean | undefined;
277
- columnDisplayBtnDisabled?: boolean | undefined;
278
- columnDisplayBtnText?: string | undefined;
279
- columnCheckTitle?: string | undefined;
280
- columnCheckCancelButtonText?: string | undefined;
281
- columnCheckConfirmButtonText?: string | undefined;
282
- columnCheckBasicFieldDesc?: string | undefined;
283
- columnCheckWidth?: string | undefined;
284
- columnCheckModalAppendToBody?: boolean | undefined;
285
- columnCheckModal?: boolean | undefined;
286
- columnCheckFullscreen?: boolean | undefined;
287
- columnCheckTop?: string | undefined;
288
- columnCheckAppendToBody?: boolean | undefined;
289
- columnCheckLockScroll?: boolean | undefined;
290
- columnCheckCustomClass?: string | undefined;
291
- columnCheckCloseOnlickModal?: boolean | undefined;
292
- columnCheckCloseOnPressEscape?: boolean | undefined;
293
- columnCheckShowClose?: boolean | undefined;
294
- columnCheckBeforeClose?: Function | undefined;
295
- columnCheckCenter?: boolean | undefined;
296
- columnCheckDestroyOnClose?: boolean | undefined;
297
- columnCheckSearchPlaceholder?: string | undefined;
298
- columnCheckFixedLeftDesc?: string | undefined;
299
- columnCheckClearDesc?: string | undefined;
300
- columnCheckNoFixedDesc?: string | undefined;
301
- columnCheckGetCheckedLengthDesc?: any;
302
- columnCheckGetAllCheckDesc?: any;
303
- columnCheckTabs?: ITabItem[] | undefined;
304
- columnCheckCurrentTab?: string | undefined;
305
- loading?: boolean | undefined;
306
- target?: HTMLElement | undefined;
307
- body?: boolean | undefined;
308
- fullscreen?: boolean | undefined;
309
- lock?: boolean | undefined;
310
- text?: string | undefined;
311
- spinner?: string | undefined;
312
- background?: string | undefined;
313
- customClass?: string | undefined;
314
- alwaysShowPage?: boolean | undefined;
315
- operationPropKey?: string | undefined;
316
- }>, {
317
- dragCached: boolean;
318
- emptyImageSize: number;
319
- emptyText: string;
320
- priority: string;
321
- storageKey: string;
322
- searchFormStorageKey: string;
323
- checkMode: string;
324
- data: () => never[];
325
- columns: () => never[];
326
- searchFormAttrs: () => {};
327
- tableAttrs: () => {};
328
- pageAttrs: () => {};
329
- searchFormEvents: () => {};
330
- tableEvents: () => {};
331
- pageEvents: () => {};
332
- actionBarOptList: () => never[];
333
- initSearchApi: undefined;
334
- pageChangeSearchApi: undefined;
335
- pageKeys: () => string[];
336
- setEasyConf: boolean;
337
- calHeight: boolean;
338
- columnEdit: boolean;
339
- columnPosition: string;
340
- showColumn: undefined;
341
- loading: boolean;
342
- target: undefined;
343
- body: boolean;
344
- fullscreen: boolean;
345
- lock: boolean;
346
- text: undefined;
347
- spinner: undefined;
348
- background: undefined;
349
- customClass: undefined;
350
- columnDisplayBtnIcon: string;
351
- columnDisplayBtnType: string;
352
- columnDisplayBtnPlain: boolean;
353
- columnDisplayBtnSize: string;
354
- columnDisplayBtnRound: boolean;
355
- columnDisplayBtnCircle: boolean;
356
- columnDisplayBtnLoading: boolean;
357
- columnDisplayBtnDisabled: boolean;
358
- columnDisplayBtnClass: string;
359
- alwaysShowPage: boolean;
360
- operationPropKey: string;
361
- columnCheckWidth: string;
362
- columnCheckModalAppendToBody: boolean;
363
- columnCheckModal: boolean;
364
- columnCheckFullscreen: boolean;
365
- columnCheckTop: string;
366
- columnCheckAppendToBody: boolean;
367
- columnCheckLockScroll: boolean;
368
- columnCheckCustomClass: string;
369
- columnCheckCloseOnlickModal: boolean;
370
- columnCheckCloseOnPressEscape: boolean;
371
- columnCheckShowClose: boolean;
372
- columnCheckBeforeClose: undefined;
373
- columnCheckCenter: boolean;
374
- columnCheckDestroyOnClose: boolean;
375
- selectEmptyWarningTips: string;
376
- columnDisplayBtnText: string;
377
- columnCheckTitle: string;
378
- columnCheckCancelButtonText: string;
379
- columnCheckConfirmButtonText: string;
380
- columnCheckSearchPlaceholder: string;
381
- columnCheckFixedLeftDesc: string;
382
- columnCheckClearDesc: string;
383
- columnCheckNoFixedDesc: string;
384
- columnCheckBasicFieldDesc: string;
385
- columnCheckGetCheckedLengthDesc: (length: any) => (length: any) => string;
386
- columnCheckGetAllCheckDesc: (length: any) => (length: any) => string;
387
- }>>>, {
388
- background: string;
389
- columns: NfTableColumnAttributes[] | any;
390
- columnEdit: boolean;
391
- operationPropKey: string;
392
- storageKey: string;
393
- fullscreen: boolean;
394
- customClass: string;
395
- data: Record<string, any>[];
396
- body: boolean;
397
- text: string;
398
- selectEmptyWarningTips: string;
399
- showColumn: string[];
400
- searchFormAttrs: NfSearchFormAttributes;
401
- searchFormEvents: Partial<Record<NfSearchFormEventKey, Function>>;
402
- tableAttrs: ElTableAttributes;
403
- tableEvents: Partial<Record<ElTableEventKey, Function>>;
404
- pageAttrs: ElPaginationAttributes;
405
- pageEvents: Partial<Record<ElPaginationEventKey, Function>>;
406
- actionBarOptList: NfTableActionBtnAttributes[];
407
- initSearchApi: boolean;
408
- pageChangeSearchApi: boolean;
409
- pageKeys: string[];
410
- setEasyConf: boolean;
411
- dragCached: boolean;
412
- emptyImageSize: number;
413
- emptyText: string;
414
- calHeight: boolean;
415
- columnPosition: 'free' | 'embed';
416
- checkMode: 'dialog' | 'drawer';
417
- priority: 'cached' | 'value';
418
- searchFormStorageKey: string;
419
- columnDisplayBtnClass: string;
420
- columnDisplayBtnIcon: string;
421
- columnDisplayBtnType: string;
422
- columnDisplayBtnPlain: boolean;
423
- columnDisplayBtnSize: string;
424
- columnDisplayBtnRound: boolean;
425
- columnDisplayBtnCircle: boolean;
426
- columnDisplayBtnLoading: boolean;
427
- columnDisplayBtnDisabled: boolean;
428
- columnDisplayBtnText: string;
429
- columnCheckTitle: string;
430
- columnCheckCancelButtonText: string;
431
- columnCheckConfirmButtonText: string;
432
- columnCheckBasicFieldDesc: string;
433
- columnCheckWidth: string;
434
- columnCheckModalAppendToBody: boolean;
435
- columnCheckModal: boolean;
436
- columnCheckFullscreen: boolean;
437
- columnCheckTop: string;
438
- columnCheckAppendToBody: boolean;
439
- columnCheckLockScroll: boolean;
440
- columnCheckCustomClass: string;
441
- columnCheckCloseOnlickModal: boolean;
442
- columnCheckCloseOnPressEscape: boolean;
443
- columnCheckShowClose: boolean;
444
- columnCheckBeforeClose: Function;
445
- columnCheckCenter: boolean;
446
- columnCheckDestroyOnClose: boolean;
447
- columnCheckSearchPlaceholder: string;
448
- columnCheckFixedLeftDesc: string;
449
- columnCheckClearDesc: string;
450
- columnCheckNoFixedDesc: string;
451
- columnCheckGetCheckedLengthDesc: any;
452
- columnCheckGetAllCheckDesc: any;
453
- loading: boolean;
454
- target: HTMLElement;
455
- lock: boolean;
456
- spinner: string;
457
- alwaysShowPage: boolean;
458
- }>;
459
- export default _default;
460
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
461
- declare type __VLS_TypePropsToRuntimeProps<T> = {
462
- [K in keyof T]-?: {} extends Pick<T, K> ? {
463
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
464
- } : {
465
- type: import('vue').PropType<T[K]>;
466
- required: true;
467
- };
468
- };
469
- declare type __VLS_WithDefaults<P, D> = {
470
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
471
- default: D[K];
472
- }> : P[K];
473
- };
474
- declare type __VLS_Prettify<T> = {
475
- [K in keyof T]: T[K];
476
- } & {};
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
+ unit?: string | undefined;
189
+ options: {
190
+ label: string;
191
+ value: string | number;
192
+ tagType?: any;
193
+ }[];
194
+ getOptions?: Function | undefined;
195
+ singleHeadMutiColSlot?: any;
196
+ attr?: {
197
+ type?: "index" | "selection" | "expand" | undefined;
198
+ label?: string | undefined;
199
+ prop?: string | undefined;
200
+ index?: number | ((index: number) => number) | undefined;
201
+ 'column-key'?: string | undefined;
202
+ width?: string | undefined;
203
+ 'min-width'?: string | undefined;
204
+ fixed?: boolean | "left" | "right" | undefined;
205
+ 'render-header'?: Function | undefined;
206
+ sortable?: boolean | "custom" | undefined;
207
+ 'sort-method'?: Function | undefined;
208
+ 'sort-by'?: string | Function | string[] | undefined;
209
+ 'sort-orders'?: ["descending" | "ascending" | null, "descending" | "ascending" | null, "descending" | "ascending" | null] | undefined;
210
+ resizable?: boolean | undefined;
211
+ formatter?: Function | undefined;
212
+ 'show-overflow-tooltip'?: boolean | undefined;
213
+ align?: "left" | "right" | "center" | undefined;
214
+ 'class-name'?: string | undefined;
215
+ 'label-class-name'?: string | undefined;
216
+ selectable?: Function | undefined;
217
+ 'reserve-selection'?: boolean | undefined;
218
+ filters?: {
219
+ text?: string | number | undefined;
220
+ value?: string | number | undefined;
221
+ }[] | undefined;
222
+ 'filter-placement'?: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end" | undefined;
223
+ 'filter-multiple'?: boolean | undefined;
224
+ 'filter-method'?: Function | undefined;
225
+ 'filtered-value'?: string[] | undefined;
226
+ } | undefined;
227
+ }[]>;
228
+ isLoading: import("vue-demi").ComputedRef<boolean>;
229
+ calcTableHeight: () => void;
230
+ syncLocalShowColumnToCookies: () => void;
231
+ syncCookiesToLocalShowColumn: () => Promise<void>;
232
+ syncCookiesToTableColumn: (readCached?: boolean) => Promise<void>;
233
+ elTableRefKey: import("vue-demi").Ref<number>;
234
+ clearDragCached: () => Promise<void>;
235
+ clearColumnEditCached: () => Promise<void>;
236
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
237
+ fieldsChange: (event: string[]) => void;
238
+ "update:showColumn": (event: string[] | undefined) => void;
239
+ searchApi: (event: {
240
+ data: Record<string, any>;
241
+ callback: Function;
242
+ }) => void;
243
+ }, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
244
+ data?: Record<string, any>[] | undefined;
245
+ columns?: NfTableColumnAttributes[] | any;
246
+ searchFormAttrs?: NfSearchFormAttributes | undefined;
247
+ searchFormEvents?: Partial<Record<NfSearchFormEventKey, Function>> | undefined;
248
+ tableAttrs?: ElTableAttributes | undefined;
249
+ tableEvents?: Partial<Record<ElTableEventKey, Function>> | undefined;
250
+ pageAttrs?: ElPaginationAttributes | undefined;
251
+ pageEvents?: Partial<Record<ElPaginationEventKey, Function>> | undefined;
252
+ actionBarOptList?: NfTableActionBtnAttributes[] | undefined;
253
+ initSearchApi?: boolean | undefined;
254
+ pageChangeSearchApi?: boolean | undefined;
255
+ pageKeys?: string[] | undefined;
256
+ setEasyConf?: boolean | undefined;
257
+ dragCached?: boolean | undefined;
258
+ emptyImageSize?: number | undefined;
259
+ emptyText?: string | undefined;
260
+ calHeight?: boolean | undefined;
261
+ columnEdit?: boolean | undefined;
262
+ columnPosition?: "embed" | "free" | undefined;
263
+ checkMode?: "dialog" | "drawer" | undefined;
264
+ priority?: "value" | "cached" | undefined;
265
+ storageKey?: string | undefined;
266
+ searchFormStorageKey?: string | undefined;
267
+ showColumn?: string[] | undefined;
268
+ selectEmptyWarningTips?: string | undefined;
269
+ columnDisplayBtnClass?: string | undefined;
270
+ columnDisplayBtnIcon?: string | undefined;
271
+ columnDisplayBtnType?: string | undefined;
272
+ columnDisplayBtnPlain?: boolean | undefined;
273
+ columnDisplayBtnSize?: string | undefined;
274
+ columnDisplayBtnRound?: boolean | undefined;
275
+ columnDisplayBtnCircle?: boolean | undefined;
276
+ columnDisplayBtnLoading?: boolean | undefined;
277
+ columnDisplayBtnDisabled?: boolean | undefined;
278
+ columnDisplayBtnText?: string | undefined;
279
+ columnCheckTitle?: string | undefined;
280
+ columnCheckCancelButtonText?: string | undefined;
281
+ columnCheckConfirmButtonText?: string | undefined;
282
+ columnCheckBasicFieldDesc?: string | undefined;
283
+ columnCheckWidth?: string | undefined;
284
+ columnCheckModalAppendToBody?: boolean | undefined;
285
+ columnCheckModal?: boolean | undefined;
286
+ columnCheckFullscreen?: boolean | undefined;
287
+ columnCheckTop?: string | undefined;
288
+ columnCheckAppendToBody?: boolean | undefined;
289
+ columnCheckLockScroll?: boolean | undefined;
290
+ columnCheckCustomClass?: string | undefined;
291
+ columnCheckCloseOnlickModal?: boolean | undefined;
292
+ columnCheckCloseOnPressEscape?: boolean | undefined;
293
+ columnCheckShowClose?: boolean | undefined;
294
+ columnCheckBeforeClose?: Function | undefined;
295
+ columnCheckCenter?: boolean | undefined;
296
+ columnCheckDestroyOnClose?: boolean | undefined;
297
+ columnCheckSearchPlaceholder?: string | undefined;
298
+ columnCheckFixedLeftDesc?: string | undefined;
299
+ columnCheckClearDesc?: string | undefined;
300
+ columnCheckNoFixedDesc?: string | undefined;
301
+ columnCheckGetCheckedLengthDesc?: any;
302
+ columnCheckGetAllCheckDesc?: any;
303
+ columnCheckTabs?: ITabItem[] | undefined;
304
+ columnCheckCurrentTab?: string | undefined;
305
+ loading?: boolean | undefined;
306
+ target?: HTMLElement | undefined;
307
+ body?: boolean | undefined;
308
+ fullscreen?: boolean | undefined;
309
+ lock?: boolean | undefined;
310
+ text?: string | undefined;
311
+ spinner?: string | undefined;
312
+ background?: string | undefined;
313
+ customClass?: string | undefined;
314
+ alwaysShowPage?: boolean | undefined;
315
+ operationPropKey?: string | undefined;
316
+ }>, {
317
+ dragCached: boolean;
318
+ emptyImageSize: number;
319
+ emptyText: string;
320
+ priority: string;
321
+ storageKey: string;
322
+ searchFormStorageKey: string;
323
+ checkMode: string;
324
+ data: () => never[];
325
+ columns: () => never[];
326
+ searchFormAttrs: () => {};
327
+ tableAttrs: () => {};
328
+ pageAttrs: () => {};
329
+ searchFormEvents: () => {};
330
+ tableEvents: () => {};
331
+ pageEvents: () => {};
332
+ actionBarOptList: () => never[];
333
+ initSearchApi: undefined;
334
+ pageChangeSearchApi: undefined;
335
+ pageKeys: () => string[];
336
+ setEasyConf: boolean;
337
+ calHeight: boolean;
338
+ columnEdit: boolean;
339
+ columnPosition: string;
340
+ showColumn: undefined;
341
+ loading: boolean;
342
+ target: undefined;
343
+ body: boolean;
344
+ fullscreen: boolean;
345
+ lock: boolean;
346
+ text: undefined;
347
+ spinner: undefined;
348
+ background: undefined;
349
+ customClass: undefined;
350
+ columnDisplayBtnIcon: string;
351
+ columnDisplayBtnType: string;
352
+ columnDisplayBtnPlain: boolean;
353
+ columnDisplayBtnSize: string;
354
+ columnDisplayBtnRound: boolean;
355
+ columnDisplayBtnCircle: boolean;
356
+ columnDisplayBtnLoading: boolean;
357
+ columnDisplayBtnDisabled: boolean;
358
+ columnDisplayBtnClass: string;
359
+ alwaysShowPage: boolean;
360
+ operationPropKey: string;
361
+ columnCheckWidth: string;
362
+ columnCheckModalAppendToBody: boolean;
363
+ columnCheckModal: boolean;
364
+ columnCheckFullscreen: boolean;
365
+ columnCheckTop: string;
366
+ columnCheckAppendToBody: boolean;
367
+ columnCheckLockScroll: boolean;
368
+ columnCheckCustomClass: string;
369
+ columnCheckCloseOnlickModal: boolean;
370
+ columnCheckCloseOnPressEscape: boolean;
371
+ columnCheckShowClose: boolean;
372
+ columnCheckBeforeClose: undefined;
373
+ columnCheckCenter: boolean;
374
+ columnCheckDestroyOnClose: boolean;
375
+ selectEmptyWarningTips: string;
376
+ columnDisplayBtnText: string;
377
+ columnCheckTitle: string;
378
+ columnCheckCancelButtonText: string;
379
+ columnCheckConfirmButtonText: string;
380
+ columnCheckSearchPlaceholder: string;
381
+ columnCheckFixedLeftDesc: string;
382
+ columnCheckClearDesc: string;
383
+ columnCheckNoFixedDesc: string;
384
+ columnCheckBasicFieldDesc: string;
385
+ columnCheckGetCheckedLengthDesc: (length: any) => (length: any) => string;
386
+ columnCheckGetAllCheckDesc: (length: any) => (length: any) => string;
387
+ }>>>, {
388
+ background: string;
389
+ columns: NfTableColumnAttributes[] | any;
390
+ columnEdit: boolean;
391
+ operationPropKey: string;
392
+ storageKey: string;
393
+ fullscreen: boolean;
394
+ customClass: string;
395
+ data: Record<string, any>[];
396
+ body: boolean;
397
+ text: string;
398
+ selectEmptyWarningTips: string;
399
+ showColumn: string[];
400
+ searchFormAttrs: NfSearchFormAttributes;
401
+ searchFormEvents: Partial<Record<NfSearchFormEventKey, Function>>;
402
+ tableAttrs: ElTableAttributes;
403
+ tableEvents: Partial<Record<ElTableEventKey, Function>>;
404
+ pageAttrs: ElPaginationAttributes;
405
+ pageEvents: Partial<Record<ElPaginationEventKey, Function>>;
406
+ actionBarOptList: NfTableActionBtnAttributes[];
407
+ initSearchApi: boolean;
408
+ pageChangeSearchApi: boolean;
409
+ pageKeys: string[];
410
+ setEasyConf: boolean;
411
+ dragCached: boolean;
412
+ emptyImageSize: number;
413
+ emptyText: string;
414
+ calHeight: boolean;
415
+ columnPosition: 'free' | 'embed';
416
+ checkMode: 'dialog' | 'drawer';
417
+ priority: 'cached' | 'value';
418
+ searchFormStorageKey: string;
419
+ columnDisplayBtnClass: string;
420
+ columnDisplayBtnIcon: string;
421
+ columnDisplayBtnType: string;
422
+ columnDisplayBtnPlain: boolean;
423
+ columnDisplayBtnSize: string;
424
+ columnDisplayBtnRound: boolean;
425
+ columnDisplayBtnCircle: boolean;
426
+ columnDisplayBtnLoading: boolean;
427
+ columnDisplayBtnDisabled: boolean;
428
+ columnDisplayBtnText: string;
429
+ columnCheckTitle: string;
430
+ columnCheckCancelButtonText: string;
431
+ columnCheckConfirmButtonText: string;
432
+ columnCheckBasicFieldDesc: string;
433
+ columnCheckWidth: string;
434
+ columnCheckModalAppendToBody: boolean;
435
+ columnCheckModal: boolean;
436
+ columnCheckFullscreen: boolean;
437
+ columnCheckTop: string;
438
+ columnCheckAppendToBody: boolean;
439
+ columnCheckLockScroll: boolean;
440
+ columnCheckCustomClass: string;
441
+ columnCheckCloseOnlickModal: boolean;
442
+ columnCheckCloseOnPressEscape: boolean;
443
+ columnCheckShowClose: boolean;
444
+ columnCheckBeforeClose: Function;
445
+ columnCheckCenter: boolean;
446
+ columnCheckDestroyOnClose: boolean;
447
+ columnCheckSearchPlaceholder: string;
448
+ columnCheckFixedLeftDesc: string;
449
+ columnCheckClearDesc: string;
450
+ columnCheckNoFixedDesc: string;
451
+ columnCheckGetCheckedLengthDesc: any;
452
+ columnCheckGetAllCheckDesc: any;
453
+ loading: boolean;
454
+ target: HTMLElement;
455
+ lock: boolean;
456
+ spinner: string;
457
+ alwaysShowPage: boolean;
458
+ }>;
459
+ export default _default;
460
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
461
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
462
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
463
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
464
+ } : {
465
+ type: import('vue').PropType<T[K]>;
466
+ required: true;
467
+ };
468
+ };
469
+ declare type __VLS_WithDefaults<P, D> = {
470
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
471
+ default: D[K];
472
+ }> : P[K];
473
+ };
474
+ declare type __VLS_Prettify<T> = {
475
+ [K in keyof T]: T[K];
476
+ } & {};