@kong/kongponents 9.22.1-pr.2632.e92dffab9.0 → 9.22.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.
Files changed (58) hide show
  1. package/dist/types/components/KAlert/KAlert.vue.d.ts +152 -13
  2. package/dist/types/components/KBadge/KBadge.vue.d.ts +13 -16
  3. package/dist/types/components/KBreadcrumbs/KBreadcrumbs.vue.d.ts +5 -4
  4. package/dist/types/components/KButton/KButton.vue.d.ts +5 -5
  5. package/dist/types/components/KCard/KCard.vue.d.ts +41 -15
  6. package/dist/types/components/KCatalog/KCatalog.vue.d.ts +517 -53
  7. package/dist/types/components/KCatalog/KCatalogItem.vue.d.ts +45 -15
  8. package/dist/types/components/KCheckbox/KCheckbox.vue.d.ts +5 -5
  9. package/dist/types/components/KCodeBlock/KCodeBlock.vue.d.ts +8 -193
  10. package/dist/types/components/KCodeBlock/KCodeBlockIconButton.vue.d.ts +3 -3
  11. package/dist/types/components/KCollapse/KCollapse.vue.d.ts +101 -19
  12. package/dist/types/components/KCopy/KCopy.vue.d.ts +1 -3
  13. package/dist/types/components/KDateTimePicker/KDateTimePicker.vue.d.ts +2 -265
  14. package/dist/types/components/KDropdown/KDropdown.vue.d.ts +808 -545
  15. package/dist/types/components/KDropdown/KDropdownItem.vue.d.ts +118 -11
  16. package/dist/types/components/KEmptyState/KEmptyState.vue.d.ts +165 -15
  17. package/dist/types/components/KExternalLink/KExternalLink.vue.d.ts +36 -10
  18. package/dist/types/components/KFileUpload/KFileUpload.vue.d.ts +733 -610
  19. package/dist/types/components/KInput/KInput.vue.d.ts +6 -9
  20. package/dist/types/components/KInputSwitch/KInputSwitch.vue.d.ts +4 -6
  21. package/dist/types/components/KLabel/KLabel.vue.d.ts +69 -13
  22. package/dist/types/components/KModal/KModal.vue.d.ts +444 -243
  23. package/dist/types/components/KModalFullscreen/KModalFullscreen.vue.d.ts +181 -23
  24. package/dist/types/components/KMultiselect/KMultiselect.vue.d.ts +10 -594
  25. package/dist/types/components/KMultiselect/KMultiselectItem.vue.d.ts +33 -11
  26. package/dist/types/components/KMultiselect/KMultiselectItems.vue.d.ts +74 -20
  27. package/dist/types/components/KPagination/KPagination.vue.d.ts +1 -3
  28. package/dist/types/components/KPagination/PaginationOffset.vue.d.ts +1 -1
  29. package/dist/types/components/KPop/KPop.vue.d.ts +211 -25
  30. package/dist/types/components/KPrompt/KPrompt.vue.d.ts +153 -12
  31. package/dist/types/components/KRadio/KRadio.vue.d.ts +5 -7
  32. package/dist/types/components/KSegmentedControl/KSegmentedControl.vue.d.ts +5 -5
  33. package/dist/types/components/KSelect/KSelect.vue.d.ts +441 -1213
  34. package/dist/types/components/KSelect/KSelectItem.vue.d.ts +33 -11
  35. package/dist/types/components/KSelect/KSelectItems.vue.d.ts +76 -20
  36. package/dist/types/components/KSkeleton/CardSkeleton.vue.d.ts +39 -14
  37. package/dist/types/components/KSkeleton/FormSkeleton.vue.d.ts +1 -1
  38. package/dist/types/components/KSkeleton/FullScreenGenericSpinner.vue.d.ts +1 -1
  39. package/dist/types/components/KSkeleton/FullScreenKongSkeleton.vue.d.ts +1 -1
  40. package/dist/types/components/KSkeleton/KSkeleton.vue.d.ts +127 -14
  41. package/dist/types/components/KSkeleton/KSkeletonBox.vue.d.ts +1 -1
  42. package/dist/types/components/KSkeleton/SkeletonBase.vue.d.ts +12 -12
  43. package/dist/types/components/KSkeleton/TableSkeleton.vue.d.ts +35 -11
  44. package/dist/types/components/KSlideout/KSlideout.vue.d.ts +126 -15
  45. package/dist/types/components/KStepper/KStep.vue.d.ts +1 -1
  46. package/dist/types/components/KTable/KTable.vue.d.ts +660 -30
  47. package/dist/types/components/KTableData/KTableData.vue.d.ts +142 -39
  48. package/dist/types/components/KTableView/BulkActionsDropdown.vue.d.ts +47 -11
  49. package/dist/types/components/KTableView/ColumnVisibilityMenu.vue.d.ts +1 -3
  50. package/dist/types/components/KTableView/KTableView.vue.d.ts +260 -41
  51. package/dist/types/components/KTabs/KTabs.vue.d.ts +111 -9
  52. package/dist/types/components/KTextArea/KTextArea.vue.d.ts +3 -3
  53. package/dist/types/components/KTooltip/KTooltip.vue.d.ts +106 -15
  54. package/dist/types/components/KTreeList/KTreeDraggable.vue.d.ts +9 -160
  55. package/dist/types/components/KTreeList/KTreeItem.vue.d.ts +5 -5
  56. package/dist/types/components/KTreeList/KTreeList.vue.d.ts +7 -366
  57. package/dist/types/components/KTruncate/KTruncate.vue.d.ts +102 -32
  58. package/package.json +36 -35
