@knime/kds-components 0.16.1 → 0.17.1

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 +4 -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 +1653 -102
  55. package/dist/index.js +11236 -428
  56. package/dist/index.js.map +1 -1
  57. package/package.json +4 -3
@@ -1,7 +1,7 @@
1
- import { DefineComponent, Ref } from 'vue';
2
- declare const _default: ({ name, folder, }: {
1
+ import { DefineComponent, Ref, ShallowRef } from 'vue';
2
+ declare function useIcon({ name, folder, }: {
3
3
  name: Ref<string>;
4
4
  folder: "icons" | "type-icons";
5
- }) => Readonly<import('vue').ShallowRef<DefineComponent | null, DefineComponent | null>>;
6
- export default _default;
5
+ }): Readonly<ShallowRef<DefineComponent | null, DefineComponent | null>>;
6
+ export default useIcon;
7
7
  //# sourceMappingURL=useIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIcon.d.ts","sourceRoot":"","sources":["../../../src/accessories/Icon/useIcon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,GAAG,EAAqB,MAAM,KAAK,CAAC;yBAExD,mBAGb;IACD,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAClB,MAAM,EAAE,OAAO,GAAG,YAAY,CAAC;CAChC,KA0ByB,QAAQ,0EAAsB;AAhCxD,wBAiCE"}
