@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,328 @@
|
|
|
1
|
+
import { OptionValue } from './ListResults.properties';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
fetchOptions: {
|
|
8
|
+
type: FunctionConstructor;
|
|
9
|
+
default: null;
|
|
10
|
+
};
|
|
11
|
+
debounceMs: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
maxResults: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
freeText: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
options: {
|
|
24
|
+
type: import('vue').PropType<Array<OptionValue>>;
|
|
25
|
+
required: false;
|
|
26
|
+
};
|
|
27
|
+
isLoading: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
query: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: null;
|
|
34
|
+
};
|
|
35
|
+
isActive: {
|
|
36
|
+
type: FunctionConstructor;
|
|
37
|
+
default: (item: any) => boolean;
|
|
38
|
+
};
|
|
39
|
+
labelKey: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
valueKey: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
enableCreate: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
id: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
};
|
|
54
|
+
placeholder: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
};
|
|
57
|
+
description: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
};
|
|
60
|
+
errors: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
};
|
|
63
|
+
label: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
};
|
|
66
|
+
visible: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
required: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
enabled: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
isFocused: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
isTouched: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
hideLabel: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
styles: {
|
|
91
|
+
type: import('vue').PropType<import('../core/styles').MyStyles>;
|
|
92
|
+
default: () => {
|
|
93
|
+
readonly group: {
|
|
94
|
+
readonly root: "group";
|
|
95
|
+
readonly label: "text-primary text-lg font-bold";
|
|
96
|
+
readonly item: "group-item";
|
|
97
|
+
};
|
|
98
|
+
readonly verticalLayout: {
|
|
99
|
+
readonly root: "flex flex-col gap-x-2";
|
|
100
|
+
readonly item: "w-full";
|
|
101
|
+
};
|
|
102
|
+
readonly horizontalLayout: {
|
|
103
|
+
readonly root: "flex flex-row gap-x-2";
|
|
104
|
+
readonly item: "w-full";
|
|
105
|
+
};
|
|
106
|
+
readonly arrayList: {
|
|
107
|
+
readonly root: "fieldset";
|
|
108
|
+
readonly legend: "fieldset-legend text-xl capitalize";
|
|
109
|
+
};
|
|
110
|
+
readonly control: {
|
|
111
|
+
readonly root: "fieldset";
|
|
112
|
+
readonly wrapper: "fieldset";
|
|
113
|
+
readonly label: "fieldset-legend";
|
|
114
|
+
readonly error: "";
|
|
115
|
+
readonly input: "input";
|
|
116
|
+
readonly textarea: "input h-32";
|
|
117
|
+
readonly checkbox: "checkbox";
|
|
118
|
+
readonly select: "input pr-14";
|
|
119
|
+
readonly description: "form-control--description label text-xs text-gray-500";
|
|
120
|
+
};
|
|
121
|
+
readonly fixedArrayList: {
|
|
122
|
+
readonly root: "flex flex-row gap-x-2";
|
|
123
|
+
readonly item: "w-full";
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
width: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
132
|
+
clear: () => any;
|
|
133
|
+
blur: (event: Event) => any;
|
|
134
|
+
change: (value: any) => any;
|
|
135
|
+
focus: (event: FocusEvent) => any;
|
|
136
|
+
"update:modelValue": (value: any) => any;
|
|
137
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
138
|
+
modelValue: {
|
|
139
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
140
|
+
default: string;
|
|
141
|
+
};
|
|
142
|
+
fetchOptions: {
|
|
143
|
+
type: FunctionConstructor;
|
|
144
|
+
default: null;
|
|
145
|
+
};
|
|
146
|
+
debounceMs: {
|
|
147
|
+
type: NumberConstructor;
|
|
148
|
+
default: number;
|
|
149
|
+
};
|
|
150
|
+
maxResults: {
|
|
151
|
+
type: NumberConstructor;
|
|
152
|
+
default: number;
|
|
153
|
+
};
|
|
154
|
+
freeText: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
options: {
|
|
159
|
+
type: import('vue').PropType<Array<OptionValue>>;
|
|
160
|
+
required: false;
|
|
161
|
+
};
|
|
162
|
+
isLoading: {
|
|
163
|
+
type: BooleanConstructor;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
query: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
default: null;
|
|
169
|
+
};
|
|
170
|
+
isActive: {
|
|
171
|
+
type: FunctionConstructor;
|
|
172
|
+
default: (item: any) => boolean;
|
|
173
|
+
};
|
|
174
|
+
labelKey: {
|
|
175
|
+
type: StringConstructor;
|
|
176
|
+
default: string;
|
|
177
|
+
};
|
|
178
|
+
valueKey: {
|
|
179
|
+
type: StringConstructor;
|
|
180
|
+
default: string;
|
|
181
|
+
};
|
|
182
|
+
enableCreate: {
|
|
183
|
+
type: BooleanConstructor;
|
|
184
|
+
default: boolean;
|
|
185
|
+
};
|
|
186
|
+
id: {
|
|
187
|
+
type: StringConstructor;
|
|
188
|
+
};
|
|
189
|
+
placeholder: {
|
|
190
|
+
type: StringConstructor;
|
|
191
|
+
};
|
|
192
|
+
description: {
|
|
193
|
+
type: StringConstructor;
|
|
194
|
+
};
|
|
195
|
+
errors: {
|
|
196
|
+
type: StringConstructor;
|
|
197
|
+
};
|
|
198
|
+
label: {
|
|
199
|
+
type: StringConstructor;
|
|
200
|
+
};
|
|
201
|
+
visible: {
|
|
202
|
+
type: BooleanConstructor;
|
|
203
|
+
default: boolean;
|
|
204
|
+
};
|
|
205
|
+
required: {
|
|
206
|
+
type: BooleanConstructor;
|
|
207
|
+
default: boolean;
|
|
208
|
+
};
|
|
209
|
+
enabled: {
|
|
210
|
+
type: BooleanConstructor;
|
|
211
|
+
default: boolean;
|
|
212
|
+
};
|
|
213
|
+
isFocused: {
|
|
214
|
+
type: BooleanConstructor;
|
|
215
|
+
default: boolean;
|
|
216
|
+
};
|
|
217
|
+
isTouched: {
|
|
218
|
+
type: BooleanConstructor;
|
|
219
|
+
default: boolean;
|
|
220
|
+
};
|
|
221
|
+
hideLabel: {
|
|
222
|
+
type: BooleanConstructor;
|
|
223
|
+
default: boolean;
|
|
224
|
+
};
|
|
225
|
+
styles: {
|
|
226
|
+
type: import('vue').PropType<import('../core/styles').MyStyles>;
|
|
227
|
+
default: () => {
|
|
228
|
+
readonly group: {
|
|
229
|
+
readonly root: "group";
|
|
230
|
+
readonly label: "text-primary text-lg font-bold";
|
|
231
|
+
readonly item: "group-item";
|
|
232
|
+
};
|
|
233
|
+
readonly verticalLayout: {
|
|
234
|
+
readonly root: "flex flex-col gap-x-2";
|
|
235
|
+
readonly item: "w-full";
|
|
236
|
+
};
|
|
237
|
+
readonly horizontalLayout: {
|
|
238
|
+
readonly root: "flex flex-row gap-x-2";
|
|
239
|
+
readonly item: "w-full";
|
|
240
|
+
};
|
|
241
|
+
readonly arrayList: {
|
|
242
|
+
readonly root: "fieldset";
|
|
243
|
+
readonly legend: "fieldset-legend text-xl capitalize";
|
|
244
|
+
};
|
|
245
|
+
readonly control: {
|
|
246
|
+
readonly root: "fieldset";
|
|
247
|
+
readonly wrapper: "fieldset";
|
|
248
|
+
readonly label: "fieldset-legend";
|
|
249
|
+
readonly error: "";
|
|
250
|
+
readonly input: "input";
|
|
251
|
+
readonly textarea: "input h-32";
|
|
252
|
+
readonly checkbox: "checkbox";
|
|
253
|
+
readonly select: "input pr-14";
|
|
254
|
+
readonly description: "form-control--description label text-xs text-gray-500";
|
|
255
|
+
};
|
|
256
|
+
readonly fixedArrayList: {
|
|
257
|
+
readonly root: "flex flex-row gap-x-2";
|
|
258
|
+
readonly item: "w-full";
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
width: {
|
|
263
|
+
type: StringConstructor;
|
|
264
|
+
default: string;
|
|
265
|
+
};
|
|
266
|
+
}>> & Readonly<{
|
|
267
|
+
onClear?: (() => any) | undefined;
|
|
268
|
+
onBlur?: ((event: Event) => any) | undefined;
|
|
269
|
+
onChange?: ((value: any) => any) | undefined;
|
|
270
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
271
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
272
|
+
}>, {
|
|
273
|
+
required: boolean;
|
|
274
|
+
isActive: Function;
|
|
275
|
+
query: string;
|
|
276
|
+
width: string;
|
|
277
|
+
labelKey: string;
|
|
278
|
+
valueKey: string;
|
|
279
|
+
styles: {
|
|
280
|
+
readonly group: {
|
|
281
|
+
readonly root: "group";
|
|
282
|
+
readonly label: "text-primary text-lg font-bold";
|
|
283
|
+
readonly item: "group-item";
|
|
284
|
+
};
|
|
285
|
+
readonly verticalLayout: {
|
|
286
|
+
readonly root: "flex flex-col gap-x-2";
|
|
287
|
+
readonly item: "w-full";
|
|
288
|
+
};
|
|
289
|
+
readonly horizontalLayout: {
|
|
290
|
+
readonly root: "flex flex-row gap-x-2";
|
|
291
|
+
readonly item: "w-full";
|
|
292
|
+
};
|
|
293
|
+
readonly arrayList: {
|
|
294
|
+
readonly root: "fieldset";
|
|
295
|
+
readonly legend: "fieldset-legend text-xl capitalize";
|
|
296
|
+
};
|
|
297
|
+
readonly control: {
|
|
298
|
+
readonly root: "fieldset";
|
|
299
|
+
readonly wrapper: "fieldset";
|
|
300
|
+
readonly label: "fieldset-legend";
|
|
301
|
+
readonly error: "";
|
|
302
|
+
readonly input: "input";
|
|
303
|
+
readonly textarea: "input h-32";
|
|
304
|
+
readonly checkbox: "checkbox";
|
|
305
|
+
readonly select: "input pr-14";
|
|
306
|
+
readonly description: "form-control--description label text-xs text-gray-500";
|
|
307
|
+
};
|
|
308
|
+
readonly fixedArrayList: {
|
|
309
|
+
readonly root: "flex flex-row gap-x-2";
|
|
310
|
+
readonly item: "w-full";
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
hideLabel: boolean;
|
|
314
|
+
freeText: boolean;
|
|
315
|
+
enableCreate: boolean;
|
|
316
|
+
isLoading: boolean;
|
|
317
|
+
isTouched: boolean;
|
|
318
|
+
visible: boolean;
|
|
319
|
+
enabled: boolean;
|
|
320
|
+
isFocused: boolean;
|
|
321
|
+
modelValue: string | Record<string, any>;
|
|
322
|
+
fetchOptions: Function;
|
|
323
|
+
debounceMs: number;
|
|
324
|
+
maxResults: number;
|
|
325
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
326
|
+
inputRef: HTMLInputElement;
|
|
327
|
+
}, HTMLDivElement>;
|
|
328
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export type OptionValue = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const ListResultsEmits: string[];
|
|
7
|
+
export declare const ListProperties: {
|
|
8
|
+
options: {
|
|
9
|
+
type: PropType<Array<OptionValue>>;
|
|
10
|
+
required: false;
|
|
11
|
+
};
|
|
12
|
+
isLoading: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
query: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: null;
|
|
19
|
+
};
|
|
20
|
+
isActive: {
|
|
21
|
+
type: FunctionConstructor;
|
|
22
|
+
default: (item: any) => boolean;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { OptionValue } from './ListResults.properties';
|
|
2
|
+
export declare function highlight(text: string, query: string): string;
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
options: {
|
|
5
|
+
type: import('vue').PropType<Array<OptionValue>>;
|
|
6
|
+
required: false;
|
|
7
|
+
};
|
|
8
|
+
isLoading: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
query: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: null;
|
|
15
|
+
};
|
|
16
|
+
isActive: {
|
|
17
|
+
type: FunctionConstructor;
|
|
18
|
+
default: (item: any) => boolean;
|
|
19
|
+
};
|
|
20
|
+
}>, {
|
|
21
|
+
handleKeydown: (e: KeyboardEvent) => void;
|
|
22
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
+
options: {
|
|
24
|
+
type: import('vue').PropType<Array<OptionValue>>;
|
|
25
|
+
required: false;
|
|
26
|
+
};
|
|
27
|
+
isLoading: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
query: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: null;
|
|
34
|
+
};
|
|
35
|
+
isActive: {
|
|
36
|
+
type: FunctionConstructor;
|
|
37
|
+
default: (item: any) => boolean;
|
|
38
|
+
};
|
|
39
|
+
}>> & Readonly<{}>, {
|
|
40
|
+
isActive: Function;
|
|
41
|
+
query: string;
|
|
42
|
+
isLoading: boolean;
|
|
43
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
44
|
+
listRef: HTMLUListElement;
|
|
45
|
+
}, HTMLUListElement>;
|
|
46
|
+
export default _default;
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
isOpen: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
isActive: {
|
|
7
|
+
type: FunctionConstructor;
|
|
8
|
+
default: (item: any) => boolean;
|
|
9
|
+
};
|
|
10
|
+
options: {
|
|
11
|
+
type: import('vue').PropType<Array<any>>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
labelKey: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
valueKey: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
enableCreate: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
id: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
};
|
|
29
|
+
placeholder: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
};
|
|
32
|
+
description: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
};
|
|
35
|
+
errors: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
};
|
|
38
|
+
label: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
};
|
|
41
|
+
visible: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
required: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
enabled: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
isFocused: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
isTouched: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
hideLabel: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
styles: {
|
|
66
|
+
type: import('vue').PropType<import('../core/styles').MyStyles>;
|
|
67
|
+
default: () => {
|
|
68
|
+
readonly group: {
|
|
69
|
+
readonly root: "group";
|
|
70
|
+
readonly label: "text-primary text-lg font-bold";
|
|
71
|
+
readonly item: "group-item";
|
|
72
|
+
};
|
|
73
|
+
readonly verticalLayout: {
|
|
74
|
+
readonly root: "flex flex-col gap-x-2";
|
|
75
|
+
readonly item: "w-full";
|
|
76
|
+
};
|
|
77
|
+
readonly horizontalLayout: {
|
|
78
|
+
readonly root: "flex flex-row gap-x-2";
|
|
79
|
+
readonly item: "w-full";
|
|
80
|
+
};
|
|
81
|
+
readonly arrayList: {
|
|
82
|
+
readonly root: "fieldset";
|
|
83
|
+
readonly legend: "fieldset-legend text-xl capitalize";
|
|
84
|
+
};
|
|
85
|
+
readonly control: {
|
|
86
|
+
readonly root: "fieldset";
|
|
87
|
+
readonly wrapper: "fieldset";
|
|
88
|
+
readonly label: "fieldset-legend";
|
|
89
|
+
readonly error: "";
|
|
90
|
+
readonly input: "input";
|
|
91
|
+
readonly textarea: "input h-32";
|
|
92
|
+
readonly checkbox: "checkbox";
|
|
93
|
+
readonly select: "input pr-14";
|
|
94
|
+
readonly description: "form-control--description label text-xs text-gray-500";
|
|
95
|
+
};
|
|
96
|
+
readonly fixedArrayList: {
|
|
97
|
+
readonly root: "flex flex-row gap-x-2";
|
|
98
|
+
readonly item: "w-full";
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
width: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
isLoading: {
|
|
107
|
+
type: BooleanConstructor;
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
query: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: null;
|
|
113
|
+
};
|
|
114
|
+
modelValue: {
|
|
115
|
+
type: import('vue').PropType<any[]>;
|
|
116
|
+
};
|
|
117
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
118
|
+
clear: () => any;
|
|
119
|
+
blur: (event: Event) => any;
|
|
120
|
+
change: (value: any) => any;
|
|
121
|
+
focus: (event: FocusEvent) => any;
|
|
122
|
+
"update:modelValue": (...args: unknown[]) => any;
|
|
123
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
124
|
+
isOpen: {
|
|
125
|
+
type: BooleanConstructor;
|
|
126
|
+
default: boolean;
|
|
127
|
+
};
|
|
128
|
+
isActive: {
|
|
129
|
+
type: FunctionConstructor;
|
|
130
|
+
default: (item: any) => boolean;
|
|
131
|
+
};
|
|
132
|
+
options: {
|
|
133
|
+
type: import('vue').PropType<Array<any>>;
|
|
134
|
+
required: true;
|
|
135
|
+
};
|
|
136
|
+
labelKey: {
|
|
137
|
+
type: StringConstructor;
|
|
138
|
+
default: string;
|
|
139
|
+
};
|
|
140
|
+
valueKey: {
|
|
141
|
+
type: StringConstructor;
|
|
142
|
+
default: string;
|
|
143
|
+
};
|
|
144
|
+
enableCreate: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
148
|
+
id: {
|
|
149
|
+
type: StringConstructor;
|
|
150
|
+
};
|
|
151
|
+
placeholder: {
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
};
|
|
154
|
+
description: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
};
|
|
157
|
+
errors: {
|
|
158
|
+
type: StringConstructor;
|
|
159
|
+
};
|
|
160
|
+
label: {
|
|
161
|
+
type: StringConstructor;
|
|
162
|
+
};
|
|
163
|
+
visible: {
|
|
164
|
+
type: BooleanConstructor;
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
167
|
+
required: {
|
|
168
|
+
type: BooleanConstructor;
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
171
|
+
enabled: {
|
|
172
|
+
type: BooleanConstructor;
|
|
173
|
+
default: boolean;
|
|
174
|
+
};
|
|
175
|
+
isFocused: {
|
|
176
|
+
type: BooleanConstructor;
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
179
|
+
isTouched: {
|
|
180
|
+
type: BooleanConstructor;
|
|
181
|
+
default: boolean;
|
|
182
|
+
};
|
|
183
|
+
hideLabel: {
|
|
184
|
+
type: BooleanConstructor;
|
|
185
|
+
default: boolean;
|
|
186
|
+
};
|
|
187
|
+
styles: {
|
|
188
|
+
type: import('vue').PropType<import('../core/styles').MyStyles>;
|
|
189
|
+
default: () => {
|
|
190
|
+
readonly group: {
|
|
191
|
+
readonly root: "group";
|
|
192
|
+
readonly label: "text-primary text-lg font-bold";
|
|
193
|
+
readonly item: "group-item";
|
|
194
|
+
};
|
|
195
|
+
readonly verticalLayout: {
|
|
196
|
+
readonly root: "flex flex-col gap-x-2";
|
|
197
|
+
readonly item: "w-full";
|
|
198
|
+
};
|
|
199
|
+
readonly horizontalLayout: {
|
|
200
|
+
readonly root: "flex flex-row gap-x-2";
|
|
201
|
+
readonly item: "w-full";
|
|
202
|
+
};
|
|
203
|
+
readonly arrayList: {
|
|
204
|
+
readonly root: "fieldset";
|
|
205
|
+
readonly legend: "fieldset-legend text-xl capitalize";
|
|
206
|
+
};
|
|
207
|
+
readonly control: {
|
|
208
|
+
readonly root: "fieldset";
|
|
209
|
+
readonly wrapper: "fieldset";
|
|
210
|
+
readonly label: "fieldset-legend";
|
|
211
|
+
readonly error: "";
|
|
212
|
+
readonly input: "input";
|
|
213
|
+
readonly textarea: "input h-32";
|
|
214
|
+
readonly checkbox: "checkbox";
|
|
215
|
+
readonly select: "input pr-14";
|
|
216
|
+
readonly description: "form-control--description label text-xs text-gray-500";
|
|
217
|
+
};
|
|
218
|
+
readonly fixedArrayList: {
|
|
219
|
+
readonly root: "flex flex-row gap-x-2";
|
|
220
|
+
readonly item: "w-full";
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
width: {
|
|
225
|
+
type: StringConstructor;
|
|
226
|
+
default: string;
|
|
227
|
+
};
|
|
228
|
+
isLoading: {
|
|
229
|
+
type: BooleanConstructor;
|
|
230
|
+
default: boolean;
|
|
231
|
+
};
|
|
232
|
+
query: {
|
|
233
|
+
type: StringConstructor;
|
|
234
|
+
default: null;
|
|
235
|
+
};
|
|
236
|
+
modelValue: {
|
|
237
|
+
type: import('vue').PropType<any[]>;
|
|
238
|
+
};
|
|
239
|
+
}>> & Readonly<{
|
|
240
|
+
onClear?: (() => any) | undefined;
|
|
241
|
+
onBlur?: ((event: Event) => any) | undefined;
|
|
242
|
+
onChange?: ((value: any) => any) | undefined;
|
|
243
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
244
|
+
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
245
|
+
}>, {
|
|
246
|
+
required: boolean;
|
|
247
|
+
isActive: Function;
|
|
248
|
+
query: string;
|
|
249
|
+
width: string;
|
|
250
|
+
labelKey: string;
|
|
251
|
+
valueKey: string;
|
|
252
|
+
styles: {
|
|
253
|
+
readonly group: {
|
|
254
|
+
readonly root: "group";
|
|
255
|
+
readonly label: "text-primary text-lg font-bold";
|
|
256
|
+
readonly item: "group-item";
|
|
257
|
+
};
|
|
258
|
+
readonly verticalLayout: {
|
|
259
|
+
readonly root: "flex flex-col gap-x-2";
|
|
260
|
+
readonly item: "w-full";
|
|
261
|
+
};
|
|
262
|
+
readonly horizontalLayout: {
|
|
263
|
+
readonly root: "flex flex-row gap-x-2";
|
|
264
|
+
readonly item: "w-full";
|
|
265
|
+
};
|
|
266
|
+
readonly arrayList: {
|
|
267
|
+
readonly root: "fieldset";
|
|
268
|
+
readonly legend: "fieldset-legend text-xl capitalize";
|
|
269
|
+
};
|
|
270
|
+
readonly control: {
|
|
271
|
+
readonly root: "fieldset";
|
|
272
|
+
readonly wrapper: "fieldset";
|
|
273
|
+
readonly label: "fieldset-legend";
|
|
274
|
+
readonly error: "";
|
|
275
|
+
readonly input: "input";
|
|
276
|
+
readonly textarea: "input h-32";
|
|
277
|
+
readonly checkbox: "checkbox";
|
|
278
|
+
readonly select: "input pr-14";
|
|
279
|
+
readonly description: "form-control--description label text-xs text-gray-500";
|
|
280
|
+
};
|
|
281
|
+
readonly fixedArrayList: {
|
|
282
|
+
readonly root: "flex flex-row gap-x-2";
|
|
283
|
+
readonly item: "w-full";
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
hideLabel: boolean;
|
|
287
|
+
enableCreate: boolean;
|
|
288
|
+
isLoading: boolean;
|
|
289
|
+
isTouched: boolean;
|
|
290
|
+
visible: boolean;
|
|
291
|
+
enabled: boolean;
|
|
292
|
+
isFocused: boolean;
|
|
293
|
+
isOpen: boolean;
|
|
294
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
295
|
+
export default _default;
|