@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
@@ -1,14 +1,14 @@
1
1
  import { DropdownContainerProps } from './types';
2
2
  type __VLS_Props = DropdownContainerProps;
3
3
  type __VLS_PublicProps = {
4
- modelValue?: string | null;
4
+ modelValue?: string;
5
5
  } & __VLS_Props;
6
6
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
7
7
  focus: () => void | undefined;
8
8
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
- "update:modelValue": (value: string | null) => any;
9
+ "update:modelValue": (value: string) => any;
10
10
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
11
- "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
11
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
12
12
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
13
13
  searchEl: ({
14
14
  $: import('vue').ComponentInternalInstance;
@@ -17,8 +17,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
17
17
  readonly modelValue?: string | undefined;
18
18
  readonly id?: string | undefined;
19
19
  readonly type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search" | undefined;
20
- readonly min?: number | undefined;
21
- readonly max?: number | undefined;
20
+ readonly min?: number | string | undefined;
21
+ readonly max?: number | string | undefined;
22
22
  readonly step?: number | undefined;
23
23
  readonly placeholder?: string | undefined;
24
24
  readonly disabled?: boolean | undefined;
@@ -39,6 +39,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
39
39
  readonly unit?: string | undefined;
40
40
  readonly inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
41
41
  readonly clearable?: boolean | undefined;
42
+ readonly pattern?: string | undefined;
42
43
  readonly onInput?: ((event: Event) => any) | undefined;
43
44
  readonly onClick?: ((event: MouseEvent) => any) | undefined;
44
45
  readonly onBlur?: ((event: FocusEvent) => any) | undefined;
@@ -46,9 +47,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
46
47
  readonly onKeydown?: ((event: KeyboardEvent) => any) | undefined;
47
48
  readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
48
49
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
49
- $attrs: {
50
- [x: string]: unknown;
51
- };
50
+ $attrs: import('vue').Attrs;
52
51
  $refs: {
53
52
  [x: string]: unknown;
54
53
  } & {
@@ -67,8 +66,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
67
66
  } & {
68
67
  id?: string;
69
68
  type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
70
- min?: number;
71
- max?: number;
69
+ min?: number | string;
70
+ max?: number | string;
72
71
  step?: number;
73
72
  placeholder?: string;
74
73
  disabled?: boolean;
@@ -89,6 +88,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
89
88
  unit?: string;
90
89
  inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
91
90
  clearable?: boolean;
91
+ pattern?: string;
92
92
  }> & Readonly<{
93
93
  onInput?: ((event: Event) => any) | undefined;
94
94
  onClick?: ((event: MouseEvent) => any) | undefined;
@@ -107,6 +107,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
107
107
  "update:modelValue": (value: string) => any;
108
108
  }, string, {
109
109
  type: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
110
+ pattern: string;
110
111
  role: string;
111
112
  placeholder: string;
112
113
  disabled: boolean;
@@ -115,8 +116,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
115
116
  ariaLabel: string;
116
117
  trailingIcon: import('../../..').KdsIconName;
117
118
  id: string;
118
- min: number;
119
- max: number;
119
+ min: number | string;
120
+ max: number | string;
120
121
  step: number;
121
122
  autocomplete: string;
122
123
  ariaLabelledby: string;
@@ -152,6 +153,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
152
153
  $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;
153
154
  } & Readonly<{
154
155
  type: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
156
+ pattern: string;
155
157
  role: string;
156
158
  placeholder: string;
157
159
  disabled: boolean;
@@ -160,8 +162,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
160
162
  ariaLabel: string;
161
163
  trailingIcon: import('../../..').KdsIconName;
162
164
  id: string;
163
- min: number;
164
- max: number;
165
+ min: number | string;
166
+ max: number | string;
165
167
  step: number;
166
168
  autocomplete: string;
167
169
  ariaLabelledby: string;
@@ -180,8 +182,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
180
182
  } & {
181
183
  id?: string;
182
184
  type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
183
- min?: number;
184
- max?: number;
185
+ min?: number | string;
186
+ max?: number | string;
185
187
  step?: number;
186
188
  placeholder?: string;
187
189
  disabled?: boolean;
@@ -202,6 +204,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
202
204
  unit?: string;
203
205
  inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
204
206
  clearable?: boolean;
207
+ pattern?: string;
205
208
  }> & Readonly<{
206
209
  onInput?: ((event: Event) => any) | undefined;
207
210
  onClick?: ((event: MouseEvent) => any) | undefined;
@@ -209,7 +212,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
209
212
  onFocus?: ((event: FocusEvent) => any) | undefined;
210
213
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
211
214
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
212
- }>, "focus" | ("type" | "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<{
215
+ }>, "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<{
213
216
  focus: () => void;
214
217
  }> & {} & import('vue').ComponentCustomProperties & {} & {
215
218
  $slots: {
@@ -227,6 +230,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
227
230
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
228
231
  itemClick: (id: string) => any;
229
232
  }, import('vue').PublicProps, {
233
+ role: import('../../_helper/List/ListContainer').KdsListContainerRole;
234
+ variant: import('../../_helper/List/KdsListItem').KdsListItemVariant;
230
235
  emptyText: string;
231
236
  loading: boolean;
232
237
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
@@ -246,6 +251,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
246
251
  handleBlur: () => void;
247
252
  activeDescendant: Readonly<import('vue').Ref<string | undefined>>;
248
253
  }, {}, {}, {}, {
254
+ role: import('../../_helper/List/ListContainer').KdsListContainerRole;
255
+ variant: import('../../_helper/List/KdsListItem').KdsListItemVariant;
249
256
  emptyText: string;
250
257
  loading: boolean;
251
258
  }> | null;
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownContainer.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/selects/Dropdown/DropdownContainer.vue"],"names":[],"mappings":"AA+IA,OAAO,KAAK,EACV,sBAAsB,EAEvB,MAAM,SAAS,CAAC;AAEjB,KAAK,WAAW,GAAG,sBAAsB,CAAC;AA2E1C,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAgKu2b,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlB7+b,wBAUG"}
1
+ {"version":3,"file":"DropdownContainer.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/selects/Dropdown/DropdownContainer.vue"],"names":[],"mappings":"AA8IA,OAAO,KAAK,EAAE,sBAAsB,EAAqB,MAAM,SAAS,CAAC;AAEzE,KAAK,WAAW,GAAG,sBAAsB,CAAC;AA6E1C,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAgK0xb,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlBh6b,wBAUG"}
@@ -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=KdsMultiSelectDropdown.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdsMultiSelectDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue"],"names":[],"mappings":";AAwZA,wBAUG"}
@@ -0,0 +1,269 @@
1
+ import { KdsMultiSelectDropdownContainerProps } from './types';
2
+ type __VLS_Props = KdsMultiSelectDropdownContainerProps;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: string[];
5
+ "searchValue"?: string;
6
+ } & __VLS_Props;
7
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
8
+ focus: () => void;
9
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ "update:modelValue": (value: string[]) => any;
11
+ addValue: (text: string) => any;
12
+ "update:searchValue": (value: string) => any;
13
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
15
+ onAddValue?: ((text: string) => any) | undefined;
16
+ "onUpdate:searchValue"?: ((value: string) => any) | undefined;
17
+ }>, {
18
+ loading: boolean;
19
+ allowNewValues: boolean;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
21
+ searchEl: ({
22
+ $: import('vue').ComponentInternalInstance;
23
+ $data: {};
24
+ $props: {
25
+ readonly modelValue?: string | undefined;
26
+ readonly id?: string | undefined;
27
+ readonly type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search" | undefined;
28
+ readonly min?: number | string | undefined;
29
+ readonly max?: number | string | undefined;
30
+ readonly step?: number | undefined;
31
+ readonly placeholder?: string | undefined;
32
+ readonly disabled?: boolean | undefined;
33
+ readonly leadingIcon?: import('../../..').KdsIconName | undefined;
34
+ readonly trailingIcon?: import('../../..').KdsIconName | undefined;
35
+ readonly error?: boolean | undefined;
36
+ readonly autocomplete?: string | undefined;
37
+ readonly ariaLabel?: string | undefined;
38
+ readonly ariaLabelledby?: string | undefined;
39
+ readonly ariaDescribedby?: string | undefined;
40
+ readonly ariaInvalid?: boolean | undefined;
41
+ readonly role?: string | undefined;
42
+ readonly ariaValuenow?: number | undefined;
43
+ readonly ariaValuemin?: number | undefined;
44
+ readonly ariaValuemax?: number | undefined;
45
+ readonly ariaValuetext?: string | undefined;
46
+ readonly ariaActivedescendant?: string | undefined;
47
+ readonly unit?: string | undefined;
48
+ readonly inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
49
+ readonly clearable?: boolean | undefined;
50
+ readonly pattern?: string | undefined;
51
+ readonly onInput?: ((event: Event) => any) | undefined;
52
+ readonly onClick?: ((event: MouseEvent) => any) | undefined;
53
+ readonly onBlur?: ((event: FocusEvent) => any) | undefined;
54
+ readonly onFocus?: ((event: FocusEvent) => any) | undefined;
55
+ readonly onKeydown?: ((event: KeyboardEvent) => any) | undefined;
56
+ readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
57
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
58
+ $attrs: import('vue').Attrs;
59
+ $refs: {
60
+ [x: string]: unknown;
61
+ } & {
62
+ input: HTMLInputElement;
63
+ };
64
+ $slots: Readonly<{
65
+ [name: string]: import('vue').Slot<any> | undefined;
66
+ }>;
67
+ $root: import('vue').ComponentPublicInstance | null;
68
+ $parent: import('vue').ComponentPublicInstance | null;
69
+ $host: Element | null;
70
+ $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);
71
+ $el: HTMLDivElement;
72
+ $options: import('vue').ComponentOptionsBase<Readonly<{
73
+ modelValue?: string;
74
+ } & {
75
+ id?: string;
76
+ type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
77
+ min?: number | string;
78
+ max?: number | string;
79
+ step?: number;
80
+ placeholder?: string;
81
+ disabled?: boolean;
82
+ leadingIcon?: import('../../..').KdsIconName;
83
+ trailingIcon?: import('../../..').KdsIconName;
84
+ error?: boolean;
85
+ autocomplete?: string;
86
+ ariaLabel?: string;
87
+ ariaLabelledby?: string;
88
+ ariaDescribedby?: string;
89
+ ariaInvalid?: boolean;
90
+ role?: string;
91
+ ariaValuenow?: number;
92
+ ariaValuemin?: number;
93
+ ariaValuemax?: number;
94
+ ariaValuetext?: string;
95
+ ariaActivedescendant?: string;
96
+ unit?: string;
97
+ inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
98
+ clearable?: boolean;
99
+ pattern?: string;
100
+ }> & Readonly<{
101
+ onInput?: ((event: Event) => any) | undefined;
102
+ onClick?: ((event: MouseEvent) => any) | undefined;
103
+ onBlur?: ((event: FocusEvent) => any) | undefined;
104
+ onFocus?: ((event: FocusEvent) => any) | undefined;
105
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
106
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
107
+ }>, {
108
+ focus: () => void;
109
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
110
+ input: (event: Event) => any;
111
+ click: (event: MouseEvent) => any;
112
+ blur: (event: FocusEvent) => any;
113
+ focus: (event: FocusEvent) => any;
114
+ keydown: (event: KeyboardEvent) => any;
115
+ "update:modelValue": (value: string) => any;
116
+ }, string, {
117
+ type: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
118
+ pattern: string;
119
+ role: string;
120
+ placeholder: string;
121
+ disabled: boolean;
122
+ error: boolean;
123
+ leadingIcon: import('../../..').KdsIconName;
124
+ ariaLabel: string;
125
+ trailingIcon: import('../../..').KdsIconName;
126
+ id: string;
127
+ min: number | string;
128
+ max: number | string;
129
+ step: number;
130
+ autocomplete: string;
131
+ ariaLabelledby: string;
132
+ ariaDescribedby: string;
133
+ ariaInvalid: boolean;
134
+ ariaValuenow: number;
135
+ ariaValuemin: number;
136
+ ariaValuemax: number;
137
+ ariaValuetext: string;
138
+ ariaActivedescendant: string;
139
+ unit: string;
140
+ inputmode: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
141
+ clearable: boolean;
142
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
143
+ beforeCreate?: (() => void) | (() => void)[];
144
+ created?: (() => void) | (() => void)[];
145
+ beforeMount?: (() => void) | (() => void)[];
146
+ mounted?: (() => void) | (() => void)[];
147
+ beforeUpdate?: (() => void) | (() => void)[];
148
+ updated?: (() => void) | (() => void)[];
149
+ activated?: (() => void) | (() => void)[];
150
+ deactivated?: (() => void) | (() => void)[];
151
+ beforeDestroy?: (() => void) | (() => void)[];
152
+ beforeUnmount?: (() => void) | (() => void)[];
153
+ destroyed?: (() => void) | (() => void)[];
154
+ unmounted?: (() => void) | (() => void)[];
155
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
156
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
157
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
158
+ };
159
+ $forceUpdate: () => void;
160
+ $nextTick: typeof import('vue').nextTick;
161
+ $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;
162
+ } & Readonly<{
163
+ type: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
164
+ pattern: string;
165
+ role: string;
166
+ placeholder: string;
167
+ disabled: boolean;
168
+ error: boolean;
169
+ leadingIcon: import('../../..').KdsIconName;
170
+ ariaLabel: string;
171
+ trailingIcon: import('../../..').KdsIconName;
172
+ id: string;
173
+ min: number | string;
174
+ max: number | string;
175
+ step: number;
176
+ autocomplete: string;
177
+ ariaLabelledby: string;
178
+ ariaDescribedby: string;
179
+ ariaInvalid: boolean;
180
+ ariaValuenow: number;
181
+ ariaValuemin: number;
182
+ ariaValuemax: number;
183
+ ariaValuetext: string;
184
+ ariaActivedescendant: string;
185
+ unit: string;
186
+ inputmode: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
187
+ clearable: boolean;
188
+ }> & Omit<Readonly<{
189
+ modelValue?: string;
190
+ } & {
191
+ id?: string;
192
+ type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
193
+ min?: number | string;
194
+ max?: number | string;
195
+ step?: number;
196
+ placeholder?: string;
197
+ disabled?: boolean;
198
+ leadingIcon?: import('../../..').KdsIconName;
199
+ trailingIcon?: import('../../..').KdsIconName;
200
+ error?: boolean;
201
+ autocomplete?: string;
202
+ ariaLabel?: string;
203
+ ariaLabelledby?: string;
204
+ ariaDescribedby?: string;
205
+ ariaInvalid?: boolean;
206
+ role?: string;
207
+ ariaValuenow?: number;
208
+ ariaValuemin?: number;
209
+ ariaValuemax?: number;
210
+ ariaValuetext?: string;
211
+ ariaActivedescendant?: string;
212
+ unit?: string;
213
+ inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
214
+ clearable?: boolean;
215
+ pattern?: string;
216
+ }> & Readonly<{
217
+ onInput?: ((event: Event) => any) | undefined;
218
+ onClick?: ((event: MouseEvent) => any) | undefined;
219
+ onBlur?: ((event: FocusEvent) => any) | undefined;
220
+ onFocus?: ((event: FocusEvent) => any) | undefined;
221
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
222
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
223
+ }>, "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<{
224
+ focus: () => void;
225
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
226
+ $slots: {
227
+ leading?(_: {}): any;
228
+ trailing?(_: {}): any;
229
+ };
230
+ }) | null;
231
+ listContainer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../_helper/List/ListContainer').KdsListContainerProps> & Readonly<{
232
+ onItemClick?: ((id: string) => any) | undefined;
233
+ }>, {
234
+ handleKeydown: (event: KeyboardEvent) => void;
235
+ handleFocus: () => void;
236
+ handleBlur: () => void;
237
+ activeDescendant: Readonly<import('vue').Ref<string | undefined>>;
238
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
239
+ itemClick: (id: string) => any;
240
+ }, import('vue').PublicProps, {
241
+ role: import('../../_helper/List/ListContainer').KdsListContainerRole;
242
+ variant: import('../../_helper/List/KdsListItem').KdsListItemVariant;
243
+ emptyText: string;
244
+ loading: boolean;
245
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
246
+ containerEl: HTMLDivElement;
247
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
248
+ P: {};
249
+ B: {};
250
+ D: {};
251
+ C: {};
252
+ M: {};
253
+ Defaults: {};
254
+ }, Readonly<import('../../_helper/List/ListContainer').KdsListContainerProps> & Readonly<{
255
+ onItemClick?: ((id: string) => any) | undefined;
256
+ }>, {
257
+ handleKeydown: (event: KeyboardEvent) => void;
258
+ handleFocus: () => void;
259
+ handleBlur: () => void;
260
+ activeDescendant: Readonly<import('vue').Ref<string | undefined>>;
261
+ }, {}, {}, {}, {
262
+ role: import('../../_helper/List/ListContainer').KdsListContainerRole;
263
+ variant: import('../../_helper/List/KdsListItem').KdsListItemVariant;
264
+ emptyText: string;
265
+ loading: boolean;
266
+ }> | null;
267
+ }, HTMLDivElement>;
268
+ export default _default;
269
+ //# sourceMappingURL=MultiSelectDropdownContainer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultiSelectDropdownContainer.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/selects/Dropdown/MultiSelectDropdownContainer.vue"],"names":[],"mappings":"AAgPA,OAAO,KAAK,EAEV,oCAAoC,EACrC,MAAM,SAAS,CAAC;AAIjB,KAAK,WAAW,GAAG,oCAAoC,CAAC;AA8JxD,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA0M83K,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAzBpgL,wBAWG"}
@@ -1,3 +1,4 @@
1
1
  export { default as KdsDropdown } from './KdsDropdown.vue';
