@comercti/react-components-hmg 0.0.49 → 0.0.50
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 +27 -27
- package/comerc-style-guide.es.js +2410 -2457
- package/comerc-style-guide.umd.js +9 -9
- package/index.d.ts +148 -105
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -13,8 +13,8 @@ declare const __VLS_component: DefineComponent<DataTableDefault, {}, {}, {}, {},
|
|
|
13
13
|
"update:modelValue": (value: Record<string, any>[]) => any;
|
|
14
14
|
updateSelected: (value: Record<string, any>[]) => any;
|
|
15
15
|
}, string, PublicProps, Readonly<DataTableDefault> & Readonly<{
|
|
16
|
-
"onUpdate:modelValue"?: (
|
|
17
|
-
onUpdateSelected?: (
|
|
16
|
+
"onUpdate:modelValue"?: (value: Record<string, any>[]) => any;
|
|
17
|
+
onUpdateSelected?: (value: Record<string, any>[]) => any;
|
|
18
18
|
}>, {
|
|
19
19
|
search: boolean;
|
|
20
20
|
striped: boolean;
|
|
@@ -26,16 +26,16 @@ rootRef: HTMLDivElement;
|
|
|
26
26
|
declare const __VLS_component_10: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {
|
|
27
27
|
block: boolean;
|
|
28
28
|
tag: string;
|
|
29
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
29
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
30
30
|
|
|
31
31
|
declare const __VLS_component_11: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
32
32
|
redirect: (item: SubMenu | ItensMenu) => any;
|
|
33
33
|
backToHome: (value: boolean) => any;
|
|
34
34
|
logout: (value: boolean) => any;
|
|
35
35
|
}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
|
|
36
|
-
onRedirect?: (
|
|
37
|
-
onBackToHome?: (
|
|
38
|
-
onLogout?: (
|
|
36
|
+
onRedirect?: (item: SubMenu | ItensMenu) => any;
|
|
37
|
+
onBackToHome?: (value: boolean) => any;
|
|
38
|
+
onLogout?: (value: boolean) => any;
|
|
39
39
|
}>, {
|
|
40
40
|
itemsMenuMyService: ItensMenu[];
|
|
41
41
|
itemsMenu: ItensMenu[];
|
|
@@ -45,8 +45,8 @@ declare const __VLS_component_12: DefineComponent<IBreadcrumbsProps, {}, {}, {},
|
|
|
45
45
|
"update:modelValue": (path: string) => any;
|
|
46
46
|
redirect: (path: string) => any;
|
|
47
47
|
}, string, PublicProps, Readonly<IBreadcrumbsProps> & Readonly<{
|
|
48
|
-
"onUpdate:modelValue"?: (
|
|
49
|
-
onRedirect?: (
|
|
48
|
+
"onUpdate:modelValue"?: (path: string) => any;
|
|
49
|
+
onRedirect?: (path: string) => any;
|
|
50
50
|
}>, {
|
|
51
51
|
variant: "primary" | "secondary" | "text";
|
|
52
52
|
home: string;
|
|
@@ -54,11 +54,9 @@ divider: "/" | ">";
|
|
|
54
54
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
55
55
|
|
|
56
56
|
declare const __VLS_component_13: DefineComponent<ITabsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
57
|
-
"update:modelValue": (value: string | CustomEvent<any>) => any;
|
|
58
57
|
updateValue: (value: string) => any;
|
|
59
58
|
}, string, PublicProps, Readonly<ITabsProps> & Readonly<{
|
|
60
|
-
|
|
61
|
-
onUpdateValue?: ((value: string) => any) | undefined;
|
|
59
|
+
onUpdateValue?: (value: string) => any;
|
|
62
60
|
}>, {
|
|
63
61
|
variant: keyof IVariants_2;
|
|
64
62
|
initialTab: string;
|
|
@@ -68,11 +66,11 @@ inactivate: boolean;
|
|
|
68
66
|
declare const __VLS_component_14: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
69
67
|
|
|
70
68
|
declare const __VLS_component_15: DefineComponent<__VLS_Props_21, {
|
|
71
|
-
rootRef: Ref<HTMLElement
|
|
69
|
+
rootRef: Ref<HTMLElement, HTMLElement>;
|
|
72
70
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
73
71
|
click: (event: MouseEvent) => any;
|
|
74
72
|
}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{
|
|
75
|
-
onClick?: (
|
|
73
|
+
onClick?: (event: MouseEvent) => any;
|
|
76
74
|
}>, {
|
|
77
75
|
disabled: boolean;
|
|
78
76
|
size: "small" | "medium" | "large" | number;
|
|
@@ -80,7 +78,7 @@ alt: string;
|
|
|
80
78
|
sizeBagde: number | null;
|
|
81
79
|
badgeOffsetRight: number;
|
|
82
80
|
badgeOffsetBottom: number;
|
|
83
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
81
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
84
82
|
rootRef: HTMLDivElement;
|
|
85
83
|
}, any>;
|
|
86
84
|
|
|
@@ -88,11 +86,14 @@ declare const __VLS_component_16: DefineComponent<__VLS_Props_22, {}, {}, {}, {}
|
|
|
88
86
|
submit: () => any;
|
|
89
87
|
clear: () => any;
|
|
90
88
|
}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{
|
|
91
|
-
onSubmit?: (
|
|
92
|
-
onClear?: (
|
|
89
|
+
onSubmit?: () => any;
|
|
90
|
+
onClear?: () => any;
|
|
93
91
|
}>, {
|
|
92
|
+
title: string;
|
|
94
93
|
color: string;
|
|
95
94
|
variant: "dropdown" | "collapse";
|
|
95
|
+
backgroundColor: string;
|
|
96
|
+
titleColor: string;
|
|
96
97
|
disabledSubmit: boolean;
|
|
97
98
|
disabledClear: boolean;
|
|
98
99
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
@@ -105,12 +106,12 @@ size: "sm" | "md" | "lg";
|
|
|
105
106
|
rounded: "sm" | "md" | "lg";
|
|
106
107
|
variant: "solid" | "outline" | "ghost";
|
|
107
108
|
status: boolean;
|
|
108
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
109
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
109
110
|
|
|
110
111
|
declare const __VLS_component_18: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
111
112
|
close: (value: boolean) => any;
|
|
112
113
|
}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{
|
|
113
|
-
onClose?: (
|
|
114
|
+
onClose?: (value: boolean) => any;
|
|
114
115
|
}>, {
|
|
115
116
|
rounded: boolean;
|
|
116
117
|
isOpen: boolean;
|
|
@@ -122,7 +123,7 @@ showIcon: boolean;
|
|
|
122
123
|
declare const __VLS_component_19: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
123
124
|
close: (value: boolean) => any;
|
|
124
125
|
}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{
|
|
125
|
-
onClose?: (
|
|
126
|
+
onClose?: (value: boolean) => any;
|
|
126
127
|
}>, {
|
|
127
128
|
isOpen: boolean;
|
|
128
129
|
background: "1" | "2";
|
|
@@ -136,7 +137,7 @@ focus: () => void;
|
|
|
136
137
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
137
138
|
click: (event: MouseEvent) => any;
|
|
138
139
|
}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
|
|
139
|
-
onClick?: (
|
|
140
|
+
onClick?: (event: MouseEvent) => any;
|
|
140
141
|
}>, {
|
|
141
142
|
disabled: boolean;
|
|
142
143
|
block: boolean;
|
|
@@ -144,7 +145,7 @@ type: "button" | "submit" | "a";
|
|
|
144
145
|
size: "small" | "medium" | "large";
|
|
145
146
|
rounded: "small" | "medium" | "large";
|
|
146
147
|
variant: tipoVariante;
|
|
147
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
148
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
148
149
|
buttonRef: unknown;
|
|
149
150
|
}, any>;
|
|
150
151
|
|
|
@@ -161,19 +162,21 @@ elevation: number;
|
|
|
161
162
|
hover: boolean;
|
|
162
163
|
mediaOrientation: "vertical" | "horizontal";
|
|
163
164
|
responsive: boolean;
|
|
164
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
165
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
166
|
+
rootRef: unknown;
|
|
167
|
+
}, any>;
|
|
165
168
|
|
|
166
169
|
declare const __VLS_component_22: DefineComponent<__VLS_Props_29, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_29> & Readonly<{}>, {
|
|
167
170
|
tag: string;
|
|
168
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
171
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
169
172
|
|
|
170
173
|
declare const __VLS_component_23: DefineComponent<__VLS_Props_30, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_30> & Readonly<{}>, {
|
|
171
174
|
tag: string;
|
|
172
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
175
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
173
176
|
|
|
174
177
|
declare const __VLS_component_24: DefineComponent<__VLS_Props_31, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_31> & Readonly<{}>, {
|
|
175
178
|
type: "inline" | "centralized" | "highlighted";
|
|
176
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
179
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
177
180
|
|
|
178
181
|
declare const __VLS_component_25: DefineComponent<__VLS_Props_33, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_33> & Readonly<{}>, {
|
|
179
182
|
openMenu: boolean;
|
|
@@ -183,25 +186,27 @@ layout: "default" | "base";
|
|
|
183
186
|
declare const __VLS_component_3: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
184
187
|
|
|
185
188
|
declare const __VLS_component_4: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
186
|
-
"update:modelValue": (value: boolean) => any;
|
|
187
|
-
change: (value: boolean) => any;
|
|
189
|
+
"update:modelValue": (value: boolean | CustomEvent<any>) => any;
|
|
190
|
+
change: (value: boolean | CustomEvent<any>) => any;
|
|
188
191
|
}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
|
|
189
|
-
"onUpdate:modelValue"?: (
|
|
190
|
-
onChange?: (
|
|
192
|
+
"onUpdate:modelValue"?: (value: boolean | CustomEvent<any>) => any;
|
|
193
|
+
onChange?: (value: boolean | CustomEvent<any>) => any;
|
|
191
194
|
}>, {
|
|
195
|
+
modelValue: boolean;
|
|
192
196
|
invalid: boolean;
|
|
193
197
|
disabled: boolean;
|
|
194
|
-
|
|
195
|
-
|
|
198
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
199
|
+
rootRef: HTMLDivElement;
|
|
200
|
+
}, any>;
|
|
196
201
|
|
|
197
202
|
declare const __VLS_component_5: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
198
|
-
"update:modelValue": (value: CustomEvent<any> | Date
|
|
199
|
-
"update:start": (value: CustomEvent<any> | Date
|
|
200
|
-
"update:end": (value: CustomEvent<any> | Date
|
|
203
|
+
"update:modelValue": (value: CustomEvent<any> | Date) => any;
|
|
204
|
+
"update:start": (value: CustomEvent<any> | Date) => any;
|
|
205
|
+
"update:end": (value: CustomEvent<any> | Date) => any;
|
|
201
206
|
}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
|
|
202
|
-
"onUpdate:modelValue"?: (
|
|
203
|
-
"onUpdate:start"?: (
|
|
204
|
-
"onUpdate:end"?: (
|
|
207
|
+
"onUpdate:modelValue"?: (value: CustomEvent<any> | Date) => any;
|
|
208
|
+
"onUpdate:start"?: (value: CustomEvent<any> | Date) => any;
|
|
209
|
+
"onUpdate:end"?: (value: CustomEvent<any> | Date) => any;
|
|
205
210
|
}>, {
|
|
206
211
|
invalid: boolean;
|
|
207
212
|
disabled: boolean;
|
|
@@ -209,8 +214,7 @@ range: boolean;
|
|
|
209
214
|
rounded: boolean;
|
|
210
215
|
noAlertIcon: boolean;
|
|
211
216
|
modal: boolean;
|
|
212
|
-
|
|
213
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
217
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
214
218
|
rootRef: HTMLDivElement;
|
|
215
219
|
}, any>;
|
|
216
220
|
|
|
@@ -219,10 +223,14 @@ declare const __VLS_component_6: DefineComponent<__VLS_Props_11, {
|
|
|
219
223
|
focus: () => void;
|
|
220
224
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
221
225
|
"update:modelValue": (value: string | number | CustomEvent<any>) => any;
|
|
222
|
-
change: (value: string | CustomEvent<any>) => any;
|
|
226
|
+
change: (value: string | number | CustomEvent<any>) => any;
|
|
227
|
+
input: (value: string | number | CustomEvent<any>) => any;
|
|
228
|
+
blur: (value: Event) => any;
|
|
223
229
|
}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
|
|
224
|
-
"onUpdate:modelValue"?: (
|
|
225
|
-
onChange?: (
|
|
230
|
+
"onUpdate:modelValue"?: (value: string | number | CustomEvent<any>) => any;
|
|
231
|
+
onChange?: (value: string | number | CustomEvent<any>) => any;
|
|
232
|
+
onInput?: (value: string | number | CustomEvent<any>) => any;
|
|
233
|
+
onBlur?: (value: Event) => any;
|
|
226
234
|
}>, {
|
|
227
235
|
invalid: boolean;
|
|
228
236
|
disabled: boolean;
|
|
@@ -230,7 +238,8 @@ type: "text" | "password" | "email" | "number" | "tel" | "url" | "search" | "dat
|
|
|
230
238
|
rounded: boolean;
|
|
231
239
|
noAlertIcon: boolean;
|
|
232
240
|
readonly: boolean;
|
|
233
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
241
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
242
|
+
rootRef: HTMLDivElement;
|
|
234
243
|
inputRef: HTMLInputElement;
|
|
235
244
|
}, any>;
|
|
236
245
|
|
|
@@ -240,17 +249,17 @@ focus: () => void;
|
|
|
240
249
|
/** Abre/Fecha dropdown do select */
|
|
241
250
|
click: () => void;
|
|
242
251
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
243
|
-
"update:modelValue": (value: string | CustomEvent<any> | string[]
|
|
252
|
+
"update:modelValue": (value: string | CustomEvent<any> | string[]) => any;
|
|
244
253
|
change: (value: string | CustomEvent<any> | string[]) => any;
|
|
245
254
|
inputSearch: (value: string) => any;
|
|
246
255
|
openDropdown: () => any;
|
|
247
256
|
closeDropdown: () => any;
|
|
248
257
|
}, string, PublicProps, Readonly<CeSelectFieldProps> & Readonly<{
|
|
249
|
-
"onUpdate:modelValue"?: (
|
|
250
|
-
onChange?: (
|
|
251
|
-
onInputSearch?: (
|
|
252
|
-
onOpenDropdown?: (
|
|
253
|
-
onCloseDropdown?: (
|
|
258
|
+
"onUpdate:modelValue"?: (value: string | CustomEvent<any> | string[]) => any;
|
|
259
|
+
onChange?: (value: string | CustomEvent<any> | string[]) => any;
|
|
260
|
+
onInputSearch?: (value: string) => any;
|
|
261
|
+
onOpenDropdown?: () => any;
|
|
262
|
+
onCloseDropdown?: () => any;
|
|
254
263
|
}>, {
|
|
255
264
|
invalid: boolean;
|
|
256
265
|
disabled: boolean;
|
|
@@ -258,7 +267,7 @@ search: boolean;
|
|
|
258
267
|
multiple: boolean;
|
|
259
268
|
closeChip: boolean;
|
|
260
269
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
261
|
-
|
|
270
|
+
rootRef: HTMLDivElement;
|
|
262
271
|
inputRef: HTMLDivElement;
|
|
263
272
|
searchInputRef: HTMLInputElement;
|
|
264
273
|
}, any>;
|
|
@@ -266,14 +275,14 @@ searchInputRef: HTMLInputElement;
|
|
|
266
275
|
declare const __VLS_component_8: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {
|
|
267
276
|
cols: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "auto";
|
|
268
277
|
tag: string;
|
|
269
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
278
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
270
279
|
|
|
271
280
|
declare const __VLS_component_9: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {
|
|
272
281
|
tag: string;
|
|
273
282
|
noGutters: boolean;
|
|
274
283
|
dense: boolean;
|
|
275
284
|
noCols: boolean;
|
|
276
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
285
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
277
286
|
|
|
278
287
|
declare type __VLS_Props = {
|
|
279
288
|
/** Indica o progresso */
|
|
@@ -483,7 +492,7 @@ declare type __VLS_Props_2 = {
|
|
|
483
492
|
|
|
484
493
|
declare type __VLS_Props_20 = {
|
|
485
494
|
/** Define o valor do model */
|
|
486
|
-
modelValue
|
|
495
|
+
modelValue?: string;
|
|
487
496
|
/** valor padrão do item exibido */
|
|
488
497
|
value: string;
|
|
489
498
|
};
|
|
@@ -512,6 +521,12 @@ declare type __VLS_Props_22 = {
|
|
|
512
521
|
variant?: 'dropdown' | 'collapse';
|
|
513
522
|
/** Define a cor do texto e do ícone */
|
|
514
523
|
color?: string;
|
|
524
|
+
/** Define a cor do background */
|
|
525
|
+
backgroundColor?: string;
|
|
526
|
+
/** Define o título do filtro */
|
|
527
|
+
title: string;
|
|
528
|
+
/** Define a cor do título do filtro */
|
|
529
|
+
titleColor?: string;
|
|
515
530
|
/** Define o texto do botão */
|
|
516
531
|
text: string;
|
|
517
532
|
/**Desabilita o botão de submit */
|
|
@@ -712,8 +727,6 @@ declare type __VLS_Props_7 = {
|
|
|
712
727
|
invalid?: boolean;
|
|
713
728
|
/** Desativa o checkbox */
|
|
714
729
|
disabled?: boolean;
|
|
715
|
-
/** Informa o uso de slot */
|
|
716
|
-
activeSlot?: boolean;
|
|
717
730
|
};
|
|
718
731
|
|
|
719
732
|
declare type __VLS_Props_8 = {
|
|
@@ -742,7 +755,6 @@ declare type __VLS_Props_8 = {
|
|
|
742
755
|
rounded?: boolean;
|
|
743
756
|
/** Desativa o sinalizador do input (quando não usa `slots['append-inner']`) */
|
|
744
757
|
noAlertIcon?: boolean;
|
|
745
|
-
slotInUse?: boolean;
|
|
746
758
|
};
|
|
747
759
|
|
|
748
760
|
declare type __VLS_Props_9 = {
|
|
@@ -760,7 +772,7 @@ declare type __VLS_Props_9 = {
|
|
|
760
772
|
|
|
761
773
|
declare function __VLS_template(): {
|
|
762
774
|
attrs: Partial<{}>;
|
|
763
|
-
slots: Readonly<{
|
|
775
|
+
slots: Readonly<NonNullable<{
|
|
764
776
|
[key: string]: (props: {
|
|
765
777
|
item: Record<string, any>;
|
|
766
778
|
}) => VNode[];
|
|
@@ -773,7 +785,7 @@ declare function __VLS_template(): {
|
|
|
773
785
|
} & {
|
|
774
786
|
/**Slot usado para exibir botões de ação */
|
|
775
787
|
groupButton?: (scope: {}) => VNode[];
|
|
776
|
-
}
|
|
788
|
+
}>> & {
|
|
777
789
|
[key: string]: (props: {
|
|
778
790
|
item: Record<string, any>;
|
|
779
791
|
}) => VNode[];
|
|
@@ -967,24 +979,42 @@ declare function __VLS_template_21(): {
|
|
|
967
979
|
attrs: Partial<{}>;
|
|
968
980
|
slots: Readonly<{
|
|
969
981
|
/** Conteúdo principal do card */
|
|
970
|
-
default?: (
|
|
982
|
+
default?: (props: {
|
|
983
|
+
isMobile?: boolean;
|
|
984
|
+
}) => VNode[];
|
|
971
985
|
/** Área de mídia do card */
|
|
972
|
-
media?: (
|
|
986
|
+
media?: (props: {
|
|
987
|
+
isMobile?: boolean;
|
|
988
|
+
}) => VNode[];
|
|
973
989
|
/** Cabeçalho do card */
|
|
974
|
-
header?: (
|
|
990
|
+
header?: (props: {
|
|
991
|
+
isMobile?: boolean;
|
|
992
|
+
}) => VNode[];
|
|
975
993
|
/** Ações do card */
|
|
976
|
-
actions?: (
|
|
994
|
+
actions?: (props: {
|
|
995
|
+
isMobile?: boolean;
|
|
996
|
+
}) => VNode[];
|
|
977
997
|
}> & {
|
|
978
998
|
/** Conteúdo principal do card */
|
|
979
|
-
default?: (
|
|
999
|
+
default?: (props: {
|
|
1000
|
+
isMobile?: boolean;
|
|
1001
|
+
}) => VNode[];
|
|
980
1002
|
/** Área de mídia do card */
|
|
981
|
-
media?: (
|
|
1003
|
+
media?: (props: {
|
|
1004
|
+
isMobile?: boolean;
|
|
1005
|
+
}) => VNode[];
|
|
982
1006
|
/** Cabeçalho do card */
|
|
983
|
-
header?: (
|
|
1007
|
+
header?: (props: {
|
|
1008
|
+
isMobile?: boolean;
|
|
1009
|
+
}) => VNode[];
|
|
984
1010
|
/** Ações do card */
|
|
985
|
-
actions?: (
|
|
1011
|
+
actions?: (props: {
|
|
1012
|
+
isMobile?: boolean;
|
|
1013
|
+
}) => VNode[];
|
|
1014
|
+
};
|
|
1015
|
+
refs: {
|
|
1016
|
+
rootRef: unknown;
|
|
986
1017
|
};
|
|
987
|
-
refs: {};
|
|
988
1018
|
rootEl: any;
|
|
989
1019
|
};
|
|
990
1020
|
|
|
@@ -1059,12 +1089,20 @@ declare function __VLS_template_3(): {
|
|
|
1059
1089
|
|
|
1060
1090
|
declare function __VLS_template_4(): {
|
|
1061
1091
|
attrs: Partial<{}>;
|
|
1062
|
-
slots: {
|
|
1063
|
-
|
|
1064
|
-
default
|
|
1065
|
-
|
|
1092
|
+
slots: Readonly<{
|
|
1093
|
+
/** Adicione conteúdo a direita do componente */
|
|
1094
|
+
default?: () => VNode[];
|
|
1095
|
+
/** Adicione conteúdo label a esquerda do componente */
|
|
1096
|
+
label?: () => VNode[];
|
|
1097
|
+
}> & {
|
|
1098
|
+
/** Adicione conteúdo a direita do componente */
|
|
1099
|
+
default?: () => VNode[];
|
|
1100
|
+
/** Adicione conteúdo label a esquerda do componente */
|
|
1101
|
+
label?: () => VNode[];
|
|
1102
|
+
};
|
|
1103
|
+
refs: {
|
|
1104
|
+
rootRef: HTMLDivElement;
|
|
1066
1105
|
};
|
|
1067
|
-
refs: {};
|
|
1068
1106
|
rootEl: any;
|
|
1069
1107
|
};
|
|
1070
1108
|
|
|
@@ -1072,14 +1110,18 @@ declare function __VLS_template_5(): {
|
|
|
1072
1110
|
attrs: Partial<{}>;
|
|
1073
1111
|
slots: Readonly<{
|
|
1074
1112
|
/** Substitui input que abre o Datepicker */
|
|
1075
|
-
input?: (
|
|
1113
|
+
input?: (props: {
|
|
1114
|
+
value?: string;
|
|
1115
|
+
}) => VNode[];
|
|
1076
1116
|
/** Adicione conteúdo na esquerda do Input */
|
|
1077
1117
|
'prepend-inner'?: () => VNode[];
|
|
1078
1118
|
/** Adicione conteúdo na direita do Input */
|
|
1079
1119
|
'append-inner'?: () => VNode[];
|
|
1080
1120
|
}> & {
|
|
1081
1121
|
/** Substitui input que abre o Datepicker */
|
|
1082
|
-
input?: (
|
|
1122
|
+
input?: (props: {
|
|
1123
|
+
value?: string;
|
|
1124
|
+
}) => VNode[];
|
|
1083
1125
|
/** Adicione conteúdo na esquerda do Input */
|
|
1084
1126
|
'prepend-inner'?: () => VNode[];
|
|
1085
1127
|
/** Adicione conteúdo na direita do Input */
|
|
@@ -1105,6 +1147,7 @@ declare function __VLS_template_6(): {
|
|
|
1105
1147
|
'append-inner'?: () => VNode[];
|
|
1106
1148
|
};
|
|
1107
1149
|
refs: {
|
|
1150
|
+
rootRef: HTMLDivElement;
|
|
1108
1151
|
inputRef: HTMLInputElement;
|
|
1109
1152
|
};
|
|
1110
1153
|
rootEl: any;
|
|
@@ -1140,7 +1183,7 @@ declare function __VLS_template_7(): {
|
|
|
1140
1183
|
}) => VNode[];
|
|
1141
1184
|
};
|
|
1142
1185
|
refs: {
|
|
1143
|
-
|
|
1186
|
+
rootRef: HTMLDivElement;
|
|
1144
1187
|
inputRef: HTMLDivElement;
|
|
1145
1188
|
searchInputRef: HTMLInputElement;
|
|
1146
1189
|
};
|
|
@@ -1516,13 +1559,13 @@ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Te
|
|
|
1516
1559
|
|
|
1517
1560
|
declare const _default_10: DefineComponent<__VLS_Props_6, {
|
|
1518
1561
|
/** Focus checkbox input */
|
|
1519
|
-
focus: () => void
|
|
1562
|
+
focus: () => void;
|
|
1520
1563
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1521
1564
|
"update:modelValue": (value: ModelValueType | CustomEvent<any>) => any;
|
|
1522
1565
|
change: (value: ModelValueType | CustomEvent<any>) => any;
|
|
1523
1566
|
}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
|
|
1524
|
-
"onUpdate:modelValue"?: (
|
|
1525
|
-
onChange?: (
|
|
1567
|
+
"onUpdate:modelValue"?: (value: ModelValueType | CustomEvent<any>) => any;
|
|
1568
|
+
onChange?: (value: ModelValueType | CustomEvent<any>) => any;
|
|
1526
1569
|
}>, {
|
|
1527
1570
|
trueValue: string | number | boolean;
|
|
1528
1571
|
falseValue: string | number | boolean;
|
|
@@ -1530,7 +1573,7 @@ invalid: boolean;
|
|
|
1530
1573
|
disabled: boolean;
|
|
1531
1574
|
block: boolean;
|
|
1532
1575
|
indeterminate: boolean;
|
|
1533
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
1576
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
1534
1577
|
inputRef: HTMLInputElement;
|
|
1535
1578
|
}, any>;
|
|
1536
1579
|
|
|
@@ -1542,8 +1585,8 @@ declare const _default_13: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, Compon
|
|
|
1542
1585
|
"update:modelValue": (value: IReturn) => any;
|
|
1543
1586
|
redirect: (item: ItensMenu) => any;
|
|
1544
1587
|
}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
|
|
1545
|
-
"onUpdate:modelValue"?: (
|
|
1546
|
-
onRedirect?: (
|
|
1588
|
+
"onUpdate:modelValue"?: (value: IReturn) => any;
|
|
1589
|
+
onRedirect?: (item: ItensMenu) => any;
|
|
1547
1590
|
}>, {
|
|
1548
1591
|
color: string;
|
|
1549
1592
|
items: ItensMenu[];
|
|
@@ -1554,8 +1597,8 @@ declare const _default_14: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, Compo
|
|
|
1554
1597
|
"update:modelValue": (file: FileItem[]) => any;
|
|
1555
1598
|
updateFiles: (file: FileItem[]) => any;
|
|
1556
1599
|
}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
|
|
1557
|
-
"onUpdate:modelValue"?: (
|
|
1558
|
-
onUpdateFiles?: (
|
|
1600
|
+
"onUpdate:modelValue"?: (file: FileItem[]) => any;
|
|
1601
|
+
onUpdateFiles?: (file: FileItem[]) => any;
|
|
1559
1602
|
}>, {
|
|
1560
1603
|
disabled: boolean;
|
|
1561
1604
|
accept: string[];
|
|
@@ -1575,8 +1618,8 @@ focus: (id?: string) => void;
|
|
|
1575
1618
|
"update:modelValue": (value: CustomEvent<any> | ModelValueType_2) => any;
|
|
1576
1619
|
change: (value: CustomEvent<any> | ModelValueType_2) => any;
|
|
1577
1620
|
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
1578
|
-
"onUpdate:modelValue"?: (
|
|
1579
|
-
onChange?: (
|
|
1621
|
+
"onUpdate:modelValue"?: (value: CustomEvent<any> | ModelValueType_2) => any;
|
|
1622
|
+
onChange?: (value: CustomEvent<any> | ModelValueType_2) => any;
|
|
1580
1623
|
}>, {
|
|
1581
1624
|
invalid: boolean;
|
|
1582
1625
|
disabled: boolean;
|
|
@@ -1589,8 +1632,8 @@ declare const _default_18: DefineComponent<SliderProps, {}, {}, {}, {}, Componen
|
|
|
1589
1632
|
"update:modelValue": (value: number | number[]) => any;
|
|
1590
1633
|
sendValue: (value: number | number[]) => any;
|
|
1591
1634
|
}, string, PublicProps, Readonly<SliderProps> & Readonly<{
|
|
1592
|
-
"onUpdate:modelValue"?: (
|
|
1593
|
-
onSendValue?: (
|
|
1635
|
+
"onUpdate:modelValue"?: (value: number | number[]) => any;
|
|
1636
|
+
onSendValue?: (value: number | number[]) => any;
|
|
1594
1637
|
}>, {
|
|
1595
1638
|
disabled: boolean;
|
|
1596
1639
|
size: "small" | "large";
|
|
@@ -1598,14 +1641,14 @@ variant: "default" | "range";
|
|
|
1598
1641
|
minValue: number;
|
|
1599
1642
|
maxValue: number;
|
|
1600
1643
|
showValue: boolean;
|
|
1601
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
1644
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
1602
1645
|
|
|
1603
1646
|
declare const _default_19: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1604
1647
|
"update:modelValue": (value: boolean) => any;
|
|
1605
1648
|
change: (value: boolean | CustomEvent<any>) => any;
|
|
1606
1649
|
}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
|
|
1607
|
-
"onUpdate:modelValue"?: (
|
|
1608
|
-
onChange?: (
|
|
1650
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
1651
|
+
onChange?: (value: boolean | CustomEvent<any>) => any;
|
|
1609
1652
|
}>, {
|
|
1610
1653
|
invalid: boolean;
|
|
1611
1654
|
disabled: boolean;
|
|
@@ -1616,8 +1659,8 @@ declare const _default_2: DefineComponent<PaginationProps, {}, {}, {}, {}, Compo
|
|
|
1616
1659
|
"update:modelValue": (value: number) => any;
|
|
1617
1660
|
paginate: (value: number) => any;
|
|
1618
1661
|
}, string, PublicProps, Readonly<PaginationProps> & Readonly<{
|
|
1619
|
-
"onUpdate:modelValue"?: (
|
|
1620
|
-
onPaginate?: (
|
|
1662
|
+
"onUpdate:modelValue"?: (value: number) => any;
|
|
1663
|
+
onPaginate?: (value: number) => any;
|
|
1621
1664
|
}>, {
|
|
1622
1665
|
totalPages: number;
|
|
1623
1666
|
currentPage: number;
|
|
@@ -1641,8 +1684,8 @@ declare const _default_25: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, Compo
|
|
|
1641
1684
|
toggleMenu: (clicado: boolean) => any;
|
|
1642
1685
|
redirect: (item: SubMenu | ItensMenu) => any;
|
|
1643
1686
|
}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
|
|
1644
|
-
onToggleMenu?: (
|
|
1645
|
-
onRedirect?: (
|
|
1687
|
+
onToggleMenu?: (clicado: boolean) => any;
|
|
1688
|
+
onRedirect?: (item: SubMenu | ItensMenu) => any;
|
|
1646
1689
|
}>, {
|
|
1647
1690
|
isHome: boolean;
|
|
1648
1691
|
isSearch: boolean;
|
|
@@ -1664,16 +1707,16 @@ declare const _default_30: __VLS_WithTemplateSlots_16<typeof __VLS_component_16,
|
|
|
1664
1707
|
declare const _default_31: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
1665
1708
|
|
|
1666
1709
|
declare const _default_32: DefineComponent<IToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1667
|
-
sendData: (data: IData_2<unknown>
|
|
1710
|
+
sendData: (data: IData_2<unknown>) => any;
|
|
1668
1711
|
}, string, PublicProps, Readonly<IToastProps> & Readonly<{
|
|
1669
|
-
onSendData?: (
|
|
1712
|
+
onSendData?: (data: IData_2<unknown>) => any;
|
|
1670
1713
|
}>, {
|
|
1671
1714
|
position: "left-top" | "right-top" | "left-bottom" | "right-bottom";
|
|
1672
1715
|
pauseOnHover: boolean;
|
|
1673
1716
|
pauseToast: boolean;
|
|
1674
1717
|
showActionButton: boolean;
|
|
1675
1718
|
textButton: string;
|
|
1676
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
1719
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1677
1720
|
|
|
1678
1721
|
declare const _default_33: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
1679
1722
|
|
|
@@ -1697,9 +1740,9 @@ declare const _default_4: DefineComponent<IProgressStepsProps, {}, {}, {}, {}, C
|
|
|
1697
1740
|
declare const _default_40: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1698
1741
|
|
|
1699
1742
|
declare const _default_41: DefineComponent<__VLS_Props_32, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1700
|
-
redirect: (valor?: string
|
|
1743
|
+
redirect: (valor?: string) => any;
|
|
1701
1744
|
}, string, PublicProps, Readonly<__VLS_Props_32> & Readonly<{
|
|
1702
|
-
onRedirect?: (
|
|
1745
|
+
onRedirect?: (valor?: string) => any;
|
|
1703
1746
|
}>, {
|
|
1704
1747
|
variant: "1" | "2" | "3" | "4" | "5";
|
|
1705
1748
|
background: "white" | "green";
|
|
@@ -1715,10 +1758,10 @@ filterList: (value: string | CustomEvent<any>) => any;
|
|
|
1715
1758
|
clearFilter: () => any;
|
|
1716
1759
|
"input:focus": () => any;
|
|
1717
1760
|
}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
|
|
1718
|
-
"onUpdate:modelValue"?: (
|
|
1719
|
-
onFilterList?: (
|
|
1720
|
-
onClearFilter?: (
|
|
1721
|
-
"onInput:focus"?: (
|
|
1761
|
+
"onUpdate:modelValue"?: (value: string | CustomEvent<any>) => any;
|
|
1762
|
+
onFilterList?: (value: string | CustomEvent<any>) => any;
|
|
1763
|
+
onClearFilter?: () => any;
|
|
1764
|
+
"onInput:focus"?: () => any;
|
|
1722
1765
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1723
1766
|
|
|
1724
1767
|
declare const _default_6: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
@@ -1735,8 +1778,8 @@ declare const _default_8: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, Compone
|
|
|
1735
1778
|
"update:modelValue": (value: number | CustomEvent<any>) => any;
|
|
1736
1779
|
updateCurrentPage: (page: number) => any;
|
|
1737
1780
|
}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{
|
|
1738
|
-
"onUpdate:modelValue"?: (
|
|
1739
|
-
onUpdateCurrentPage?: (
|
|
1781
|
+
"onUpdate:modelValue"?: (value: number | CustomEvent<any>) => any;
|
|
1782
|
+
onUpdateCurrentPage?: (page: number) => any;
|
|
1740
1783
|
}>, {
|
|
1741
1784
|
currentPage: number;
|
|
1742
1785
|
totalPage: number;
|