@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
@@ -10,14 +10,14 @@ declare function __VLS_template(): Readonly<{
10
10
  */
11
11
  default(): any;
12
12
  };
13
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
14
14
  /**
15
15
  * Changes the style of the banner. Available types are `info`, `warning` and `emergency`.
16
16
  */
17
17
  type?: bannerType;
18
18
  }>, {
19
19
  type: string;
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
  * Changes the style of the banner. Available types are `info`, `warning` and `emergency`.
23
23
  */
@@ -29,15 +29,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
29
29
  }, {}>;
30
30
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
31
31
  export default _default;
32
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
- type __VLS_TypePropsToRuntimeProps<T> = {
34
- [K in keyof T]-?: {} extends Pick<T, K> ? {
35
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
- } : {
37
- type: import('vue').PropType<T[K]>;
38
- required: true;
39
- };
40
- };
32
+
41
33
  type __VLS_WithDefaults<P, D> = {
42
34
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
43
35
  default: D[K];
@@ -51,3 +43,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
51
43
  $slots: S;
52
44
  };
53
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,3 +1,2 @@
1
1
  import { default as MucBanner } from './MucBanner.vue';
2
-
3
2
  export { MucBanner };
@@ -0,0 +1,74 @@
1
+ import { BusinessHourType } from './BusinessHourType';
2
+ declare function __VLS_template(): Readonly<{
3
+ /**
4
+ * Display a hint beneath all the opening hours.
5
+ */
6
+ hint(): any;
7
+ }> & {
8
+ /**
9
+ * Display a hint beneath all the opening hours.
10
+ */
11
+ hint(): any;
12
+ };
13
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
14
+ /**
15
+ * This array includes all the opening hours for all days of the week.
16
+ */
17
+ businessHours: BusinessHourType[];
18
+ /**
19
+ * Lets you choose between the toggleable and fixed state of the component.
20
+ * In the fixed state, no toggle button will be shown.
21
+ */
22
+ toggleable?: boolean;
23
+ /**
24
+ * Choose an icon for the toggle button. The default if none is given is the time icon.
25
+ */
26
+ icon?: string;
27
+ }>, {
28
+ icon: string;
29
+ toggleable: boolean;
30
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
31
+ /**
32
+ * This array includes all the opening hours for all days of the week.
33
+ */
34
+ businessHours: BusinessHourType[];
35
+ /**
36
+ * Lets you choose between the toggleable and fixed state of the component.
37
+ * In the fixed state, no toggle button will be shown.
38
+ */
39
+ toggleable?: boolean;
40
+ /**
41
+ * Choose an icon for the toggle button. The default if none is given is the time icon.
42
+ */
43
+ icon?: string;
44
+ }>, {
45
+ icon: string;
46
+ toggleable: boolean;
47
+ }>>>, {
48
+ icon: string;
49
+ toggleable: boolean;
50
+ }, {}>;
51
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
52
+ export default _default;
53
+ type __VLS_WithDefaults<P, D> = {
54
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
55
+ default: D[K];
56
+ }> : P[K];
57
+ };
58
+ type __VLS_Prettify<T> = {
59
+ [K in keyof T]: T[K];
60
+ } & {};
61
+ type __VLS_WithTemplateSlots<T, S> = T & {
62
+ new (): {
63
+ $slots: S;
64
+ };
65
+ };
66
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
67
+ type __VLS_TypePropsToOption<T> = {
68
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
69
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
70
+ } : {
71
+ type: import('vue').PropType<T[K]>;
72
+ required: true;
73
+ };
74
+ };
@@ -10,7 +10,7 @@ declare function __VLS_template(): Readonly<{
10
10
  */
11
11
  default(): any;
12
12
  };
13
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
14
14
  /**
15
15
  * The variant prop gives you easy access to several different button styles.
16
16
  *
@@ -37,7 +37,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
37
37
  iconAnimated: boolean;
38
38
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
39
39
  click: () => void;
40
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
40
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
41
41
  /**
42
42
  * The variant prop gives you easy access to several different button styles.
43
43
  *
@@ -71,15 +71,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
71
71
  }, {}>;
72
72
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
73
73
  export default _default;
74
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
75
- type __VLS_TypePropsToRuntimeProps<T> = {
76
- [K in keyof T]-?: {} extends Pick<T, K> ? {
77
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
78
- } : {
79
- type: import('vue').PropType<T[K]>;
80
- required: true;
81
- };
82
- };
83
74
  type __VLS_WithDefaults<P, D> = {
84
75
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
85
76
  default: D[K];
@@ -93,3 +84,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
93
84
  $slots: S;
94
85
  };
95
86
  };
87
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
88
+ type __VLS_TypePropsToOption<T> = {
89
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
90
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
91
+ } : {
92
+ type: import('vue').PropType<T[K]>;
93
+ required: true;
94
+ };
95
+ };
@@ -1,3 +1,2 @@
1
1
  import { default as MucButton } from './MucButton.vue';
2
-
3
2
  export { MucButton };
@@ -26,7 +26,7 @@ declare function __VLS_template(): Readonly<{
26
26
  */