@@ -1,56 +1,520 @@
1
1
  import type { PropType } from 'vue';
2
- import type { CatalogItem, CatalogPreferences, SwrvStateData, CardSize, CatalogState, EmptyStateIconVariant, HeaderTag } from '../../../types';
2
+ import type { CatalogItem, CatalogPreferences, SwrvStateData, CardSize, CatalogState, PageChangeData, PageSizeChangeData, EmptyStateIconVariant, HeaderTag } from '../../../types';
3
3
  import { EmptyStateIconVariants } from '../../../types';
4
- declare function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: {
7
- toolbar?(_: {
8
- state: SwrvStateData;
9
- }): any;
10
- 'error-state'?(_: {}): any;
11
- 'empty-state'?(_: {}): any;
12
- 'empty-state-action-icon'?(_: {}): any;
13
- body?(_: {
14
- data: {
15
- [x: string]: any;
16
- id?: string | undefined;
17
- title: string;
18
- description: string;
19
- key?: string | undefined;
20
- }[];
21
- }): any;
22
- 'card-title'?(_: {
23
- item: {
24
- [x: string]: any;
25
- id?: string | undefined;
26
- title: string;
27
- description: string;
28
- key?: string | undefined;
29
- };
30
- }): any;
31
- 'card-actions'?(_: {
32
- item: {
33
- [x: string]: any;
34
- id?: string | undefined;
35
- title: string;
36
- description: string;
37
- key?: string | undefined;
38
- };
39
- }): any;
40
- 'card-body'?(_: {
41
- item: {
42
- [x: string]: any;
43
- id?: string | undefined;
44
- title: string;
45
- description: string;
46
- key?: string | undefined;
47
- };
48
- }): any;
49
- };
50
- refs: {};
51
- rootEl: HTMLDivElement;
4
+ import KSkeleton from '../../components/KSkeleton/KSkeleton.vue';
5
+ import KEmptyState from '../../components/KEmptyState/KEmptyState.vue';
6
+ import KButton from '../../components/KButton/KButton.vue';
7
+ import KPagination from '../../components/KPagination/KPagination.vue';
8
+ import KCatalogItem from './KCatalogItem.vue';
9
+ declare const catalogId: string;
10
+ declare const data: import("vue").Ref<{
11
+ [x: string]: any;
12
+ id?: string | undefined;
13
+ title: string;
14
+ description: string;
15
+ key?: string | undefined;
16
+ }[], CatalogItem[] | {
17
+ [x: string]: any;
18
+ id?: string | undefined;
19
+ title: string;
20
+ description: string;
21
+ key?: string | undefined;
22
+ }[]>;
23
+ declare const total: import("vue").Ref<number, number>;
24
+ declare const page: import("vue").Ref<number, number>;
25
+ declare const pageSize: import("vue").Ref<number, number>;
26
+ declare const previousOffset: import("vue").ComputedRef<string | null>;
27
+ declare const nextOffset: import("vue").Ref<string | null, string | null>;
28
+ declare const hasNextPage: import("vue").Ref<boolean, boolean>;
29
+ declare const hasToolbarSlot: import("vue").ComputedRef<boolean>;
30
+ declare const showLoading: import("vue").ComputedRef<boolean>;
31
+ declare const showEmptyState: import("vue").ComputedRef<boolean>;
32
+ declare const stateData: import("vue").ComputedRef<SwrvStateData>;
33
+ declare const pageChangeHandler: ({ page: newPage }: PageChangeData) => void;
34
+ declare const pageSizeChangeHandler: ({ pageSize: newPageSize }: PageSizeChangeData) => void;
35
+ declare const getNextOffsetHandler: () => void;
36
+ declare const getPrevOffsetHandler: () => void;
37
+ declare const getTestIdString: (message: string) => string;
38
+ declare const showPagination: import("vue").ComputedRef<boolean>;
39
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
40
+ declare var __VLS_5: {
41
+ state: SwrvStateData;
42
+ }, __VLS_10: {}, __VLS_22: {}, __VLS_34: {}, __VLS_36: {
43
+ data: {
44
+ [x: string]: any;
45
+ id?: string | undefined;
46
+ title: string;
47
+ description: string;
48
+ key?: string | undefined;
49
+ }[];
50
+ }, __VLS_45: {
51
+ item: {
52
+ [x: string]: any;
53
+ id?: string | undefined;
54
+ title: string;
55
+ description: string;
56
+ key?: string | undefined;
57
+ };
58
+ }, __VLS_47: {
59
+ item: {
60
+ [x: string]: any;
61
+ id?: string | undefined;
62
+ title: string;
63
+ description: string;
64
+ key?: string | undefined;
65
+ };
66
+ }, __VLS_49: {
67
+ item: {
68
+ [x: string]: any;
69
+ id?: string | undefined;
70
+ title: string;
71
+ description: string;
72
+ key?: string | undefined;
73
+ };
52
74
  };
