@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,36 +1,9 @@
1
1
  import type { SelectItem } from '../../../types';
2
2
  import type { PropType } from 'vue';
3
- declare const handleClick: (e: MouseEvent) => 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<SelectItem>;
12
- default: null;
13
- validator: (item: SelectItem) => boolean;
14
- };
15
- }>, {
16
- handleClick: typeof handleClick;
17
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
- selected: (value: SelectItem) => any;
19
- "arrow-down": () => any;
20
- "arrow-up": () => any;
21
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
- item: {
23
- type: PropType<SelectItem>;
24
- default: null;
25
- validator: (item: SelectItem) => boolean;
26
- };
27
- }>> & Readonly<{
28
- onSelected?: ((value: SelectItem) => any) | undefined;
29
- "onArrow-down"?: (() => any) | undefined;
30
- "onArrow-up"?: (() => any) | undefined;
31
- }>, {
32
- item: SelectItem;
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<SelectItem>;
@@ -1,79 +1,15 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { SelectItem } from '../../../types';
3
- import KSelectItem from '../../components/KSelect/KSelectItem.vue';
4
- declare const handleItemSelect: (item: SelectItem) => void;
5
- declare const nonGroupedItems: import("vue").ComputedRef<SelectItem[]>;
6
- declare const groups: import("vue").ComputedRef<string[]>;
7
- declare const getGroupItems: (group: string) => SelectItem[];
8
- declare const onKeyPress: ({ target, key }: KeyboardEvent) => void;
9
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
10
3
  declare var __VLS_9: {
11
4
  item: SelectItem;
12
5
  }, __VLS_19: {
13
6
  item: SelectItem;
14
7
  };
15
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
8
+ type __VLS_Slots = {} & {
16
9
  content?: (props: typeof __VLS_9) => any;
17
10
  } & {
18
11
  content?: (props: typeof __VLS_19) => any;
19
- }>;
20
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
21
- items: {
22
- type: PropType<SelectItem[]>;
23
- required: false;
24
- default: () => never[];
25
- validator: (items: SelectItem[]) => boolean;
26
- };
27
- itemCreationEnabled: {
28
- type: BooleanConstructor;
29
- default: boolean;
30
- };
31
- filterString: {
32
- type: StringConstructor;
33
- default: string;
34
- };
35
- itemCreationValid: {
36
- type: BooleanConstructor;
37
- default: boolean;
38
- };
39
- }>, {
40
- KSelectItem: typeof KSelectItem;
41
- handleItemSelect: typeof handleItemSelect;
42
- nonGroupedItems: typeof nonGroupedItems;
43
- groups: typeof groups;
44
- getGroupItems: typeof getGroupItems;
45
- onKeyPress: typeof onKeyPress;
46
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
47
- selected: (item: SelectItem) => any;
48
- "add-item": () => any;
49
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
50
- items: {
51
- type: PropType<SelectItem[]>;
52
- required: false;
53
- default: () => never[];
54
- validator: (items: SelectItem[]) => boolean;
55
- };
56
- itemCreationEnabled: {
57
- type: BooleanConstructor;
58
- default: boolean;
59
- };
60
- filterString: {
61
- type: StringConstructor;
62
- default: string;
63
- };
64
- itemCreationValid: {
65
- type: BooleanConstructor;
66
- default: boolean;
67
- };
68
- }>> & Readonly<{
69
- onSelected?: ((item: SelectItem) => any) | undefined;
70
- "onAdd-item"?: (() => any) | undefined;
71
- }>, {
72
- items: SelectItem[];
73
- itemCreationEnabled: boolean;
74
- filterString: string;
75
- itemCreationValid: boolean;
76
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ };
77
13
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
78
14
  items: {
79
15
  type: PropType<SelectItem[]>;
@@ -1,39 +1,11 @@
1
- import KSkeletonBox from '../../components/KSkeleton/KSkeletonBox.vue';
2
- declare const cardMaxWidth: import("vue").ComputedRef<string>;
3
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
4
1
  declare var __VLS_1: {}, __VLS_6: {}, __VLS_14: {};
5
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
2
+ type __VLS_Slots = {} & {
6
3
  'card-header'?: (props: typeof __VLS_1) => any;
7
4
  } & {
8
5
  'card-content'?: (props: typeof __VLS_6) => any;
9
6
  } & {
10
7
  'card-footer'?: (props: typeof __VLS_14) => any;
11
- }>;
12
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
- cardCount: {
14
- type: NumberConstructor;
15
- default: number;
16
- };
17
- maxWidth: {
18
- type: StringConstructor;
19
- default: string;
20
- };
21
- }>, {
22
- KSkeletonBox: typeof KSkeletonBox;
23
- cardMaxWidth: typeof cardMaxWidth;
24
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
- cardCount: {
26
- type: NumberConstructor;
27
- default: number;
28
- };
29
- maxWidth: {
30
- type: StringConstructor;
31
- default: string;
32
- };
33
- }>> & Readonly<{}>, {
34
- maxWidth: string;
35
- cardCount: number;
36
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ };
37
9
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
38
10
  cardCount: {
39
11
  type: NumberConstructor;
@@ -1,17 +1,7 @@
1
1
  import type { PropType } from 'vue';
2
- import Skeleton from '../../components/KSkeleton/SkeletonBase.vue';
3
- import CardSkeleton from '../../components/KSkeleton/CardSkeleton.vue';
4
- import TableSkeleton from '../../components/KSkeleton/TableSkeleton.vue';
5
- import FormSkeleton from '../../components/KSkeleton/FormSkeleton.vue';
6
- import FullScreenKongSkeleton from '../../components/KSkeleton/FullScreenKongSkeleton.vue';
7
- import FullScreenGenericSpinner from '../../components/KSkeleton/FullScreenGenericSpinner.vue';
8
2
  import type { SkeletonType } from '../../../types';
9
- import { ProgressIcon } from '@kong/icons';
10
- import { KUI_COLOR_TEXT_NEUTRAL } from '@kong/design-tokens';
11
- declare const isVisible: import("vue").Ref<boolean, boolean>;
12
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
13
3
  declare var __VLS_4: {}, __VLS_6: {}, __VLS_8: {}, __VLS_13: {};
14
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
4
+ type __VLS_Slots = {} & {
15
5
  'card-header'?: (props: typeof __VLS_4) => any;
16
6
  } & {
17
7
  'card-content'?: (props: typeof __VLS_6) => any;
@@ -19,112 +9,7 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
19
9
  'card-footer'?: (props: typeof __VLS_8) => any;
20
10
  } & {
21
11
  default?: (props: typeof __VLS_13) => any;
22
- }>;
23
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
24
- delayMilliseconds: {
25
- type: NumberConstructor;
26
- required: false;
27
- default: number;
28
- };
29
- type: {
30
- type: PropType<SkeletonType>;
31
- default: string;
32
- validator: (val: SkeletonType) => boolean;
33
- };
34
- progress: {
35
- type: NumberConstructor;
36
- required: false;
37
- default: null;
38
- };
39
- hideProgress: {
40
- type: BooleanConstructor;
41
- default: boolean;
42
- };
43
- cardCount: {
44
- type: NumberConstructor;
45
- default: number;
46
- };
47
- cardMaxWidth: {
48
- type: StringConstructor;
49
- default: string;
50
- };
51
- tableColumns: {
52
- type: NumberConstructor;
53
- required: false;
54
- default: number;
55
- };
56
- tableRows: {
57
- type: NumberConstructor;
58
- required: false;
59
- default: number;
60
- };
61
- zIndex: {
62
- type: NumberConstructor;
63
- default: number;
64
- };
65
- }>, {
66
- Skeleton: typeof Skeleton;
67
- CardSkeleton: typeof CardSkeleton;
68
- TableSkeleton: typeof TableSkeleton;
69
- FormSkeleton: typeof FormSkeleton;
70
- FullScreenKongSkeleton: typeof FullScreenKongSkeleton;
71
- FullScreenGenericSpinner: typeof FullScreenGenericSpinner;
72
- ProgressIcon: typeof ProgressIcon;
73
- KUI_COLOR_TEXT_NEUTRAL: typeof KUI_COLOR_TEXT_NEUTRAL;
74
- isVisible: typeof isVisible;
75
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
76
- delayMilliseconds: {
77
- type: NumberConstructor;
78
- required: false;
79
- default: number;
80
- };
81
- type: {
82
- type: PropType<SkeletonType>;
83
- default: string;
84
- validator: (val: SkeletonType) => boolean;
85
- };
86
- progress: {
87
- type: NumberConstructor;
88
- required: false;
89
- default: null;
90
- };
91
- hideProgress: {
92
- type: BooleanConstructor;
93
- default: boolean;
94
- };
95
- cardCount: {
96
- type: NumberConstructor;
97
- default: number;
98
- };
99
- cardMaxWidth: {
100
- type: StringConstructor;
101
- default: string;
102
- };
103
- tableColumns: {
104
- type: NumberConstructor;
105
- required: false;
106
- default: number;
107
- };
108
- tableRows: {
109
- type: NumberConstructor;
110
- required: false;
111
- default: number;
112
- };
113
- zIndex: {
114
- type: NumberConstructor;
115
- default: number;
116
- };
117
- }>> & Readonly<{}>, {
118
- progress: number;
119
- type: "" | "form" | "table" | "card" | "spinner" | "fullscreen-kong" | "fullscreen-generic";
120
- zIndex: number;
121
- cardCount: number;
122
- cardMaxWidth: string;
123
- hideProgress: boolean;
124
- delayMilliseconds: number;
125
- tableColumns: number;
126
- tableRows: number;
127
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ };
128
13
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
129
14
  delayMilliseconds: {
130
15
  type: NumberConstructor;
@@ -1,12 +1,7 @@
1
- import KSkeletonBox from '../../components/KSkeleton/KSkeletonBox.vue';
2
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
3
1
  declare var __VLS_1: {};
4
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
2
+ type __VLS_Slots = {} & {
5
3
  default?: (props: typeof __VLS_1) => any;
6
- }>;
7
- declare const __VLS_self: import("vue").DefineComponent<{}, {
8
- KSkeletonBox: typeof KSkeletonBox;
9
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4
+ };
10
5
  declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
6
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
7
  export default _default;
@@ -1,36 +1,7 @@
1
- import KSkeletonBox from '../../components/KSkeleton/KSkeletonBox.vue';
2
- import type { SkeletonBoxWidth } from '../../../types';
3
- declare const calcWidth: (cell: number, row: number) => SkeletonBoxWidth;
4
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
5
1
  declare var __VLS_1: {};
6
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
2
+ type __VLS_Slots = {} & {
7
3
  default?: (props: typeof __VLS_1) => any;
8
- }>;
9
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
10
- rows: {
11
- type: NumberConstructor;
12
- default: number;
13
- };
14
- columns: {
15
- type: NumberConstructor;
16
- default: number;
17
- };
18
- }>, {
19
- KSkeletonBox: typeof KSkeletonBox;
20
- calcWidth: typeof calcWidth;
21
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
- rows: {
23
- type: NumberConstructor;
24
- default: number;
25
- };
26
- columns: {
27
- type: NumberConstructor;
28
- default: number;
29
- };
30
- }>> & Readonly<{}>, {
31
- rows: number;
32
- columns: number;
33
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4
+ };
34
5
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
35
6
  rows: {
36
7
  type: NumberConstructor;
@@ -1,128 +1,9 @@
1
- import { CloseIcon } from '@kong/icons';
2
- import { KUI_COLOR_TEXT_NEUTRAL } from '@kong/design-tokens';
3
- declare const props: {
4
- readonly title: string;
5
- readonly maxWidth: string;
6
- readonly zIndex: number;
7
- readonly offsetTop: string | number;
8
- readonly visible: boolean;
9
- readonly closeOnEscape: boolean;
10
- readonly closeButtonAlignment: string;
11
- readonly hasOverlay: boolean;
12
- readonly closeOnBlur: boolean;
13
- };
14
- declare const offsetTopValue: import("vue").ComputedRef<string>;
15
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
16
1
  declare var __VLS_9: {}, __VLS_15: {};
17
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
2
+ type __VLS_Slots = {} & {
18
3
  title?: (props: typeof __VLS_9) => any;
19
4
  } & {
20
5
  default?: (props: typeof __VLS_15) => any;
21
- }>;
22
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
23
- visible: {
24
- type: BooleanConstructor;
25
- default: boolean;
26
- };
27
- closeButtonAlignment: {
28
- type: StringConstructor;
29
- default: string;
30
- validator: (value: string) => boolean;
31
- };
32
- hasOverlay: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- offsetTop: {
37
- type: (StringConstructor | NumberConstructor)[];
38
- default: number;
39
- };
40
- closeOnBlur: {
41
- type: BooleanConstructor;
42
- default: boolean;
43
- };
44
- closeOnEscape: {
45
- type: BooleanConstructor;
46
- default: boolean;
47
- };
48
- title: {
49
- type: StringConstructor;
50
- default: string;
51
- };
52
- /**
53
- * The max-width of the slideout. **Default: `500px`**.
54
- */
55
- maxWidth: {
56
- type: StringConstructor;
57
- required: false;
58
- default: string;
59
- };
60
- zIndex: {
61
- type: NumberConstructor;
62
- default: number;
63
- };
64
- }>, {
65
- CloseIcon: typeof CloseIcon;
66
- KUI_COLOR_TEXT_NEUTRAL: typeof KUI_COLOR_TEXT_NEUTRAL;
67
- props: typeof props;
68
- offsetTopValue: typeof offsetTopValue;
69
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
70
- close: () => any;
71
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
72
- visible: {
73
- type: BooleanConstructor;
74
- default: boolean;
75
- };
76
- closeButtonAlignment: {
77
- type: StringConstructor;
78
- default: string;
79
- validator: (value: string) => boolean;
80
- };
81
- hasOverlay: {
82
- type: BooleanConstructor;
83
- default: boolean;
84
- };
85
- offsetTop: {
86
- type: (StringConstructor | NumberConstructor)[];
87
- default: number;
88
- };
89
- closeOnBlur: {
90
- type: BooleanConstructor;
91
- default: boolean;
92
- };
93
- closeOnEscape: {
94
- type: BooleanConstructor;
95
- default: boolean;
96
- };
97
- title: {
98
- type: StringConstructor;
99
- default: string;
100
- };
101
- /**
102
- * The max-width of the slideout. **Default: `500px`**.
103
- */
104
- maxWidth: {
105
- type: StringConstructor;
106
- required: false;
107
- default: string;
108
- };
109
- zIndex: {
110
- type: NumberConstructor;
111
- default: number;
112
- };
113
- }>> & Readonly<{
114
- onClose?: (() => any) | undefined;
115
- }>, {
116
- title: string;
117
- maxWidth: string;
118
- zIndex: number;
119
- offsetTop: string | number;
120
- visible: boolean;
121
- closeOnEscape: boolean;
122
- closeButtonAlignment: string;
123
- hasOverlay: boolean;
124
- closeOnBlur: boolean;
125
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ };
126
7
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
127
8
  visible: {
128
9
  type: BooleanConstructor;