@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,40 +1,10 @@
1
- import type { BreadcrumbItem, BreadcrumbProps } from '../../../types';
2
- declare const getSizeFromString: (sizeStr: string) => string;
3
- declare const getComponentAttrs: (item: BreadcrumbItem) => {
4
- type: string;
5
- attrs: {
6
- title: string | undefined;
7
- to?: undefined;
8
- href?: undefined;
9
- };
10
- } | {
11
- type: string;
12
- attrs: {
13
- title: string | undefined;
14
- to: object;
15
- href?: undefined;
16
- };
17
- } | {
18
- type: string;
19
- attrs: {
20
- href: string;
21
- title: string | undefined;
22
- to?: undefined;
23
- };
24
- };
25
- declare const getBreadcrumbKey: (item: BreadcrumbItem, idx: number) => string;
26
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
1
+ import type { BreadcrumbProps } from '../../../types';
27
2
  declare var __VLS_6: `icon-${string}`, __VLS_7: {}, __VLS_9: {};
28
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
3
+ type __VLS_Slots = {} & {
29
4
  [K in NonNullable<typeof __VLS_6>]?: (props: typeof __VLS_7) => any;
30
5
  } & {
31
6
  divider?: (props: typeof __VLS_9) => any;
32
- }>;
33
- declare const __VLS_self: import("vue").DefineComponent<BreadcrumbProps, {
34
- getSizeFromString: typeof getSizeFromString;
35
- getComponentAttrs: typeof getComponentAttrs;
36
- getBreadcrumbKey: typeof getBreadcrumbKey;
37
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BreadcrumbProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ };
38
8
  declare const __VLS_component: import("vue").DefineComponent<BreadcrumbProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BreadcrumbProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
9
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
40
10
  export default _default;
@@ -1,23 +1,8 @@
1
1
  import type { CodeBlockIconButtonProps } from '../../../types';
2
- import KButton from '../../components/KButton/KButton.vue';
3
- import KTooltip from '../../components/KTooltip/KTooltip.vue';
4
- declare const copyTooltipText: import("vue").Ref<string, string>;
5
- declare const attrs: {
6
- [x: string]: unknown;
7
- };
8
- declare const onClick: () => void;
9
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
10
2
  declare var __VLS_12: {};
11
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
3
+ type __VLS_Slots = {} & {
12
4
  default?: (props: typeof __VLS_12) => any;
13
- }>;
14
- declare const __VLS_self: import("vue").DefineComponent<CodeBlockIconButtonProps, {
15
- KButton: typeof KButton;
16
- KTooltip: typeof KTooltip;
17
- copyTooltipText: typeof copyTooltipText;
18
- attrs: typeof attrs;
19
- onClick: typeof onClick;
20
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CodeBlockIconButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ };
21
6
  declare const __VLS_component: import("vue").DefineComponent<CodeBlockIconButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CodeBlockIconButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
7
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
23
8
  export default _default;
