@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.
Files changed (52) hide show
  1. package/Markdown-C7ZNnPQB.js +1 -0
  2. package/Markdown-OZGmR-pI.js +76 -0
  3. package/button/Btn.properties.d.ts +6 -2
  4. package/button/btn.vue.d.ts +15 -5
  5. package/const/colors.d.ts +2 -1
  6. package/drawer/drawer.properties.d.ts +4 -0
  7. package/drawer/drawer.vue.d.ts +9 -0
  8. package/form/Checkbox.properties.d.ts +14 -1
  9. package/form/Checkbox.vue.d.ts +37 -4
  10. package/form/Input.properties.d.ts +18 -1
  11. package/form/Input.vue.d.ts +46 -4
  12. package/form/InputNumber.properties.d.ts +14 -1
  13. package/form/InputNumber.vue.d.ts +37 -4
  14. package/form/Textarea.properties.d.ts +26 -1
  15. package/form/Textarea.vue.d.ts +64 -4
  16. package/form/core/ControlWrapper.properties.d.ts +54 -1
  17. package/form/core/ControlWrapper.vue.d.ts +38 -4
  18. package/form/core/properties.d.ts +2 -16
  19. package/form/core/styles.d.ts +1 -1
  20. package/form/core/utils/style.d.ts +3 -3
  21. package/form/index.d.ts +273 -1
  22. package/form/select/AutoComplete.properties.d.ts +27 -2
  23. package/form/select/AutoComplete.vue.d.ts +67 -7
  24. package/form/select/ListResults.properties.d.ts +7 -1
  25. package/form/select/ListResults.vue.d.ts +12 -3
  26. package/form/select/MultiSelect.vue.d.ts +67 -7
  27. package/form/select/SelectComponent.vue.d.ts +55 -4
  28. package/form/select/SelectWrapper.properties.d.ts +57 -9
  29. package/form/select/SelectWrapper.vue.d.ts +93 -11
  30. package/form/text/Markdown.vue.d.ts +37 -4
  31. package/form/text/MarkdownComponent.properties.d.ts +14 -1
  32. package/form/text/MarkdownFallback.vue.d.ts +267 -0
  33. package/icons/icon-list.d.ts +3 -1
  34. package/index-NGeplssl.js +2 -0
  35. package/index-WrdKkd9c.js +2633 -0
  36. package/index.css +1 -1
  37. package/index.d.ts +1 -0
  38. package/index.js +1 -2
  39. package/index.mjs +66 -2370
  40. package/modal/modal.vue.d.ts +1 -0
  41. package/package.json +14 -7
  42. package/table/cells/text.cell.vue.d.ts +1 -1
  43. package/table/column.model.d.ts +6 -0
  44. package/table/header/sort.header.properties.d.ts +1 -1
  45. package/table/header/sort.header.vue.d.ts +2 -2
  46. package/table/index.d.ts +2 -0
  47. package/table/pagination.component.properties.d.ts +5 -0
  48. package/table/pagination.component.vue.d.ts +9 -0
  49. package/table/table.component.properties.d.ts +4 -0
  50. package/table/table.component.vue.d.ts +9 -0
  51. package/table/table.model.d.ts +4 -1
  52. package/test-utils/withSetup.d.ts +0 -4
@@ -23,20 +23,33 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
23
23
  type: BooleanConstructor;
24
24
  default: boolean;
25
25
  };
26
+ clearable: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ value: {
31
+ type: import('vue').PropType<any>;
32
+ default: undefined;
33
+ };
26
34
  id: {
27
35
  type: StringConstructor;
36
+ default: undefined;
28
37
  };
29
38
  placeholder: {
30
39
  type: StringConstructor;
40
+ default: undefined;
31
41
  };
32
42
  description: {
33
43
  type: StringConstructor;
44
+ default: undefined;
34
45
  };
35
46
  errors: {
36
47
  type: StringConstructor;
48
+ default: undefined;
37
49
  };
38
50
  label: {
39
51
  type: StringConstructor;
52
+ default: undefined;
40
53
  };
41
54
  visible: {
42
55
  type: BooleanConstructor;
@@ -88,7 +101,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
88
101
  readonly label: "fieldset-legend";
89
102
  readonly error: "";
90
103
  readonly input: "input";
91
- readonly textarea: "input h-32";
104
+ readonly textarea: "textarea h-32";
92
105
  readonly checkbox: "checkbox";
93
106
  readonly select: "input pr-14";
94
107
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -103,13 +116,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
103
116
  type: StringConstructor;
104
117
  default: string;
105
118
  };
