@prefabs.tech/vue3-tanstack-table 0.31.0 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,8 @@
1
1
  import type { IFile, TableMessages } from "@prefabs.tech/vue3-ui";
2
2
  import type { PropType } from "vue";
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ declare const _default: typeof __VLS_export;
4
+ export default _default;
5
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
6
  actionButtonsVisibility: {
5
7
  default: () => {
6
8
  archive: boolean;
@@ -16,18 +18,49 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
16
18
  default: () => never[];
17
19
  type: PropType<IFile[]>;
18
20
  };
19
- messages: {
20
- default: undefined;
21
- type: PropType<TableMessages>;
22
- };
23
21
  listProps: {
24
22
  default: () => void;
25
- type: ObjectConstructor;
23
+ type: PropType<Partial<{
24
+ actionButtonsVisibility: Record<string, any>;
25
+ archiveButtonProps: Record<string, any>;
26
+ deleteButtonProps: Record<string, any>;
27
+ downloadButtonProps: Record<string, any>;
28
+ editDescriptionButtonProps: Record<string, any>;
29
+ locale: string;
30
+ messages: import("@prefabs.tech/vue3-ui").FileMessages;
31
+ shareButtonProps: Record<string, any>;
32
+ showThumbnail: boolean;
33
+ viewButtonProps: Record<string, any>;
34
+ fileDetailVisibility: Record<string, any>;
35
+ }> & Omit<{
36
+ readonly files: IFile[];
37
+ readonly messages: import("@prefabs.tech/vue3-ui").FileMessages;
38
+ readonly actionButtonsVisibility: Record<string, any>;
39
+ readonly archiveButtonProps: Record<string, any>;
40
+ readonly deleteButtonProps: Record<string, any>;
41
+ readonly downloadButtonProps: Record<string, any>;
42
+ readonly editDescriptionButtonProps: Record<string, any>;
43
+ readonly fileDetailVisibility: Record<string, any>;
44
+ readonly shareButtonProps: Record<string, any>;
45
+ readonly showThumbnail: boolean;
46
+ readonly locale?: string | undefined;
47
+ readonly viewButtonProps?: Record<string, any> | undefined;
48
+ readonly "onAction:archive"?: ((...args: any[]) => any) | undefined | undefined;
49
+ readonly "onAction:delete"?: ((...args: any[]) => any) | undefined | undefined;
50
+ readonly "onAction:download"?: ((...args: any[]) => any) | undefined | undefined;
51
+ readonly "onAction:edit"?: ((...args: any[]) => any) | undefined | undefined;
52
+ readonly "onAction:share"?: ((...args: any[]) => any) | undefined | undefined;
53
+ readonly "onAction:view"?: ((...args: any[]) => any) | undefined | undefined;
54
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "locale" | "messages" | "actionButtonsVisibility" | "archiveButtonProps" | "deleteButtonProps" | "downloadButtonProps" | "editDescriptionButtonProps" | "fileDetailVisibility" | "shareButtonProps" | "showThumbnail" | "viewButtonProps">>;
26
55
  };
27
56
  locale: {
28
57
  default: undefined;
29
58
  type: StringConstructor;
30
59
  };
60
+ messages: {
61
+ default: undefined;
62
+ type: PropType<TableMessages>;
63
+ };
31
64
  presentation: {
32
65
  default: () => string;
33
66
  type: StringConstructor;
@@ -35,13 +68,222 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
35
68
  };
36
69
  tableProps: {
37
70
  default: () => void;
38
- type: ObjectConstructor;
71
+ type: PropType<Partial<{
72
+ locale: string;
73
+ id: string;
74
+ isLoading: boolean;
75
+ isServerTable: boolean;
76
+ columnsData: import("@tanstack/vue-table").ColumnDef<any>[];
77
+ initialSorting: import("@tanstack/vue-table").SortingState;
78
+ persistState: boolean;
79
+ persistStateStorage: string;
80
+ tableOptions: Partial<{
81
+ locale: string;
82
+ inputDebounceTime: number;
83
+ data: unknown[];
84
+ id: string;
85
+ enableRowSelection: boolean;
86
+ customFormatters: Record<string, (value: any) => string>;
87
+ emptyTableMessage: string;
88
+ autoModeCount: number;
89
+ displayActions: boolean | ((data: object) => boolean);
90
+ showColumnAction: boolean;
91
+ showResetButton: boolean;
92
+ columnActionButtonLabel: string;
93
+ resetButtonLabel: string;
94
+ highlightActiveHeaderColumn: boolean;
95
+ isLoading: boolean;
96
+ isServerTable: boolean;
97
+ actionsMode: string;
98
+ columnsData: import("@tanstack/vue-table").ColumnDef<any>[];
99
+ dataActionMenu: import("../../types.js").DataActionsMenuItem[];
100
+ enableSortingRemoval: boolean;
101
+ initialFilters: import("@tanstack/vue-table").ColumnFiltersState;
102
+ initialSorting: import("@tanstack/vue-table").SortingState;
103
+ paginated: boolean;
104
+ paginationOptions: Record<string, any>;
105
+ persistState: boolean;
106
+ persistStateStorage: string;
107
+ rowPerPage: number;
108
+ rowPerPageOptions: number[];
109
+ tableOptions: Record<string, any>;
110
+ titleInfo: {
111
+ align?: string;
112
+ text: string;
113
+ };
114
+ totalRecords: number;
115
+ visibleColumns: string[];
116
+ }> & Omit<{
117
+ readonly data: unknown[];
118
+ readonly enableRowSelection: boolean;
119
+ readonly customFormatters: Record<string, (value: any) => string>;
120
+ readonly autoModeCount: number;
121
+ readonly displayActions: boolean | ((data: object) => boolean);
122
+ readonly showColumnAction: boolean;
123
+ readonly showResetButton: boolean;
124
+ readonly highlightActiveHeaderColumn: boolean;
125
+ readonly isLoading: boolean;
126
+ readonly isServerTable: boolean;
127
+ readonly actionsMode: string;
128
+ readonly columnsData: import("@tanstack/vue-table").ColumnDef<any>[];
129
+ readonly dataActionMenu: import("../../types.js").DataActionsMenuItem[];
130
+ readonly enableSortingRemoval: boolean;
131
+ readonly initialFilters: import("@tanstack/vue-table").ColumnFiltersState;
132
+ readonly initialSorting: import("@tanstack/vue-table").SortingState;
133
+ readonly paginated: boolean;
134
+ readonly paginationOptions: Record<string, any>;
135
+ readonly persistState: boolean;
136
+ readonly persistStateStorage: string;
137
+ readonly rowPerPage: number;
138
+ readonly rowPerPageOptions: number[];
139
+ readonly tableOptions: Record<string, any>;
140
+ readonly totalRecords: number;
141
+ readonly visibleColumns: string[];
142
+ readonly locale?: string | undefined;
143
+ readonly inputDebounceTime?: number | undefined;
144
+ readonly id?: string | undefined;
145
+ readonly emptyTableMessage?: string | undefined;
146
+ readonly columnActionButtonLabel?: string | undefined;
147
+ readonly resetButtonLabel?: string | undefined;
148
+ readonly titleInfo?: {
149
+ align?: string;
150
+ text: string;
151
+ } | undefined;
152
+ readonly "onAction:select"?: ((...args: any[]) => any) | undefined;
153
+ readonly "onChange:rowSelection"?: ((...args: any[]) => any) | undefined;
154
+ readonly "onUpdate:request"?: ((...args: any[]) => any) | undefined;
155
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "locale" | "inputDebounceTime" | "data" | "id" | "enableRowSelection" | "customFormatters" | "emptyTableMessage" | "autoModeCount" | "displayActions" | "showColumnAction" | "showResetButton" | "columnActionButtonLabel" | "resetButtonLabel" | "highlightActiveHeaderColumn" | "isLoading" | "isServerTable" | "actionsMode" | "columnsData" | "dataActionMenu" | "enableSortingRemoval" | "initialFilters" | "initialSorting" | "paginated" | "paginationOptions" | "persistState" | "persistStateStorage" | "rowPerPage" | "rowPerPageOptions" | "tableOptions" | "titleInfo" | "totalRecords" | "visibleColumns">;
156
+ totalRecords: number;
157
+ visibleColumns: string[];
158
+ archiveFile: boolean;
159
+ deleteFile: boolean;
160
+ downloadFile: boolean;
161
+ editDescription: boolean;
162
+ shareFile: boolean;
163
+ viewFile: boolean;
164
+ files: IFile[];
165
+ messages: TableMessages;
166
+ }> & Omit<{
167
+ readonly id: string;
168
+ readonly isLoading: boolean;
169
+ readonly isServerTable: boolean;
170
+ readonly columnsData: import("@tanstack/vue-table").ColumnDef<any>[];
171
+ readonly initialSorting: import("@tanstack/vue-table").SortingState;
172
+ readonly persistState: boolean;
173
+ readonly persistStateStorage: string;
174
+ readonly tableOptions: Partial<{
175
+ locale: string;
176
+ inputDebounceTime: number;
177
+ data: unknown[];
178
+ id: string;
179
+ enableRowSelection: boolean;
180
+ customFormatters: Record<string, (value: any) => string>;
181
+ emptyTableMessage: string;
182
+ autoModeCount: number;
183
+ displayActions: boolean | ((data: object) => boolean);
184
+ showColumnAction: boolean;
185
+ showResetButton: boolean;
186
+ columnActionButtonLabel: string;
187
+ resetButtonLabel: string;
188
+ highlightActiveHeaderColumn: boolean;
189
+ isLoading: boolean;
190
+ isServerTable: boolean;
191
+ actionsMode: string;
192
+ columnsData: import("@tanstack/vue-table").ColumnDef<any>[];
193
+ dataActionMenu: import("../../types.js").DataActionsMenuItem[];
194
+ enableSortingRemoval: boolean;
195
+ initialFilters: import("@tanstack/vue-table").ColumnFiltersState;
196
+ initialSorting: import("@tanstack/vue-table").SortingState;
197
+ paginated: boolean;
198
+ paginationOptions: Record<string, any>;
199
+ persistState: boolean;
200
+ persistStateStorage: string;
201
+ rowPerPage: number;
202
+ rowPerPageOptions: number[];
203
+ tableOptions: Record<string, any>;
204
+ titleInfo: {
205
+ align?: string;
206
+ text: string;
207
+ };
208
+ totalRecords: number;
209
+ visibleColumns: string[];
210
+ }> & Omit<{
211
+ readonly data: unknown[];
212
+ readonly enableRowSelection: boolean;
213
+ readonly customFormatters: Record<string, (value: any) => string>;
214
+ readonly autoModeCount: number;
215
+ readonly displayActions: boolean | ((data: object) => boolean);
216
+ readonly showColumnAction: boolean;
217
+ readonly showResetButton: boolean;
218
+ readonly highlightActiveHeaderColumn: boolean;
219
+ readonly isLoading: boolean;
220
+ readonly isServerTable: boolean;
221
+ readonly actionsMode: string;
222
+ readonly columnsData: import("@tanstack/vue-table").ColumnDef<any>[];
223
+ readonly dataActionMenu: import("../../types.js").DataActionsMenuItem[];
224
+ readonly enableSortingRemoval: boolean;
225
+ readonly initialFilters: import("@tanstack/vue-table").ColumnFiltersState;
226
+ readonly initialSorting: import("@tanstack/vue-table").SortingState;
227
+ readonly paginated: boolean;
228
+ readonly paginationOptions: Record<string, any>;
229
+ readonly persistState: boolean;
230
+ readonly persistStateStorage: string;
231
+ readonly rowPerPage: number;
232
+ readonly rowPerPageOptions: number[];
233
+ readonly tableOptions: Record<string, any>;
234
+ readonly totalRecords: number;
235
+ readonly visibleColumns: string[];
236
+ readonly locale?: string | undefined;
237
+ readonly inputDebounceTime?: number | undefined;
238
+ readonly id?: string | undefined;
239
+ readonly emptyTableMessage?: string | undefined;
240
+ readonly columnActionButtonLabel?: string | undefined;
241
+ readonly resetButtonLabel?: string | undefined;
242
+ readonly titleInfo?: {
243
+ align?: string;
244
+ text: string;
245
+ } | undefined;
246
+ readonly "onAction:select"?: ((...args: any[]) => any) | undefined;
247
+ readonly "onChange:rowSelection"?: ((...args: any[]) => any) | undefined;
248
+ readonly "onUpdate:request"?: ((...args: any[]) => any) | undefined;
249
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "locale" | "inputDebounceTime" | "data" | "id" | "enableRowSelection" | "customFormatters" | "emptyTableMessage" | "autoModeCount" | "displayActions" | "showColumnAction" | "showResetButton" | "columnActionButtonLabel" | "resetButtonLabel" | "highlightActiveHeaderColumn" | "isLoading" | "isServerTable" | "actionsMode" | "columnsData" | "dataActionMenu" | "enableSortingRemoval" | "initialFilters" | "initialSorting" | "paginated" | "paginationOptions" | "persistState" | "persistStateStorage" | "rowPerPage" | "rowPerPageOptions" | "tableOptions" | "titleInfo" | "totalRecords" | "visibleColumns">;
250
+ readonly totalRecords: number;
251
+ readonly visibleColumns: string[];
252
+ readonly archiveFile: boolean;
253
+ readonly deleteFile: boolean;
254
+ readonly downloadFile: boolean;
255
+ readonly editDescription: boolean;
256
+ readonly shareFile: boolean;
257
+ readonly viewFile: boolean;
258
+ readonly files: IFile[];
259
+ readonly locale?: string | undefined;
260
+ readonly messages?: TableMessages | undefined;
261
+ readonly "onUpdate:request"?: ((...args: any[]) => any) | undefined;
262
+ readonly "onAction:archive"?: ((...args: any[]) => any) | undefined;
263
+ readonly "onAction:delete"?: ((...args: any[]) => any) | undefined;
264
+ readonly "onAction:download"?: ((...args: any[]) => any) | undefined;
265
+ readonly "onAction:edit"?: ((...args: any[]) => any) | undefined;
266
+ readonly "onAction:share"?: ((...args: any[]) => any) | undefined;
267
+ readonly "onAction:view"?: ((...args: any[]) => any) | undefined;
268
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "locale" | "id" | "isLoading" | "isServerTable" | "columnsData" | "initialSorting" | "persistState" | "persistStateStorage" | "tableOptions" | "totalRecords" | "visibleColumns" | "archiveFile" | "deleteFile" | "downloadFile" | "editDescription" | "shareFile" | "viewFile" | "files" | "messages">>;
39
269
  };
40
270
  visibleFileDetails: {
41
271
  default: () => string[];
42
272
  type: PropType<string[]>;
43
273
  };
44
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("action:archive" | "action:delete" | "action:download" | "action:edit" | "action:share" | "action:view")[], "action:archive" | "action:delete" | "action:download" | "action:edit" | "action:share" | "action:view", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
274
+ }>, {
275
+ emitAction: (action: string, file: IFile) => void;
276
+ listVisibleFileDetails: import("vue").ComputedRef<{
277
+ [k: string]: boolean;
278
+ }>;
279
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
280
+ "action:archive": (...args: any[]) => void;
281
+ "action:delete": (...args: any[]) => void;
282
+ "action:download": (...args: any[]) => void;
283
+ "action:edit": (...args: any[]) => void;
284
+ "action:share": (...args: any[]) => void;
285
+ "action:view": (...args: any[]) => void;
286
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
45
287
  actionButtonsVisibility: {
46
288
  default: () => {
47
289
  archive: boolean;
@@ -57,18 +299,49 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
57
299
  default: () => never[];
58
300
  type: PropType<IFile[]>;
59
301
  };
60
- messages: {
61
- default: undefined;
62
- type: PropType<TableMessages>;
63
- };
64
302
  listProps: {
65
303
  default: () => void;
66
- type: ObjectConstructor;
304
+ type: PropType<Partial<{
305
+ actionButtonsVisibility: Record<string, any>;
306
+ archiveButtonProps: Record<string, any>;
307
+ deleteButtonProps: Record<string, any>;
308
+ downloadButtonProps: Record<string, any>;
309
+ editDescriptionButtonProps: Record<string, any>;
310
+ locale: string;
311
+ messages: import("@prefabs.tech/vue3-ui").FileMessages;
312
+ shareButtonProps: Record<string, any>;
313
+ showThumbnail: boolean;
314
+ viewButtonProps: Record<string, any>;
315
+ fileDetailVisibility: Record<string, any>;
316
+ }> & Omit<{
317
+ readonly files: IFile[];
318
+ readonly messages: import("@prefabs.tech/vue3-ui").FileMessages;
319
+ readonly actionButtonsVisibility: Record<string, any>;
320
+ readonly archiveButtonProps: Record<string, any>;
321
+ readonly deleteButtonProps: Record<string, any>;
322
+ readonly downloadButtonProps: Record<string, any>;
323
+ readonly editDescriptionButtonProps: Record<string, any>;
324
+ readonly fileDetailVisibility: Record<string, any>;
325
+ readonly shareButtonProps: Record<string, any>;
326
+ readonly showThumbnail: boolean;
327
+ readonly locale?: string | undefined;
328
+ readonly viewButtonProps?: Record<string, any> | undefined;
329
+ readonly "onAction:archive"?: ((...args: any[]) => any) | undefined | undefined;
330
+ readonly "onAction:delete"?: ((...args: any[]) => any) | undefined | undefined;
331
+ readonly "onAction:download"?: ((...args: any[]) => any) | undefined | undefined;
332
+ readonly "onAction:edit"?: ((...args: any[]) => any) | undefined | undefined;
333
+ readonly "onAction:share"?: ((...args: any[]) => any) | undefined | undefined;
334
+ readonly "onAction:view"?: ((...args: any[]) => any) | undefined | undefined;
335
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "locale" | "messages" | "actionButtonsVisibility" | "archiveButtonProps" | "deleteButtonProps" | "downloadButtonProps" | "editDescriptionButtonProps" | "fileDetailVisibility" | "shareButtonProps" | "showThumbnail" | "viewButtonProps">>;
67
336
  };
68
337
  locale: {
69
338
  default: undefined;
70
339
  type: StringConstructor;
71
340
  };
341
+ messages: {
342
+ default: undefined;
343
+ type: PropType<TableMessages>;
344
+ };
72
345
  presentation: {
73
346
  default: () => string;
74
347
  type: StringConstructor;
@@ -76,7 +349,204 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
76
349
  };
77
350
  tableProps: {
78
351
  default: () => void;
79
- type: ObjectConstructor;
352
+ type: PropType<Partial<{
353
+ locale: string;
354
+ id: string;
355
+ isLoading: boolean;
356
+ isServerTable: boolean;
357
+ columnsData: import("@tanstack/vue-table").ColumnDef<any>[];
358
+ initialSorting: import("@tanstack/vue-table").SortingState;
359
+ persistState: boolean;
360
+ persistStateStorage: string;
361
+ tableOptions: Partial<{
362
+ locale: string;
363
+ inputDebounceTime: number;
364
+ data: unknown[];
365
+ id: string;
366
+ enableRowSelection: boolean;
367
+ customFormatters: Record<string, (value: any) => string>;
368
+ emptyTableMessage: string;
369
+ autoModeCount: number;
370
+ displayActions: boolean | ((data: object) => boolean);
371
+ showColumnAction: boolean;
372
+ showResetButton: boolean;
373
+ columnActionButtonLabel: string;
374
+ resetButtonLabel: string;
375
+ highlightActiveHeaderColumn: boolean;
376
+ isLoading: boolean;
377
+ isServerTable: boolean;
378
+ actionsMode: string;
379
+ columnsData: import("@tanstack/vue-table").ColumnDef<any>[];
380
+ dataActionMenu: import("../../types.js").DataActionsMenuItem[];
381
+ enableSortingRemoval: boolean;
382
+ initialFilters: import("@tanstack/vue-table").ColumnFiltersState;
383
+ initialSorting: import("@tanstack/vue-table").SortingState;
384
+ paginated: boolean;
385
+ paginationOptions: Record<string, any>;
386
+ persistState: boolean;
387
+ persistStateStorage: string;
388
+ rowPerPage: number;
389
+ rowPerPageOptions: number[];
390
+ tableOptions: Record<string, any>;
391
+ titleInfo: {
392
+ align?: string;
393
+ text: string;
394
+ };
395
+ totalRecords: number;
396
+ visibleColumns: string[];
397
+ }> & Omit<{
398
+ readonly data: unknown[];
399
+ readonly enableRowSelection: boolean;
400
+ readonly customFormatters: Record<string, (value: any) => string>;
401
+ readonly autoModeCount: number;
402
+ readonly displayActions: boolean | ((data: object) => boolean);
403
+ readonly showColumnAction: boolean;
404
+ readonly showResetButton: boolean;
405
+ readonly highlightActiveHeaderColumn: boolean;
406
+ readonly isLoading: boolean;
407
+ readonly isServerTable: boolean;
408
+ readonly actionsMode: string;
409
+ readonly columnsData: import("@tanstack/vue-table").ColumnDef<any>[];
410
+ readonly dataActionMenu: import("../../types.js").DataActionsMenuItem[];
411
+ readonly enableSortingRemoval: boolean;
412
+ readonly initialFilters: import("@tanstack/vue-table").ColumnFiltersState;
413
+ readonly initialSorting: import("@tanstack/vue-table").SortingState;
414
+ readonly paginated: boolean;
415
+ readonly paginationOptions: Record<string, any>;
416
+ readonly persistState: boolean;
417
+ readonly persistStateStorage: string;
418
+ readonly rowPerPage: number;
419
+ readonly rowPerPageOptions: number[];
420
+ readonly tableOptions: Record<string, any>;
421
+ readonly totalRecords: number;
422
+ readonly visibleColumns: string[];
423
+ readonly locale?: string | undefined;
424
+ readonly inputDebounceTime?: number | undefined;
425
+ readonly id?: string | undefined;
426
+ readonly emptyTableMessage?: string | undefined;
427
+ readonly columnActionButtonLabel?: string | undefined;
428
+ readonly resetButtonLabel?: string | undefined;
429
+ readonly titleInfo?: {
430
+ align?: string;
431
+ text: string;
432
+ } | undefined;
433
+ readonly "onAction:select"?: ((...args: any[]) => any) | undefined;
434
+ readonly "onChange:rowSelection"?: ((...args: any[]) => any) | undefined;
435
+ readonly "onUpdate:request"?: ((...args: any[]) => any) | undefined;
436
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "locale" | "inputDebounceTime" | "data" | "id" | "enableRowSelection" | "customFormatters" | "emptyTableMessage" | "autoModeCount" | "displayActions" | "showColumnAction" | "showResetButton" | "columnActionButtonLabel" | "resetButtonLabel" | "highlightActiveHeaderColumn" | "isLoading" | "isServerTable" | "actionsMode" | "columnsData" | "dataActionMenu" | "enableSortingRemoval" | "initialFilters" | "initialSorting" | "paginated" | "paginationOptions" | "persistState" | "persistStateStorage" | "rowPerPage" | "rowPerPageOptions" | "tableOptions" | "titleInfo" | "totalRecords" | "visibleColumns">;
437
+ totalRecords: number;
438
+ visibleColumns: string[];
439
+ archiveFile: boolean;
440
+ deleteFile: boolean;
441
+ downloadFile: boolean;
442
+ editDescription: boolean;
443
+ shareFile: boolean;
444
+ viewFile: boolean;
445
+ files: IFile[];
446
+ messages: TableMessages;
447
+ }> & Omit<{
448
+ readonly id: string;
449
+ readonly isLoading: boolean;
450
+ readonly isServerTable: boolean;
451
+ readonly columnsData: import("@tanstack/vue-table").ColumnDef<any>[];
452
+ readonly initialSorting: import("@tanstack/vue-table").SortingState;
453
+ readonly persistState: boolean;
454
+ readonly persistStateStorage: string;
455
+ readonly tableOptions: Partial<{
456
+ locale: string;
457
+ inputDebounceTime: number;
458
+ data: unknown[];
459
+ id: string;
460
+ enableRowSelection: boolean;
461
+ customFormatters: Record<string, (value: any) => string>;
462
+ emptyTableMessage: string;
463
+ autoModeCount: number;
464
+ displayActions: boolean | ((data: object) => boolean);
465
+ showColumnAction: boolean;
466
+ showResetButton: boolean;
467
+ columnActionButtonLabel: string;
468
+ resetButtonLabel: string;
469
+ highlightActiveHeaderColumn: boolean;
470
+ isLoading: boolean;
471
+ isServerTable: boolean;
472
+ actionsMode: string;
473
+ columnsData: import("@tanstack/vue-table").ColumnDef<any>[];
474
+ dataActionMenu: import("../../types.js").DataActionsMenuItem[];
475
+ enableSortingRemoval: boolean;
476
+ initialFilters: import("@tanstack/vue-table").ColumnFiltersState;
477
+ initialSorting: import("@tanstack/vue-table").SortingState;
478
+ paginated: boolean;
479
+ paginationOptions: Record<string, any>;
480
+ persistState: boolean;
481
+ persistStateStorage: string;
482
+ rowPerPage: number;
483
+ rowPerPageOptions: number[];
484
+ tableOptions: Record<string, any>;
485
+ titleInfo: {
486
+ align?: string;
487
+ text: string;
488
+ };
489
+ totalRecords: number;
490
+ visibleColumns: string[];
491
+ }> & Omit<{
492
+ readonly data: unknown[];
493
+ readonly enableRowSelection: boolean;
494
+ readonly customFormatters: Record<string, (value: any) => string>;
495
+ readonly autoModeCount: number;
496
+ readonly displayActions: boolean | ((data: object) => boolean);
497
+ readonly showColumnAction: boolean;
498
+ readonly showResetButton: boolean;
499
+ readonly highlightActiveHeaderColumn: boolean;
500
+ readonly isLoading: boolean;
501
+ readonly isServerTable: boolean;
502
+ readonly actionsMode: string;
503
+ readonly columnsData: import("@tanstack/vue-table").ColumnDef<any>[];
504
+ readonly dataActionMenu: import("../../types.js").DataActionsMenuItem[];
505
+ readonly enableSortingRemoval: boolean;
506
+ readonly initialFilters: import("@tanstack/vue-table").ColumnFiltersState;
507
+ readonly initialSorting: import("@tanstack/vue-table").SortingState;
508
+ readonly paginated: boolean;
509
+ readonly paginationOptions: Record<string, any>;
510
+ readonly persistState: boolean;
511
+ readonly persistStateStorage: string;
512
+ readonly rowPerPage: number;
513
+ readonly rowPerPageOptions: number[];
514
+ readonly tableOptions: Record<string, any>;
515
+ readonly totalRecords: number;
516
+ readonly visibleColumns: string[];
517
+ readonly locale?: string | undefined;
518
+ readonly inputDebounceTime?: number | undefined;
519
+ readonly id?: string | undefined;
520
+ readonly emptyTableMessage?: string | undefined;
521
+ readonly columnActionButtonLabel?: string | undefined;
522
+ readonly resetButtonLabel?: string | undefined;
523
+ readonly titleInfo?: {
524
+ align?: string;
525
+ text: string;
526
+ } | undefined;
527
+ readonly "onAction:select"?: ((...args: any[]) => any) | undefined;
528
+ readonly "onChange:rowSelection"?: ((...args: any[]) => any) | undefined;
529
+ readonly "onUpdate:request"?: ((...args: any[]) => any) | undefined;
530
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "locale" | "inputDebounceTime" | "data" | "id" | "enableRowSelection" | "customFormatters" | "emptyTableMessage" | "autoModeCount" | "displayActions" | "showColumnAction" | "showResetButton" | "columnActionButtonLabel" | "resetButtonLabel" | "highlightActiveHeaderColumn" | "isLoading" | "isServerTable" | "actionsMode" | "columnsData" | "dataActionMenu" | "enableSortingRemoval" | "initialFilters" | "initialSorting" | "paginated" | "paginationOptions" | "persistState" | "persistStateStorage" | "rowPerPage" | "rowPerPageOptions" | "tableOptions" | "titleInfo" | "totalRecords" | "visibleColumns">;
531
+ readonly totalRecords: number;
532
+ readonly visibleColumns: string[];
533
+ readonly archiveFile: boolean;
534
+ readonly deleteFile: boolean;
535
+ readonly downloadFile: boolean;
536
+ readonly editDescription: boolean;
537
+ readonly shareFile: boolean;
538
+ readonly viewFile: boolean;
539
+ readonly files: IFile[];
540
+ readonly locale?: string | undefined;
541
+ readonly messages?: TableMessages | undefined;
542
+ readonly "onUpdate:request"?: ((...args: any[]) => any) | undefined;
543
+ readonly "onAction:archive"?: ((...args: any[]) => any) | undefined;
544
+ readonly "onAction:delete"?: ((...args: any[]) => any) | undefined;
545
+ readonly "onAction:download"?: ((...args: any[]) => any) | undefined;
546
+ readonly "onAction:edit"?: ((...args: any[]) => any) | undefined;
547
+ readonly "onAction:share"?: ((...args: any[]) => any) | undefined;
548
+ readonly "onAction:view"?: ((...args: any[]) => any) | undefined;
549
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "locale" | "id" | "isLoading" | "isServerTable" | "columnsData" | "initialSorting" | "persistState" | "persistStateStorage" | "tableOptions" | "totalRecords" | "visibleColumns" | "archiveFile" | "deleteFile" | "downloadFile" | "editDescription" | "shareFile" | "viewFile" | "files" | "messages">>;
80
550
  };
81
551
  visibleFileDetails: {
82
552
  default: () => string[];
@@ -94,10 +564,237 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
94
564
  files: IFile[];
95
565
  messages: TableMessages;
96
566
  actionButtonsVisibility: Record<string, any>;
97
- listProps: Record<string, any>;
567
+ listProps: Partial<{
568
+ actionButtonsVisibility: Record<string, any>;
569
+ archiveButtonProps: Record<string, any>;
570
+ deleteButtonProps: Record<string, any>;
571
+ downloadButtonProps: Record<string, any>;
572
+ editDescriptionButtonProps: Record<string, any>;
573
+ locale: string;
574
+ messages: import("@prefabs.tech/vue3-ui").FileMessages;
575
+ shareButtonProps: Record<string, any>;
576
+ showThumbnail: boolean;
577
+ viewButtonProps: Record<string, any>;
578
+ fileDetailVisibility: Record<string, any>;
579
+ }> & Omit<{
580
+ readonly files: IFile[];
581
+ readonly messages: import("@prefabs.tech/vue3-ui").FileMessages;
582
+ readonly actionButtonsVisibility: Record<string, any>;
583
+ readonly archiveButtonProps: Record<string, any>;
584
+ readonly deleteButtonProps: Record<string, any>;
585
+ readonly downloadButtonProps: Record<string, any>;
586
+ readonly editDescriptionButtonProps: Record<string, any>;
587
+ readonly fileDetailVisibility: Record<string, any>;
588
+ readonly shareButtonProps: Record<string, any>;
589
+ readonly showThumbnail: boolean;
590
+ readonly locale?: string | undefined;
591
+ readonly viewButtonProps?: Record<string, any> | undefined;
592
+ readonly "onAction:archive"?: ((...args: any[]) => any) | undefined | undefined;
593
+ readonly "onAction:delete"?: ((...args: any[]) => any) | undefined | undefined;
594
+ readonly "onAction:download"?: ((...args: any[]) => any) | undefined | undefined;
595
+ readonly "onAction:edit"?: ((...args: any[]) => any) | undefined | undefined;
596
+ readonly "onAction:share"?: ((...args: any[]) => any) | undefined | undefined;
597
+ readonly "onAction:view"?: ((...args: any[]) => any) | undefined | undefined;
598
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "locale" | "messages" | "actionButtonsVisibility" | "archiveButtonProps" | "deleteButtonProps" | "downloadButtonProps" | "editDescriptionButtonProps" | "fileDetailVisibility" | "shareButtonProps" | "showThumbnail" | "viewButtonProps">;
98
599
  presentation: string;
99
- tableProps: Record<string, any>;
600
+ tableProps: Partial<{
601
+ locale: string;
602
+ id: string;
603
+ isLoading: boolean;
604
+ isServerTable: boolean;
605
+ columnsData: import("@tanstack/vue-table").ColumnDef<any>[];
606
+ initialSorting: import("@tanstack/vue-table").SortingState;
607
+ persistState: boolean;
608
+ persistStateStorage: string;
609
+ tableOptions: Partial<{
610
+ locale: string;
611
+ inputDebounceTime: number;
612
+ data: unknown[];
613
+ id: string;
614
+ enableRowSelection: boolean;
615
+ customFormatters: Record<string, (value: any) => string>;
616
+ emptyTableMessage: string;
617
+ autoModeCount: number;
618
+ displayActions: boolean | ((data: object) => boolean);
619
+ showColumnAction: boolean;
620
+ showResetButton: boolean;
621
+ columnActionButtonLabel: string;
622
+ resetButtonLabel: string;
623
+ highlightActiveHeaderColumn: boolean;
624
+ isLoading: boolean;
625
+ isServerTable: boolean;
626
+ actionsMode: string;
627
+ columnsData: import("@tanstack/vue-table").ColumnDef<any>[];
628
+ dataActionMenu: import("../../types.js").DataActionsMenuItem[];
629
+ enableSortingRemoval: boolean;
630
+ initialFilters: import("@tanstack/vue-table").ColumnFiltersState;
631
+ initialSorting: import("@tanstack/vue-table").SortingState;
632
+ paginated: boolean;
633
+ paginationOptions: Record<string, any>;
634
+ persistState: boolean;
635
+ persistStateStorage: string;
636
+ rowPerPage: number;
637
+ rowPerPageOptions: number[];
638
+ tableOptions: Record<string, any>;
639
+ titleInfo: {
640
+ align?: string;
641
+ text: string;
642
+ };
643
+ totalRecords: number;
644
+ visibleColumns: string[];
645
+ }> & Omit<{
646
+ readonly data: unknown[];
647
+ readonly enableRowSelection: boolean;
648
+ readonly customFormatters: Record<string, (value: any) => string>;
649
+ readonly autoModeCount: number;
650
+ readonly displayActions: boolean | ((data: object) => boolean);
651
+ readonly showColumnAction: boolean;
652
+ readonly showResetButton: boolean;
653
+ readonly highlightActiveHeaderColumn: boolean;
654
+ readonly isLoading: boolean;
655
+ readonly isServerTable: boolean;
656
+ readonly actionsMode: string;
657
+ readonly columnsData: import("@tanstack/vue-table").ColumnDef<any>[];
658
+ readonly dataActionMenu: import("../../types.js").DataActionsMenuItem[];
659
+ readonly enableSortingRemoval: boolean;
660
+ readonly initialFilters: import("@tanstack/vue-table").ColumnFiltersState;
661
+ readonly initialSorting: import("@tanstack/vue-table").SortingState;
662
+ readonly paginated: boolean;
663
+ readonly paginationOptions: Record<string, any>;
664
+ readonly persistState: boolean;
665
+ readonly persistStateStorage: string;
666
+ readonly rowPerPage: number;
667
+ readonly rowPerPageOptions: number[];
668
+ readonly tableOptions: Record<string, any>;
669
+ readonly totalRecords: number;
670
+ readonly visibleColumns: string[];
671
+ readonly locale?: string | undefined;
672
+ readonly inputDebounceTime?: number | undefined;
673
+ readonly id?: string | undefined;
674
+ readonly emptyTableMessage?: string | undefined;
675
+ readonly columnActionButtonLabel?: string | undefined;
676
+ readonly resetButtonLabel?: string | undefined;
677
+ readonly titleInfo?: {
678
+ align?: string;
679
+ text: string;
680
+ } | undefined;
681
+ readonly "onAction:select"?: ((...args: any[]) => any) | undefined;
682
+ readonly "onChange:rowSelection"?: ((...args: any[]) => any) | undefined;
683
+ readonly "onUpdate:request"?: ((...args: any[]) => any) | undefined;
684
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "locale" | "inputDebounceTime" | "data" | "id" | "enableRowSelection" | "customFormatters" | "emptyTableMessage" | "autoModeCount" | "displayActions" | "showColumnAction" | "showResetButton" | "columnActionButtonLabel" | "resetButtonLabel" | "highlightActiveHeaderColumn" | "isLoading" | "isServerTable" | "actionsMode" | "columnsData" | "dataActionMenu" | "enableSortingRemoval" | "initialFilters" | "initialSorting" | "paginated" | "paginationOptions" | "persistState" | "persistStateStorage" | "rowPerPage" | "rowPerPageOptions" | "tableOptions" | "titleInfo" | "totalRecords" | "visibleColumns">;
685
+ totalRecords: number;
686
+ visibleColumns: string[];
687
+ archiveFile: boolean;
688
+ deleteFile: boolean;
689
+ downloadFile: boolean;
690
+ editDescription: boolean;
691
+ shareFile: boolean;
692
+ viewFile: boolean;
693
+ files: IFile[];
694
+ messages: TableMessages;
695
+ }> & Omit<{
696
+ readonly id: string;
697
+ readonly isLoading: boolean;
698
+ readonly isServerTable: boolean;
699
+ readonly columnsData: import("@tanstack/vue-table").ColumnDef<any>[];
700
+ readonly initialSorting: import("@tanstack/vue-table").SortingState;
701
+ readonly persistState: boolean;
702
+ readonly persistStateStorage: string;
703
+ readonly tableOptions: Partial<{
704
+ locale: string;
705
+ inputDebounceTime: number;
706
+ data: unknown[];
707
+ id: string;
708
+ enableRowSelection: boolean;
709
+ customFormatters: Record<string, (value: any) => string>;
710
+ emptyTableMessage: string;
711
+ autoModeCount: number;
712
+ displayActions: boolean | ((data: object) => boolean);
713
+ showColumnAction: boolean;
714
+ showResetButton: boolean;
715
+ columnActionButtonLabel: string;
716
+ resetButtonLabel: string;
717
+ highlightActiveHeaderColumn: boolean;
718
+ isLoading: boolean;
719
+ isServerTable: boolean;
720
+ actionsMode: string;
721
+ columnsData: import("@tanstack/vue-table").ColumnDef<any>[];
722
+ dataActionMenu: import("../../types.js").DataActionsMenuItem[];
723
+ enableSortingRemoval: boolean;
724
+ initialFilters: import("@tanstack/vue-table").ColumnFiltersState;
725
+ initialSorting: import("@tanstack/vue-table").SortingState;
726
+ paginated: boolean;
727
+ paginationOptions: Record<string, any>;
728
+ persistState: boolean;
729
+ persistStateStorage: string;
730
+ rowPerPage: number;
731
+ rowPerPageOptions: number[];
732
+ tableOptions: Record<string, any>;
733
+ titleInfo: {
734
+ align?: string;
735
+ text: string;
736
+ };
737
+ totalRecords: number;
738
+ visibleColumns: string[];
739
+ }> & Omit<{
740
+ readonly data: unknown[];
741
+ readonly enableRowSelection: boolean;
742
+ readonly customFormatters: Record<string, (value: any) => string>;
743
+ readonly autoModeCount: number;
744
+ readonly displayActions: boolean | ((data: object) => boolean);
745
+ readonly showColumnAction: boolean;
746
+ readonly showResetButton: boolean;
747
+ readonly highlightActiveHeaderColumn: boolean;
748
+ readonly isLoading: boolean;
749
+ readonly isServerTable: boolean;
750
+ readonly actionsMode: string;
751
+ readonly columnsData: import("@tanstack/vue-table").ColumnDef<any>[];
752
+ readonly dataActionMenu: import("../../types.js").DataActionsMenuItem[];
753
+ readonly enableSortingRemoval: boolean;
754
+ readonly initialFilters: import("@tanstack/vue-table").ColumnFiltersState;
755
+ readonly initialSorting: import("@tanstack/vue-table").SortingState;
756
+ readonly paginated: boolean;
757
+ readonly paginationOptions: Record<string, any>;
758
+ readonly persistState: boolean;
759
+ readonly persistStateStorage: string;
760
+ readonly rowPerPage: number;
761
+ readonly rowPerPageOptions: number[];
762
+ readonly tableOptions: Record<string, any>;
763
+ readonly totalRecords: number;
764
+ readonly visibleColumns: string[];
765
+ readonly locale?: string | undefined;
766
+ readonly inputDebounceTime?: number | undefined;
767
+ readonly id?: string | undefined;
768
+ readonly emptyTableMessage?: string | undefined;
769
+ readonly columnActionButtonLabel?: string | undefined;
770
+ readonly resetButtonLabel?: string | undefined;
771
+ readonly titleInfo?: {
772
+ align?: string;
773
+ text: string;
774
+ } | undefined;
775
+ readonly "onAction:select"?: ((...args: any[]) => any) | undefined;
776
+ readonly "onChange:rowSelection"?: ((...args: any[]) => any) | undefined;
777
+ readonly "onUpdate:request"?: ((...args: any[]) => any) | undefined;
778
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "locale" | "inputDebounceTime" | "data" | "id" | "enableRowSelection" | "customFormatters" | "emptyTableMessage" | "autoModeCount" | "displayActions" | "showColumnAction" | "showResetButton" | "columnActionButtonLabel" | "resetButtonLabel" | "highlightActiveHeaderColumn" | "isLoading" | "isServerTable" | "actionsMode" | "columnsData" | "dataActionMenu" | "enableSortingRemoval" | "initialFilters" | "initialSorting" | "paginated" | "paginationOptions" | "persistState" | "persistStateStorage" | "rowPerPage" | "rowPerPageOptions" | "tableOptions" | "titleInfo" | "totalRecords" | "visibleColumns">;
779
+ readonly totalRecords: number;
780
+ readonly visibleColumns: string[];
781
+ readonly archiveFile: boolean;
782
+ readonly deleteFile: boolean;
783
+ readonly downloadFile: boolean;
784
+ readonly editDescription: boolean;
785
+ readonly shareFile: boolean;
786
+ readonly viewFile: boolean;
787
+ readonly files: IFile[];
788
+ readonly locale?: string | undefined;
789
+ readonly messages?: TableMessages | undefined;
790
+ readonly "onUpdate:request"?: ((...args: any[]) => any) | undefined;
791
+ readonly "onAction:archive"?: ((...args: any[]) => any) | undefined;
792
+ readonly "onAction:delete"?: ((...args: any[]) => any) | undefined;
793
+ readonly "onAction:download"?: ((...args: any[]) => any) | undefined;
794
+ readonly "onAction:edit"?: ((...args: any[]) => any) | undefined;
795
+ readonly "onAction:share"?: ((...args: any[]) => any) | undefined;
796
+ readonly "onAction:view"?: ((...args: any[]) => any) | undefined;
797
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "locale" | "id" | "isLoading" | "isServerTable" | "columnsData" | "initialSorting" | "persistState" | "persistStateStorage" | "tableOptions" | "totalRecords" | "visibleColumns" | "archiveFile" | "deleteFile" | "downloadFile" | "editDescription" | "shareFile" | "viewFile" | "files" | "messages">;
100
798
  visibleFileDetails: string[];
101
799
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
102
- export default _default;
103
800
  //# sourceMappingURL=Index.vue.d.ts.map