@kong/kongponents 9.29.10 → 9.29.11

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.
Files changed (33) hide show
  1. package/dist/types/components/KBreadcrumbs/KBreadcrumbs.vue.d.ts +3 -33
  2. package/dist/types/components/KCodeBlock/KCodeBlockIconButton.vue.d.ts +2 -17
  3. package/dist/types/components/KDropdown/KDropdown.vue.d.ts +5 -4
  4. package/dist/types/components/KDropdown/KDropdownItem.vue.d.ts +1 -1
  5. package/dist/types/components/KExternalLink/KExternalLink.vue.d.ts +2 -11
  6. package/dist/types/components/KFileUpload/KFileUpload.vue.d.ts +2 -363
  7. package/dist/types/components/KModal/KModal.vue.d.ts +2 -432
  8. package/dist/types/components/KModalFullscreen/KModalFullscreen.vue.d.ts +2 -162
  9. package/dist/types/components/KMultiselect/KMultiselect.vue.d.ts +8 -5
  10. package/dist/types/components/KMultiselect/KMultiselectItem.vue.d.ts +2 -29
  11. package/dist/types/components/KMultiselect/KMultiselectItems.vue.d.ts +2 -64
  12. package/dist/types/components/KPrompt/KPrompt.vue.d.ts +2 -147
  13. package/dist/types/components/KRadio/KRadio.vue.d.ts +9 -3
  14. package/dist/types/components/KSegmentedControl/KSegmentedControl.vue.d.ts +2 -2
  15. package/dist/types/components/KSelect/KSelect.vue.d.ts +3 -394
  16. package/dist/types/components/KSelect/KSelectItem.vue.d.ts +2 -29
  17. package/dist/types/components/KSelect/KSelectItems.vue.d.ts +2 -66
  18. package/dist/types/components/KSkeleton/CardSkeleton.vue.d.ts +2 -30
  19. package/dist/types/components/KSkeleton/KSkeleton.vue.d.ts +2 -117
  20. package/dist/types/components/KSkeleton/SkeletonBase.vue.d.ts +2 -7
  21. package/dist/types/components/KSkeleton/TableSkeleton.vue.d.ts +2 -31
  22. package/dist/types/components/KSlideout/KSlideout.vue.d.ts +2 -121
  23. package/dist/types/components/KTable/KTable.vue.d.ts +4 -634
  24. package/dist/types/components/KTableData/KTableData.vue.d.ts +3 -99
  25. package/dist/types/components/KTableView/BulkActionsDropdown.vue.d.ts +2 -43
  26. package/dist/types/components/KTableView/KTableView.vue.d.ts +3 -237
  27. package/dist/types/components/KTabs/KTabs.vue.d.ts +2 -96
  28. package/dist/types/components/KTextArea/KTextArea.vue.d.ts +1 -1
  29. package/dist/types/components/KTreeList/KTreeDraggable.vue.d.ts +12 -7
  30. package/dist/types/components/KTreeList/KTreeItem.vue.d.ts +3 -2
  31. package/dist/types/components/KTreeList/KTreeList.vue.d.ts +5 -4
  32. package/dist/types/components/KTruncate/KTruncate.vue.d.ts +2 -81
  33. package/package.json +6 -6
@@ -1,89 +1,6 @@
1
- import type { Ref, PropType } from 'vue';
2
- import KButton from '../../components/KButton/KButton.vue';
3
- import KEmptyState from '../../components/KEmptyState/KEmptyState.vue';
4
- import KSkeleton from '../../components/KSkeleton/KSkeleton.vue';
5
- import KPagination from '../../components/KPagination/KPagination.vue';
6
- import KTooltip from '../../components/KTooltip/KTooltip.vue';
7
- import { InfoIcon, ArrowDownIcon } from '@kong/icons';
8
- import type { TablePreferences, TableHeader, TableColumnSlotName, TableColumnTooltipSlotName, SwrvStateData, PageChangeData, PageSizeChangeData, SortColumnOrder, TableSortPayload, TableStatePayload, EmptyStateIconVariant } from '../../../types';
1
+ import type { PropType } from 'vue';
2
+ import type { TablePreferences, TableHeader, SwrvStateData, TableSortPayload, TableStatePayload, EmptyStateIconVariant } from '../../../types';
9
3
  import { EmptyStateIconVariants } from '../../../types';
