@dpa-id-components/dpa-shared-components 11.0.0-alpha.0 → 12.0.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 (96) hide show
  1. package/README.md +29 -0
  2. package/dist/components/DpaMediaItem/DpaMediaItem.stories.d.ts +25 -80
  3. package/dist/components/DpaMediaItem/DpaMediaItem.vue.d.ts +18 -49
  4. package/dist/components/UiAutocomplete/UiAutocomplete.stories.d.ts +194 -54
  5. package/dist/components/UiAutocomplete/UiAutocomplete.vue.d.ts +182 -42
  6. package/dist/components/UiBadge/UiBadge.stories.d.ts +31 -95
  7. package/dist/components/UiBadge/UiBadge.vue.d.ts +15 -50
  8. package/dist/components/UiButton/UiButton.stories.d.ts +32 -96
  9. package/dist/components/UiButton/UiButton.vue.d.ts +16 -51
  10. package/dist/components/UiButtonGroup/UiButtonGroup.stories.d.ts +1 -2
  11. package/dist/components/UiButtonGroup/UiButtonGroup.vue.d.ts +9 -3
  12. package/dist/components/UiCard/UiCard.stories.d.ts +1 -2
  13. package/dist/components/UiCard/UiCard.vue.d.ts +9 -3
  14. package/dist/components/UiCheckBox/UiCheckBox.stories.d.ts +25 -80
  15. package/dist/components/UiCheckBox/UiCheckBox.vue.d.ts +15 -46
  16. package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.stories.d.ts +12 -43
  17. package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.vue.d.ts +7 -35
  18. package/dist/components/UiChip/UiChip.stories.d.ts +16 -44
  19. package/dist/components/UiChip/UiChip.vue.d.ts +14 -36
  20. package/dist/components/UiCollapseNavigation/UiCollapseNavigation.stories.d.ts +22 -44
  21. package/dist/components/UiCollapseNavigation/UiCollapseNavigation.vue.d.ts +16 -36
  22. package/dist/components/UiColorPicker/UiColorPicker.stories.d.ts +8 -17
  23. package/dist/components/UiColorPicker/UiColorPicker.vue.d.ts +6 -28
  24. package/dist/components/UiDatePicker/UiDatePicker.stories.d.ts +2374 -825
  25. package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +2153 -133
  26. package/dist/components/UiDialog/UiDialog.stories.d.ts +80 -279
  27. package/dist/components/UiDialog/UiDialog.vue.d.ts +17 -63
  28. package/dist/components/UiFilterBadge/UiFilterBadge.stories.d.ts +56 -165
  29. package/dist/components/UiFilterBadge/UiFilterBadge.vue.d.ts +14 -39
  30. package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.d.ts +62 -195
  31. package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.vue.d.ts +16 -42
  32. package/dist/components/UiFilterButton/UiFilterButton.stories.d.ts +50 -171
  33. package/dist/components/UiFilterButton/UiFilterButton.vue.d.ts +5 -55
  34. package/dist/components/UiIcon/IconOverview.vue.d.ts +5 -0
  35. package/dist/components/UiIcon/UiIcon.stories.d.ts +16 -40
  36. package/dist/components/UiIcon/UiIcon.vue.d.ts +4 -31
  37. package/dist/components/UiIconButton/UiIconButton.stories.d.ts +37 -109
  38. package/dist/components/UiIconButton/UiIconButton.vue.d.ts +6 -42
  39. package/dist/components/UiInfoContent/UiInfoContent.stories.d.ts +70 -230
  40. package/dist/components/UiInfoContent/UiInfoContent.vue.d.ts +16 -42
  41. package/dist/components/UiInput/UiInput.stories.d.ts +154 -511
  42. package/dist/components/UiInput/UiInput.vue.d.ts +23 -90
  43. package/dist/components/UiList/UiList.stories.d.ts +147 -493
  44. package/dist/components/UiList/UiList.vue.d.ts +9 -3
  45. package/dist/components/UiListItem/UiListItem.stories.d.ts +96 -327
  46. package/dist/components/UiListItem/UiListItem.vue.d.ts +19 -68
  47. package/dist/components/UiMenu/UiMenu.stories.d.ts +36 -41
  48. package/dist/components/UiMenu/UiMenu.vue.d.ts +8 -11
  49. package/dist/components/UiMenu/UiMenuItem.vue.d.ts +9 -12
  50. package/dist/components/UiMenu/UiMenuList.vue.d.ts +13 -29
  51. package/dist/components/UiMenu/UiMenuTypes.d.ts +1 -1
  52. package/dist/components/UiOverlay/UiOverlay.stories.d.ts +2 -3
  53. package/dist/components/UiOverlay/UiOverlay.vue.d.ts +9 -3
  54. package/dist/components/UiOverlayMenu/UiOverlayMenu.stories.d.ts +118 -373
  55. package/dist/components/UiOverlayMenu/UiOverlayMenu.vue.d.ts +14 -30
  56. package/dist/components/UiRadioInputGroup/UiRadioInputGroup.stories.d.ts +46 -119
  57. package/dist/components/UiRadioInputGroup/UiRadioInputGroup.vue.d.ts +5 -42
  58. package/dist/components/UiSearchBar/UiSearchBar.stories.d.ts +152 -461
  59. package/dist/components/UiSearchBar/UiSearchBar.vue.d.ts +27 -60
  60. package/dist/components/UiSearchInput/UiSearchInput.stories.d.ts +61 -128
  61. package/dist/components/UiSearchInput/UiSearchInput.vue.d.ts +22 -41
  62. package/dist/components/UiSection/UiSection.stories.d.ts +19 -56
  63. package/dist/components/UiSection/UiSection.vue.d.ts +14 -39
  64. package/dist/components/UiSectionDivider/UiSectionDivider.stories.d.ts +27 -76
  65. package/dist/components/UiSectionDivider/UiSectionDivider.vue.d.ts +4 -29
  66. package/dist/components/UiSimpleInput/UiSimpleInput.stories.d.ts +30 -75
  67. package/dist/components/UiSimpleInput/UiSimpleInput.vue.d.ts +7 -36
  68. package/dist/components/UiSkeletonBox/UiSkeletonBox.stories.d.ts +20 -57
  69. package/dist/components/UiSkeletonBox/UiSkeletonBox.vue.d.ts +4 -32
  70. package/dist/components/UiSnackbar/UiSnackbar.stories.d.ts +48 -135
  71. package/dist/components/UiSnackbar/UiSnackbar.vue.d.ts +20 -45
  72. package/dist/components/UiSpinner/UiSpinner.stories.d.ts +16 -41
  73. package/dist/components/UiSpinner/UiSpinner.vue.d.ts +4 -29
  74. package/dist/components/UiTextButton/UiTextButton.stories.d.ts +31 -104
  75. package/dist/components/UiTextButton/UiTextButton.vue.d.ts +14 -52
  76. package/dist/components/UiToggleButton/UiToggleButton.stories.d.ts +31 -104
  77. package/dist/components/UiToggleButton/UiToggleButton.vue.d.ts +15 -52
  78. package/dist/components/UiTooltip/UiTooltip.stories.d.ts +94 -303
  79. package/dist/components/UiTooltip/UiTooltip.vue.d.ts +20 -75
  80. package/dist/components/index.d.ts +0 -1
  81. package/dist/compositions/index.d.ts +0 -1
  82. package/dist/compositions/useBreakpoints/UseBreakpoints.stories.d.ts +0 -1
  83. package/dist/compositions/useBreakpoints/UseBreakpoints.vue.d.ts +2 -0
  84. package/dist/compositions/useBreakpoints/useBreakpoints.d.ts +1 -1
  85. package/dist/directives/clickAway/clickAway.d.ts +0 -1
  86. package/dist/directives/index.d.ts +0 -1
  87. package/dist/dpa-shared-components.d.ts +1 -0
  88. package/dist/dpa-shared-components.mjs +12448 -13034
  89. package/dist/dpa-shared-components.umd.js +7 -7
  90. package/dist/index.d.ts +0 -1
  91. package/dist/stories/Typography/Typography.stories.d.ts +0 -1
  92. package/dist/stories/Typography/TypographyOverview.vue.d.ts +5 -0
  93. package/dist/style.css +1 -1
  94. package/dist/tailwind.config.cjs +3 -3
  95. package/dist/utils/index.d.ts +0 -1
  96. package/package.json +9 -8