119
+ size: {
120
+ type: StringConstructor;
121
+ default: undefined;
122
+ };
123
+ hideErrors: {
124
+ type: BooleanConstructor;
125
+ default: boolean;
126
+ };
106
127
  isLoading: {
107
128
  type: BooleanConstructor;
108
129
  default: boolean;
109
130
  };
110
131
  query: {
111
132
  type: StringConstructor;
112
- default: null;
133
+ default: undefined;
134
+ };
135
+ teleported: {
136
+ type: BooleanConstructor;
137
+ default: boolean;
113
138
  };
114
139
  modelValue: {
115
140
  type: import('vue').PropType<any[]>;
@@ -145,20 +170,33 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
145
170
  type: BooleanConstructor;
146
171
  default: boolean;
147
172
  };
173
+ clearable: {
174
+ type: BooleanConstructor;
175
+ default: boolean;
176
+ };
177
+ value: {
178
+ type: import('vue').PropType<any>;
179
+ default: undefined;
180
+ };
148
181
  id: {
149
182
  type: StringConstructor;
183
+ default: undefined;
150
184
  };
151
185
  placeholder: {
152
186
  type: StringConstructor;
187
+ default: undefined;
153
188
  };
154
189
  description: {
155
190
  type: StringConstructor;
191
+ default: undefined;
156
192
  };
157
193
  errors: {
158
194
  type: StringConstructor;
195
+ default: undefined;
159
196
  };
160
197
  label: {
161
198
  type: StringConstructor;
199
+ default: undefined;
162
200
  };
163
201
  visible: {
164
202
  type: BooleanConstructor;
@@ -210,7 +248,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
210
248
  readonly label: "fieldset-legend";
211
249
  readonly error: "";
212
250
  readonly input: "input";
213
- readonly textarea: "input h-32";
251
+ readonly textarea: "textarea h-32";
214
252
  readonly checkbox: "checkbox";
215
253
  readonly select: "input pr-14";
216
254
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -225,13 +263,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
225
263
  type: StringConstructor;
226
264
  default: string;
227
265
  };
266
+ size: {
267
+ type: StringConstructor;
268
+ default: undefined;
269
+ };
270
+ hideErrors: {
271
+ type: BooleanConstructor;
272
+ default: boolean;
273
+ };
228
274
  isLoading: {
229
275
  type: BooleanConstructor;
230
276
  default: boolean;
231
277
  };
232
278
  query: {
233
279
  type: StringConstructor;
234
- default: null;
280
+ default: undefined;
281
+ };
282
+ teleported: {
283
+ type: BooleanConstructor;
284
+ default: boolean;
235
285
  };
236
286
  modelValue: {
237
287
  type: import('vue').PropType<any[]>;
@@ -243,10 +293,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
243
293
  onFocus?: ((event: FocusEvent) => any) | undefined;
244
294
  "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
245
295
  }>, {
296
+ size: string;
297
+ label: string;
246
298
  required: boolean;
299
+ id: string;
300
+ placeholder: string;
247
301
  isActive: Function;
248
302
  query: string;
249
303
  width: string;
304
+ value: any;
250
305
  labelKey: string;
251
306
  valueKey: string;
252
307
  styles: {
@@ -273,7 +328,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
273
328
  readonly label: "fieldset-legend";
274
329
  readonly error: "";
275
330
  readonly input: "input";
276
- readonly textarea: "input h-32";
331
+ readonly textarea: "textarea h-32";
277
332
  readonly checkbox: "checkbox";
278
333
  readonly select: "input pr-14";
279
334
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -285,11 +340,16 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
285
340
  };
286
341
  hideLabel: boolean;
287
342
  enableCreate: boolean;
288
- isLoading: boolean;
289
- isTouched: boolean;
290
343
  visible: boolean;
344
+ errors: string;
345
+ isTouched: boolean;
346
+ description: string;
291
347
  enabled: boolean;
292
348
  isFocused: boolean;
349
+ hideErrors: boolean;
350
+ isLoading: boolean;
351
+ teleported: boolean;
293
352
  isOpen: boolean;
353
+ clearable: boolean;
294
354
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
295
355
  export default _default;
@@ -15,20 +15,33 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
15
15
  type: BooleanConstructor;
16
16
  default: boolean;
17
17
  };
18
+ clearable: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ value: {
23
+ type: import('vue').PropType<any>;
24
+ default: undefined;
25
+ };
18
26
  id: {
19
27
  type: StringConstructor;
28
+ default: undefined;
20
29
  };
21
30
  placeholder: {
22
31
  type: StringConstructor;
32
+ default: undefined;
23
33
  };
