@comercti/react-components-hmg 0.21.17 → 0.22.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/comerc-style-guide.cjs.js +3 -3
- package/comerc-style-guide.es.js +2078 -1942
- package/comerc-style-guide.umd.js +7 -7
- package/index.d.ts +159 -109
- package/package.json +2 -1
package/index.d.ts
CHANGED
|
@@ -39,23 +39,23 @@ copyable: boolean;
|
|
|
39
39
|
rootRef: HTMLDivElement;
|
|
40
40
|
}, HTMLDivElement>;
|
|
41
41
|
|
|
42
|
-
declare const __VLS_component_10: DefineComponent<
|
|
42
|
+
declare const __VLS_component_10: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {
|
|
43
43
|
tag: string;
|
|
44
44
|
noGutters: boolean;
|
|
45
45
|
dense: boolean;
|
|
46
46
|
noCols: boolean;
|
|
47
47
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
48
48
|
|
|
49
|
-
declare const __VLS_component_11: DefineComponent<
|
|
49
|
+
declare const __VLS_component_11: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {
|
|
50
50
|
block: boolean;
|
|
51
51
|
tag: string;
|
|
52
52
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
53
53
|
|
|
54
|
-
declare const __VLS_component_12: DefineComponent<
|
|
54
|
+
declare const __VLS_component_12: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
55
55
|
redirect: (item: SubMenu | ItensMenu_2) => any;
|
|
56
56
|
backToHome: (value: boolean) => any;
|
|
57
57
|
logout: (value: boolean) => any;
|
|
58
|
-
}, string, PublicProps, Readonly<
|
|
58
|
+
}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
|
|
59
59
|
onRedirect?: (item: SubMenu | ItensMenu_2) => any;
|
|
60
60
|
onBackToHome?: (value: boolean) => any;
|
|
61
61
|
onLogout?: (value: boolean) => any;
|
|
@@ -87,13 +87,13 @@ initialTab: string;
|
|
|
87
87
|
inactivate: boolean;
|
|
88
88
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
89
89
|
|
|
90
|
-
declare const __VLS_component_15: DefineComponent<
|
|
90
|
+
declare const __VLS_component_15: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
91
91
|
|
|
92
|
-
declare const __VLS_component_16: DefineComponent<
|
|
92
|
+
declare const __VLS_component_16: DefineComponent<__VLS_Props_22, {
|
|
93
93
|
rootRef: Ref<HTMLElement, HTMLElement>;
|
|
94
94
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
95
95
|
click: (event: MouseEvent) => any;
|
|
96
|
-
}, string, PublicProps, Readonly<
|
|
96
|
+
}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{
|
|
97
97
|
onClick?: (event: MouseEvent) => any;
|
|
98
98
|
}>, {
|
|
99
99
|
disabled: boolean;
|
|
@@ -106,10 +106,10 @@ badgeOffsetBottom: number;
|
|
|
106
106
|
rootRef: HTMLDivElement;
|
|
107
107
|
}, any>;
|
|
108
108
|
|
|
109
|
-
declare const __VLS_component_17: DefineComponent<
|
|
109
|
+
declare const __VLS_component_17: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
110
110
|
submit: () => any;
|
|
111
111
|
clear: () => any;
|
|
112
|
-
}, string, PublicProps, Readonly<
|
|
112
|
+
}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{
|
|
113
113
|
onSubmit?: () => any;
|
|
114
114
|
onClear?: () => any;
|
|
115
115
|
}>, {
|
|
@@ -122,7 +122,7 @@ showClearButton: boolean;
|
|
|
122
122
|
menuRef: HTMLDivElement;
|
|
123
123
|
}, HTMLDivElement>;
|
|
124
124
|
|
|
125
|
-
declare const __VLS_component_18: DefineComponent<
|
|
125
|
+
declare const __VLS_component_18: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {
|
|
126
126
|
color: "primary" | "secondary" | "success" | "danger" | "warning";
|
|
127
127
|
size: "sm" | "md" | "lg";
|
|
128
128
|
rounded: "sm" | "md" | "lg";
|
|
@@ -130,9 +130,9 @@ variant: "solid" | "outline" | "ghost";
|
|
|
130
130
|
status: boolean;
|
|
131
131
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
132
132
|
|
|
133
|
-
declare const __VLS_component_19: DefineComponent<
|
|
133
|
+
declare const __VLS_component_19: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
134
134
|
close: (value: boolean) => any;
|
|
135
|
-
}, string, PublicProps, Readonly<
|
|
135
|
+
}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{
|
|
136
136
|
onClose?: (value: boolean) => any;
|
|
137
137
|
}>, {
|
|
138
138
|
background: "white" | "green";
|
|
@@ -160,9 +160,9 @@ variant: tipoVariante;
|
|
|
160
160
|
buttonRef: unknown;
|
|
161
161
|
}, any>;
|
|
162
162
|
|
|
163
|
-
declare const __VLS_component_20: DefineComponent<
|
|
163
|
+
declare const __VLS_component_20: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
164
164
|
close: (value: boolean) => any;
|
|
165
|
-
}, string, PublicProps, Readonly<
|
|
165
|
+
}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
|
|
166
166
|
onClose?: (value: boolean) => any;
|
|
167
167
|
}>, {
|
|
168
168
|
background: "1" | "2";
|
|
@@ -171,7 +171,7 @@ closeOutside: boolean;
|
|
|
171
171
|
showCloseButton: boolean;
|
|
172
172
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
173
173
|
|
|
174
|
-
declare const __VLS_component_21: DefineComponent<
|
|
174
|
+
declare const __VLS_component_21: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{}>, {
|
|
175
175
|
focus: boolean;
|
|
176
176
|
location: "top" | "bottom" | "left" | "right";
|
|
177
177
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
@@ -179,7 +179,7 @@ activatorRef: HTMLDivElement;
|
|
|
179
179
|
tooltipRef: HTMLDivElement;
|
|
180
180
|
}, any>;
|
|
181
181
|
|
|
182
|
-
declare const __VLS_component_22: DefineComponent<
|
|
182
|
+
declare const __VLS_component_22: DefineComponent<__VLS_Props_29, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_29> & Readonly<{}>, {
|
|
183
183
|
color: number;
|
|
184
184
|
rounded: boolean;
|
|
185
185
|
tag: string;
|
|
@@ -191,26 +191,26 @@ responsive: boolean;
|
|
|
191
191
|
rootRef: unknown;
|
|
192
192
|
}, any>;
|
|
193
193
|
|
|
194
|
-
declare const __VLS_component_23: DefineComponent<
|
|
194
|
+
declare const __VLS_component_23: DefineComponent<__VLS_Props_30, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_30> & Readonly<{}>, {
|
|
195
195
|
tag: string;
|
|
196
196
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
197
197
|
|
|
198
|
-
declare const __VLS_component_24: DefineComponent<
|
|
198
|
+
declare const __VLS_component_24: DefineComponent<__VLS_Props_31, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_31> & Readonly<{}>, {
|
|
199
199
|
tag: string;
|
|
200
200
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
201
201
|
|
|
202
|
-
declare const __VLS_component_25: DefineComponent<
|
|
202
|
+
declare const __VLS_component_25: DefineComponent<__VLS_Props_32, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_32> & Readonly<{}>, {
|
|
203
203
|
type: "inline" | "centralized" | "highlighted";
|
|
204
204
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
205
205
|
|
|
206
|
-
declare const __VLS_component_26: DefineComponent<
|
|
206
|
+
declare const __VLS_component_26: DefineComponent<__VLS_Props_34, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_34> & Readonly<{}>, {
|
|
207
207
|
openMenu: boolean;
|
|
208
208
|
layout: "default" | "base" | "minimal";
|
|
209
209
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
210
210
|
|
|
211
|
-
declare const __VLS_component_27: DefineComponent<
|
|
211
|
+
declare const __VLS_component_27: DefineComponent<__VLS_Props_36, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
212
212
|
"toggle-collapse": (value: ICollapse[]) => any;
|
|
213
|
-
}, string, PublicProps, Readonly<
|
|
213
|
+
}, string, PublicProps, Readonly<__VLS_Props_36> & Readonly<{
|
|
214
214
|
"onToggle-collapse"?: (value: ICollapse[]) => any;
|
|
215
215
|
}>, {
|
|
216
216
|
items: Array<Record<string, unknown>>;
|
|
@@ -327,7 +327,7 @@ inputRef: HTMLDivElement;
|
|
|
327
327
|
searchInputRef: HTMLInputElement;
|
|
328
328
|
}, any>;
|
|
329
329
|
|
|
330
|
-
declare const __VLS_component_9: DefineComponent<
|
|
330
|
+
declare const __VLS_component_9: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {
|
|
331
331
|
cols: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "auto";
|
|
332
332
|
tag: string;
|
|
333
333
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -432,6 +432,35 @@ declare type __VLS_Props_13 = {
|
|
|
432
432
|
};
|
|
433
433
|
|
|
434
434
|
declare type __VLS_Props_14 = {
|
|
435
|
+
/** ID única do input */
|
|
436
|
+
id?: string;
|
|
437
|
+
/** Valor do input para two-way binding (v-model) */
|
|
438
|
+
modelValue: string;
|
|
439
|
+
/** Define a quantidade de dígitos do código */
|
|
440
|
+
length: number;
|
|
441
|
+
/** Define se o input deve ser desabilitado */
|
|
442
|
+
disabled?: boolean;
|
|
443
|
+
/** Define o tipo do code input */
|
|
444
|
+
type?: 'letter-numeric' | 'number' | 'password';
|
|
445
|
+
/** Texto do placeholder do input */
|
|
446
|
+
placeholder?: string[];
|
|
447
|
+
/** Texto da label exibida acima do input */
|
|
448
|
+
label?: string;
|
|
449
|
+
/** Texto de ajuda */
|
|
450
|
+
hint?: string;
|
|
451
|
+
/** Texto para ser um erro */
|
|
452
|
+
invalidFeedback?: string;
|
|
453
|
+
/** Aciona manualmente o estado de erro */
|
|
454
|
+
invalid?: boolean;
|
|
455
|
+
/** Se o input deve reservar espaço para feedback de erro */
|
|
456
|
+
reserveSpaceFeedback?: boolean;
|
|
457
|
+
/** Se o input deve receber foco automaticamente */
|
|
458
|
+
shouldAutoFocus?: boolean;
|
|
459
|
+
/** Se o input deve ser centralizado */
|
|
460
|
+
centralized?: boolean;
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
declare type __VLS_Props_15 = {
|
|
435
464
|
/** Largura de um elemento de "1" a "12" ou "auto" */
|
|
436
465
|
cols?: '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'auto';
|
|
437
466
|
/** Largura de um elemento `sm` (baseado no `cols`) */
|
|
@@ -456,7 +485,7 @@ declare type __VLS_Props_14 = {
|
|
|
456
485
|
tag?: string;
|
|
457
486
|
};
|
|
458
487
|
|
|
459
|
-
declare type
|
|
488
|
+
declare type __VLS_Props_16 = {
|
|
460
489
|
/** Alinhamento dos itens (align-items) */
|
|
461
490
|
align?: 'start' | 'end' | 'center' | 'baseline' | 'stretch';
|
|
462
491
|
/** Alinhamento dos itens `sm` (align-items) */
|
|
@@ -497,14 +526,14 @@ declare type __VLS_Props_15 = {
|
|
|
497
526
|
noCols?: boolean;
|
|
498
527
|
};
|
|
499
528
|
|
|
500
|
-
declare type
|
|
529
|
+
declare type __VLS_Props_17 = {
|
|
501
530
|
/** Define root element do container */
|
|
502
531
|
tag?: string;
|
|
503
532
|
/** Abrange toda a largura de um elemento para o container */
|
|
504
533
|
block?: boolean;
|
|
505
534
|
};
|
|
506
535
|
|
|
507
|
-
declare type
|
|
536
|
+
declare type __VLS_Props_18 = {
|
|
508
537
|
/** SVG bruto (como string) */
|
|
509
538
|
name: string;
|
|
510
539
|
/** Tamanho do ícone */
|
|
@@ -515,7 +544,7 @@ declare type __VLS_Props_17 = {
|
|
|
515
544
|
fill?: string;
|
|
516
545
|
};
|
|
517
546
|
|
|
518
|
-
declare type
|
|
547
|
+
declare type __VLS_Props_19 = {
|
|
519
548
|
/** Array de opções do menu meu serviços */
|
|
520
549
|
itemsMenuMyService: ItensMenu_2[];
|
|
521
550
|
/** Array de opções do menuSidebar para versão mobile */
|
|
@@ -530,7 +559,16 @@ declare type __VLS_Props_18 = {
|
|
|
530
559
|
itemsSearch?: ItensMenu_2[];
|
|
531
560
|
};
|
|
532
561
|
|
|
533
|
-
declare type
|
|
562
|
+
declare type __VLS_Props_2 = {
|
|
563
|
+
label: string;
|
|
564
|
+
options: number[];
|
|
565
|
+
disabled?: boolean;
|
|
566
|
+
textDirection?: 'left' | 'right';
|
|
567
|
+
modelValue: number;
|
|
568
|
+
position?: 'top' | 'bottom';
|
|
569
|
+
};
|
|
570
|
+
|
|
571
|
+
declare type __VLS_Props_20 = {
|
|
534
572
|
/** Array de opções do menu */
|
|
535
573
|
items: ItensMenu_2[];
|
|
536
574
|
/** Array de opções de pesquisa do menu */
|
|
@@ -545,23 +583,14 @@ declare type __VLS_Props_19 = {
|
|
|
545
583
|
title?: string;
|
|
546
584
|
};
|
|
547
585
|
|
|
548
|
-
declare type
|
|
549
|
-
label: string;
|
|
550
|
-
options: number[];
|
|
551
|
-
disabled?: boolean;
|
|
552
|
-
textDirection?: 'left' | 'right';
|
|
553
|
-
modelValue: number;
|
|
554
|
-
position?: 'top' | 'bottom';
|
|
555
|
-
};
|
|
556
|
-
|
|
557
|
-
declare type __VLS_Props_20 = {
|
|
586
|
+
declare type __VLS_Props_21 = {
|
|
558
587
|
/** Define o valor do model */
|
|
559
588
|
modelValue?: string;
|
|
560
589
|
/** valor padrão do item exibido */
|
|
561
590
|
value: string;
|
|
562
591
|
};
|
|
563
592
|
|
|
564
|
-
declare type
|
|
593
|
+
declare type __VLS_Props_22 = {
|
|
565
594
|
/** Especifica o caminho para a imagem */
|
|
566
595
|
src?: string;
|
|
567
596
|
/** Especifica um texto alternativo para a imagem, se por algum motivo ela não puder ser exibida */
|
|
@@ -580,7 +609,7 @@ declare type __VLS_Props_21 = {
|
|
|
580
609
|
disabled?: boolean;
|
|
581
610
|
};
|
|
582
611
|
|
|
583
|
-
declare type
|
|
612
|
+
declare type __VLS_Props_23 = {
|
|
584
613
|
/** Define o tipo do filtro */
|
|
585
614
|
variant?: 'dropdown' | 'collapse';
|
|
586
615
|
/** Define o título do filtro */
|
|
@@ -595,7 +624,7 @@ declare type __VLS_Props_22 = {
|
|
|
595
624
|
showClearButton?: boolean;
|
|
596
625
|
};
|
|
597
626
|
|
|
598
|
-
declare type
|
|
627
|
+
declare type __VLS_Props_24 = {
|
|
599
628
|
/** Variante de estilo do badge */
|
|
600
629
|
variant?: 'solid' | 'outline' | 'ghost';
|
|
601
630
|
/** Cor do badge */
|
|
@@ -608,7 +637,7 @@ declare type __VLS_Props_23 = {
|
|
|
608
637
|
status?: boolean;
|
|
609
638
|
};
|
|
610
639
|
|
|
611
|
-
declare type
|
|
640
|
+
declare type __VLS_Props_25 = {
|
|
612
641
|
/** Define a posição em que o banner aparece */
|
|
613
642
|
position?: 'top' | 'bottom';
|
|
614
643
|
/** Define se o banner abre ou fecha */
|
|
@@ -621,7 +650,7 @@ declare type __VLS_Props_24 = {
|
|
|
621
650
|
showIcon?: boolean;
|
|
622
651
|
};
|
|
623
652
|
|
|
624
|
-
declare type
|
|
653
|
+
declare type __VLS_Props_26 = {
|
|
625
654
|
/** Define se o modal abre ou fecha */
|
|
626
655
|
isOpen: boolean;
|
|
627
656
|
/** Define a cor do background */
|
|
@@ -632,13 +661,13 @@ declare type __VLS_Props_25 = {
|
|
|
632
661
|
showCloseButton?: boolean;
|
|
633
662
|
};
|
|
634
663
|
|
|
635
|
-
declare type
|
|
664
|
+
declare type __VLS_Props_27 = {
|
|
636
665
|
text: string;
|
|
637
666
|
location?: 'top' | 'bottom' | 'left' | 'right';
|
|
638
667
|
focus?: boolean;
|
|
639
668
|
};
|
|
640
669
|
|
|
641
|
-
declare type
|
|
670
|
+
declare type __VLS_Props_28 = {
|
|
642
671
|
/** Define o tipo de spinner */
|
|
643
672
|
type: 'spinner' | 'semi-circle' | 'dots';
|
|
644
673
|
/** Define se o loading deve ser exibido ou não */
|
|
@@ -647,7 +676,7 @@ declare type __VLS_Props_27 = {
|
|
|
647
676
|
background?: 'smoky' | 'transparent';
|
|
648
677
|
};
|
|
649
678
|
|
|
650
|
-
declare type
|
|
679
|
+
declare type __VLS_Props_29 = {
|
|
651
680
|
/** Elemento raiz do card */
|
|
652
681
|
tag?: string;
|
|
653
682
|
/** Nível de elevação (sombra) de 0 a 5 */
|
|
@@ -672,11 +701,6 @@ declare type __VLS_Props_28 = {
|
|
|
672
701
|
responsive?: boolean;
|
|
673
702
|
};
|
|
674
703
|
|
|
675
|
-
declare type __VLS_Props_29 = {
|
|
676
|
-
/** Define root element */
|
|
677
|
-
tag?: string;
|
|
678
|
-
};
|
|
679
|
-
|
|
680
704
|
declare type __VLS_Props_3 = {
|
|
681
705
|
/** Array de string com as opções do menu */
|
|
682
706
|
items: string[];
|
|
@@ -692,25 +716,30 @@ declare type __VLS_Props_30 = {
|
|
|
692
716
|
};
|
|
693
717
|
|
|
694
718
|
declare type __VLS_Props_31 = {
|
|
719
|
+
/** Define root element */
|
|
720
|
+
tag?: string;
|
|
721
|
+
};
|
|
722
|
+
|
|
723
|
+
declare type __VLS_Props_32 = {
|
|
695
724
|
/** Define o tipo do Content divider */
|
|
696
725
|
type?: 'inline' | 'centralized' | 'highlighted';
|
|
697
726
|
};
|
|
698
727
|
|
|
699
|
-
declare type
|
|
728
|
+
declare type __VLS_Props_33 = {
|
|
700
729
|
variant: '1' | '2' | '3' | '4' | '5';
|
|
701
730
|
background: 'white' | 'green';
|
|
702
731
|
items?: ItensMenu[];
|
|
703
732
|
socialMedia?: ISocialMedia[];
|
|
704
733
|
};
|
|
705
734
|
|
|
706
|
-
declare type
|
|
735
|
+
declare type __VLS_Props_34 = {
|
|
707
736
|
/** Indica se o menu abriu */
|
|
708
737
|
openMenu?: boolean;
|
|
709
738
|
/** Defini o tipo de layout a ser usado */
|
|
710
739
|
layout: 'default' | 'base' | 'minimal';
|
|
711
740
|
};
|
|
712
741
|
|
|
713
|
-
declare type
|
|
742
|
+
declare type __VLS_Props_35 = {
|
|
714
743
|
/** Array de mídia social contendo ícone e link */
|
|
715
744
|
socialMedia: {
|
|
716
745
|
icon: string;
|
|
@@ -718,7 +747,7 @@ declare type __VLS_Props_34 = {
|
|
|
718
747
|
}[];
|
|
719
748
|
};
|
|
720
749
|
|
|
721
|
-
declare type
|
|
750
|
+
declare type __VLS_Props_36 = {
|
|
722
751
|
items: Array<Record<string, unknown>>;
|
|
723
752
|
openTheFirst?: boolean;
|
|
724
753
|
allOpen?: boolean;
|
|
@@ -1583,13 +1612,13 @@ export declare const addCeToast: (title: string, message: string, type: "success
|
|
|
1583
1612
|
|
|
1584
1613
|
export declare const CeAutocomplete: default_2.ComponentType<typeof _default_7>;
|
|
1585
1614
|
|
|
1586
|
-
export declare const CeAvatar: default_2.ComponentType<typeof
|
|
1615
|
+
export declare const CeAvatar: default_2.ComponentType<typeof _default_32>;
|
|
1587
1616
|
|
|
1588
|
-
export declare const CeBadge: default_2.ComponentType<typeof
|
|
1617
|
+
export declare const CeBadge: default_2.ComponentType<typeof _default_34>;
|
|
1589
1618
|
|
|
1590
|
-
export declare const CeBanners: default_2.ComponentType<typeof
|
|
1619
|
+
export declare const CeBanners: default_2.ComponentType<typeof _default_36>;
|
|
1591
1620
|
|
|
1592
|
-
export declare const CeBreadcrumbs: default_2.ComponentType<typeof
|
|
1621
|
+
export declare const CeBreadcrumbs: default_2.ComponentType<typeof _default_29>;
|
|
1593
1622
|
|
|
1594
1623
|
export declare const CeButton: default_2.ComponentType<typeof _default_8>;
|
|
1595
1624
|
|
|
@@ -1599,23 +1628,25 @@ export declare const CeButtonPagination: default_2.ComponentType<typeof _default
|
|
|
1599
1628
|
|
|
1600
1629
|
export declare const CeButtonWrapper: default_2.ComponentType<typeof _default_11>;
|
|
1601
1630
|
|
|
1602
|
-
export declare const CeCard: default_2.ComponentType<typeof
|
|
1631
|
+
export declare const CeCard: default_2.ComponentType<typeof _default_40>;
|
|
1603
1632
|
|
|
1604
|
-
export declare const CeCardHeader: default_2.ComponentType<typeof
|
|
1633
|
+
export declare const CeCardHeader: default_2.ComponentType<typeof _default_41>;
|
|
1605
1634
|
|
|
1606
|
-
export declare const CeCardText: default_2.ComponentType<typeof
|
|
1635
|
+
export declare const CeCardText: default_2.ComponentType<typeof _default_42>;
|
|
1607
1636
|
|
|
1608
1637
|
export declare const CeCheckbox: default_2.ComponentType<typeof _default_12>;
|
|
1609
1638
|
|
|
1610
1639
|
export declare const CeCheckboxGroup: default_2.ComponentType<typeof _default_13>;
|
|
1611
1640
|
|
|
1612
|
-
export declare const
|
|
1641
|
+
export declare const CeCodeInput: default_2.ComponentType<typeof _default_22>;
|
|
1642
|
+
|
|
1643
|
+
export declare const CeCol: default_2.ComponentType<typeof _default_23>;
|
|
1613
1644
|
|
|
1614
|
-
export declare const CeCollapse: default_2.ComponentType<typeof
|
|
1645
|
+
export declare const CeCollapse: default_2.ComponentType<typeof _default_47>;
|
|
1615
1646
|
|
|
1616
|
-
export declare const CeContainer: default_2.ComponentType<typeof
|
|
1647
|
+
export declare const CeContainer: default_2.ComponentType<typeof _default_25>;
|
|
1617
1648
|
|
|
1618
|
-
export declare const CeContentDivider: default_2.ComponentType<typeof
|
|
1649
|
+
export declare const CeContentDivider: default_2.ComponentType<typeof _default_43>;
|
|
1619
1650
|
|
|
1620
1651
|
export declare const CeDataTable: default_2.ComponentType<typeof _default & CeDataTableVueSlots>;
|
|
1621
1652
|
|
|
@@ -1629,23 +1660,23 @@ export declare const CeDropdown: default_2.ComponentType<typeof _default_15>;
|
|
|
1629
1660
|
|
|
1630
1661
|
export declare const CeFileUpload: default_2.ComponentType<typeof _default_16>;
|
|
1631
1662
|
|
|
1632
|
-
export declare const CeFilterGroup: default_2.ComponentType<typeof
|
|
1663
|
+
export declare const CeFilterGroup: default_2.ComponentType<typeof _default_33>;
|
|
1633
1664
|
|
|
1634
|
-
export declare const CeFooter: default_2.ComponentType<typeof
|
|
1665
|
+
export declare const CeFooter: default_2.ComponentType<typeof _default_44>;
|
|
1635
1666
|
|
|
1636
1667
|
export declare const CeInput: default_2.ComponentType<typeof _default_17>;
|
|
1637
1668
|
|
|
1638
1669
|
export declare const CeItemsPerPage: default_2.ComponentType<typeof _default_5>;
|
|
1639
1670
|
|
|
1640
|
-
export declare const CeLayout: default_2.ComponentType<typeof
|
|
1671
|
+
export declare const CeLayout: default_2.ComponentType<typeof _default_45>;
|
|
1641
1672
|
|
|
1642
|
-
export declare const CeLoading: default_2.ComponentType<typeof
|
|
1673
|
+
export declare const CeLoading: default_2.ComponentType<typeof _default_39>;
|
|
1643
1674
|
|
|
1644
|
-
export declare const CeMenuHeader: default_2.ComponentType<typeof
|
|
1675
|
+
export declare const CeMenuHeader: default_2.ComponentType<typeof _default_27>;
|
|
1645
1676
|
|
|
1646
|
-
export declare const CeMenuSidebar: default_2.ComponentType<typeof
|
|
1677
|
+
export declare const CeMenuSidebar: default_2.ComponentType<typeof _default_28>;
|
|
1647
1678
|
|
|
1648
|
-
export declare const CeModal: default_2.ComponentType<typeof
|
|
1679
|
+
export declare const CeModal: default_2.ComponentType<typeof _default_37>;
|
|
1649
1680
|
|
|
1650
1681
|
export declare const CePagination: default_2.ComponentType<typeof _default_2>;
|
|
1651
1682
|
|
|
@@ -1655,9 +1686,9 @@ export declare const CeProgressSteps: default_2.ComponentType<typeof _default_4>
|
|
|
1655
1686
|
|
|
1656
1687
|
export declare const CeRadioGroup: default_2.ComponentType<typeof _default_18>;
|
|
1657
1688
|
|
|
1658
|
-
export declare const CeRow: default_2.ComponentType<typeof
|
|
1689
|
+
export declare const CeRow: default_2.ComponentType<typeof _default_24>;
|
|
1659
1690
|
|
|
1660
|
-
export declare const CeSectionFooter: default_2.ComponentType<typeof
|
|
1691
|
+
export declare const CeSectionFooter: default_2.ComponentType<typeof _default_46>;
|
|
1661
1692
|
|
|
1662
1693
|
export declare const CeSelect: default_2.ComponentType<typeof _default_19>;
|
|
1663
1694
|
|
|
@@ -1692,19 +1723,19 @@ declare interface CeSelectFieldProps {
|
|
|
1692
1723
|
|
|
1693
1724
|
export declare const CeSlider: default_2.ComponentType<typeof _default_20>;
|
|
1694
1725
|
|
|
1695
|
-
export declare const CeSvgIcon: default_2.ComponentType<typeof
|
|
1726
|
+
export declare const CeSvgIcon: default_2.ComponentType<typeof _default_26>;
|
|
1696
1727
|
|
|
1697
|
-
export declare const CeTab: default_2.ComponentType<typeof
|
|
1728
|
+
export declare const CeTab: default_2.ComponentType<typeof _default_30>;
|
|
1698
1729
|
|
|
1699
|
-
export declare const CeTabItem: default_2.ComponentType<typeof
|
|
1730
|
+
export declare const CeTabItem: default_2.ComponentType<typeof _default_31>;
|
|
1700
1731
|
|
|
1701
1732
|
export declare const CeTextarea: default_2.ComponentType<typeof _default_6>;
|
|
1702
1733
|
|
|
1703
|
-
export declare const CeToast: default_2.ComponentType<typeof
|
|
1734
|
+
export declare const CeToast: default_2.ComponentType<typeof _default_35>;
|
|
1704
1735
|
|
|
1705
1736
|
export declare const CeToggle: default_2.ComponentType<typeof _default_21>;
|
|
1706
1737
|
|
|
1707
|
-
export declare const CeTooltip: default_2.ComponentType<typeof
|
|
1738
|
+
export declare const CeTooltip: default_2.ComponentType<typeof _default_38>;
|
|
1708
1739
|
|
|
1709
1740
|
declare interface Coluna {
|
|
1710
1741
|
text: string;
|
|
@@ -1870,24 +1901,41 @@ disabled: boolean;
|
|
|
1870
1901
|
contoured: boolean;
|
|
1871
1902
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1872
1903
|
|
|
1873
|
-
declare const _default_22:
|
|
1904
|
+
declare const _default_22: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1905
|
+
"update:modelValue": (valor: string) => any;
|
|
1906
|
+
}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
|
|
1907
|
+
"onUpdate:modelValue"?: (valor: string) => any;
|
|
1908
|
+
}>, {
|
|
1909
|
+
invalid: boolean;
|
|
1910
|
+
disabled: boolean;
|
|
1911
|
+
reserveSpaceFeedback: boolean;
|
|
1912
|
+
length: number;
|
|
1913
|
+
type: "letter-numeric" | "number" | "password";
|
|
1914
|
+
placeholder: string[];
|
|
1915
|
+
shouldAutoFocus: boolean;
|
|
1916
|
+
centralized: boolean;
|
|
1917
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1918
|
+
otpRef: HTMLDivElement;
|
|
1919
|
+
}, HTMLDivElement>;
|
|
1920
|
+
|
|
1921
|
+
declare const _default_23: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
1874
1922
|
|
|
1875
|
-
declare const
|
|
1923
|
+
declare const _default_24: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
1876
1924
|
|
|
1877
|
-
declare const
|
|
1925
|
+
declare const _default_25: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
1878
1926
|
|
|
1879
|
-
declare const
|
|
1927
|
+
declare const _default_26: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {
|
|
1880
1928
|
fill: string;
|
|
1881
1929
|
color: string;
|
|
1882
1930
|
size: number | string;
|
|
1883
1931
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1884
1932
|
|
|
1885
|
-
declare const
|
|
1933
|
+
declare const _default_27: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
1886
1934
|
|
|
1887
|
-
declare const
|
|
1935
|
+
declare const _default_28: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1888
1936
|
redirect: (item: SubMenu | ItensMenu_2) => any;
|
|
1889
1937
|
toggleMenu: (clicado: boolean) => any;
|
|
1890
|
-
}, string, PublicProps, Readonly<
|
|
1938
|
+
}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{
|
|
1891
1939
|
onRedirect?: (item: SubMenu | ItensMenu_2) => any;
|
|
1892
1940
|
onToggleMenu?: (clicado: boolean) => any;
|
|
1893
1941
|
}>, {
|
|
@@ -1898,21 +1946,21 @@ isSearch: boolean;
|
|
|
1898
1946
|
isOpen: boolean;
|
|
1899
1947
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1900
1948
|
|
|
1901
|
-
declare const
|
|
1902
|
-
|
|
1903
|
-
declare const _default_29: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
1949
|
+
declare const _default_29: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
1904
1950
|
|
|
1905
1951
|
declare const _default_3: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1906
1952
|
|
|
1907
|
-
declare const _default_30:
|
|
1953
|
+
declare const _default_30: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
1954
|
+
|
|
1955
|
+
declare const _default_31: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
1908
1956
|
|
|
1909
|
-
declare const
|
|
1957
|
+
declare const _default_32: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
1910
1958
|
|
|
1911
|
-
declare const
|
|
1959
|
+
declare const _default_33: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
1912
1960
|
|
|
1913
|
-
declare const
|
|
1961
|
+
declare const _default_34: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
1914
1962
|
|
|
1915
|
-
declare const
|
|
1963
|
+
declare const _default_35: DefineComponent<IToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1916
1964
|
sendData: (data: IData_2<unknown>) => any;
|
|
1917
1965
|
}, string, PublicProps, Readonly<IToastProps> & Readonly<{
|
|
1918
1966
|
onSendData?: (data: IData_2<unknown>) => any;
|
|
@@ -1924,42 +1972,42 @@ showActionButton: boolean;
|
|
|
1924
1972
|
textButton: string;
|
|
1925
1973
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1926
1974
|
|
|
1927
|
-
declare const
|
|
1975
|
+
declare const _default_36: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1928
1976
|
|
|
1929
|
-
declare const
|
|
1977
|
+
declare const _default_37: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
1930
1978
|
|
|
1931
|
-
declare const
|
|
1979
|
+
declare const _default_38: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1932
1980
|
|
|
1933
|
-
declare const
|
|
1981
|
+
declare const _default_39: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{}>, {
|
|
1934
1982
|
type: "spinner" | "semi-circle" | "dots";
|
|
1935
1983
|
background: "smoky" | "transparent";
|
|
1936
1984
|
showLoading: boolean;
|
|
1937
1985
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1938
1986
|
|
|
1939
|
-
declare const
|
|
1987
|
+
declare const _default_4: DefineComponent<IProgressStepsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IProgressStepsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1940
1988
|
|
|
1941
|
-
declare const
|
|
1989
|
+
declare const _default_40: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1942
1990
|
|
|
1943
|
-
declare const
|
|
1991
|
+
declare const _default_41: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1944
1992
|
|
|
1945
|
-
declare const
|
|
1993
|
+
declare const _default_42: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1946
1994
|
|
|
1947
|
-
declare const
|
|
1995
|
+
declare const _default_43: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
1948
1996
|
|
|
1949
|
-
declare const
|
|
1997
|
+
declare const _default_44: DefineComponent<__VLS_Props_33, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1950
1998
|
redirect: (valor?: string) => any;
|
|
1951
|
-
}, string, PublicProps, Readonly<
|
|
1999
|
+
}, string, PublicProps, Readonly<__VLS_Props_33> & Readonly<{
|
|
1952
2000
|
onRedirect?: (valor?: string) => any;
|
|
1953
2001
|
}>, {
|
|
1954
2002
|
background: "white" | "green";
|
|
1955
2003
|
variant: "1" | "2" | "3" | "4" | "5";
|
|
1956
2004
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1957
2005
|
|
|
1958
|
-
declare const
|
|
2006
|
+
declare const _default_45: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
1959
2007
|
|
|
1960
|
-
declare const
|
|
2008
|
+
declare const _default_46: DefineComponent<__VLS_Props_35, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_35> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1961
2009
|
|
|
1962
|
-
declare const
|
|
2010
|
+
declare const _default_47: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
1963
2011
|
|
|
1964
2012
|
declare const _default_5: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1965
2013
|
"update:modelValue": (value: number) => any;
|
|
@@ -2072,6 +2120,7 @@ declare interface IItems {
|
|
|
2072
2120
|
declare type IProgressStepsProps = {
|
|
2073
2121
|
/** Define os itens que serão exibidos */
|
|
2074
2122
|
items: IItems[];
|
|
2123
|
+
variant?: 'primary' | 'secondary';
|
|
2075
2124
|
};
|
|
2076
2125
|
|
|
2077
2126
|
export declare const isMobile: Ref<boolean, boolean>;
|
|
@@ -2272,6 +2321,7 @@ declare module 'vue' {
|
|
|
2272
2321
|
'ce-button-wrapper': typeof ButtonWrapperComponent;
|
|
2273
2322
|
'ce-button-pagination': typeof ButtonPaginationComponent;
|
|
2274
2323
|
'ce-textarea': typeof TextareaComponent;
|
|
2324
|
+
'ce-code-input': typeof CodeInputComponent;
|
|
2275
2325
|
}
|
|
2276
2326
|
}
|
|
2277
2327
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comercti/react-components-hmg",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.3",
|
|
4
4
|
"types": "index.d.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "private",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"description": "AVISO: Este pacote está em desenvolvimento e pode sofrer alterações sem aviso prévio. Não utilize em produção. ",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@popperjs/core": "^2.11.8",
|
|
14
|
+
"@venegrad/vue3-code-input": "^1.0.8",
|
|
14
15
|
"@wdns/vue-code-block": "^2.3.5",
|
|
15
16
|
"date-fns": "^4.1.0",
|
|
16
17
|
"highlight.js": "^11.11.1",
|