@ghentcdh/ui 1.1.1 → 3.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.
- package/ControlWrapper-DejmeYzV.js +1 -0
- package/ControlWrapper-DqO2d36v.js +152 -0
- package/Markdown-DcpBYoNe.js +1 -0
- package/Markdown-Dj1gzJJq.js +59 -0
- package/button/Btn.properties.d.ts +6 -2
- package/button/btn.vue.d.ts +15 -5
- package/const/colors.d.ts +2 -1
- package/drawer/drawer.properties.d.ts +4 -0
- package/drawer/drawer.vue.d.ts +9 -0
- package/filter/filter.vue.d.ts +1 -1
- package/form/Checkbox.properties.d.ts +14 -1
- package/form/Checkbox.vue.d.ts +41 -8
- package/form/Input.properties.d.ts +18 -1
- package/form/Input.vue.d.ts +50 -8
- package/form/InputNumber.properties.d.ts +14 -1
- package/form/InputNumber.vue.d.ts +41 -8
- package/form/Textarea.properties.d.ts +26 -1
- package/form/Textarea.vue.d.ts +68 -8
- package/form/core/ControlWrapper.properties.d.ts +54 -1
- package/form/core/ControlWrapper.vue.d.ts +42 -8
- package/form/core/properties.d.ts +2 -16
- package/form/core/styles.d.ts +1 -1
- package/form/core/utils/style.d.ts +3 -3
- package/form/index.d.ts +273 -1
- package/form/select/AutoComplete.properties.d.ts +27 -2
- package/form/select/AutoComplete.vue.d.ts +75 -15
- package/form/select/ListResults.properties.d.ts +7 -1
- package/form/select/ListResults.vue.d.ts +12 -3
- package/form/select/MultiSelect.vue.d.ts +73 -13
- package/form/select/SelectComponent.vue.d.ts +61 -10
- package/form/select/SelectWrapper.properties.d.ts +57 -9
- package/form/select/SelectWrapper.vue.d.ts +99 -17
- package/form/text/Markdown.vue.d.ts +41 -8
- package/form/text/MarkdownComponent.properties.d.ts +14 -1
- package/form/text/MarkdownFallback.vue.d.ts +267 -0
- package/icons/icon-list.d.ts +3 -1
- package/index.css +3 -1
- package/index.d.ts +1 -0
- package/index.js +2 -2
- package/index.mjs +2318 -2359
- package/modal/modal.vue.d.ts +1 -0
- package/package.json +26 -16
- package/table/cells/text.cell.vue.d.ts +1 -1
- package/table/column.model.d.ts +6 -0
- package/table/header/sort.header.properties.d.ts +1 -1
- package/table/header/sort.header.vue.d.ts +2 -2
- package/table/index.d.ts +2 -0
- package/table/pagination.component.properties.d.ts +5 -0
- package/table/pagination.component.vue.d.ts +9 -0
- package/table/table.component.properties.d.ts +4 -0
- package/table/table.component.vue.d.ts +9 -0
- package/table/table.model.d.ts +4 -1
- package/testing.js +1 -1
- package/testing.mjs +338 -419
- package/test-utils/withSetup.d.ts +0 -4
package/form/Input.vue.d.ts
CHANGED
|
@@ -3,20 +3,29 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
|
+
clearable: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
6
10
|
id: {
|
|
7
11
|
type: StringConstructor;
|
|
12
|
+
default: undefined;
|
|
8
13
|
};
|
|
9
14
|
placeholder: {
|
|
10
15
|
type: StringConstructor;
|
|
16
|
+
default: undefined;
|
|
11
17
|
};
|
|
12
18
|
description: {
|
|
13
19
|
type: StringConstructor;
|
|
20
|
+
default: undefined;
|
|
14
21
|
};
|
|
15
22
|
errors: {
|
|
16
23
|
type: StringConstructor;
|
|
24
|
+
default: undefined;
|
|
17
25
|
};
|
|
18
26
|
label: {
|
|
19
27
|
type: StringConstructor;
|
|
28
|
+
default: undefined;
|
|
20
29
|
};
|
|
21
30
|
visible: {
|
|
22
31
|
type: BooleanConstructor;
|
|
@@ -68,7 +77,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
68
77
|
readonly label: "fieldset-legend";
|
|
69
78
|
readonly error: "";
|
|
70
79
|
readonly input: "input";
|
|
71
|
-
readonly textarea: "
|
|
80
|
+
readonly textarea: "textarea h-32";
|
|
72
81
|
readonly checkbox: "checkbox";
|
|
73
82
|
readonly select: "input pr-14";
|
|
74
83
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -83,6 +92,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
83
92
|
type: StringConstructor;
|
|
84
93
|
default: string;
|
|
85
94
|
};
|
|
95
|
+
size: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: undefined;
|
|
98
|
+
};
|
|
99
|
+
hideErrors: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
86
103
|
modelValue: {
|
|
87
104
|
type: import('vue').PropType<any>;
|
|
88
105
|
};
|
|
@@ -93,20 +110,29 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
93
110
|
type: StringConstructor;
|
|
94
111
|
default: string;
|
|
95
112
|
};
|
|
113
|
+
clearable: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
96
117
|
id: {
|
|
97
118
|
type: StringConstructor;
|
|
119
|
+
default: undefined;
|
|
98
120
|
};
|
|
99
121
|
placeholder: {
|
|
100
122
|
type: StringConstructor;
|
|
123
|
+
default: undefined;
|
|
101
124
|
};
|
|
102
125
|
description: {
|
|
103
126
|
type: StringConstructor;
|
|
127
|
+
default: undefined;
|
|
104
128
|
};
|
|
105
129
|
errors: {
|
|
106
130
|
type: StringConstructor;
|
|
131
|
+
default: undefined;
|
|
107
132
|
};
|
|
108
133
|
label: {
|
|
109
134
|
type: StringConstructor;
|
|
135
|
+
default: undefined;
|
|
110
136
|
};
|
|
111
137
|
visible: {
|
|
112
138
|
type: BooleanConstructor;
|
|
@@ -158,7 +184,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
158
184
|
readonly label: "fieldset-legend";
|
|
159
185
|
readonly error: "";
|
|
160
186
|
readonly input: "input";
|
|
161
|
-
readonly textarea: "
|
|
187
|
+
readonly textarea: "textarea h-32";
|
|
162
188
|
readonly checkbox: "checkbox";
|
|
163
189
|
readonly select: "input pr-14";
|
|
164
190
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -173,15 +199,34 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
173
199
|
type: StringConstructor;
|
|
174
200
|
default: string;
|
|
175
201
|
};
|
|
202
|
+
size: {
|
|
203
|
+
type: StringConstructor;
|
|
204
|
+
default: undefined;
|
|
205
|
+
};
|
|
206
|
+
hideErrors: {
|
|
207
|
+
type: BooleanConstructor;
|
|
208
|
+
default: boolean;
|
|
209
|
+
};
|
|
176
210
|
modelValue: {
|
|
177
211
|
type: import('vue').PropType<any>;
|
|
178
212
|
};
|
|
179
213
|
}>> & Readonly<{
|
|
180
214
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
181
215
|
}>, {
|
|
216
|
+
size: string;
|
|
217
|
+
label: string;
|
|
182
218
|
type: string;
|
|
183
219
|
required: boolean;
|
|
220
|
+
id: string;
|
|
221
|
+
placeholder: string;
|
|
184
222
|
width: string;
|
|
223
|
+
visible: boolean;
|
|
224
|
+
errors: string;
|
|
225
|
+
isTouched: boolean;
|
|
226
|
+
description: string;
|
|
227
|
+
enabled: boolean;
|
|
228
|
+
isFocused: boolean;
|
|
229
|
+
hideLabel: boolean;
|
|
185
230
|
styles: {
|
|
186
231
|
readonly group: {
|
|
187
232
|
readonly root: "group";
|
|
@@ -206,7 +251,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
206
251
|
readonly label: "fieldset-legend";
|
|
207
252
|
readonly error: "";
|
|
208
253
|
readonly input: "input";
|
|
209
|
-
readonly textarea: "
|
|
254
|
+
readonly textarea: "textarea h-32";
|
|
210
255
|
readonly checkbox: "checkbox";
|
|
211
256
|
readonly select: "input pr-14";
|
|
212
257
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -216,10 +261,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
216
261
|
readonly item: "w-full";
|
|
217
262
|
};
|
|
218
263
|
};
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
visible: boolean;
|
|
222
|
-
enabled: boolean;
|
|
223
|
-
isFocused: boolean;
|
|
264
|
+
hideErrors: boolean;
|
|
265
|
+
clearable: boolean;
|
|
224
266
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFieldSetElement>;
|
|
225
267
|
export default _default;
|
|
@@ -5,18 +5,23 @@ export declare const InputNumberProperties: {
|
|
|
5
5
|
};
|
|
6
6
|
id: {
|
|
7
7
|
type: StringConstructor;
|
|
8
|
+
default: undefined;
|
|
8
9
|
};
|
|
9
10
|
placeholder: {
|
|
10
11
|
type: StringConstructor;
|
|
12
|
+
default: undefined;
|
|
11
13
|
};
|
|
12
14
|
description: {
|
|
13
15
|
type: StringConstructor;
|
|
16
|
+
default: undefined;
|
|
14
17
|
};
|
|
15
18
|
errors: {
|
|
16
19
|
type: StringConstructor;
|
|
20
|
+
default: undefined;
|
|
17
21
|
};
|
|
18
22
|
label: {
|
|
19
23
|
type: StringConstructor;
|
|
24
|
+
default: undefined;
|
|
20
25
|
};
|
|
21
26
|
visible: {
|
|
22
27
|
type: BooleanConstructor;
|
|
@@ -68,7 +73,7 @@ export declare const InputNumberProperties: {
|
|
|
68
73
|
readonly label: "fieldset-legend";
|
|
69
74
|
readonly error: "";
|
|
70
75
|
readonly input: "input";
|
|
71
|
-
readonly textarea: "
|
|
76
|
+
readonly textarea: "textarea h-32";
|
|
72
77
|
readonly checkbox: "checkbox";
|
|
73
78
|
readonly select: "input pr-14";
|
|
74
79
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -83,5 +88,13 @@ export declare const InputNumberProperties: {
|
|
|
83
88
|
type: StringConstructor;
|
|
84
89
|
default: string;
|
|
85
90
|
};
|
|
91
|
+
size: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: undefined;
|
|
94
|
+
};
|
|
95
|
+
hideErrors: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
86
99
|
};
|
|
87
100
|
export declare const InputNumberEmits: string[];
|
|
@@ -5,18 +5,23 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
5
5
|
};
|
|
6
6
|
id: {
|
|
7
7
|
type: StringConstructor;
|
|
8
|
+
default: undefined;
|
|
8
9
|
};
|
|
9
10
|
placeholder: {
|
|
10
11
|
type: StringConstructor;
|
|
12
|
+
default: undefined;
|
|
11
13
|
};
|
|
12
14
|
description: {
|
|
13
15
|
type: StringConstructor;
|
|
16
|
+
default: undefined;
|
|
14
17
|
};
|
|
15
18
|
errors: {
|
|
16
19
|
type: StringConstructor;
|
|
20
|
+
default: undefined;
|
|
17
21
|
};
|
|
18
22
|
label: {
|
|
19
23
|
type: StringConstructor;
|
|
24
|
+
default: undefined;
|
|
20
25
|
};
|
|
21
26
|
visible: {
|
|
22
27
|
type: BooleanConstructor;
|
|
@@ -68,7 +73,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
68
73
|
readonly label: "fieldset-legend";
|
|
69
74
|
readonly error: "";
|
|
70
75
|
readonly input: "input";
|
|
71
|
-
readonly textarea: "
|
|
76
|
+
readonly textarea: "textarea h-32";
|
|
72
77
|
readonly checkbox: "checkbox";
|
|
73
78
|
readonly select: "input pr-14";
|
|
74
79
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -83,6 +88,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
83
88
|
type: StringConstructor;
|
|
84
89
|
default: string;
|
|
85
90
|
};
|
|
91
|
+
size: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: undefined;
|
|
94
|
+
};
|
|
95
|
+
hideErrors: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
86
99
|
modelValue: {
|
|
87
100
|
type: import('vue').PropType<any>;
|
|
88
101
|
};
|
|
@@ -95,18 +108,23 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
95
108
|
};
|
|
96
109
|
id: {
|
|
97
110
|
type: StringConstructor;
|
|
111
|
+
default: undefined;
|
|
98
112
|
};
|
|
99
113
|
placeholder: {
|
|
100
114
|
type: StringConstructor;
|
|
115
|
+
default: undefined;
|
|
101
116
|
};
|
|
102
117
|
description: {
|
|
103
118
|
type: StringConstructor;
|
|
119
|
+
default: undefined;
|
|
104
120
|
};
|
|
105
121
|
errors: {
|
|
106
122
|
type: StringConstructor;
|
|
123
|
+
default: undefined;
|
|
107
124
|
};
|
|
108
125
|
label: {
|
|
109
126
|
type: StringConstructor;
|
|
127
|
+
default: undefined;
|
|
110
128
|
};
|
|
111
129
|
visible: {
|
|
112
130
|
type: BooleanConstructor;
|
|
@@ -158,7 +176,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
158
176
|
readonly label: "fieldset-legend";
|
|
159
177
|
readonly error: "";
|
|
160
178
|
readonly input: "input";
|
|
161
|
-
readonly textarea: "
|
|
179
|
+
readonly textarea: "textarea h-32";
|
|
162
180
|
readonly checkbox: "checkbox";
|
|
163
181
|
readonly select: "input pr-14";
|
|
164
182
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -173,14 +191,33 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
173
191
|
type: StringConstructor;
|
|
174
192
|
default: string;
|
|
175
193
|
};
|
|
194
|
+
size: {
|
|
195
|
+
type: StringConstructor;
|
|
196
|
+
default: undefined;
|
|
197
|
+
};
|
|
198
|
+
hideErrors: {
|
|
199
|
+
type: BooleanConstructor;
|
|
200
|
+
default: boolean;
|
|
201
|
+
};
|
|
176
202
|
modelValue: {
|
|
177
203
|
type: import('vue').PropType<any>;
|
|
178
204
|
};
|
|
179
205
|
}>> & Readonly<{
|
|
180
206
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
181
207
|
}>, {
|
|
208
|
+
size: string;
|
|
209
|
+
label: string;
|
|
182
210
|
required: boolean;
|
|
211
|
+
id: string;
|
|
212
|
+
placeholder: string;
|
|
183
213
|
width: string;
|
|
214
|
+
visible: boolean;
|
|
215
|
+
errors: string;
|
|
216
|
+
isTouched: boolean;
|
|
217
|
+
description: string;
|
|
218
|
+
enabled: boolean;
|
|
219
|
+
isFocused: boolean;
|
|
220
|
+
hideLabel: boolean;
|
|
184
221
|
styles: {
|
|
185
222
|
readonly group: {
|
|
186
223
|
readonly root: "group";
|
|
@@ -205,7 +242,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
205
242
|
readonly label: "fieldset-legend";
|
|
206
243
|
readonly error: "";
|
|
207
244
|
readonly input: "input";
|
|
208
|
-
readonly textarea: "
|
|
245
|
+
readonly textarea: "textarea h-32";
|
|
209
246
|
readonly checkbox: "checkbox";
|
|
210
247
|
readonly select: "input pr-14";
|
|
211
248
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -215,11 +252,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
215
252
|
readonly item: "w-full";
|
|
216
253
|
};
|
|
217
254
|
};
|
|
218
|
-
|
|
219
|
-
isTouched: boolean;
|
|
220
|
-
visible: boolean;
|
|
221
|
-
enabled: boolean;
|
|
222
|
-
isFocused: boolean;
|
|
255
|
+
hideErrors: boolean;
|
|
223
256
|
steps: number;
|
|
224
257
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFieldSetElement>;
|
|
225
258
|
export default _default;
|
|
@@ -3,20 +3,37 @@ export declare const TextareaProperties: {
|
|
|
3
3
|
type: NumberConstructor;
|
|
4
4
|
default: number;
|
|
5
5
|
};
|
|
6
|
+
dir: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
height: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
minHeight: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
6
18
|
id: {
|
|
7
19
|
type: StringConstructor;
|
|
20
|
+
default: undefined;
|
|
8
21
|
};
|
|
9
22
|
placeholder: {
|
|
10
23
|
type: StringConstructor;
|
|
24
|
+
default: undefined;
|
|
11
25
|
};
|
|
12
26
|
description: {
|
|
13
27
|
type: StringConstructor;
|
|
28
|
+
default: undefined;
|
|
14
29
|
};
|
|
15
30
|
errors: {
|
|
16
31
|
type: StringConstructor;
|
|
32
|
+
default: undefined;
|
|
17
33
|
};
|
|
18
34
|
label: {
|
|
19
35
|
type: StringConstructor;
|
|
36
|
+
default: undefined;
|
|
20
37
|
};
|
|
21
38
|
visible: {
|
|
22
39
|
type: BooleanConstructor;
|
|
@@ -68,7 +85,7 @@ export declare const TextareaProperties: {
|
|
|
68
85
|
readonly label: "fieldset-legend";
|
|
69
86
|
readonly error: "";
|
|
70
87
|
readonly input: "input";
|
|
71
|
-
readonly textarea: "
|
|
88
|
+
readonly textarea: "textarea h-32";
|
|
72
89
|
readonly checkbox: "checkbox";
|
|
73
90
|
readonly select: "input pr-14";
|
|
74
91
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -83,5 +100,13 @@ export declare const TextareaProperties: {
|
|
|
83
100
|
type: StringConstructor;
|
|
84
101
|
default: string;
|
|
85
102
|
};
|
|
103
|
+
size: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: undefined;
|
|
106
|
+
};
|
|
107
|
+
hideErrors: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
86
111
|
};
|
|
87
112
|
export declare const TextareaEmits: string[];
|
package/form/Textarea.vue.d.ts
CHANGED
|
@@ -3,20 +3,37 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
3
3
|
type: NumberConstructor;
|
|
4
4
|
default: number;
|
|
5
5
|
};
|
|
6
|
+
dir: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
height: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
minHeight: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
6
18
|
id: {
|
|
7
19
|
type: StringConstructor;
|
|
20
|
+
default: undefined;
|
|
8
21
|
};
|
|
9
22
|
placeholder: {
|
|
10
23
|
type: StringConstructor;
|
|
24
|
+
default: undefined;
|
|
11
25
|
};
|
|
12
26
|
description: {
|
|
13
27
|
type: StringConstructor;
|
|
28
|
+
default: undefined;
|
|
14
29
|
};
|
|
15
30
|
errors: {
|
|
16
31
|
type: StringConstructor;
|
|
32
|
+
default: undefined;
|
|
17
33
|
};
|
|
18
34
|
label: {
|
|
19
35
|
type: StringConstructor;
|
|
36
|
+
default: undefined;
|
|
20
37
|
};
|
|
21
38
|
visible: {
|
|
22
39
|
type: BooleanConstructor;
|
|
@@ -68,7 +85,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
68
85
|
readonly label: "fieldset-legend";
|
|
69
86
|
readonly error: "";
|
|
70
87
|
readonly input: "input";
|
|
71
|
-
readonly textarea: "
|
|
88
|
+
readonly textarea: "textarea h-32";
|
|
72
89
|
readonly checkbox: "checkbox";
|
|
73
90
|
readonly select: "input pr-14";
|
|
74
91
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -83,6 +100,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
83
100
|
type: StringConstructor;
|
|
84
101
|
default: string;
|
|
85
102
|
};
|
|
103
|
+
size: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: undefined;
|
|
106
|
+
};
|
|
107
|
+
hideErrors: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
86
111
|
modelValue: {
|
|
87
112
|
type: import('vue').PropType<string>;
|
|
88
113
|
};
|
|
@@ -93,20 +118,37 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
93
118
|
type: NumberConstructor;
|
|
94
119
|
default: number;
|
|
95
120
|
};
|
|
121
|
+
dir: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
height: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: undefined;
|
|
128
|
+
};
|
|
129
|
+
minHeight: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: undefined;
|
|
132
|
+
};
|
|
96
133
|
id: {
|
|
97
134
|
type: StringConstructor;
|
|
135
|
+
default: undefined;
|
|
98
136
|
};
|
|
99
137
|
placeholder: {
|
|
100
138
|
type: StringConstructor;
|
|
139
|
+
default: undefined;
|
|
101
140
|
};
|
|
102
141
|
description: {
|
|
103
142
|
type: StringConstructor;
|
|
143
|
+
default: undefined;
|
|
104
144
|
};
|
|
105
145
|
errors: {
|
|
106
146
|
type: StringConstructor;
|
|
147
|
+
default: undefined;
|
|
107
148
|
};
|
|
108
149
|
label: {
|
|
109
150
|
type: StringConstructor;
|
|
151
|
+
default: undefined;
|
|
110
152
|
};
|
|
111
153
|
visible: {
|
|
112
154
|
type: BooleanConstructor;
|
|
@@ -158,7 +200,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
158
200
|
readonly label: "fieldset-legend";
|
|
159
201
|
readonly error: "";
|
|
160
202
|
readonly input: "input";
|
|
161
|
-
readonly textarea: "
|
|
203
|
+
readonly textarea: "textarea h-32";
|
|
162
204
|
readonly checkbox: "checkbox";
|
|
163
205
|
readonly select: "input pr-14";
|
|
164
206
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -173,14 +215,34 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
173
215
|
type: StringConstructor;
|
|
174
216
|
default: string;
|
|
175
217
|
};
|
|
218
|
+
size: {
|
|
219
|
+
type: StringConstructor;
|
|
220
|
+
default: undefined;
|
|
221
|
+
};
|
|
222
|
+
hideErrors: {
|
|
223
|
+
type: BooleanConstructor;
|
|
224
|
+
default: boolean;
|
|
225
|
+
};
|
|
176
226
|
modelValue: {
|
|
177
227
|
type: import('vue').PropType<string>;
|
|
178
228
|
};
|
|
179
229
|
}>> & Readonly<{
|
|
180
230
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
181
231
|
}>, {
|
|
232
|
+
size: string;
|
|
233
|
+
label: string;
|
|
182
234
|
required: boolean;
|
|
235
|
+
dir: string;
|
|
236
|
+
id: string;
|
|
237
|
+
placeholder: string;
|
|
183
238
|
width: string;
|
|
239
|
+
visible: boolean;
|
|
240
|
+
errors: string;
|
|
241
|
+
isTouched: boolean;
|
|
242
|
+
description: string;
|
|
243
|
+
enabled: boolean;
|
|
244
|
+
isFocused: boolean;
|
|
245
|
+
hideLabel: boolean;
|
|
184
246
|
styles: {
|
|
185
247
|
readonly group: {
|
|
186
248
|
readonly root: "group";
|
|
@@ -205,7 +267,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
205
267
|
readonly label: "fieldset-legend";
|
|
206
268
|
readonly error: "";
|
|
207
269
|
readonly input: "input";
|
|
208
|
-
readonly textarea: "
|
|
270
|
+
readonly textarea: "textarea h-32";
|
|
209
271
|
readonly checkbox: "checkbox";
|
|
210
272
|
readonly select: "input pr-14";
|
|
211
273
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -215,11 +277,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
215
277
|
readonly item: "w-full";
|
|
216
278
|
};
|
|
217
279
|
};
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
visible: boolean;
|
|
221
|
-
enabled: boolean;
|
|
222
|
-
isFocused: boolean;
|
|
280
|
+
hideErrors: boolean;
|
|
281
|
+
minHeight: string;
|
|
223
282
|
rows: number;
|
|
283
|
+
height: string;
|
|
224
284
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFieldSetElement>;
|
|
225
285
|
export default _default;
|
|
@@ -1,20 +1,65 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { MyStyles } from '../core/styles';
|
|
3
|
+
/**
|
|
4
|
+
* Props shared by all form control wrappers (ControlWrapper, ReadonlyWrapper, etc.).
|
|
5
|
+
* Extend this interface for component-specific props.
|
|
6
|
+
*/
|
|
7
|
+
export interface ControlWrapperProps {
|
|
8
|
+
/** Unique identifier for the control element. */
|
|
9
|
+
id?: string;
|
|
10
|
+
/** Placeholder text shown when the control is empty. */
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
/** Help text displayed below the control. */
|
|
13
|
+
description?: string;
|
|
14
|
+
/** Error message displayed below the control. */
|
|
15
|
+
errors?: string;
|
|
16
|
+
/** Label text displayed above the control. */
|
|
17
|
+
label?: string;
|
|
18
|
+
/** Whether the description is visible. @default false */
|
|
19
|
+
visible?: boolean;
|
|
20
|
+
/** Whether the field is required (shows asterisk). @default false */
|
|
21
|
+
required?: boolean;
|
|
22
|
+
/** Whether the control accepts input. @default true */
|
|
23
|
+
enabled?: boolean;
|
|
24
|
+
/** Whether the control currently has focus. @default false */
|
|
25
|
+
isFocused?: boolean;
|
|
26
|
+
/** Whether the control has been interacted with. @default false */
|
|
27
|
+
isTouched?: boolean;
|
|
28
|
+
/** Hide the label above the control. @default false */
|
|
29
|
+
hideLabel?: boolean;
|
|
30
|
+
/** Style overrides merged with default styles. @default myStyles */
|
|
31
|
+
styles?: MyStyles;
|
|
32
|
+
/** Tailwind width class applied to the wrapper. @default '!w-48' */
|
|
33
|
+
width?: string;
|
|
34
|
+
/** Size variant for the control. */
|
|
35
|
+
size?: string;
|
|
36
|
+
/** Hide the error/description message area. @default false */
|
|
37
|
+
hideErrors?: boolean;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Runtime Vue props definition for {@link ControlWrapperProps}.
|
|
41
|
+
* Use with `defineProps()` or spread into other property objects.
|
|
42
|
+
*/
|
|
3
43
|
export declare const ControlWrapperProperties: {
|
|
4
44
|
id: {
|
|
5
45
|
type: StringConstructor;
|
|
46
|
+
default: undefined;
|
|
6
47
|
};
|
|
7
48
|
placeholder: {
|
|
8
49
|
type: StringConstructor;
|
|
50
|
+
default: undefined;
|
|
9
51
|
};
|
|
10
52
|
description: {
|
|
11
53
|
type: StringConstructor;
|
|
54
|
+
default: undefined;
|
|
12
55
|
};
|
|
13
56
|
errors: {
|
|
14
57
|
type: StringConstructor;
|
|
58
|
+
default: undefined;
|
|
15
59
|
};
|
|
16
60
|
label: {
|
|
17
61
|
type: StringConstructor;
|
|
62
|
+
default: undefined;
|
|
18
63
|
};
|
|
19
64
|
visible: {
|
|
20
65
|
type: BooleanConstructor;
|
|
@@ -66,7 +111,7 @@ export declare const ControlWrapperProperties: {
|
|
|
66
111
|
readonly label: "fieldset-legend";
|
|
67
112
|
readonly error: "";
|
|
68
113
|
readonly input: "input";
|
|
69
|
-
readonly textarea: "
|
|
114
|
+
readonly textarea: "textarea h-32";
|
|
70
115
|
readonly checkbox: "checkbox";
|
|
71
116
|
readonly select: "input pr-14";
|
|
72
117
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -81,4 +126,12 @@ export declare const ControlWrapperProperties: {
|
|
|
81
126
|
type: StringConstructor;
|
|
82
127
|
default: string;
|
|
83
128
|
};
|
|
129
|
+
size: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: undefined;
|
|
132
|
+
};
|
|
133
|
+
hideErrors: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
84
137
|
};
|