24
34
  description: {
25
35
  type: StringConstructor;
36
+ default: undefined;
26
37
  };
27
38
  errors: {
28
39
  type: StringConstructor;
40
+ default: undefined;
29
41
  };
30
42
  label: {
31
43
  type: StringConstructor;
44
+ default: undefined;
32
45
  };
33
46
  visible: {
34
47
  type: BooleanConstructor;
@@ -80,7 +93,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
80
93
  readonly label: "fieldset-legend";
81
94
  readonly error: "";
82
95
  readonly input: "input";
83
- readonly textarea: "input h-32";
96
+ readonly textarea: "textarea h-32";
84
97
  readonly checkbox: "checkbox";
85
98
  readonly select: "input pr-14";
86
99
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -95,6 +108,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
95
108
  type: StringConstructor;
96
109
  default: string;
97
110
  };
111
+ size: {
112
+ type: StringConstructor;
113
+ default: undefined;
114
+ };
115
+ hideErrors: {
116
+ type: BooleanConstructor;
117
+ default: boolean;
118
+ };
98
119
  modelValue: {
99
120
  type: import('vue').PropType<any>;
100
121
  };
@@ -121,20 +142,33 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
121
142
  type: BooleanConstructor;
122
143
  default: boolean;
123
144
  };
145
+ clearable: {
146
+ type: BooleanConstructor;
147
+ default: boolean;
148
+ };
149
+ value: {
150
+ type: import('vue').PropType<any>;
151
+ default: undefined;
152
+ };
124
153
  id: {
125
154
  type: StringConstructor;
155
+ default: undefined;
126
156
  };
127
157
  placeholder: {
128
158
  type: StringConstructor;
159
+ default: undefined;
129
160
  };
130
161
  description: {
131
162
  type: StringConstructor;
163
+ default: undefined;
132
164
  };
133
165
  errors: {
134
166
  type: StringConstructor;
167
+ default: undefined;
135
168
  };
136
169
  label: {
137
170
  type: StringConstructor;
171
+ default: undefined;
138
172
  };
139
173
  visible: {
140
174
  type: BooleanConstructor;
@@ -186,7 +220,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
186
220
  readonly label: "fieldset-legend";
187
221
  readonly error: "";
188
222
  readonly input: "input";
189
- readonly textarea: "input h-32";
223
+ readonly textarea: "textarea h-32";
190
224
  readonly checkbox: "checkbox";
191
225
  readonly select: "input pr-14";
192
226
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -201,6 +235,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
201
235
  type: StringConstructor;
202
236
  default: string;
203
237
  };
238
+ size: {
239
+ type: StringConstructor;
240
+ default: undefined;
241
+ };
242
+ hideErrors: {
243
+ type: BooleanConstructor;
244
+ default: boolean;
245
+ };
204
246
  modelValue: {
205
247
  type: import('vue').PropType<any>;
206
248
  };
@@ -211,8 +253,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
211
253
  onFocus?: ((event: FocusEvent) => any) | undefined;
212
254
  "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
