@comercti/vue-components-hmg 0.2.2 → 0.3.1
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/comerc-style-guide.cjs.js +6 -6
- package/comerc-style-guide.es.js +1516 -1451
- package/comerc-style-guide.umd.js +6 -6
- package/index.d.ts +138 -113
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -26,11 +26,11 @@ expandLine: boolean;
|
|
|
26
26
|
rootRef: HTMLDivElement;
|
|
27
27
|
}, HTMLDivElement>;
|
|
28
28
|
|
|
29
|
-
declare const __VLS_component_10: DefineComponent<
|
|
29
|
+
declare const __VLS_component_10: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
30
30
|
redirect: (item: SubMenu | ItensMenu) => any;
|
|
31
31
|
backToHome: (value: boolean) => any;
|
|
32
32
|
logout: (value: boolean) => any;
|
|
33
|
-
}, string, PublicProps, Readonly<
|
|
33
|
+
}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
|
|
34
34
|
onRedirect?: (item: SubMenu | ItensMenu) => any;
|
|
35
35
|
onBackToHome?: (value: boolean) => any;
|
|
36
36
|
onLogout?: (value: boolean) => any;
|
|
@@ -61,9 +61,9 @@ initialTab: string;
|
|
|
61
61
|
inactivate: boolean;
|
|
62
62
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
63
63
|
|
|
64
|
-
declare const __VLS_component_13: DefineComponent<
|
|
64
|
+
declare const __VLS_component_13: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
65
65
|
|
|
66
|
-
declare const __VLS_component_14: DefineComponent<
|
|
66
|
+
declare const __VLS_component_14: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {
|
|
67
67
|
color: number;
|
|
68
68
|
rounded: boolean;
|
|
69
69
|
tag: string;
|
|
@@ -75,26 +75,26 @@ responsive: boolean;
|
|
|
75
75
|
rootRef: unknown;
|
|
76
76
|
}, any>;
|
|
77
77
|
|
|
78
|
-
declare const __VLS_component_15: DefineComponent<
|
|
78
|
+
declare const __VLS_component_15: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {
|
|
79
79
|
tag: string;
|
|
80
80
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
81
81
|
|
|
82
|
-
declare const __VLS_component_16: DefineComponent<
|
|
82
|
+
declare const __VLS_component_16: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {
|
|
83
83
|
tag: string;
|
|
84
84
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
85
85
|
|
|
86
|
-
declare const __VLS_component_17: DefineComponent<
|
|
86
|
+
declare const __VLS_component_17: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {
|
|
87
87
|
type: "inline" | "centralized" | "highlighted";
|
|
88
88
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
89
89
|
|
|
90
|
-
declare const __VLS_component_18: DefineComponent<
|
|
90
|
+
declare const __VLS_component_18: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{}>, {
|
|
91
91
|
openMenu: boolean;
|
|
92
92
|
layout: "default" | "base";
|
|
93
93
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
94
94
|
|
|
95
|
-
declare const __VLS_component_19: DefineComponent<
|
|
95
|
+
declare const __VLS_component_19: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
96
96
|
close: (value: boolean) => any;
|
|
97
|
-
}, string, PublicProps, Readonly<
|
|
97
|
+
}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{
|
|
98
98
|
onClose?: (value: boolean) => any;
|
|
99
99
|
}>, {
|
|
100
100
|
rounded: boolean;
|
|
@@ -104,12 +104,12 @@ position: "top" | "bottom";
|
|
|
104
104
|
showIcon: boolean;
|
|
105
105
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
106
106
|
|
|
107
|
-
declare const __VLS_component_2: DefineComponent<
|
|
107
|
+
declare const __VLS_component_2: DefineComponent<__VLS_Props_4, {
|
|
108
108
|
/** Focus button */
|
|
109
109
|
focus: () => void;
|
|
110
110
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
111
111
|
click: (event: MouseEvent) => any;
|
|
112
|
-
}, string, PublicProps, Readonly<
|
|
112
|
+
}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{
|
|
113
113
|
onClick?: (event: MouseEvent) => any;
|
|
114
114
|
}>, {
|
|
115
115
|
type: "button" | "submit" | "a";
|
|
@@ -121,9 +121,9 @@ rounded: "small" | "medium" | "large";
|
|
|
121
121
|
buttonRef: unknown;
|
|
122
122
|
}, any>;
|
|
123
123
|
|
|
124
|
-
declare const __VLS_component_20: DefineComponent<
|
|
124
|
+
declare const __VLS_component_20: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
125
125
|
close: (value: boolean) => any;
|
|
126
|
-
}, string, PublicProps, Readonly<
|
|
126
|
+
}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{
|
|
127
127
|
onClose?: (value: boolean) => any;
|
|
128
128
|
}>, {
|
|
129
129
|
isOpen: boolean;
|
|
@@ -132,16 +132,16 @@ closeOutside: boolean;
|
|
|
132
132
|
showCloseButton: boolean;
|
|
133
133
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
134
134
|
|
|
135
|
-
declare const __VLS_component_21: DefineComponent<
|
|
135
|
+
declare const __VLS_component_21: DefineComponent<__VLS_Props_29, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_29> & Readonly<{}>, {
|
|
136
136
|
focus: boolean;
|
|
137
137
|
location: "left" | "top" | "right" | "bottom";
|
|
138
138
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
139
139
|
|
|
140
|
-
declare const __VLS_component_22: DefineComponent<
|
|
140
|
+
declare const __VLS_component_22: DefineComponent<__VLS_Props_32, {
|
|
141
141
|
rootRef: Ref<HTMLElement, HTMLElement>;
|
|
142
142
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
143
143
|
click: (event: MouseEvent) => any;
|
|
144
|
-
}, string, PublicProps, Readonly<
|
|
144
|
+
}, string, PublicProps, Readonly<__VLS_Props_32> & Readonly<{
|
|
145
145
|
onClick?: (event: MouseEvent) => any;
|
|
146
146
|
}>, {
|
|
147
147
|
size: "small" | "medium" | "large" | number;
|
|
@@ -154,10 +154,10 @@ badgeOffsetBottom: number;
|
|
|
154
154
|
rootRef: HTMLDivElement;
|
|
155
155
|
}, any>;
|
|
156
156
|
|
|
157
|
-
declare const __VLS_component_23: DefineComponent<
|
|
157
|
+
declare const __VLS_component_23: DefineComponent<__VLS_Props_33, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
158
158
|
submit: () => any;
|
|
159
159
|
clear: () => any;
|
|
160
|
-
}, string, PublicProps, Readonly<
|
|
160
|
+
}, string, PublicProps, Readonly<__VLS_Props_33> & Readonly<{
|
|
161
161
|
onSubmit?: () => any;
|
|
162
162
|
onClear?: () => any;
|
|
163
163
|
}>, {
|
|
@@ -172,7 +172,7 @@ disabledClear: boolean;
|
|
|
172
172
|
menuRef: HTMLDivElement;
|
|
173
173
|
}, HTMLDivElement>;
|
|
174
174
|
|
|
175
|
-
declare const __VLS_component_24: DefineComponent<
|
|
175
|
+
declare const __VLS_component_24: DefineComponent<__VLS_Props_34, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_34> & Readonly<{}>, {
|
|
176
176
|
size: "sm" | "md" | "lg";
|
|
177
177
|
color: "primary" | "secondary" | "success" | "danger" | "warning";
|
|
178
178
|
variant: "solid" | "outline" | "ghost";
|
|
@@ -180,10 +180,10 @@ rounded: "sm" | "md" | "lg";
|
|
|
180
180
|
status: boolean;
|
|
181
181
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
182
182
|
|
|
183
|
-
declare const __VLS_component_3: DefineComponent<
|
|
183
|
+
declare const __VLS_component_3: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
184
184
|
"update:modelValue": (value: boolean | CustomEvent<any>) => any;
|
|
185
185
|
change: (value: boolean | CustomEvent<any>) => any;
|
|
186
|
-
}, string, PublicProps, Readonly<
|
|
186
|
+
}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
|
|
187
187
|
"onUpdate:modelValue"?: (value: boolean | CustomEvent<any>) => any;
|
|
188
188
|
onChange?: (value: boolean | CustomEvent<any>) => any;
|
|
189
189
|
}>, {
|
|
@@ -194,11 +194,11 @@ invalid: boolean;
|
|
|
194
194
|
rootRef: HTMLDivElement;
|
|
195
195
|
}, any>;
|
|
196
196
|
|
|
197
|
-
declare const __VLS_component_4: DefineComponent<
|
|
197
|
+
declare const __VLS_component_4: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
198
198
|
"update:modelValue": (value: Date | CustomEvent<any>) => any;
|
|
199
199
|
"update:start": (value: Date | CustomEvent<any>) => any;
|
|
200
200
|
"update:end": (value: Date | CustomEvent<any>) => any;
|
|
201
|
-
}, string, PublicProps, Readonly<
|
|
201
|
+
}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
|
|
202
202
|
"onUpdate:modelValue"?: (value: Date | CustomEvent<any>) => any;
|
|
203
203
|
"onUpdate:start"?: (value: Date | CustomEvent<any>) => any;
|
|
204
204
|
"onUpdate:end"?: (value: Date | CustomEvent<any>) => any;
|
|
@@ -213,7 +213,7 @@ modal: boolean;
|
|
|
213
213
|
rootRef: HTMLDivElement;
|
|
214
214
|
}, any>;
|
|
215
215
|
|
|
216
|
-
declare const __VLS_component_5: DefineComponent<
|
|
216
|
+
declare const __VLS_component_5: DefineComponent<__VLS_Props_8, {
|
|
217
217
|
/** focus input */
|
|
218
218
|
focus: () => void;
|
|
219
219
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -221,7 +221,7 @@ focus: () => void;
|
|
|
221
221
|
input: (value: string | number | CustomEvent<any>) => any;
|
|
222
222
|
change: (value: string | number | CustomEvent<any>) => any;
|
|
223
223
|
blur: (value: Event) => any;
|
|
224
|
-
}, string, PublicProps, Readonly<
|
|
224
|
+
}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
|
|
225
225
|
"onUpdate:modelValue"?: (value: string | number | CustomEvent<any>) => any;
|
|
226
226
|
onInput?: (value: string | number | CustomEvent<any>) => any;
|
|
227
227
|
onChange?: (value: string | number | CustomEvent<any>) => any;
|
|
@@ -267,19 +267,19 @@ inputRef: HTMLDivElement;
|
|
|
267
267
|
searchInputRef: HTMLInputElement;
|
|
268
268
|
}, any>;
|
|
269
269
|
|
|
270
|
-
declare const __VLS_component_7: DefineComponent<
|
|
270
|
+
declare const __VLS_component_7: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {
|
|
271
271
|
cols: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "auto";
|
|
272
272
|
tag: string;
|
|
273
273
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
274
274
|
|
|
275
|
-
declare const __VLS_component_8: DefineComponent<
|
|
275
|
+
declare const __VLS_component_8: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {
|
|
276
276
|
tag: string;
|
|
277
277
|
noGutters: boolean;
|
|
278
278
|
dense: boolean;
|
|
279
279
|
noCols: boolean;
|
|
280
280
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
281
281
|
|
|
282
|
-
declare const __VLS_component_9: DefineComponent<
|
|
282
|
+
declare const __VLS_component_9: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {
|
|
283
283
|
block: boolean;
|
|
284
284
|
tag: string;
|
|
285
285
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -294,6 +294,19 @@ declare type __VLS_Props = {
|
|
|
294
294
|
};
|
|
295
295
|
|
|
296
296
|
declare type __VLS_Props_10 = {
|
|
297
|
+
/** Array de itens para o dropdown */
|
|
298
|
+
items: ItensMenu[];
|
|
299
|
+
/** Define o layout do botão */
|
|
300
|
+
variant?: 'default' | 'outlined' | 'text';
|
|
301
|
+
/** Define a cor do botão */
|
|
302
|
+
color?: string;
|
|
303
|
+
/** Define o texto do botão */
|
|
304
|
+
text: string;
|
|
305
|
+
/** Valor para two-way binding (v-model) */
|
|
306
|
+
modelValue?: boolean;
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
declare type __VLS_Props_11 = {
|
|
297
310
|
/** Valor para two-way binding (v-model) */
|
|
298
311
|
modelValue?: FileItem[];
|
|
299
312
|
/** array com os tipos de arquivos permitidos */
|
|
@@ -312,7 +325,7 @@ declare type __VLS_Props_10 = {
|
|
|
312
325
|
clear: boolean;
|
|
313
326
|
};
|
|
314
327
|
|
|
315
|
-
declare type
|
|
328
|
+
declare type __VLS_Props_12 = {
|
|
316
329
|
/** Valor do radio para two-way binding (v-model) */
|
|
317
330
|
modelValue?: ModelValueType_2;
|
|
318
331
|
/** ID única do radio */
|
|
@@ -331,7 +344,7 @@ declare type __VLS_Props_11 = {
|
|
|
331
344
|
block?: boolean;
|
|
332
345
|
};
|
|
333
346
|
|
|
334
|
-
declare type
|
|
347
|
+
declare type __VLS_Props_13 = {
|
|
335
348
|
/** Valor do toggle */
|
|
336
349
|
modelValue?: boolean;
|
|
337
350
|
/** Desabilita o toggle */
|
|
@@ -344,7 +357,7 @@ declare type __VLS_Props_12 = {
|
|
|
344
357
|
invalid?: boolean;
|
|
345
358
|
};
|
|
346
359
|
|
|
347
|
-
declare type
|
|
360
|
+
declare type __VLS_Props_14 = {
|
|
348
361
|
/** Largura de um elemento de "1" a "12" ou "auto" */
|
|
349
362
|
cols?: '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'auto';
|
|
350
363
|
/** Largura de um elemento `sm` (baseado no `cols`) */
|
|
@@ -369,7 +382,7 @@ declare type __VLS_Props_13 = {
|
|
|
369
382
|
tag?: string;
|
|
370
383
|
};
|
|
371
384
|
|
|
372
|
-
declare type
|
|
385
|
+
declare type __VLS_Props_15 = {
|
|
373
386
|
/** Alinhamento dos itens (align-items) */
|
|
374
387
|
align?: 'start' | 'end' | 'center' | 'baseline' | 'stretch';
|
|
375
388
|
/** Alinhamento dos itens `sm` (align-items) */
|
|
@@ -410,14 +423,14 @@ declare type __VLS_Props_14 = {
|
|
|
410
423
|
noCols?: boolean;
|
|
411
424
|
};
|
|
412
425
|
|
|
413
|
-
declare type
|
|
426
|
+
declare type __VLS_Props_16 = {
|
|
414
427
|
/** Define root element do container */
|
|
415
428
|
tag?: string;
|
|
416
429
|
/** Abrange toda a largura de um elemento para o container */
|
|
417
430
|
block?: boolean;
|
|
418
431
|
};
|
|
419
432
|
|
|
420
|
-
declare type
|
|
433
|
+
declare type __VLS_Props_17 = {
|
|
421
434
|
/** Array de opções do menu */
|
|
422
435
|
items: ItensMenu[];
|
|
423
436
|
/** Define se o menu está na home */
|
|
@@ -428,7 +441,7 @@ declare type __VLS_Props_16 = {
|
|
|
428
441
|
isOpen?: boolean;
|
|
429
442
|
};
|
|
430
443
|
|
|
431
|
-
declare type
|
|
444
|
+
declare type __VLS_Props_18 = {
|
|
432
445
|
/** Array de opções do menu meu serviços */
|
|
433
446
|
itemsMenuMyService: ItensMenu[];
|
|
434
447
|
/** Array de opções do menuSidebar para versão mobile */
|
|
@@ -441,14 +454,25 @@ declare type __VLS_Props_17 = {
|
|
|
441
454
|
email?: string;
|
|
442
455
|
};
|
|
443
456
|
|
|
444
|
-
declare type
|
|
457
|
+
declare type __VLS_Props_19 = {
|
|
445
458
|
/** Define o valor do model */
|
|
446
459
|
modelValue?: string;
|
|
447
460
|
/** valor padrão do item exibido */
|
|
448
461
|
value: string;
|
|
449
462
|
};
|
|
450
463
|
|
|
451
|
-
declare type
|
|
464
|
+
declare type __VLS_Props_2 = {
|
|
465
|
+
/** Define o label do componente */
|
|
466
|
+
label: string;
|
|
467
|
+
/** Define os valores exibidos no select */
|
|
468
|
+
options: number[];
|
|
469
|
+
/** Desabilita o componente */
|
|
470
|
+
disabled?: boolean;
|
|
471
|
+
/** Define a direção do texto */
|
|
472
|
+
textDirection?: 'left' | 'right';
|
|
473
|
+
};
|
|
474
|
+
|
|
475
|
+
declare type __VLS_Props_20 = {
|
|
452
476
|
/** Elemento raiz do card */
|
|
453
477
|
tag?: string;
|
|
454
478
|
/** Nível de elevação (sombra) de 0 a 5 */
|
|
@@ -473,45 +497,36 @@ declare type __VLS_Props_19 = {
|
|
|
473
497
|
responsive?: boolean;
|
|
474
498
|
};
|
|
475
499
|
|
|
476
|
-
declare type
|
|
477
|
-
/** Array de string com as opções do menu */
|
|
478
|
-
items: string[];
|
|
479
|
-
/** texto para o placeholder */
|
|
480
|
-
placeholder: string;
|
|
481
|
-
/** Valor para two-way binding (v-model) */
|
|
482
|
-
modelValue?: string;
|
|
483
|
-
};
|
|
484
|
-
|
|
485
|
-
declare type __VLS_Props_20 = {
|
|
500
|
+
declare type __VLS_Props_21 = {
|
|
486
501
|
/** Define root element */
|
|
487
502
|
tag?: string;
|
|
488
503
|
};
|
|
489
504
|
|
|
490
|
-
declare type
|
|
505
|
+
declare type __VLS_Props_22 = {
|
|
491
506
|
/** Define root element */
|
|
492
507
|
tag?: string;
|
|
493
508
|
};
|
|
494
509
|
|
|
495
|
-
declare type
|
|
510
|
+
declare type __VLS_Props_23 = {
|
|
496
511
|
/** Define o tipo do Content divider */
|
|
497
512
|
type?: 'inline' | 'centralized' | 'highlighted';
|
|
498
513
|
};
|
|
499
514
|
|
|
500
|
-
declare type
|
|
515
|
+
declare type __VLS_Props_24 = {
|
|
501
516
|
variant: '1' | '2' | '3' | '4' | '5';
|
|
502
517
|
background: 'white' | 'green';
|
|
503
518
|
items?: ItensMenu_2[];
|
|
504
519
|
socialMedia?: ISocialMedia[];
|
|
505
520
|
};
|
|
506
521
|
|
|
507
|
-
declare type
|
|
522
|
+
declare type __VLS_Props_25 = {
|
|
508
523
|
/** Indica se o menu abriu */
|
|
509
524
|
openMenu?: boolean;
|
|
510
525
|
/** Defini o tipo de layout a ser usado */
|
|
511
526
|
layout: 'default' | 'base';
|
|
512
527
|
};
|
|
513
528
|
|
|
514
|
-
declare type
|
|
529
|
+
declare type __VLS_Props_26 = {
|
|
515
530
|
/** Array de mídia social contendo ícone e link */
|
|
516
531
|
socialMedia: {
|
|
517
532
|
icon: string;
|
|
@@ -519,7 +534,7 @@ declare type __VLS_Props_25 = {
|
|
|
519
534
|
}[];
|
|
520
535
|
};
|
|
521
536
|
|
|
522
|
-
declare type
|
|
537
|
+
declare type __VLS_Props_27 = {
|
|
523
538
|
/** Define a posição em que o banner aparece */
|
|
524
539
|
position?: 'top' | 'bottom';
|
|
525
540
|
/** Define se o banner abre ou fecha */
|
|
@@ -532,7 +547,7 @@ declare type __VLS_Props_26 = {
|
|
|
532
547
|
showIcon?: boolean;
|
|
533
548
|
};
|
|
534
549
|
|
|
535
|
-
declare type
|
|
550
|
+
declare type __VLS_Props_28 = {
|
|
536
551
|
/** Define se o modal abre ou fecha */
|
|
537
552
|
isOpen: boolean;
|
|
538
553
|
/** Define a cor do background */
|
|
@@ -543,7 +558,7 @@ declare type __VLS_Props_27 = {
|
|
|
543
558
|
showCloseButton?: boolean;
|
|
544
559
|
};
|
|
545
560
|
|
|
546
|
-
declare type
|
|
561
|
+
declare type __VLS_Props_29 = {
|
|
547
562
|
/** Texto do tooltip */
|
|
548
563
|
text: string;
|
|
549
564
|
/** Localização do tooltip */
|
|
@@ -552,7 +567,16 @@ declare type __VLS_Props_28 = {
|
|
|
552
567
|
focus?: boolean;
|
|
553
568
|
};
|
|
554
569
|
|
|
555
|
-
declare type
|
|
570
|
+
declare type __VLS_Props_3 = {
|
|
571
|
+
/** Array de string com as opções do menu */
|
|
572
|
+
items: string[];
|
|
573
|
+
/** texto para o placeholder */
|
|
574
|
+
placeholder: string;
|
|
575
|
+
/** Valor para two-way binding (v-model) */
|
|
576
|
+
modelValue?: string;
|
|
577
|
+
};
|
|
578
|
+
|
|
579
|
+
declare type __VLS_Props_30 = {
|
|
556
580
|
/** Define o tipo de spinner */
|
|
557
581
|
type: 'spinner' | 'semi-circle' | 'dots';
|
|
558
582
|
/** Define se o loading deve ser exibido ou não */
|
|
@@ -561,22 +585,7 @@ declare type __VLS_Props_29 = {
|
|
|
561
585
|
background?: 'smoky' | 'transparent';
|
|
562
586
|
};
|
|
563
587
|
|
|
564
|
-
declare type
|
|
565
|
-
/** Tipo do button (`attrs:to` ou `attrs:href` podem sobrepor essa regra) */
|
|
566
|
-
type?: 'button' | 'submit' | 'a';
|
|
567
|
-
/** Variante de cores do button */
|
|
568
|
-
variant?: tipoVariante;
|
|
569
|
-
/** Arredondamento do button */
|
|
570
|
-
rounded?: 'small' | 'medium' | 'large';
|
|
571
|
-
/** ID única do button */
|
|
572
|
-
id?: string;
|
|
573
|
-
/** Abrange toda a largura de um elemento para o button */
|
|
574
|
-
block?: boolean;
|
|
575
|
-
/** Desativa o button */
|
|
576
|
-
disabled?: boolean;
|
|
577
|
-
};
|
|
578
|
-
|
|
579
|
-
declare type __VLS_Props_30 = {
|
|
588
|
+
declare type __VLS_Props_31 = {
|
|
580
589
|
/** SVG bruto (como string) */
|
|
581
590
|
name: string;
|
|
582
591
|
/** Tamanho do ícone */
|
|
@@ -587,7 +596,7 @@ declare type __VLS_Props_30 = {
|
|
|
587
596
|
fill?: string;
|
|
588
597
|
};
|
|
589
598
|
|
|
590
|
-
declare type
|
|
599
|
+
declare type __VLS_Props_32 = {
|
|
591
600
|
/** Especifica o caminho para a imagem */
|
|
592
601
|
src?: string;
|
|
593
602
|
/** Especifica um texto alternativo para a imagem, se por algum motivo ela não puder ser exibida */
|
|
@@ -606,7 +615,7 @@ declare type __VLS_Props_31 = {
|
|
|
606
615
|
disabled?: boolean;
|
|
607
616
|
};
|
|
608
617
|
|
|
609
|
-
declare type
|
|
618
|
+
declare type __VLS_Props_33 = {
|
|
610
619
|
/** Define o tipo do filtro */
|
|
611
620
|
variant?: 'dropdown' | 'collapse';
|
|
612
621
|
/** Define a cor do texto e do ícone */
|
|
@@ -625,7 +634,7 @@ declare type __VLS_Props_32 = {
|
|
|
625
634
|
disabledClear?: boolean;
|
|
626
635
|
};
|
|
627
636
|
|
|
628
|
-
declare type
|
|
637
|
+
declare type __VLS_Props_34 = {
|
|
629
638
|
/** Variante de estilo do badge */
|
|
630
639
|
variant?: 'solid' | 'outline' | 'ghost';
|
|
631
640
|
/** Cor do badge */
|
|
@@ -639,6 +648,21 @@ declare type __VLS_Props_33 = {
|
|
|
639
648
|
};
|
|
640
649
|
|
|
641
650
|
declare type __VLS_Props_4 = {
|
|
651
|
+
/** Tipo do button (`attrs:to` ou `attrs:href` podem sobrepor essa regra) */
|
|
652
|
+
type?: 'button' | 'submit' | 'a';
|
|
653
|
+
/** Variante de cores do button */
|
|
654
|
+
variant?: tipoVariante;
|
|
655
|
+
/** Arredondamento do button */
|
|
656
|
+
rounded?: 'small' | 'medium' | 'large';
|
|
657
|
+
/** ID única do button */
|
|
658
|
+
id?: string;
|
|
659
|
+
/** Abrange toda a largura de um elemento para o button */
|
|
660
|
+
block?: boolean;
|
|
661
|
+
/** Desativa o button */
|
|
662
|
+
disabled?: boolean;
|
|
663
|
+
};
|
|
664
|
+
|
|
665
|
+
declare type __VLS_Props_5 = {
|
|
642
666
|
/** Valor do checkbox para two-way binding (v-model) */
|
|
643
667
|
modelValue?: ModelValueType;
|
|
644
668
|
/** ID única do checkbox */
|
|
@@ -663,7 +687,7 @@ declare type __VLS_Props_4 = {
|
|
|
663
687
|
indeterminate?: boolean;
|
|
664
688
|
};
|
|
665
689
|
|
|
666
|
-
declare type
|
|
690
|
+
declare type __VLS_Props_6 = {
|
|
667
691
|
/** Valor para two-way binding (v-model) */
|
|
668
692
|
modelValue?: boolean;
|
|
669
693
|
/** ID única do input */
|
|
@@ -678,7 +702,7 @@ declare type __VLS_Props_5 = {
|
|
|
678
702
|
disabled?: boolean;
|
|
679
703
|
};
|
|
680
704
|
|
|
681
|
-
declare type
|
|
705
|
+
declare type __VLS_Props_7 = {
|
|
682
706
|
modelValue?: Date | string | null;
|
|
683
707
|
start?: Date | string | null;
|
|
684
708
|
end?: Date | string | null;
|
|
@@ -706,7 +730,7 @@ declare type __VLS_Props_6 = {
|
|
|
706
730
|
noAlertIcon?: boolean;
|
|
707
731
|
};
|
|
708
732
|
|
|
709
|
-
declare type
|
|
733
|
+
declare type __VLS_Props_8 = {
|
|
710
734
|
/** Valor do input para two-way binding (v-model) */
|
|
711
735
|
modelValue?: string | number;
|
|
712
736
|
/** Tipo do input (text, password, email, etc) */
|
|
@@ -735,7 +759,7 @@ declare type __VLS_Props_7 = {
|
|
|
735
759
|
readonly?: boolean;
|
|
736
760
|
};
|
|
737
761
|
|
|
738
|
-
declare type
|
|
762
|
+
declare type __VLS_Props_9 = {
|
|
739
763
|
/** Define o id do botão */
|
|
740
764
|
id: string | number;
|
|
741
765
|
/** Define o texto do botão */
|
|
@@ -748,19 +772,6 @@ declare type __VLS_Props_8 = {
|
|
|
748
772
|
disabled?: boolean;
|
|
749
773
|
};
|
|
750
774
|
|
|
751
|
-
declare type __VLS_Props_9 = {
|
|
752
|
-
/** Array de itens para o dropdown */
|
|
753
|
-
items: ItensMenu[];
|
|
754
|
-
/** Define o layout do botão */
|
|
755
|
-
variant?: 'default' | 'outlined' | 'text';
|
|
756
|
-
/** Define a cor do botão */
|
|
757
|
-
color?: string;
|
|
758
|
-
/** Define o texto do botão */
|
|
759
|
-
text: string;
|
|
760
|
-
/** Valor para two-way binding (v-model) */
|
|
761
|
-
modelValue?: boolean;
|
|
762
|
-
};
|
|
763
|
-
|
|
764
775
|
declare function __VLS_template(): {
|
|
765
776
|
attrs: Partial<{}>;
|
|
766
777
|
slots: Readonly<NonNullable<{
|
|
@@ -1410,12 +1421,12 @@ export declare const activateCeLoading: () => void;
|
|
|
1410
1421
|
|
|
1411
1422
|
export declare const addCeToast: (title: string, message: string, type: "success" | "error" | "warn" | "info", duration?: number, data?: IData | null) => void;
|
|
1412
1423
|
|
|
1413
|
-
export declare const CeAutocomplete: DefineComponent<
|
|
1424
|
+
export declare const CeAutocomplete: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1414
1425
|
"update:modelValue": (value: string | CustomEvent<any>) => any;
|
|
1415
1426
|
filterList: (value: string | CustomEvent<any>) => any;
|
|
1416
1427
|
clearFilter: () => any;
|
|
1417
1428
|
"input:focus": () => any;
|
|
1418
|
-
}, string, PublicProps, Readonly<
|
|
1429
|
+
}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
|
|
1419
1430
|
"onUpdate:modelValue"?: (value: string | CustomEvent<any>) => any;
|
|
1420
1431
|
onFilterList?: (value: string | CustomEvent<any>) => any;
|
|
1421
1432
|
onClearFilter?: () => any;
|
|
@@ -1432,7 +1443,7 @@ export declare const CeBreadcrumbs: __VLS_WithTemplateSlots_11<typeof __VLS_comp
|
|
|
1432
1443
|
|
|
1433
1444
|
export declare const CeButton: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
1434
1445
|
|
|
1435
|
-
export declare const CeButtonGroups: DefineComponent<
|
|
1446
|
+
export declare const CeButtonGroups: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {
|
|
1436
1447
|
text: string;
|
|
1437
1448
|
disabled: boolean;
|
|
1438
1449
|
id: string | number;
|
|
@@ -1446,13 +1457,13 @@ export declare const CeCardHeader: __VLS_WithTemplateSlots_15<typeof __VLS_compo
|
|
|
1446
1457
|
|
|
1447
1458
|
export declare const CeCardText: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
1448
1459
|
|
|
1449
|
-
export declare const CeCheckbox: DefineComponent<
|
|
1460
|
+
export declare const CeCheckbox: DefineComponent<__VLS_Props_5, {
|
|
1450
1461
|
/** Focus checkbox input */
|
|
1451
1462
|
focus: () => void;
|
|
1452
1463
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1453
1464
|
"update:modelValue": (value: ModelValueType | CustomEvent<any>) => any;
|
|
1454
1465
|
change: (value: ModelValueType | CustomEvent<any>) => any;
|
|
1455
|
-
}, string, PublicProps, Readonly<
|
|
1466
|
+
}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{
|
|
1456
1467
|
"onUpdate:modelValue"?: (value: ModelValueType | CustomEvent<any>) => any;
|
|
1457
1468
|
onChange?: (value: ModelValueType | CustomEvent<any>) => any;
|
|
1458
1469
|
}>, {
|
|
@@ -1478,10 +1489,10 @@ export declare const CeDataTable: __VLS_WithTemplateSlots<typeof __VLS_component
|
|
|
1478
1489
|
|
|
1479
1490
|
export declare const CeDatePicker: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
1480
1491
|
|
|
1481
|
-
export declare const CeDropdown: DefineComponent<
|
|
1492
|
+
export declare const CeDropdown: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1482
1493
|
"update:modelValue": (value: IReturn) => any;
|
|
1483
1494
|
redirect: (item: ItensMenu) => any;
|
|
1484
|
-
}, string, PublicProps, Readonly<
|
|
1495
|
+
}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
|
|
1485
1496
|
"onUpdate:modelValue"?: (value: IReturn) => any;
|
|
1486
1497
|
onRedirect?: (item: ItensMenu) => any;
|
|
1487
1498
|
}>, {
|
|
@@ -1490,10 +1501,10 @@ variant: "default" | "outlined" | "text";
|
|
|
1490
1501
|
items: ItensMenu[];
|
|
1491
1502
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1492
1503
|
|
|
1493
|
-
export declare const CeFileUpload: DefineComponent<
|
|
1504
|
+
export declare const CeFileUpload: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1494
1505
|
"update:modelValue": (file: FileItem[]) => any;
|
|
1495
1506
|
updateFiles: (file: FileItem[]) => any;
|
|
1496
|
-
}, string, PublicProps, Readonly<
|
|
1507
|
+
}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
|
|
1497
1508
|
"onUpdate:modelValue"?: (file: FileItem[]) => any;
|
|
1498
1509
|
onUpdateFiles?: (file: FileItem[]) => any;
|
|
1499
1510
|
}>, {
|
|
@@ -1508,9 +1519,9 @@ clear: boolean;
|
|
|
1508
1519
|
|
|
1509
1520
|
export declare const CeFilterGroup: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1510
1521
|
|
|
1511
|
-
export declare const CeFooter: DefineComponent<
|
|
1522
|
+
export declare const CeFooter: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1512
1523
|
redirect: (valor?: string) => any;
|
|
1513
|
-
}, string, PublicProps, Readonly<
|
|
1524
|
+
}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{
|
|
1514
1525
|
onRedirect?: (valor?: string) => any;
|
|
1515
1526
|
}>, {
|
|
1516
1527
|
variant: "1" | "2" | "3" | "4" | "5";
|
|
@@ -1519,9 +1530,22 @@ background: "white" | "green";
|
|
|
1519
1530
|
|
|
1520
1531
|
export declare const CeInput: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
1521
1532
|
|
|
1533
|
+
export declare const CeItensPerPage: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1534
|
+
"update:modelValue": (value: number) => any;
|
|
1535
|
+
updatePerPage: (value: number) => any;
|
|
1536
|
+
}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
|
|
1537
|
+
"onUpdate:modelValue"?: (value: number) => any;
|
|
1538
|
+
onUpdatePerPage?: (value: number) => any;
|
|
1539
|
+
}>, {
|
|
1540
|
+
disabled: boolean;
|
|
1541
|
+
textDirection: "left" | "right";
|
|
1542
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1543
|
+
menuRef: HTMLDivElement;
|
|
1544
|
+
}, HTMLDivElement>;
|
|
1545
|
+
|
|
1522
1546
|
export declare const CeLayout: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
1523
1547
|
|
|
1524
|
-
export declare const CeLoading: DefineComponent<
|
|
1548
|
+
export declare const CeLoading: DefineComponent<__VLS_Props_30, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_30> & Readonly<{}>, {
|
|
1525
1549
|
type: "spinner" | "semi-circle" | "dots";
|
|
1526
1550
|
background: "smoky" | "transparent";
|
|
1527
1551
|
showLoading: boolean;
|
|
@@ -1529,10 +1553,10 @@ showLoading: boolean;
|
|
|
1529
1553
|
|
|
1530
1554
|
export declare const CeMenuHeader: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
1531
1555
|
|
|
1532
|
-
export declare const CeMenuSidebar: DefineComponent<
|
|
1556
|
+
export declare const CeMenuSidebar: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1533
1557
|
toggleMenu: (clicado: boolean) => any;
|
|
1534
1558
|
redirect: (item: SubMenu | ItensMenu) => any;
|
|
1535
|
-
}, string, PublicProps, Readonly<
|
|
1559
|
+
}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
|
|
1536
1560
|
onToggleMenu?: (clicado: boolean) => any;
|
|
1537
1561
|
onRedirect?: (item: SubMenu | ItensMenu) => any;
|
|
1538
1562
|
}>, {
|
|
@@ -1558,13 +1582,13 @@ export declare const CeProgressIndicator: DefineComponent<__VLS_Props, {}, {}, {
|
|
|
1558
1582
|
|
|
1559
1583
|
export declare const CeProgressSteps: DefineComponent<IProgressStepsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IProgressStepsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1560
1584
|
|
|
1561
|
-
export declare const CeRadioGroup: DefineComponent<
|
|
1585
|
+
export declare const CeRadioGroup: DefineComponent<__VLS_Props_12, {
|
|
1562
1586
|
/** Focus radio input */
|
|
1563
1587
|
focus: (id?: string) => void;
|
|
1564
1588
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1565
1589
|
"update:modelValue": (value: CustomEvent<any> | ModelValueType_2) => any;
|
|
1566
1590
|
change: (value: CustomEvent<any> | ModelValueType_2) => any;
|
|
1567
|
-
}, string, PublicProps, Readonly<
|
|
1591
|
+
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
1568
1592
|
"onUpdate:modelValue"?: (value: CustomEvent<any> | ModelValueType_2) => any;
|
|
1569
1593
|
onChange?: (value: CustomEvent<any> | ModelValueType_2) => any;
|
|
1570
1594
|
}>, {
|
|
@@ -1575,7 +1599,7 @@ block: boolean;
|
|
|
1575
1599
|
|
|
1576
1600
|
export declare const CeRow: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
1577
1601
|
|
|
1578
|
-
export declare const CeSectionFooter: DefineComponent<
|
|
1602
|
+
export declare const CeSectionFooter: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1579
1603
|
|
|
1580
1604
|
export declare const CeSelect: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
1581
1605
|
|
|
@@ -1621,7 +1645,7 @@ maxValue: number;
|
|
|
1621
1645
|
showValue: boolean;
|
|
1622
1646
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
1623
1647
|
|
|
1624
|
-
export declare const CeSvgIcon: DefineComponent<
|
|
1648
|
+
export declare const CeSvgIcon: DefineComponent<__VLS_Props_31, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_31> & Readonly<{}>, {
|
|
1625
1649
|
fill: string;
|
|
1626
1650
|
size: number | string;
|
|
1627
1651
|
color: string;
|
|
@@ -1643,10 +1667,10 @@ showActionButton: boolean;
|
|
|
1643
1667
|
textButton: string;
|
|
1644
1668
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1645
1669
|
|
|
1646
|
-
export declare const CeToggle: DefineComponent<
|
|
1670
|
+
export declare const CeToggle: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1647
1671
|
"update:modelValue": (value: boolean) => any;
|
|
1648
1672
|
change: (value: boolean | CustomEvent<any>) => any;
|
|
1649
|
-
}, string, PublicProps, Readonly<
|
|
1673
|
+
}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
|
|
1650
1674
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
1651
1675
|
onChange?: (value: boolean | CustomEvent<any>) => any;
|
|
1652
1676
|
}>, {
|
|
@@ -1927,6 +1951,7 @@ declare module 'vue' {
|
|
|
1927
1951
|
'ce-progress-indicator': typeof ProgressIndicatorComponent;
|
|
1928
1952
|
'ce-progress-steps': typeof ProgressStepsComponent;
|
|
1929
1953
|
'ce-data-table': typeof DataTableComponent;
|
|
1954
|
+
'ce-itens-per-page': typeof ItensPerPageComponent;
|
|
1930
1955
|
}
|
|
1931
1956
|
}
|
|
1932
1957
|
|