2
- export type { KdsDropdownOptionAccessory, KdsDropdownOption, KdsDropdownProps, } from './types';
2
+ export { default as KdsMultiSelectDropdown } from './KdsMultiSelectDropdown.vue';
3
+ export type { KdsDropdownOptionAccessory, KdsDropdownOption, KdsDropdownProps, KdsMultiSelectDropdownProps, } from './types';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/forms/selects/Dropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,YAAY,EACV,0BAA0B,EAC1B,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/forms/selects/Dropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACjF,YAAY,EACV,0BAA0B,EAC1B,iBAAiB,EACjB,gBAAgB,EAChB,2BAA2B,GAC5B,MAAM,SAAS,CAAC"}
@@ -25,9 +25,9 @@ export type KdsDropdownProps = {
25
25
  /** Values shown in the dropdown list */
26
26
  possibleValues: KdsDropdownOption[];
27
27
  } & KdsFormFieldProps;
28
- export type DropdownOptionWithMissing = KdsDropdownOption & {
29
- /** Whether the option represents a missing value */
30
- missing?: boolean;
28
+ export type KdsMultiSelectDropdownProps = KdsDropdownProps & {
29
+ /** When true, allows adding and selecting new values via the search field (combo box behavior). */
30
+ allowNewValues?: boolean;
31
31
  };
32
32
  export type DropdownContainerProps = {
33
33
  /** Text shown when the list is empty (no entries or no search results) */
@@ -37,6 +37,10 @@ export type DropdownContainerProps = {
37
37
  /** Values shown in the dropdown list */
38
38
  possibleValues: KdsDropdownOption[];
39
39
  };
40
+ export type KdsMultiSelectDropdownContainerProps = DropdownContainerProps & {
41
+ /** When true, allows adding and selecting new values via the search field (combo box behavior). */
42
+ allowNewValues?: boolean;
43
+ };
40
44
  export type BaseDropdownProps = {
41
45
  /** Text displayed on the dropdown trigger button */
42
46
  text?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/forms/selects/Dropdown/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,MAAM,MAAM,0BAA0B,GAAG,oBAAoB,CAAC;AAE9D,MAAM,MAAM,iBAAiB,GAAG;IAC9B,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,0CAA0C;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gFAAgF;IAChF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0FAA0F;IAC1F,SAAS,CAAC,EAAE,0BAA0B,CAAC;IACvC,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oDAAoD;IACpD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wCAAwC;IACxC,cAAc,EAAE,iBAAiB,EAAE,CAAC;CACrC,GAAG,iBAAiB,CAAC;AAItB,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,GAAG;IAC1D,oDAAoD;IACpD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,0EAA0E;IAC1E,SAAS,EAAE,MAAM,CAAC;IAClB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wCAAwC;IACxC,cAAc,EAAE,iBAAiB,EAAE,CAAC;CACrC,CAAC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