@muenchen/muc-patternlab-vue 1.13.0-beta.3 → 1.13.0-beta.4

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 (43) hide show
  1. package/dist/components/Banner/MucBanner.vue.d.ts +12 -11
  2. package/dist/components/Banner/index.d.ts +0 -1
  3. package/dist/components/BuisnessHours/MucBusinessHours.vue.d.ts +74 -0
  4. package/dist/components/Button/MucButton.vue.d.ts +11 -11
  5. package/dist/components/Button/index.d.ts +0 -1
  6. package/dist/components/Callout/MucCallout.vue.d.ts +11 -11
  7. package/dist/components/Callout/index.d.ts +0 -1
  8. package/dist/components/Card/MucCard.vue.d.ts +8 -8
  9. package/dist/components/Card/index.d.ts +0 -1
  10. package/dist/components/Comment/MucComment.vue.d.ts +11 -12
  11. package/dist/components/Comment/MucCommentText.vue.d.ts +11 -12
  12. package/dist/components/Comment/index.d.ts +0 -1
  13. package/dist/components/Divider/index.d.ts +0 -1
  14. package/dist/components/Form/MucCheckbox.stories.d.ts +8 -2
  15. package/dist/components/Form/MucCheckbox.vue.d.ts +22 -14
  16. package/dist/components/Form/MucCheckboxGroup.stories.d.ts +24 -6
  17. package/dist/components/Form/MucCheckboxGroup.vue.d.ts +8 -8
  18. package/dist/components/Form/MucErrorList.vue.d.ts +3 -3
  19. package/dist/components/Form/MucInput.stories.d.ts +22 -8
  20. package/dist/components/Form/MucInput.vue.d.ts +66 -58
  21. package/dist/components/Form/MucRadioButton.stories.d.ts +30 -16
  22. package/dist/components/Form/MucRadioButton.vue.d.ts +11 -11
  23. package/dist/components/Form/MucRadioButtonGroup.vue.d.ts +38 -21
  24. package/dist/components/Form/MucRadioButtonTypes.d.ts +0 -1
  25. package/dist/components/Form/MucSelect.stories.d.ts +21 -4
  26. package/dist/components/Form/MucSelect.vue.d.ts +54 -33
  27. package/dist/components/Form/MucTextArea.stories.d.ts +14 -6
  28. package/dist/components/Form/MucTextArea.vue.d.ts +57 -45
  29. package/dist/components/Form/index.d.ts +0 -1
  30. package/dist/components/Icon/MucIcon.vue.d.ts +3 -3
  31. package/dist/components/Icon/index.d.ts +0 -1
  32. package/dist/components/Intro/MucIntro.vue.d.ts +8 -8
  33. package/dist/components/Intro/index.d.ts +0 -1
  34. package/dist/components/Link/MucLink.vue.d.ts +11 -11
  35. package/dist/components/Link/index.d.ts +0 -1
  36. package/dist/components/index.d.ts +0 -1
  37. package/dist/composables/useOnClickOutside.d.ts +3 -0
  38. package/dist/index.d.ts +0 -1
  39. package/dist/muc-patternlab-vue.es.js +425 -387
  40. package/dist/style.css +1 -1
  41. package/package.json +2 -2
  42. package/src/components/Form/MucSelect.vue +82 -7
  43. package/src/composables/useOnClickOutside.ts +24 -0
