@knime/kds-components 0.16.0 → 0.17.0

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 (81) hide show
  1. package/dist/accessories/Icon/useIcon.d.ts +4 -4
  2. package/dist/accessories/Icon/useIcon.d.ts.map +1 -1
  3. package/dist/accessories/LiveStatus/KdsLiveStatus.vue.d.ts.map +1 -1
  4. package/dist/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts +3 -0
  5. package/dist/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts.map +1 -0
  6. package/dist/buttons/KdsMenuButton/index.d.ts +3 -0
  7. package/dist/buttons/KdsMenuButton/index.d.ts.map +1 -0
  8. package/dist/buttons/KdsMenuButton/types.d.ts +30 -0
  9. package/dist/buttons/KdsMenuButton/types.d.ts.map +1 -0
  10. package/dist/buttons/index.d.ts +2 -0
  11. package/dist/buttons/index.d.ts.map +1 -1
  12. package/dist/forms/Checkbox/types.d.ts +1 -1
  13. package/dist/forms/Checkbox/types.d.ts.map +1 -1
  14. package/dist/forms/RadioButton/types.d.ts +2 -2
  15. package/dist/forms/RadioButton/types.d.ts.map +1 -1
  16. package/dist/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts +2 -6
  17. package/dist/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts.map +1 -1
  18. package/dist/forms/_helper/List/KdsListItem/KdsListItem.vue.d.ts +4 -3
  19. package/dist/forms/_helper/List/KdsListItem/KdsListItem.vue.d.ts.map +1 -1
  20. package/dist/forms/_helper/List/KdsListItem/enums.d.ts +5 -0
  21. package/dist/forms/_helper/List/KdsListItem/enums.d.ts.map +1 -1
  22. package/dist/forms/_helper/List/KdsListItem/types.d.ts +4 -1
  23. package/dist/forms/_helper/List/KdsListItem/types.d.ts.map +1 -1
  24. package/dist/forms/_helper/List/KdsListItemButton/KdsListItemButton.vue.d.ts +12 -0
  25. package/dist/forms/_helper/List/KdsListItemButton/KdsListItemButton.vue.d.ts.map +1 -0
  26. package/dist/forms/_helper/List/KdsListItemButton/index.d.ts +3 -0
  27. package/dist/forms/_helper/List/KdsListItemButton/index.d.ts.map +1 -0
  28. package/dist/forms/_helper/List/KdsListItemButton/types.d.ts +10 -0
  29. package/dist/forms/_helper/List/KdsListItemButton/types.d.ts.map +1 -0
  30. package/dist/forms/_helper/List/ListContainer/KdsListContainer.vue.d.ts +2 -0
  31. package/dist/forms/_helper/List/ListContainer/KdsListContainer.vue.d.ts.map +1 -1
  32. package/dist/forms/_helper/List/ListContainer/enums.d.ts +6 -0
  33. package/dist/forms/_helper/List/ListContainer/enums.d.ts.map +1 -0
  34. package/dist/forms/_helper/List/ListContainer/types.d.ts +8 -1
  35. package/dist/forms/_helper/List/ListContainer/types.d.ts.map +1 -1
  36. package/dist/forms/_helper/VariablePopover/KdsVariableToggleButton.vue.d.ts +2 -6
  37. package/dist/forms/_helper/VariablePopover/KdsVariableToggleButton.vue.d.ts.map +1 -1
  38. package/dist/forms/inputs/BaseInput.vue.d.ts +12 -6
  39. package/dist/forms/inputs/BaseInput.vue.d.ts.map +1 -1
  40. package/dist/forms/inputs/ColorInput/KdsColorInput.vue.d.ts.map +1 -1
  41. package/dist/forms/inputs/DateInput/KdsDateInput.vue.d.ts +379 -0
  42. package/dist/forms/inputs/DateInput/KdsDateInput.vue.d.ts.map +1 -0
  43. package/dist/forms/inputs/DateInput/dateUtils.d.ts +4 -0
  44. package/dist/forms/inputs/DateInput/dateUtils.d.ts.map +1 -0
  45. package/dist/forms/inputs/DateInput/index.d.ts +3 -0
  46. package/dist/forms/inputs/DateInput/index.d.ts.map +1 -0
  47. package/dist/forms/inputs/DateInput/types.d.ts +13 -0
  48. package/dist/forms/inputs/DateInput/types.d.ts.map +1 -0
  49. package/dist/forms/inputs/DateTimeFormatInput/DateTimeFormatPopover.vue.d.ts +16 -0
  50. package/dist/forms/inputs/DateTimeFormatInput/DateTimeFormatPopover.vue.d.ts.map +1 -0
  51. package/dist/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts +3 -0
  52. package/dist/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts.map +1 -0
  53. package/dist/forms/inputs/DateTimeFormatInput/enums.d.ts +15 -0
  54. package/dist/forms/inputs/DateTimeFormatInput/enums.d.ts.map +1 -0
  55. package/dist/forms/inputs/DateTimeFormatInput/index.d.ts +4 -0
  56. package/dist/forms/inputs/DateTimeFormatInput/index.d.ts.map +1 -0
  57. package/dist/forms/inputs/DateTimeFormatInput/types.d.ts +22 -0
  58. package/dist/forms/inputs/DateTimeFormatInput/types.d.ts.map +1 -0
  59. package/dist/forms/inputs/NumberInput/numberParser.d.ts.map +1 -1
  60. package/dist/forms/inputs/Textarea/KdsTextarea.vue.d.ts.map +1 -1
  61. package/dist/forms/inputs/index.d.ts +2 -0
  62. package/dist/forms/inputs/index.d.ts.map +1 -1
  63. package/dist/forms/selects/Dropdown/BaseDropdown.vue.d.ts +2 -2
  64. package/dist/forms/selects/Dropdown/BaseDropdown.vue.d.ts.map +1 -1
  65. package/dist/forms/selects/Dropdown/DropdownContainer.vue.d.ts +24 -17
  66. package/dist/forms/selects/Dropdown/DropdownContainer.vue.d.ts.map +1 -1
  67. package/dist/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts +3 -0
  68. package/dist/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts.map +1 -0
  69. package/dist/forms/selects/Dropdown/MultiSelectDropdownContainer.vue.d.ts +269 -0
  70. package/dist/forms/selects/Dropdown/MultiSelectDropdownContainer.vue.d.ts.map +1 -0
  71. package/dist/forms/selects/Dropdown/index.d.ts +2 -1
  72. package/dist/forms/selects/Dropdown/index.d.ts.map +1 -1
  73. package/dist/forms/selects/Dropdown/types.d.ts +7 -3
  74. package/dist/forms/selects/Dropdown/types.d.ts.map +1 -1
  75. package/dist/index.css +715 -586
  76. package/dist/index.js +2668 -1916
  77. package/dist/index.js.map +1 -1
  78. package/dist/overlays/Modal/KdsModal.vue.d.ts +1 -1
  79. package/dist/overlays/Popover/KdsPopover.vue.d.ts.map +1 -1
  80. package/dist/overlays/Popover/types.d.ts +1 -1
  81. package/package.json +8 -7
