@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,246 +1,7 @@
1
1
  import type { PropType } from 'vue';
2
- import { FocusTrap } from 'focus-trap-vue';
3
- import KButton from '../../components/KButton/KButton.vue';
4
2
  import type { ButtonAppearance } from '../../../types';
5
- import { CloseIcon } from '@kong/icons';
6
- import { KUI_COLOR_TEXT_NEUTRAL } from '@kong/design-tokens';
7
- declare const attrs: {
8
- [x: string]: unknown;
9
- };
10
- declare const focusTrapElement: import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
11
- active: {
12
- type: BooleanConstructor;
13
- default: boolean;
14
- };
15
- } & {
16
- escapeDeactivates: {
17
- type: BooleanConstructor;
18
- default: true;
19
- };
20
- returnFocusOnDeactivate: {
21
- type: BooleanConstructor;
22
- default: true;
23
- };
24
- allowOutsideClick: {
25
- type: PropType<boolean | import("focus-trap").MouseEventToBoolean | undefined>;
26
- default: true;
27
- };
28
- clickOutsideDeactivates: PropType<boolean | import("focus-trap").MouseEventToBoolean | undefined>;
29
- initialFocus: PropType<import("focus-trap").FocusTargetOrFalse | (() => void) | undefined>;
30
- fallbackFocus: PropType<import("focus-trap").FocusTarget | undefined>;
31
- checkCanFocusTrap: PropType<((containers: (HTMLElement | SVGElement)[]) => Promise<void>) | undefined>;
32
- checkCanReturnFocus: PropType<((trigger: HTMLElement | SVGElement) => Promise<void>) | undefined>;
33
- delayInitialFocus: {
34
- type: BooleanConstructor;
35
- default: true;
36
- };
37
- document: PropType<Document | undefined>;
38
- preventScroll: BooleanConstructor;
39
- setReturnFocus: PropType<import("focus-trap").FocusTargetValueOrFalse | ((nodeFocusedBeforeActivation: HTMLElement | SVGElement) => import("focus-trap").FocusTargetValueOrFalse) | undefined>;
40
- tabbableOptions: PropType<import("focus-trap").FocusTrapTabbableOptions | undefined>;
41
- }>> & {
42
- onActivate?: ((...args: any[]) => any) | undefined;
43
- onPostActivate?: ((...args: any[]) => any) | undefined;
44
- onDeactivate?: ((...args: any[]) => any) | undefined;
45
- onPostDeactivate?: ((...args: any[]) => any) | undefined;
46
- "onUpdate:active"?: ((...args: any[]) => any) | undefined;
47
- }, {
48
- activate(): void;
49
- deactivate(): void;
50
- renderImpl(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
51
- [key: string]: any;
52
- }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
53
- [key: string]: any;
54
- }>[] | null;
55
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:active" | "activate" | "postActivate" | "deactivate" | "postDeactivate")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
56
- returnFocusOnDeactivate: boolean;
57
- escapeDeactivates: boolean;
58
- allowOutsideClick: boolean | import("focus-trap").MouseEventToBoolean | undefined;
59
- preventScroll: boolean;
60
- delayInitialFocus: boolean;
61
- active: boolean;
62
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
63
- P: {};
64
- B: {};
65
- D: {};
66
- C: {};
67
- M: {};
68
- Defaults: {};
69
- }, Readonly<import("vue").ExtractPropTypes<{
70
- active: {
71
- type: BooleanConstructor;
72
- default: boolean;
73
- };
74
- } & {
75
- escapeDeactivates: {
76
- type: BooleanConstructor;
77
- default: true;
78
- };
79
- returnFocusOnDeactivate: {
80
- type: BooleanConstructor;
81
- default: true;
82
- };
83
- allowOutsideClick: {
84
- type: PropType<boolean | import("focus-trap").MouseEventToBoolean | undefined>;
85
- default: true;
86
- };
87
- clickOutsideDeactivates: PropType<boolean | import("focus-trap").MouseEventToBoolean | undefined>;
88
- initialFocus: PropType<import("focus-trap").FocusTargetOrFalse | (() => void) | undefined>;
89
- fallbackFocus: PropType<import("focus-trap").FocusTarget | undefined>;
90
- checkCanFocusTrap: PropType<((containers: (HTMLElement | SVGElement)[]) => Promise<void>) | undefined>;
91
- checkCanReturnFocus: PropType<((trigger: HTMLElement | SVGElement) => Promise<void>) | undefined>;
92
- delayInitialFocus: {
93
- type: BooleanConstructor;
94
- default: true;
95
- };
96
- document: PropType<Document | undefined>;
97
- preventScroll: BooleanConstructor;
98
- setReturnFocus: PropType<import("focus-trap").FocusTargetValueOrFalse | ((nodeFocusedBeforeActivation: HTMLElement | SVGElement) => import("focus-trap").FocusTargetValueOrFalse) | undefined>;
99
- tabbableOptions: PropType<import("focus-trap").FocusTrapTabbableOptions | undefined>;
100
- }>> & {
101
- onActivate?: ((...args: any[]) => any) | undefined;
102
- onPostActivate?: ((...args: any[]) => any) | undefined;
103
- onDeactivate?: ((...args: any[]) => any) | undefined;
104
- onPostDeactivate?: ((...args: any[]) => any) | undefined;
105
- "onUpdate:active"?: ((...args: any[]) => any) | undefined;
106
- }, {
107
- activate(): void;
108
- deactivate(): void;
109
- renderImpl(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
110
- [key: string]: any;
111
- }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
112
- [key: string]: any;
113
- }>[] | null;
114
- }, {}, {}, {}, {
115
- returnFocusOnDeactivate: boolean;
116
- escapeDeactivates: boolean;
117
- allowOutsideClick: boolean | import("focus-trap").MouseEventToBoolean | undefined;
118
- preventScroll: boolean;
119
- delayInitialFocus: boolean;
120
- active: boolean;
121
- }> | null, import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
122
- active: {
123
- type: BooleanConstructor;
124
- default: boolean;
125
- };
126
- } & {
127
- escapeDeactivates: {
128
- type: BooleanConstructor;
129
- default: true;
130
- };
131
- returnFocusOnDeactivate: {
132
- type: BooleanConstructor;
133
- default: true;
134
- };
135
- allowOutsideClick: {
136
- type: PropType<boolean | import("focus-trap").MouseEventToBoolean | undefined>;
137
- default: true;
138
- };
139
- clickOutsideDeactivates: PropType<boolean | import("focus-trap").MouseEventToBoolean | undefined>;
140
- initialFocus: PropType<import("focus-trap").FocusTargetOrFalse | (() => void) | undefined>;
141
- fallbackFocus: PropType<import("focus-trap").FocusTarget | undefined>;
142
- checkCanFocusTrap: PropType<((containers: (HTMLElement | SVGElement)[]) => Promise<void>) | undefined>;
143
- checkCanReturnFocus: PropType<((trigger: HTMLElement | SVGElement) => Promise<void>) | undefined>;
144
- delayInitialFocus: {
145
- type: BooleanConstructor;
146
- default: true;
147
- };
148
- document: PropType<Document | undefined>;
149
- preventScroll: BooleanConstructor;
150
- setReturnFocus: PropType<import("focus-trap").FocusTargetValueOrFalse | ((nodeFocusedBeforeActivation: HTMLElement | SVGElement) => import("focus-trap").FocusTargetValueOrFalse) | undefined>;
151
- tabbableOptions: PropType<import("focus-trap").FocusTrapTabbableOptions | undefined>;
152
- }>> & {
153
- onActivate?: ((...args: any[]) => any) | undefined;
154
- onPostActivate?: ((...args: any[]) => any) | undefined;
155
- onDeactivate?: ((...args: any[]) => any) | undefined;
156
- onPostDeactivate?: ((...args: any[]) => any) | undefined;
157
- "onUpdate:active"?: ((...args: any[]) => any) | undefined;
158
- }, {
159
- activate(): void;
160
- deactivate(): void;
161
- renderImpl(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
162
- [key: string]: any;
163
- }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
164
- [key: string]: any;
165
- }>[] | null;
166
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:active" | "activate" | "postActivate" | "deactivate" | "postDeactivate")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
167
- returnFocusOnDeactivate: boolean;
168
- escapeDeactivates: boolean;
169
- allowOutsideClick: boolean | import("focus-trap").MouseEventToBoolean | undefined;
170
- preventScroll: boolean;
171
- delayInitialFocus: boolean;
172
- active: boolean;
173
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
174
- P: {};
175
- B: {};
176
- D: {};
177
- C: {};
178
- M: {};
179
- Defaults: {};
180
- }, Readonly<import("vue").ExtractPropTypes<{
181
- active: {
182
- type: BooleanConstructor;
183
- default: boolean;
184
- };
185
- } & {
186
- escapeDeactivates: {
187
- type: BooleanConstructor;
188
- default: true;
189
- };
190
- returnFocusOnDeactivate: {
191
- type: BooleanConstructor;
192
- default: true;
193
- };
194
- allowOutsideClick: {
195
- type: PropType<boolean | import("focus-trap").MouseEventToBoolean | undefined>;
196
- default: true;
197
- };
198
- clickOutsideDeactivates: PropType<boolean | import("focus-trap").MouseEventToBoolean | undefined>;
199
- initialFocus: PropType<import("focus-trap").FocusTargetOrFalse | (() => void) | undefined>;
200
- fallbackFocus: PropType<import("focus-trap").FocusTarget | undefined>;
201
- checkCanFocusTrap: PropType<((containers: (HTMLElement | SVGElement)[]) => Promise<void>) | undefined>;
202
- checkCanReturnFocus: PropType<((trigger: HTMLElement | SVGElement) => Promise<void>) | undefined>;
203
- delayInitialFocus: {
204
- type: BooleanConstructor;
205
- default: true;
206
- };
207
- document: PropType<Document | undefined>;
208
- preventScroll: BooleanConstructor;
209
- setReturnFocus: PropType<import("focus-trap").FocusTargetValueOrFalse | ((nodeFocusedBeforeActivation: HTMLElement | SVGElement) => import("focus-trap").FocusTargetValueOrFalse) | undefined>;
210
- tabbableOptions: PropType<import("focus-trap").FocusTrapTabbableOptions | undefined>;
211
- }>> & {
212
- onActivate?: ((...args: any[]) => any) | undefined;
213
- onPostActivate?: ((...args: any[]) => any) | undefined;
214
- onDeactivate?: ((...args: any[]) => any) | undefined;
215
- onPostDeactivate?: ((...args: any[]) => any) | undefined;
216
- "onUpdate:active"?: ((...args: any[]) => any) | undefined;
217
- }, {
218
- activate(): void;
219
- deactivate(): void;
220
- renderImpl(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
221
- [key: string]: any;
222
- }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
223
- [key: string]: any;
224
- }>[] | null;
225
- }, {}, {}, {}, {
226
- returnFocusOnDeactivate: boolean;
227
- escapeDeactivates: boolean;
228
- allowOutsideClick: boolean | import("focus-trap").MouseEventToBoolean | undefined;
229
- preventScroll: boolean;
230
- delayInitialFocus: boolean;
231
- active: boolean;
232
- }> | null>;
233
- declare const modalWrapperElement: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
234
- declare const maxWidthValue: import("vue").ComputedRef<string>;
235
- declare const maxHeightValue: import("vue").ComputedRef<string>;
236
- declare const sanitizedAttrs: import("vue").ComputedRef<{
237
- [x: string]: unknown;
238
- }>;
239
- declare const showHeader: import("vue").ComputedRef<boolean>;
240
- declare const close: (force?: boolean, event?: any) => void;
241
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
242
3
  declare var __VLS_7: {}, __VLS_9: {}, __VLS_15: {}, __VLS_17: {}, __VLS_19: {};