27
27
  content(): any;
28
28
  };
29
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
29
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
30
30
  /**
31
31
  * Type of the callout, default is `info`.
32
32
  *
@@ -35,7 +35,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
35
35
  type?: calloutType;
36
36
  }>, {
37
37
  type: string;
38
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
38
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
39
39
  /**
40
40
  * Type of the callout, default is `info`.
41
41
  *
@@ -49,15 +49,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
49
49
  }, {}>;
50
50
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
51
51
  export default _default;
52
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
53
- type __VLS_TypePropsToRuntimeProps<T> = {
54
- [K in keyof T]-?: {} extends Pick<T, K> ? {
55
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
56
- } : {
57
- type: import('vue').PropType<T[K]>;
58
- required: true;
59
- };
60
- };
61
52
  type __VLS_WithDefaults<P, D> = {
62
53
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
63
54
  default: D[K];
@@ -71,3 +62,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
71
62
  $slots: S;
72
63
  };
73
64
  };
65
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
66
+ type __VLS_TypePropsToOption<T> = {
67
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
68
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
69
+ } : {
70
+ type: import('vue').PropType<T[K]>;
71
+ required: true;
72
+ };
73
+ };
@@ -1,3 +1,2 @@
1
1
  import { default as MucCallout } from './MucCallout.vue';
2
-
3
2
  export { MucCallout };
@@ -17,12 +17,12 @@ declare function __VLS_template(): Readonly<{
17
17
  */
18
18
  content(): any;
19
19
  };
20
- declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
20
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
21
21
  title: string;
22
22
  tagline: string;
23
23
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
24
  click: (click: Event) => void;
25
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
25
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
26
26
  title: string;
27
27
  tagline: string;
28
28
  }>>> & {
@@ -30,8 +30,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRu
30
30
  }, {}, {}>;
31
31
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
32
32
  export default _default;
33
+ type __VLS_WithTemplateSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
33
38
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
- type __VLS_TypePropsToRuntimeProps<T> = {
39
+ type __VLS_TypePropsToOption<T> = {
35
40
  [K in keyof T]-?: {} extends Pick<T, K> ? {
36
41
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
42
  } : {
@@ -39,8 +44,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
39
44
  required: true;
40
45
  };
41
46
  };
42
- type __VLS_WithTemplateSlots<T, S> = T & {
43
- new (): {
44
- $slots: S;
45
- };
46
- };
@@ -1,4 +1,3 @@
1
1
  import { default as MucCard } from './MucCard.vue';
2
2
  import { default as MucCardContainer } from './MucCardContainer.vue';
3
-
4
3
  export { MucCard, MucCardContainer };
@@ -1,5 +1,4 @@
1
1
  import { default as CommentType } from './CommentType';
2
-
3
2
  declare function __VLS_template(): Readonly<{
4
3
  /**
5
4
  * Slot for the commenter's initials or avatar.
@@ -51,7 +50,7 @@ declare function __VLS_template(): Readonly<{
51
50
  */
52
51
  text(): any;
53
52
  };
54
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
53
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
55
54
  /**
56
55
  * Number of stars to be displayed.
57
56
  */
@@ -64,7 +63,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
64
63
  variant?: CommentType;
65
64
  }>, {
66
65
  variant: string;
67
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
66
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
68
67
  /**
69
68
  * Number of stars to be displayed.
70
69
  */
@@ -82,15 +81,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
82
81
  }, {}>;
83
82
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
84
83
  export default _default;
85
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
86
- type __VLS_TypePropsToRuntimeProps<T> = {
87
- [K in keyof T]-?: {} extends Pick<T, K> ? {
88
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
89
- } : {
90
- type: import('vue').PropType<T[K]>;
91
- required: true;
92
- };
93
- };
94
84
  type __VLS_WithDefaults<P, D> = {
95
85
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
96
86
  default: D[K];
@@ -104,3 +94,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
104
94
  $slots: S;
105
95
  };
