@comercti/react-components-hmg 0.21.3 → 0.21.4
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 +2162 -2004
- package/comerc-style-guide.umd.js +27 -27
- package/index.d.ts +70 -7
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -207,6 +207,19 @@ openMenu: boolean;
|
|
|
207
207
|
layout: "default" | "base" | "minimal";
|
|
208
208
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
209
209
|
|
|
210
|
+
declare const __VLS_component_27: DefineComponent<__VLS_Props_35, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
211
|
+
"toggle-collapse": (value: ICollapse[]) => any;
|
|
212
|
+
}, string, PublicProps, Readonly<__VLS_Props_35> & Readonly<{
|
|
213
|
+
"onToggle-collapse"?: (value: ICollapse[]) => any;
|
|
214
|
+
}>, {
|
|
215
|
+
items: Array<Record<string, unknown>>;
|
|
216
|
+
variant: "accordion" | "card" | "minimal" | "compact";
|
|
217
|
+
openTheFirst: boolean;
|
|
218
|
+
allOpen: boolean;
|
|
219
|
+
direction: "row" | "column";
|
|
220
|
+
closeCollapse: number | null;
|
|
221
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
222
|
+
|
|
210
223
|
declare const __VLS_component_3: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
211
224
|
|
|
212
225
|
declare const __VLS_component_4: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -532,17 +545,11 @@ declare type __VLS_Props_19 = {
|
|
|
532
545
|
};
|
|
533
546
|
|
|
534
547
|
declare type __VLS_Props_2 = {
|
|
535
|
-
/** Define o label do componente */
|
|
536
548
|
label: string;
|
|
537
|
-
/** Define os valores exibidos no select */
|
|
538
549
|
options: number[];
|
|
539
|
-
/** Desabilita o componente */
|
|
540
550
|
disabled?: boolean;
|
|
541
|
-
/** Define a direção do texto */
|
|
542
551
|
textDirection?: 'left' | 'right';
|
|
543
|
-
/** Define o valor selecionado */
|
|
544
552
|
modelValue: number;
|
|
545
|
-
/**Define a posição de abertura das opções */
|
|
546
553
|
position?: 'top' | 'bottom';
|
|
547
554
|
};
|
|
548
555
|
|
|
@@ -710,6 +717,15 @@ declare type __VLS_Props_34 = {
|
|
|
710
717
|
}[];
|
|
711
718
|
};
|
|
712
719
|
|
|
720
|
+
declare type __VLS_Props_35 = {
|
|
721
|
+
items: Array<Record<string, unknown>>;
|
|
722
|
+
openTheFirst?: boolean;
|
|
723
|
+
allOpen?: boolean;
|
|
724
|
+
variant: 'accordion' | 'card' | 'minimal' | 'compact';
|
|
725
|
+
direction?: 'row' | 'column';
|
|
726
|
+
closeCollapse?: number | null;
|
|
727
|
+
};
|
|
728
|
+
|
|
713
729
|
declare type __VLS_Props_4 = {
|
|
714
730
|
/** Tipo do button (`attrs:to` ou `attrs:href` podem sobrepor essa regra) */
|
|
715
731
|
type?: 'button' | 'submit' | 'a';
|
|
@@ -1169,6 +1185,33 @@ declare function __VLS_template_26(): {
|
|
|
1169
1185
|
rootEl: any;
|
|
1170
1186
|
};
|
|
1171
1187
|
|
|
1188
|
+
declare function __VLS_template_27(): {
|
|
1189
|
+
attrs: Partial<{}>;
|
|
1190
|
+
slots: Readonly<{
|
|
1191
|
+
[key: string]: (props: {
|
|
1192
|
+
item: Record<string, any>;
|
|
1193
|
+
}) => VNode[];
|
|
1194
|
+
header?: (props: {
|
|
1195
|
+
item: Record<string, any>;
|
|
1196
|
+
}) => VNode[];
|
|
1197
|
+
content?: (props: {
|
|
1198
|
+
item: Record<string, any>;
|
|
1199
|
+
}) => VNode[];
|
|
1200
|
+
}> & {
|
|
1201
|
+
[key: string]: (props: {
|
|
1202
|
+
item: Record<string, any>;
|
|
1203
|
+
}) => VNode[];
|
|
1204
|
+
header?: (props: {
|
|
1205
|
+
item: Record<string, any>;
|
|
1206
|
+
}) => VNode[];
|
|
1207
|
+
content?: (props: {
|
|
1208
|
+
item: Record<string, any>;
|
|
1209
|
+
}) => VNode[];
|
|
1210
|
+
};
|
|
1211
|
+
refs: {};
|
|
1212
|
+
rootEl: HTMLDivElement;
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1172
1215
|
declare function __VLS_template_3(): {
|
|
1173
1216
|
attrs: Partial<{}>;
|
|
1174
1217
|
slots: {
|
|
@@ -1351,6 +1394,8 @@ declare type __VLS_TemplateResult_25 = ReturnType<typeof __VLS_template_25>;
|
|
|
1351
1394
|
|
|
1352
1395
|
declare type __VLS_TemplateResult_26 = ReturnType<typeof __VLS_template_26>;
|
|
1353
1396
|
|
|
1397
|
+
declare type __VLS_TemplateResult_27 = ReturnType<typeof __VLS_template_27>;
|
|
1398
|
+
|
|
1354
1399
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
1355
1400
|
|
|
1356
1401
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
@@ -1479,6 +1524,12 @@ declare type __VLS_WithTemplateSlots_26<T, S> = T & {
|
|
|
1479
1524
|
};
|
|
1480
1525
|
};
|
|
1481
1526
|
|
|
1527
|
+
declare type __VLS_WithTemplateSlots_27<T, S> = T & {
|
|
1528
|
+
new (): {
|
|
1529
|
+
$slots: S;
|
|
1530
|
+
};
|
|
1531
|
+
};
|
|
1532
|
+
|
|
1482
1533
|
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
1483
1534
|
new (): {
|
|
1484
1535
|
$slots: S;
|
|
@@ -1555,6 +1606,8 @@ export declare const CeCheckboxGroup: default_2.ComponentType<typeof _default_13
|
|
|
1555
1606
|
|
|
1556
1607
|
export declare const CeCol: default_2.ComponentType<typeof _default_22>;
|
|
1557
1608
|
|
|
1609
|
+
export declare const CeCollapse: default_2.ComponentType<typeof _default_46>;
|
|
1610
|
+
|
|
1558
1611
|
export declare const CeContainer: default_2.ComponentType<typeof _default_24>;
|
|
1559
1612
|
|
|
1560
1613
|
export declare const CeContentDivider: default_2.ComponentType<typeof _default_42>;
|
|
@@ -1899,6 +1952,8 @@ declare const _default_44: __VLS_WithTemplateSlots_26<typeof __VLS_component_26,
|
|
|
1899
1952
|
|
|
1900
1953
|
declare const _default_45: DefineComponent<__VLS_Props_34, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_34> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1901
1954
|
|
|
1955
|
+
declare const _default_46: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
1956
|
+
|
|
1902
1957
|
declare const _default_5: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1903
1958
|
"update:modelValue": (value: number) => any;
|
|
1904
1959
|
updatePerPage: (value: number) => any;
|
|
@@ -1911,7 +1966,9 @@ textDirection: "left" | "right";
|
|
|
1911
1966
|
position: "top" | "bottom";
|
|
1912
1967
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1913
1968
|
menuRef: HTMLDivElement;
|
|
1914
|
-
|
|
1969
|
+
referenceRef: HTMLButtonElement;
|
|
1970
|
+
dropdownRef: HTMLUListElement;
|
|
1971
|
+
}, any>;
|
|
1915
1972
|
|
|
1916
1973
|
declare const _default_6: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1917
1974
|
"update:modelValue": (value: string) => any;
|
|
@@ -1989,6 +2046,11 @@ declare interface IBreadcrumbsProps {
|
|
|
1989
2046
|
variant?: 'primary' | 'secondary' | 'text';
|
|
1990
2047
|
}
|
|
1991
2048
|
|
|
2049
|
+
declare interface ICollapse {
|
|
2050
|
+
index: number;
|
|
2051
|
+
value: boolean;
|
|
2052
|
+
}
|
|
2053
|
+
|
|
1992
2054
|
declare interface IData_2<T = unknown> {
|
|
1993
2055
|
[key: string]: T;
|
|
1994
2056
|
}
|
|
@@ -2256,5 +2318,6 @@ declare module 'vue' {
|
|
|
2256
2318
|
'ce-footer': typeof FooterComponent;
|
|
2257
2319
|
'ce-layout': typeof LayoutComponent;
|
|
2258
2320
|
'ce-section-footer': typeof SectionFooterComponent;
|
|
2321
|
+
'ce-collapse': typeof CollapseComponent;
|
|
2259
2322
|
}
|
|
2260
2323
|
}
|