@ghentcdh/ui 1.0.1 → 1.0.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/alert/alert.model.d.ts +5 -0
- package/alert/alert.vue.d.ts +22 -0
- package/alert/index.d.ts +2 -0
- package/button/Btn.properties.d.ts +45 -0
- package/button/BtnBadge.properties.d.ts +27 -0
- package/button/btn-badge.vue.d.ts +62 -0
- package/button/btn.vue.d.ts +101 -0
- package/button/const.d.ts +9 -0
- package/button/index.d.ts +5 -0
- package/card/card.vue.d.ts +20 -0
- package/collapse/Collapse.properties.d.ts +35 -0
- package/collapse/Collapse.vue.d.ts +75 -0
- package/collapse/CollapseRow.properties.d.ts +17 -0
- package/collapse/CollapseRow.vue.d.ts +49 -0
- package/collapse/index.d.ts +3 -0
- package/composables/index.d.ts +2 -0
- package/composables/useFocusTrap.d.ts +8 -0
- package/const/colors.d.ts +8 -0
- package/const/index.d.ts +2 -0
- package/const/size.d.ts +4 -0
- package/directives/click-outside.directive.d.ts +6 -0
- package/drawer/drawer.properties.d.ts +18 -0
- package/drawer/drawer.vue.d.ts +58 -0
- package/drawer/index.d.ts +1 -0
- package/filter/Filter.properties.d.ts +46 -0
- package/filter/composables/useFilter.d.ts +8 -0
- package/filter/filter.vue.d.ts +84 -0
- package/filter/index.d.ts +3 -0
- package/form/Checkbox.properties.d.ts +83 -0
- package/form/Checkbox.vue.d.ts +216 -0
- package/form/Input.properties.d.ts +87 -0
- package/form/Input.vue.d.ts +225 -0
- package/form/InputNumber.properties.d.ts +87 -0
- package/form/InputNumber.vue.d.ts +225 -0
- package/form/Textarea.properties.d.ts +87 -0
- package/form/Textarea.vue.d.ts +225 -0
- package/form/core/ControlWrapper.properties.d.ts +84 -0
- package/form/core/ControlWrapper.vue.d.ts +221 -0
- package/form/core/emits.d.ts +7 -0
- package/form/core/properties.d.ts +25 -0
- package/form/core/styles.d.ts +36 -0
- package/form/core/utils/style.d.ts +6 -0
- package/form/index.d.ts +12 -0
- package/form/select/AutoComplete.properties.d.ts +139 -0
- package/form/select/AutoComplete.vue.d.ts +328 -0
- package/form/select/ListResults.properties.d.ts +24 -0
- package/form/select/ListResults.vue.d.ts +46 -0
- package/form/select/MultiSelect.vue.d.ts +295 -0
- package/form/select/SelectComponent.vue.d.ts +259 -0
- package/form/select/SelectWrapper.properties.d.ts +222 -0
- package/form/select/SelectWrapper.vue.d.ts +408 -0
- package/form/select/composables/useOptions.d.ts +19 -0
- package/form/select/composables/useSearch.d.ts +6 -0
- package/form/text/Markdown.vue.d.ts +234 -0
- package/form/text/MarkdownComponent.properties.d.ts +101 -0
- package/icons/Icon.properties.d.ts +11 -0
- package/icons/icon-list.d.ts +26 -0
- package/icons/icon.vue.d.ts +16 -0
- package/icons/index.d.ts +3 -0
- package/loading/index.d.ts +1 -0
- package/loading/loading.vue.d.ts +5 -0
- package/menu/dropdown.vue.d.ts +6 -0
- package/menu/index.d.ts +4 -0
- package/menu/menu-item.vue.d.ts +5 -0
- package/menu/menu.type.d.ts +15 -0
- package/menu/menu.vue.d.ts +7 -0
- package/menu/sub-menu.vue.d.ts +7 -0
- package/modal/confirmModal.vue.d.ts +10 -0
- package/modal/index.d.ts +6 -0
- package/modal/modal.model.d.ts +17 -0
- package/modal/modal.properties.d.ts +30 -0
- package/modal/modal.service.d.ts +15 -0
- package/modal/modal.vue.d.ts +82 -0
- package/modal/modalWrapper.vue.d.ts +2 -0
- package/package.json +21 -2
- package/shell/menu.type.d.ts +11 -0
- package/shell/shell.component.vue.d.ts +31 -0
- package/table/cells/boolean.cell.vue.d.ts +26 -0
- package/table/cells/text.cell.properties.d.ts +13 -0
- package/table/cells/text.cell.vue.d.ts +26 -0
- package/table/header/sort.header.properties.d.ts +15 -0
- package/table/header/sort.header.vue.d.ts +24 -0
- package/table/index.d.ts +9 -0
- package/table/pagination-button.component.properties.d.ts +30 -0
- package/table/pagination-button.component.vue.d.ts +47 -0
- package/table/pagination.component.properties.d.ts +15 -0
- package/table/pagination.component.vue.d.ts +32 -0
- package/table/table.component.properties.d.ts +34 -0
- package/table/table.component.vue.d.ts +46 -0
- package/table/table.model.d.ts +10 -0
- package/test-utils/withSetup.d.ts +4 -0
- package/toast/index.d.ts +3 -0
- package/toast/notification-message.d.ts +7 -0
- package/toast/notification-message.vue.d.ts +7 -0
- package/toast/notification.service.d.ts +24 -0
- package/toast/notifications.vue.d.ts +2 -0
- package/tree/TreeItem.vue.d.ts +15 -0
- package/tree/TreeView.vue.d.ts +7 -0
- package/tree/index.d.ts +1 -0
- package/tree/props.d.ts +13 -0
- package/utils/hasCustomEventListener.d.ts +1 -0
- package/utils/index.d.ts +1 -0
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {
|
|
7
|
+
selectWrapperRef: HTMLDivElement;
|
|
8
|
+
listResultsRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
options: {
|
|
10
|
+
type: import('vue').PropType<Array<import('./ListResults.properties').OptionValue>>;
|
|
11
|
+
required: false;
|
|
12
|
+
};
|
|
13
|
+
isLoading: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
query: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: null;
|
|
20
|
+
};
|
|
21
|
+
isActive: {
|
|
22
|
+
type: FunctionConstructor;
|
|
23
|
+
default: (item: any) => boolean;
|
|
24
|
+
};
|
|
25
|
+
}>> & Readonly<{}>, {
|
|
26
|
+
handleKeydown: (e: KeyboardEvent) => void;
|
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
28
|
+
isActive: Function;
|
|
29
|
+
query: string;
|
|
30
|
+
isLoading: boolean;
|
|
31
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
32
|
+
listRef: HTMLUListElement;
|
|
33
|
+
}, HTMLUListElement, import('vue').ComponentProvideOptions, {
|
|
34
|
+
P: {};
|
|
35
|
+
B: {};
|
|
36
|
+
D: {};
|
|
37
|
+
C: {};
|
|
38
|
+
M: {};
|
|
39
|
+
Defaults: {};
|
|
40
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
41
|
+
options: {
|
|
42
|
+
type: import('vue').PropType<Array<import('./ListResults.properties').OptionValue>>;
|
|
43
|
+
required: false;
|
|
44
|
+
};
|
|
45
|
+
isLoading: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
query: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: null;
|
|
52
|
+
};
|
|
53
|
+
isActive: {
|
|
54
|
+
type: FunctionConstructor;
|
|
55
|
+
default: (item: any) => boolean;
|
|
56
|
+
};
|
|
57
|
+
}>> & Readonly<{}>, {
|
|
58
|
+
handleKeydown: (e: KeyboardEvent) => void;
|
|
59
|
+
}, {}, {}, {}, {
|
|
60
|
+
isActive: Function;
|
|
61
|
+
query: string;
|
|
62
|
+
isLoading: boolean;
|
|
63
|
+
}> | null;
|
|
64
|
+
};
|
|
65
|
+
rootEl: HTMLDivElement;
|
|
66
|
+
};
|
|
67
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
68
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
69
|
+
isOpen: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
isActive: {
|
|
74
|
+
type: FunctionConstructor;
|
|
75
|
+
default: (item: any) => boolean;
|
|
76
|
+
};
|
|
77
|
+
options: {
|
|
78
|
+
type: import('vue').PropType<Array<any>>;
|
|
79
|
+
required: true;
|
|
80
|
+
};
|
|
81
|
+
labelKey: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
valueKey: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
enableCreate: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
id: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
};
|
|
96
|
+
placeholder: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
};
|
|
99
|
+
description: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
};
|
|
102
|
+
errors: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
};
|
|
105
|
+
label: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
};
|
|
108
|
+
visible: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
required: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
enabled: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
isFocused: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
isTouched: {
|
|
125
|
+
type: BooleanConstructor;
|
|
126
|
+
default: boolean;
|
|
127
|
+
};
|
|
128
|
+
hideLabel: {
|
|
129
|
+
type: BooleanConstructor;
|
|
130
|
+
default: boolean;
|
|
131
|
+
};
|
|
132
|
+
styles: {
|
|
133
|
+
type: import('vue').PropType<import('..').MyStyles>;
|
|
134
|
+
default: () => {
|
|
135
|
+
readonly group: {
|
|
136
|
+
readonly root: "group";
|
|
137
|
+
readonly label: "text-primary text-lg font-bold";
|
|
138
|
+
readonly item: "group-item";
|
|
139
|
+
};
|
|
140
|
+
readonly verticalLayout: {
|
|
141
|
+
readonly root: "flex flex-col gap-x-2";
|
|
142
|
+
readonly item: "w-full";
|
|
143
|
+
};
|
|
144
|
+
readonly horizontalLayout: {
|
|
145
|
+
readonly root: "flex flex-row gap-x-2";
|
|
146
|
+
readonly item: "w-full";
|
|
147
|
+
};
|
|
148
|
+
readonly arrayList: {
|
|
149
|
+
readonly root: "fieldset";
|
|
150
|
+
readonly legend: "fieldset-legend text-xl capitalize";
|
|
151
|
+
};
|
|
152
|
+
readonly control: {
|
|
153
|
+
readonly root: "fieldset";
|
|
154
|
+
readonly wrapper: "fieldset";
|
|
155
|
+
readonly label: "fieldset-legend";
|
|
156
|
+
readonly error: "";
|
|
157
|
+
readonly input: "input";
|
|
158
|
+
readonly textarea: "input h-32";
|
|
159
|
+
readonly checkbox: "checkbox";
|
|
160
|
+
readonly select: "input pr-14";
|
|
161
|
+
readonly description: "form-control--description label text-xs text-gray-500";
|
|
162
|
+
};
|
|
163
|
+
readonly fixedArrayList: {
|
|
164
|
+
readonly root: "flex flex-row gap-x-2";
|
|
165
|
+
readonly item: "w-full";
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
width: {
|
|
170
|
+
type: StringConstructor;
|
|
171
|
+
default: string;
|
|
172
|
+
};
|
|
173
|
+
isLoading: {
|
|
174
|
+
type: BooleanConstructor;
|
|
175
|
+
default: boolean;
|
|
176
|
+
};
|
|
177
|
+
query: {
|
|
178
|
+
type: StringConstructor;
|
|
179
|
+
default: null;
|
|
180
|
+
};
|
|
181
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
182
|
+
isOpen: {
|
|
183
|
+
type: BooleanConstructor;
|
|
184
|
+
default: boolean;
|
|
185
|
+
};
|
|
186
|
+
isActive: {
|
|
187
|
+
type: FunctionConstructor;
|
|
188
|
+
default: (item: any) => boolean;
|
|
189
|
+
};
|
|
190
|
+
options: {
|
|
191
|
+
type: import('vue').PropType<Array<any>>;
|
|
192
|
+
required: true;
|
|
193
|
+
};
|
|
194
|
+
labelKey: {
|
|
195
|
+
type: StringConstructor;
|
|
196
|
+
default: string;
|
|
197
|
+
};
|
|
198
|
+
valueKey: {
|
|
199
|
+
type: StringConstructor;
|
|
200
|
+
default: string;
|
|
201
|
+
};
|
|
202
|
+
enableCreate: {
|
|
203
|
+
type: BooleanConstructor;
|
|
204
|
+
default: boolean;
|
|
205
|
+
};
|
|
206
|
+
id: {
|
|
207
|
+
type: StringConstructor;
|
|
208
|
+
};
|
|
209
|
+
placeholder: {
|
|
210
|
+
type: StringConstructor;
|
|
211
|
+
};
|
|
212
|
+
description: {
|
|
213
|
+
type: StringConstructor;
|
|
214
|
+
};
|
|
215
|
+
errors: {
|
|
216
|
+
type: StringConstructor;
|
|
217
|
+
};
|
|
218
|
+
label: {
|
|
219
|
+
type: StringConstructor;
|
|
220
|
+
};
|
|
221
|
+
visible: {
|
|
222
|
+
type: BooleanConstructor;
|
|
223
|
+
default: boolean;
|
|
224
|
+
};
|
|
225
|
+
required: {
|
|
226
|
+
type: BooleanConstructor;
|
|
227
|
+
default: boolean;
|
|
228
|
+
};
|
|
229
|
+
enabled: {
|
|
230
|
+
type: BooleanConstructor;
|
|
231
|
+
default: boolean;
|
|
232
|
+
};
|
|
233
|
+
isFocused: {
|
|
234
|
+
type: BooleanConstructor;
|
|
235
|
+
default: boolean;
|
|
236
|
+
};
|
|
237
|
+
isTouched: {
|
|
238
|
+
type: BooleanConstructor;
|
|
239
|
+
default: boolean;
|
|
240
|
+
};
|
|
241
|
+
hideLabel: {
|
|
242
|
+
type: BooleanConstructor;
|
|
243
|
+
default: boolean;
|
|
244
|
+
};
|
|
245
|
+
styles: {
|
|
246
|
+
type: import('vue').PropType<import('..').MyStyles>;
|
|
247
|
+
default: () => {
|
|
248
|
+
readonly group: {
|
|
249
|
+
readonly root: "group";
|
|
250
|
+
readonly label: "text-primary text-lg font-bold";
|
|
251
|
+
readonly item: "group-item";
|
|
252
|
+
};
|
|
253
|
+
readonly verticalLayout: {
|
|
254
|
+
readonly root: "flex flex-col gap-x-2";
|
|
255
|
+
readonly item: "w-full";
|
|
256
|
+
};
|
|
257
|
+
readonly horizontalLayout: {
|
|
258
|
+
readonly root: "flex flex-row gap-x-2";
|
|
259
|
+
readonly item: "w-full";
|
|
260
|
+
};
|
|
261
|
+
readonly arrayList: {
|
|
262
|
+
readonly root: "fieldset";
|
|
263
|
+
readonly legend: "fieldset-legend text-xl capitalize";
|
|
264
|
+
};
|
|
265
|
+
readonly control: {
|
|
266
|
+
readonly root: "fieldset";
|
|
267
|
+
readonly wrapper: "fieldset";
|
|
268
|
+
readonly label: "fieldset-legend";
|
|
269
|
+
readonly error: "";
|
|
270
|
+
readonly input: "input";
|
|
271
|
+
readonly textarea: "input h-32";
|
|
272
|
+
readonly checkbox: "checkbox";
|
|
273
|
+
readonly select: "input pr-14";
|
|
274
|
+
readonly description: "form-control--description label text-xs text-gray-500";
|
|
275
|
+
};
|
|
276
|
+
readonly fixedArrayList: {
|
|
277
|
+
readonly root: "flex flex-row gap-x-2";
|
|
278
|
+
readonly item: "w-full";
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
width: {
|
|
283
|
+
type: StringConstructor;
|
|
284
|
+
default: string;
|
|
285
|
+
};
|
|
286
|
+
isLoading: {
|
|
287
|
+
type: BooleanConstructor;
|
|
288
|
+
default: boolean;
|
|
289
|
+
};
|
|
290
|
+
query: {
|
|
291
|
+
type: StringConstructor;
|
|
292
|
+
default: null;
|
|
293
|
+
};
|
|
294
|
+
}>> & Readonly<{}>, {
|
|
295
|
+
required: boolean;
|
|
296
|
+
isActive: Function;
|
|
297
|
+
query: string;
|
|
298
|
+
width: string;
|
|
299
|
+
labelKey: string;
|
|
300
|
+
valueKey: string;
|
|
301
|
+
styles: {
|
|
302
|
+
readonly group: {
|
|
303
|
+
readonly root: "group";
|
|
304
|
+
readonly label: "text-primary text-lg font-bold";
|
|
305
|
+
readonly item: "group-item";
|
|
306
|
+
};
|
|
307
|
+
readonly verticalLayout: {
|
|
308
|
+
readonly root: "flex flex-col gap-x-2";
|
|
309
|
+
readonly item: "w-full";
|
|
310
|
+
};
|
|
311
|
+
readonly horizontalLayout: {
|
|
312
|
+
readonly root: "flex flex-row gap-x-2";
|
|
313
|
+
readonly item: "w-full";
|
|
314
|
+
};
|
|
315
|
+
readonly arrayList: {
|
|
316
|
+
readonly root: "fieldset";
|
|
317
|
+
readonly legend: "fieldset-legend text-xl capitalize";
|
|
318
|
+
};
|
|
319
|
+
readonly control: {
|
|
320
|
+
readonly root: "fieldset";
|
|
321
|
+
readonly wrapper: "fieldset";
|
|
322
|
+
readonly label: "fieldset-legend";
|
|
323
|
+
readonly error: "";
|
|
324
|
+
readonly input: "input";
|
|
325
|
+
readonly textarea: "input h-32";
|
|
326
|
+
readonly checkbox: "checkbox";
|
|
327
|
+
readonly select: "input pr-14";
|
|
328
|
+
readonly description: "form-control--description label text-xs text-gray-500";
|
|
329
|
+
};
|
|
330
|
+
readonly fixedArrayList: {
|
|
331
|
+
readonly root: "flex flex-row gap-x-2";
|
|
332
|
+
readonly item: "w-full";
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
hideLabel: boolean;
|
|
336
|
+
enableCreate: boolean;
|
|
337
|
+
isLoading: boolean;
|
|
338
|
+
isTouched: boolean;
|
|
339
|
+
visible: boolean;
|
|
340
|
+
enabled: boolean;
|
|
341
|
+
isFocused: boolean;
|
|
342
|
+
isOpen: boolean;
|
|
343
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
344
|
+
selectWrapperRef: HTMLDivElement;
|
|
345
|
+
listResultsRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
346
|
+
options: {
|
|
347
|
+
type: import('vue').PropType<Array<import('./ListResults.properties').OptionValue>>;
|
|
348
|
+
required: false;
|
|
349
|
+
};
|
|
350
|
+
isLoading: {
|
|
351
|
+
type: BooleanConstructor;
|
|
352
|
+
default: boolean;
|
|
353
|
+
};
|
|
354
|
+
query: {
|
|
355
|
+
type: StringConstructor;
|
|
356
|
+
default: null;
|
|
357
|
+
};
|
|
358
|
+
isActive: {
|
|
359
|
+
type: FunctionConstructor;
|
|
360
|
+
default: (item: any) => boolean;
|
|
361
|
+
};
|
|
362
|
+
}>> & Readonly<{}>, {
|
|
363
|
+
handleKeydown: (e: KeyboardEvent) => void;
|
|
364
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
365
|
+
isActive: Function;
|
|
366
|
+
query: string;
|
|
367
|
+
isLoading: boolean;
|
|
368
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
369
|
+
listRef: HTMLUListElement;
|
|
370
|
+
}, HTMLUListElement, import('vue').ComponentProvideOptions, {
|
|
371
|
+
P: {};
|
|
372
|
+
B: {};
|
|
373
|
+
D: {};
|
|
374
|
+
C: {};
|
|
375
|
+
M: {};
|
|
376
|
+
Defaults: {};
|
|
377
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
378
|
+
options: {
|
|
379
|
+
type: import('vue').PropType<Array<import('./ListResults.properties').OptionValue>>;
|
|
380
|
+
required: false;
|
|
381
|
+
};
|
|
382
|
+
isLoading: {
|
|
383
|
+
type: BooleanConstructor;
|
|
384
|
+
default: boolean;
|
|
385
|
+
};
|
|
386
|
+
query: {
|
|
387
|
+
type: StringConstructor;
|
|
388
|
+
default: null;
|
|
389
|
+
};
|
|
390
|
+
isActive: {
|
|
391
|
+
type: FunctionConstructor;
|
|
392
|
+
default: (item: any) => boolean;
|
|
393
|
+
};
|
|
394
|
+
}>> & Readonly<{}>, {
|
|
395
|
+
handleKeydown: (e: KeyboardEvent) => void;
|
|
396
|
+
}, {}, {}, {}, {
|
|
397
|
+
isActive: Function;
|
|
398
|
+
query: string;
|
|
399
|
+
isLoading: boolean;
|
|
400
|
+
}> | null;
|
|
401
|
+
}, HTMLDivElement>;
|
|
402
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
403
|
+
export default _default;
|
|
404
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
405
|
+
new (): {
|
|
406
|
+
$slots: S;
|
|
407
|
+
};
|
|
408
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { OptionValue } from '../ListResults.properties';
|
|
3
|
+
type OptionsProperties = {
|
|
4
|
+
labelKey: string;
|
|
5
|
+
valueKey: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const getLabel: (item: any, props: OptionsProperties) => any;
|
|
8
|
+
export declare const getValue: (item: any, props: OptionsProperties) => any;
|
|
9
|
+
type OptionsStrategy<ITEM> = {
|
|
10
|
+
options: Ref<OptionValue[]>;
|
|
11
|
+
setOptions: (options: ITEM[] | undefined) => void;
|
|
12
|
+
getOption: (options: ITEM) => OptionValue | undefined;
|
|
13
|
+
getOriginal: (options: OptionValue) => ITEM | undefined;
|
|
14
|
+
getOriginals: (...options: OptionValue[]) => ITEM[];
|
|
15
|
+
getLabels: (...options: ITEM[]) => string[];
|
|
16
|
+
getValues: (...options: ITEM[]) => string[];
|
|
17
|
+
};
|
|
18
|
+
export declare const useOptions: <ITEM = any>(props: OptionsProperties) => OptionsStrategy<ITEM>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare function useAutoCompleteSearch(props: any): {
|
|
2
|
+
results: import('vue').Ref<any[] | undefined, any[] | undefined>;
|
|
3
|
+
isLoading: import('vue').Ref<boolean | undefined, boolean | undefined>;
|
|
4
|
+
triggerSearch: (query: string) => void;
|
|
5
|
+
clear: () => void;
|
|
6
|
+
};
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
width: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
minHeight: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
actions: {
|
|
11
|
+
type: import('vue').PropType<import('./MarkdownComponent.properties').ToolbarAction[]>;
|
|
12
|
+
default: () => import('./MarkdownComponent.properties').ToolbarAction[];
|
|
13
|
+
};
|
|
14
|
+
id: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
};
|
|
17
|
+
placeholder: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
};
|
|
20
|
+
description: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
};
|
|
23
|
+
errors: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
};
|
|
26
|
+
label: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
};
|
|
29
|
+
visible: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
required: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
enabled: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
isFocused: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
isTouched: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
hideLabel: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
styles: {
|
|
54
|
+
type: import('vue').PropType<import('..').MyStyles>;
|
|
55
|
+
default: () => {
|
|
56
|
+
readonly group: {
|
|
57
|
+
readonly root: "group";
|
|
58
|
+
readonly label: "text-primary text-lg font-bold";
|
|
59
|
+
readonly item: "group-item";
|
|
60
|
+
};
|
|
61
|
+
readonly verticalLayout: {
|
|
62
|
+
readonly root: "flex flex-col gap-x-2";
|
|
63
|
+
readonly item: "w-full";
|
|
64
|
+
};
|
|
65
|
+
readonly horizontalLayout: {
|
|
66
|
+
readonly root: "flex flex-row gap-x-2";
|
|
67
|
+
readonly item: "w-full";
|
|
68
|
+
};
|
|
69
|
+
readonly arrayList: {
|
|
70
|
+
readonly root: "fieldset";
|
|
71
|
+
readonly legend: "fieldset-legend text-xl capitalize";
|
|
72
|
+
};
|
|
73
|
+
readonly control: {
|
|
74
|
+
readonly root: "fieldset";
|
|
75
|
+
readonly wrapper: "fieldset";
|
|
76
|
+
readonly label: "fieldset-legend";
|
|
77
|
+
readonly error: "";
|
|
78
|
+
readonly input: "input";
|
|
79
|
+
readonly textarea: "input h-32";
|
|
80
|
+
readonly checkbox: "checkbox";
|
|
81
|
+
readonly select: "input pr-14";
|
|
82
|
+
readonly description: "form-control--description label text-xs text-gray-500";
|
|
83
|
+
};
|
|
84
|
+
readonly fixedArrayList: {
|
|
85
|
+
readonly root: "flex flex-row gap-x-2";
|
|
86
|
+
readonly item: "w-full";
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
modelValue: {
|
|
91
|
+
type: import('vue').PropType<any>;
|
|
92
|
+
};
|
|
93
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
94
|
+
"update:modelValue": (value: any) => void;
|
|
95
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
96
|
+
width: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
minHeight: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
actions: {
|
|
105
|
+
type: import('vue').PropType<import('./MarkdownComponent.properties').ToolbarAction[]>;
|
|
106
|
+
default: () => import('./MarkdownComponent.properties').ToolbarAction[];
|
|
107
|
+
};
|
|
108
|
+
id: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
};
|
|
111
|
+
placeholder: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
};
|
|
114
|
+
description: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
};
|
|
117
|
+
errors: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
};
|
|
120
|
+
label: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
};
|
|
123
|
+
visible: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
127
|
+
required: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
enabled: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
isFocused: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
isTouched: {
|
|
140
|
+
type: BooleanConstructor;
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
143
|
+
hideLabel: {
|
|
144
|
+
type: BooleanConstructor;
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
147
|
+
styles: {
|
|
148
|
+
type: import('vue').PropType<import('..').MyStyles>;
|
|
149
|
+
default: () => {
|
|
150
|
+
readonly group: {
|
|
151
|
+
readonly root: "group";
|
|
152
|
+
readonly label: "text-primary text-lg font-bold";
|
|
153
|
+
readonly item: "group-item";
|
|
154
|
+
};
|
|
155
|
+
readonly verticalLayout: {
|
|
156
|
+
readonly root: "flex flex-col gap-x-2";
|
|
157
|
+
readonly item: "w-full";
|
|
158
|
+
};
|
|
159
|
+
readonly horizontalLayout: {
|
|
160
|
+
readonly root: "flex flex-row gap-x-2";
|
|
161
|
+
readonly item: "w-full";
|
|
162
|
+
};
|
|
163
|
+
readonly arrayList: {
|
|
164
|
+
readonly root: "fieldset";
|
|
165
|
+
readonly legend: "fieldset-legend text-xl capitalize";
|
|
166
|
+
};
|
|
167
|
+
readonly control: {
|
|
168
|
+
readonly root: "fieldset";
|
|
169
|
+
readonly wrapper: "fieldset";
|
|
170
|
+
readonly label: "fieldset-legend";
|
|
171
|
+
readonly error: "";
|
|
172
|
+
readonly input: "input";
|
|
173
|
+
readonly textarea: "input h-32";
|
|
174
|
+
readonly checkbox: "checkbox";
|
|
175
|
+
readonly select: "input pr-14";
|
|
176
|
+
readonly description: "form-control--description label text-xs text-gray-500";
|
|
177
|
+
};
|
|
178
|
+
readonly fixedArrayList: {
|
|
179
|
+
readonly root: "flex flex-row gap-x-2";
|
|
180
|
+
readonly item: "w-full";
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
modelValue: {
|
|
185
|
+
type: import('vue').PropType<any>;
|
|
186
|
+
};
|
|
187
|
+
}>> & Readonly<{
|
|
188
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
189
|
+
}>, {
|
|
190
|
+
required: boolean;
|
|
191
|
+
width: string;
|
|
192
|
+
actions: import('./MarkdownComponent.properties').ToolbarAction[];
|
|
193
|
+
styles: {
|
|
194
|
+
readonly group: {
|
|
195
|
+
readonly root: "group";
|
|
196
|
+
readonly label: "text-primary text-lg font-bold";
|
|
197
|
+
readonly item: "group-item";
|
|
198
|
+
};
|
|
199
|
+
readonly verticalLayout: {
|
|
200
|
+
readonly root: "flex flex-col gap-x-2";
|
|
201
|
+
readonly item: "w-full";
|
|
202
|
+
};
|
|
203
|
+
readonly horizontalLayout: {
|
|
204
|
+
readonly root: "flex flex-row gap-x-2";
|
|
205
|
+
readonly item: "w-full";
|
|
206
|
+
};
|
|
207
|
+
readonly arrayList: {
|
|
208
|
+
readonly root: "fieldset";
|
|
209
|
+
readonly legend: "fieldset-legend text-xl capitalize";
|
|
210
|
+
};
|
|
211
|
+
readonly control: {
|
|
212
|
+
readonly root: "fieldset";
|
|
213
|
+
readonly wrapper: "fieldset";
|
|
214
|
+
readonly label: "fieldset-legend";
|
|
215
|
+
readonly error: "";
|
|
216
|
+
readonly input: "input";
|
|
217
|
+
readonly textarea: "input h-32";
|
|
218
|
+
readonly checkbox: "checkbox";
|
|
219
|
+
readonly select: "input pr-14";
|
|
220
|
+
readonly description: "form-control--description label text-xs text-gray-500";
|
|
221
|
+
};
|
|
222
|
+
readonly fixedArrayList: {
|
|
223
|
+
readonly root: "flex flex-row gap-x-2";
|
|
224
|
+
readonly item: "w-full";
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
hideLabel: boolean;
|
|
228
|
+
minHeight: string;
|
|
229
|
+
isTouched: boolean;
|
|
230
|
+
visible: boolean;
|
|
231
|
+
enabled: boolean;
|
|
232
|
+
isFocused: boolean;
|
|
233
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFieldSetElement>;
|
|
234
|
+
export default _default;
|