213
255
  }>, {
256
+ size: string;
257
+ label: string;
214
258
  required: boolean;
259
+ id: string;
260
+ placeholder: string;
215
261
  width: string;
262
+ value: any;
216
263
  labelKey: string;
217
264
  valueKey: string;
218
265
  styles: {
@@ -239,7 +286,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
239
286
  readonly label: "fieldset-legend";
240
287
  readonly error: "";
241
288
  readonly input: "input";
242
- readonly textarea: "input h-32";
289
+ readonly textarea: "textarea h-32";
243
290
  readonly checkbox: "checkbox";
244
291
  readonly select: "input pr-14";
245
292
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -251,9 +298,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
251
298
  };
252
299
  hideLabel: boolean;
253
300
  enableCreate: boolean;
254
- isTouched: boolean;
255
301
  visible: boolean;
302
+ errors: string;
303
+ isTouched: boolean;
304
+ description: string;
256
305
  enabled: boolean;
257
306
  isFocused: boolean;
307
+ hideErrors: boolean;
308
+ clearable: boolean;
258
309
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
259
310
  export default _default;
@@ -9,31 +9,45 @@ export declare const SelectProperties: {
9
9
  type: StringConstructor;
10
10
  default: string;
11
11
  };
12
- /** Key to use as the stored
13
- value when options are objects */
12
+ /** Key to use as the stored value when options are objects */
14
13
  valueKey: {
15
14
  type: StringConstructor;
16
15
  default: string;
17
16
  };
18
- /** add a new button next to the list*/
17
+ /** add a new button next to the list */
19
18
  enableCreate: {
20
19
  type: BooleanConstructor;
21
20
  default: boolean;
22
21
  };
22
+ /** Whether to show the clear button when a value is selected */
23
+ clearable: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ /** Alternative to v-model — accepts a string id or a full option object */
28
+ value: {
29
+ type: PropType<any>;
30
+ default: undefined;
31
+ };
23
32
  id: {
24
33
  type: StringConstructor;
34
+ default: undefined;
25
35
  };
26
36
  placeholder: {
27
37
  type: StringConstructor;
38
+ default: undefined;
28
39
  };
29
40
  description: {
30
41
  type: StringConstructor;
42
+ default: undefined;
31
43
  };
32
44
  errors: {
33
45
  type: StringConstructor;
46
+ default: undefined;
34
47
  };
35
48
  label: {
36
49
  type: StringConstructor;
50
+ default: undefined;
37
51
  };
38
52
  visible: {
39
53
  type: BooleanConstructor;
@@ -85,7 +99,7 @@ export declare const SelectProperties: {
85
99
  readonly label: "fieldset-legend";
86
100
  readonly error: "";
87
101
  readonly input: "input";
88
- readonly textarea: "input h-32";
102
+ readonly textarea: "textarea h-32";
89
103
  readonly checkbox: "checkbox";
90
104
  readonly select: "input pr-14";
91
105
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -100,6 +114,14 @@ export declare const SelectProperties: {
100
114
  type: StringConstructor;
101
115
  default: string;
102
116
  };
117
+ size: {
118
+ type: StringConstructor;
119
+ default: undefined;
120
+ };
121
+ hideErrors: {
122
+ type: BooleanConstructor;
123
+ default: boolean;
124
+ };
103
125
  };
104
126
  export declare const SelectWrapperEmits: string[];
105
127
  export declare const SelectWrapperProperties: {
@@ -120,31 +142,45 @@ export declare const SelectWrapperProperties: {
120
142
  type: StringConstructor;
121
143
  default: string;
122
144
  };
123
- /** Key to use as the stored
124
- value when options are objects */
145
+ /** Key to use as the stored value when options are objects */
125
146
  valueKey: {
126
147
  type: StringConstructor;
127
148
  default: string;
128
149
  };
129
- /** add a new button next to the list*/
150
+ /** add a new button next to the list */
130
151
  enableCreate: {
131
152
  type: BooleanConstructor;
132
153
  default: boolean;
133
154
  };
155
+ /** Whether to show the clear button when a value is selected */
156
+ clearable: {
157
+ type: BooleanConstructor;
158
+ default: boolean;
159
+ };
160
+ /** Alternative to v-model — accepts a string id or a full option object */
161
+ value: {
162
+ type: PropType<any>;
163
+ default: undefined;
164
+ };
134
165
  id: {
135
166
  type: StringConstructor;
167
+ default: undefined;
136
168
  };
137
169
  placeholder: {
138
170
  type: StringConstructor;
171
+ default: undefined;
139
172
  };
140
173
  description: {
141
174
  type: StringConstructor;
175
+ default: undefined;
142
176
  };
143
177
  errors: {
144
178
  type: StringConstructor;
179
+ default: undefined;
145
180
  };
146
181
  label: {
147
182
  type: StringConstructor;
183
+ default: undefined;
148
184
  };
149
185
  visible: {
150
186
  type: BooleanConstructor;
@@ -196,7 +232,7 @@ export declare const SelectWrapperProperties: {
196
232
  readonly label: "fieldset-legend";
197
233
  readonly error: "";
198
234
  readonly input: "input";
199
- readonly textarea: "input h-32";
235
+ readonly textarea: "textarea h-32";
200
236
  readonly checkbox: "checkbox";
201
237
  readonly select: "input pr-14";
202
238
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -211,12 +247,24 @@ export declare const SelectWrapperProperties: {
211
247
  type: StringConstructor;
212
248
  default: string;
213
249
  };
250
+ size: {
251
+ type: StringConstructor;
252
+ default: undefined;
253
+ };
254
+ hideErrors: {
255
+ type: BooleanConstructor;
256
+ default: boolean;
257
+ };
214
258
  isLoading: {
215
259
  type: BooleanConstructor;
216
260
  default: boolean;
217
261
  };
218
262
  query: {
219
263
  type: StringConstructor;
220
- default: null;
264
+ default: undefined;
265
+ };
266
+ teleported: {
267
+ type: BooleanConstructor;
268
+ default: boolean;
221
269
  };
222
270
  };