10
- import { KUI_COLOR_TEXT_NEUTRAL, KUI_ICON_SIZE_30 } from '@kong/design-tokens';
11
- import ColumnVisibilityMenu from './../KTableView/ColumnVisibilityMenu.vue';
12
- declare const tableId: string;
13
- declare const data: Ref<Record<string, any>[], Record<string, any>[]>;
14
- declare const headerRow: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
15
- declare const visibleHeaders: Ref<{
16
- key: string;
17
- label?: string | undefined;
18
- sortable?: boolean | undefined;
19
- hidable?: boolean | undefined;
20
- tooltip?: string | undefined;
21
- hideLabel?: boolean | undefined;
22
- useSortHandlerFunction?: boolean | undefined;
23
- }[], TableHeader[] | {
24
- key: string;
25
- label?: string | undefined;
26
- sortable?: boolean | undefined;
27
- hidable?: boolean | undefined;
28
- tooltip?: string | undefined;
29
- hideLabel?: boolean | undefined;
30
- useSortHandlerFunction?: boolean | undefined;
31
- }[]>;
32
- declare const resizingColumn: Ref<string, string>;
33
- declare const resizerHoveredColumn: Ref<string, string>;
34
- declare const currentHoveredColumn: Ref<string, string>;
35
- declare const hasColumnVisibilityMenu: import("vue").ComputedRef<boolean>;
36
- declare const visibilityColumns: import("vue").ComputedRef<TableHeader[]>;
37
- declare const visibilityPreferences: import("vue").ComputedRef<Record<string, boolean>>;
38
- declare const columnVisibility: Ref<Record<string, boolean>, Record<string, boolean>>;
39
- declare const total: Ref<number, number>;
40
- declare const isScrolled: Ref<boolean, boolean>;
41
- declare const page: Ref<number, number>;
42
- declare const pageSize: Ref<number, number>;
43
- declare const sortColumnKey: Ref<string, string>;
44
- declare const sortColumnOrder: Ref<SortColumnOrder, SortColumnOrder>;
45
- declare const hasNextPage: Ref<boolean, boolean>;
46
- declare const isClickable: Ref<boolean, boolean>;
47
- declare const hasToolbarSlot: import("vue").ComputedRef<boolean>;
48
- declare const tableWrapperStyles: import("vue").ComputedRef<Record<string, string>>;
49
- /**
50
- * Utilize a helper function to generate the column slot name.
51
- * This helps TypeScript infer the slot name in the template section so that the slot props can be resolved.
52
- * @param {string} columnKey The column.key
53
- */
54
- declare const getColumnSlotName: (columnKey: string) => TableColumnSlotName;
55
- /**
56
- * Utilize a helper function to generate the column tooltip slot name.
57
- * This helps TypeScript infer the slot name in the template section so that the slot props can be resolved.
58
- * @param {string} columnKey The column.key
59
- */
60
- declare const getColumnTooltipSlotName: (columnKey: string) => TableColumnTooltipSlotName;
61
- /**
62
- * To avoid requiring the consuming app to typecast if they want to use `row` or `column`
63
- * we strip the types to something generic before we put it in the slot for use.
64
- * @param obj The object to strip the type from
65
- */
66
- declare const getGeneric: (obj: Record<string, any>) => any;
67
- declare const tdlisteners: import("vue").ComputedRef<any>;
68
- declare const columnStyles: import("vue").ComputedRef<Record<string, any>>;
69
- declare const getHeaderClasses: (column: TableHeader, index: number) => Record<string, boolean>;
70
- declare const resizeHoverColumn: import("vue").ComputedRef<string>;
71
- declare const headerHeight: import("vue").ComputedRef<string>;
72
- declare const startResize: (evt: MouseEvent, colKey: string) => void;
73
- declare const previousOffset: import("vue").ComputedRef<string | null>;
74
- declare const nextOffset: Ref<string | null, string | null>;
75
- declare const isTableLoading: Ref<boolean, boolean>;
76
- declare const stateData: import("vue").ComputedRef<SwrvStateData>;
77
- declare const sortClickHandler: (header: TableHeader) => void;
78
- declare const pageChangeHandler: ({ page: newPage }: PageChangeData) => void;
79
- declare const pageSizeChangeHandler: ({ pageSize: newPageSize }: PageSizeChangeData) => void;
80
- declare const scrollHandler: (event: any) => void;
81
- declare const getNextOffsetHandler: () => void;
82
- declare const getPrevOffsetHandler: () => void;
83
- declare const shouldShowPagination: import("vue").ComputedRef<boolean>;
84
- declare const getTestIdString: (message: string) => string;
85
- declare const isRevalidating: Ref<boolean, boolean>;
86
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
87
4
  declare var __VLS_1: {
88
5
  state: SwrvStateData;
89
6
  }, __VLS_13: {}, __VLS_25: {}, __VLS_37: {}, __VLS_40: `column-${string}`, __VLS_41: {
@@ -95,7 +12,7 @@ declare var __VLS_1: {
95
12
  rowKey: number;
96
13
  rowValue: any;
97
14
  };
98
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
15
+ type __VLS_Slots = {} & {
99
16
  [K in NonNullable<typeof __VLS_40>]?: (props: typeof __VLS_41) => any;
100
17
  } & {
101
18
  [K in NonNullable<typeof __VLS_51>]?: (props: typeof __VLS_52) => any;
@@ -109,554 +26,7 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
109
26
  'empty-state'?: (props: typeof __VLS_25) => any;
110
27
  } & {
111
28
  'empty-state-action-icon'?: (props: typeof __VLS_37) => any;
112
- }>;
113
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
114
- /**
115
- * Allow columns to be resized
116
- */
117
- resizeColumns: {
118
- type: BooleanConstructor;
119
- default: boolean;
120
- };
121
- /**
122
- * Used to customize the initial state of the table.
123
- * Column visibility/width.
124
- */
125
- tablePreferences: {
126
- type: PropType<TablePreferences>;
127
- default: () => {};
128
- };
129
- /**
130
- * Enable client side sort - only do this if using a fetcher
131
- * that returns static data
132
- */
133
- clientSort: {
134
- type: BooleanConstructor;
135
- default: boolean;
136
- };
137
- /**
138
- * Enables hover highlighting to table rows
139
- */
140
- rowHover: {
141
- type: BooleanConstructor;
142
- default: boolean;
143
- };
144
- sortHandlerFunction: {
145
- type: FunctionConstructor;
146
- default: () => {};
147
- };
148
- /**
149
- * A function that conditionally specifies row attributes on each row
150
- */
151
- rowAttrs: {
152
- type: FunctionConstructor;
153
- default: () => {};
154
- };
155
- /**
156
- * A function that conditionally specifies cell attributes
157
- */
158
- cellAttrs: {
159
- type: FunctionConstructor;
160
- default: () => {};
161
- };
162
- /**
163
- * A prop that enables a loading skeleton
164
- */
165
- loading: {
166
- type: BooleanConstructor;
167
- default: boolean;
168
- };
169
- /**
170
- * A prop to pass in a custom empty state title
171
- */
172
- emptyStateTitle: {
173
- type: StringConstructor;
174
- default: string;
175
- };
176
- /**
177
- * A prop to pass in a custom empty state message
178
- */
179
- emptyStateMessage: {
180
- type: StringConstructor;
181
- default: string;
182
- };
183
- /**
184
- * A prop to pass in a custom empty state action route
185
- */
186
- emptyStateActionRoute: {
187
- type: (ObjectConstructor | StringConstructor)[];
188
- default: string;
189
- };
190
- /**
191
- * A prop to pass in a custom empty state action message
192
- */
193
- emptyStateActionMessage: {
194
- type: StringConstructor;
195
- default: string;
196
- };
197
- emptyStateIconVariant: {
198
- type: PropType<EmptyStateIconVariant>;
199
- default: EmptyStateIconVariants;
200
- };
201
- /**
202
- * A prop that enables the error state
203
- */
204
- error: {
205
- type: BooleanConstructor;
206
- default: boolean;
207
- };
208
- /**
209
- * A prop to pass in a custom error state title
210
- */
211
- errorStateTitle: {
212
- type: StringConstructor;
213
- default: string;
214
- };
215
- /**
216
- * A prop to pass in a custom error state message
217
- */
218
- errorStateMessage: {
219
- type: StringConstructor;
220
- default: string;
221
- };
222
- /**
223
- * A prop to pass in a custom error state action route
224
- */
225
- errorStateActionRoute: {
226
- type: (ObjectConstructor | StringConstructor)[];
227
- default: string;
228
- };
229
- /**
230
- * A prop to pass in a custom error state action message
231
- */
232
- errorStateActionMessage: {
233
- type: StringConstructor;
234
- default: string;
235
- };
236
- /**
237
- * A prop to pass in a fetcher function to enable server-side search, sort
238
- * and pagination
239
- */
240
- fetcher: {
241
- type: FunctionConstructor;
242
- default: undefined;
243
- required: true;
244
- };
245
- /**
246
- * A prop to trigger a revalidate of the fetcher function. Modifying this value
247
- * will trigger a manual refetch of the table data.
248
- */
249
- fetcherCacheKey: {
250
- type: StringConstructor;
251
- default: string;
252
- };
253
- /**
254
- * A prop used to uniquely identify this table in the swrv cache
255
- */
256
- cacheIdentifier: {
257
- type: StringConstructor;
258
- default: string;
259
- };
260
- /**
261
- * A prop to pass in a search string for server-side search
262
- */
263
- searchInput: {
264
- type: StringConstructor;
265
- default: string;
266
- };
267
- /**
268
- * A prop to pass in an array of headers for the table
269
- */
270
- headers: {
271
- type: PropType<TableHeader[]>;
272
- default: () => never[];
273
- };
274
- /**
275
- * A prop to pass in an object of intial params for the initial fetcher function call
276
- */
277
- initialFetcherParams: {
278
- type: ObjectConstructor;
279
- default: null;
280
- };
281
- /**
282
- * A prop to pass in the number of pagination neighbors used by the pagination component
283
- */
284
- paginationNeighbors: {
285
- type: NumberConstructor;
286
- default: number;
287
- };
288
- /**
289
- * A prop to pass in an array of page sizes used by the pagination component
290
- */
291
- paginationPageSizes: {
292
- type: PropType<number[]>;
293
- default: () => number[];
294
- validator: (pageSizes: number[]) => boolean;
295
- };
296
- /**
297
- * A prop to pass the total number of items in the set for the pagination text
298
- */
299
- paginationTotalItems: {
300
- type: NumberConstructor;
301
- default: null;
302
- };
303
- disablePaginationPageJump: {
304
- type: BooleanConstructor;
305
- default: boolean;
306
- };
307
- sortable: {
308
- type: BooleanConstructor;
309
- default: boolean;
310
- };
311
- disablePagination: {
312
- type: BooleanConstructor;
313
- default: boolean;
314
- };
315
- paginationOffset: {
316
- type: BooleanConstructor;
317
- default: boolean;
318
- };
319
- /**
320
- * A prop to pass to hide pagination for total table records is less than or equal to pagesize
321
- */
322
- hidePaginationWhenOptional: {
323
- type: BooleanConstructor;
324
- default: boolean;
325
- };
326
- maxHeight: {
327
- type: StringConstructor;
328
- default: string;
329
- };
330
- }>, {
331
- KButton: typeof KButton;
332
- KEmptyState: typeof KEmptyState;
333
- KSkeleton: typeof KSkeleton;
334
- KPagination: typeof KPagination;
335
- KTooltip: typeof KTooltip;
336
- InfoIcon: typeof InfoIcon;
337
- ArrowDownIcon: typeof ArrowDownIcon;
338
- KUI_COLOR_TEXT_NEUTRAL: typeof KUI_COLOR_TEXT_NEUTRAL;
339
- KUI_ICON_SIZE_30: typeof KUI_ICON_SIZE_30;
340
- ColumnVisibilityMenu: typeof ColumnVisibilityMenu;
341
- tableId: typeof tableId;
342
- data: typeof data;
343
- headerRow: typeof headerRow;
344
- visibleHeaders: typeof visibleHeaders;
345
- resizingColumn: typeof resizingColumn;
346
- resizerHoveredColumn: typeof resizerHoveredColumn;
347
- currentHoveredColumn: typeof currentHoveredColumn;
348
- hasColumnVisibilityMenu: typeof hasColumnVisibilityMenu;
349
- visibilityColumns: typeof visibilityColumns;
350
- visibilityPreferences: typeof visibilityPreferences;
351
- columnVisibility: typeof columnVisibility;
352
- total: typeof total;
353
- isScrolled: typeof isScrolled;
354
- page: typeof page;
355
- pageSize: typeof pageSize;
356
- sortColumnKey: typeof sortColumnKey;
357
- sortColumnOrder: typeof sortColumnOrder;
358
- hasNextPage: typeof hasNextPage;
359
- isClickable: typeof isClickable;
360
- hasToolbarSlot: typeof hasToolbarSlot;
361
- tableWrapperStyles: typeof tableWrapperStyles;
362
- getColumnSlotName: typeof getColumnSlotName;
363
- getColumnTooltipSlotName: typeof getColumnTooltipSlotName;
364
- getGeneric: typeof getGeneric;
365
- tdlisteners: typeof tdlisteners;
366
- columnStyles: typeof columnStyles;
367
- getHeaderClasses: typeof getHeaderClasses;
368
- resizeHoverColumn: typeof resizeHoverColumn;
369
- headerHeight: typeof headerHeight;
370
- startResize: typeof startResize;
371
- previousOffset: typeof previousOffset;
372
- nextOffset: typeof nextOffset;
373
- isTableLoading: typeof isTableLoading;
374
- stateData: typeof stateData;
375
- sortClickHandler: typeof sortClickHandler;
376
- pageChangeHandler: typeof pageChangeHandler;
377
- pageSizeChangeHandler: typeof pageSizeChangeHandler;
378
- scrollHandler: typeof scrollHandler;
379
- getNextOffsetHandler: typeof getNextOffsetHandler;
380
- getPrevOffsetHandler: typeof getPrevOffsetHandler;
381
- shouldShowPagination: typeof shouldShowPagination;
382
- getTestIdString: typeof getTestIdString;
383
- isRevalidating: typeof isRevalidating;
384
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
385
- sort: (value: TableSortPayload) => any;
386
- "error-action-click": () => any;
387
- "empty-state-action-click": () => any;
388
- state: (value: TableStatePayload) => any;
389
- "cell-click": (value: {
390
- data: any;
391
- }) => any;
392
- "row-click": (value: {
393
- data: any;
394
- }) => any;
395
- "update:table-preferences": (preferences: TablePreferences) => any;
396
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
397
- /**
398
- * Allow columns to be resized
399
- */
400
- resizeColumns: {
401
- type: BooleanConstructor;
402
- default: boolean;
403
- };
404
- /**
405
- * Used to customize the initial state of the table.
406
- * Column visibility/width.
407
- */
408
- tablePreferences: {
409
- type: PropType<TablePreferences>;
410
- default: () => {};
411
- };
412
- /**
413
- * Enable client side sort - only do this if using a fetcher
414
- * that returns static data
415
- */
416
- clientSort: {
417
- type: BooleanConstructor;
418
- default: boolean;
419
- };
420
- /**
421
- * Enables hover highlighting to table rows
422
- */
423
- rowHover: {
424
- type: BooleanConstructor;
425
- default: boolean;
426
- };
427
- sortHandlerFunction: {
428
- type: FunctionConstructor;
429
- default: () => {};
430
- };
431
- /**
432
- * A function that conditionally specifies row attributes on each row
433
- */
434
- rowAttrs: {
435
- type: FunctionConstructor;
436
- default: () => {};
437
- };
438
- /**
439
- * A function that conditionally specifies cell attributes
440
- */
441
- cellAttrs: {
442
- type: FunctionConstructor;
443
- default: () => {};
444
- };
445
- /**
446
- * A prop that enables a loading skeleton
447
- */
448
- loading: {
449
- type: BooleanConstructor;
450
- default: boolean;
451
- };
452
- /**
453
- * A prop to pass in a custom empty state title
454
- */
455
- emptyStateTitle: {
456
- type: StringConstructor;
457
- default: string;
458
- };
459
- /**
460
- * A prop to pass in a custom empty state message
461
- */
462
- emptyStateMessage: {
463
- type: StringConstructor;
464
- default: string;
465
- };
466
- /**
467
- * A prop to pass in a custom empty state action route
468
- */
469
- emptyStateActionRoute: {
470
- type: (ObjectConstructor | StringConstructor)[];
471
- default: string;
472
- };
473
- /**
474
- * A prop to pass in a custom empty state action message
475
- */
476
- emptyStateActionMessage: {
477
- type: StringConstructor;
478
- default: string;
479
- };
480
- emptyStateIconVariant: {
481
- type: PropType<EmptyStateIconVariant>;
482
- default: EmptyStateIconVariants;
483
- };
484
- /**
485
- * A prop that enables the error state
486
- */
487
- error: {
488
- type: BooleanConstructor;
489
- default: boolean;
490
- };
491
- /**
492
- * A prop to pass in a custom error state title
493
- */
494
- errorStateTitle: {
495
- type: StringConstructor;
496
- default: string;
497
- };
498
- /**
499
- * A prop to pass in a custom error state message
500
- */
501
- errorStateMessage: {
502
- type: StringConstructor;
503
- default: string;
504
- };
505
- /**
506
- * A prop to pass in a custom error state action route
507
- */
508
- errorStateActionRoute: {
509
- type: (ObjectConstructor | StringConstructor)[];
510
- default: string;
511
- };
512
- /**
513
- * A prop to pass in a custom error state action message
514
- */
515
- errorStateActionMessage: {
516
- type: StringConstructor;
517
- default: string;
518
- };
519
- /**
520
- * A prop to pass in a fetcher function to enable server-side search, sort
521
- * and pagination
522
- */
523
- fetcher: {
524
- type: FunctionConstructor;
525
- default: undefined;
526
- required: true;
527
- };
528
- /**
529
- * A prop to trigger a revalidate of the fetcher function. Modifying this value
530
- * will trigger a manual refetch of the table data.
531
- */
532
- fetcherCacheKey: {
533
- type: StringConstructor;
534
- default: string;
535
- };
536
- /**
537
- * A prop used to uniquely identify this table in the swrv cache
538
- */
539
- cacheIdentifier: {
540
- type: StringConstructor;
541
- default: string;
542
- };
543
- /**
544
- * A prop to pass in a search string for server-side search
545
- */
546
- searchInput: {
547
- type: StringConstructor;
548
- default: string;
549
- };
550
- /**
551
- * A prop to pass in an array of headers for the table
552
- */
553
- headers: {
554
- type: PropType<TableHeader[]>;
555
- default: () => never[];
556
- };
557
- /**
558
- * A prop to pass in an object of intial params for the initial fetcher function call
559
- */
560
- initialFetcherParams: {
561
- type: ObjectConstructor;
562
- default: null;
563
- };
564
- /**
565
- * A prop to pass in the number of pagination neighbors used by the pagination component
566
- */
567
- paginationNeighbors: {
568
- type: NumberConstructor;
569
- default: number;
570
- };
571
- /**
572
- * A prop to pass in an array of page sizes used by the pagination component
573
- */
574
- paginationPageSizes: {
575
- type: PropType<number[]>;
576
- default: () => number[];
577
- validator: (pageSizes: number[]) => boolean;
578
- };
579
- /**
580
- * A prop to pass the total number of items in the set for the pagination text
581
- */
582
- paginationTotalItems: {
583
- type: NumberConstructor;
584
- default: null;
585
- };
586
- disablePaginationPageJump: {
587
- type: BooleanConstructor;
588
- default: boolean;
589
- };
590
- sortable: {
591
- type: BooleanConstructor;
592
- default: boolean;
593
- };
594
- disablePagination: {
595
- type: BooleanConstructor;
596
- default: boolean;
597
- };
598
- paginationOffset: {
599
- type: BooleanConstructor;
600
- default: boolean;
601
- };
602
- /**
603
- * A prop to pass to hide pagination for total table records is less than or equal to pagesize
604
- */
605
- hidePaginationWhenOptional: {
606
- type: BooleanConstructor;
607
- default: boolean;
608
- };
609
- maxHeight: {
610
- type: StringConstructor;
611
- default: string;
612
- };
613
- }>> & Readonly<{
614
- onSort?: ((value: TableSortPayload) => any) | undefined;
615
- "onError-action-click"?: (() => any) | undefined;
616
- "onEmpty-state-action-click"?: (() => any) | undefined;
617
- onState?: ((value: TableStatePayload) => any) | undefined;
618
- "onCell-click"?: ((value: {
619
- data: any;
620
- }) => any) | undefined;
621
- "onRow-click"?: ((value: {
622
- data: any;
623
- }) => any) | undefined;
624
- "onUpdate:table-preferences"?: ((preferences: TablePreferences) => any) | undefined;
625
- }>, {
626
- maxHeight: string;
627
- error: boolean;
628
- loading: boolean;
629
- headers: TableHeader[];
630
- fetcher: Function;
631
- fetcherCacheKey: string;
632
- cacheIdentifier: string;
633
- searchInput: string;
634
- initialFetcherParams: Record<string, any>;
635
- clientSort: boolean;
636
- sortHandlerFunction: Function;
637
- sortable: boolean;
638
- emptyStateTitle: string;
639
- emptyStateMessage: string;
640
- emptyStateActionRoute: string | Record<string, any>;
641
- emptyStateActionMessage: string;
642
- emptyStateIconVariant: "search" | "default" | "error" | "kong";
643
- errorStateTitle: string;
644
- errorStateMessage: string;
645
- errorStateActionRoute: string | Record<string, any>;
646
- errorStateActionMessage: string;
647
- paginationNeighbors: number;
648
- paginationPageSizes: number[];
649
- paginationTotalItems: number;
650
- disablePaginationPageJump: boolean;
651
- disablePagination: boolean;
652
- hidePaginationWhenOptional: boolean;
653
- paginationOffset: boolean;
654
- resizeColumns: boolean;
655
- tablePreferences: TablePreferences;
656
- rowHover: boolean;
657
- rowAttrs: Function;
658
- cellAttrs: Function;
659
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
29
+ };
660
30
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
661
31
  /**
662
32
  * Allow columns to be resized