106
96
  };
97
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
98
+ type __VLS_TypePropsToOption<T> = {
99
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
100
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
101
+ } : {
102
+ type: import('vue').PropType<T[K]>;
103
+ required: true;
104
+ };
105
+ };
@@ -1,6 +1,5 @@
1
1
  import { default as CommentType } from './CommentType';
2
-
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
4
3
  datePrefix?: string;
5
4
  initials?: string;
6
5
  author: string;
@@ -12,7 +11,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
12
11
  }>, {
13
12
  datePrefix: string;
14
13
  variant: string;
15
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
16
15
  datePrefix?: string;
17
16
  initials?: string;
18
17
  author: string;
@@ -29,15 +28,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
29
28
  datePrefix: string;
30
29
  }, {}>;
31
30
  export default _default;
32
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
- type __VLS_TypePropsToRuntimeProps<T> = {
34
- [K in keyof T]-?: {} extends Pick<T, K> ? {
35
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
- } : {
37
- type: import('vue').PropType<T[K]>;
38
- required: true;
39
- };
40
- };
41
31
  type __VLS_WithDefaults<P, D> = {
42
32
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
43
33
  default: D[K];
@@ -46,3 +36,12 @@ type __VLS_WithDefaults<P, D> = {
46
36
  type __VLS_Prettify<T> = {
47
37
  [K in keyof T]: T[K];
48
38
  } & {};
39
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
+ type __VLS_TypePropsToOption<T> = {
41
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
42
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
+ } : {
44
+ type: import('vue').PropType<T[K]>;
45
+ required: true;
46
+ };
47
+ };
@@ -1,4 +1,3 @@
1
1
  import { default as MucComment } from './MucComment.vue';
2
2
  import { default as MucCommentText } from './MucCommentText.vue';
3
-
4
3
  export { MucComment, MucCommentText };
@@ -1,3 +1,2 @@
1
1
  import { default as MucDivider } from './MucDivider.vue';
2
-
3
2
  export { MucDivider };
@@ -1,20 +1,26 @@
1
1
  declare const _default: {
2
2
  component: import('vue').DefineComponent<{
3
- modelValue: import('vue').PropType<boolean>;
3
+ modelValue: {
4
+ type: import('vue').PropType<boolean>;
5
+ };
4
6
  label: {
5
7
  type: import('vue').PropType<string>;
6
8
  required: true;
7
9
  };
8
10
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:modelValue": (modelValue: boolean) => void;
9
12
  click: () => void;
10
13
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
- modelValue: import('vue').PropType<boolean>;
14
+ modelValue: {
15
+ type: import('vue').PropType<boolean>;
16
+ };
12
17
  label: {
13
18
  type: import('vue').PropType<string>;
14
19
  required: true;
15
20
  };
16
21
  }>> & {
17
22
  onClick?: (() => any) | undefined;
23
+ "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
18
24
  }, {}, {}>;
19
25
  title: string;
20
26
  tags: string[];
@@ -1,18 +1,26 @@
1
- declare const _default: import('vue').DefineComponent<{
2
- modelValue: import('vue').PropType<boolean>;
3
- label: {
4
- type: import('vue').PropType<string>;
5
- required: true;
6
- };
7
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ declare let __VLS_typeProps: {
2
+ /**
3
+ * Label is displayed to the right of the checkbox as information for the user.
4
+ */
5
+ label: string;
6
+ };
7
+ type __VLS_PublicProps = {
8
+ "modelValue"?: boolean;
9
+ } & typeof __VLS_typeProps;
10
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:modelValue": (modelValue: boolean) => void;
8
12
  click: () => void;
9
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
10
- modelValue: import('vue').PropType<boolean>;
11
- label: {
12
- type: import('vue').PropType<string>;
13
- required: true;
14
- };
15
- }>> & {
13
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
16
14
  onClick?: (() => any) | undefined;
15
+ "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
17
16
  }, {}, {}>;
18
17
  export default _default;
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToOption<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
@@ -38,21 +38,27 @@ declare const _default: {
38
38
  };
39
39
  });