1
+ {"version":3,"file":"useIcon.d.ts","sourceRoot":"","sources":["../../../src/accessories/Icon/useIcon.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,GAAG,EACR,KAAK,UAAU,EAGhB,MAAM,KAAK,CAAC;AAEb,iBAAS,OAAO,CAAC,EACf,IAAI,EACJ,MAAM,GACP,EAAE;IACD,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAClB,MAAM,EAAE,OAAO,GAAG,YAAY,CAAC;CAChC,GAAG,QAAQ,CAAC,UAAU,CAAC,eAAe,GAAG,IAAI,EAAE,eAAe,GAAG,IAAI,CAAC,CAAC,CAiCvE;AAED,eAAe,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"KdsLiveStatus.vue.d.ts","sourceRoot":"","sources":["../../../src/accessories/LiveStatus/KdsLiveStatus.vue"],"names":[],"mappings":"AAuHA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;;;;;;;;;AA2FlD,wBASG"}
1
+ {"version":3,"file":"KdsLiveStatus.vue.d.ts","sourceRoot":"","sources":["../../../src/accessories/LiveStatus/KdsLiveStatus.vue"],"names":[],"mappings":"AAsIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;;;;;;;;;AA2FlD,wBASG"}
@@ -25,7 +25,7 @@ type LabelOrTitle = {
25
25
  label: string;
26
26
  title?: never;
27
27
  } | {
28
- label?: "" | undefined | never;
28
+ label?: never;
29
29
  /**
30
30
  * Used when no visible label is provided (required for accessibility).
31
31
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/forms/Checkbox/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEtE,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,KAAK,SAAS,GAAG;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,KAAK,YAAY,GACb;IACE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAA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EG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,KAAK,YAAY,GACb;IACE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,GACD;IACE,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEN,MAAM,MAAM,iBAAiB,GAAG,SAAS,GACvC,YAAY,GAAG;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEJ,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,YAAY,CAAC;AAExD,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GACnC,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,OAAO,yBAAyB,CAAC,CAAC;AAE7E,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,KAAK,CAAC,MAAM,GAAG,sBAAsB,CAAC,CAAC;IACvD,SAAS,CAAC,EAAE,yBAAyB,CAAC;CACvC,GAAG,SAAS,CAAC"}
@@ -1,4 +1,4 @@
1
- import { KdsIconName } from '../../accessories/Icon/types';
1
+ import { KdsIconName } from '../../accessories';
2
2
  import { kdsRadioButtonGroupAlignment, kdsValueSwitchSize, kdsValueSwitchVariant } from './enums';
3
3
  export type KdsRadioButtonProps = {
4
4
  text: string;
@@ -40,7 +40,7 @@ type KdsValueSwitchItemContent = {
40
40
  text: string;
41
41
  leadingIcon?: KdsIconName;
42
42
  trailingIcon?: KdsIconName;
43
- title?: undefined;
43
+ title?: never;
44
44
  } | {
45
45
  text?: never;
46
46
  leadingIcon: KdsIconName;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAEhE,OAAO,EACL,4BAA4B,EAC5B,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GACtC,CAAC,OAAO,4BAA4B,CAAC,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC;AAEnF,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,CAAC,MAAM,GAAG,yBAAyB,CAAC,EAAE,CAAC;IACvD,SAAS,CAAC,EAAE,4BAA4B,CAAC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO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":3,"file":"KdsListItem.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/KdsListItem/KdsListItem.vue"],"names":[],"mappings":"AAmRA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;AAiNnD,wBAUG"}
1
+ {"version":3,"file":"KdsListItem.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/KdsListItem/KdsListItem.vue"],"names":[],"mappings":"AA+RA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;AAqNnD,wBAUG"}
@@ -0,0 +1,12 @@
1
+ import { KdsListItemButtonProps } from './types.ts';
2
+ declare const _default: import('vue').DefineComponent<KdsListItemButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ click: (event: MouseEvent) => any;
4
+ }, string, import('vue').PublicProps, Readonly<KdsListItemButtonProps> & Readonly<{
5
+ onClick?: ((event: MouseEvent) => any) | undefined;
6
+ }>, {
7
+ disabled: boolean;
8
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
9
+ labelEl: HTMLSpanElement;
10
+ }, HTMLButtonElement>;
11
+ export default _default;
12
+ //# sourceMappingURL=KdsListItemButton.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdsListItemButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/KdsListItemButton/KdsListItemButton.vue"],"names":[],"mappings":"AAmGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;;;;;;;;;;AA8FzD,wBAUG"}
@@ -0,0 +1,3 @@
1
+ export { default as KdsListItemButton } from './KdsListItemButton.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/_helper/List/KdsListItemButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACvE,mBAAmB,SAAS,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { KdsIconName } from '../../../../accessories';
2
+ export type KdsListItemButtonProps = {
3
+ /** Text shown in the button item. */
4
+ label: string;
5
+ /** Leading icon displayed before the label. */
6
+ leadingIcon: KdsIconName;
7
+ /** Disables interaction and dims the content. */
8
+ disabled?: boolean;
9
+ };
10
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/KdsListItemButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,MAAM,MAAM,sBAAsB,GAAG;IACnC,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAC;IAEd,+CAA+C;IAC/C,WAAW,EAAE,WAAW,CAAC;IAEzB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC"}
@@ -10,6 +10,7 @@ declare const _default: import('vue').DefineComponent<KdsListContainerProps, {
10
10
  onItemClick?: ((id: string) => any) | undefined;
11
11
  }>, {
12
12
  role: import('./types').KdsListContainerRole;
13
+ variant: import('../KdsListItem').KdsListItemVariant;
13
14
  emptyText: string;
14
15
  loading: boolean;
15
16
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -1 +1 @@
1
- {"version":3,"file":"KdsListContainer.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/ListContainer/KdsListContainer.vue"],"names":[],"mappings":"AA4TA,OAAO,KAAK,EAEV,qBAAqB,EAEtB,MAAM,SAAS,CAAC;;;;;;;;;;;;;;;;;AA4YjB,wBAWG"}
1
+ {"version":3,"file":"KdsListContainer.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/ListContainer/KdsListContainer.vue"],"names":[],"mappings":"AA4VA,OAAO,KAAK,EAEV,qBAAqB,EAEtB,MAAM,SAAS,CAAC;;;;;;;;;;;;;;;;;;AA2ajB,wBAWG"}
@@ -1,5 +1,6 @@
1
1
  import { Ref } from 'vue';
2
2
  import { KdsIconName } from '../../../../accessories';
3
+ import { KdsListItemVariant } from '../KdsListItem';
3
4
  import { KdsListItemAccessory } from '../ListItemAccessory/types';
4
5
  import { kdsListContainerRole } from './enums';
5
6
  export type KdsListContainerRole = (typeof kdsListContainerRole)[keyof typeof kdsListContainerRole];
@@ -36,6 +37,8 @@ export type KdsListContainerProps = {
36
37
  * section titles. Items with `separator: true` show a divider below them.
37
38
  */
38
39
  possibleValues: KdsListOption[];
40
+ /** Visual size variant of the list items. Defaults to "small". */
41
+ variant?: KdsListItemVariant;
39
42
  /** Text shown when no entries are provided */
40
43
  emptyText?: string;
41
44
  /** Whether the list is in loading state */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/ListContainer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAEvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE/C,MAAM,MAAM,oBAAoB,GAC9B,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC;AAEnE,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gFAAgF;IAChF,OAAO,CAAC,EAAE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CAC7B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,kEAAkE;IAClE,aAAa,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC9C,kEAAkE;IAClE,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,8DAA8D;IAC9D,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,kHAAkH;IAClH,gBAAgB,EAAE,QAAQ,CAAC,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC;CACrD,CAAC"}
@@ -9,13 +9,13 @@ type BaseInputProps = {
9
9
  */
10
10
  type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
11
11
  /**
12
- * Minimum allowed value (relevant for type="number")
12
+ * Minimum allowed value (relevant for type="number" and type="date")
13
13
  */
14
- min?: number;
14
+ min?: number | string;
15
15
  /**
16
- * Maximum allowed value (relevant for type="number")
16
+ * Maximum allowed value (relevant for type="number" and type="date")
17
17
  */
18
- max?: number;
18
+ max?: number | string;
19
19
  /**
20
20
  * Step size (relevant for type="number")
21
21
  */
@@ -99,6 +99,11 @@ type BaseInputProps = {
99
99
  * Whether to show a clear button when the input has a value.
100
100
  */
101
101
  clearable?: boolean;
102
+ /**
103
+ * Pattern attribute for the input element, used for client-side validation
104
+ * of text inputs. Should be a valid regular expression.
105
+ */
106
+ pattern?: string;
102
107
  };
103
108
  type __VLS_Props = BaseInputProps;
104
109
  type __VLS_PublicProps = {
@@ -137,6 +142,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
137
142
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
138
143
  }>, {
139
144
  type: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
145
+ pattern: string;
140
146
  role: string;
141
147
  placeholder: string;
142
148
  disabled: boolean;
@@ -145,8 +151,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
145
151
  ariaLabel: string;
146
152
  trailingIcon: KdsIconName;
147
153
  id: string;
148
- min: number;
149
- max: number;
154
+ min: number | string;
155
+ max: number | string;
150
156
  step: number;
151
157
  autocomplete: string;
152
158
  ariaLabelledby: string;
@@ -1 +1 @@
1
- {"version":3,"file":"BaseInput.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/inputs/BaseInput.vue"],"names":[],"mappings":"AAgbA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGhE,KAAK,cAAc,GAAG;IACpB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,CAAC;IAC3E;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAE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MAAM;eAMT,MAAM,GACN,MAAM,GACN,KAAK,GACL,KAAK,GACL,OAAO,GACP,SAAS,GACT,SAAS,GACT,QAAQ;eAIA,OAAO;;;kBA0VnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -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"}