243
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
4
+ type __VLS_Slots = {} & {
244
5
  content?: (props: typeof __VLS_7) => any;
245
6
  } & {
246
7
  title?: (props: typeof __VLS_9) => any;
@@ -250,198 +11,7 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
250
11
  footer?: (props: typeof __VLS_17) => any;
251
12
  } & {
252
13
  'footer-actions'?: (props: typeof __VLS_19) => any;
253
- }>;
254
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
255
- visible: {
256
- type: BooleanConstructor;
257
- default: boolean;
258
- };
259
- title: {
260
- type: StringConstructor;
261
- default: string;
262
- };
263
- actionButtonText: {
264
- type: StringConstructor;
265
- default: string;
266
- };
267
- actionButtonAppearance: {
268
- type: PropType<ButtonAppearance>;
269
- default: string;
270
- };
271
- actionButtonDisabled: {
272
- type: BooleanConstructor;
273
- default: boolean;
274
- };
275
- hideCancelButton: {
276
- type: BooleanConstructor;
277
- default: boolean;
278
- };
279
- cancelButtonText: {
280
- type: StringConstructor;
281
- default: string;
282
- };
283
- cancelButtonAppearance: {
284
- type: PropType<ButtonAppearance>;
285
- default: string;
286
- };
287
- cancelButtonDisabled: {
288
- type: BooleanConstructor;
289
- default: boolean;
290
- };
291
- tabbableOptions: {
292
- type: ObjectConstructor;
293
- default: () => {};
294
- };
295
- maxWidth: {
296
- type: StringConstructor;
297
- required: false;
298
- default: string;
299
- };
300
- maxHeight: {
301
- type: StringConstructor;
302
- required: false;
303
- default: string;
304
- };
305
- closeOnBackdropClick: {
306
- type: BooleanConstructor;
307
- default: boolean;
308
- };
309
- /** Close the modal when the user presses the `Escape` key */
310
- closeOnEscape: {
311
- type: BooleanConstructor;
312
- default: boolean;
313
- };
314
- hideCloseIcon: {
315
- type: BooleanConstructor;
316
- default: boolean;
317
- };
318
- fullScreen: {
319
- type: BooleanConstructor;
320
- default: boolean;
321
- };
322
- inputAutofocus: {
323
- type: BooleanConstructor;
324
- default: boolean;
325
- };
326
- zIndex: {
327
- type: NumberConstructor;
328
- default: number;
329
- };
330
- }>, {
331
- FocusTrap: typeof FocusTrap;
332
- KButton: typeof KButton;
333
- CloseIcon: typeof CloseIcon;
334
- KUI_COLOR_TEXT_NEUTRAL: typeof KUI_COLOR_TEXT_NEUTRAL;
335
- attrs: typeof attrs;
336
- focusTrapElement: typeof focusTrapElement;
337
- modalWrapperElement: typeof modalWrapperElement;
338
- maxWidthValue: typeof maxWidthValue;
339
- maxHeightValue: typeof maxHeightValue;
340
- sanitizedAttrs: typeof sanitizedAttrs;
341
- showHeader: typeof showHeader;
342
- close: typeof close;
343
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
344
- cancel: () => any;
345
- proceed: () => any;
346
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
347
- visible: {
348
- type: BooleanConstructor;
349
- default: boolean;
350
- };
351
- title: {
352
- type: StringConstructor;
353
- default: string;
354
- };
355
- actionButtonText: {
356
- type: StringConstructor;
357
- default: string;
358
- };
359
- actionButtonAppearance: {
360
- type: PropType<ButtonAppearance>;
361
- default: string;
362
- };
363
- actionButtonDisabled: {
364
- type: BooleanConstructor;
365
- default: boolean;
366
- };
367
- hideCancelButton: {
368
- type: BooleanConstructor;
369
- default: boolean;
370
- };
371
- cancelButtonText: {
372
- type: StringConstructor;
373
- default: string;
374
- };
375
- cancelButtonAppearance: {
376
- type: PropType<ButtonAppearance>;
377
- default: string;
378
- };
379
- cancelButtonDisabled: {
380
- type: BooleanConstructor;
381
- default: boolean;
382
- };
383
- tabbableOptions: {
384
- type: ObjectConstructor;
385
- default: () => {};
386
- };
387
- maxWidth: {
388
- type: StringConstructor;
389
- required: false;
390
- default: string;
391
- };
392
- maxHeight: {
393
- type: StringConstructor;
394
- required: false;
395
- default: string;
396
- };
397
- closeOnBackdropClick: {
398
- type: BooleanConstructor;
399
- default: boolean;
400
- };
401
- /** Close the modal when the user presses the `Escape` key */
402
- closeOnEscape: {
403
- type: BooleanConstructor;
404
- default: boolean;
405
- };
406
- hideCloseIcon: {
407
- type: BooleanConstructor;
408
- default: boolean;
409
- };
410
- fullScreen: {
411
- type: BooleanConstructor;
412
- default: boolean;
413
- };
414
- inputAutofocus: {
415
- type: BooleanConstructor;
416
- default: boolean;
417
- };
418
- zIndex: {
419
- type: NumberConstructor;
420
- default: number;
421
- };
422
- }>> & Readonly<{
423
- onCancel?: (() => any) | undefined;
424
- onProceed?: (() => any) | undefined;
425
- }>, {
426
- title: string;
427
- hideCloseIcon: boolean;
428
- maxWidth: string;
429
- maxHeight: string;
430
- zIndex: number;
431
- actionButtonText: string;
432
- actionButtonDisabled: boolean;
433
- visible: boolean;
434
- actionButtonAppearance: ButtonAppearance;
435
- hideCancelButton: boolean;
436
- cancelButtonText: string;
437
- cancelButtonAppearance: ButtonAppearance;
438
- cancelButtonDisabled: boolean;
439
- tabbableOptions: Record<string, any>;
440
- closeOnBackdropClick: boolean;
441
- closeOnEscape: boolean;
442
- fullScreen: boolean;
443
- inputAutofocus: boolean;
444
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
+ };
445
15
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
446
16
  visible: {
447
17
  type: BooleanConstructor;
@@ -1,14 +1,7 @@
1
1
  import type { PropType } from 'vue';
2
- import KButton from '../../components/KButton/KButton.vue';
3
2
  import type { ButtonAppearance } from '../../../types';
4
- import { KongIcon } from '@kong/icons';
5
- import { KUI_COLOR_TEXT_DECORATIVE_AQUA } from '@kong/design-tokens';
6
- declare const modalBodyContent: import("vue").Ref<null, null>;
7
- declare const close: () => void;
8
- declare const proceed: () => void;
9
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
10
3
  declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_13: {}, __VLS_15: {}, __VLS_31: {}, __VLS_33: {};
11
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
4
+ type __VLS_Slots = {} & {
12
5
  'body-header'?: (props: typeof __VLS_1) => any;
13
6
  } & {
14
7
  'body-header-description'?: (props: typeof __VLS_3) => any;
@@ -24,160 +17,7 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
24
17
  'footer-content'?: (props: typeof __VLS_31) => any;
25
18
  } & {
26
19
  'action-buttons'?: (props: typeof __VLS_33) => any;
27
- }>;
28
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
29
- /**
30
- * Set the text of the title, if using title slot
31
- */
32
- title: {
33
- type: StringConstructor;
34
- required: true;
35
- };
36
- /**
37
- * Set the title in the body
38
- */
39
- bodyHeader: {
40
- type: StringConstructor;
41
- default: string;
42
- };
43
- /**
44
- * Text to display as a description of the body's title
45
- */
46
- bodyHeaderDescription: {
47
- type: StringConstructor;
48
- default: string;
49
- };
50
- /**
51
- * Pass whether or not the modal should be visible
52
- */
53
- isVisible: {
54
- type: BooleanConstructor;
55
- default: boolean;
56
- };
57
- /**
58
- * Set the text of the close/cancel button
59
- */
60
- cancelButtonText: {
61
- type: StringConstructor;
62
- default: string;
63
- };
64
- /**
65
- * Set the text of the action/proceed button
66
- */
67
- actionButtonText: {
68
- type: StringConstructor;
69
- default: string;
70
- };
71
- /**
72
- * Set the appearance of the action/proceed button
73
- */
74
- actionButtonAppearance: {
75
- type: PropType<ButtonAppearance>;
76
- default: string;
77
- };
78
- /**
79
- * Set the appearance of the close/cancel button
80
- */
81
- cancelButtonAppearance: {
82
- type: PropType<ButtonAppearance>;
83
- default: string;
84
- };
85
- /**
86
- * @deprecated
87
- * Pass the type of icon for the header on the left
88
- */
89
- iconString: {
90
- type: StringConstructor;
91
- default: string;
92
- };
93
- }>, {
94
- KButton: typeof KButton;
95
- KongIcon: typeof KongIcon;
96
- KUI_COLOR_TEXT_DECORATIVE_AQUA: typeof KUI_COLOR_TEXT_DECORATIVE_AQUA;
97
- modalBodyContent: typeof modalBodyContent;
98
- close: typeof close;
99
- proceed: typeof proceed;
100
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
101
- proceed: (...args: any[]) => void;
102
- canceled: (...args: any[]) => void;
103
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
104
- /**
105
- * Set the text of the title, if using title slot
106
- */
107
- title: {
108
- type: StringConstructor;
109
- required: true;
110
- };
111
- /**
112
- * Set the title in the body
113
- */
114
- bodyHeader: {
115
- type: StringConstructor;
116
- default: string;
117
- };
118
- /**
119
- * Text to display as a description of the body's title
120
- */
121
- bodyHeaderDescription: {
122
- type: StringConstructor;
123
- default: string;
124
- };
125
- /**
126
- * Pass whether or not the modal should be visible
127
- */
128
- isVisible: {
129
- type: BooleanConstructor;
130
- default: boolean;
131
- };
132
- /**
133
- * Set the text of the close/cancel button
134
- */
135
- cancelButtonText: {
136
- type: StringConstructor;
137
- default: string;
138
- };
139
- /**
140
- * Set the text of the action/proceed button
141
- */
142
- actionButtonText: {
143
- type: StringConstructor;
144
- default: string;
145
- };
146
- /**
147
- * Set the appearance of the action/proceed button
148
- */
149
- actionButtonAppearance: {
150
- type: PropType<ButtonAppearance>;
151
- default: string;
152
- };
153
- /**
154
- * Set the appearance of the close/cancel button
155
- */
156
- cancelButtonAppearance: {
157
- type: PropType<ButtonAppearance>;
158
- default: string;
159
- };
160
- /**
161
- * @deprecated
162
- * Pass the type of icon for the header on the left
163
- */
164
- iconString: {
165
- type: StringConstructor;
166
- default: string;
167
- };
168
- }>> & Readonly<{
169
- onProceed?: ((...args: any[]) => any) | undefined;
170
- onCanceled?: ((...args: any[]) => any) | undefined;
171
- }>, {
172
- isVisible: boolean;
173
- actionButtonText: string;
174
- actionButtonAppearance: ButtonAppearance;
175
- cancelButtonText: string;
176
- cancelButtonAppearance: ButtonAppearance;
177
- bodyHeader: string;
178
- bodyHeaderDescription: string;
179
- iconString: string;
180
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
+ };
181
21
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
182
22
  /**
183
23
  * Set the text of the title, if using title slot
@@ -280,13 +280,16 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
280
280
  dropdownFooterTextPosition: DropdownFooterTextPosition;
281
281
  itemCreationValidator: (query: string) => boolean;
282
282
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
283
- 'label-tooltip'?: ((props: {}) => any) | undefined;
284
- 'item-template'?: ((props: {
283
+ 'label-tooltip'?: (props: {}) => any;
284
+ } & {
285
+ 'item-template'?: (props: {
285
286
  item: MultiselectItem;
286
287
  class: string;
287
- }) => any) | undefined;
288
- empty?: ((props: {}) => any) | undefined;
289
- 'dropdown-footer-text'?: ((props: {}) => any) | undefined;
288
+ }) => any;
289
+ } & {
290
+ empty?: (props: {}) => any;
291
+ } & {
292
+ 'dropdown-footer-text'?: (props: {}) => any;
290
293
  }>;
291
294
  export default _default;
292
295
  type __VLS_WithSlots<T, S> = T & {
@@ -1,36 +1,9 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { MultiselectItem } from '../../../types';
3
- declare const handleClick: () => void;
4
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
5
3
  declare var __VLS_1: {};
6
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
4
+ type __VLS_Slots = {} & {
7
5
  content?: (props: typeof __VLS_1) => any;
8
- }>;
9
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
10
- item: {
11
- type: PropType<MultiselectItem>;
12
- default: null;
13
- validator: (item: MultiselectItem) => boolean;
14
- };
15
- }>, {
16
- handleClick: typeof handleClick;
17
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
- selected: (value: MultiselectItem) => any;
19
- "arrow-down": () => any;
20
- "arrow-up": () => any;
21
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
- item: {
23
- type: PropType<MultiselectItem>;
24
- default: null;
25
- validator: (item: MultiselectItem) => boolean;
26
- };
27
- }>> & Readonly<{
28
- onSelected?: ((value: MultiselectItem) => any) | undefined;
29
- "onArrow-down"?: (() => any) | undefined;
30
- "onArrow-up"?: (() => any) | undefined;
31
- }>, {
32
- item: MultiselectItem;
33
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ };
34
7
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
35
8
  item: {
36
9
  type: PropType<MultiselectItem>;