@@ -1,7 +1,6 @@
1
1
  declare const _default: {
2
2
  component: {
3
3
  new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
4
- modelValue: import('vue').PropType<string>;
5
4
  type: {
6
5
  type: import('vue').PropType<"color" | "search" | "text" | "date" | "datetime-local" | "password">;
7
6
  default: string;
@@ -16,7 +15,7 @@ declare const _default: {
16
15
  label: {
17
16
  type: import('vue').PropType<string>;
18
17
  };
19
- hint: {
18
+ modelValue: {
20
19
  type: import('vue').PropType<string>;
21
20
  };
22
21
  errorMsg: {
@@ -25,15 +24,19 @@ declare const _default: {
25
24
  placeholder: {
26
25
  type: import('vue').PropType<string>;
27
26
  };
27
+ hint: {
28
+ type: import('vue').PropType<string>;
29
+ };
28
30
  suffixIcon: {
29
31
  type: import('vue').PropType<string>;
30
32
  };
31
33
  }>> & {
34
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
32
35
  onSuffixClick?: (() => any) | undefined;
33
36
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
37
+ "update:modelValue": (modelValue: string) => void;
34
38
  suffixClick: () => void;
35
39
  }, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
36
- modelValue: import('vue').PropType<string>;
37
40
  type: {
38
41
  type: import('vue').PropType<"color" | "search" | "text" | "date" | "datetime-local" | "password">;
39
42
  default: string;
@@ -48,7 +51,7 @@ declare const _default: {
48
51
  label: {
49
52
  type: import('vue').PropType<string>;
50
53
  };
51
- hint: {
54
+ modelValue: {
52
55
  type: import('vue').PropType<string>;
53
56
  };
54
57
  errorMsg: {
@@ -57,10 +60,14 @@ declare const _default: {
57
60
  placeholder: {
58
61
  type: import('vue').PropType<string>;
59
62
  };
63
+ hint: {
64
+ type: import('vue').PropType<string>;
65
+ };
60
66
  suffixIcon: {
61
67
  type: import('vue').PropType<string>;
62
68
  };
63
69
  }>> & {
70
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
64
71
  onSuffixClick?: (() => any) | undefined;
65
72
  }, {
66
73
  type: "color" | "search" | "text" | "date" | "datetime-local" | "password";
@@ -73,7 +80,6 @@ declare const _default: {
73
80
  M: {};
74
81
  Defaults: {};
75
82
  }, Readonly<import('vue').ExtractPropTypes<{
76
- modelValue: import('vue').PropType<string>;
77
83
  type: {
78
84
  type: import('vue').PropType<"color" | "search" | "text" | "date" | "datetime-local" | "password">;
79
85
  default: string;
@@ -88,7 +94,7 @@ declare const _default: {
88
94
  label: {
89
95
  type: import('vue').PropType<string>;
90
96
  };
91
- hint: {
97
+ modelValue: {
92
98
  type: import('vue').PropType<string>;
93
99
  };
94
100
  errorMsg: {
@@ -97,10 +103,14 @@ declare const _default: {
97
103
  placeholder: {
98
104
  type: import('vue').PropType<string>;
99
105
  };
106
+ hint: {
107
+ type: import('vue').PropType<string>;
108
+ };
100
109
  suffixIcon: {
101
110
  type: import('vue').PropType<string>;
102
111
  };
103
112
  }>> & {
113
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
104
114
  onSuffixClick?: (() => any) | undefined;
105
115
  }, {}, {}, {}, {}, {
106
116
  type: "color" | "search" | "text" | "date" | "datetime-local" | "password";
@@ -110,7 +120,6 @@ declare const _default: {
110
120
  __isTeleport?: never;
111
121
  __isSuspense?: never;
112
122
  } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
113
- modelValue: import('vue').PropType<string>;
114
123
  type: {
115
124
  type: import('vue').PropType<"color" | "search" | "text" | "date" | "datetime-local" | "password">;
116
125
  default: string;
@@ -125,7 +134,7 @@ declare const _default: {
125
134
  label: {
126
135
  type: import('vue').PropType<string>;
127
136
  };
128
- hint: {
137
+ modelValue: {
129
138
  type: import('vue').PropType<string>;
130
139
  };
131
140
  errorMsg: {
@@ -134,12 +143,17 @@ declare const _default: {
134
143
  placeholder: {
135
144
  type: import('vue').PropType<string>;
136
145
  };
146
+ hint: {
147
+ type: import('vue').PropType<string>;
148
+ };
137
149
  suffixIcon: {
138
150
  type: import('vue').PropType<string>;
139
151
  };
140
152
  }>> & {
153
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
141
154
  onSuffixClick?: (() => any) | undefined;
142
155
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
156
+ "update:modelValue": (modelValue: string) => void;
143
157
  suffixClick: () => void;
144
158
  }, string, {
145
159
  type: "color" | "search" | "text" | "date" | "datetime-local" | "password";
@@ -2,6 +2,43 @@
2
2
  * Type includes all possible input types possible.
3
3
  */
4
4
  type inputType = "text" | "password" | "color" | "search" | "date" | "datetime-local";
5
+ declare let __VLS_typeProps: {
6
+ /**
7
+ * Displays error message and highlights the input form with a red border.
8
+ */
9
+ errorMsg?: string;
10
+ /**
11
+ * Placeholder for empty input form.
12
+ */
13
+ placeholder?: string;
14
+ /**
15
+ * Sets this input form as required. Default is wrong.
16
+ */
17
+ required?: boolean;
18
+ /**
19
+ * Displays a label above the form component.
20
+ */
21
+ label?: string;
22
+ /**
23
+ * Displays a hint beneath the form component.
24
+ */
25
+ hint?: string;
26
+ /**
27
+ * Sets the type of this form component. This can be text, password, color, date or datetime-local.
28
+ */
29
+ type?: inputType;
30
+ /**
31
+ * Options for the form component. Type must set to 'search'.
32
+ */
33
+ datalist?: string[];
34
+ /**
35
+ * Icon to be displayed as a suffix at the end of the input.
36
+ */
37
+ suffixIcon?: string;
38
+ };
39
+ type __VLS_PublicProps = {
40
+ modelValue?: string;
41
+ } & typeof __VLS_typeProps;
5
42
  declare function __VLS_template(): Readonly<{
6
43
  /**
7
44
  * Slot in front of the user input with divider.
@@ -13,65 +50,19 @@ declare function __VLS_template(): Readonly<{
13
50
  */
14
51
  prefix(): any;
15
52
  };
16
- declare const __VLS_component: import('vue').DefineComponent<{
17
- modelValue: import('vue').PropType<string>;
18
- type: {
19
- type: import('vue').PropType<inputType>;
20
- default: string;
21
- };
22
- required: {
23
- type: import('vue').PropType<boolean>;
24
- default: boolean;
25
- };
26
- datalist: {
27
- type: import('vue').PropType<string[]>;
28
- };
29
- label: {
30
- type: import('vue').PropType<string>;
31
- };
32
- hint: {
33
- type: import('vue').PropType<string>;
34
- };
35
- errorMsg: {
36
- type: import('vue').PropType<string>;
37
- };
38
- placeholder: {
39
- type: import('vue').PropType<string>;
40
- };
41
- suffixIcon: {
42
- type: import('vue').PropType<string>;
43
- };
44
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
53
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
54
+ required: boolean;
55
+ type: string;
56
+ dataList: never[];
57
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
58
+ "update:modelValue": (modelValue: string) => void;
45
59
  suffixClick: () => void;
46
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
47
- modelValue: import('vue').PropType<string>;
48
- type: {
49
- type: import('vue').PropType<inputType>;
50
- default: string;
51
- };
52
- required: {
53
- type: import('vue').PropType<boolean>;
54
- default: boolean;
55
- };
56
- datalist: {
57
- type: import('vue').PropType<string[]>;
58
- };
59
- label: {
60
- type: import('vue').PropType<string>;
61
- };
62
- hint: {
63
- type: import('vue').PropType<string>;
64
- };
65
- errorMsg: {
66
- type: import('vue').PropType<string>;
67
- };
68
- placeholder: {
69
- type: import('vue').PropType<string>;
70
- };
71
- suffixIcon: {
72
- type: import('vue').PropType<string>;
73
- };
74
- }>> & {
60
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
61
+ required: boolean;
62
+ type: string;
63
+ dataList: never[];
64
+ }>>> & {
65
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
75
66
  onSuffixClick?: (() => any) | undefined;
76
67
  }, {
77
68
  type: inputType;
@@ -79,8 +70,25 @@ declare const __VLS_component: import('vue').DefineComponent<{
79
70
  }, {}>;
80
71
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
81
72
  export default _default;
73
+ type __VLS_WithDefaults<P, D> = {
74
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
75
+ default: D[K];
76
+ }> : P[K];
77
+ };
78
+ type __VLS_Prettify<T> = {
79
+ [K in keyof T]: T[K];
80
+ } & {};
82
81
  type __VLS_WithTemplateSlots<T, S> = T & {
83
82
  new (): {
84
83
  $slots: S;
85
84
  };
86
85
  };
86
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
87
+ type __VLS_TypePropsToOption<T> = {
88
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
89
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
90
+ } : {
91
+ type: import('vue').PropType<T[K]>;
92
+ required: true;
93
+ };
94
+ };
@@ -7,13 +7,13 @@ declare const _default: {
7
7
  type: import('vue').PropType<string>;
8
8
  required: true;
9
9
  };
10
- hint: {
11
- type: import('vue').PropType<string>;
12
- };
13
10
  disabled: {
14
11
  type: import('vue').PropType<boolean>;
15
12
  default: boolean;
16
13
  };
14
+ hint: {
15
+ type: import('vue').PropType<string>;
16
+ };
17
17
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
18
18
  label: {
19
19
  type: import('vue').PropType<string>;
@@ -22,13 +22,13 @@ declare const _default: {
22
22
  type: import('vue').PropType<string>;
23
23
  required: true;
24
24
  };
25
- hint: {
26
- type: import('vue').PropType<string>;
27
- };
28
25
  disabled: {
29
26
  type: import('vue').PropType<boolean>;
30
27
  default: boolean;
31
28
  };
29
+ hint: {
30
+ type: import('vue').PropType<string>;
31
+ };
32
32
  }>>, {
33
33
  disabled: boolean;
34
34
  }, {}>;
@@ -53,13 +53,13 @@ export declare const Default: () => {
53
53
  type: import('vue').PropType<string>;
54
54
  required: true;
55
55
  };
56
- hint: {
57
- type: import('vue').PropType<string>;
58
- };
59
56
  disabled: {
60
57
  type: import('vue').PropType<boolean>;
61
58
  default: boolean;
62
59
  };
60
+ hint: {
61
+ type: import('vue').PropType<string>;
62
+ };
63
63
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
64
64
  label: {
65
65
  type: import('vue').PropType<string>;
@@ -68,41 +68,48 @@ export declare const Default: () => {
68
68
  type: import('vue').PropType<string>;
69
69
  required: true;
70
70
  };
71
- hint: {
72
- type: import('vue').PropType<string>;
73
- };
74
71
  disabled: {
75
72
  type: import('vue').PropType<boolean>;
76
73
  default: boolean;
77
74
  };
75
+ hint: {
76
+ type: import('vue').PropType<string>;
77
+ };
78
78
  }>>, {
79
79
  disabled: boolean;
80
80
  }, {}>;
81
81
  MucRadioButtonGroup: {
82
82
  new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
83
- modelValue: import('vue').PropType<import('./MucRadioButtonTypes').RadioButtonValueTypes>;
84
83
  disabled: {
85
84
  type: import('vue').PropType<boolean>;
86
85
  default: boolean;
87
86
  };
87
+ modelValue: {
88
+ type: import('vue').PropType<import('./MucRadioButtonTypes').RadioButtonValueTypes>;
89
+ };
88
90
  heading: {
89
91
  type: import('vue').PropType<string>;
90
92
  };
91
93
  }>> & {
92
94
  onChange?: ((value: import('./MucRadioButtonTypes').RadioButtonValueTypes) => any) | undefined;
95
+ "onUpdate:modelValue"?: ((modelValue: import('./MucRadioButtonTypes').RadioButtonValueTypes) => any) | undefined;
93
96
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
97
+ "update:modelValue": (modelValue: import('./MucRadioButtonTypes').RadioButtonValueTypes) => void;
94
98
  change: (value: import('./MucRadioButtonTypes').RadioButtonValueTypes) => void;
95
99
  }, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
96
- modelValue: import('vue').PropType<import('./MucRadioButtonTypes').RadioButtonValueTypes>;
97
100
  disabled: {
98
101
  type: import('vue').PropType<boolean>;
99
102
  default: boolean;
100
103
  };
104
+ modelValue: {
105
+ type: import('vue').PropType<import('./MucRadioButtonTypes').RadioButtonValueTypes>;
106
+ };
101
107
  heading: {
102
108
  type: import('vue').PropType<string>;
103
109
  };
104
110
  }>> & {
105
111
  onChange?: ((value: import('./MucRadioButtonTypes').RadioButtonValueTypes) => any) | undefined;
112
+ "onUpdate:modelValue"?: ((modelValue: import('./MucRadioButtonTypes').RadioButtonValueTypes) => any) | undefined;
106
113
  }, {
107
114
  disabled: boolean;
108
115
  }, true, {}, {}, {
@@ -113,16 +120,19 @@ export declare const Default: () => {
113
120
  M: {};
114
121
  Defaults: {};
115
122
  }, Readonly<import('vue').ExtractPropTypes<{
116
- modelValue: import('vue').PropType<import('./MucRadioButtonTypes').RadioButtonValueTypes>;
117
123
  disabled: {
118
124
  type: import('vue').PropType<boolean>;
119
125
  default: boolean;
120
126
  };
127
+ modelValue: {
128
+ type: import('vue').PropType<import('./MucRadioButtonTypes').RadioButtonValueTypes>;
129
+ };
121
130
  heading: {
122
131
  type: import('vue').PropType<string>;
123
132
  };
124
133
  }>> & {
125
134
  onChange?: ((value: import('./MucRadioButtonTypes').RadioButtonValueTypes) => any) | undefined;
135
+ "onUpdate:modelValue"?: ((modelValue: import('./MucRadioButtonTypes').RadioButtonValueTypes) => any) | undefined;
126
136
  }, {}, {}, {}, {}, {
127
137
  disabled: boolean;
128
138
  }>;
@@ -130,17 +140,21 @@ export declare const Default: () => {
130
140
  __isTeleport?: never;
131
141
  __isSuspense?: never;
132
142
  } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
133
- modelValue: import('vue').PropType<import('./MucRadioButtonTypes').RadioButtonValueTypes>;
134
143
  disabled: {
135
144
  type: import('vue').PropType<boolean>;
136
145
  default: boolean;
137
146
  };
147
+ modelValue: {
148
+ type: import('vue').PropType<import('./MucRadioButtonTypes').RadioButtonValueTypes>;
149
+ };
138
150
  heading: {
139
151
  type: import('vue').PropType<string>;
140
152
  };
141
153
  }>> & {
142
154
  onChange?: ((value: import('./MucRadioButtonTypes').RadioButtonValueTypes) => any) | undefined;
155
+ "onUpdate:modelValue"?: ((modelValue: import('./MucRadioButtonTypes').RadioButtonValueTypes) => any) | undefined;
143
156
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
157
+ "update:modelValue": (modelValue: import('./MucRadioButtonTypes').RadioButtonValueTypes) => void;
144
158
  change: (value: import('./MucRadioButtonTypes').RadioButtonValueTypes) => void;
145
159
  }, string, {
146
160
  disabled: boolean;
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
2
  /**
3
3
  * value for this radiobutton
4
4
  */
@@ -17,7 +17,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
17
17
  disabled?: boolean;
18
18
  }>, {
19
19
  disabled: boolean;
20
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
20
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
21
21
  /**
22
22
  * value for this radiobutton
23
23
  */
@@ -40,15 +40,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
40
40
  disabled: boolean;
41
41
  }, {}>;
42
42
  export default _default;
43
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
- type __VLS_TypePropsToRuntimeProps<T> = {
45
- [K in keyof T]-?: {} extends Pick<T, K> ? {
46
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
47
- } : {
48
- type: import('vue').PropType<T[K]>;
49
- required: true;
50
- };
51
- };
52
43
  type __VLS_WithDefaults<P, D> = {
53
44
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
54
45
  default: D[K];
@@ -57,3 +48,12 @@ type __VLS_WithDefaults<P, D> = {
57
48
  type __VLS_Prettify<T> = {
58
49
  [K in keyof T]: T[K];
59
50
  } & {};
51
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
52
+ type __VLS_TypePropsToOption<T> = {
53
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
54
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
55
+ } : {
56
+ type: import('vue').PropType<T[K]>;
57
+ required: true;
58
+ };
59
+ };
@@ -1,37 +1,54 @@
1
1
  import { RadioButtonValueTypes } from './MucRadioButtonTypes';
2
-
2
+ declare let __VLS_typeProps: {
3
+ /**
4
+ * Optional heading above all radiobuttons as a group heading
5
+ */
6
+ heading?: string;
7
+ /**
8
+ * Optionally disable all child radiobuttons - defaults to 'false'
9
+ */
10
+ disabled?: boolean;
11
+ };
12
+ type __VLS_PublicProps = {
13
+ "modelValue"?: RadioButtonValueTypes;
14
+ } & typeof __VLS_typeProps;
3
15
  declare function __VLS_template(): {
4
16
  default?(_: {}): any;
5
17
  };
6
- declare const __VLS_component: import('vue').DefineComponent<{
7
- modelValue: import('vue').PropType<RadioButtonValueTypes>;
8
- disabled: {
9
- type: import('vue').PropType<boolean>;
10
- default: boolean;
11
- };
12
- heading: {
13
- type: import('vue').PropType<string>;
14
- };
15
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
19
+ disabled: boolean;
20
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ "update:modelValue": (modelValue: RadioButtonValueTypes) => void;
16
22
  change: (value: RadioButtonValueTypes) => void;
17
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
18
- modelValue: import('vue').PropType<RadioButtonValueTypes>;
19
- disabled: {
20
- type: import('vue').PropType<boolean>;
21
- default: boolean;
22
- };
23
- heading: {
24
- type: import('vue').PropType<string>;
25
- };
26
- }>> & {
23
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
24
+ disabled: boolean;
25
+ }>>> & {
27
26
  onChange?: ((value: RadioButtonValueTypes) => any) | undefined;
27
+ "onUpdate:modelValue"?: ((modelValue: RadioButtonValueTypes) => any) | undefined;
28
28
  }, {
29
29
  disabled: boolean;
30
30
  }, {}>;
31
31
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
32
32
  export default _default;
33
+ type __VLS_WithDefaults<P, D> = {
34
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
35
+ default: D[K];
36
+ }> : P[K];
37
+ };
38
+ type __VLS_Prettify<T> = {
39
+ [K in keyof T]: T[K];
40
+ } & {};
33
41
  type __VLS_WithTemplateSlots<T, S> = T & {
34
42
  new (): {
35
43
  $slots: S;
36
44
  };
37
45
  };
46
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
47
+ type __VLS_TypePropsToOption<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
+ };
@@ -1,5 +1,4 @@
1
1
  import { InjectionKey, Ref } from 'vue';
2
-
3
2
  /**
4
3
  * Key for inject and provide
5
4
  *
@@ -1,9 +1,11 @@
1
1
  declare const _default: {
2
2
  component: import('vue').DefineComponent<{
3
- modelValue: import('vue').PropType<string | string[]>;
4
3
  label: {
5
4
  type: import('vue').PropType<string>;
6
5
  };
6
+ modelValue: {
7
+ type: import('vue').PropType<string | string[]>;
8
+ };
7
9
  hint: {
8
10
  type: import('vue').PropType<string>;
9
11
  };
@@ -15,11 +17,19 @@ declare const _default: {
15
17
  type: import('vue').PropType<boolean>;
16
18
  default: boolean;
17
19
  };
18
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
19
- modelValue: import('vue').PropType<string | string[]>;
20
+ noItemFoundMessage: {
21
+ type: import('vue').PropType<string>;
22
+ default: string;
23
+ };
24
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ "update:modelValue": (modelValue: string | string[]) => void;
26
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
20
27
  label: {
21
28
  type: import('vue').PropType<string>;
22
29
  };
30
+ modelValue: {
31
+ type: import('vue').PropType<string | string[]>;
32
+ };
23
33
  hint: {
24
34
  type: import('vue').PropType<string>;
25
35
  };
@@ -31,8 +41,15 @@ declare const _default: {
31
41
  type: import('vue').PropType<boolean>;
32
42
  default: boolean;
33
43
  };
34
- }>>, {
44
+ noItemFoundMessage: {
45
+ type: import('vue').PropType<string>;
46
+ default: string;
47
+ };
48
+ }>> & {
49
+ "onUpdate:modelValue"?: ((modelValue: string | string[]) => any) | undefined;
50
+ }, {
35
51
  multiple: boolean;
52
+ noItemFoundMessage: string;
36
53
  }, {}>;
37
54
  title: string;
38
55
  tags: string[];