@@ -0,0 +1,379 @@
1
+ declare const _default: import('vue').DefineComponent<({
2
+ modelValue?: string;
3
+ } & {
4
+ description?: string;
5
+ } & {
6
+ label: string;
7
+ ariaLabel?: never;
8
+ } & {
9
+ id?: string;
10
+ } & {
11
+ error?: boolean | undefined;
12
+ subText?: string | undefined;
13
+ validating?: boolean | undefined;
14
+ preserveSubTextSpace?: boolean | undefined;
15
+ } & {
16
+ placeholder?: string;
17
+ disabled?: boolean;
18
+ autocomplete?: string;
19
+ } & {
20
+ datePickerMin?: import('v-calendar/dist/types/src/use/datePicker.js').DatePickerDate;
21
+ datePickerMax?: import('v-calendar/dist/types/src/use/datePicker.js').DatePickerDate;
22
+ }) | ({
23
+ modelValue?: string;
24
+ } & {
25
+ description?: string;
26
+ } & {
27
+ label?: never;
28
+ ariaLabel: string;
29
+ } & {
30
+ id?: string;
31
+ } & {
32
+ error?: boolean | undefined;
33
+ subText?: string | undefined;
34
+ validating?: boolean | undefined;
35
+ preserveSubTextSpace?: boolean | undefined;
36
+ } & {
37
+ placeholder?: string;
38
+ disabled?: boolean;
39
+ autocomplete?: string;
40
+ } & {
41
+ datePickerMin?: import('v-calendar/dist/types/src/use/datePicker.js').DatePickerDate;
42
+ datePickerMax?: import('v-calendar/dist/types/src/use/datePicker.js').DatePickerDate;
43
+ }), {
44
+ focus: () => void;
45
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
46
+ "update:modelValue": (value: string) => any;
47
+ }, string, import('vue').PublicProps, Readonly<({
48
+ modelValue?: string;
49
+ } & {
50
+ description?: string;
51
+ } & {
52
+ label: string;
53
+ ariaLabel?: never;
54
+ } & {
55
+ id?: string;
56
+ } & {
57
+ error?: boolean | undefined;
58
+ subText?: string | undefined;
59
+ validating?: boolean | undefined;
60
+ preserveSubTextSpace?: boolean | undefined;
61
+ } & {
62
+ placeholder?: string;
63
+ disabled?: boolean;
64
+ autocomplete?: string;
65
+ } & {
66
+ datePickerMin?: import('v-calendar/dist/types/src/use/datePicker.js').DatePickerDate;
67
+ datePickerMax?: import('v-calendar/dist/types/src/use/datePicker.js').DatePickerDate;
68
+ }) | ({
69
+ modelValue?: string;
70
+ } & {
71
+ description?: string;
72
+ } & {
73
+ label?: never;
74
+ ariaLabel: string;
75
+ } & {
76
+ id?: string;
77
+ } & {
78
+ error?: boolean | undefined;
79
+ subText?: string | undefined;
80
+ validating?: boolean | undefined;
81
+ preserveSubTextSpace?: boolean | undefined;
82
+ } & {
83
+ placeholder?: string;
84
+ disabled?: boolean;
85
+ autocomplete?: string;
86
+ } & {
87
+ datePickerMin?: import('v-calendar/dist/types/src/use/datePicker.js').DatePickerDate;
88
+ datePickerMax?: import('v-calendar/dist/types/src/use/datePicker.js').DatePickerDate;
89
+ })> & Readonly<{
90
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
91
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
92
+ baseInput: ({
93
+ $: import('vue').ComponentInternalInstance;
94
+ $data: {};
95
+ $props: {
96
+ readonly modelValue?: string | undefined;
97
+ readonly id?: string | undefined;
98
+ readonly type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search" | undefined;
99
+ readonly min?: number | string | undefined;
100
+ readonly max?: number | string | undefined;
101
+ readonly step?: number | undefined;
102
+ readonly placeholder?: string | undefined;
103
+ readonly disabled?: boolean | undefined;
104
+ readonly leadingIcon?: import('../../../index.ts').KdsIconName | undefined;
105
+ readonly trailingIcon?: import('../../../index.ts').KdsIconName | undefined;
106
+ readonly error?: boolean | undefined;
107
+ readonly autocomplete?: string | undefined;
108
+ readonly ariaLabel?: string | undefined;
109
+ readonly ariaLabelledby?: string | undefined;
110
+ readonly ariaDescribedby?: string | undefined;
111
+ readonly ariaInvalid?: boolean | undefined;
112
+ readonly role?: string | undefined;
113
+ readonly ariaValuenow?: number | undefined;
114
+ readonly ariaValuemin?: number | undefined;
115
+ readonly ariaValuemax?: number | undefined;
116
+ readonly ariaValuetext?: string | undefined;
117
+ readonly ariaActivedescendant?: string | undefined;
118
+ readonly unit?: string | undefined;
119
+ readonly inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
120
+ readonly clearable?: boolean | undefined;
121
+ readonly pattern?: string | undefined;
122
+ readonly onInput?: ((event: Event) => any) | undefined;
123
+ readonly onClick?: ((event: MouseEvent) => any) | undefined;
124
+ readonly onBlur?: ((event: FocusEvent) => any) | undefined;
125
+ readonly onFocus?: ((event: FocusEvent) => any) | undefined;
126
+ readonly onKeydown?: ((event: KeyboardEvent) => any) | undefined;
127
+ readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
128
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
129
+ $attrs: import('vue').Attrs;
130
+ $refs: {
131
+ [x: string]: unknown;
132
+ } & {
133
+ input: HTMLInputElement;
134
+ };
135
+ $slots: Readonly<{
136
+ [name: string]: import('vue').Slot<any> | undefined;
137
+ }>;
138
+ $root: import('vue').ComponentPublicInstance | null;
139
+ $parent: import('vue').ComponentPublicInstance | null;
140
+ $host: Element | null;
141
+ $emit: ((event: "input", event: Event) => void) & ((event: "click", event: MouseEvent) => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "keydown", event: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void);
142
+ $el: HTMLDivElement;
143
+ $options: import('vue').ComponentOptionsBase<Readonly<{
144
+ modelValue?: string;
145
+ } & {
146
+ id?: string;
147
+ type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
148
+ min?: number | string;
149
+ max?: number | string;
150
+ step?: number;
151
+ placeholder?: string;
152
+ disabled?: boolean;
153
+ leadingIcon?: import('../../../index.ts').KdsIconName;
154
+ trailingIcon?: import('../../../index.ts').KdsIconName;
155
+ error?: boolean;
156
+ autocomplete?: string;
157
+ ariaLabel?: string;
158
+ ariaLabelledby?: string;
159
+ ariaDescribedby?: string;
160
+ ariaInvalid?: boolean;
161
+ role?: string;
162
+ ariaValuenow?: number;
163
+ ariaValuemin?: number;
164
+ ariaValuemax?: number;
165
+ ariaValuetext?: string;
166
+ ariaActivedescendant?: string;
167
+ unit?: string;
168
+ inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
169
+ clearable?: boolean;
170
+ pattern?: string;
171
+ }> & Readonly<{
172
+ onInput?: ((event: Event) => any) | undefined;
173
+ onClick?: ((event: MouseEvent) => any) | undefined;
174
+ onBlur?: ((event: FocusEvent) => any) | undefined;
175
+ onFocus?: ((event: FocusEvent) => any) | undefined;
176
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
177
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
178
+ }>, {
179
+ focus: () => void;
180
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
181
+ input: (event: Event) => any;
182
+ click: (event: MouseEvent) => any;
183
+ blur: (event: FocusEvent) => any;
184
+ focus: (event: FocusEvent) => any;
185
+ keydown: (event: KeyboardEvent) => any;
186
+ "update:modelValue": (value: string) => any;
187
+ }, string, {
188
+ type: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
189
+ pattern: string;
190
+ role: string;
191
+ placeholder: string;
192
+ disabled: boolean;
193
+ error: boolean;
194
+ leadingIcon: import('../../../index.ts').KdsIconName;
195
+ ariaLabel: string;
196
+ trailingIcon: import('../../../index.ts').KdsIconName;
197
+ id: string;
198
+ min: number | string;
199
+ max: number | string;
200
+ step: number;
201
+ autocomplete: string;
202
+ ariaLabelledby: string;
203
+ ariaDescribedby: string;
204
+ ariaInvalid: boolean;
205
+ ariaValuenow: number;
206
+ ariaValuemin: number;
207
+ ariaValuemax: number;
208
+ ariaValuetext: string;
209
+ ariaActivedescendant: string;
210
+ unit: string;
211
+ inputmode: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
212
+ clearable: boolean;
213
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
214
+ beforeCreate?: (() => void) | (() => void)[];
215
+ created?: (() => void) | (() => void)[];
216
+ beforeMount?: (() => void) | (() => void)[];
217
+ mounted?: (() => void) | (() => void)[];
218
+ beforeUpdate?: (() => void) | (() => void)[];
219
+ updated?: (() => void) | (() => void)[];
220
+ activated?: (() => void) | (() => void)[];
221
+ deactivated?: (() => void) | (() => void)[];
222
+ beforeDestroy?: (() => void) | (() => void)[];
223
+ beforeUnmount?: (() => void) | (() => void)[];
224
+ destroyed?: (() => void) | (() => void)[];
225
+ unmounted?: (() => void) | (() => void)[];
226
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
227
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
228
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
229
+ };
230
+ $forceUpdate: () => void;
231
+ $nextTick: typeof import('vue').nextTick;
232
+ $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;
233
+ } & Readonly<{
234
+ type: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
235
+ pattern: string;
236
+ role: string;
237
+ placeholder: string;
238
+ disabled: boolean;
239
+ error: boolean;
240
+ leadingIcon: import('../../../index.ts').KdsIconName;
241
+ ariaLabel: string;
242
+ trailingIcon: import('../../../index.ts').KdsIconName;
243
+ id: string;
244
+ min: number | string;
245
+ max: number | string;
246
+ step: number;
247
+ autocomplete: string;
248
+ ariaLabelledby: string;
249
+ ariaDescribedby: string;
250
+ ariaInvalid: boolean;
251
+ ariaValuenow: number;
252
+ ariaValuemin: number;
253
+ ariaValuemax: number;
254
+ ariaValuetext: string;
255
+ ariaActivedescendant: string;
256
+ unit: string;
257
+ inputmode: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
258
+ clearable: boolean;
259
+ }> & Omit<Readonly<{
260
+ modelValue?: string;
261
+ } & {
262
+ id?: string;
263
+ type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
264
+ min?: number | string;
265
+ max?: number | string;
266
+ step?: number;
267
+ placeholder?: string;
268
+ disabled?: boolean;
269
+ leadingIcon?: import('../../../index.ts').KdsIconName;
270
+ trailingIcon?: import('../../../index.ts').KdsIconName;
271
+ error?: boolean;
272
+ autocomplete?: string;
273
+ ariaLabel?: string;
274
+ ariaLabelledby?: string;
275
+ ariaDescribedby?: string;
276
+ ariaInvalid?: boolean;
277
+ role?: string;
278
+ ariaValuenow?: number;
279
+ ariaValuemin?: number;
280
+ ariaValuemax?: number;
281
+ ariaValuetext?: string;
282
+ ariaActivedescendant?: string;
283
+ unit?: string;
284
+ inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
285
+ clearable?: boolean;
286
+ pattern?: string;
287
+ }> & Readonly<{
288
+ onInput?: ((event: Event) => any) | undefined;
289
+ onClick?: ((event: MouseEvent) => any) | undefined;
290
+ onBlur?: ((event: FocusEvent) => any) | undefined;
291
+ onFocus?: ((event: FocusEvent) => any) | undefined;
292
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
293
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
294
+ }>, "focus" | ("type" | "pattern" | "role" | "placeholder" | "disabled" | "error" | "leadingIcon" | "ariaLabel" | "trailingIcon" | "id" | "min" | "max" | "step" | "autocomplete" | "ariaLabelledby" | "ariaDescribedby" | "ariaInvalid" | "ariaValuenow" | "ariaValuemin" | "ariaValuemax" | "ariaValuetext" | "ariaActivedescendant" | "unit" | "inputmode" | "clearable")> & import('vue').ShallowUnwrapRef<{
295
+ focus: () => void;
296
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
297
+ $slots: {
298
+ leading?(_: {}): any;
299
+ trailing?(_: {}): any;
300
+ };
301
+ }) | null;
302
+ popoverRef: ({
303
+ $: import('vue').ComponentInternalInstance;
304
+ $data: {};
305
+ $props: {
306
+ readonly modelValue?: boolean | undefined;
307
+ readonly placement?: import('../../../overlays/Popover/types.ts').KdsPopoverPlacement | undefined;
308
+ readonly role?: import('../../../overlays/Popover/types.ts').KdsPopoverRole | undefined;
309
+ readonly fullWidth?: boolean | undefined;
310
+ readonly popoverAriaLabel: string;
311
+ readonly content?: string | undefined;
312
+ readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
313
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
314
+ $attrs: import('vue').Attrs;
315
+ $refs: {
316
+ [x: string]: unknown;
317
+ } & {
318
+ popoverEl: HTMLDivElement;
319
+ };
320
+ $slots: Readonly<{
321
+ [name: string]: import('vue').Slot<any> | undefined;
322
+ }>;
323
+ $root: import('vue').ComponentPublicInstance | null;
324
+ $parent: import('vue').ComponentPublicInstance | null;
325
+ $host: Element | null;
326
+ $emit: (event: "update:modelValue", value: boolean) => void;
327
+ $el: HTMLDivElement;
328
+ $options: import('vue').ComponentOptionsBase<Readonly<{
329
+ modelValue?: boolean;
330
+ } & import('../../../overlays/Popover/types.ts').KdsPopoverProps> & Readonly<{
331
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
332
+ }>, {
333
+ anchorStyle: Record<string, string>;
334
+ popoverId: string;
335
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
336
+ "update:modelValue": (value: boolean) => any;
337
+ }, string, {
338
+ role: import('../../../overlays/Popover/types.ts').KdsPopoverRole;
339
+ placement: import('../../../overlays/Popover/types.ts').KdsPopoverPlacement;
340
+ fullWidth: boolean;
341
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
342
+ beforeCreate?: (() => void) | (() => void)[];
343
+ created?: (() => void) | (() => void)[];
344
+ beforeMount?: (() => void) | (() => void)[];
345
+ mounted?: (() => void) | (() => void)[];
346
+ beforeUpdate?: (() => void) | (() => void)[];
347
+ updated?: (() => void) | (() => void)[];
348
+ activated?: (() => void) | (() => void)[];
349
+ deactivated?: (() => void) | (() => void)[];
350
+ beforeDestroy?: (() => void) | (() => void)[];
351
+ beforeUnmount?: (() => void) | (() => void)[];
352
+ destroyed?: (() => void) | (() => void)[];
353
+ unmounted?: (() => void) | (() => void)[];
354
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
355
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
356
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
357
+ };
358
+ $forceUpdate: () => void;
359
+ $nextTick: typeof import('vue').nextTick;
360
+ $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;
361
+ } & Readonly<{
362
+ role: import('../../../overlays/Popover/types.ts').KdsPopoverRole;
363
+ placement: import('../../../overlays/Popover/types.ts').KdsPopoverPlacement;
364
+ fullWidth: boolean;
365
+ }> & Omit<Readonly<{
366
+ modelValue?: boolean;
367
+ } & import('../../../overlays/Popover/types.ts').KdsPopoverProps> & Readonly<{
368
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
369
+ }>, "anchorStyle" | "popoverId" | ("role" | "placement" | "fullWidth")> & import('vue').ShallowUnwrapRef<{
370
+ anchorStyle: Record<string, string>;
371
+ popoverId: string;
372
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
373
+ $slots: {
374
+ default?(_: {}): any;
375
+ };
376
+ }) | null;
377
+ }, HTMLDivElement>;
378
+ export default _default;
379
+ //# sourceMappingURL=KdsDateInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdsDateInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/DateInput/KdsDateInput.vue"],"names":[],"mappings":"AAoTA,OAAO,2BAA2B,CAAC;;iBAsFtB,MAAM;;;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAqP0lL,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;AAlBnuL,wBAUG"}
@@ -0,0 +1,4 @@
1
+ export declare const tryParseAnyDate: (value: string) => Date | null;
2
+ export declare const parseDateString: (value: string) => Date | null;
3
+ export declare const formatDateToString: (date: Date | string | null) => string;
4
+ //# sourceMappingURL=dateUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dateUtils.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/DateInput/dateUtils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,KAAG,IAAI,GAAG,IAgBtD,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,KAAG,IAAI,GAAG,IAyBtD,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,MAAM,IAAI,GAAG,MAAM,GAAG,IAAI,KAAG,MAa/D,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as KdsDateInput } from './KdsDateInput.vue';
2
+ export type * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/DateInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,mBAAmB,SAAS,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { DatePickerDate } from 'v-calendar/dist/types/src/use/datePicker.js';
2
+ import { KdsInputFieldProps } from '../types';
3
+ export type KdsDateInputProps = KdsInputFieldProps & {
4
+ /**
5
+ * Minimum allowed date passed to the date picker. The value is NOT used for validation, but only to restrict the date picker UI.
6
+ */
7
+ datePickerMin?: DatePickerDate;
8
+ /**
9
+ * Maximum allowed date passed to the date picker. The value is NOT used for validation, but only to restrict the date picker UI.
10
+ */
11
+ datePickerMax?: DatePickerDate;
12
+ };
13
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/DateInput/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAElF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,GAAG;IACnD;;OAEG;IACH,aAAa,CAAC,EAAE,cAAc,CAAC;IAC/B;;OAEG;IACH,aAAa,CAAC,EAAE,cAAc,CAAC;CAChC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { KdsDateTimeFormatEntry, KdsTemporalType } from './types';
2
+ type DateTimeFormatPopoverProps = {
3
+ allDefaultFormats: KdsDateTimeFormatEntry[];
4
+ allowedFormats?: KdsTemporalType[];
5
+ };
6
+ type __VLS_Props = DateTimeFormatPopoverProps;
7
+ type __VLS_PublicProps = {
8
+ "selection"?: string;
9
+ } & __VLS_Props;
10
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:selection": (value: string) => any;
12
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ "onUpdate:selection"?: ((value: string) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
15
+ export default _default;
16
+ //# sourceMappingURL=DateTimeFormatPopover.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateTimeFormatPopover.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/DateTimeFormatInput/DateTimeFormatPopover.vue"],"names":[],"mappings":"AAsQA,OAAO,KAAK,EAEV,sBAAsB,EACtB,eAAe,EAChB,MAAM,SAAS,CAAC;AAEjB,KAAK,0BAA0B,GAAG;IAChC,iBAAiB,EAAE,sBAAsB,EAAE,CAAC;IAC5C,cAAc,CAAC,EAAE,eAAe,EAAE,CAAC;CACpC,CAAC;AAEF,KAAK,WAAW,GAAG,0BAA0B,CAAC;AAmL9C,KAAK,iBAAiB,GAAG;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,WAAW,CAAC;;;;;;AAwIhB,wBAQG"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import('vue').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('vue').PublicProps>;
2
+ export default _default;
3
+ //# sourceMappingURL=KdsDateTimeFormatInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdsDateTimeFormatInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue"],"names":[],"mappings":";AAsSA,wBAUG"}
@@ -0,0 +1,15 @@
1
+ export declare const kdsTemporalType: {
2
+ readonly DATE: "DATE";
3
+ readonly TIME: "TIME";
4
+ readonly DATE_TIME: "DATE_TIME";
5
+ readonly ZONED_DATE_TIME: "ZONED_DATE_TIME";
6
+ };
7
+ export declare const kdsTemporalTypes: ("TIME" | "DATE" | "DATE_TIME" | "ZONED_DATE_TIME")[];
8
+ export declare const kdsDateFormatCategory: {
9
+ readonly RECENT: "RECENT";
10
+ readonly STANDARD: "STANDARD";
11
+ readonly EUROPEAN: "EUROPEAN";
12
+ readonly AMERICAN: "AMERICAN";
13
+ };
14
+ export declare const kdsDateFormatCategories: ("RECENT" | "STANDARD" | "EUROPEAN" | "AMERICAN")[];
15
+ //# sourceMappingURL=enums.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/DateTimeFormatInput/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;;;CAKlB,CAAC;AAEX,eAAO,MAAM,gBAAgB,uDAAiC,CAAC;AAE/D,eAAO,MAAM,qBAAqB;;;;;CAKxB,CAAC;AAEX,eAAO,MAAM,uBAAuB,qDAAuC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { default as KdsDateTimeFormatInput } from './KdsDateTimeFormatInput.vue';
2
+ export type * from './types';
3
+ export { kdsTemporalType, kdsTemporalTypes, kdsDateFormatCategory, kdsDateFormatCategories, } from './enums';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/DateTimeFormatInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACjF,mBAAmB,SAAS,CAAC;AAC7B,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,SAAS,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { KdsInputFieldProps } from '../types';
2
+ import { kdsDateFormatCategory, kdsTemporalType } from './enums';
3
+ export type KdsTemporalType = (typeof kdsTemporalType)[keyof typeof kdsTemporalType];
4
+ export type KdsDateFormatCategory = (typeof kdsDateFormatCategory)[keyof typeof kdsDateFormatCategory];
5
+ export type KdsDateTimeFormatEntry = {
6
+ format: string;
7
+ temporalType: KdsTemporalType;
8
+ category: KdsDateFormatCategory;
9
+ example?: string;
10
+ };
11
+ export type KdsDateTimeFormatInputProps = KdsInputFieldProps & {
12
+ /**
13
+ * Restricts the available date/time format options by their temporal type.
14
+ * If omitted, there are no restrictions.
15
+ */
16
+ allowedFormats?: KdsTemporalType[];
17
+ /**
18
+ * Full list of available date/time formats.
19
+ */
20
+ allDefaultFormats: KdsDateTimeFormatEntry[];
21
+ };
22
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/DateTimeFormatInput/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAEjE,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD,MAAM,MAAM,qBAAqB,GAC/B,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC;AAErE,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,eAAe,CAAC;IAC9B,QAAQ,EAAE,qBAAqB,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,kBAAkB,GAAG;IAC7D;;;OAGG;IACH,cAAc,CAAC,EAAE,eAAe,EAAE,CAAC;IAEnC;;OAEG;IACH,iBAAiB,EAAE,sBAAsB,EAAE,CAAC;CAC7C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"numberParser.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/NumberInput/numberParser.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB;;;;;;;OAOG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC5C,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC1C;;;OAGG;IACH,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CACxC,CAAC;AAmCF,eAAO,MAAM,qBAAqB,GAAI,QAAQ;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd,KAAG,eAoKH,CAAC"}
1
+ {"version":3,"file":"numberParser.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/NumberInput/numberParser.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB;;;;;;;OAOG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC5C,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC1C;;;OAGG;IACH,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CACxC,CAAC;AAmCF,eAAO,MAAM,qBAAqB,GAAI,QAAQ;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd,KAAG,eAgLH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"KdsTextarea.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/Textarea/KdsTextarea.vue"],"names":[],"mappings":";AAoQA,wBAWG"}
1
+ {"version":3,"file":"KdsTextarea.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/Textarea/KdsTextarea.vue"],"names":[],"mappings":";AAsQA,wBAWG"}
@@ -1,5 +1,7 @@
1
1
  export * from './ColorInput';
2
2
  export type * from './ColorInput';
3
+ export * from './DateTimeFormatInput';
4
+ export type * from './DateTimeFormatInput';
3
5
  export * from './NumberInput';
4
6
  export type * from './NumberInput';
5
7
  export * from './PatternInput';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/inputs/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,gBAAgB,CAAC;AAC/B,mBAAmB,gBAAgB,CAAC;AAEpC,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,aAAa,CAAC;AAC5B,mBAAmB,aAAa,CAAC;AAEjC,cAAc,YAAY,CAAC;AAC3B,mBAAmB,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/inputs/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,uBAAuB,CAAC;AACtC,mBAAmB,uBAAuB,CAAC;AAE3C,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,gBAAgB,CAAC;AAC/B,mBAAmB,gBAAgB,CAAC;AAEpC,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,aAAa,CAAC;AAC5B,mBAAmB,aAAa,CAAC;AAEjC,cAAc,YAAY,CAAC;AAC3B,mBAAmB,YAAY,CAAC"}
@@ -16,13 +16,13 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
16
16
  disabled: boolean;
17
17
  error: boolean;
18
18
  ariaLabel: string;
19
+ accessory: import('../../_helper/List/ListItemAccessory/types').KdsListItemAccessory;
19
20
  id: string;
21
+ missing: boolean;
20
22
  popoverId: string;
21
23
  ariaLabelledby: string;
22
24
  ariaDescribedby: string;
23
25
  ariaInvalid: boolean;
24
- accessory: import('../../_helper/List/ListItemAccessory/types').KdsListItemAccessory;
25
- missing: boolean;
26
26
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
27
27
  export default _default;
28
28
  //# sourceMappingURL=BaseDropdown.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/selects/Dropdown/BaseDropdown.vue"],"names":[],"mappings":"AAwLA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,KAAK,WAAW,GAAG,iBAAiB,CAAC;AAgFrC,KAAK,iBAAiB,GAAG;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;AAmHhB,wBASG"}
1
+ {"version":3,"file":"BaseDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/selects/Dropdown/BaseDropdown.vue"],"names":[],"mappings":"AA2LA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,KAAK,WAAW,GAAG,iBAAiB,CAAC;AAgFrC,KAAK,iBAAiB,GAAG;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;AAmHhB,wBASG"}