@@ -7,14 +7,15 @@ declare const _default: <T extends string | number>(__VLS_props: NonNullable<Awa
7
7
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
8
8
  attrs: any;
9
9
  slots: {
10
- default?: ((props: {
10
+ default?: (props: {
11
11
  isOpen: any;
12
- }) => any) | undefined;
13
- items?: ((props: {
12
+ }) => any;
13
+ } & {
14
+ items?: (props: {
14
15
  closeDropdown: () => void;
15
16
  handleSelection: (item: DropdownItem<T>) => void;
16
17
  items: DropdownItem<T>[];
17
- }) => any) | undefined;
18
+ }) => any;
18
19
  };
19
20
  emit: ((evt: "change", item: DropdownItem<T>) => void) & ((evt: "toggleDropdown", open: boolean) => void);
20
21
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -7,7 +7,7 @@ declare const _default: <T extends DropdownItem<string | number> | null = null>(
7
7
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
8
8
  attrs: any;
9
9
  slots: {
10
- default?: ((props: {}) => any) | undefined;
10
+ default?: (props: {}) => any;
11
11
  };
12
12
  emit: ((evt: "click", event: MouseEvent) => void) & ((evt: "change", item: T) => void);
13
13
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -1,17 +1,8 @@
1
- import { ExternalLinkIcon } from '@kong/icons';
2
- import { KUI_ICON_SIZE_30 } from '@kong/design-tokens';
3
1
  import type { ExternalLinkProps } from '../../../types';
4
- declare const isHrefValid: import("vue").ComputedRef<boolean>;
5
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
6
2
  declare var __VLS_1: {};
7
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
3
+ type __VLS_Slots = {} & {
8
4
  default?: (props: typeof __VLS_1) => any;
9
- }>;
10
- declare const __VLS_self: import("vue").DefineComponent<ExternalLinkProps, {
11
- ExternalLinkIcon: typeof ExternalLinkIcon;
12
- KUI_ICON_SIZE_30: typeof KUI_ICON_SIZE_30;
13
- isHrefValid: typeof isHrefValid;
14
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExternalLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ };
15
6
  declare const __VLS_component: import("vue").DefineComponent<ExternalLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExternalLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
7
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
8
  export default _default;
@@ -1,371 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
- import KLabel from '../../components/KLabel/KLabel.vue';
3
- import KInput from '../../components/KInput/KInput.vue';
4
- import KButton from '../../components/KButton/KButton.vue';
5
- declare const fileInputId: import("vue").ComputedRef<string>;
6
- declare const modifiedAttrs: import("vue").ComputedRef<{
7
- [x: string]: unknown;
8
- }>;
9
- declare const fileInputElement: import("vue").Ref<({
10
- $: import("vue").ComponentInternalInstance;
11
- $data: {};
12
- $props: {
13
- readonly modelValue?: (string | number) | undefined;
14
- readonly label?: string | undefined;
15
- readonly labelAttributes?: import("../..").LabelAttributes | undefined;
16
- readonly help?: string | undefined;
17
- readonly error?: boolean | undefined;
18
- readonly errorMessage?: string | undefined;
19
- readonly characterLimit?: number | undefined;
20
- readonly hasError?: boolean | undefined;
21
- readonly type?: string | undefined;
22
- readonly showPasswordMaskToggle?: boolean | undefined;
23
- readonly onInput?: ((val: string) => any) | undefined;
24
- readonly "onUpdate:modelValue"?: ((val: string) => any) | undefined;
25
- readonly "onChar-limit-exceeded"?: ((val: import("../..").LimitExceededData) => any) | undefined;
26
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
27
- $attrs: {
28
- [x: string]: unknown;
29
- };
30
- $refs: {
31
- [x: string]: unknown;
32
- };
33
- $slots: Readonly<{
34
- [name: string]: import("vue").Slot<any> | undefined;
35
- }>;
36
- $root: import("vue").ComponentPublicInstance | null;
37
- $parent: import("vue").ComponentPublicInstance | null;
38
- $host: Element | null;
39
- $emit: ((event: "input", val: string) => void) & ((event: "update:modelValue", val: string) => void) & ((event: "char-limit-exceeded", val: import("../..").LimitExceededData) => void);
40
- $el: any;
41
- $options: import("vue").ComponentOptionsBase<Readonly<import("../..").InputProps> & Readonly<{
42
- onInput?: ((val: string) => any) | undefined;
43
- "onUpdate:modelValue"?: ((val: string) => any) | undefined;
44
- "onChar-limit-exceeded"?: ((val: import("../..").LimitExceededData) => any) | undefined;
45
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
46
- input: (val: string) => any;
47
- "update:modelValue": (val: string) => any;
48
- "char-limit-exceeded": (val: import("../..").LimitExceededData) => any;
49
- }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
50
- beforeCreate?: (() => void) | (() => void)[];
51
- created?: (() => void) | (() => void)[];
52
- beforeMount?: (() => void) | (() => void)[];
53
- mounted?: (() => void) | (() => void)[];
54
- beforeUpdate?: (() => void) | (() => void)[];
55
- updated?: (() => void) | (() => void)[];
56
- activated?: (() => void) | (() => void)[];
57
- deactivated?: (() => void) | (() => void)[];
58
- beforeDestroy?: (() => void) | (() => void)[];
59
- beforeUnmount?: (() => void) | (() => void)[];
60
- destroyed?: (() => void) | (() => void)[];
61
- unmounted?: (() => void) | (() => void)[];
62
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
63
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
64
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
65
- };
66
- $forceUpdate: () => void;
67
- $nextTick: typeof import("vue").nextTick;
68
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
69
- } & Readonly<{}> & Omit<Readonly<import("../..").InputProps> & Readonly<{
70
- onInput?: ((val: string) => any) | undefined;
71
- "onUpdate:modelValue"?: ((val: string) => any) | undefined;
72
- "onChar-limit-exceeded"?: ((val: import("../..").LimitExceededData) => any) | undefined;
73
- }>, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
74
- $slots: import("../..").InputSlots;
75
- }) | null, ({
76
- $: import("vue").ComponentInternalInstance;
77
- $data: {};
78
- $props: {
79
- readonly modelValue?: (string | number) | undefined;
80
- readonly label?: string | undefined;
81
- readonly labelAttributes?: import("../..").LabelAttributes | undefined;
82
- readonly help?: string | undefined;
83
- readonly error?: boolean | undefined;
84
- readonly errorMessage?: string | undefined;
85
- readonly characterLimit?: number | undefined;
86
- readonly hasError?: boolean | undefined;
87
- readonly type?: string | undefined;
88
- readonly showPasswordMaskToggle?: boolean | undefined;
89
- readonly onInput?: ((val: string) => any) | undefined;
90
- readonly "onUpdate:modelValue"?: ((val: string) => any) | undefined;
91
- readonly "onChar-limit-exceeded"?: ((val: import("../..").LimitExceededData) => any) | undefined;
92
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
93
- $attrs: {
94
- [x: string]: unknown;
95
- };
96
- $refs: {
97
- [x: string]: unknown;
98
- };
99
- $slots: Readonly<{
100
- [name: string]: import("vue").Slot<any> | undefined;
101
- }>;
102
- $root: import("vue").ComponentPublicInstance | null;
103
- $parent: import("vue").ComponentPublicInstance | null;
104
- $host: Element | null;
105
- $emit: ((event: "input", val: string) => void) & ((event: "update:modelValue", val: string) => void) & ((event: "char-limit-exceeded", val: import("../..").LimitExceededData) => void);
106
- $el: any;
107
- $options: import("vue").ComponentOptionsBase<Readonly<import("../..").InputProps> & Readonly<{
108
- onInput?: ((val: string) => any) | undefined;
109
- "onUpdate:modelValue"?: ((val: string) => any) | undefined;
110
- "onChar-limit-exceeded"?: ((val: import("../..").LimitExceededData) => any) | undefined;
111
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
112
- input: (val: string) => any;
113
- "update:modelValue": (val: string) => any;
114
- "char-limit-exceeded": (val: import("../..").LimitExceededData) => any;
115
- }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
116
- beforeCreate?: (() => void) | (() => void)[];
117
- created?: (() => void) | (() => void)[];
118
- beforeMount?: (() => void) | (() => void)[];
119
- mounted?: (() => void) | (() => void)[];
120
- beforeUpdate?: (() => void) | (() => void)[];
121
- updated?: (() => void) | (() => void)[];
122
- activated?: (() => void) | (() => void)[];
123
- deactivated?: (() => void) | (() => void)[];
124
- beforeDestroy?: (() => void) | (() => void)[];
125
- beforeUnmount?: (() => void) | (() => void)[];
126
- destroyed?: (() => void) | (() => void)[];
127
- unmounted?: (() => void) | (() => void)[];
128
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
129
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
130
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
131
- };
132
- $forceUpdate: () => void;
133
- $nextTick: typeof import("vue").nextTick;
134
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
135
- } & Readonly<{}> & Omit<Readonly<import("../..").InputProps> & Readonly<{
136
- onInput?: ((val: string) => any) | undefined;
137
- "onUpdate:modelValue"?: ((val: string) => any) | undefined;
138
- "onChar-limit-exceeded"?: ((val: import("../..").LimitExceededData) => any) | undefined;
139
- }>, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
140
- $slots: import("../..").InputSlots;
141
- }) | null>;
142
- declare const labelElement: import("vue").Ref<({
143
- $: import("vue").ComponentInternalInstance;
144
- $data: {};
145
- $props: {
146
- readonly info?: string | undefined;
147
- readonly required?: boolean | undefined;
148
- readonly tooltipAttributes?: import("../..").TooltipAttributes | undefined;
149
- readonly help?: string | undefined;
150
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
151
- $attrs: {
152
- [x: string]: unknown;
153
- };
154
- $refs: {
155
- [x: string]: unknown;
156
- };
157
- $slots: Readonly<{
158
- [name: string]: import("vue").Slot<any> | undefined;
159
- }>;
160
- $root: import("vue").ComponentPublicInstance | null;
161
- $parent: import("vue").ComponentPublicInstance | null;
162
- $host: Element | null;
163
- $emit: (event: string, ...args: any[]) => void;
164
- $el: any;
165
- $options: import("vue").ComponentOptionsBase<Readonly<import("../..").LabelProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
166
- beforeCreate?: (() => void) | (() => void)[];
167
- created?: (() => void) | (() => void)[];
168
- beforeMount?: (() => void) | (() => void)[];
169
- mounted?: (() => void) | (() => void)[];
170
- beforeUpdate?: (() => void) | (() => void)[];
171
- updated?: (() => void) | (() => void)[];
172
- activated?: (() => void) | (() => void)[];
173
- deactivated?: (() => void) | (() => void)[];
174
- beforeDestroy?: (() => void) | (() => void)[];
175
- beforeUnmount?: (() => void) | (() => void)[];
176
- destroyed?: (() => void) | (() => void)[];
177
- unmounted?: (() => void) | (() => void)[];
178
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
179
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
180
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
181
- };
182
- $forceUpdate: () => void;
183
- $nextTick: typeof import("vue").nextTick;
184
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
185
- } & Readonly<{}> & Omit<Readonly<import("../..").LabelProps> & Readonly<{}>, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
186
- $slots: import("../..").LabelSlots;
187
- }) | null, ({
188
- $: import("vue").ComponentInternalInstance;
189
- $data: {};
190
- $props: {
191
- readonly info?: string | undefined;
192
- readonly required?: boolean | undefined;
193
- readonly tooltipAttributes?: import("../..").TooltipAttributes | undefined;
194
- readonly help?: string | undefined;
195
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
196
- $attrs: {
197
- [x: string]: unknown;
198
- };
199
- $refs: {
200
- [x: string]: unknown;
201
- };
202
- $slots: Readonly<{
203
- [name: string]: import("vue").Slot<any> | undefined;
204
- }>;
205
- $root: import("vue").ComponentPublicInstance | null;
206
- $parent: import("vue").ComponentPublicInstance | null;
207
- $host: Element | null;
208
- $emit: (event: string, ...args: any[]) => void;
209
- $el: any;
210
- $options: import("vue").ComponentOptionsBase<Readonly<import("../..").LabelProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
211
- beforeCreate?: (() => void) | (() => void)[];
212
- created?: (() => void) | (() => void)[];
213
- beforeMount?: (() => void) | (() => void)[];
214
- mounted?: (() => void) | (() => void)[];
215
- beforeUpdate?: (() => void) | (() => void)[];
216
- updated?: (() => void) | (() => void)[];
217
- activated?: (() => void) | (() => void)[];
218
- deactivated?: (() => void) | (() => void)[];
219
- beforeDestroy?: (() => void) | (() => void)[];
220
- beforeUnmount?: (() => void) | (() => void)[];
221
- destroyed?: (() => void) | (() => void)[];
222
- unmounted?: (() => void) | (() => void)[];
223
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
224
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
225
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
226
- };
227
- $forceUpdate: () => void;
228
- $nextTick: typeof import("vue").nextTick;
229
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
230
- } & Readonly<{}> & Omit<Readonly<import("../..").LabelProps> & Readonly<{}>, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
231
- $slots: import("../..").LabelSlots;
232
- }) | null>;
233
- declare const hasLabelTooltip: import("vue").ComputedRef<boolean>;
234
- declare const strippedLabel: import("vue").ComputedRef<string>;
235
- declare const isRequired: import("vue").ComputedRef<boolean>;
236
- declare const fileSizeErrorMessage: import("vue").ComputedRef<string>;
237
- declare const maximumFileSize: import("vue").ComputedRef<number>;
238
- declare const hasUploadError: import("vue").Ref<boolean, boolean>;
239
- declare const fileInputKey: import("vue").Ref<number, number>;
240
- declare const fileValue: import("vue").Ref<string, string>;
241
- declare const onFileChange: (evt: any) => void;
242
- declare const onButtonClick: () => void;
243
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
244
2
  declare var __VLS_6: {}, __VLS_17: {};