53
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
75
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
76
+ toolbar?: (props: typeof __VLS_5) => any;
77
+ } & {
78
+ 'error-state'?: (props: typeof __VLS_10) => any;
79
+ } & {
80
+ 'empty-state'?: (props: typeof __VLS_22) => any;
81
+ } & {
82
+ 'empty-state-action-icon'?: (props: typeof __VLS_34) => any;
83
+ } & {
84
+ body?: (props: typeof __VLS_36) => any;
85
+ } & {
86
+ 'card-title'?: (props: typeof __VLS_45) => any;
87
+ } & {
88
+ 'card-actions'?: (props: typeof __VLS_47) => any;
89
+ } & {
90
+ 'card-body'?: (props: typeof __VLS_49) => any;
91
+ }>;
92
+ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
93
+ titleTag: {
94
+ type: PropType<HeaderTag>;
95
+ default: string;
96
+ };
97
+ /**
98
+ * A prop to pass in to display skeleton to indicate loading
99
+ */
100
+ loading: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ };
104
+ cardSize: {
105
+ type: PropType<CardSize>;
106
+ default: string;
107
+ validator: (value: CardSize) => boolean;
108
+ };
109
+ /**
110
+ * Card catalog title
111
+ */
112
+ title: {
113
+ type: StringConstructor;
114
+ default: string;
115
+ };
116
+ /**
117
+ * Disable truncation of the KCard's 'description'
118
+ */
119
+ truncateDescription: {
120
+ type: BooleanConstructor;
121
+ default: boolean;
122
+ };
123
+ /**
124
+ * A prop to pass in a custom empty state title
125
+ */
126
+ emptyStateTitle: {
127
+ type: StringConstructor;
128
+ default: string;
129
+ };
130
+ /**
131
+ * A prop to pass in a custom empty state message
132
+ */
133
+ emptyStateMessage: {
134
+ type: StringConstructor;
135
+ default: string;
136
+ };
137
+ /**
138
+ * A prop to pass in a custom empty state action route
139
+ */
140
+ emptyStateActionRoute: {
141
+ type: (ObjectConstructor | StringConstructor)[];
142
+ default: string;
143
+ };
144
+ /**
145
+ * A prop to pass in a custom empty state action message
146
+ */
147
+ emptyStateActionMessage: {
148
+ type: StringConstructor;
149
+ default: string;
150
+ };
151
+ emptyStateIconVariant: {
152
+ type: PropType<EmptyStateIconVariant>;
153
+ default: EmptyStateIconVariants;
154
+ };
155
+ /**
156
+ * A prop that enables the error state
157
+ */
158
+ error: {
159
+ type: BooleanConstructor;
160
+ default: boolean;
161
+ };
162
+ /**
163
+ * A prop to pass in a custom error state title
164
+ */
165
+ errorStateTitle: {
166
+ type: StringConstructor;
167
+ default: string;
168
+ };
169
+ /**
170
+ * A prop to pass in a custom error state message
171
+ */
172
+ errorStateMessage: {
173
+ type: StringConstructor;
174
+ default: string;
175
+ };
176
+ /**
177
+ * A prop to pass in a custom error state action route
178
+ */
179
+ errorStateActionRoute: {
180
+ type: (ObjectConstructor | StringConstructor)[];
181
+ default: string;
182
+ };
183
+ /**
184
+ * A prop to pass in a custom error state action message
185
+ */
186
+ errorStateActionMessage: {
187
+ type: StringConstructor;
188
+ default: string;
189
+ };
190
+ /**
191
+ * A prop to pass in a fetcher function to enable server-side pagination
192
+ */
193
+ fetcher: {
194
+ type: FunctionConstructor;
195
+ required: true;
196
+ };
197
+ /**
198
+ * A prop to pass in a an object of intial params for the initial fetcher function call
199
+ */
200
+ initialFetcherParams: {
201
+ type: ObjectConstructor;
202
+ default: null;
203
+ };
204
+ /**
205
+ * A prop used to uniquely identify this catalog in the swrv cache
206
+ */
207
+ cacheIdentifier: {
208
+ type: StringConstructor;
209
+ default: string;
210
+ };
211
+ /**
212
+ * A prop to trigger a revalidate of the fetcher function. Modifying this value
213
+ * will trigger a manual refetch of the table data.
214
+ */
215
+ fetcherCacheKey: {
216
+ type: StringConstructor;
217
+ default: string;
218
+ };
219
+ /**
220
+ * A prop to pass in a search string for server-side search
221
+ */
222
+ searchInput: {
223
+ type: StringConstructor;
224
+ default: string;
225
+ };
226
+ /**
227
+ * A prop to pass in a the number of pagination neighbors used by the pagination component
228
+ */
229
+ paginationNeighbors: {
230
+ type: NumberConstructor;
231
+ default: number;
232
+ };
233
+ /**
234
+ * A prop to pass in an array of page sizes used by the pagination component
235
+ */
236
+ paginationPageSizes: {
237
+ type: PropType<number[]>;
238
+ default: () => number[];
239
+ validator: (pageSizes: number[]) => boolean;
240
+ };
241
+ /**
242
+ * A prop to pass the total number of items in the set for the pagination text
243
+ */
244
+ paginationTotalItems: {
245
+ type: NumberConstructor;
246
+ default: null;
247
+ };
248
+ disablePaginationPageJump: {
249
+ type: BooleanConstructor;
250
+ default: boolean;
251
+ };
252
+ disablePagination: {
253
+ type: BooleanConstructor;
254
+ default: boolean;
255
+ };
256
+ /**
257
+ * A prop to pass to hide pagination for total table records is less than or equal to pagesize
258
+ */
259
+ hidePaginationWhenOptional: {
260
+ type: BooleanConstructor;
261
+ default: boolean;
262
+ };
263
+ /**
264
+ * Boolean prop to enable offset-based pagination
265
+ */
266
+ paginationOffset: {
267
+ type: BooleanConstructor;
268
+ default: boolean;
269
+ };
270
+ }>, {
271
+ KSkeleton: typeof KSkeleton;
272
+ KEmptyState: typeof KEmptyState;
273
+ KButton: typeof KButton;
274
+ KPagination: typeof KPagination;
275
+ KCatalogItem: typeof KCatalogItem;
276
+ catalogId: typeof catalogId;
277
+ data: typeof data;
278
+ total: typeof total;
279
+ page: typeof page;
280
+ pageSize: typeof pageSize;
281
+ previousOffset: typeof previousOffset;
282
+ nextOffset: typeof nextOffset;
283
+ hasNextPage: typeof hasNextPage;
284
+ hasToolbarSlot: typeof hasToolbarSlot;
285
+ showLoading: typeof showLoading;
286
+ showEmptyState: typeof showEmptyState;
287
+ stateData: typeof stateData;
288
+ pageChangeHandler: typeof pageChangeHandler;
289
+ pageSizeChangeHandler: typeof pageSizeChangeHandler;
290
+ getNextOffsetHandler: typeof getNextOffsetHandler;
291
+ getPrevOffsetHandler: typeof getPrevOffsetHandler;
292
+ getTestIdString: typeof getTestIdString;
293
+ showPagination: typeof showPagination;
294
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
295
+ "card-click": (item: CatalogItem) => any;
296
+ "error-action-click": () => any;
297
+ "empty-state-action-click": () => any;
298
+ "update:catalog-preferences": (preferences: CatalogPreferences) => any;
299
+ state: (value: {
300
+ state: CatalogState;
301
+ hasData: boolean;
302
+ }) => any;
303
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
304
+ titleTag: {
305
+ type: PropType<HeaderTag>;
306
+ default: string;
307
+ };
308
+ /**
309
+ * A prop to pass in to display skeleton to indicate loading
310
+ */
311
+ loading: {
312
+ type: BooleanConstructor;
313
+ default: boolean;
314
+ };
315
+ cardSize: {
316
+ type: PropType<CardSize>;
317
+ default: string;
318
+ validator: (value: CardSize) => boolean;
319
+ };
320
+ /**
321
+ * Card catalog title
322
+ */
323
+ title: {
324
+ type: StringConstructor;
325
+ default: string;
326
+ };
327
+ /**
328
+ * Disable truncation of the KCard's 'description'
329
+ */
330
+ truncateDescription: {
331
+ type: BooleanConstructor;
332
+ default: boolean;
333
+ };
334
+ /**
335
+ * A prop to pass in a custom empty state title
336
+ */
337
+ emptyStateTitle: {
338
+ type: StringConstructor;
339
+ default: string;
340
+ };
341
+ /**
342
+ * A prop to pass in a custom empty state message
343
+ */
344
+ emptyStateMessage: {
345
+ type: StringConstructor;
346
+ default: string;
347
+ };
348
+ /**
349
+ * A prop to pass in a custom empty state action route
350
+ */
351
+ emptyStateActionRoute: {
352
+ type: (ObjectConstructor | StringConstructor)[];
353
+ default: string;
354
+ };
355
+ /**
356
+ * A prop to pass in a custom empty state action message
357
+ */
358
+ emptyStateActionMessage: {
359
+ type: StringConstructor;
360
+ default: string;
361
+ };
362
+ emptyStateIconVariant: {
363
+ type: PropType<EmptyStateIconVariant>;
364
+ default: EmptyStateIconVariants;
365
+ };
366
+ /**
367
+ * A prop that enables the error state
368
+ */
369
+ error: {
370
+ type: BooleanConstructor;
371
+ default: boolean;
372
+ };
373
+ /**
374
+ * A prop to pass in a custom error state title
375
+ */
376
+ errorStateTitle: {
377
+ type: StringConstructor;
378
+ default: string;
379
+ };
380
+ /**
381
+ * A prop to pass in a custom error state message
382
+ */
383
+ errorStateMessage: {
384
+ type: StringConstructor;
385
+ default: string;
386
+ };
387
+ /**
388
+ * A prop to pass in a custom error state action route
389
+ */
390
+ errorStateActionRoute: {
391
+ type: (ObjectConstructor | StringConstructor)[];
392
+ default: string;
393
+ };
394
+ /**
395
+ * A prop to pass in a custom error state action message
396
+ */
397
+ errorStateActionMessage: {
398
+ type: StringConstructor;
399
+ default: string;
400
+ };
401
+ /**
402
+ * A prop to pass in a fetcher function to enable server-side pagination
403
+ */
404
+ fetcher: {
405
+ type: FunctionConstructor;
406
+ required: true;
407
+ };
408
+ /**
409
+ * A prop to pass in a an object of intial params for the initial fetcher function call
410
+ */
411
+ initialFetcherParams: {
412
+ type: ObjectConstructor;
413
+ default: null;
414
+ };
415
+ /**
416
+ * A prop used to uniquely identify this catalog in the swrv cache
417
+ */
418
+ cacheIdentifier: {
419
+ type: StringConstructor;
420
+ default: string;
421
+ };
422
+ /**
423
+ * A prop to trigger a revalidate of the fetcher function. Modifying this value
424
+ * will trigger a manual refetch of the table data.
425
+ */
426
+ fetcherCacheKey: {
427
+ type: StringConstructor;
428
+ default: string;
429
+ };
430
+ /**
431
+ * A prop to pass in a search string for server-side search
432
+ */
433
+ searchInput: {
434
+ type: StringConstructor;
435
+ default: string;
436
+ };
437
+ /**
438
+ * A prop to pass in a the number of pagination neighbors used by the pagination component
439
+ */
440
+ paginationNeighbors: {
441
+ type: NumberConstructor;
442
+ default: number;
443
+ };
444
+ /**
445
+ * A prop to pass in an array of page sizes used by the pagination component
446
+ */
447
+ paginationPageSizes: {
448
+ type: PropType<number[]>;
449
+ default: () => number[];
450
+ validator: (pageSizes: number[]) => boolean;
451
+ };
452
+ /**
453
+ * A prop to pass the total number of items in the set for the pagination text
454
+ */
455
+ paginationTotalItems: {
456
+ type: NumberConstructor;
457
+ default: null;
458
+ };
459
+ disablePaginationPageJump: {
460
+ type: BooleanConstructor;
461
+ default: boolean;
462
+ };
463
+ disablePagination: {
464
+ type: BooleanConstructor;
465
+ default: boolean;
466
+ };
467
+ /**
468
+ * A prop to pass to hide pagination for total table records is less than or equal to pagesize
469
+ */
470
+ hidePaginationWhenOptional: {
471
+ type: BooleanConstructor;
472
+ default: boolean;
473
+ };
474
+ /**
475
+ * Boolean prop to enable offset-based pagination
476
+ */
477
+ paginationOffset: {
478
+ type: BooleanConstructor;
479
+ default: boolean;
480
+ };
481
+ }>> & Readonly<{
482
+ "onCard-click"?: ((item: CatalogItem) => any) | undefined;
483
+ "onError-action-click"?: (() => any) | undefined;
484
+ "onEmpty-state-action-click"?: (() => any) | undefined;
485
+ "onUpdate:catalog-preferences"?: ((preferences: CatalogPreferences) => any) | undefined;
486
+ onState?: ((value: {
487
+ state: CatalogState;
488
+ hasData: boolean;
489
+ }) => any) | undefined;
490
+ }>, {
491
+ title: string;
492
+ loading: boolean;
493
+ error: boolean;
494
+ fetcherCacheKey: string;
495
+ cacheIdentifier: string;
496
+ searchInput: string;
497
+ initialFetcherParams: Record<string, any>;
498
+ titleTag: HeaderTag;
499
+ cardSize: "small" | "large" | "medium";
500
+ truncateDescription: boolean;
501
+ emptyStateTitle: string;
502
+ emptyStateMessage: string;
503
+ emptyStateActionRoute: string | Record<string, any>;
504
+ emptyStateActionMessage: string;
505
+ emptyStateIconVariant: "search" | "default" | "error" | "kong";
506
+ errorStateTitle: string;
507
+ errorStateMessage: string;
508
+ errorStateActionRoute: string | Record<string, any>;
509
+ errorStateActionMessage: string;
510
+ paginationNeighbors: number;
511
+ paginationPageSizes: number[];
512
+ paginationTotalItems: number;
513
+ disablePaginationPageJump: boolean;
514
+ disablePagination: boolean;
515
+ hidePaginationWhenOptional: boolean;
516
+ paginationOffset: boolean;
517
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
54
518
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
55
519
  titleTag: {
56
520
  type: PropType<HeaderTag>;
@@ -452,10 +916,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
452
916
  disablePagination: boolean;
453
917
  hidePaginationWhenOptional: boolean;
454
918
  paginationOffset: boolean;
455
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
456
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
919
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
920
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
457
921
  export default _default;
458
- type __VLS_WithTemplateSlots<T, S> = T & {
922
+ type __VLS_WithSlots<T, S> = T & {
459
923
  new (): {
460
924
  $slots: S;
461
925
  };
@@ -1,17 +1,47 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { CatalogItem } from '../../../types';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- 'card-title'?(_: {}): any;
7
- 'card-actions'?(_: {}): any;
8
- 'card-body'?(_: {}): any;
9
- 'card-footer'?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: HTMLDivElement;
13
- };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
3
+ import KCard from '../../components/KCard/KCard.vue';
4
+ declare const handleCardClick: (evt: Event, item: CatalogItem) => void;
5
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
6
+ declare var __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {};
7
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
8
+ 'card-title'?: (props: typeof __VLS_9) => any;
9
+ } & {
10
+ 'card-actions'?: (props: typeof __VLS_11) => any;
11
+ } & {
12
+ 'card-body'?: (props: typeof __VLS_13) => any;
13
+ } & {
14
+ 'card-footer'?: (props: typeof __VLS_15) => any;
15
+ }>;
16
+ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
17
+ item: {
18
+ type: PropType<CatalogItem>;
19
+ default: () => {};
20
+ };
21
+ truncate: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ }>, {
26
+ KCard: typeof KCard;
27
+ handleCardClick: typeof handleCardClick;
28
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ click: (...args: any[]) => void;
30
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
+ item: {
32
+ type: PropType<CatalogItem>;
33
+ default: () => {};
34
+ };
35
+ truncate: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ }>> & Readonly<{
40
+ onClick?: ((...args: any[]) => any) | undefined;
41
+ }>, {
42
+ item: CatalogItem;
43
+ truncate: boolean;
44
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
45
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
16
46
  item: {
17
47
  type: PropType<CatalogItem>;
@@ -37,10 +67,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
37
67
  }>, {
38
68
  item: CatalogItem;
39
69
  truncate: boolean;
40
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
41
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
70
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
71
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
42
72
  export default _default;
43
- type __VLS_WithTemplateSlots<T, S> = T & {
73
+ type __VLS_WithSlots<T, S> = T & {
44
74
  new (): {
45
75
  $slots: S;
46
76
  };
@@ -1,6 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { LabelAttributes } from '../../../types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  modelValue: {
5
5
  type: BooleanConstructor;
6
6
  default: boolean;
@@ -60,12 +60,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
60
60
  error: boolean;
61
61
  labelAttributes: LabelAttributes;
62
62
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
63
- default?(_: {}): any;
64
- tooltip?(_: {}): any;
65
- description?(_: {}): any;
63
+ default?: ((props: {}) => any) | undefined;
64
+ tooltip?: ((props: {}) => any) | undefined;
65
+ description?: ((props: {}) => any) | undefined;
66
66
  }>;
67
67
  export default _default;
68
- type __VLS_WithTemplateSlots<T, S> = T & {
68
+ type __VLS_WithSlots<T, S> = T & {
69
69
  new (): {
70
70
  $slots: S;
71
71
  };