@muenchen/muc-patternlab-vue 1.11.0-beta.2 → 1.11.0-beta.3
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.
- package/README.md +1 -4
- package/dist/components/Form/MucCheckbox.stories.d.ts +34 -0
- package/dist/components/Form/MucCheckbox.vue.d.ts +18 -0
- package/dist/components/Form/MucCheckboxGroup.stories.d.ts +223 -0
- package/dist/components/Form/MucCheckboxGroup.vue.d.ts +46 -0
- package/dist/components/Form/MucErrorList.stories.d.ts +41 -0
- package/dist/components/Form/MucErrorList.vue.d.ts +17 -0
- package/dist/components/Form/MucInput.stories.d.ts +225 -0
- package/dist/components/Form/MucInput.vue.d.ts +86 -0
- package/dist/components/Form/MucRadioButton.stories.d.ts +154 -0
- package/dist/components/Form/MucRadioButton.vue.d.ts +59 -0
- package/dist/components/Form/MucRadioButtonGroup.vue.d.ts +37 -0
- package/dist/components/Form/MucSelect.stories.d.ts +64 -0
- package/dist/components/Form/MucSelect.vue.d.ts +36 -0
- package/dist/components/Form/MucTextArea.stories.d.ts +86 -0
- package/dist/components/Form/MucTextArea.vue.d.ts +49 -0
- package/dist/components/Form/RadioButtonTypes.d.ts +30 -0
- package/dist/components/Form/index.d.ts +10 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/muc-patternlab-vue.es.js +311 -240
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Banner/MucBanner.vue +6 -6
- package/src/components/BuisnessHours/MucBusinessHours.vue +7 -11
- package/src/components/Button/MucButton.vue +5 -5
- package/src/components/Callout/MucCallout.vue +3 -6
- package/src/components/Comment/MucComment.vue +7 -21
- package/src/components/Form/MucCheckbox.stories.ts +25 -0
- package/src/components/Form/MucCheckbox.vue +47 -0
- package/src/components/Form/MucCheckboxGroup.stories.ts +43 -0
- package/src/components/Form/MucCheckboxGroup.vue +80 -0
- package/src/components/Form/MucErrorList.stories.ts +31 -0
- package/src/components/Form/MucErrorList.vue +34 -0
- package/src/components/Form/MucInput.stories.ts +90 -0
- package/src/components/Form/MucInput.vue +198 -0
- package/src/components/Form/MucRadioButton.stories.ts +32 -0
- package/src/components/Form/MucRadioButton.vue +81 -0
- package/src/components/Form/MucRadioButtonGroup.vue +62 -0
- package/src/components/Form/MucSelect.stories.ts +34 -0
- package/src/components/Form/MucSelect.vue +201 -0
- package/src/components/Form/MucTextArea.stories.ts +47 -0
- package/src/components/Form/MucTextArea.vue +80 -0
- package/src/components/Form/RadioButtonTypes.ts +41 -0
- package/src/components/Form/index.ts +23 -0
- package/src/components/Icon/MucIcon.vue +7 -1
- package/src/components/Intro/MucIntro.vue +2 -2
- package/src/components/index.ts +2 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type includes all possible input types possible.
|
|
3
|
+
*/
|
|
4
|
+
type inputType = "text" | "password" | "color" | "search" | "date" | "datetime-local";
|
|
5
|
+
declare function __VLS_template(): Readonly<{
|
|
6
|
+
/**
|
|
7
|
+
* Slot in front of the user input with divider.
|
|
8
|
+
*/
|
|
9
|
+
prefix(): any;
|
|
10
|
+
}> & {
|
|
11
|
+
/**
|
|
12
|
+
* Slot in front of the user input with divider.
|
|
13
|
+
*/
|
|
14
|
+
prefix(): any;
|
|
15
|
+
};
|
|
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, {
|
|
45
|
+
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
|
+
}>> & {
|
|
75
|
+
onSuffixClick?: (() => any) | undefined;
|
|
76
|
+
}, {
|
|
77
|
+
type: inputType;
|
|
78
|
+
required: boolean;
|
|
79
|
+
}, {}>;
|
|
80
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
81
|
+
export default _default;
|
|
82
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
83
|
+
new (): {
|
|
84
|
+
$slots: S;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
component: import('vue').DefineComponent<{
|
|
3
|
+
label: {
|
|
4
|
+
type: import('vue').PropType<string>;
|
|
5
|
+
};
|
|
6
|
+
value: {
|
|
7
|
+
type: import('vue').PropType<string>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
hint: {
|
|
11
|
+
type: import('vue').PropType<string>;
|
|
12
|
+
};
|
|
13
|
+
disabled: {
|
|
14
|
+
type: import('vue').PropType<boolean>;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
|
+
label: {
|
|
19
|
+
type: import('vue').PropType<string>;
|
|
20
|
+
};
|
|
21
|
+
value: {
|
|
22
|
+
type: import('vue').PropType<string>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
hint: {
|
|
26
|
+
type: import('vue').PropType<string>;
|
|
27
|
+
};
|
|
28
|
+
disabled: {
|
|
29
|
+
type: import('vue').PropType<boolean>;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
}>>, {
|
|
33
|
+
disabled: boolean;
|
|
34
|
+
}, {}>;
|
|
35
|
+
title: string;
|
|
36
|
+
tags: string[];
|
|
37
|
+
parameters: {
|
|
38
|
+
docs: {
|
|
39
|
+
description: {
|
|
40
|
+
component: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export default _default;
|
|
46
|
+
export declare const Default: () => {
|
|
47
|
+
components: {
|
|
48
|
+
MucRadioButton: import('vue').DefineComponent<{
|
|
49
|
+
label: {
|
|
50
|
+
type: import('vue').PropType<string>;
|
|
51
|
+
};
|
|
52
|
+
value: {
|
|
53
|
+
type: import('vue').PropType<string>;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
hint: {
|
|
57
|
+
type: import('vue').PropType<string>;
|
|
58
|
+
};
|
|
59
|
+
disabled: {
|
|
60
|
+
type: import('vue').PropType<boolean>;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
64
|
+
label: {
|
|
65
|
+
type: import('vue').PropType<string>;
|
|
66
|
+
};
|
|
67
|
+
value: {
|
|
68
|
+
type: import('vue').PropType<string>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
hint: {
|
|
72
|
+
type: import('vue').PropType<string>;
|
|
73
|
+
};
|
|
74
|
+
disabled: {
|
|
75
|
+
type: import('vue').PropType<boolean>;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
}>>, {
|
|
79
|
+
disabled: boolean;
|
|
80
|
+
}, {}>;
|
|
81
|
+
MucRadioButtonGroup: {
|
|
82
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
|
|
83
|
+
modelValue: import('vue').PropType<import('./RadioButtonTypes').RadioButtonValueTypes>;
|
|
84
|
+
disabled: {
|
|
85
|
+
type: import('vue').PropType<boolean>;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
heading: {
|
|
89
|
+
type: import('vue').PropType<string>;
|
|
90
|
+
};
|
|
91
|
+
}>> & {
|
|
92
|
+
onChange?: ((value: import('./RadioButtonTypes').RadioButtonValueTypes) => any) | undefined;
|
|
93
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
94
|
+
change: (value: import('./RadioButtonTypes').RadioButtonValueTypes) => void;
|
|
95
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
96
|
+
modelValue: import('vue').PropType<import('./RadioButtonTypes').RadioButtonValueTypes>;
|
|
97
|
+
disabled: {
|
|
98
|
+
type: import('vue').PropType<boolean>;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
heading: {
|
|
102
|
+
type: import('vue').PropType<string>;
|
|
103
|
+
};
|
|
104
|
+
}>> & {
|
|
105
|
+
onChange?: ((value: import('./RadioButtonTypes').RadioButtonValueTypes) => any) | undefined;
|
|
106
|
+
}, {
|
|
107
|
+
disabled: boolean;
|
|
108
|
+
}, true, {}, {}, {
|
|
109
|
+
P: {};
|
|
110
|
+
B: {};
|
|
111
|
+
D: {};
|
|
112
|
+
C: {};
|
|
113
|
+
M: {};
|
|
114
|
+
Defaults: {};
|
|
115
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
116
|
+
modelValue: import('vue').PropType<import('./RadioButtonTypes').RadioButtonValueTypes>;
|
|
117
|
+
disabled: {
|
|
118
|
+
type: import('vue').PropType<boolean>;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
heading: {
|
|
122
|
+
type: import('vue').PropType<string>;
|
|
123
|
+
};
|
|
124
|
+
}>> & {
|
|
125
|
+
onChange?: ((value: import('./RadioButtonTypes').RadioButtonValueTypes) => any) | undefined;
|
|
126
|
+
}, {}, {}, {}, {}, {
|
|
127
|
+
disabled: boolean;
|
|
128
|
+
}>;
|
|
129
|
+
__isFragment?: never;
|
|
130
|
+
__isTeleport?: never;
|
|
131
|
+
__isSuspense?: never;
|
|
132
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
133
|
+
modelValue: import('vue').PropType<import('./RadioButtonTypes').RadioButtonValueTypes>;
|
|
134
|
+
disabled: {
|
|
135
|
+
type: import('vue').PropType<boolean>;
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
138
|
+
heading: {
|
|
139
|
+
type: import('vue').PropType<string>;
|
|
140
|
+
};
|
|
141
|
+
}>> & {
|
|
142
|
+
onChange?: ((value: import('./RadioButtonTypes').RadioButtonValueTypes) => any) | undefined;
|
|
143
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
144
|
+
change: (value: import('./RadioButtonTypes').RadioButtonValueTypes) => void;
|
|
145
|
+
}, string, {
|
|
146
|
+
disabled: boolean;
|
|
147
|
+
}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
148
|
+
$slots: {
|
|
149
|
+
default?(_: {}): any;
|
|
150
|
+
};
|
|
151
|
+
});
|
|
152
|
+
};
|
|
153
|
+
template: string;
|
|
154
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
/**
|
|
3
|
+
* value for this radiobutton
|
|
4
|
+
*/
|
|
5
|
+
value: string;
|
|
6
|
+
/**
|
|
7
|
+
* Optional label shown behind the radiobutton
|
|
8
|
+
*/
|
|
9
|
+
label?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Optional hint shown beneath the radiobutton
|
|
12
|
+
*/
|
|
13
|
+
hint?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Optionally disable this specific radiobutton
|
|
16
|
+
*/
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
}>, {
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
21
|
+
/**
|
|
22
|
+
* value for this radiobutton
|
|
23
|
+
*/
|
|
24
|
+
value: string;
|
|
25
|
+
/**
|
|
26
|
+
* Optional label shown behind the radiobutton
|
|
27
|
+
*/
|
|
28
|
+
label?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Optional hint shown beneath the radiobutton
|
|
31
|
+
*/
|
|
32
|
+
hint?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Optionally disable this specific radiobutton
|
|
35
|
+
*/
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
}>, {
|
|
38
|
+
disabled: boolean;
|
|
39
|
+
}>>>, {
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
}, {}>;
|
|
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
|
+
type __VLS_WithDefaults<P, D> = {
|
|
53
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
54
|
+
default: D[K];
|
|
55
|
+
}> : P[K];
|
|
56
|
+
};
|
|
57
|
+
type __VLS_Prettify<T> = {
|
|
58
|
+
[K in keyof T]: T[K];
|
|
59
|
+
} & {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { RadioButtonValueTypes } from './RadioButtonTypes';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
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, {
|
|
16
|
+
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
|
+
}>> & {
|
|
27
|
+
onChange?: ((value: RadioButtonValueTypes) => any) | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
}, {}>;
|
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
component: import('vue').DefineComponent<{
|
|
3
|
+
modelValue: import('vue').PropType<string | string[]>;
|
|
4
|
+
label: {
|
|
5
|
+
type: import('vue').PropType<string>;
|
|
6
|
+
};
|
|
7
|
+
hint: {
|
|
8
|
+
type: import('vue').PropType<string>;
|
|
9
|
+
};
|
|
10
|
+
items: {
|
|
11
|
+
type: import('vue').PropType<string[]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
multiple: {
|
|
15
|
+
type: import('vue').PropType<boolean>;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
modelValue: import('vue').PropType<string | string[]>;
|
|
20
|
+
label: {
|
|
21
|
+
type: import('vue').PropType<string>;
|
|
22
|
+
};
|
|
23
|
+
hint: {
|
|
24
|
+
type: import('vue').PropType<string>;
|
|
25
|
+
};
|
|
26
|
+
items: {
|
|
27
|
+
type: import('vue').PropType<string[]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
multiple: {
|
|
31
|
+
type: import('vue').PropType<boolean>;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
}>>, {
|
|
35
|
+
multiple: boolean;
|
|
36
|
+
}, {}>;
|
|
37
|
+
title: string;
|
|
38
|
+
tags: string[];
|
|
39
|
+
parameters: {
|
|
40
|
+
docs: {
|
|
41
|
+
description: {
|
|
42
|
+
component: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export default _default;
|
|
48
|
+
export declare const Default: {
|
|
49
|
+
args: {
|
|
50
|
+
modelValue: string;
|
|
51
|
+
items: string[];
|
|
52
|
+
label: string;
|
|
53
|
+
hint: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export declare const MultiSelect: {
|
|
57
|
+
args: {
|
|
58
|
+
label: string;
|
|
59
|
+
multiple: boolean;
|
|
60
|
+
modelValue: string;
|
|
61
|
+
items: string[];
|
|
62
|
+
hint: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
modelValue: import('vue').PropType<string | string[]>;
|
|
3
|
+
label: {
|
|
4
|
+
type: import('vue').PropType<string>;
|
|
5
|
+
};
|
|
6
|
+
hint: {
|
|
7
|
+
type: import('vue').PropType<string>;
|
|
8
|
+
};
|
|
9
|
+
items: {
|
|
10
|
+
type: import('vue').PropType<string[]>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
multiple: {
|
|
14
|
+
type: import('vue').PropType<boolean>;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
|
+
modelValue: import('vue').PropType<string | string[]>;
|
|
19
|
+
label: {
|
|
20
|
+
type: import('vue').PropType<string>;
|
|
21
|
+
};
|
|
22
|
+
hint: {
|
|
23
|
+
type: import('vue').PropType<string>;
|
|
24
|
+
};
|
|
25
|
+
items: {
|
|
26
|
+
type: import('vue').PropType<string[]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
multiple: {
|
|
30
|
+
type: import('vue').PropType<boolean>;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
}>>, {
|
|
34
|
+
multiple: boolean;
|
|
35
|
+
}, {}>;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
component: import('vue').DefineComponent<{
|
|
3
|
+
modelValue: import('vue').PropType<string>;
|
|
4
|
+
required: {
|
|
5
|
+
type: import('vue').PropType<boolean>;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
label: {
|
|
9
|
+
type: import('vue').PropType<string>;
|
|
10
|
+
};
|
|
11
|
+
hint: {
|
|
12
|
+
type: import('vue').PropType<string>;
|
|
13
|
+
};
|
|
14
|
+
errorMsg: {
|
|
15
|
+
type: import('vue').PropType<string>;
|
|
16
|
+
};
|
|
17
|
+
placeholder: {
|
|
18
|
+
type: import('vue').PropType<string>;
|
|
19
|
+
};
|
|
20
|
+
rows: {
|
|
21
|
+
type: import('vue').PropType<number>;
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
25
|
+
modelValue: import('vue').PropType<string>;
|
|
26
|
+
required: {
|
|
27
|
+
type: import('vue').PropType<boolean>;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
label: {
|
|
31
|
+
type: import('vue').PropType<string>;
|
|
32
|
+
};
|
|
33
|
+
hint: {
|
|
34
|
+
type: import('vue').PropType<string>;
|
|
35
|
+
};
|
|
36
|
+
errorMsg: {
|
|
37
|
+
type: import('vue').PropType<string>;
|
|
38
|
+
};
|
|
39
|
+
placeholder: {
|
|
40
|
+
type: import('vue').PropType<string>;
|
|
41
|
+
};
|
|
42
|
+
rows: {
|
|
43
|
+
type: import('vue').PropType<number>;
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
}>>, {
|
|
47
|
+
required: boolean;
|
|
48
|
+
rows: number;
|
|
49
|
+
}, {}>;
|
|
50
|
+
title: string;
|
|
51
|
+
tags: string[];
|
|
52
|
+
parameters: {
|
|
53
|
+
docs: {
|
|
54
|
+
description: {
|
|
55
|
+
component: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
export default _default;
|
|
61
|
+
export declare const Default: {
|
|
62
|
+
args: {
|
|
63
|
+
placeholder: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export declare const Error: {
|
|
67
|
+
args: {
|
|
68
|
+
errorMsg: string;
|
|
69
|
+
placeholder: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
export declare const Required: {
|
|
73
|
+
args: {
|
|
74
|
+
required: boolean;
|
|
75
|
+
placeholder: string;
|
|
76
|
+
label: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export declare const BigTextArea: {
|
|
80
|
+
args: {
|
|
81
|
+
rows: number;
|
|
82
|
+
label: string;
|
|
83
|
+
hint: string;
|
|
84
|
+
placeholder: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
modelValue: import('vue').PropType<string>;
|
|
3
|
+
required: {
|
|
4
|
+
type: import('vue').PropType<boolean>;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
label: {
|
|
8
|
+
type: import('vue').PropType<string>;
|
|
9
|
+
};
|
|
10
|
+
hint: {
|
|
11
|
+
type: import('vue').PropType<string>;
|
|
12
|
+
};
|
|
13
|
+
errorMsg: {
|
|
14
|
+
type: import('vue').PropType<string>;
|
|
15
|
+
};
|
|
16
|
+
placeholder: {
|
|
17
|
+
type: import('vue').PropType<string>;
|
|
18
|
+
};
|
|
19
|
+
rows: {
|
|
20
|
+
type: import('vue').PropType<number>;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
24
|
+
modelValue: import('vue').PropType<string>;
|
|
25
|
+
required: {
|
|
26
|
+
type: import('vue').PropType<boolean>;
|
|
27
|
+
default: boolean;
|
|
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
|
+
rows: {
|
|
42
|
+
type: import('vue').PropType<number>;
|
|
43
|
+
default: number;
|
|
44
|
+
};
|
|
45
|
+
}>>, {
|
|
46
|
+
required: boolean;
|
|
47
|
+
rows: number;
|
|
48
|
+
}, {}>;
|
|
49
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Key for inject and provide
|
|
5
|
+
*
|
|
6
|
+
* @type {InjectionKey<RadioButtonGroupInjection>}
|
|
7
|
+
*/
|
|
8
|
+
export declare const RadioButtonGroupKey: InjectionKey<RadioButtonGroupInjection>;
|
|
9
|
+
/**
|
|
10
|
+
* Type getting injected / provided
|
|
11
|
+
*/
|
|
12
|
+
export type RadioButtonGroupInjection = {
|
|
13
|
+
/**
|
|
14
|
+
* Function for setting the value of the current selected radiobutton
|
|
15
|
+
* @param {RadioButtonValueTypes} value - Value being set as the new current selected radiobutton
|
|
16
|
+
*/
|
|
17
|
+
set: (value: RadioButtonValueTypes) => void;
|
|
18
|
+
/**
|
|
19
|
+
* Current value of the currently selected radiobutton
|
|
20
|
+
*/
|
|
21
|
+
modelValue: Readonly<Ref<RadioButtonValueTypes | undefined>>;
|
|
22
|
+
/**
|
|
23
|
+
* Deactivate all child radiobuttons
|
|
24
|
+
*/
|
|
25
|
+
disabled: Readonly<Ref<boolean>>;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Different possible types used as value for a radiobutton-values
|
|
29
|
+
*/
|
|
30
|
+
export type RadioButtonValueTypes = boolean | string | unknown[] | Record<string, unknown> | number | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as MucCheckbox } from './MucCheckbox.vue';
|
|
2
|
+
import { default as MucCheckboxGroup } from './MucCheckboxGroup.vue';
|
|
3
|
+
import { default as MucErrorList } from './MucErrorList.vue';
|
|
4
|
+
import { default as MucForm } from './MucInput.vue';
|
|
5
|
+
import { default as MucRadioButton } from './MucRadioButton.vue';
|
|
6
|
+
import { default as MucRadioButtonGroup } from './MucRadioButtonGroup.vue';
|
|
7
|
+
import { default as MucSingleSelect } from './MucSelect.vue';
|
|
8
|
+
import { default as MucTextArea } from './MucTextArea.vue';
|
|
9
|
+
|
|
10
|
+
export { MucForm, MucCheckbox, MucCheckboxGroup, MucRadioButtonGroup, MucInput, MucRadioButton, MucTextArea, MucSingleSelect, MucErrorList, MucSelect, };
|
|
@@ -3,7 +3,8 @@ import { MucButton } from './Button';
|
|
|
3
3
|
import { MucCallout } from './Callout';
|
|
4
4
|
import { MucCard, MucCardContainer } from './Card';
|
|
5
5
|
import { MucComment, MucCommentText } from './Comment/';
|
|
6
|
+
import { MucForm } from './Form';
|
|
6
7
|
import { MucIcon } from './Icon';
|
|
7
8
|
import { MucIntro } from './Intro';
|
|
8
9
|
|
|
9
|
-
export { MucButton, MucBanner, MucIntro, MucCallout, MucCard, MucCardContainer, MucComment, MucCommentText, MucIcon, };
|
|
10
|
+
export { MucButton, MucBanner, MucIntro, MucCallout, MucCard, MucCardContainer, MucComment, MucCommentText, MucForm, MucIcon, };
|