@knime/kds-components 0.16.1 → 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 (57) 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/forms/Checkbox/types.d.ts +1 -1
  5. package/dist/forms/Checkbox/types.d.ts.map +1 -1
  6. package/dist/forms/RadioButton/types.d.ts +2 -2
  7. package/dist/forms/RadioButton/types.d.ts.map +1 -1
  8. package/dist/forms/_helper/List/KdsListItem/KdsListItem.vue.d.ts.map +1 -1
  9. package/dist/forms/_helper/List/KdsListItemButton/KdsListItemButton.vue.d.ts +12 -0
  10. package/dist/forms/_helper/List/KdsListItemButton/KdsListItemButton.vue.d.ts.map +1 -0
  11. package/dist/forms/_helper/List/KdsListItemButton/index.d.ts +3 -0
  12. package/dist/forms/_helper/List/KdsListItemButton/index.d.ts.map +1 -0
  13. package/dist/forms/_helper/List/KdsListItemButton/types.d.ts +10 -0
  14. package/dist/forms/_helper/List/KdsListItemButton/types.d.ts.map +1 -0
  15. package/dist/forms/_helper/List/ListContainer/KdsListContainer.vue.d.ts +1 -0
  16. package/dist/forms/_helper/List/ListContainer/KdsListContainer.vue.d.ts.map +1 -1
  17. package/dist/forms/_helper/List/ListContainer/types.d.ts +3 -0
  18. package/dist/forms/_helper/List/ListContainer/types.d.ts.map +1 -1
  19. package/dist/forms/inputs/BaseInput.vue.d.ts +12 -6
  20. package/dist/forms/inputs/BaseInput.vue.d.ts.map +1 -1
  21. package/dist/forms/inputs/DateInput/KdsDateInput.vue.d.ts +379 -0
  22. package/dist/forms/inputs/DateInput/KdsDateInput.vue.d.ts.map +1 -0
  23. package/dist/forms/inputs/DateInput/dateUtils.d.ts +4 -0
  24. package/dist/forms/inputs/DateInput/dateUtils.d.ts.map +1 -0
  25. package/dist/forms/inputs/DateInput/index.d.ts +3 -0
  26. package/dist/forms/inputs/DateInput/index.d.ts.map +1 -0
  27. package/dist/forms/inputs/DateInput/types.d.ts +13 -0
  28. package/dist/forms/inputs/DateInput/types.d.ts.map +1 -0
  29. package/dist/forms/inputs/DateTimeFormatInput/DateTimeFormatPopover.vue.d.ts +16 -0
  30. package/dist/forms/inputs/DateTimeFormatInput/DateTimeFormatPopover.vue.d.ts.map +1 -0
  31. package/dist/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts +3 -0
  32. package/dist/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts.map +1 -0
  33. package/dist/forms/inputs/DateTimeFormatInput/enums.d.ts +15 -0
  34. package/dist/forms/inputs/DateTimeFormatInput/enums.d.ts.map +1 -0
  35. package/dist/forms/inputs/DateTimeFormatInput/index.d.ts +4 -0
  36. package/dist/forms/inputs/DateTimeFormatInput/index.d.ts.map +1 -0
  37. package/dist/forms/inputs/DateTimeFormatInput/types.d.ts +22 -0
  38. package/dist/forms/inputs/DateTimeFormatInput/types.d.ts.map +1 -0
  39. package/dist/forms/inputs/NumberInput/numberParser.d.ts.map +1 -1
  40. package/dist/forms/inputs/Textarea/KdsTextarea.vue.d.ts.map +1 -1
  41. package/dist/forms/inputs/index.d.ts +2 -0
  42. package/dist/forms/inputs/index.d.ts.map +1 -1
  43. package/dist/forms/selects/Dropdown/BaseDropdown.vue.d.ts.map +1 -1
  44. package/dist/forms/selects/Dropdown/DropdownContainer.vue.d.ts +21 -14
  45. package/dist/forms/selects/Dropdown/DropdownContainer.vue.d.ts.map +1 -1
  46. package/dist/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts +3 -0
  47. package/dist/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts.map +1 -0
  48. package/dist/forms/selects/Dropdown/MultiSelectDropdownContainer.vue.d.ts +269 -0
  49. package/dist/forms/selects/Dropdown/MultiSelectDropdownContainer.vue.d.ts.map +1 -0
  50. package/dist/forms/selects/Dropdown/index.d.ts +2 -1
  51. package/dist/forms/selects/Dropdown/index.d.ts.map +1 -1
  52. package/dist/forms/selects/Dropdown/types.d.ts +7 -3
  53. package/dist/forms/selects/Dropdown/types.d.ts.map +1 -1
  54. package/dist/index.css +222 -102
  55. package/dist/index.js +905 -276
  56. package/dist/index.js.map +1 -1
  57. package/package.json +4 -3