245
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
3
+ type __VLS_Slots = {} & {
246
4
  'label-tooltip'?: (props: typeof __VLS_6) => any;
247
5
  } & {
248
6
  icon?: (props: typeof __VLS_17) => any;
249
- }>;
250
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
251
- labelAttributes: {
252
- type: ObjectConstructor;
253
- default: () => {};
254
- };
255
- label: {
256
- type: StringConstructor;
257
- default: string;
258
- };
259
- help: {
260
- type: StringConstructor;
261
- default: undefined;
262
- };
263
- buttonText: {
264
- type: StringConstructor;
265
- default: string;
266
- };
267
- placeholder: {
268
- type: StringConstructor;
269
- default: string;
270
- };
271
- accept: {
272
- type: PropType<string[]>;
273
- required: true;
274
- };
275
- maxFileSize: {
276
- type: NumberConstructor;
277
- default: null;
278
- };
279
- error: {
280
- type: BooleanConstructor;
281
- default: boolean;
282
- };
283
- errorMessage: {
284
- type: StringConstructor;
285
- default: string;
286
- };
287
- disabled: {
288
- type: BooleanConstructor;
289
- default: boolean;
290
- };
291
- }>, {
292
- KLabel: typeof KLabel;
293
- KInput: typeof KInput;
294
- KButton: typeof KButton;
295
- fileInputId: typeof fileInputId;
296
- modifiedAttrs: typeof modifiedAttrs;
297
- fileInputElement: typeof fileInputElement;
298
- labelElement: typeof labelElement;
299
- hasLabelTooltip: typeof hasLabelTooltip;
300
- strippedLabel: typeof strippedLabel;
301
- isRequired: typeof isRequired;
302
- fileSizeErrorMessage: typeof fileSizeErrorMessage;
303
- maximumFileSize: typeof maximumFileSize;
304
- hasUploadError: typeof hasUploadError;
305
- fileInputKey: typeof fileInputKey;
306
- fileValue: typeof fileValue;
307
- onFileChange: typeof onFileChange;
308
- onButtonClick: typeof onButtonClick;
309
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
310
- error: (val: File[]) => any;
311
- "file-added": (val: File[]) => any;
312
- "file-removed": () => any;
313
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
314
- labelAttributes: {
315
- type: ObjectConstructor;
316
- default: () => {};
317
- };
318
- label: {
319
- type: StringConstructor;
320
- default: string;
321
- };
322
- help: {
323
- type: StringConstructor;
324
- default: undefined;
325
- };
326
- buttonText: {
327
- type: StringConstructor;
328
- default: string;
329
- };
330
- placeholder: {
331
- type: StringConstructor;
332
- default: string;
333
- };
334
- accept: {
335
- type: PropType<string[]>;
336
- required: true;
337
- };
338
- maxFileSize: {
339
- type: NumberConstructor;
340
- default: null;
341
- };
342
- error: {
343
- type: BooleanConstructor;
344
- default: boolean;
345
- };
346
- errorMessage: {
347
- type: StringConstructor;
348
- default: string;
349
- };
350
- disabled: {
351
- type: BooleanConstructor;
352
- default: boolean;
353
- };
354
- }>> & Readonly<{
355
- onError?: ((val: File[]) => any) | undefined;
356
- "onFile-added"?: ((val: File[]) => any) | undefined;
357
- "onFile-removed"?: (() => any) | undefined;
358
- }>, {
359
- label: string;
360
- buttonText: string;
361
- disabled: boolean;
362
- error: boolean;
363
- help: string;
364
- labelAttributes: Record<string, any>;
365
- errorMessage: string;
366
- placeholder: string;
367
- maxFileSize: number;
368
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ };
369
8
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
370
9
  labelAttributes: {
371
10
  type: ObjectConstructor;