@ghentcdh/ui 1.1.0 → 2.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/Markdown-C7ZNnPQB.js +1 -0
- package/Markdown-OZGmR-pI.js +76 -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/form/Checkbox.properties.d.ts +14 -1
- package/form/Checkbox.vue.d.ts +37 -4
- package/form/Input.properties.d.ts +18 -1
- package/form/Input.vue.d.ts +46 -4
- package/form/InputNumber.properties.d.ts +14 -1
- package/form/InputNumber.vue.d.ts +37 -4
- package/form/Textarea.properties.d.ts +26 -1
- package/form/Textarea.vue.d.ts +64 -4
- package/form/core/ControlWrapper.properties.d.ts +54 -1
- package/form/core/ControlWrapper.vue.d.ts +38 -4
- 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 +67 -7
- 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 +67 -7
- package/form/select/SelectComponent.vue.d.ts +55 -4
- package/form/select/SelectWrapper.properties.d.ts +57 -9
- package/form/select/SelectWrapper.vue.d.ts +93 -11
- package/form/text/Markdown.vue.d.ts +37 -4
- 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-NGeplssl.js +2 -0
- package/index-WrdKkd9c.js +2633 -0
- package/index.css +1 -1
- package/index.d.ts +1 -0
- package/index.js +1 -2
- package/index.mjs +66 -2370
- package/modal/modal.vue.d.ts +1 -0
- package/package.json +14 -7
- 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/test-utils/withSetup.d.ts +0 -4
package/form/index.d.ts
CHANGED
|
@@ -1,11 +1,283 @@
|
|
|
1
1
|
export { default as SelectComponent } from './select/SelectComponent.vue';
|
|
2
2
|
export { default as ControlWrapper } from './core/ControlWrapper.vue';
|
|
3
|
+
export * from './core/ControlWrapper.properties';
|
|
3
4
|
export { default as Autocomplete } from './select/AutoComplete.vue';
|
|
4
5
|
export { default as MultiSelect } from './select/MultiSelect.vue';
|
|
5
6
|
export * from './core/styles';
|
|
6
7
|
export * from './core/utils/style';
|
|
7
8
|
export * from './core/properties';
|
|
8
|
-
|
|
9
|
+
/**
|
|
10
|
+
* The rich Markdown editor pulls in TipTap, which is an *optional* peer
|
|
11
|
+
* dependency. It is loaded lazily so consumers that never render Markdown do
|
|
12
|
+
* not need TipTap installed. If the import fails (TipTap absent), it degrades
|
|
13
|
+
* to a plain-textarea fallback instead of crashing.
|
|
14
|
+
*/
|
|
15
|
+
export declare const Markdown: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
16
|
+
width: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
minHeight: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
actions: {
|
|
25
|
+
type: import('vue').PropType<import('./text/MarkdownComponent.properties').ToolbarAction[]>;
|
|
26
|
+
default: () => import('./text/MarkdownComponent.properties').ToolbarAction[];
|
|
27
|
+
};
|
|
28
|
+
id: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
32
|
+
placeholder: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
description: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
errors: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
label: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
visible: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
required: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
enabled: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
isFocused: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
isTouched: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
hideLabel: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
styles: {
|
|
73
|
+
type: import('vue').PropType<import('./core/styles').MyStyles>;
|
|
74
|
+
default: () => {
|
|
75
|
+
readonly group: {
|
|
76
|
+
readonly root: "group";
|
|
77
|
+
readonly label: "text-primary text-lg font-bold";
|
|
78
|
+
readonly item: "group-item";
|
|
79
|
+
};
|
|
80
|
+
readonly verticalLayout: {
|
|
81
|
+
readonly root: "flex flex-col gap-x-2";
|
|
82
|
+
readonly item: "w-full";
|
|
83
|
+
};
|
|
84
|
+
readonly horizontalLayout: {
|
|
85
|
+
readonly root: "flex flex-row gap-x-2";
|
|
86
|
+
readonly item: "w-full";
|
|
87
|
+
};
|
|
88
|
+
readonly arrayList: {
|
|
89
|
+
readonly root: "fieldset";
|
|
90
|
+
readonly legend: "fieldset-legend text-xl capitalize";
|
|
91
|
+
};
|
|
92
|
+
readonly control: {
|
|
93
|
+
readonly root: "fieldset";
|
|
94
|
+
readonly wrapper: "fieldset";
|
|
95
|
+
readonly label: "fieldset-legend";
|
|
96
|
+
readonly error: "";
|
|
97
|
+
readonly input: "input";
|
|
98
|
+
readonly textarea: "textarea h-32";
|
|
99
|
+
readonly checkbox: "checkbox";
|
|
100
|
+
readonly select: "input pr-14";
|
|
101
|
+
readonly description: "form-control--description label text-xs text-gray-500";
|
|
102
|
+
};
|
|
103
|
+
readonly fixedArrayList: {
|
|
104
|
+
readonly root: "flex flex-row gap-x-2";
|
|
105
|
+
readonly item: "w-full";
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
size: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
default: undefined;
|
|
112
|
+
};
|
|
113
|
+
hideErrors: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
modelValue: {
|
|
118
|
+
type: import('vue').PropType<any>;
|
|
119
|
+
};
|
|
120
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
121
|
+
"update:modelValue": (value: any) => void;
|
|
122
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
123
|
+
width: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
minHeight: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
actions: {
|
|
132
|
+
type: import('vue').PropType<import('./text/MarkdownComponent.properties').ToolbarAction[]>;
|
|
133
|
+
default: () => import('./text/MarkdownComponent.properties').ToolbarAction[];
|
|
134
|
+
};
|
|
135
|
+
id: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
default: undefined;
|
|
138
|
+
};
|
|
139
|
+
placeholder: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
default: undefined;
|
|
142
|
+
};
|
|
143
|
+
description: {
|
|
144
|
+
type: StringConstructor;
|
|
145
|
+
default: undefined;
|
|
146
|
+
};
|
|
147
|
+
errors: {
|
|
148
|
+
type: StringConstructor;
|
|
149
|
+
default: undefined;
|
|
150
|
+
};
|
|
151
|
+
label: {
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
default: undefined;
|
|
154
|
+
};
|
|
155
|
+
visible: {
|
|
156
|
+
type: BooleanConstructor;
|
|
157
|
+
default: boolean;
|
|
158
|
+
};
|
|
159
|
+
required: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
enabled: {
|
|
164
|
+
type: BooleanConstructor;
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
167
|
+
isFocused: {
|
|
168
|
+
type: BooleanConstructor;
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
171
|
+
isTouched: {
|
|
172
|
+
type: BooleanConstructor;
|
|
173
|
+
default: boolean;
|
|
174
|
+
};
|
|
175
|
+
hideLabel: {
|
|
176
|
+
type: BooleanConstructor;
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
179
|
+
styles: {
|
|
180
|
+
type: import('vue').PropType<import('./core/styles').MyStyles>;
|
|
181
|
+
default: () => {
|
|
182
|
+
readonly group: {
|
|
183
|
+
readonly root: "group";
|
|
184
|
+
readonly label: "text-primary text-lg font-bold";
|
|
185
|
+
readonly item: "group-item";
|
|
186
|
+
};
|
|
187
|
+
readonly verticalLayout: {
|
|
188
|
+
readonly root: "flex flex-col gap-x-2";
|
|
189
|
+
readonly item: "w-full";
|
|
190
|
+
};
|
|
191
|
+
readonly horizontalLayout: {
|
|
192
|
+
readonly root: "flex flex-row gap-x-2";
|
|
193
|
+
readonly item: "w-full";
|
|
194
|
+
};
|
|
195
|
+
readonly arrayList: {
|
|
196
|
+
readonly root: "fieldset";
|
|
197
|
+
readonly legend: "fieldset-legend text-xl capitalize";
|
|
198
|
+
};
|
|
199
|
+
readonly control: {
|
|
200
|
+
readonly root: "fieldset";
|
|
201
|
+
readonly wrapper: "fieldset";
|
|
202
|
+
readonly label: "fieldset-legend";
|
|
203
|
+
readonly error: "";
|
|
204
|
+
readonly input: "input";
|
|
205
|
+
readonly textarea: "textarea h-32";
|
|
206
|
+
readonly checkbox: "checkbox";
|
|
207
|
+
readonly select: "input pr-14";
|
|
208
|
+
readonly description: "form-control--description label text-xs text-gray-500";
|
|
209
|
+
};
|
|
210
|
+
readonly fixedArrayList: {
|
|
211
|
+
readonly root: "flex flex-row gap-x-2";
|
|
212
|
+
readonly item: "w-full";
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
size: {
|
|
217
|
+
type: StringConstructor;
|
|
218
|
+
default: undefined;
|
|
219
|
+
};
|
|
220
|
+
hideErrors: {
|
|
221
|
+
type: BooleanConstructor;
|
|
222
|
+
default: boolean;
|
|
223
|
+
};
|
|
224
|
+
modelValue: {
|
|
225
|
+
type: import('vue').PropType<any>;
|
|
226
|
+
};
|
|
227
|
+
}>> & Readonly<{
|
|
228
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
229
|
+
}>, {
|
|
230
|
+
size: string;
|
|
231
|
+
label: string;
|
|
232
|
+
required: boolean;
|
|
233
|
+
id: string;
|
|
234
|
+
placeholder: string;
|
|
235
|
+
width: string;
|
|
236
|
+
actions: import('./text/MarkdownComponent.properties').ToolbarAction[];
|
|
237
|
+
styles: {
|
|
238
|
+
readonly group: {
|
|
239
|
+
readonly root: "group";
|
|
240
|
+
readonly label: "text-primary text-lg font-bold";
|
|
241
|
+
readonly item: "group-item";
|
|
242
|
+
};
|
|
243
|
+
readonly verticalLayout: {
|
|
244
|
+
readonly root: "flex flex-col gap-x-2";
|
|
245
|
+
readonly item: "w-full";
|
|
246
|
+
};
|
|
247
|
+
readonly horizontalLayout: {
|
|
248
|
+
readonly root: "flex flex-row gap-x-2";
|
|
249
|
+
readonly item: "w-full";
|
|
250
|
+
};
|
|
251
|
+
readonly arrayList: {
|
|
252
|
+
readonly root: "fieldset";
|
|
253
|
+
readonly legend: "fieldset-legend text-xl capitalize";
|
|
254
|
+
};
|
|
255
|
+
readonly control: {
|
|
256
|
+
readonly root: "fieldset";
|
|
257
|
+
readonly wrapper: "fieldset";
|
|
258
|
+
readonly label: "fieldset-legend";
|
|
259
|
+
readonly error: "";
|
|
260
|
+
readonly input: "input";
|
|
261
|
+
readonly textarea: "textarea h-32";
|
|
262
|
+
readonly checkbox: "checkbox";
|
|
263
|
+
readonly select: "input pr-14";
|
|
264
|
+
readonly description: "form-control--description label text-xs text-gray-500";
|
|
265
|
+
};
|
|
266
|
+
readonly fixedArrayList: {
|
|
267
|
+
readonly root: "flex flex-row gap-x-2";
|
|
268
|
+
readonly item: "w-full";
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
hideLabel: boolean;
|
|
272
|
+
minHeight: string;
|
|
273
|
+
visible: boolean;
|
|
274
|
+
errors: string;
|
|
275
|
+
isTouched: boolean;
|
|
276
|
+
description: string;
|
|
277
|
+
enabled: boolean;
|
|
278
|
+
isFocused: boolean;
|
|
279
|
+
hideErrors: boolean;
|
|
280
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFieldSetElement>;
|
|
9
281
|
export { default as Checkbox } from './Checkbox.vue';
|
|
10
282
|
export { default as Input } from './Input.vue';
|
|
11
283
|
export { default as InputNumber } from './InputNumber.vue';
|
|
@@ -38,12 +38,16 @@ export declare const AutocompleteProperties: {
|
|
|
38
38
|
};
|
|
39
39
|
query: {
|
|
40
40
|
type: StringConstructor;
|
|
41
|
-
default:
|
|
41
|
+
default: undefined;
|
|
42
42
|
};
|
|
43
43
|
isActive: {
|
|
44
44
|
type: FunctionConstructor;
|
|
45
45
|
default: (item: any) => boolean;
|
|
46
46
|
};
|
|
47
|
+
teleported: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
47
51
|
labelKey: {
|
|
48
52
|
type: StringConstructor;
|
|
49
53
|
default: string;
|
|
@@ -56,20 +60,33 @@ export declare const AutocompleteProperties: {
|
|
|
56
60
|
type: BooleanConstructor;
|
|
57
61
|
default: boolean;
|
|
58
62
|
};
|
|
63
|
+
clearable: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
value: {
|
|
68
|
+
type: import('vue').PropType<any>;
|
|
69
|
+
default: undefined;
|
|
70
|
+
};
|
|
59
71
|
id: {
|
|
60
72
|
type: StringConstructor;
|
|
73
|
+
default: undefined;
|
|
61
74
|
};
|
|
62
75
|
placeholder: {
|
|
63
76
|
type: StringConstructor;
|
|
77
|
+
default: undefined;
|
|
64
78
|
};
|
|
65
79
|
description: {
|
|
66
80
|
type: StringConstructor;
|
|
81
|
+
default: undefined;
|
|
67
82
|
};
|
|
68
83
|
errors: {
|
|
69
84
|
type: StringConstructor;
|
|
85
|
+
default: undefined;
|
|
70
86
|
};
|
|
71
87
|
label: {
|
|
72
88
|
type: StringConstructor;
|
|
89
|
+
default: undefined;
|
|
73
90
|
};
|
|
74
91
|
visible: {
|
|
75
92
|
type: BooleanConstructor;
|
|
@@ -121,7 +138,7 @@ export declare const AutocompleteProperties: {
|
|
|
121
138
|
readonly label: "fieldset-legend";
|
|
122
139
|
readonly error: "";
|
|
123
140
|
readonly input: "input";
|
|
124
|
-
readonly textarea: "
|
|
141
|
+
readonly textarea: "textarea h-32";
|
|
125
142
|
readonly checkbox: "checkbox";
|
|
126
143
|
readonly select: "input pr-14";
|
|
127
144
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -136,4 +153,12 @@ export declare const AutocompleteProperties: {
|
|
|
136
153
|
type: StringConstructor;
|
|
137
154
|
default: string;
|
|
138
155
|
};
|
|
156
|
+
size: {
|
|
157
|
+
type: StringConstructor;
|
|
158
|
+
default: undefined;
|
|
159
|
+
};
|
|
160
|
+
hideErrors: {
|
|
161
|
+
type: BooleanConstructor;
|
|
162
|
+
default: boolean;
|
|
163
|
+
};
|
|
139
164
|
};
|
|
@@ -30,12 +30,16 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
30
30
|
};
|
|
31
31
|
query: {
|
|
32
32
|
type: StringConstructor;
|
|
33
|
-
default:
|
|
33
|
+
default: undefined;
|
|
34
34
|
};
|
|
35
35
|
isActive: {
|
|
36
36
|
type: FunctionConstructor;
|
|
37
37
|
default: (item: any) => boolean;
|
|
38
38
|
};
|
|
39
|
+
teleported: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
39
43
|
labelKey: {
|
|
40
44
|
type: StringConstructor;
|
|
41
45
|
default: string;
|
|
@@ -48,20 +52,33 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
48
52
|
type: BooleanConstructor;
|
|
49
53
|
default: boolean;
|
|
50
54
|
};
|
|
55
|
+
clearable: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
value: {
|
|
60
|
+
type: import('vue').PropType<any>;
|
|
61
|
+
default: undefined;
|
|
62
|
+
};
|
|
51
63
|
id: {
|
|
52
64
|
type: StringConstructor;
|
|
65
|
+
default: undefined;
|
|
53
66
|
};
|
|
54
67
|
placeholder: {
|
|
55
68
|
type: StringConstructor;
|
|
69
|
+
default: undefined;
|
|
56
70
|
};
|
|
57
71
|
description: {
|
|
58
72
|
type: StringConstructor;
|
|
73
|
+
default: undefined;
|
|
59
74
|
};
|
|
60
75
|
errors: {
|
|
61
76
|
type: StringConstructor;
|
|
77
|
+
default: undefined;
|
|
62
78
|
};
|
|
63
79
|
label: {
|
|
64
80
|
type: StringConstructor;
|
|
81
|
+
default: undefined;
|
|
65
82
|
};
|
|
66
83
|
visible: {
|
|
67
84
|
type: BooleanConstructor;
|
|
@@ -113,7 +130,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
113
130
|
readonly label: "fieldset-legend";
|
|
114
131
|
readonly error: "";
|
|
115
132
|
readonly input: "input";
|
|
116
|
-
readonly textarea: "
|
|
133
|
+
readonly textarea: "textarea h-32";
|
|
117
134
|
readonly checkbox: "checkbox";
|
|
118
135
|
readonly select: "input pr-14";
|
|
119
136
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -128,6 +145,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
128
145
|
type: StringConstructor;
|
|
129
146
|
default: string;
|
|
130
147
|
};
|
|
148
|
+
size: {
|
|
149
|
+
type: StringConstructor;
|
|
150
|
+
default: undefined;
|
|
151
|
+
};
|
|
152
|
+
hideErrors: {
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
131
156
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
132
157
|
clear: () => any;
|
|
133
158
|
blur: (event: Event) => any;
|
|
@@ -165,12 +190,16 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
165
190
|
};
|
|
166
191
|
query: {
|
|
167
192
|
type: StringConstructor;
|
|
168
|
-
default:
|
|
193
|
+
default: undefined;
|
|
169
194
|
};
|
|
170
195
|
isActive: {
|
|
171
196
|
type: FunctionConstructor;
|
|
172
197
|
default: (item: any) => boolean;
|
|
173
198
|
};
|
|
199
|
+
teleported: {
|
|
200
|
+
type: BooleanConstructor;
|
|
201
|
+
default: boolean;
|
|
202
|
+
};
|
|
174
203
|
labelKey: {
|
|
175
204
|
type: StringConstructor;
|
|
176
205
|
default: string;
|
|
@@ -183,20 +212,33 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
183
212
|
type: BooleanConstructor;
|
|
184
213
|
default: boolean;
|
|
185
214
|
};
|
|
215
|
+
clearable: {
|
|
216
|
+
type: BooleanConstructor;
|
|
217
|
+
default: boolean;
|
|
218
|
+
};
|
|
219
|
+
value: {
|
|
220
|
+
type: import('vue').PropType<any>;
|
|
221
|
+
default: undefined;
|
|
222
|
+
};
|
|
186
223
|
id: {
|
|
187
224
|
type: StringConstructor;
|
|
225
|
+
default: undefined;
|
|
188
226
|
};
|
|
189
227
|
placeholder: {
|
|
190
228
|
type: StringConstructor;
|
|
229
|
+
default: undefined;
|
|
191
230
|
};
|
|
192
231
|
description: {
|
|
193
232
|
type: StringConstructor;
|
|
233
|
+
default: undefined;
|
|
194
234
|
};
|
|
195
235
|
errors: {
|
|
196
236
|
type: StringConstructor;
|
|
237
|
+
default: undefined;
|
|
197
238
|
};
|
|
198
239
|
label: {
|
|
199
240
|
type: StringConstructor;
|
|
241
|
+
default: undefined;
|
|
200
242
|
};
|
|
201
243
|
visible: {
|
|
202
244
|
type: BooleanConstructor;
|
|
@@ -248,7 +290,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
248
290
|
readonly label: "fieldset-legend";
|
|
249
291
|
readonly error: "";
|
|
250
292
|
readonly input: "input";
|
|
251
|
-
readonly textarea: "
|
|
293
|
+
readonly textarea: "textarea h-32";
|
|
252
294
|
readonly checkbox: "checkbox";
|
|
253
295
|
readonly select: "input pr-14";
|
|
254
296
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -263,6 +305,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
263
305
|
type: StringConstructor;
|
|
264
306
|
default: string;
|
|
265
307
|
};
|
|
308
|
+
size: {
|
|
309
|
+
type: StringConstructor;
|
|
310
|
+
default: undefined;
|
|
311
|
+
};
|
|
312
|
+
hideErrors: {
|
|
313
|
+
type: BooleanConstructor;
|
|
314
|
+
default: boolean;
|
|
315
|
+
};
|
|
266
316
|
}>> & Readonly<{
|
|
267
317
|
onClear?: (() => any) | undefined;
|
|
268
318
|
onBlur?: ((event: Event) => any) | undefined;
|
|
@@ -270,10 +320,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
270
320
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
271
321
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
272
322
|
}>, {
|
|
323
|
+
size: string;
|
|
324
|
+
label: string;
|
|
273
325
|
required: boolean;
|
|
326
|
+
id: string;
|
|
327
|
+
placeholder: string;
|
|
274
328
|
isActive: Function;
|
|
275
329
|
query: string;
|
|
276
330
|
width: string;
|
|
331
|
+
value: any;
|
|
277
332
|
labelKey: string;
|
|
278
333
|
valueKey: string;
|
|
279
334
|
styles: {
|
|
@@ -300,7 +355,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
300
355
|
readonly label: "fieldset-legend";
|
|
301
356
|
readonly error: "";
|
|
302
357
|
readonly input: "input";
|
|
303
|
-
readonly textarea: "
|
|
358
|
+
readonly textarea: "textarea h-32";
|
|
304
359
|
readonly checkbox: "checkbox";
|
|
305
360
|
readonly select: "input pr-14";
|
|
306
361
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -313,12 +368,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
313
368
|
hideLabel: boolean;
|
|
314
369
|
freeText: boolean;
|
|
315
370
|
enableCreate: boolean;
|
|
316
|
-
isLoading: boolean;
|
|
317
|
-
isTouched: boolean;
|
|
318
371
|
visible: boolean;
|
|
372
|
+
errors: string;
|
|
373
|
+
isTouched: boolean;
|
|
374
|
+
description: string;
|
|
319
375
|
enabled: boolean;
|
|
320
376
|
isFocused: boolean;
|
|
377
|
+
hideErrors: boolean;
|
|
321
378
|
modelValue: string | Record<string, any>;
|
|
379
|
+
isLoading: boolean;
|
|
380
|
+
teleported: boolean;
|
|
381
|
+
clearable: boolean;
|
|
322
382
|
fetchOptions: Function;
|
|
323
383
|
debounceMs: number;
|
|
324
384
|
maxResults: number;
|
|
@@ -2,6 +2,7 @@ import { PropType } from 'vue';
|
|
|
2
2
|
export type OptionValue = {
|
|
3
3
|
label: string;
|
|
4
4
|
value: string;
|
|
5
|
+
disabled?: boolean;
|
|
5
6
|
};
|
|
6
7
|
export declare const ListResultsEmits: string[];
|
|
7
8
|
export declare const ListProperties: {
|
|
@@ -15,10 +16,15 @@ export declare const ListProperties: {
|
|
|
15
16
|
};
|
|
16
17
|
query: {
|
|
17
18
|
type: StringConstructor;
|
|
18
|
-
default:
|
|
19
|
+
default: undefined;
|
|
19
20
|
};
|
|
20
21
|
isActive: {
|
|
21
22
|
type: FunctionConstructor;
|
|
22
23
|
default: (item: any) => boolean;
|
|
23
24
|
};
|
|
25
|
+
/** When true the list is teleported to <body>; positioning is handled via inline style from the parent */
|
|
26
|
+
teleported: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
24
30
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OptionValue } from './ListResults.properties';
|
|
2
|
-
export declare function highlight(text: string, query: string): string;
|
|
2
|
+
export declare function highlight(isActive: boolean, text: string, query: string): string;
|
|
3
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
options: {
|
|
5
5
|
type: import('vue').PropType<Array<OptionValue>>;
|
|
@@ -11,12 +11,16 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
11
|
};
|
|
12
12
|
query: {
|
|
13
13
|
type: StringConstructor;
|
|
14
|
-
default:
|
|
14
|
+
default: undefined;
|
|
15
15
|
};
|
|
16
16
|
isActive: {
|
|
17
17
|
type: FunctionConstructor;
|
|
18
18
|
default: (item: any) => boolean;
|
|
19
19
|
};
|
|
20
|
+
teleported: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
20
24
|
}>, {
|
|
21
25
|
handleKeydown: (e: KeyboardEvent) => void;
|
|
22
26
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -30,16 +34,21 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
30
34
|
};
|
|
31
35
|
query: {
|
|
32
36
|
type: StringConstructor;
|
|
33
|
-
default:
|
|
37
|
+
default: undefined;
|
|
34
38
|
};
|
|
35
39
|
isActive: {
|
|
36
40
|
type: FunctionConstructor;
|
|
37
41
|
default: (item: any) => boolean;
|
|
38
42
|
};
|
|
43
|
+
teleported: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
39
47
|
}>> & Readonly<{}>, {
|
|
40
48
|
isActive: Function;
|
|
41
49
|
query: string;
|
|
42
50
|
isLoading: boolean;
|
|
51
|
+
teleported: boolean;
|
|
43
52
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
44
53
|
listRef: HTMLUListElement;
|
|
45
54
|
}, HTMLUListElement>;
|