package/README.md CHANGED
@@ -56,6 +56,35 @@ The tailwind config is located at `./src/tailwind/tailwind.config.ts`.
56
56
  Please be aware that used plugins must be listed in the dependencies or the projects using the components have to
57
57
  install it.
58
58
 
59
+ ### ESLint
60
+
61
+ As of version `11.x.x`, this project is setup to use ESLint 9+ which no longer supports the `.eslintrc` configuration format. The [ESLint flat configuration file](https://eslint.org/docs/latest/use/configure/configuration-files) for this project is located at `./eslint.config.mjs`. The base ESLint configuration `./eslint.base.config.mjs` is exported in the published npm package as a [shareable config file](https://eslint.org/docs/latest/extend/shareable-configs) and can be used as the base configuration for host projects. Plugins and third party configs used in `./eslint.base.config.mjs` should be added to `dependencies` in `package.json`.
62
+
63
+ Please note the following when configuring the `eslint.config.mjs` file in a host project:
64
+ - Project specific third-party plugins and config (updated accordingly for flat config support) should be added as `devDependencies`
65
+ - Files to be included or ignored by ESLint should be configured here
66
+ - Adjust the `lint` script in `package.json` to `"lint": "eslint . --fix"`
67
+
68
+ To use the shared ESLint config in a host project's `eslint.config.mjs`:
69
+
70
+ ```JavaScript
71
+ import sharedConfig from "@dpa-id-components/dpa-shared-components/eslint.config";
72
+ // Other project specific plugins
73
+ import pluginCypress from "eslint-plugin-cypress/flat";
74
+
75
+ export default [
76
+ // Files to include or ignore under linting
77
+ {
78
+ files: ["**/*.js", "**/*.mjs", "**/*.ts", "**/*.mts", "**/*.vue"],
79
+ },
80
+ {
81
+ ignores: ["_infrastructure/*", "**/dist/**", "**/coverage/**"],
82
+ },
83
+ ...sharedConfig,
84
+ pluginCypress.configs.recommended,
85
+ ];
86
+ ```
87
+
59
88
  ## Add a component
60
89
 
61
90
  To add a new component please add at least the following files:
@@ -1,73 +1,36 @@
1
1
  import { StoryObj } from '@storybook/vue3';
2
-
3
2
  declare const meta: {
4
3
  title: string;
5
4
  component: {
6
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
7
- genre: {
8
- type: import('vue').PropType<"audio" | "graphic" | "picture" | "text" | "video">;
9
- default: string;
10
- };
11
- isFulfilled: {
12
- type: import('vue').PropType<boolean>;
13
- default: boolean;
14
- };
15
- imgSrc: {
16
- type: import('vue').PropType<string>;
17
- default: string;
18
- };
19
- imgAlt: {
20
- type: import('vue').PropType<string>;
21
- default: string;
22
- };
23
- imgCount: {
24
- type: import('vue').PropType<number>;
25
- default: number;
26
- };
27
- disabled: {
28
- type: import('vue').PropType<boolean>;
29
- default: boolean;
30
- };
31
- }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
5
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
6
+ genre?: "audio" | "video" | "text" | "picture" | "graphic";
7
+ isFulfilled?: boolean;
8
+ imgSrc?: string;
9
+ imgAlt?: string;
10
+ imgCount?: number;
11
+ disabled?: boolean;
12
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
32
13
  genre: "audio" | "video" | "text" | "picture" | "graphic";
33
14
  isFulfilled: boolean;
34
15
  imgSrc: string;
35
16
  imgAlt: string;
36
17
  imgCount: number;
37
18
  disabled: boolean;
38
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
19
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
39
20
  P: {};
40
21
  B: {};
41
22
  D: {};
42
23
  C: {};
43
24
  M: {};
44
25
  Defaults: {};
45
- }, Readonly<import('vue').ExtractPropTypes<{
46
- genre: {
47
- type: import('vue').PropType<"audio" | "graphic" | "picture" | "text" | "video">;
48
- default: string;
49
- };
50
- isFulfilled: {
51
- type: import('vue').PropType<boolean>;
52
- default: boolean;
53
- };
54
- imgSrc: {
55
- type: import('vue').PropType<string>;
56
- default: string;
57
- };
58
- imgAlt: {
59
- type: import('vue').PropType<string>;
60
- default: string;
61
- };
62
- imgCount: {
63
- type: import('vue').PropType<number>;
64
- default: number;
65
- };
66
- disabled: {
67
- type: import('vue').PropType<boolean>;
68
- default: boolean;
69
- };
70
- }>> & Readonly<{}>, {}, {}, {}, {}, {
26
+ }, Readonly<{
27
+ genre?: "audio" | "video" | "text" | "picture" | "graphic";
28
+ isFulfilled?: boolean;
29
+ imgSrc?: string;
30
+ imgAlt?: string;
31
+ imgCount?: number;
32
+ disabled?: boolean;
33
+ }> & Readonly<{}>, {}, {}, {}, {}, {
71
34
  genre: "audio" | "video" | "text" | "picture" | "graphic";
72
35
  isFulfilled: boolean;
73
36
  imgSrc: string;
@@ -78,32 +41,14 @@ declare const meta: {
78
41
  __isFragment?: never;
79
42
  __isTeleport?: never;
80
43
  __isSuspense?: never;
81
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
82
- genre: {
83
- type: import('vue').PropType<"audio" | "graphic" | "picture" | "text" | "video">;
84
- default: string;
85
- };
86
- isFulfilled: {
87
- type: import('vue').PropType<boolean>;
88
- default: boolean;
89
- };
90
- imgSrc: {
91
- type: import('vue').PropType<string>;
92
- default: string;
93
- };
94
- imgAlt: {
95
- type: import('vue').PropType<string>;
96
- default: string;
97
- };
98
- imgCount: {
99
- type: import('vue').PropType<number>;
100
- default: number;
101
- };
102
- disabled: {
103
- type: import('vue').PropType<boolean>;
104
- default: boolean;
105
- };
106
- }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
44
+ } & import('vue').ComponentOptionsBase<Readonly<{
45
+ genre?: "audio" | "video" | "text" | "picture" | "graphic";
46
+ isFulfilled?: boolean;
47
+ imgSrc?: string;
48
+ imgAlt?: string;
49
+ imgCount?: number;
50
+ disabled?: boolean;
51
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
107
52
  genre: "audio" | "video" | "text" | "picture" | "graphic";
108
53
  isFulfilled: boolean;
109
54
  imgSrc: string;
@@ -1,65 +1,34 @@
1
- declare function __VLS_template(): {
2
- description?(_: {}): any;
3
- planning?(_: {}): any;
4
- default?(_: {}): any;
5
- textLength?(_: {}): any;
6
- timePublished?(_: {}): any;
7
- };
8
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
- genre?: "audio" | "video" | "text" | "picture" | "graphic";
10
- isFulfilled?: boolean;
11
- imgSrc?: string;
12
- imgAlt?: string;
13
- imgCount?: number;
14
- disabled?: boolean;
15
- }>, {
16
- genre: string;
17
- isFulfilled: boolean;
18
- imgSrc: string;
19
- imgAlt: string;
20
- imgCount: number;
21
- disabled: boolean;
22
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ type __VLS_Props = {
23
2
  genre?: "audio" | "video" | "text" | "picture" | "graphic";
24
3
  isFulfilled?: boolean;
25
4
  imgSrc?: string;
26
5
  imgAlt?: string;
27
6
  imgCount?: number;
28
7
  disabled?: boolean;
29
- }>, {
30
- genre: string;
31
- isFulfilled: boolean;
32
- imgSrc: string;
33
- imgAlt: string;
34
- imgCount: number;
35
- disabled: boolean;
36
- }>>> & Readonly<{}>, {
8
+ };
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ description?(_: {}): any;
13
+ planning?(_: {}): any;
14
+ default?(_: {}): any;
15
+ textLength?(_: {}): any;
16
+ timePublished?(_: {}): any;
17
+ };
18
+ refs: {};
19
+ rootEl: HTMLDivElement;
20
+ };
21
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
37
23
  genre: "audio" | "video" | "text" | "picture" | "graphic";