@@ -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"}
@@ -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"}
@@ -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;
@@ -65,8 +66,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
65
66
  } & {
66
67
  id?: string;
67
68
  type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
68
- min?: number;
69
- max?: number;
69
+ min?: number | string;
70
+ max?: number | string;
70
71
  step?: number;
71
72
  placeholder?: string;
72
73
  disabled?: boolean;
@@ -87,6 +88,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
87
88
  unit?: string;
88
89
  inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
89
90
  clearable?: boolean;
91
+ pattern?: string;
90
92
  }> & Readonly<{
91
93
  onInput?: ((event: Event) => any) | undefined;
92
94
  onClick?: ((event: MouseEvent) => any) | undefined;
@@ -105,6 +107,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
105
107
  "update:modelValue": (value: string) => any;
106
108
  }, string, {
107
109
  type: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
110
+ pattern: string;
108
111
  role: string;
109
112
  placeholder: string;
110
113
  disabled: boolean;
@@ -113,8 +116,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
113
116
  ariaLabel: string;
114
117
  trailingIcon: import('../../..').KdsIconName;
115
118
  id: string;
116
- min: number;
117
- max: number;
119
+ min: number | string;
120
+ max: number | string;
118
121
  step: number;
119
122
  autocomplete: string;
120
123
  ariaLabelledby: string;
@@ -150,6 +153,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
150
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;
151
154
  } & Readonly<{
152
155
  type: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
156
+ pattern: string;
153
157
  role: string;
154
158
  placeholder: string;
155
159
  disabled: boolean;
@@ -158,8 +162,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
158
162
  ariaLabel: string;
159
163
  trailingIcon: import('../../..').KdsIconName;
160
164
  id: string;
161
- min: number;
162
- max: number;
165
+ min: number | string;
166
+ max: number | string;
163
167
  step: number;
164
168
  autocomplete: string;
165
169
  ariaLabelledby: string;
@@ -178,8 +182,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
178
182
  } & {
179
183
  id?: string;
180
184
  type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
181
- min?: number;
182
- max?: number;
185
+ min?: number | string;
186
+ max?: number | string;
183
187
  step?: number;
184
188
  placeholder?: string;
185
189
  disabled?: boolean;
@@ -200,6 +204,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
200
204
  unit?: string;
201
205
  inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
202
206
  clearable?: boolean;
207
+ pattern?: string;
203
208
  }> & Readonly<{
204
209
  onInput?: ((event: Event) => any) | undefined;
205
210
  onClick?: ((event: MouseEvent) => any) | undefined;
@@ -207,7 +212,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
207
212
  onFocus?: ((event: FocusEvent) => any) | undefined;
208
213
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
209
214
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
210
- }>, "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<{
211
216
  focus: () => void;
212
217
  }> & {} & import('vue').ComponentCustomProperties & {} & {
213
218
  $slots: {
@@ -226,6 +231,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
226
231
  itemClick: (id: string) => any;
227
232
  }, import('vue').PublicProps, {
228
233
  role: import('../../_helper/List/ListContainer').KdsListContainerRole;
234
+ variant: import('../../_helper/List/KdsListItem').KdsListItemVariant;
229
235
  emptyText: string;
230
236
  loading: boolean;
231
237
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
@@ -246,6 +252,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
246
252
  activeDescendant: Readonly<import('vue').Ref<string | undefined>>;
247
253
  }, {}, {}, {}, {
248
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAgKw2b,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlB9+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;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,oDAAoD;IACpD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,WAAW,EAAE,MAAM,CAAC;IACpB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gDAAgD;IAChD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iEAAiE;IACjE,SAAS,CAAC,EAAE,oBAAoB,CAAC;IAEjC,gEAAgE;IAChE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,gDAAgD;IAChD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iDAAiD;IACjD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
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;AAEtB,MAAM,MAAM,2BAA2B,GAAG,gBAAgB,GAAG;IAC3D,mGAAmG;IACnG,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAIF,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;AAEF,MAAM,MAAM,oCAAoC,GAAG,sBAAsB,GAAG;IAC1E,mGAAmG;IACnG,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,oDAAoD;IACpD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,WAAW,EAAE,MAAM,CAAC;IACpB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gDAAgD;IAChD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iEAAiE;IACjE,SAAS,CAAC,EAAE,oBAAoB,CAAC;IAEjC,gEAAgE;IAChE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,gDAAgD;IAChD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iDAAiD;IACjD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}