magoo 0.1.0-beta.2 → 0.1.0-beta.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/README.md +5 -8
- package/README.pt-BR.md +7 -10
- package/dist/index.d.ts +1514 -199
- package/dist/magoo.css +1 -1
- package/dist/magoo.es.js +7096 -1327
- package/dist/magoo.umd.js +1 -1
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -3,57 +3,40 @@ import { ComponentOptionsMixin } from 'vue';
|
|
|
3
3
|
import { ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { ComputedRef } from 'vue';
|
|
5
5
|
import { DefineComponent } from 'vue';
|
|
6
|
+
import { FactoryArg } from 'imask';
|
|
7
|
+
import { MaybeRefOrGetter } from 'vue';
|
|
6
8
|
import { PublicProps } from 'vue';
|
|
7
9
|
import { Ref } from 'vue';
|
|
8
10
|
|
|
9
11
|
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
12
|
label: string;
|
|
11
|
-
type:
|
|
13
|
+
type: ButtonType;
|
|
12
14
|
disabled: boolean;
|
|
13
15
|
loading: boolean;
|
|
16
|
+
skin: MagooSkin;
|
|
14
17
|
ariaLabel: string;
|
|
18
|
+
variant: ButtonVariant;
|
|
19
|
+
size: ButtonSize;
|
|
20
|
+
shape: ButtonShape;
|
|
21
|
+
fullWidth: boolean;
|
|
22
|
+
iconOnly: boolean;
|
|
15
23
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
16
24
|
|
|
17
|
-
declare const
|
|
18
|
-
legend: string;
|
|
19
|
-
id: string;
|
|
20
|
-
hint: string;
|
|
21
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFieldSetElement>;
|
|
22
|
-
|
|
23
|
-
declare const __VLS_component_3: DefineComponent<__VLS_Props_11, {
|
|
24
|
-
focusFirstInvalid: typeof focusInvalid;
|
|
25
|
-
formElement: Ref<HTMLFormElement | undefined, HTMLFormElement | undefined>;
|
|
26
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
27
|
-
submit: (value: Record<string, unknown>) => any;
|
|
28
|
-
invalid: (errors: MagooErrorMap) => any;
|
|
29
|
-
}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
|
|
30
|
-
onSubmit?: ((value: Record<string, unknown>) => any) | undefined;
|
|
31
|
-
onInvalid?: ((errors: MagooErrorMap) => any) | undefined;
|
|
32
|
-
}>, {
|
|
33
|
-
values: Record<string, unknown>;
|
|
34
|
-
errors: Record<string, MagooFieldError>;
|
|
35
|
-
validation: MagooFormController | null;
|
|
36
|
-
focusFirstInvalid: boolean;
|
|
37
|
-
novalidate: boolean;
|
|
38
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
39
|
-
formElement: HTMLFormElement;
|
|
40
|
-
}, HTMLFormElement>;
|
|
41
|
-
|
|
42
|
-
declare const __VLS_component_4: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
25
|
+
declare const __VLS_component_10: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
43
26
|
search: (value: string) => any;
|
|
27
|
+
query: (value: MListQuery) => any;
|
|
44
28
|
"update:page": (value: number) => any;
|
|
45
29
|
"update:sort": (value: string) => any;
|
|
46
30
|
"update:sortDirection": (value: SortDirection) => any;
|
|
47
31
|
"update:pageSize": (value: number | "all") => any;
|
|
48
|
-
query: (value: MListQuery) => any;
|
|
49
32
|
retry: () => any;
|
|
50
|
-
}, string, PublicProps, Readonly<
|
|
33
|
+
}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{
|
|
51
34
|
onSearch?: ((value: string) => any) | undefined;
|
|
35
|
+
onQuery?: ((value: MListQuery) => any) | undefined;
|
|
52
36
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
53
37
|
"onUpdate:sort"?: ((value: string) => any) | undefined;
|
|
54
38
|
"onUpdate:sortDirection"?: ((value: SortDirection) => any) | undefined;
|
|
55
39
|
"onUpdate:pageSize"?: ((value: number | "all") => any) | undefined;
|
|
56
|
-
onQuery?: ((value: MListQuery) => any) | undefined;
|
|
57
40
|
onRetry?: (() => any) | undefined;
|
|
58
41
|
}>, {
|
|
59
42
|
sort: string;
|
|
@@ -62,6 +45,8 @@ loading: boolean;
|
|
|
62
45
|
ariaLabel: string;
|
|
63
46
|
id: string;
|
|
64
47
|
hint: string;
|
|
48
|
+
emptyLabel: string;
|
|
49
|
+
loadingLabel: string;
|
|
65
50
|
items: ListItem[];
|
|
66
51
|
itemKey: string | ((item: ListItem, index: number) => string | number);
|
|
67
52
|
itemLabel: string | ((item: ListItem, index: number) => string);
|
|
@@ -82,6 +67,7 @@ sortDirection: SortDirection;
|
|
|
82
67
|
page: number;
|
|
83
68
|
pageSize: number;
|
|
84
69
|
pageSizeOptions: (number | "all")[];
|
|
70
|
+
paginated: boolean;
|
|
85
71
|
pageSizeLabel: string;
|
|
86
72
|
allPageSizeLabel: string;
|
|
87
73
|
density: "compact" | "comfortable";
|
|
@@ -89,8 +75,6 @@ serverSide: boolean;
|
|
|
89
75
|
totalItems: number;
|
|
90
76
|
loadError: string;
|
|
91
77
|
retryLabel: string;
|
|
92
|
-
emptyLabel: string;
|
|
93
|
-
loadingLabel: string;
|
|
94
78
|
paginationLabel: string;
|
|
95
79
|
previousPageLabel: string;
|
|
96
80
|
nextPageLabel: string;
|
|
@@ -101,33 +85,449 @@ pageSizeSelect: HTMLSelectElement;
|
|
|
101
85
|
paginationNav: HTMLElement;
|
|
102
86
|
}, any>;
|
|
103
87
|
|
|
88
|
+
declare const __VLS_component_11: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
89
|
+
query: (value: MTableQuery) => any;
|
|
90
|
+
"update:sort": (value: string) => any;
|
|
91
|
+
"update:sortDirection": (value: "desc" | "asc") => any;
|
|
92
|
+
"update:search": (value: string) => any;
|
|
93
|
+
}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
|
|
94
|
+
onQuery?: ((value: MTableQuery) => any) | undefined;
|
|
95
|
+
"onUpdate:sort"?: ((value: string) => any) | undefined;
|
|
96
|
+
"onUpdate:sortDirection"?: ((value: "desc" | "asc") => any) | undefined;
|
|
97
|
+
"onUpdate:search"?: ((value: string) => any) | undefined;
|
|
98
|
+
}>, {
|
|
99
|
+
sort: string;
|
|
100
|
+
label: string;
|
|
101
|
+
loading: boolean;
|
|
102
|
+
ariaLabel: string;
|
|
103
|
+
search: string;
|
|
104
|
+
caption: string;
|
|
105
|
+
id: string;
|
|
106
|
+
hint: string;
|
|
107
|
+
emptyLabel: string;
|
|
108
|
+
loadingLabel: string;
|
|
109
|
+
rows: TableRow[];
|
|
110
|
+
searchable: boolean;
|
|
111
|
+
searchLabel: string;
|
|
112
|
+
searchFields: string[];
|
|
113
|
+
clearSearchLabel: string;
|
|
114
|
+
sortable: boolean;
|
|
115
|
+
sortDirection: "asc" | "desc";
|
|
116
|
+
page: number;
|
|
117
|
+
pageSize: number;
|
|
118
|
+
density: "comfortable" | "compact";
|
|
119
|
+
serverSide: boolean;
|
|
120
|
+
columns: MTableColumn[];
|
|
121
|
+
responsiveLabel: string;
|
|
122
|
+
rowKey: string | ((row: TableRow, index: number) => string | number);
|
|
123
|
+
noResultsLabel: string;
|
|
124
|
+
totalRows: number;
|
|
125
|
+
interactionsDisabled: boolean;
|
|
126
|
+
resultsLabel: (count: number) => string;
|
|
127
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
128
|
+
searchInput: HTMLInputElement;
|
|
129
|
+
}, any>;
|
|
130
|
+
|
|
131
|
+
declare const __VLS_component_12: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
132
|
+
cancel: (value: MEditableTableRowEvent) => any;
|
|
133
|
+
query: (value: MTableQuery) => any;
|
|
134
|
+
"update:sort": (value: string) => any;
|
|
135
|
+
"update:sortDirection": (value: "desc" | "asc") => any;
|
|
136
|
+
retry: () => any;
|
|
137
|
+
"update:search": (value: string) => any;
|
|
138
|
+
edit: (value: MEditableTableRowEvent) => any;
|
|
139
|
+
save: (value: MEditableTableSaveEvent) => any;
|
|
140
|
+
action: (value: MEditableTableActionEvent) => any;
|
|
141
|
+
}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{
|
|
142
|
+
onCancel?: ((value: MEditableTableRowEvent) => any) | undefined;
|
|
143
|
+
onQuery?: ((value: MTableQuery) => any) | undefined;
|
|
144
|
+
"onUpdate:sort"?: ((value: string) => any) | undefined;
|
|
145
|
+
"onUpdate:sortDirection"?: ((value: "desc" | "asc") => any) | undefined;
|
|
146
|
+
onRetry?: (() => any) | undefined;
|
|
147
|
+
"onUpdate:search"?: ((value: string) => any) | undefined;
|
|
148
|
+
onEdit?: ((value: MEditableTableRowEvent) => any) | undefined;
|
|
149
|
+
onSave?: ((value: MEditableTableSaveEvent) => any) | undefined;
|
|
150
|
+
onAction?: ((value: MEditableTableActionEvent) => any) | undefined;
|
|
151
|
+
}>, {
|
|
152
|
+
sort: string;
|
|
153
|
+
label: string;
|
|
154
|
+
loading: boolean;
|
|
155
|
+
ariaLabel: string;
|
|
156
|
+
search: string;
|
|
157
|
+
caption: string;
|
|
158
|
+
id: string;
|
|
159
|
+
hint: string;
|
|
160
|
+
validate: (values: TableRow_3, row: TableRow_3) => MEditableTableErrors | void;
|
|
161
|
+
emptyLabel: string;
|
|
162
|
+
loadingLabel: string;
|
|
163
|
+
requiredMessage: (label: string) => string;
|
|
164
|
+
rows: TableRow_3[];
|
|
165
|
+
searchable: boolean;
|
|
166
|
+
searchLabel: string;
|
|
167
|
+
searchFields: string[];
|
|
168
|
+
clearSearchLabel: string;
|
|
169
|
+
sortable: boolean;
|
|
170
|
+
sortDirection: "asc" | "desc";
|
|
171
|
+
density: "comfortable" | "compact";
|
|
172
|
+
serverSide: boolean;
|
|
173
|
+
loadError: string;
|
|
174
|
+
retryLabel: string;
|
|
175
|
+
columns: MEditableTableColumn[];
|
|
176
|
+
responsiveLabel: string;
|
|
177
|
+
rowKey: string | ((row: TableRow_3, index: number) => string | number);
|
|
178
|
+
noResultsLabel: string;
|
|
179
|
+
totalRows: number;
|
|
180
|
+
resultsLabel: (count: number) => string;
|
|
181
|
+
actions: MEditableTableAction[];
|
|
182
|
+
rowLabel: string | ((row: TableRow_3, index: number) => string);
|
|
183
|
+
actionsLabel: string;
|
|
184
|
+
editLabel: string;
|
|
185
|
+
saveLabel: string;
|
|
186
|
+
cancelLabel: string;
|
|
187
|
+
editingMessage: string;
|
|
188
|
+
savedMessage: string;
|
|
189
|
+
cancelledMessage: string;
|
|
190
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
191
|
+
root: HTMLDivElement;
|
|
192
|
+
}, any>;
|
|
193
|
+
|
|
194
|
+
declare const __VLS_component_13: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
195
|
+
"update:selectedKeys": (value: MDataTableKey[]) => void;
|
|
196
|
+
"update:page": (value: number) => void;
|
|
197
|
+
"update:pageSize": (value: number) => void;
|
|
198
|
+
"update:sort": (value: string) => void;
|
|
199
|
+
"update:search": (value: string) => void;
|
|
200
|
+
"update:sortDirection": (value: "desc" | "asc") => void;
|
|
201
|
+
query: (value: MDataTableQuery) => void;
|
|
202
|
+
retry: () => void;
|
|
203
|
+
}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{
|
|
204
|
+
onQuery?: ((value: MDataTableQuery) => any) | undefined;
|
|
205
|
+
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
206
|
+
"onUpdate:sort"?: ((value: string) => any) | undefined;
|
|
207
|
+
"onUpdate:sortDirection"?: ((value: "desc" | "asc") => any) | undefined;
|
|
208
|
+
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
209
|
+
onRetry?: (() => any) | undefined;
|
|
210
|
+
"onUpdate:search"?: ((value: string) => any) | undefined;
|
|
211
|
+
"onUpdate:selectedKeys"?: ((value: MDataTableKey[]) => any) | undefined;
|
|
212
|
+
}>, {
|
|
213
|
+
sort: string;
|
|
214
|
+
label: string;
|
|
215
|
+
disabled: boolean;
|
|
216
|
+
loading: boolean;
|
|
217
|
+
ariaLabel: string;
|
|
218
|
+
search: string;
|
|
219
|
+
caption: string;
|
|
220
|
+
id: string;
|
|
221
|
+
hint: string;
|
|
222
|
+
emptyLabel: string;
|
|
223
|
+
loadingLabel: string;
|
|
224
|
+
rows: TableRow_2[];
|
|
225
|
+
searchable: boolean;
|
|
226
|
+
searchLabel: string;
|
|
227
|
+
searchFields: string[];
|
|
228
|
+
clearSearchLabel: string;
|
|
229
|
+
sortable: boolean;
|
|
230
|
+
sortDirection: "asc" | "desc";
|
|
231
|
+
page: number;
|
|
232
|
+
pageSize: number;
|
|
233
|
+
pageSizeOptions: number[];
|
|
234
|
+
pageSizeLabel: string;
|
|
235
|
+
density: "comfortable" | "compact";
|
|
236
|
+
serverSide: boolean;
|
|
237
|
+
loadError: string;
|
|
238
|
+
retryLabel: string;
|
|
239
|
+
paginationLabel: string;
|
|
240
|
+
columns: MTableColumn[];
|
|
241
|
+
responsiveLabel: string;
|
|
242
|
+
noResultsLabel: string;
|
|
243
|
+
totalRows: number;
|
|
244
|
+
resultsLabel: (start: number, end: number, total: number) => string;
|
|
245
|
+
rowLabel: string | ((row: TableRow_2, index: number) => string);
|
|
246
|
+
firstLabel: string;
|
|
247
|
+
lastLabel: string;
|
|
248
|
+
previousLabel: string;
|
|
249
|
+
nextLabel: string;
|
|
250
|
+
pageLabel: (page: number, pages: number) => string;
|
|
251
|
+
selectable: boolean;
|
|
252
|
+
selectedKeys: MDataTableKey[];
|
|
253
|
+
selectPageLabel: string;
|
|
254
|
+
selectRowLabel: string;
|
|
255
|
+
selectionLabel: (count: number) => string;
|
|
256
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
257
|
+
root: HTMLDivElement;
|
|
258
|
+
previousButton: HTMLButtonElement;
|
|
259
|
+
nextButton: HTMLButtonElement;
|
|
260
|
+
}, any>;
|
|
261
|
+
|
|
262
|
+
declare const __VLS_component_14: DefineComponent<__VLS_Props_29, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_29> & Readonly<{}>, {
|
|
263
|
+
placement: "top" | "right" | "bottom" | "left";
|
|
264
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
265
|
+
wrapperElement: HTMLSpanElement;
|
|
266
|
+
tooltipElement: HTMLSpanElement;
|
|
267
|
+
}, any>;
|
|
268
|
+
|
|
269
|
+
declare const __VLS_component_15: DefineComponent<__VLS_Props_30, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
270
|
+
"update:modelValue": (value: string) => any;
|
|
271
|
+
change: (value: string) => any;
|
|
272
|
+
}, string, PublicProps, Readonly<__VLS_Props_30> & Readonly<{
|
|
273
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
274
|
+
onChange?: ((value: string) => any) | undefined;
|
|
275
|
+
}>, {
|
|
276
|
+
label: string;
|
|
277
|
+
skin: MagooSkin;
|
|
278
|
+
modelValue: string;
|
|
279
|
+
ariaLabelledby: string;
|
|
280
|
+
orientation: TabsOrientation;
|
|
281
|
+
overflow: TabsOverflow;
|
|
282
|
+
panelBorder: boolean;
|
|
283
|
+
contained: boolean;
|
|
284
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
285
|
+
rootElement: HTMLDivElement;
|
|
286
|
+
tabButtons: HTMLButtonElement[];
|
|
287
|
+
}, HTMLDivElement>;
|
|
288
|
+
|
|
289
|
+
declare const __VLS_component_16: DefineComponent<__VLS_Props_31, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_31> & Readonly<{}>, {
|
|
290
|
+
skin: MagooSkin;
|
|
291
|
+
level: HeadingLevel_3;
|
|
292
|
+
gap: string;
|
|
293
|
+
allowMultiple: boolean;
|
|
294
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
295
|
+
|
|
296
|
+
declare const __VLS_component_17: DefineComponent<__VLS_Props_32, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
297
|
+
"update:open": (value: boolean) => any;
|
|
298
|
+
}, string, PublicProps, Readonly<__VLS_Props_32> & Readonly<{
|
|
299
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
300
|
+
}>, {
|
|
301
|
+
open: boolean;
|
|
302
|
+
maxContentHeight: string;
|
|
303
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
304
|
+
|
|
305
|
+
declare const __VLS_component_18: DefineComponent<__VLS_Props_33, {
|
|
306
|
+
dialogElement: Ref<HTMLDialogElement | undefined, HTMLDialogElement | undefined>;
|
|
307
|
+
focus: typeof focus_2;
|
|
308
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
309
|
+
"update:open": (value: boolean) => any;
|
|
310
|
+
close: () => any;
|
|
311
|
+
"close-request": (request: MDialogCloseRequest) => any;
|
|
312
|
+
}, string, PublicProps, Readonly<__VLS_Props_33> & Readonly<{
|
|
313
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
314
|
+
onClose?: (() => any) | undefined;
|
|
315
|
+
"onClose-request"?: ((request: MDialogCloseRequest) => any) | undefined;
|
|
316
|
+
}>, {
|
|
317
|
+
open: boolean;
|
|
318
|
+
closeLabel: string;
|
|
319
|
+
description: string;
|
|
320
|
+
width: string;
|
|
321
|
+
closeOnEscape: boolean;
|
|
322
|
+
closeOnBackdrop: boolean;
|
|
323
|
+
initialFocus: string | HTMLElement;
|
|
324
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
325
|
+
dialogElement: HTMLDialogElement;
|
|
326
|
+
headingElement: HTMLHeadingElement;
|
|
327
|
+
}, any>;
|
|
328
|
+
|
|
329
|
+
declare const __VLS_component_19: DefineComponent<__VLS_Props_34, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
330
|
+
"update:open": (value: boolean) => any;
|
|
331
|
+
cancel: () => any;
|
|
332
|
+
confirm: () => any;
|
|
333
|
+
}, string, PublicProps, Readonly<__VLS_Props_34> & Readonly<{
|
|
334
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
335
|
+
onCancel?: (() => any) | undefined;
|
|
336
|
+
onConfirm?: (() => any) | undefined;
|
|
337
|
+
}>, {
|
|
338
|
+
disabled: boolean;
|
|
339
|
+
loading: boolean;
|
|
340
|
+
open: boolean;
|
|
341
|
+
closeLabel: string;
|
|
342
|
+
message: string;
|
|
343
|
+
description: string;
|
|
344
|
+
width: string;
|
|
345
|
+
cancelLabel: string;
|
|
346
|
+
closeOnEscape: boolean;
|
|
347
|
+
closeOnBackdrop: boolean;
|
|
348
|
+
initialFocus: string | HTMLElement;
|
|
349
|
+
confirmLabel: string;
|
|
350
|
+
closeOnConfirm: boolean;
|
|
351
|
+
confirmVariant: "default" | "danger";
|
|
352
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
353
|
+
|
|
354
|
+
declare const __VLS_component_2: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
355
|
+
"update:open": (value: boolean) => any;
|
|
356
|
+
dismiss: () => any;
|
|
357
|
+
}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
|
|
358
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
359
|
+
onDismiss?: (() => any) | undefined;
|
|
360
|
+
}>, {
|
|
361
|
+
type: AlertType;
|
|
362
|
+
skin: AlertSkin;
|
|
363
|
+
title: string;
|
|
364
|
+
colorSkin: MagooSkin;
|
|
365
|
+
open: boolean;
|
|
366
|
+
dismissible: boolean;
|
|
367
|
+
closeLabel: string;
|
|
368
|
+
role: AlertRole;
|
|
369
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
370
|
+
|
|
371
|
+
declare const __VLS_component_3: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {
|
|
372
|
+
legend: string;
|
|
373
|
+
id: string;
|
|
374
|
+
hint: string;
|
|
375
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFieldSetElement>;
|
|
376
|
+
|
|
377
|
+
declare const __VLS_component_4: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
378
|
+
"update:open": (value: boolean) => any;
|
|
379
|
+
}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
|
|
380
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
381
|
+
}>, {
|
|
382
|
+
skin: MagooSkin;
|
|
383
|
+
open: boolean;
|
|
384
|
+
alignFooter: FooterAlignment;
|
|
385
|
+
footerSkin: boolean;
|
|
386
|
+
inline: boolean;
|
|
387
|
+
level: HeadingLevel;
|
|
388
|
+
maxContentHeight: string;
|
|
389
|
+
resizable: boolean;
|
|
390
|
+
resizeDirection: ResizeDirection;
|
|
391
|
+
minWidth: string;
|
|
392
|
+
minHeight: string;
|
|
393
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
394
|
+
|
|
395
|
+
declare const __VLS_component_5: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {
|
|
396
|
+
skin: MagooSkin;
|
|
397
|
+
alignFooter: FooterAlignment_2;
|
|
398
|
+
footerSkin: boolean;
|
|
399
|
+
level: HeadingLevel_2;
|
|
400
|
+
maxContentHeight: string;
|
|
401
|
+
block: boolean;
|
|
402
|
+
imageAlt: string;
|
|
403
|
+
imageUrl: string;
|
|
404
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
405
|
+
|
|
406
|
+
declare const __VLS_component_6: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {
|
|
407
|
+
minItemWidth: string;
|
|
408
|
+
gap: string;
|
|
409
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
410
|
+
|
|
411
|
+
declare const __VLS_component_7: DefineComponent<__VLS_Props_17, {
|
|
412
|
+
focusFirstInvalid: typeof focusInvalid;
|
|
413
|
+
formElement: Ref<HTMLFormElement | undefined, HTMLFormElement | undefined>;
|
|
414
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
415
|
+
submit: (value: Record<string, unknown>) => any;
|
|
416
|
+
invalid: (errors: MagooErrorMap) => any;
|
|
417
|
+
}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
|
|
418
|
+
onSubmit?: ((value: Record<string, unknown>) => any) | undefined;
|
|
419
|
+
onInvalid?: ((errors: MagooErrorMap) => any) | undefined;
|
|
420
|
+
}>, {
|
|
421
|
+
values: Record<string, unknown>;
|
|
422
|
+
errors: Record<string, MagooFieldError>;
|
|
423
|
+
validation: MagooFormController | null;
|
|
424
|
+
focusFirstInvalid: boolean;
|
|
425
|
+
novalidate: boolean;
|
|
426
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
427
|
+
formElement: HTMLFormElement;
|
|
428
|
+
}, HTMLFormElement>;
|
|
429
|
+
|
|
430
|
+
declare const __VLS_component_8: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
431
|
+
search: (value: string) => any;
|
|
432
|
+
"update:modelValue": (value: string) => any;
|
|
433
|
+
blur: (event: FocusEvent) => any;
|
|
434
|
+
focus: (event: FocusEvent) => any;
|
|
435
|
+
}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{
|
|
436
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
437
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
438
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
439
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
440
|
+
}>, {
|
|
441
|
+
name: string;
|
|
442
|
+
label: string;
|
|
443
|
+
disabled: boolean;
|
|
444
|
+
loading: boolean;
|
|
445
|
+
error: string | string[];
|
|
446
|
+
id: string;
|
|
447
|
+
placeholder: string;
|
|
448
|
+
modelValue: string;
|
|
449
|
+
required: boolean;
|
|
450
|
+
hint: string;
|
|
451
|
+
invalid: boolean;
|
|
452
|
+
submitTriggered: boolean;
|
|
453
|
+
options: MComboboxOption[];
|
|
454
|
+
autocomplete: string;
|
|
455
|
+
filterOptions: boolean;
|
|
456
|
+
optionsLabel: string;
|
|
457
|
+
emptyLabel: string;
|
|
458
|
+
loadingLabel: string;
|
|
459
|
+
clearLabel: string;
|
|
460
|
+
requiredMessage: string;
|
|
461
|
+
teleportTo: string | HTMLElement;
|
|
462
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
463
|
+
controlElement: HTMLDivElement;
|
|
464
|
+
inputElement: HTMLInputElement;
|
|
465
|
+
popupElement: HTMLDivElement;
|
|
466
|
+
listboxElement: HTMLUListElement;
|
|
467
|
+
}, any>;
|
|
468
|
+
|
|
469
|
+
declare const __VLS_component_9: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
470
|
+
search: (value: string) => any;
|
|
471
|
+
"update:modelValue": (value: string[]) => any;
|
|
472
|
+
blur: (value: FocusEvent) => any;
|
|
473
|
+
focus: (value: FocusEvent) => any;
|
|
474
|
+
}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{
|
|
475
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
476
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
477
|
+
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
478
|
+
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
479
|
+
}>, {
|
|
480
|
+
name: string;
|
|
481
|
+
label: string;
|
|
482
|
+
disabled: boolean;
|
|
483
|
+
loading: boolean;
|
|
484
|
+
error: string | string[];
|
|
485
|
+
id: string;
|
|
486
|
+
placeholder: string;
|
|
487
|
+
modelValue: string[];
|
|
488
|
+
required: boolean;
|
|
489
|
+
hint: string;
|
|
490
|
+
invalid: boolean;
|
|
491
|
+
submitTriggered: boolean;
|
|
492
|
+
options: MMultiSelectOption[];
|
|
493
|
+
autocomplete: string;
|
|
494
|
+
removeLabel: string;
|
|
495
|
+
filterOptions: boolean;
|
|
496
|
+
optionsLabel: string;
|
|
497
|
+
emptyLabel: string;
|
|
498
|
+
loadingLabel: string;
|
|
499
|
+
clearLabel: string;
|
|
500
|
+
requiredMessage: string;
|
|
501
|
+
teleportTo: string | HTMLElement;
|
|
502
|
+
selectedLabel: string;
|
|
503
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
504
|
+
widgetElement: HTMLDivElement;
|
|
505
|
+
controlElement: HTMLDivElement;
|
|
506
|
+
inputElement: HTMLInputElement;
|
|
507
|
+
popupElement: HTMLDivElement;
|
|
508
|
+
listboxElement: HTMLUListElement;
|
|
509
|
+
}, any>;
|
|
510
|
+
|
|
104
511
|
declare type __VLS_Props = {
|
|
105
512
|
label?: string;
|
|
106
|
-
type?:
|
|
513
|
+
type?: ButtonType;
|
|
107
514
|
disabled?: boolean;
|
|
108
515
|
loading?: boolean;
|
|
516
|
+
skin?: MagooSkin;
|
|
109
517
|
ariaLabel?: string;
|
|
518
|
+
variant?: ButtonVariant;
|
|
519
|
+
size?: ButtonSize;
|
|
520
|
+
shape?: ButtonShape;
|
|
521
|
+
fullWidth?: boolean;
|
|
522
|
+
iconOnly?: boolean;
|
|
110
523
|
};
|
|
111
524
|
|
|
112
525
|
declare type __VLS_Props_10 = {
|
|
113
|
-
id?: string;
|
|
114
|
-
legend?: string;
|
|
115
|
-
hint?: string;
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
declare type __VLS_Props_11 = {
|
|
119
|
-
values?: Record<string, unknown>;
|
|
120
|
-
errors?: Record<string, MagooFieldError>;
|
|
121
|
-
validation?: MagooFormController | null;
|
|
122
|
-
focusFirstInvalid?: boolean;
|
|
123
|
-
novalidate?: boolean;
|
|
124
|
-
};
|
|
125
|
-
|
|
126
|
-
declare type __VLS_Props_12 = {
|
|
127
526
|
modelValue?: boolean;
|
|
128
527
|
label?: string;
|
|
129
528
|
id?: string;
|
|
130
529
|
name?: string;
|
|
530
|
+
required?: boolean;
|
|
131
531
|
disabled?: boolean;
|
|
132
532
|
error?: string | string[];
|
|
133
533
|
hint?: string;
|
|
@@ -136,8 +536,8 @@ declare type __VLS_Props_12 = {
|
|
|
136
536
|
submitTriggered?: boolean;
|
|
137
537
|
};
|
|
138
538
|
|
|
139
|
-
declare type
|
|
140
|
-
modelValue?: string;
|
|
539
|
+
declare type __VLS_Props_11 = {
|
|
540
|
+
modelValue?: string[];
|
|
141
541
|
legend?: string;
|
|
142
542
|
label?: string;
|
|
143
543
|
id?: string;
|
|
@@ -155,32 +555,60 @@ declare type __VLS_Props_13 = {
|
|
|
155
555
|
submitTriggered?: boolean;
|
|
156
556
|
};
|
|
157
557
|
|
|
158
|
-
declare type
|
|
159
|
-
|
|
160
|
-
|
|
558
|
+
declare type __VLS_Props_12 = {
|
|
559
|
+
message?: MagooFieldError;
|
|
560
|
+
};
|
|
561
|
+
|
|
562
|
+
declare type __VLS_Props_13 = {
|
|
161
563
|
id?: string;
|
|
162
|
-
|
|
163
|
-
options?: Array<{
|
|
164
|
-
label: string;
|
|
165
|
-
value: string;
|
|
166
|
-
}>;
|
|
167
|
-
required?: boolean;
|
|
168
|
-
disabled?: boolean;
|
|
169
|
-
error?: string | string[];
|
|
564
|
+
legend?: string;
|
|
170
565
|
hint?: string;
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
declare type __VLS_Props_14 = {
|
|
569
|
+
alignFooter?: FooterAlignment;
|
|
570
|
+
footerSkin?: boolean;
|
|
571
|
+
inline?: boolean;
|
|
572
|
+
level?: HeadingLevel;
|
|
573
|
+
maxContentHeight?: string;
|
|
574
|
+
open?: boolean;
|
|
575
|
+
resizable?: boolean;
|
|
576
|
+
resizeDirection?: ResizeDirection;
|
|
577
|
+
minWidth?: string;
|
|
578
|
+
minHeight?: string;
|
|
579
|
+
skin?: MagooSkin;
|
|
174
580
|
};
|
|
175
581
|
|
|
176
582
|
declare type __VLS_Props_15 = {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
583
|
+
alignFooter?: FooterAlignment_2;
|
|
584
|
+
block?: boolean;
|
|
585
|
+
footerSkin?: boolean;
|
|
586
|
+
imageAlt?: string;
|
|
587
|
+
imageUrl?: string;
|
|
588
|
+
level?: HeadingLevel_2;
|
|
589
|
+
maxContentHeight?: string;
|
|
590
|
+
skin?: MagooSkin;
|
|
591
|
+
};
|
|
592
|
+
|
|
593
|
+
declare type __VLS_Props_16 = {
|
|
594
|
+
minItemWidth?: string;
|
|
595
|
+
gap?: string;
|
|
596
|
+
};
|
|
597
|
+
|
|
598
|
+
declare type __VLS_Props_17 = {
|
|
599
|
+
values?: Record<string, unknown>;
|
|
600
|
+
errors?: Record<string, MagooFieldError>;
|
|
601
|
+
validation?: MagooFormController | null;
|
|
602
|
+
focusFirstInvalid?: boolean;
|
|
603
|
+
novalidate?: boolean;
|
|
604
|
+
};
|
|
605
|
+
|
|
606
|
+
declare type __VLS_Props_18 = {
|
|
607
|
+
modelValue?: boolean;
|
|
608
|
+
label?: string;
|
|
609
|
+
id?: string;
|
|
610
|
+
name?: string;
|
|
611
|
+
disabled?: boolean;
|
|
184
612
|
error?: string | string[];
|
|
185
613
|
hint?: string;
|
|
186
614
|
invalid?: boolean;
|
|
@@ -188,7 +616,120 @@ declare type __VLS_Props_15 = {
|
|
|
188
616
|
submitTriggered?: boolean;
|
|
189
617
|
};
|
|
190
618
|
|
|
191
|
-
declare type
|
|
619
|
+
declare type __VLS_Props_19 = {
|
|
620
|
+
modelValue?: string;
|
|
621
|
+
legend?: string;
|
|
622
|
+
label?: string;
|
|
623
|
+
id?: string;
|
|
624
|
+
name?: string;
|
|
625
|
+
required?: boolean;
|
|
626
|
+
options?: Array<{
|
|
627
|
+
label: string;
|
|
628
|
+
value: string;
|
|
629
|
+
}>;
|
|
630
|
+
disabled?: boolean;
|
|
631
|
+
error?: string | string[];
|
|
632
|
+
hint?: string;
|
|
633
|
+
invalid?: boolean;
|
|
634
|
+
loading?: boolean;
|
|
635
|
+
submitTriggered?: boolean;
|
|
636
|
+
};
|
|
637
|
+
|
|
638
|
+
declare type __VLS_Props_2 = {
|
|
639
|
+
type?: AlertType;
|
|
640
|
+
colorSkin?: MagooSkin;
|
|
641
|
+
skin?: AlertSkin;
|
|
642
|
+
title?: string;
|
|
643
|
+
open?: boolean;
|
|
644
|
+
dismissible?: boolean;
|
|
645
|
+
closeLabel?: string;
|
|
646
|
+
role?: AlertRole;
|
|
647
|
+
};
|
|
648
|
+
|
|
649
|
+
declare type __VLS_Props_20 = {
|
|
650
|
+
modelValue?: string;
|
|
651
|
+
label?: string;
|
|
652
|
+
id?: string;
|
|
653
|
+
name?: string;
|
|
654
|
+
options?: Array<{
|
|
655
|
+
label: string;
|
|
656
|
+
value: string;
|
|
657
|
+
}>;
|
|
658
|
+
required?: boolean;
|
|
659
|
+
disabled?: boolean;
|
|
660
|
+
error?: string | string[];
|
|
661
|
+
hint?: string;
|
|
662
|
+
invalid?: boolean;
|
|
663
|
+
loading?: boolean;
|
|
664
|
+
submitTriggered?: boolean;
|
|
665
|
+
};
|
|
666
|
+
|
|
667
|
+
declare type __VLS_Props_21 = {
|
|
668
|
+
modelValue?: string;
|
|
669
|
+
options?: MComboboxOption[];
|
|
670
|
+
label?: string;
|
|
671
|
+
id?: string;
|
|
672
|
+
name?: string;
|
|
673
|
+
placeholder?: string;
|
|
674
|
+
autocomplete?: string;
|
|
675
|
+
required?: boolean;
|
|
676
|
+
disabled?: boolean;
|
|
677
|
+
loading?: boolean;
|
|
678
|
+
error?: string | string[];
|
|
679
|
+
hint?: string;
|
|
680
|
+
invalid?: boolean;
|
|
681
|
+
submitTriggered?: boolean;
|
|
682
|
+
filterOptions?: boolean;
|
|
683
|
+
optionsLabel?: string;
|
|
684
|
+
emptyLabel?: string;
|
|
685
|
+
loadingLabel?: string;
|
|
686
|
+
clearLabel?: string;
|
|
687
|
+
requiredMessage?: string;
|
|
688
|
+
teleportTo?: string | HTMLElement;
|
|
689
|
+
};
|
|
690
|
+
|
|
691
|
+
declare type __VLS_Props_22 = {
|
|
692
|
+
modelValue?: string[];
|
|
693
|
+
options?: MMultiSelectOption[];
|
|
694
|
+
label?: string;
|
|
695
|
+
id?: string;
|
|
696
|
+
name?: string;
|
|
697
|
+
placeholder?: string;
|
|
698
|
+
autocomplete?: string;
|
|
699
|
+
required?: boolean;
|
|
700
|
+
disabled?: boolean;
|
|
701
|
+
loading?: boolean;
|
|
702
|
+
error?: string | string[];
|
|
703
|
+
hint?: string;
|
|
704
|
+
invalid?: boolean;
|
|
705
|
+
submitTriggered?: boolean;
|
|
706
|
+
filterOptions?: boolean;
|
|
707
|
+
optionsLabel?: string;
|
|
708
|
+
selectedLabel?: string;
|
|
709
|
+
emptyLabel?: string;
|
|
710
|
+
loadingLabel?: string;
|
|
711
|
+
clearLabel?: string;
|
|
712
|
+
removeLabel?: string;
|
|
713
|
+
requiredMessage?: string;
|
|
714
|
+
teleportTo?: string | HTMLElement;
|
|
715
|
+
};
|
|
716
|
+
|
|
717
|
+
declare type __VLS_Props_23 = {
|
|
718
|
+
modelValue?: string;
|
|
719
|
+
label?: string;
|
|
720
|
+
id?: string;
|
|
721
|
+
name?: string;
|
|
722
|
+
rows?: number;
|
|
723
|
+
required?: boolean;
|
|
724
|
+
disabled?: boolean;
|
|
725
|
+
error?: string | string[];
|
|
726
|
+
hint?: string;
|
|
727
|
+
invalid?: boolean;
|
|
728
|
+
loading?: boolean;
|
|
729
|
+
submitTriggered?: boolean;
|
|
730
|
+
};
|
|
731
|
+
|
|
732
|
+
declare type __VLS_Props_24 = {
|
|
192
733
|
errors?: Record<string, MagooFieldError>;
|
|
193
734
|
/** Nomes legíveis por campo, exibidos como prefixo da mensagem. */
|
|
194
735
|
labels?: Record<string, string>;
|
|
@@ -200,7 +741,7 @@ declare type __VLS_Props_16 = {
|
|
|
200
741
|
autofocus?: boolean;
|
|
201
742
|
};
|
|
202
743
|
|
|
203
|
-
declare type
|
|
744
|
+
declare type __VLS_Props_25 = {
|
|
204
745
|
items?: ListItem[];
|
|
205
746
|
id?: string;
|
|
206
747
|
label?: string;
|
|
@@ -226,6 +767,7 @@ declare type __VLS_Props_17 = {
|
|
|
226
767
|
page?: number;
|
|
227
768
|
pageSize?: number;
|
|
228
769
|
pageSizeOptions?: (number | 'all')[];
|
|
770
|
+
paginated?: boolean;
|
|
229
771
|
pageSizeLabel?: string;
|
|
230
772
|
allPageSizeLabel?: string;
|
|
231
773
|
density?: 'compact' | 'comfortable';
|
|
@@ -241,7 +783,191 @@ declare type __VLS_Props_17 = {
|
|
|
241
783
|
nextPageLabel?: string;
|
|
242
784
|
};
|
|
243
785
|
|
|
244
|
-
declare type
|
|
786
|
+
declare type __VLS_Props_26 = {
|
|
787
|
+
rows?: TableRow[];
|
|
788
|
+
columns?: MTableColumn[];
|
|
789
|
+
id?: string;
|
|
790
|
+
label?: string;
|
|
791
|
+
caption?: string;
|
|
792
|
+
hint?: string;
|
|
793
|
+
ariaLabel?: string;
|
|
794
|
+
responsiveLabel?: string;
|
|
795
|
+
rowKey?: string | ((row: TableRow, index: number) => string | number);
|
|
796
|
+
loading?: boolean;
|
|
797
|
+
loadingLabel?: string;
|
|
798
|
+
emptyLabel?: string;
|
|
799
|
+
density?: 'comfortable' | 'compact';
|
|
800
|
+
searchable?: boolean;
|
|
801
|
+
search?: string;
|
|
802
|
+
searchFields?: string[];
|
|
803
|
+
searchLabel?: string;
|
|
804
|
+
clearSearchLabel?: string;
|
|
805
|
+
noResultsLabel?: string;
|
|
806
|
+
sortable?: boolean;
|
|
807
|
+
sort?: string;
|
|
808
|
+
sortDirection?: 'asc' | 'desc';
|
|
809
|
+
serverSide?: boolean;
|
|
810
|
+
totalRows?: number;
|
|
811
|
+
interactionsDisabled?: boolean;
|
|
812
|
+
resultsLabel?: (count: number) => string;
|
|
813
|
+
page?: number;
|
|
814
|
+
pageSize?: number;
|
|
815
|
+
};
|
|
816
|
+
|
|
817
|
+
declare type __VLS_Props_27 = {
|
|
818
|
+
rows?: TableRow_3[];
|
|
819
|
+
columns?: MEditableTableColumn[];
|
|
820
|
+
actions?: MEditableTableAction[];
|
|
821
|
+
validate?: (values: TableRow_3, row: TableRow_3) => MEditableTableErrors | void;
|
|
822
|
+
requiredMessage?: (label: string) => string;
|
|
823
|
+
rowLabel?: string | ((row: TableRow_3, index: number) => string);
|
|
824
|
+
actionsLabel?: string;
|
|
825
|
+
editLabel?: string;
|
|
826
|
+
saveLabel?: string;
|
|
827
|
+
cancelLabel?: string;
|
|
828
|
+
editingMessage?: string;
|
|
829
|
+
savedMessage?: string;
|
|
830
|
+
cancelledMessage?: string;
|
|
831
|
+
id?: string;
|
|
832
|
+
label?: string;
|
|
833
|
+
caption?: string;
|
|
834
|
+
hint?: string;
|
|
835
|
+
ariaLabel?: string;
|
|
836
|
+
responsiveLabel?: string;
|
|
837
|
+
rowKey?: string | ((row: TableRow_3, index: number) => string | number);
|
|
838
|
+
loading?: boolean;
|
|
839
|
+
loadingLabel?: string;
|
|
840
|
+
emptyLabel?: string;
|
|
841
|
+
loadError?: string;
|
|
842
|
+
retryLabel?: string;
|
|
843
|
+
density?: 'comfortable' | 'compact';
|
|
844
|
+
searchable?: boolean;
|
|
845
|
+
search?: string;
|
|
846
|
+
searchFields?: string[];
|
|
847
|
+
searchLabel?: string;
|
|
848
|
+
clearSearchLabel?: string;
|
|
849
|
+
noResultsLabel?: string;
|
|
850
|
+
sortable?: boolean;
|
|
851
|
+
sort?: string;
|
|
852
|
+
sortDirection?: 'asc' | 'desc';
|
|
853
|
+
serverSide?: boolean;
|
|
854
|
+
totalRows?: number;
|
|
855
|
+
resultsLabel?: (count: number) => string;
|
|
856
|
+
};
|
|
857
|
+
|
|
858
|
+
declare type __VLS_Props_28 = {
|
|
859
|
+
rows?: TableRow_2[];
|
|
860
|
+
columns?: MTableColumn[];
|
|
861
|
+
rowKey: string | ((row: TableRow_2, index: number) => MDataTableKey);
|
|
862
|
+
rowLabel?: string | ((row: TableRow_2, index: number) => string);
|
|
863
|
+
id?: string;
|
|
864
|
+
label?: string;
|
|
865
|
+
caption?: string;
|
|
866
|
+
hint?: string;
|
|
867
|
+
ariaLabel?: string;
|
|
868
|
+
responsiveLabel?: string;
|
|
869
|
+
density?: 'comfortable' | 'compact';
|
|
870
|
+
loading?: boolean;
|
|
871
|
+
disabled?: boolean;
|
|
872
|
+
loadingLabel?: string;
|
|
873
|
+
emptyLabel?: string;
|
|
874
|
+
searchable?: boolean;
|
|
875
|
+
search?: string;
|
|
876
|
+
searchFields?: string[];
|
|
877
|
+
searchLabel?: string;
|
|
878
|
+
clearSearchLabel?: string;
|
|
879
|
+
noResultsLabel?: string;
|
|
880
|
+
sortable?: boolean;
|
|
881
|
+
sort?: string;
|
|
882
|
+
sortDirection?: 'asc' | 'desc';
|
|
883
|
+
serverSide?: boolean;
|
|
884
|
+
totalRows?: number;
|
|
885
|
+
page?: number;
|
|
886
|
+
pageSize?: number;
|
|
887
|
+
pageSizeOptions?: number[];
|
|
888
|
+
pageSizeLabel?: string;
|
|
889
|
+
paginationLabel?: string;
|
|
890
|
+
firstLabel?: string;
|
|
891
|
+
lastLabel?: string;
|
|
892
|
+
previousLabel?: string;
|
|
893
|
+
nextLabel?: string;
|
|
894
|
+
pageLabel?: (page: number, pages: number) => string;
|
|
895
|
+
resultsLabel?: (start: number, end: number, total: number) => string;
|
|
896
|
+
selectable?: boolean;
|
|
897
|
+
selectedKeys?: MDataTableKey[];
|
|
898
|
+
selectPageLabel?: string;
|
|
899
|
+
selectRowLabel?: string;
|
|
900
|
+
selectionLabel?: (count: number) => string;
|
|
901
|
+
loadError?: string;
|
|
902
|
+
retryLabel?: string;
|
|
903
|
+
};
|
|
904
|
+
|
|
905
|
+
declare type __VLS_Props_29 = {
|
|
906
|
+
text: string;
|
|
907
|
+
placement?: 'top' | 'right' | 'bottom' | 'left';
|
|
908
|
+
};
|
|
909
|
+
|
|
910
|
+
declare type __VLS_Props_3 = {
|
|
911
|
+
position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
912
|
+
maxVisible?: number;
|
|
913
|
+
hostLabel?: string;
|
|
914
|
+
closeLabel?: string;
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
declare type __VLS_Props_30 = {
|
|
918
|
+
tabs: MTabsItem[];
|
|
919
|
+
modelValue?: string;
|
|
920
|
+
label?: string;
|
|
921
|
+
ariaLabelledby?: string;
|
|
922
|
+
skin?: MagooSkin;
|
|
923
|
+
orientation?: TabsOrientation;
|
|
924
|
+
overflow?: TabsOverflow;
|
|
925
|
+
panelBorder?: boolean;
|
|
926
|
+
contained?: boolean;
|
|
927
|
+
};
|
|
928
|
+
|
|
929
|
+
declare type __VLS_Props_31 = {
|
|
930
|
+
allowMultiple?: boolean;
|
|
931
|
+
gap?: string;
|
|
932
|
+
level?: HeadingLevel_3;
|
|
933
|
+
skin?: MagooSkin;
|
|
934
|
+
};
|
|
935
|
+
|
|
936
|
+
declare type __VLS_Props_32 = {
|
|
937
|
+
maxContentHeight?: string;
|
|
938
|
+
open?: boolean;
|
|
939
|
+
};
|
|
940
|
+
|
|
941
|
+
declare type __VLS_Props_33 = {
|
|
942
|
+
open?: boolean;
|
|
943
|
+
title: string;
|
|
944
|
+
description?: string;
|
|
945
|
+
closeLabel?: string;
|
|
946
|
+
closeOnEscape?: boolean;
|
|
947
|
+
closeOnBackdrop?: boolean;
|
|
948
|
+
initialFocus?: string | HTMLElement;
|
|
949
|
+
width?: string;
|
|
950
|
+
};
|
|
951
|
+
|
|
952
|
+
declare type __VLS_Props_34 = {
|
|
953
|
+
open?: boolean;
|
|
954
|
+
title: string;
|
|
955
|
+
description?: string;
|
|
956
|
+
message?: string;
|
|
957
|
+
confirmLabel?: string;
|
|
958
|
+
cancelLabel?: string;
|
|
959
|
+
closeLabel?: string;
|
|
960
|
+
closeOnEscape?: boolean;
|
|
961
|
+
closeOnBackdrop?: boolean;
|
|
962
|
+
initialFocus?: string | HTMLElement;
|
|
963
|
+
width?: string;
|
|
964
|
+
loading?: boolean;
|
|
965
|
+
disabled?: boolean;
|
|
966
|
+
closeOnConfirm?: boolean;
|
|
967
|
+
confirmVariant?: 'default' | 'danger';
|
|
968
|
+
};
|
|
969
|
+
|
|
970
|
+
declare type __VLS_Props_4 = {
|
|
245
971
|
label?: string;
|
|
246
972
|
id?: string;
|
|
247
973
|
modelValue?: string;
|
|
@@ -257,7 +983,26 @@ declare type __VLS_Props_2 = {
|
|
|
257
983
|
submitTriggered?: boolean;
|
|
258
984
|
};
|
|
259
985
|
|
|
260
|
-
declare type
|
|
986
|
+
declare type __VLS_Props_5 = {
|
|
987
|
+
mask: FactoryArg;
|
|
988
|
+
label?: string;
|
|
989
|
+
id?: string;
|
|
990
|
+
modelValue?: MaskValue;
|
|
991
|
+
valueMode?: MaskValueMode;
|
|
992
|
+
type?: string;
|
|
993
|
+
name?: string;
|
|
994
|
+
required?: boolean;
|
|
995
|
+
disabled?: boolean;
|
|
996
|
+
error?: string | string[];
|
|
997
|
+
hint?: string;
|
|
998
|
+
invalid?: boolean;
|
|
999
|
+
loading?: boolean;
|
|
1000
|
+
autocomplete?: string;
|
|
1001
|
+
inputmode?: InputMode;
|
|
1002
|
+
submitTriggered?: boolean;
|
|
1003
|
+
};
|
|
1004
|
+
|
|
1005
|
+
declare type __VLS_Props_6 = {
|
|
261
1006
|
modelValue?: number | null;
|
|
262
1007
|
label?: string;
|
|
263
1008
|
id?: string;
|
|
@@ -274,7 +1019,7 @@ declare type __VLS_Props_3 = {
|
|
|
274
1019
|
submitTriggered?: boolean;
|
|
275
1020
|
};
|
|
276
1021
|
|
|
277
|
-
declare type
|
|
1022
|
+
declare type __VLS_Props_7 = {
|
|
278
1023
|
label?: string;
|
|
279
1024
|
id?: string;
|
|
280
1025
|
modelValue?: string;
|
|
@@ -291,7 +1036,7 @@ declare type __VLS_Props_4 = {
|
|
|
291
1036
|
hidePasswordLabel?: string;
|
|
292
1037
|
};
|
|
293
1038
|
|
|
294
|
-
declare type
|
|
1039
|
+
declare type __VLS_Props_8 = {
|
|
295
1040
|
label?: string;
|
|
296
1041
|
id?: string;
|
|
297
1042
|
name?: string;
|
|
@@ -313,7 +1058,7 @@ declare type __VLS_Props_5 = {
|
|
|
313
1058
|
removeLabel?: string;
|
|
314
1059
|
};
|
|
315
1060
|
|
|
316
|
-
declare type
|
|
1061
|
+
declare type __VLS_Props_9 = {
|
|
317
1062
|
modelValue?: boolean;
|
|
318
1063
|
label?: string;
|
|
319
1064
|
id?: string;
|
|
@@ -329,130 +1074,458 @@ declare type __VLS_Props_6 = {
|
|
|
329
1074
|
offLabel?: string;
|
|
330
1075
|
};
|
|
331
1076
|
|
|
332
|
-
declare
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
loading?: boolean;
|
|
343
|
-
submitTriggered?: boolean;
|
|
1077
|
+
declare function __VLS_template(): {
|
|
1078
|
+
attrs: Partial<{}>;
|
|
1079
|
+
slots: {
|
|
1080
|
+
loading?(_: {}): any;
|
|
1081
|
+
leading?(_: {}): any;
|
|
1082
|
+
default?(_: {}): any;
|
|
1083
|
+
trailing?(_: {}): any;
|
|
1084
|
+
};
|
|
1085
|
+
refs: {};
|
|
1086
|
+
rootEl: HTMLButtonElement;
|
|
344
1087
|
};
|
|
345
1088
|
|
|
346
|
-
declare
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
1089
|
+
declare function __VLS_template_10(): {
|
|
1090
|
+
attrs: Partial<{}>;
|
|
1091
|
+
slots: {
|
|
1092
|
+
header?(_: {
|
|
1093
|
+
total: number;
|
|
1094
|
+
}): any;
|
|
1095
|
+
item?(_: {
|
|
1096
|
+
item: ListItem;
|
|
1097
|
+
index: number;
|
|
1098
|
+
}): any;
|
|
1099
|
+
};
|
|
1100
|
+
refs: {
|
|
1101
|
+
searchInput: HTMLInputElement;
|
|
1102
|
+
sortSelect: HTMLSelectElement;
|
|
1103
|
+
pageSizeSelect: HTMLSelectElement;
|
|
1104
|
+
paginationNav: HTMLElement;
|
|
1105
|
+
};
|
|
1106
|
+
rootEl: any;
|
|
363
1107
|
};
|
|
364
1108
|
|
|
365
|
-
declare
|
|
366
|
-
|
|
1109
|
+
declare function __VLS_template_11(): {
|
|
1110
|
+
attrs: Partial<{}>;
|
|
1111
|
+
slots: Partial<Record<NonNullable<"loading" | "empty">, (_: {}) => any>> & {
|
|
1112
|
+
header?(_: {
|
|
1113
|
+
rowCount: number;
|
|
1114
|
+
}): any;
|
|
1115
|
+
'leading-header'?(_: {}): any;
|
|
1116
|
+
'leading-cell'?(_: {
|
|
1117
|
+
row: TableRow_2;
|
|
1118
|
+
index: number;
|
|
1119
|
+
}): any;
|
|
1120
|
+
cell?(_: {
|
|
1121
|
+
row: TableRow_2;
|
|
1122
|
+
column: MTableColumn;
|
|
1123
|
+
value: unknown;
|
|
1124
|
+
index: number;
|
|
1125
|
+
}): any;
|
|
1126
|
+
};
|
|
1127
|
+
refs: {
|
|
1128
|
+
searchInput: HTMLInputElement;
|
|
1129
|
+
};
|
|
1130
|
+
rootEl: any;
|
|
367
1131
|
};
|
|
368
1132
|
|
|
369
|
-
declare function
|
|
1133
|
+
declare function __VLS_template_12(): {
|
|
370
1134
|
attrs: Partial<{}>;
|
|
371
1135
|
slots: {
|
|
1136
|
+
header?(_: {
|
|
1137
|
+
rowCount: number;
|
|
1138
|
+
}): any;
|
|
372
1139
|
loading?(_: {}): any;
|
|
1140
|
+
empty?(_: {}): any;
|
|
1141
|
+
actions?(_: {
|
|
1142
|
+
row: TableRow_2;
|
|
1143
|
+
index: number;
|
|
1144
|
+
}): any;
|
|
1145
|
+
cell?(_: {
|
|
1146
|
+
row: TableRow_2;
|
|
1147
|
+
column: MTableColumn;
|
|
1148
|
+
value: unknown;
|
|
1149
|
+
index: number;
|
|
1150
|
+
}): any;
|
|
1151
|
+
};
|
|
1152
|
+
refs: {
|
|
1153
|
+
root: HTMLDivElement;
|
|
1154
|
+
};
|
|
1155
|
+
rootEl: any;
|
|
1156
|
+
};
|
|
1157
|
+
|
|
1158
|
+
declare function __VLS_template_13(): {
|
|
1159
|
+
attrs: Partial<{}>;
|
|
1160
|
+
slots: {
|
|
1161
|
+
header?(_: {
|
|
1162
|
+
rowCount: number;
|
|
1163
|
+
}): any;
|
|
1164
|
+
cell?(_: {
|
|
1165
|
+
row: TableRow_2;
|
|
1166
|
+
column: MTableColumn;
|
|
1167
|
+
value: unknown;
|
|
1168
|
+
index: number;
|
|
1169
|
+
}): any;
|
|
1170
|
+
loading?(_: {}): any;
|
|
1171
|
+
empty?(_: {}): any;
|
|
1172
|
+
};
|
|
1173
|
+
refs: {
|
|
1174
|
+
root: HTMLDivElement;
|
|
1175
|
+
previousButton: HTMLButtonElement;
|
|
1176
|
+
nextButton: HTMLButtonElement;
|
|
1177
|
+
};
|
|
1178
|
+
rootEl: any;
|
|
1179
|
+
};
|
|
1180
|
+
|
|
1181
|
+
declare function __VLS_template_14(): {
|
|
1182
|
+
attrs: Partial<{}>;
|
|
1183
|
+
slots: {
|
|
1184
|
+
default?(_: {
|
|
1185
|
+
triggerProps: {
|
|
1186
|
+
'aria-describedby': string;
|
|
1187
|
+
};
|
|
1188
|
+
}): any;
|
|
1189
|
+
};
|
|
1190
|
+
refs: {
|
|
1191
|
+
wrapperElement: HTMLSpanElement;
|
|
1192
|
+
tooltipElement: HTMLSpanElement;
|
|
1193
|
+
};
|
|
1194
|
+
rootEl: any;
|
|
1195
|
+
};
|
|
1196
|
+
|
|
1197
|
+
declare function __VLS_template_15(): {
|
|
1198
|
+
attrs: Partial<{}>;
|
|
1199
|
+
slots: Partial<Record<string, (_: {
|
|
1200
|
+
tab: MTabsItem;
|
|
1201
|
+
}) => any>>;
|
|
1202
|
+
refs: {
|
|
1203
|
+
rootElement: HTMLDivElement;
|
|
1204
|
+
tabButtons: HTMLButtonElement[];
|
|
1205
|
+
};
|
|
1206
|
+
rootEl: HTMLDivElement;
|
|
1207
|
+
};
|
|
1208
|
+
|
|
1209
|
+
declare function __VLS_template_16(): {
|
|
1210
|
+
attrs: Partial<{}>;
|
|
1211
|
+
slots: {
|
|
373
1212
|
default?(_: {}): any;
|
|
374
1213
|
};
|
|
375
1214
|
refs: {};
|
|
376
|
-
rootEl:
|
|
1215
|
+
rootEl: HTMLDivElement;
|
|
1216
|
+
};
|
|
1217
|
+
|
|
1218
|
+
declare function __VLS_template_17(): {
|
|
1219
|
+
attrs: Partial<{}>;
|
|
1220
|
+
slots: {
|
|
1221
|
+
heading?(_: {}): any;
|
|
1222
|
+
default?(_: {}): any;
|
|
1223
|
+
};
|
|
1224
|
+
refs: {};
|
|
1225
|
+
rootEl: HTMLElement;
|
|
1226
|
+
};
|
|
1227
|
+
|
|
1228
|
+
declare function __VLS_template_18(): {
|
|
1229
|
+
attrs: Partial<{}>;
|
|
1230
|
+
slots: {
|
|
1231
|
+
default?(_: {}): any;
|
|
1232
|
+
footer?(_: {}): any;
|
|
1233
|
+
};
|
|
1234
|
+
refs: {
|
|
1235
|
+
dialogElement: HTMLDialogElement;
|
|
1236
|
+
headingElement: HTMLHeadingElement;
|
|
1237
|
+
};
|
|
1238
|
+
rootEl: any;
|
|
1239
|
+
};
|
|
1240
|
+
|
|
1241
|
+
declare function __VLS_template_19(): {
|
|
1242
|
+
attrs: Partial<{}>;
|
|
1243
|
+
slots: {
|
|
1244
|
+
default?(_: {}): any;
|
|
1245
|
+
footer?(_: {
|
|
1246
|
+
cancel: typeof cancel;
|
|
1247
|
+
confirm: typeof confirm_2;
|
|
1248
|
+
}): any;
|
|
1249
|
+
};
|
|
1250
|
+
refs: {};
|
|
1251
|
+
rootEl: any;
|
|
1252
|
+
};
|
|
1253
|
+
|
|
1254
|
+
declare function __VLS_template_2(): {
|
|
1255
|
+
attrs: Partial<{}>;
|
|
1256
|
+
slots: {
|
|
1257
|
+
default?(_: {}): any;
|
|
1258
|
+
actions?(_: {}): any;
|
|
1259
|
+
};
|
|
1260
|
+
refs: {};
|
|
1261
|
+
rootEl: any;
|
|
1262
|
+
};
|
|
1263
|
+
|
|
1264
|
+
declare function __VLS_template_3(): {
|
|
1265
|
+
attrs: Partial<{}>;
|
|
1266
|
+
slots: {
|
|
1267
|
+
default?(_: {}): any;
|
|
1268
|
+
};
|
|
1269
|
+
refs: {};
|
|
1270
|
+
rootEl: HTMLFieldSetElement;
|
|
1271
|
+
};
|
|
1272
|
+
|
|
1273
|
+
declare function __VLS_template_4(): {
|
|
1274
|
+
attrs: Partial<{}>;
|
|
1275
|
+
slots: {
|
|
1276
|
+
heading?(_: {}): any;
|
|
1277
|
+
default?(_: {}): any;
|
|
1278
|
+
footer?(_: {}): any;
|
|
1279
|
+
};
|
|
1280
|
+
refs: {};
|
|
1281
|
+
rootEl: HTMLElement;
|
|
1282
|
+
};
|
|
1283
|
+
|
|
1284
|
+
declare function __VLS_template_5(): {
|
|
1285
|
+
attrs: Partial<{}>;
|
|
1286
|
+
slots: {
|
|
1287
|
+
heading?(_: {}): any;
|
|
1288
|
+
default?(_: {}): any;
|
|
1289
|
+
footer?(_: {}): any;
|
|
1290
|
+
};
|
|
1291
|
+
refs: {};
|
|
1292
|
+
rootEl: HTMLElement;
|
|
1293
|
+
};
|
|
1294
|
+
|
|
1295
|
+
declare function __VLS_template_6(): {
|
|
1296
|
+
attrs: Partial<{}>;
|
|
1297
|
+
slots: {
|
|
1298
|
+
default?(_: {}): any;
|
|
1299
|
+
};
|
|
1300
|
+
refs: {};
|
|
1301
|
+
rootEl: HTMLDivElement;
|
|
1302
|
+
};
|
|
1303
|
+
|
|
1304
|
+
declare function __VLS_template_7(): {
|
|
1305
|
+
attrs: Partial<{}>;
|
|
1306
|
+
slots: {
|
|
1307
|
+
default?(_: {}): any;
|
|
1308
|
+
};
|
|
1309
|
+
refs: {
|
|
1310
|
+
formElement: HTMLFormElement;
|
|
1311
|
+
};
|
|
1312
|
+
rootEl: HTMLFormElement;
|
|
1313
|
+
};
|
|
1314
|
+
|
|
1315
|
+
declare function __VLS_template_8(): {
|
|
1316
|
+
attrs: Partial<{}>;
|
|
1317
|
+
slots: {
|
|
1318
|
+
option?(_: {
|
|
1319
|
+
option: MComboboxOption;
|
|
1320
|
+
selected: boolean;
|
|
1321
|
+
active: boolean;
|
|
1322
|
+
}): any;
|
|
1323
|
+
};
|
|
1324
|
+
refs: {
|
|
1325
|
+
controlElement: HTMLDivElement;
|
|
1326
|
+
inputElement: HTMLInputElement;
|
|
1327
|
+
popupElement: HTMLDivElement;
|
|
1328
|
+
listboxElement: HTMLUListElement;
|
|
1329
|
+
};
|
|
1330
|
+
rootEl: any;
|
|
1331
|
+
};
|
|
1332
|
+
|
|
1333
|
+
declare function __VLS_template_9(): {
|
|
1334
|
+
attrs: Partial<{}>;
|
|
1335
|
+
slots: {
|
|
1336
|
+
option?(_: {
|
|
1337
|
+
option: MMultiSelectOption;
|
|
1338
|
+
selected: boolean;
|
|
1339
|
+
active: boolean;
|
|
1340
|
+
}): any;
|
|
1341
|
+
};
|
|
1342
|
+
refs: {
|
|
1343
|
+
widgetElement: HTMLDivElement;
|
|
1344
|
+
controlElement: HTMLDivElement;
|
|
1345
|
+
inputElement: HTMLInputElement;
|
|
1346
|
+
popupElement: HTMLDivElement;
|
|
1347
|
+
listboxElement: HTMLUListElement;
|
|
1348
|
+
};
|
|
1349
|
+
rootEl: any;
|
|
1350
|
+
};
|
|
1351
|
+
|
|
1352
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
1353
|
+
|
|
1354
|
+
declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
1355
|
+
|
|
1356
|
+
declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
|
|
1357
|
+
|
|
1358
|
+
declare type __VLS_TemplateResult_12 = ReturnType<typeof __VLS_template_12>;
|
|
1359
|
+
|
|
1360
|
+
declare type __VLS_TemplateResult_13 = ReturnType<typeof __VLS_template_13>;
|
|
1361
|
+
|
|
1362
|
+
declare type __VLS_TemplateResult_14 = ReturnType<typeof __VLS_template_14>;
|
|
1363
|
+
|
|
1364
|
+
declare type __VLS_TemplateResult_15 = ReturnType<typeof __VLS_template_15>;
|
|
1365
|
+
|
|
1366
|
+
declare type __VLS_TemplateResult_16 = ReturnType<typeof __VLS_template_16>;
|
|
1367
|
+
|
|
1368
|
+
declare type __VLS_TemplateResult_17 = ReturnType<typeof __VLS_template_17>;
|
|
1369
|
+
|
|
1370
|
+
declare type __VLS_TemplateResult_18 = ReturnType<typeof __VLS_template_18>;
|
|
1371
|
+
|
|
1372
|
+
declare type __VLS_TemplateResult_19 = ReturnType<typeof __VLS_template_19>;
|
|
1373
|
+
|
|
1374
|
+
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
1375
|
+
|
|
1376
|
+
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
1377
|
+
|
|
1378
|
+
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
1379
|
+
|
|
1380
|
+
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
1381
|
+
|
|
1382
|
+
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
1383
|
+
|
|
1384
|
+
declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
1385
|
+
|
|
1386
|
+
declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
|
|
1387
|
+
|
|
1388
|
+
declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
|
|
1389
|
+
|
|
1390
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
1391
|
+
new (): {
|
|
1392
|
+
$slots: S;
|
|
1393
|
+
};
|
|
1394
|
+
};
|
|
1395
|
+
|
|
1396
|
+
declare type __VLS_WithTemplateSlots_10<T, S> = T & {
|
|
1397
|
+
new (): {
|
|
1398
|
+
$slots: S;
|
|
1399
|
+
};
|
|
1400
|
+
};
|
|
1401
|
+
|
|
1402
|
+
declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
1403
|
+
new (): {
|
|
1404
|
+
$slots: S;
|
|
1405
|
+
};
|
|
1406
|
+
};
|
|
1407
|
+
|
|
1408
|
+
declare type __VLS_WithTemplateSlots_12<T, S> = T & {
|
|
1409
|
+
new (): {
|
|
1410
|
+
$slots: S;
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
1413
|
+
|
|
1414
|
+
declare type __VLS_WithTemplateSlots_13<T, S> = T & {
|
|
1415
|
+
new (): {
|
|
1416
|
+
$slots: S;
|
|
1417
|
+
};
|
|
1418
|
+
};
|
|
1419
|
+
|
|
1420
|
+
declare type __VLS_WithTemplateSlots_14<T, S> = T & {
|
|
1421
|
+
new (): {
|
|
1422
|
+
$slots: S;
|
|
1423
|
+
};
|
|
377
1424
|
};
|
|
378
1425
|
|
|
379
|
-
declare
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
default?(_: {}): any;
|
|
1426
|
+
declare type __VLS_WithTemplateSlots_15<T, S> = T & {
|
|
1427
|
+
new (): {
|
|
1428
|
+
$slots: S;
|
|
383
1429
|
};
|
|
384
|
-
refs: {};
|
|
385
|
-
rootEl: HTMLFieldSetElement;
|
|
386
1430
|
};
|
|
387
1431
|
|
|
388
|
-
declare
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
default?(_: {}): any;
|
|
1432
|
+
declare type __VLS_WithTemplateSlots_16<T, S> = T & {
|
|
1433
|
+
new (): {
|
|
1434
|
+
$slots: S;
|
|
392
1435
|
};
|
|
393
|
-
|
|
394
|
-
|
|
1436
|
+
};
|
|
1437
|
+
|
|
1438
|
+
declare type __VLS_WithTemplateSlots_17<T, S> = T & {
|
|
1439
|
+
new (): {
|
|
1440
|
+
$slots: S;
|
|
395
1441
|
};
|
|
396
|
-
rootEl: HTMLFormElement;
|
|
397
1442
|
};
|
|
398
1443
|
|
|
399
|
-
declare
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
header?(_: {
|
|
403
|
-
total: number;
|
|
404
|
-
}): any;
|
|
405
|
-
item?(_: {
|
|
406
|
-
item: ListItem;
|
|
407
|
-
index: number;
|
|
408
|
-
}): any;
|
|
1444
|
+
declare type __VLS_WithTemplateSlots_18<T, S> = T & {
|
|
1445
|
+
new (): {
|
|
1446
|
+
$slots: S;
|
|
409
1447
|
};
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
1448
|
+
};
|
|
1449
|
+
|
|
1450
|
+
declare type __VLS_WithTemplateSlots_19<T, S> = T & {
|
|
1451
|
+
new (): {
|
|
1452
|
+
$slots: S;
|
|
415
1453
|
};
|
|
416
|
-
rootEl: any;
|
|
417
1454
|
};
|
|
418
1455
|
|
|
419
|
-
declare type
|
|
1456
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
1457
|
+
new (): {
|
|
1458
|
+
$slots: S;
|
|
1459
|
+
};
|
|
1460
|
+
};
|
|
420
1461
|
|
|
421
|
-
declare type
|
|
1462
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
1463
|
+
new (): {
|
|
1464
|
+
$slots: S;
|
|
1465
|
+
};
|
|
1466
|
+
};
|
|
422
1467
|
|
|
423
|
-
declare type
|
|
1468
|
+
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1469
|
+
new (): {
|
|
1470
|
+
$slots: S;
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
424
1473
|
|
|
425
|
-
declare type
|
|
1474
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
1475
|
+
new (): {
|
|
1476
|
+
$slots: S;
|
|
1477
|
+
};
|
|
1478
|
+
};
|
|
426
1479
|
|
|
427
|
-
declare type
|
|
1480
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
428
1481
|
new (): {
|
|
429
1482
|
$slots: S;
|
|
430
1483
|
};
|
|
431
1484
|
};
|
|
432
1485
|
|
|
433
|
-
declare type
|
|
1486
|
+
declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
434
1487
|
new (): {
|
|
435
1488
|
$slots: S;
|
|
436
1489
|
};
|
|
437
1490
|
};
|
|
438
1491
|
|
|
439
|
-
declare type
|
|
1492
|
+
declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
440
1493
|
new (): {
|
|
441
1494
|
$slots: S;
|
|
442
1495
|
};
|
|
443
1496
|
};
|
|
444
1497
|
|
|
445
|
-
declare type
|
|
1498
|
+
declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
446
1499
|
new (): {
|
|
447
1500
|
$slots: S;
|
|
448
1501
|
};
|
|
449
1502
|
};
|
|
450
1503
|
|
|
1504
|
+
declare type AlertRole = 'status' | 'alert';
|
|
1505
|
+
|
|
1506
|
+
declare type AlertSkin = 'soft' | 'bordered' | 'filled';
|
|
1507
|
+
|
|
1508
|
+
declare type AlertType = 'info' | 'success' | 'warning' | 'error';
|
|
1509
|
+
|
|
451
1510
|
export declare function applyTheme(theme: MagooTheme | undefined, target?: HTMLElement): void;
|
|
452
1511
|
|
|
1512
|
+
declare type ButtonShape = 'default' | 'rounded' | 'pill';
|
|
1513
|
+
|
|
1514
|
+
declare type ButtonSize = 'small' | 'medium' | 'large';
|
|
1515
|
+
|
|
1516
|
+
declare type ButtonType = 'button' | 'submit' | 'reset';
|
|
1517
|
+
|
|
1518
|
+
declare type ButtonVariant = 'glass' | 'solid' | 'outline' | 'ghost';
|
|
1519
|
+
|
|
1520
|
+
declare function cancel(): void;
|
|
1521
|
+
|
|
1522
|
+
declare function clear(): void;
|
|
1523
|
+
|
|
453
1524
|
/** Remove chaves sem mensagens e deduplica mensagens por campo. */
|
|
454
1525
|
export declare function compactErrors(errors: MagooErrorMap): MagooErrorMap;
|
|
455
1526
|
|
|
1527
|
+
declare function confirm_2(): void;
|
|
1528
|
+
|
|
456
1529
|
declare const _default: {
|
|
457
1530
|
install(app: App): void;
|
|
458
1531
|
};
|
|
@@ -464,6 +1537,10 @@ export default _default;
|
|
|
464
1537
|
*/
|
|
465
1538
|
export declare const defaultRuleResultAdapter: MagooRuleResultAdapter;
|
|
466
1539
|
|
|
1540
|
+
declare function dismiss(id: number): void;
|
|
1541
|
+
|
|
1542
|
+
declare function focus_2(): void;
|
|
1543
|
+
|
|
467
1544
|
/**
|
|
468
1545
|
* Foca o primeiro controle inválido dentro do container.
|
|
469
1546
|
*
|
|
@@ -474,10 +1551,26 @@ export declare function focusFirstInvalidField(container: ParentNode | null | un
|
|
|
474
1551
|
|
|
475
1552
|
declare function focusInvalid(): HTMLElement | null;
|
|
476
1553
|
|
|
1554
|
+
declare type FooterAlignment = 'left' | 'center' | 'right';
|
|
1555
|
+
|
|
1556
|
+
declare type FooterAlignment_2 = 'left' | 'center' | 'right';
|
|
1557
|
+
|
|
477
1558
|
export declare function hasErrors(errors: MagooErrorMap): boolean;
|
|
478
1559
|
|
|
1560
|
+
declare type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
1561
|
+
|
|
1562
|
+
declare type HeadingLevel_2 = 1 | 2 | 3 | 4 | 5 | 6;
|
|
1563
|
+
|
|
1564
|
+
declare type HeadingLevel_3 = 1 | 2 | 3 | 4 | 5 | 6;
|
|
1565
|
+
|
|
1566
|
+
declare type InputMode = 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
|
1567
|
+
|
|
479
1568
|
declare type ListItem = Record<string, unknown>;
|
|
480
1569
|
|
|
1570
|
+
export declare const MAccordion: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
1571
|
+
|
|
1572
|
+
export declare const MAccordionItem: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
1573
|
+
|
|
481
1574
|
/** Chave reservada para erros que pertencem ao formulário como um todo. */
|
|
482
1575
|
export declare const MAGOO_FORM_ERROR_KEY = "$form";
|
|
483
1576
|
|
|
@@ -597,6 +1690,16 @@ export declare type MagooRuleResult = MagooFieldError | boolean | null | undefin
|
|
|
597
1690
|
/** Converte a saída de uma regra para uma lista de mensagens. */
|
|
598
1691
|
export declare type MagooRuleResultAdapter = (result: unknown) => string[];
|
|
599
1692
|
|
|
1693
|
+
export declare type MagooSkin = 'default' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger';
|
|
1694
|
+
|
|
1695
|
+
export declare interface MagooSkinVariables {
|
|
1696
|
+
[property: `--${string}`]: string | number | undefined;
|
|
1697
|
+
'--magoo-skin-accent': string;
|
|
1698
|
+
'--magoo-skin-solid-background': string;
|
|
1699
|
+
'--magoo-skin-solid-foreground': string;
|
|
1700
|
+
'--magoo-skin-solid-border': string;
|
|
1701
|
+
}
|
|
1702
|
+
|
|
600
1703
|
declare type MagooTheme = 'light' | 'dark' | 'system';
|
|
601
1704
|
|
|
602
1705
|
export declare type MagooValidationRule<TValue = unknown, TValues extends Record<string, unknown> = Record<string, unknown>> = (value: TValue, context: MagooRuleContext<TValues>) => MagooRuleResult | Promise<MagooRuleResult>;
|
|
@@ -607,13 +1710,23 @@ export declare type MagooValidationSchema<TValues extends Record<string, unknown
|
|
|
607
1710
|
|
|
608
1711
|
export declare type MagooValidationTrigger = 'input' | 'blur' | 'submit';
|
|
609
1712
|
|
|
1713
|
+
export declare const MAlert: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
1714
|
+
|
|
1715
|
+
declare type MaskValue = string | number | Date | null;
|
|
1716
|
+
|
|
1717
|
+
declare type MaskValueMode = 'masked' | 'unmasked' | 'typed';
|
|
1718
|
+
|
|
610
1719
|
export declare const MButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
611
1720
|
|
|
612
|
-
export declare const
|
|
1721
|
+
export declare const MCard: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
1722
|
+
|
|
1723
|
+
export declare const MCardGrid: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
1724
|
+
|
|
1725
|
+
export declare const MCheckbox: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
613
1726
|
"update:modelValue": (value: boolean) => any;
|
|
614
1727
|
blur: (event: FocusEvent) => any;
|
|
615
1728
|
focus: (event: FocusEvent) => any;
|
|
616
|
-
}, string, PublicProps, Readonly<
|
|
1729
|
+
}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
|
|
617
1730
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
618
1731
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
619
1732
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
@@ -622,20 +1735,20 @@ name: string;
|
|
|
622
1735
|
label: string;
|
|
623
1736
|
disabled: boolean;
|
|
624
1737
|
loading: boolean;
|
|
625
|
-
|
|
1738
|
+
error: string | string[];
|
|
626
1739
|
id: string;
|
|
1740
|
+
modelValue: boolean;
|
|
627
1741
|
required: boolean;
|
|
628
|
-
error: string | string[];
|
|
629
1742
|
hint: string;
|
|
630
1743
|
invalid: boolean;
|
|
631
1744
|
submitTriggered: boolean;
|
|
632
1745
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
633
1746
|
|
|
634
|
-
export declare const MCheckboxList: DefineComponent<
|
|
1747
|
+
export declare const MCheckboxList: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
635
1748
|
"update:modelValue": (value: string[]) => any;
|
|
636
1749
|
blur: (event: FocusEvent) => any;
|
|
637
1750
|
focus: (event: FocusEvent) => any;
|
|
638
|
-
}, string, PublicProps, Readonly<
|
|
1751
|
+
}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
|
|
639
1752
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
640
1753
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
641
1754
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
@@ -645,10 +1758,10 @@ label: string;
|
|
|
645
1758
|
disabled: boolean;
|
|
646
1759
|
loading: boolean;
|
|
647
1760
|
legend: string;
|
|
648
|
-
|
|
1761
|
+
error: string | string[];
|
|
649
1762
|
id: string;
|
|
1763
|
+
modelValue: string[];
|
|
650
1764
|
required: boolean;
|
|
651
|
-
error: string | string[];
|
|
652
1765
|
hint: string;
|
|
653
1766
|
invalid: boolean;
|
|
654
1767
|
submitTriggered: boolean;
|
|
@@ -658,42 +1771,109 @@ value: string;
|
|
|
658
1771
|
}>;
|
|
659
1772
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
660
1773
|
|
|
1774
|
+
export declare const MCombobox: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
1775
|
+
|
|
1776
|
+
export declare interface MComboboxOption {
|
|
1777
|
+
label: string;
|
|
1778
|
+
value: string;
|
|
1779
|
+
disabled?: boolean;
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
export declare const MConfirmDialog: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1783
|
+
|
|
1784
|
+
export declare const MDataTable: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
1785
|
+
|
|
1786
|
+
export declare type MDataTableKey = string | number;
|
|
1787
|
+
|
|
1788
|
+
export declare interface MDataTableQuery extends MTableQuery {
|
|
1789
|
+
page: number;
|
|
1790
|
+
pageSize: number;
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
export declare const MDialog: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
1794
|
+
|
|
1795
|
+
export declare type MDialogCloseReason = 'escape' | 'backdrop' | 'close-button' | 'form';
|
|
1796
|
+
|
|
1797
|
+
export declare interface MDialogCloseRequest {
|
|
1798
|
+
reason: MDialogCloseReason;
|
|
1799
|
+
readonly defaultPrevented: boolean;
|
|
1800
|
+
preventDefault(): void;
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
export declare const MEditableTable: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
1804
|
+
|
|
1805
|
+
export declare interface MEditableTableAction {
|
|
1806
|
+
key: string;
|
|
1807
|
+
label: string;
|
|
1808
|
+
variant?: 'default' | 'danger';
|
|
1809
|
+
disabled?: boolean | ((row: TableRow_3, index: number) => boolean);
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
export declare interface MEditableTableActionEvent extends MEditableTableRowEvent {
|
|
1813
|
+
action: string;
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
export declare interface MEditableTableColumn extends MTableColumn {
|
|
1817
|
+
editor?: 'text' | 'number' | 'select' | 'checkbox';
|
|
1818
|
+
inputType?: string;
|
|
1819
|
+
options?: Array<{
|
|
1820
|
+
label: string;
|
|
1821
|
+
value: string;
|
|
1822
|
+
}>;
|
|
1823
|
+
required?: boolean;
|
|
1824
|
+
min?: number;
|
|
1825
|
+
max?: number;
|
|
1826
|
+
step?: number | 'any';
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
export declare type MEditableTableErrors = Record<string, MagooFieldError>;
|
|
1830
|
+
|
|
1831
|
+
export declare interface MEditableTableRowEvent {
|
|
1832
|
+
row: TableRow_3;
|
|
1833
|
+
index: number;
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
export declare interface MEditableTableSaveEvent extends MEditableTableRowEvent {
|
|
1837
|
+
values: TableRow_3;
|
|
1838
|
+
rowKey: RowKey;
|
|
1839
|
+
}
|
|
1840
|
+
|
|
661
1841
|
export declare function mergeErrors(...maps: MagooErrorMap[]): MagooErrorMap;
|
|
662
1842
|
|
|
663
|
-
export declare const MErrorMessage: DefineComponent<
|
|
1843
|
+
export declare const MErrorMessage: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {
|
|
664
1844
|
message: MagooFieldError;
|
|
665
1845
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
666
1846
|
|
|
667
|
-
export declare const MFieldsetPanel:
|
|
1847
|
+
export declare const MFieldsetPanel: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
668
1848
|
|
|
669
|
-
export declare const MFileUpload: DefineComponent<
|
|
1849
|
+
export declare const MFileUpload: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
670
1850
|
"update:modelValue": (files: File[]) => any;
|
|
671
1851
|
blur: (event: FocusEvent) => any;
|
|
672
1852
|
focus: (event: FocusEvent) => any;
|
|
1853
|
+
remove: (file: File, index: number) => any;
|
|
673
1854
|
reject: (rejections: {
|
|
674
1855
|
file: File;
|
|
675
1856
|
reason: RejectionReason;
|
|
676
1857
|
}[]) => any;
|
|
677
|
-
|
|
678
|
-
}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{
|
|
1858
|
+
}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
|
|
679
1859
|
"onUpdate:modelValue"?: ((files: File[]) => any) | undefined;
|
|
680
1860
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
681
1861
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1862
|
+
onRemove?: ((file: File, index: number) => any) | undefined;
|
|
682
1863
|
onReject?: ((rejections: {
|
|
683
1864
|
file: File;
|
|
684
1865
|
reason: RejectionReason;
|
|
685
1866
|
}[]) => any) | undefined;
|
|
686
|
-
onRemove?: ((file: File, index: number) => any) | undefined;
|
|
687
1867
|
}>, {
|
|
688
1868
|
name: string;
|
|
689
1869
|
label: string;
|
|
690
1870
|
disabled: boolean;
|
|
691
1871
|
loading: boolean;
|
|
692
1872
|
progress: number;
|
|
693
|
-
|
|
1873
|
+
error: string | string[];
|
|
694
1874
|
id: string;
|
|
1875
|
+
modelValue: File[];
|
|
695
1876
|
required: boolean;
|
|
696
|
-
error: string | string[];
|
|
697
1877
|
hint: string;
|
|
698
1878
|
invalid: boolean;
|
|
699
1879
|
submitTriggered: boolean;
|
|
@@ -709,13 +1889,13 @@ fileInput: HTMLInputElement;
|
|
|
709
1889
|
removeButtons: HTMLButtonElement;
|
|
710
1890
|
}, any>;
|
|
711
1891
|
|
|
712
|
-
export declare const MForm:
|
|
1892
|
+
export declare const MForm: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
713
1893
|
|
|
714
|
-
export declare const MInput: DefineComponent<
|
|
1894
|
+
export declare const MInput: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
715
1895
|
"update:modelValue": (value: string) => any;
|
|
716
1896
|
blur: (event: FocusEvent) => any;
|
|
717
1897
|
focus: (event: FocusEvent) => any;
|
|
718
|
-
}, string, PublicProps, Readonly<
|
|
1898
|
+
}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{
|
|
719
1899
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
720
1900
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
721
1901
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
@@ -725,17 +1905,17 @@ label: string;
|
|
|
725
1905
|
type: string;
|
|
726
1906
|
disabled: boolean;
|
|
727
1907
|
loading: boolean;
|
|
728
|
-
|
|
1908
|
+
error: string | string[];
|
|
729
1909
|
id: string;
|
|
1910
|
+
modelValue: string;
|
|
730
1911
|
required: boolean;
|
|
731
|
-
error: string | string[];
|
|
732
1912
|
hint: string;
|
|
733
1913
|
invalid: boolean;
|
|
734
1914
|
submitTriggered: boolean;
|
|
735
1915
|
autocomplete: string;
|
|
736
1916
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
737
1917
|
|
|
738
|
-
export declare const MList:
|
|
1918
|
+
export declare const MList: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
739
1919
|
|
|
740
1920
|
declare interface MListQuery {
|
|
741
1921
|
page: number;
|
|
@@ -751,11 +1931,64 @@ declare interface MListSortOption {
|
|
|
751
1931
|
compare?: (a: Record<string, unknown>, b: Record<string, unknown>) => number;
|
|
752
1932
|
}
|
|
753
1933
|
|
|
754
|
-
export declare const
|
|
1934
|
+
export declare const MMaskedInput: DefineComponent<__VLS_Props_5, {
|
|
1935
|
+
focus: () => void | undefined;
|
|
1936
|
+
getMaskedValue: () => string;
|
|
1937
|
+
getUnmaskedValue: () => string;
|
|
1938
|
+
getTypedValue: () => any;
|
|
1939
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1940
|
+
"update:modelValue": (value: MaskValue) => any;
|
|
1941
|
+
blur: (eventValue: FocusEvent) => any;
|
|
1942
|
+
focus: (eventValue: FocusEvent) => any;
|
|
1943
|
+
accept: (values: {
|
|
1944
|
+
value: MaskValue;
|
|
1945
|
+
masked: string;
|
|
1946
|
+
unmasked: string;
|
|
1947
|
+
typed: unknown;
|
|
1948
|
+
}) => any;
|
|
1949
|
+
}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{
|
|
1950
|
+
"onUpdate:modelValue"?: ((value: MaskValue) => any) | undefined;
|
|
1951
|
+
onBlur?: ((eventValue: FocusEvent) => any) | undefined;
|
|
1952
|
+
onFocus?: ((eventValue: FocusEvent) => any) | undefined;
|
|
1953
|
+
onAccept?: ((values: {
|
|
1954
|
+
value: MaskValue;
|
|
1955
|
+
masked: string;
|
|
1956
|
+
unmasked: string;
|
|
1957
|
+
typed: unknown;
|
|
1958
|
+
}) => any) | undefined;
|
|
1959
|
+
}>, {
|
|
1960
|
+
name: string;
|
|
1961
|
+
label: string;
|
|
1962
|
+
type: string;
|
|
1963
|
+
disabled: boolean;
|
|
1964
|
+
loading: boolean;
|
|
1965
|
+
error: string | string[];
|
|
1966
|
+
id: string;
|
|
1967
|
+
modelValue: MaskValue;
|
|
1968
|
+
required: boolean;
|
|
1969
|
+
hint: string;
|
|
1970
|
+
invalid: boolean;
|
|
1971
|
+
submitTriggered: boolean;
|
|
1972
|
+
autocomplete: string;
|
|
1973
|
+
valueMode: MaskValueMode;
|
|
1974
|
+
inputmode: InputMode;
|
|
1975
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1976
|
+
inputElement: HTMLInputElement;
|
|
1977
|
+
}, any>;
|
|
1978
|
+
|
|
1979
|
+
export declare const MMultiSelect: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
1980
|
+
|
|
1981
|
+
export declare interface MMultiSelectOption {
|
|
1982
|
+
label: string;
|
|
1983
|
+
value: string;
|
|
1984
|
+
disabled?: boolean;
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
export declare const MNumber: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
755
1988
|
"update:modelValue": (value: number | null) => any;
|
|
756
1989
|
blur: (event: FocusEvent) => any;
|
|
757
1990
|
focus: (event: FocusEvent) => any;
|
|
758
|
-
}, string, PublicProps, Readonly<
|
|
1991
|
+
}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
|
|
759
1992
|
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
760
1993
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
761
1994
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
@@ -764,10 +1997,10 @@ name: string;
|
|
|
764
1997
|
label: string;
|
|
765
1998
|
disabled: boolean;
|
|
766
1999
|
loading: boolean;
|
|
767
|
-
|
|
2000
|
+
error: string | string[];
|
|
768
2001
|
id: string;
|
|
2002
|
+
modelValue: number | null;
|
|
769
2003
|
required: boolean;
|
|
770
|
-
error: string | string[];
|
|
771
2004
|
hint: string;
|
|
772
2005
|
invalid: boolean;
|
|
773
2006
|
submitTriggered: boolean;
|
|
@@ -776,11 +2009,13 @@ max: number;
|
|
|
776
2009
|
step: number | "any";
|
|
777
2010
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
778
2011
|
|
|
779
|
-
export declare const
|
|
2012
|
+
export declare const MPanel: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
2013
|
+
|
|
2014
|
+
export declare const MPassword: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
780
2015
|
"update:modelValue": (value: string) => any;
|
|
781
2016
|
blur: (event: FocusEvent) => any;
|
|
782
2017
|
focus: (event: FocusEvent) => any;
|
|
783
|
-
}, string, PublicProps, Readonly<
|
|
2018
|
+
}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
|
|
784
2019
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
785
2020
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
786
2021
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
@@ -789,10 +2024,10 @@ name: string;
|
|
|
789
2024
|
label: string;
|
|
790
2025
|
disabled: boolean;
|
|
791
2026
|
loading: boolean;
|
|
792
|
-
|
|
2027
|
+
error: string | string[];
|
|
793
2028
|
id: string;
|
|
2029
|
+
modelValue: string;
|
|
794
2030
|
required: boolean;
|
|
795
|
-
error: string | string[];
|
|
796
2031
|
hint: string;
|
|
797
2032
|
invalid: boolean;
|
|
798
2033
|
submitTriggered: boolean;
|
|
@@ -803,11 +2038,11 @@ hidePasswordLabel: string;
|
|
|
803
2038
|
passwordInput: HTMLInputElement;
|
|
804
2039
|
}, any>;
|
|
805
2040
|
|
|
806
|
-
export declare const MRadio: DefineComponent<
|
|
2041
|
+
export declare const MRadio: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
807
2042
|
"update:modelValue": (value: boolean) => any;
|
|
808
2043
|
blur: (event: FocusEvent) => any;
|
|
809
2044
|
focus: (event: FocusEvent) => any;
|
|
810
|
-
}, string, PublicProps, Readonly<
|
|
2045
|
+
}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
|
|
811
2046
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
812
2047
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
813
2048
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
@@ -816,19 +2051,19 @@ name: string;
|
|
|
816
2051
|
label: string;
|
|
817
2052
|
disabled: boolean;
|
|
818
2053
|
loading: boolean;
|
|
819
|
-
modelValue: boolean;
|
|
820
|
-
id: string;
|
|
821
2054
|
error: string | string[];
|
|
2055
|
+
id: string;
|
|
2056
|
+
modelValue: boolean;
|
|
822
2057
|
hint: string;
|
|
823
2058
|
invalid: boolean;
|
|
824
2059
|
submitTriggered: boolean;
|
|
825
2060
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
826
2061
|
|
|
827
|
-
export declare const MRadioList: DefineComponent<
|
|
2062
|
+
export declare const MRadioList: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
828
2063
|
"update:modelValue": (value: string) => any;
|
|
829
2064
|
blur: (event: FocusEvent) => any;
|
|
830
2065
|
focus: (event: FocusEvent) => any;
|
|
831
|
-
}, string, PublicProps, Readonly<
|
|
2066
|
+
}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
|
|
832
2067
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
833
2068
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
834
2069
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
@@ -838,10 +2073,10 @@ label: string;
|
|
|
838
2073
|
disabled: boolean;
|
|
839
2074
|
loading: boolean;
|
|
840
2075
|
legend: string;
|
|
841
|
-
|
|
2076
|
+
error: string | string[];
|
|
842
2077
|
id: string;
|
|
2078
|
+
modelValue: string;
|
|
843
2079
|
required: boolean;
|
|
844
|
-
error: string | string[];
|
|
845
2080
|
hint: string;
|
|
846
2081
|
invalid: boolean;
|
|
847
2082
|
submitTriggered: boolean;
|
|
@@ -851,11 +2086,11 @@ value: string;
|
|
|
851
2086
|
}>;
|
|
852
2087
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
853
2088
|
|
|
854
|
-
export declare const MSelect: DefineComponent<
|
|
2089
|
+
export declare const MSelect: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
855
2090
|
"update:modelValue": (value: string) => any;
|
|
856
2091
|
blur: (event: FocusEvent) => any;
|
|
857
2092
|
focus: (event: FocusEvent) => any;
|
|
858
|
-
}, string, PublicProps, Readonly<
|
|
2093
|
+
}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{
|
|
859
2094
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
860
2095
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
861
2096
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
@@ -864,10 +2099,10 @@ name: string;
|
|
|
864
2099
|
label: string;
|
|
865
2100
|
disabled: boolean;
|
|
866
2101
|
loading: boolean;
|
|
867
|
-
|
|
2102
|
+
error: string | string[];
|
|
868
2103
|
id: string;
|
|
2104
|
+
modelValue: string;
|
|
869
2105
|
required: boolean;
|
|
870
|
-
error: string | string[];
|
|
871
2106
|
hint: string;
|
|
872
2107
|
invalid: boolean;
|
|
873
2108
|
submitTriggered: boolean;
|
|
@@ -877,11 +2112,11 @@ value: string;
|
|
|
877
2112
|
}>;
|
|
878
2113
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
879
2114
|
|
|
880
|
-
export declare const MSwitch: DefineComponent<
|
|
2115
|
+
export declare const MSwitch: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
881
2116
|
"update:modelValue": (value: boolean) => any;
|
|
882
2117
|
blur: (event: FocusEvent) => any;
|
|
883
2118
|
focus: (event: FocusEvent) => any;
|
|
884
|
-
}, string, PublicProps, Readonly<
|
|
2119
|
+
}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
|
|
885
2120
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
886
2121
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
887
2122
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
@@ -890,10 +2125,10 @@ name: string;
|
|
|
890
2125
|
label: string;
|
|
891
2126
|
disabled: boolean;
|
|
892
2127
|
loading: boolean;
|
|
893
|
-
|
|
2128
|
+
error: string | string[];
|
|
894
2129
|
id: string;
|
|
2130
|
+
modelValue: boolean;
|
|
895
2131
|
required: boolean;
|
|
896
|
-
error: string | string[];
|
|
897
2132
|
hint: string;
|
|
898
2133
|
invalid: boolean;
|
|
899
2134
|
submitTriggered: boolean;
|
|
@@ -903,11 +2138,36 @@ offLabel: string;
|
|
|
903
2138
|
switchInput: HTMLInputElement;
|
|
904
2139
|
}, any>;
|
|
905
2140
|
|
|
906
|
-
export declare const
|
|
2141
|
+
export declare const MTable: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
2142
|
+
|
|
2143
|
+
export declare interface MTableColumn {
|
|
2144
|
+
key: string;
|
|
2145
|
+
label: string;
|
|
2146
|
+
value?: (row: TableRow, index: number) => unknown;
|
|
2147
|
+
sortable?: boolean;
|
|
2148
|
+
compare?: (left: TableRow, right: TableRow) => number;
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
export declare interface MTableQuery {
|
|
2152
|
+
search: string;
|
|
2153
|
+
sort: string;
|
|
2154
|
+
sortDirection: 'asc' | 'desc';
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
export declare const MTabs: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
2158
|
+
|
|
2159
|
+
export declare interface MTabsItem {
|
|
2160
|
+
value: string;
|
|
2161
|
+
label: string;
|
|
2162
|
+
content?: string;
|
|
2163
|
+
disabled?: boolean;
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2166
|
+
export declare const MTextarea: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
907
2167
|
"update:modelValue": (value: string) => any;
|
|
908
2168
|
blur: (event: FocusEvent) => any;
|
|
909
2169
|
focus: (event: FocusEvent) => any;
|
|
910
|
-
}, string, PublicProps, Readonly<
|
|
2170
|
+
}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{
|
|
911
2171
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
912
2172
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
913
2173
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
@@ -916,19 +2176,30 @@ name: string;
|
|
|
916
2176
|
label: string;
|
|
917
2177
|
disabled: boolean;
|
|
918
2178
|
loading: boolean;
|
|
919
|
-
|
|
2179
|
+
error: string | string[];
|
|
920
2180
|
id: string;
|
|
2181
|
+
modelValue: string;
|
|
921
2182
|
required: boolean;
|
|
922
|
-
error: string | string[];
|
|
923
2183
|
hint: string;
|
|
924
2184
|
invalid: boolean;
|
|
925
2185
|
submitTriggered: boolean;
|
|
926
2186
|
rows: number;
|
|
927
2187
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
928
2188
|
|
|
929
|
-
export declare const
|
|
2189
|
+
export declare const MToast: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {
|
|
2190
|
+
closeLabel: string;
|
|
2191
|
+
position: "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
|
2192
|
+
maxVisible: number;
|
|
2193
|
+
hostLabel: string;
|
|
2194
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2195
|
+
hostElement: HTMLDivElement;
|
|
2196
|
+
}, HTMLDivElement>;
|
|
2197
|
+
|
|
2198
|
+
export declare const MTooltip: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
2199
|
+
|
|
2200
|
+
export declare const MValidationSummary: DefineComponent<__VLS_Props_24, {
|
|
930
2201
|
focus: () => void | undefined;
|
|
931
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
2202
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {
|
|
932
2203
|
title: string;
|
|
933
2204
|
errors: Record<string, MagooFieldError>;
|
|
934
2205
|
labels: Record<string, string>;
|
|
@@ -941,8 +2212,36 @@ root: HTMLDivElement;
|
|
|
941
2212
|
|
|
942
2213
|
declare type RejectionReason = 'size' | 'type' | 'count';
|
|
943
2214
|
|
|
2215
|
+
declare type ResizeDirection = 'horizontal' | 'vertical' | 'both';
|
|
2216
|
+
|
|
2217
|
+
declare type RowKey = string | number;
|
|
2218
|
+
|
|
2219
|
+
declare function show(input: string | ToastOptions, options?: Omit<ToastOptions, 'message'>): number;
|
|
2220
|
+
|
|
944
2221
|
declare type SortDirection = 'asc' | 'desc';
|
|
945
2222
|
|
|
2223
|
+
declare type TableRow = Record<string, unknown>;
|
|
2224
|
+
|
|
2225
|
+
declare type TableRow_2 = Record<string, unknown>;
|
|
2226
|
+
|
|
2227
|
+
declare type TableRow_3 = Record<string, unknown>;
|
|
2228
|
+
|
|
2229
|
+
declare type TabsOrientation = 'horizontal' | 'vertical';
|
|
2230
|
+
|
|
2231
|
+
declare type TabsOverflow = 'stack' | 'wrap';
|
|
2232
|
+
|
|
2233
|
+
export declare interface ToastOptions {
|
|
2234
|
+
message: string;
|
|
2235
|
+
type?: ToastType;
|
|
2236
|
+
title?: string;
|
|
2237
|
+
skin?: ToastSkin;
|
|
2238
|
+
duration?: number;
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
export declare type ToastSkin = 'soft' | 'bordered' | 'filled';
|
|
2242
|
+
|
|
2243
|
+
export declare type ToastType = 'info' | 'success' | 'warning' | 'error';
|
|
2244
|
+
|
|
946
2245
|
export declare function useFormValidation<TValues extends Record<string, unknown>>(options: UseFormValidationOptions<TValues>): MagooFormValidation<TValues>;
|
|
947
2246
|
|
|
948
2247
|
export declare interface UseFormValidationOptions<TValues extends Record<string, unknown>> {
|
|
@@ -959,4 +2258,20 @@ export declare interface UseFormValidationOptions<TValues extends Record<string,
|
|
|
959
2258
|
adapter?: MagooRuleResultAdapter;
|
|
960
2259
|
}
|
|
961
2260
|
|
|
2261
|
+
export declare function useSkin(skin?: MaybeRefOrGetter<MagooSkin | undefined>): {
|
|
2262
|
+
skin: ComputedRef<MagooSkin>;
|
|
2263
|
+
skinClass: ComputedRef<string>;
|
|
2264
|
+
skinStyle: ComputedRef<MagooSkinVariables>;
|
|
2265
|
+
};
|
|
2266
|
+
|
|
2267
|
+
export declare function useToast(): {
|
|
2268
|
+
show: typeof show;
|
|
2269
|
+
info: (message: string, options?: Omit<ToastOptions, "message" | "type">) => number;
|
|
2270
|
+
success: (message: string, options?: Omit<ToastOptions, "message" | "type">) => number;
|
|
2271
|
+
warning: (message: string, options?: Omit<ToastOptions, "message" | "type">) => number;
|
|
2272
|
+
error: (message: string, options?: Omit<ToastOptions, "message" | "type">) => number;
|
|
2273
|
+
dismiss: typeof dismiss;
|
|
2274
|
+
clear: typeof clear;
|
|
2275
|
+
};
|
|
2276
|
+
|
|
962
2277
|
export { }
|