40
40
  MucCheckbox: import('vue').DefineComponent<{
41
- modelValue: import('vue').PropType<boolean>;
41
+ modelValue: {
42
+ type: import('vue').PropType<boolean>;
43
+ };
42
44
  label: {
43
45
  type: import('vue').PropType<string>;
44
46
  required: true;
45
47
  };
46
48
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
49
+ "update:modelValue": (modelValue: boolean) => void;
47
50
  click: () => void;
48
51
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
49
- modelValue: import('vue').PropType<boolean>;
52
+ modelValue: {
53
+ type: import('vue').PropType<boolean>;
54
+ };
50
55
  label: {
51
56
  type: import('vue').PropType<string>;
52
57
  required: true;
53
58
  };
54
59
  }>> & {
55
60
  onClick?: (() => any) | undefined;
61
+ "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
56
62
  }, {}, {}>;
57
63
  };
58
64
  component: {
@@ -106,21 +112,27 @@ export default _default;
106
112
  export declare const NotCollapsable: () => {
107
113
  components: {
108
114
  MucCheckbox: import('vue').DefineComponent<{
109
- modelValue: import('vue').PropType<boolean>;
115
+ modelValue: {
116
+ type: import('vue').PropType<boolean>;
117
+ };
110
118
  label: {
111
119
  type: import('vue').PropType<string>;
112
120
  required: true;
113
121
  };
114
122
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
123
+ "update:modelValue": (modelValue: boolean) => void;
115
124
  click: () => void;
116
125
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
117
- modelValue: import('vue').PropType<boolean>;
126
+ modelValue: {
127
+ type: import('vue').PropType<boolean>;
128
+ };
118
129
  label: {
119
130
  type: import('vue').PropType<string>;
120
131
  required: true;
121
132
  };
122
133
  }>> & {
123
134
  onClick?: (() => any) | undefined;
135
+ "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
124
136
  }, {}, {}>;
125
137
  MucCheckboxGroup: {
126
138
  new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
@@ -165,21 +177,27 @@ export declare const NotCollapsable: () => {
165
177
  export declare const Collapsable: () => {
166
178
  components: {
167
179
  MucCheckbox: import('vue').DefineComponent<{
168
- modelValue: import('vue').PropType<boolean>;
180
+ modelValue: {
181
+ type: import('vue').PropType<boolean>;
182
+ };
169
183
  label: {
170
184
  type: import('vue').PropType<string>;
171
185
  required: true;
172
186
  };
173
187
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
188
+ "update:modelValue": (modelValue: boolean) => void;
174
189
  click: () => void;
175
190
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
176
- modelValue: import('vue').PropType<boolean>;
191
+ modelValue: {
192
+ type: import('vue').PropType<boolean>;
193
+ };
177
194
  label: {
178
195
  type: import('vue').PropType<string>;
179
196
  required: true;
180
197
  };
181
198
  }>> & {
182
199
  onClick?: (() => any) | undefined;
200
+ "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
183
201
  }, {}, {}>;
184
202
  MucCheckboxGroup: {
185
203
  new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
@@ -17,12 +17,12 @@ declare function __VLS_template(): Readonly<{
17
17
  */
18
18
  collapsableCheckboxes(): any;
19
19
  };
20
- declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
20
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
21
21
  /**
22
22
  * Display a heading above the slots.
23
23
  */
24
24
  heading?: string;
25
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
25
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
26
26
  /**
27
27
  * Display a heading above the slots.
28
28
  */
@@ -30,8 +30,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRu
30
30
  }>>>, {}, {}>;
31
31
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
32
32
  export default _default;
33
+ type __VLS_WithTemplateSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
33
38
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
- type __VLS_TypePropsToRuntimeProps<T> = {
39
+ type __VLS_TypePropsToOption<T> = {
35
40
  [K in keyof T]-?: {} extends Pick<T, K> ? {
36
41
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
42
  } : {
@@ -39,8 +44,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
39
44
  required: true;
40
45
  };
41
46
  };
42
- type __VLS_WithTemplateSlots<T, S> = T & {
43
- new (): {
44
- $slots: S;
45
- };
46
- };
@@ -1,13 +1,13 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
2
2
  title?: string;
3
3
  errors: string | string[];
4
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
5
5
  title?: string;
6
6
  errors: string | string[];
7
7
  }>>>, {}, {}>;
8
8
  export default _default;
9
9
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
- type __VLS_TypePropsToRuntimeProps<T> = {
10
+ type __VLS_TypePropsToOption<T> = {
11
11
  [K in keyof T]-?: {} extends Pick<T, K> ? {
12
12
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
13
  } : {