38
24
  isFulfilled: boolean;
39
25
  imgSrc: string;
40
26
  imgAlt: string;
41
27
  imgCount: number;
42
28
  disabled: boolean;
43
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
44
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
45
31
  export default _default;
46
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
47
- type __VLS_TypePropsToRuntimeProps<T> = {
48
- [K in keyof T]-?: {} extends Pick<T, K> ? {
49
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
50
- } : {
51
- type: import('vue').PropType<T[K]>;
52
- required: true;
53
- };
54
- };
55
- type __VLS_WithDefaults<P, D> = {
56
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
57
- default: D[K];
58
- }> : P[K];
59
- };
60
- type __VLS_Prettify<T> = {
61
- [K in keyof T]: T[K];
62
- } & {};
63
32
  type __VLS_WithTemplateSlots<T, S> = T & {
64
33
  new (): {
65
34
  $slots: S;
@@ -1,61 +1,24 @@
1
1
  import { StoryObj } from '@storybook/vue3';
2
-
3
2
  declare const meta: {
4
3
  title: string;
5
- component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
- label: {
7
- type: import('vue').PropType<string>;
8
- default: string;
9
- };
10
- readonly: {
11
- type: import('vue').PropType<boolean>;
12
- default: boolean;
13
- };
14
- placeholder: {
15
- type: import('vue').PropType<string>;
16
- default: string;
17
- };
18
- chevron: {
19
- type: import('vue').PropType<boolean>;
20
- default: boolean;
21
- };
22
- value: {
23
- type: import('vue').PropType<string>;
24
- default: string;
25
- };
26
- options: {
27
- type: import('vue').PropType<string[]>;
28
- default: () => never[];
29
- };
30
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
4
+ component: import('vue').DefineComponent<{
5
+ label?: string;
6
+ placeholder?: string;
7
+ value?: string;
8
+ options?: string[];
9
+ readonly?: boolean;
10
+ chevron?: boolean;
11
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
12
  input: (...args: any[]) => void;
32
13
  select: (...args: any[]) => void;
33
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
34
- label: {
35
- type: import('vue').PropType<string>;
36
- default: string;
37
- };
38
- readonly: {
39
- type: import('vue').PropType<boolean>;
40
- default: boolean;
41
- };
42
- placeholder: {
43
- type: import('vue').PropType<string>;
44
- default: string;
45
- };
46
- chevron: {
47
- type: import('vue').PropType<boolean>;
48
- default: boolean;
49
- };
50
- value: {
51
- type: import('vue').PropType<string>;
52
- default: string;
53
- };
54
- options: {
55
- type: import('vue').PropType<string[]>;
56
- default: () => never[];
57
- };
58
- }>> & Readonly<{
14
+ }, string, import('vue').PublicProps, Readonly<{
15
+ label?: string;
16
+ placeholder?: string;
17
+ value?: string;
18
+ options?: string[];
19
+ readonly?: boolean;
20
+ chevron?: boolean;
21
+ }> & Readonly<{
59
22
  onInput?: ((...args: any[]) => any) | undefined;
60
23
  onSelect?: ((...args: any[]) => any) | undefined;
61
24
  }>, {
@@ -65,7 +28,184 @@ declare const meta: {
65
28
  chevron: boolean;
66
29
  value: string;
67
30
  options: string[];
68
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
32
+ inputRef: ({
33
+ $: import('vue').ComponentInternalInstance;
34
+ $data: {};
35
+ $props: {
36
+ readonly id?: string | undefined;
37
+ readonly modelValue: string;
38
+ readonly type?: "text" | "number" | "time" | "date" | "password" | "datetime-local" | undefined;
39
+ readonly label?: string | undefined;
40
+ readonly placeholder?: string | undefined;
41
+ readonly autofocus?: boolean | undefined;
42
+ readonly chevron?: boolean | undefined;
43
+ readonly readonly?: boolean | undefined;
44
+ readonly disabled?: boolean | undefined;
45
+ readonly isDateTimePicker?: boolean | undefined;
46
+ readonly autocomplete?: string | undefined;
47
+ readonly isInvalid?: boolean | undefined;
48
+ readonly errorMessage?: string | undefined;
49
+ readonly showWarning?: boolean | undefined;
50
+ readonly warningMessage?: string | undefined;
51
+ readonly isTextarea?: boolean | undefined;
52
+ readonly hasInfo?: boolean | undefined;
53
+ readonly infoText?: string | undefined;
54
+ readonly inputStatus?: "default" | "info" | "readonly" | "warning" | "error" | undefined;
55
+ readonly isUiAutocomplete?: boolean | undefined;
56
+ readonly onFocus?: ((...args: any[]) => any) | undefined;
57
+ readonly onBlur?: ((...args: any[]) => any) | undefined;
58
+ readonly onInput?: ((...args: any[]) => any) | undefined;
59
+ readonly onKeyup?: ((...args: any[]) => any) | undefined;
60
+ readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
61
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
62
+ $attrs: {
63
+ [x: string]: unknown;
64
+ };
65
+ $refs: {
66
+ [x: string]: unknown;
67
+ } & {
68
+ inputRef: unknown;
69
+ };
70
+ $slots: Readonly<{
71
+ [name: string]: import('vue').Slot<any> | undefined;
72
+ }>;
73
+ $root: import('vue').ComponentPublicInstance | null;
74
+ $parent: import('vue').ComponentPublicInstance | null;
75
+ $host: Element | null;
76
+ $emit: ((event: "focus", ...args: any[]) => void) & ((event: "blur", ...args: any[]) => void) & ((event: "input", ...args: any[]) => void) & ((event: "keyup", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void);
77
+ $el: any;
78
+ $options: import('vue').ComponentOptionsBase<Readonly<{
79
+ id?: string;
80
+ modelValue: string;
81
+ type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
82
+ label?: string;
83
+ placeholder?: string;
84
+ autofocus?: boolean;
85
+ chevron?: boolean;
86
+ readonly?: boolean;
87
+ disabled?: boolean;
88
+ isDateTimePicker?: boolean;
89
+ autocomplete?: string;
90
+ isInvalid?: boolean;
91
+ errorMessage?: string;
92
+ showWarning?: boolean;
93
+ warningMessage?: string;
94
+ isTextarea?: boolean;
95
+ hasInfo?: boolean;
96
+ infoText?: string;
97
+ inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
98
+ isUiAutocomplete?: boolean;
99
+ }> & Readonly<{
100
+ onFocus?: ((...args: any[]) => any) | undefined;
101
+ onBlur?: ((...args: any[]) => any) | undefined;
102
+ onInput?: ((...args: any[]) => any) | undefined;
103
+ onKeyup?: ((...args: any[]) => any) | undefined;
104
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
105
+ }>, {
106
+ inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
107
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
108
+ focus: (...args: any[]) => void;
109
+ blur: (...args: any[]) => void;
110
+ input: (...args: any[]) => void;
111
+ keyup: (...args: any[]) => void;
112
+ "update:modelValue": (...args: any[]) => void;
113
+ }, string, {
114
+ type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
115
+ disabled: boolean;
116
+ label: string;
117
+ readonly: boolean;
118
+ id: string;
119
+ placeholder: string;
120
+ autofocus: boolean;
121
+ chevron: boolean;
122
+ isDateTimePicker: boolean;
123
+ autocomplete: string;
124
+ isInvalid: boolean;
125
+ errorMessage: string;
126
+ showWarning: boolean;
127
+ warningMessage: string;
128
+ isTextarea: boolean;
129
+ hasInfo: boolean;
130
+ infoText: string;
131
+ inputStatus: "default" | "info" | "readonly" | "warning" | "error";
132
+ isUiAutocomplete: boolean;
133
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
134
+ beforeCreate?: (() => void) | (() => void)[];
135
+ created?: (() => void) | (() => void)[];
136
+ beforeMount?: (() => void) | (() => void)[];
137
+ mounted?: (() => void) | (() => void)[];
138
+ beforeUpdate?: (() => void) | (() => void)[];
139
+ updated?: (() => void) | (() => void)[];
140
+ activated?: (() => void) | (() => void)[];
141
+ deactivated?: (() => void) | (() => void)[];
142
+ beforeDestroy?: (() => void) | (() => void)[];
143
+ beforeUnmount?: (() => void) | (() => void)[];
144
+ destroyed?: (() => void) | (() => void)[];
145
+ unmounted?: (() => void) | (() => void)[];
146
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
147
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
148
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
149
+ };
150
+ $forceUpdate: () => void;
151
+ $nextTick: typeof import('vue').nextTick;
152
+ $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
+ } & Readonly<{
154
+ type: "text" | "number" | "time" | "date" | "password" | "datetime-local";
155
+ disabled: boolean;
156
+ label: string;
157
+ readonly: boolean;
158
+ id: string;
159
+ placeholder: string;
160
+ autofocus: boolean;
161
+ chevron: boolean;
162
+ isDateTimePicker: boolean;
163
+ autocomplete: string;
164
+ isInvalid: boolean;
165
+ errorMessage: string;
166
+ showWarning: boolean;
167
+ warningMessage: string;
168
+ isTextarea: boolean;
169
+ hasInfo: boolean;
170
+ infoText: string;
171
+ inputStatus: "default" | "info" | "readonly" | "warning" | "error";
172
+ isUiAutocomplete: boolean;
173
+ }> & Omit<Readonly<{
174
+ id?: string;
175
+ modelValue: string;
176
+ type?: "text" | "number" | "time" | "date" | "password" | "datetime-local";
177
+ label?: string;
178
+ placeholder?: string;
179
+ autofocus?: boolean;
180
+ chevron?: boolean;
181
+ readonly?: boolean;
182
+ disabled?: boolean;
183
+ isDateTimePicker?: boolean;
184
+ autocomplete?: string;
185
+ isInvalid?: boolean;
186
+ errorMessage?: string;
187
+ showWarning?: boolean;
188
+ warningMessage?: string;
189
+ isTextarea?: boolean;
190
+ hasInfo?: boolean;
191
+ infoText?: string;
192
+ inputStatus?: "default" | "info" | "readonly" | "warning" | "error";
193
+ isUiAutocomplete?: boolean;
194
+ }> & Readonly<{
195
+ onFocus?: ((...args: any[]) => any) | undefined;
196
+ onBlur?: ((...args: any[]) => any) | undefined;
197
+ onInput?: ((...args: any[]) => any) | undefined;
198
+ onKeyup?: ((...args: any[]) => any) | undefined;
199
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
200
+ }>, "inputRef" | ("type" | "disabled" | "label" | "readonly" | "id" | "placeholder" | "autofocus" | "chevron" | "isDateTimePicker" | "autocomplete" | "isInvalid" | "errorMessage" | "showWarning" | "warningMessage" | "isTextarea" | "hasInfo" | "infoText" | "inputStatus" | "isUiAutocomplete")> & import('vue').ShallowUnwrapRef<{
201
+ inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
202
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
203
+ $slots: {
204
+ buttons?(_: {}): any;
205
+ };
206
+ }) | null;
207
+ dropdownRef: HTMLDivElement;
208
+ }, HTMLDivElement>;
69
209
  argTypes: {
70
210
  label: {
71
211
  control: "text";