@comercti/react-components-hmg 0.10.22 → 0.15.2
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 +30 -27
- package/comerc-style-guide.es.js +3073 -2721
- package/comerc-style-guide.umd.js +29 -26
- package/index.d.ts +154 -109
- package/package.json +2 -1
package/index.d.ts
CHANGED
|
@@ -134,8 +134,8 @@ close: (value: boolean) => any;
|
|
|
134
134
|
}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{
|
|
135
135
|
onClose?: (value: boolean) => any;
|
|
136
136
|
}>, {
|
|
137
|
-
rounded: boolean;
|
|
138
137
|
background: "white" | "green";
|
|
138
|
+
rounded: boolean;
|
|
139
139
|
position: "top" | "bottom";
|
|
140
140
|
isOpen: boolean;
|
|
141
141
|
showIcon: boolean;
|
|
@@ -255,7 +255,6 @@ dropdownRef: HTMLButtonElement;
|
|
|
255
255
|
}, any>;
|
|
256
256
|
|
|
257
257
|
declare const __VLS_component_7: DefineComponent<__VLS_Props_11, {
|
|
258
|
-
/** focus input */
|
|
259
258
|
focus: () => void;
|
|
260
259
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
261
260
|
"update:modelValue": (value: string | number | CustomEvent<any>) => any;
|
|
@@ -271,7 +270,7 @@ onBlur?: (value: Event) => any;
|
|
|
271
270
|
invalid: boolean;
|
|
272
271
|
disabled: boolean;
|
|
273
272
|
reserveSpaceFeedback: boolean;
|
|
274
|
-
type: "text" | "password" | "email" | "number" | "tel" | "url" | "search" | "date";
|
|
273
|
+
type: "text" | "password" | "email" | "number" | "tel" | "url" | "search" | "date" | "time" | "datetime-local";
|
|
275
274
|
rounded: boolean;
|
|
276
275
|
noAlertIcon: boolean;
|
|
277
276
|
readonly: boolean;
|
|
@@ -347,9 +346,11 @@ declare type __VLS_Props_11 = {
|
|
|
347
346
|
/** Valor do input para two-way binding (v-model) */
|
|
348
347
|
modelValue?: string | number | null;
|
|
349
348
|
/** Tipo do input (text, password, email, etc) */
|
|
350
|
-
type?: 'text' | 'password' | 'email' | 'number' | 'tel' | 'url' | 'search' | 'date';
|
|
349
|
+
type?: 'text' | 'password' | 'email' | 'number' | 'tel' | 'url' | 'search' | 'date' | 'time' | 'datetime-local';
|
|
351
350
|
/** ID única do input */
|
|
352
351
|
id?: string;
|
|
352
|
+
/** Máscara do input (cpf, cnpj, cel, tel, date, cep) o type do input deve ser o 'text' */
|
|
353
|
+
mask?: string | string[];
|
|
353
354
|
/** Texto do placeholder do input */
|
|
354
355
|
placeholder?: string;
|
|
355
356
|
/** Texto da label exibida acima do input */
|
|
@@ -1520,39 +1521,39 @@ export declare const activateCeLoading: () => void;
|
|
|
1520
1521
|
|
|
1521
1522
|
export declare const addCeToast: (title: string, message: string, type: "success" | "error" | "warn" | "info", duration?: number, data?: IData | null) => void;
|
|
1522
1523
|
|
|
1523
|
-
export declare const CeAutocomplete: default_2.ComponentType<typeof
|
|
1524
|
+
export declare const CeAutocomplete: default_2.ComponentType<typeof _default_7>;
|
|
1524
1525
|
|
|
1525
|
-
export declare const CeAvatar: default_2.ComponentType<typeof
|
|
1526
|
+
export declare const CeAvatar: default_2.ComponentType<typeof _default_31>;
|
|
1526
1527
|
|
|
1527
|
-
export declare const CeBadge: default_2.ComponentType<typeof
|
|
1528
|
+
export declare const CeBadge: default_2.ComponentType<typeof _default_33>;
|
|
1528
1529
|
|
|
1529
|
-
export declare const CeBanners: default_2.ComponentType<typeof
|
|
1530
|
+
export declare const CeBanners: default_2.ComponentType<typeof _default_35>;
|
|
1530
1531
|
|
|
1531
|
-
export declare const CeBreadcrumbs: default_2.ComponentType<typeof
|
|
1532
|
+
export declare const CeBreadcrumbs: default_2.ComponentType<typeof _default_28>;
|
|
1532
1533
|
|
|
1533
|
-
export declare const CeButton: default_2.ComponentType<typeof
|
|
1534
|
+
export declare const CeButton: default_2.ComponentType<typeof _default_8>;
|
|
1534
1535
|
|
|
1535
|
-
export declare const CeButtonGroup: default_2.ComponentType<typeof
|
|
1536
|
+
export declare const CeButtonGroup: default_2.ComponentType<typeof _default_9>;
|
|
1536
1537
|
|
|
1537
|
-
export declare const CeButtonPagination: default_2.ComponentType<typeof
|
|
1538
|
+
export declare const CeButtonPagination: default_2.ComponentType<typeof _default_10>;
|
|
1538
1539
|
|
|
1539
|
-
export declare const CeButtonWrapper: default_2.ComponentType<typeof
|
|
1540
|
+
export declare const CeButtonWrapper: default_2.ComponentType<typeof _default_11>;
|
|
1540
1541
|
|
|
1541
|
-
export declare const CeCard: default_2.ComponentType<typeof
|
|
1542
|
+
export declare const CeCard: default_2.ComponentType<typeof _default_39>;
|
|
1542
1543
|
|
|
1543
|
-
export declare const CeCardHeader: default_2.ComponentType<typeof
|
|
1544
|
+
export declare const CeCardHeader: default_2.ComponentType<typeof _default_40>;
|
|
1544
1545
|
|
|
1545
|
-
export declare const CeCardText: default_2.ComponentType<typeof
|
|
1546
|
+
export declare const CeCardText: default_2.ComponentType<typeof _default_41>;
|
|
1546
1547
|
|
|
1547
|
-
export declare const CeCheckbox: default_2.ComponentType<typeof
|
|
1548
|
+
export declare const CeCheckbox: default_2.ComponentType<typeof _default_12>;
|
|
1548
1549
|
|
|
1549
|
-
export declare const CeCheckboxGroup: default_2.ComponentType<typeof
|
|
1550
|
+
export declare const CeCheckboxGroup: default_2.ComponentType<typeof _default_13>;
|
|
1550
1551
|
|
|
1551
|
-
export declare const CeCol: default_2.ComponentType<typeof
|
|
1552
|
+
export declare const CeCol: default_2.ComponentType<typeof _default_22>;
|
|
1552
1553
|
|
|
1553
|
-
export declare const CeContainer: default_2.ComponentType<typeof
|
|
1554
|
+
export declare const CeContainer: default_2.ComponentType<typeof _default_24>;
|
|
1554
1555
|
|
|
1555
|
-
export declare const CeContentDivider: default_2.ComponentType<typeof
|
|
1556
|
+
export declare const CeContentDivider: default_2.ComponentType<typeof _default_42>;
|
|
1556
1557
|
|
|
1557
1558
|
export declare const CeDataTable: default_2.ComponentType<typeof _default & CeDataTableVueSlots>;
|
|
1558
1559
|
|
|
@@ -1560,29 +1561,29 @@ declare type CeDataTableVueSlots = {
|
|
|
1560
1561
|
[slotName: string]: ((ctx: any) => default_2.ReactNode) | default_2.ReactNode;
|
|
1561
1562
|
};
|
|
1562
1563
|
|
|
1563
|
-
export declare const CeDatePicker: default_2.ComponentType<typeof
|
|
1564
|
+
export declare const CeDatePicker: default_2.ComponentType<typeof _default_14>;
|
|
1564
1565
|
|
|
1565
|
-
export declare const CeDropdown: default_2.ComponentType<typeof
|
|
1566
|
+
export declare const CeDropdown: default_2.ComponentType<typeof _default_15>;
|
|
1566
1567
|
|
|
1567
|
-
export declare const CeFileUpload: default_2.ComponentType<typeof
|
|
1568
|
+
export declare const CeFileUpload: default_2.ComponentType<typeof _default_16>;
|
|
1568
1569
|
|
|
1569
|
-
export declare const CeFilterGroup: default_2.ComponentType<typeof
|
|
1570
|
+
export declare const CeFilterGroup: default_2.ComponentType<typeof _default_32>;
|
|
1570
1571
|
|
|
1571
|
-
export declare const CeFooter: default_2.ComponentType<typeof
|
|
1572
|
+
export declare const CeFooter: default_2.ComponentType<typeof _default_43>;
|
|
1572
1573
|
|
|
1573
|
-
export declare const CeInput: default_2.ComponentType<typeof
|
|
1574
|
+
export declare const CeInput: default_2.ComponentType<typeof _default_17>;
|
|
1574
1575
|
|
|
1575
1576
|
export declare const CeItemsPerPage: default_2.ComponentType<typeof _default_5>;
|
|
1576
1577
|
|
|
1577
|
-
export declare const CeLayout: default_2.ComponentType<typeof
|
|
1578
|
+
export declare const CeLayout: default_2.ComponentType<typeof _default_44>;
|
|
1578
1579
|
|
|
1579
|
-
export declare const CeLoading: default_2.ComponentType<typeof
|
|
1580
|
+
export declare const CeLoading: default_2.ComponentType<typeof _default_38>;
|
|
1580
1581
|
|
|
1581
|
-
export declare const CeMenuHeader: default_2.ComponentType<typeof
|
|
1582
|
+
export declare const CeMenuHeader: default_2.ComponentType<typeof _default_26>;
|
|
1582
1583
|
|
|
1583
|
-
export declare const CeMenuSidebar: default_2.ComponentType<typeof
|
|
1584
|
+
export declare const CeMenuSidebar: default_2.ComponentType<typeof _default_27>;
|
|
1584
1585
|
|
|
1585
|
-
export declare const CeModal: default_2.ComponentType<typeof
|
|
1586
|
+
export declare const CeModal: default_2.ComponentType<typeof _default_36>;
|
|
1586
1587
|
|
|
1587
1588
|
export declare const CePagination: default_2.ComponentType<typeof _default_2>;
|
|
1588
1589
|
|
|
@@ -1590,13 +1591,13 @@ export declare const CeProgressIndicator: default_2.ComponentType<typeof _defaul
|
|
|
1590
1591
|
|
|
1591
1592
|
export declare const CeProgressSteps: default_2.ComponentType<typeof _default_4>;
|
|
1592
1593
|
|
|
1593
|
-
export declare const CeRadioGroup: default_2.ComponentType<typeof
|
|
1594
|
+
export declare const CeRadioGroup: default_2.ComponentType<typeof _default_18>;
|
|
1594
1595
|
|
|
1595
|
-
export declare const CeRow: default_2.ComponentType<typeof
|
|
1596
|
+
export declare const CeRow: default_2.ComponentType<typeof _default_23>;
|
|
1596
1597
|
|
|
1597
|
-
export declare const CeSectionFooter: default_2.ComponentType<typeof
|
|
1598
|
+
export declare const CeSectionFooter: default_2.ComponentType<typeof _default_45>;
|
|
1598
1599
|
|
|
1599
|
-
export declare const CeSelect: default_2.ComponentType<typeof
|
|
1600
|
+
export declare const CeSelect: default_2.ComponentType<typeof _default_19>;
|
|
1600
1601
|
|
|
1601
1602
|
declare interface CeSelectFieldProps {
|
|
1602
1603
|
/** Valor do select para two-way binding (v-model) */
|
|
@@ -1627,19 +1628,21 @@ declare interface CeSelectFieldProps {
|
|
|
1627
1628
|
reserveSpaceFeedback?: boolean;
|
|
1628
1629
|
}
|
|
1629
1630
|
|
|
1630
|
-
export declare const CeSlider: default_2.ComponentType<typeof
|
|
1631
|
+
export declare const CeSlider: default_2.ComponentType<typeof _default_20>;
|
|
1632
|
+
|
|
1633
|
+
export declare const CeSvgIcon: default_2.ComponentType<typeof _default_25>;
|
|
1631
1634
|
|
|
1632
|
-
export declare const
|
|
1635
|
+
export declare const CeTab: default_2.ComponentType<typeof _default_29>;
|
|
1633
1636
|
|
|
1634
|
-
export declare const
|
|
1637
|
+
export declare const CeTabItem: default_2.ComponentType<typeof _default_30>;
|
|
1635
1638
|
|
|
1636
|
-
export declare const
|
|
1639
|
+
export declare const CeTextarea: default_2.ComponentType<typeof _default_6>;
|
|
1637
1640
|
|
|
1638
|
-
export declare const CeToast: default_2.ComponentType<typeof
|
|
1641
|
+
export declare const CeToast: default_2.ComponentType<typeof _default_34>;
|
|
1639
1642
|
|
|
1640
|
-
export declare const CeToggle: default_2.ComponentType<typeof
|
|
1643
|
+
export declare const CeToggle: default_2.ComponentType<typeof _default_21>;
|
|
1641
1644
|
|
|
1642
|
-
export declare const CeTooltip: default_2.ComponentType<typeof
|
|
1645
|
+
export declare const CeTooltip: default_2.ComponentType<typeof _default_37>;
|
|
1643
1646
|
|
|
1644
1647
|
declare interface Coluna {
|
|
1645
1648
|
text: string;
|
|
@@ -1673,9 +1676,20 @@ declare type DataTableProps = {
|
|
|
1673
1676
|
|
|
1674
1677
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
1675
1678
|
|
|
1676
|
-
declare const _default_10:
|
|
1679
|
+
declare const _default_10: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1680
|
+
"update:modelValue": (value: number | CustomEvent<any>) => any;
|
|
1681
|
+
updateCurrentPage: (page: number) => any;
|
|
1682
|
+
}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
|
|
1683
|
+
"onUpdate:modelValue"?: (value: number | CustomEvent<any>) => any;
|
|
1684
|
+
onUpdateCurrentPage?: (page: number) => any;
|
|
1685
|
+
}>, {
|
|
1686
|
+
currentPage: number;
|
|
1687
|
+
totalPage: number;
|
|
1688
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1689
|
+
|
|
1690
|
+
declare const _default_11: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
1677
1691
|
|
|
1678
|
-
declare const
|
|
1692
|
+
declare const _default_12: DefineComponent<__VLS_Props_7, {
|
|
1679
1693
|
/** Focus checkbox input */
|
|
1680
1694
|
focus: () => void;
|
|
1681
1695
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -1696,13 +1710,13 @@ reserveSpaceFeedback: boolean;
|
|
|
1696
1710
|
inputRef: HTMLInputElement;
|
|
1697
1711
|
}, any>;
|
|
1698
1712
|
|
|
1699
|
-
declare const
|
|
1713
|
+
declare const _default_13: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
1700
1714
|
|
|
1701
|
-
declare const
|
|
1715
|
+
declare const _default_14: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
1702
1716
|
|
|
1703
|
-
declare const
|
|
1717
|
+
declare const _default_15: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
1704
1718
|
|
|
1705
|
-
declare const
|
|
1719
|
+
declare const _default_16: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1706
1720
|
"update:modelValue": (file: FileItem[]) => any;
|
|
1707
1721
|
updateFiles: (file: FileItem[]) => any;
|
|
1708
1722
|
}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
|
|
@@ -1718,9 +1732,9 @@ maxFileSize: number;
|
|
|
1718
1732
|
selectAll: boolean;
|
|
1719
1733
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1720
1734
|
|
|
1721
|
-
declare const
|
|
1735
|
+
declare const _default_17: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
1722
1736
|
|
|
1723
|
-
declare const
|
|
1737
|
+
declare const _default_18: DefineComponent<__VLS_Props_12, {
|
|
1724
1738
|
/** Focus radio input */
|
|
1725
1739
|
focus: (id?: string) => void;
|
|
1726
1740
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -1736,9 +1750,21 @@ block: boolean;
|
|
|
1736
1750
|
row: boolean;
|
|
1737
1751
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1738
1752
|
|
|
1739
|
-
declare const
|
|
1753
|
+
declare const _default_19: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
1740
1754
|
|
|
1741
|
-
declare const
|
|
1755
|
+
declare const _default_2: DefineComponent<PaginationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1756
|
+
"update:modelValue": (value: number) => any;
|
|
1757
|
+
paginate: (value: number) => any;
|
|
1758
|
+
}, string, PublicProps, Readonly<PaginationProps> & Readonly<{
|
|
1759
|
+
"onUpdate:modelValue"?: (value: number) => any;
|
|
1760
|
+
onPaginate?: (value: number) => any;
|
|
1761
|
+
}>, {
|
|
1762
|
+
totalPages: number;
|
|
1763
|
+
currentPage: number;
|
|
1764
|
+
itemsPerPage: number;
|
|
1765
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1766
|
+
|
|
1767
|
+
declare const _default_20: DefineComponent<SliderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1742
1768
|
"update:modelValue": (value: number | number[]) => any;
|
|
1743
1769
|
sendValue: (value: number | number[]) => any;
|
|
1744
1770
|
}, string, PublicProps, Readonly<SliderProps> & Readonly<{
|
|
@@ -1753,19 +1779,7 @@ maxValue: number;
|
|
|
1753
1779
|
showValue: boolean;
|
|
1754
1780
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
1755
1781
|
|
|
1756
|
-
declare const
|
|
1757
|
-
"update:modelValue": (value: number) => any;
|
|
1758
|
-
paginate: (value: number) => any;
|
|
1759
|
-
}, string, PublicProps, Readonly<PaginationProps> & Readonly<{
|
|
1760
|
-
"onUpdate:modelValue"?: (value: number) => any;
|
|
1761
|
-
onPaginate?: (value: number) => any;
|
|
1762
|
-
}>, {
|
|
1763
|
-
totalPages: number;
|
|
1764
|
-
currentPage: number;
|
|
1765
|
-
itemsPerPage: number;
|
|
1766
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1767
|
-
|
|
1768
|
-
declare const _default_20: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1782
|
+
declare const _default_21: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1769
1783
|
"update:modelValue": (value: boolean) => any;
|
|
1770
1784
|
change: (value: boolean | CustomEvent<any>) => any;
|
|
1771
1785
|
}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
|
|
@@ -1777,21 +1791,21 @@ disabled: boolean;
|
|
|
1777
1791
|
contoured: boolean;
|
|
1778
1792
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1779
1793
|
|
|
1780
|
-
declare const
|
|
1794
|
+
declare const _default_22: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
1781
1795
|
|
|
1782
|
-
declare const
|
|
1796
|
+
declare const _default_23: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
1783
1797
|
|
|
1784
|
-
declare const
|
|
1798
|
+
declare const _default_24: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
1785
1799
|
|
|
1786
|
-
declare const
|
|
1800
|
+
declare const _default_25: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {
|
|
1787
1801
|
fill: string;
|
|
1788
1802
|
color: string;
|
|
1789
1803
|
size: number | string;
|
|
1790
1804
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1791
1805
|
|
|
1792
|
-
declare const
|
|
1806
|
+
declare const _default_26: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
1793
1807
|
|
|
1794
|
-
declare const
|
|
1808
|
+
declare const _default_27: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1795
1809
|
redirect: (item: SubMenu | ItensMenu_2) => any;
|
|
1796
1810
|
toggleMenu: (clicado: boolean) => any;
|
|
1797
1811
|
}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
|
|
@@ -1804,21 +1818,21 @@ isSearch: boolean;
|
|
|
1804
1818
|
isOpen: boolean;
|
|
1805
1819
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1806
1820
|
|
|
1807
|
-
declare const
|
|
1808
|
-
|
|
1809
|
-
declare const _default_28: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
1821
|
+
declare const _default_28: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
1810
1822
|
|
|
1811
|
-
declare const _default_29:
|
|
1823
|
+
declare const _default_29: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
1812
1824
|
|
|
1813
1825
|
declare const _default_3: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1814
1826
|
|
|
1815
|
-
declare const _default_30:
|
|
1827
|
+
declare const _default_30: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
1816
1828
|
|
|
1817
|
-
declare const _default_31:
|
|
1829
|
+
declare const _default_31: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
1818
1830
|
|
|
1819
|
-
declare const _default_32:
|
|
1831
|
+
declare const _default_32: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
1820
1832
|
|
|
1821
|
-
declare const _default_33:
|
|
1833
|
+
declare const _default_33: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
1834
|
+
|
|
1835
|
+
declare const _default_34: DefineComponent<IToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1822
1836
|
sendData: (data: IData_2<unknown>) => any;
|
|
1823
1837
|
}, string, PublicProps, Readonly<IToastProps> & Readonly<{
|
|
1824
1838
|
onSendData?: (data: IData_2<unknown>) => any;
|
|
@@ -1830,29 +1844,29 @@ showActionButton: boolean;
|
|
|
1830
1844
|
textButton: string;
|
|
1831
1845
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1832
1846
|
|
|
1833
|
-
declare const
|
|
1847
|
+
declare const _default_35: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1834
1848
|
|
|
1835
|
-
declare const
|
|
1849
|
+
declare const _default_36: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
1836
1850
|
|
|
1837
|
-
declare const
|
|
1851
|
+
declare const _default_37: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1838
1852
|
|
|
1839
|
-
declare const
|
|
1853
|
+
declare const _default_38: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{}>, {
|
|
1840
1854
|
type: "spinner" | "semi-circle" | "dots";
|
|
1841
|
-
showLoading: boolean;
|
|
1842
1855
|
background: "smoky" | "transparent";
|
|
1856
|
+
showLoading: boolean;
|
|
1843
1857
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1844
1858
|
|
|
1845
|
-
declare const
|
|
1846
|
-
|
|
1847
|
-
declare const _default_39: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1859
|
+
declare const _default_39: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1848
1860
|
|
|
1849
1861
|
declare const _default_4: DefineComponent<IProgressStepsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IProgressStepsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1850
1862
|
|
|
1851
|
-
declare const _default_40:
|
|
1863
|
+
declare const _default_40: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1852
1864
|
|
|
1853
|
-
declare const _default_41:
|
|
1865
|
+
declare const _default_41: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1854
1866
|
|
|
1855
|
-
declare const _default_42:
|
|
1867
|
+
declare const _default_42: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
1868
|
+
|
|
1869
|
+
declare const _default_43: DefineComponent<__VLS_Props_32, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1856
1870
|
redirect: (valor?: string) => any;
|
|
1857
1871
|
}, string, PublicProps, Readonly<__VLS_Props_32> & Readonly<{
|
|
1858
1872
|
onRedirect?: (valor?: string) => any;
|
|
@@ -1861,9 +1875,9 @@ background: "white" | "green";
|
|
|
1861
1875
|
variant: "1" | "2" | "3" | "4" | "5";
|
|
1862
1876
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1863
1877
|
|
|
1864
|
-
declare const
|
|
1878
|
+
declare const _default_44: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
1865
1879
|
|
|
1866
|
-
declare const
|
|
1880
|
+
declare const _default_45: DefineComponent<__VLS_Props_34, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_34> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1867
1881
|
|
|
1868
1882
|
declare const _default_5: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1869
1883
|
"update:modelValue": (value: number) => any;
|
|
@@ -1879,7 +1893,21 @@ position: "top" | "bottom";
|
|
|
1879
1893
|
menuRef: HTMLDivElement;
|
|
1880
1894
|
}, HTMLDivElement>;
|
|
1881
1895
|
|
|
1882
|
-
declare const _default_6: DefineComponent<
|
|
1896
|
+
declare const _default_6: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1897
|
+
"update:modelValue": (value: string) => any;
|
|
1898
|
+
input: (value: string) => any;
|
|
1899
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
1900
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
1901
|
+
onInput?: (value: string) => any;
|
|
1902
|
+
}>, {
|
|
1903
|
+
modelValue: string;
|
|
1904
|
+
invalid: boolean;
|
|
1905
|
+
disabled: boolean;
|
|
1906
|
+
reserveSpaceFeedback: boolean;
|
|
1907
|
+
clearButton: boolean;
|
|
1908
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1909
|
+
|
|
1910
|
+
declare const _default_7: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1883
1911
|
"update:modelValue": (value: string | CustomEvent<any>) => any;
|
|
1884
1912
|
filterList: (value: string | CustomEvent<any>) => any;
|
|
1885
1913
|
clearFilter: () => any;
|
|
@@ -1891,9 +1919,9 @@ onClearFilter?: () => any;
|
|
|
1891
1919
|
"onInput:focus"?: () => any;
|
|
1892
1920
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1893
1921
|
|
|
1894
|
-
declare const
|
|
1922
|
+
declare const _default_8: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
1895
1923
|
|
|
1896
|
-
declare const
|
|
1924
|
+
declare const _default_9: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {
|
|
1897
1925
|
id: string | number;
|
|
1898
1926
|
disabled: boolean;
|
|
1899
1927
|
text: string;
|
|
@@ -1901,17 +1929,6 @@ variant: "text" | "radio";
|
|
|
1901
1929
|
selected: number;
|
|
1902
1930
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
1903
1931
|
|
|
1904
|
-
declare const _default_9: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1905
|
-
"update:modelValue": (value: number | CustomEvent<any>) => any;
|
|
1906
|
-
updateCurrentPage: (page: number) => any;
|
|
1907
|
-
}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
|
|
1908
|
-
"onUpdate:modelValue"?: (value: number | CustomEvent<any>) => any;
|
|
1909
|
-
onUpdateCurrentPage?: (page: number) => any;
|
|
1910
|
-
}>, {
|
|
1911
|
-
currentPage: number;
|
|
1912
|
-
totalPage: number;
|
|
1913
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1914
|
-
|
|
1915
1932
|
export declare const disableCeLoading: () => void;
|
|
1916
1933
|
|
|
1917
1934
|
declare interface DropdownProps {
|
|
@@ -2048,13 +2065,40 @@ declare interface optsRadio {
|
|
|
2048
2065
|
|
|
2049
2066
|
declare type PaginationProps = {
|
|
2050
2067
|
/** Total de páginas */
|
|
2051
|
-
totalPages
|
|
2068
|
+
totalPages?: number;
|
|
2052
2069
|
/** Página atual */
|
|
2053
2070
|
currentPage: number;
|
|
2054
2071
|
/** Itens por página */
|
|
2055
|
-
itemsPerPage
|
|
2072
|
+
itemsPerPage?: number;
|
|
2073
|
+
/** totalItems + itemsPerPage, geram o total de páginas (alternativa ao totalPages) */
|
|
2074
|
+
totalItems?: number;
|
|
2075
|
+
/** Valor do currentPage para two-way binding (v-model) */
|
|
2076
|
+
modelValue?: number;
|
|
2056
2077
|
};
|
|
2057
2078
|
|
|
2079
|
+
declare interface Props {
|
|
2080
|
+
/** Valor do textarea para two-way binding (v-model) */
|
|
2081
|
+
modelValue: string;
|
|
2082
|
+
/** Texto da label exibida acima do textarea */
|
|
2083
|
+
label?: string;
|
|
2084
|
+
/** Desativa o textarea */
|
|
2085
|
+
disabled?: boolean;
|
|
2086
|
+
/** Indica se o textarea é inválido */
|
|
2087
|
+
invalid?: boolean;
|
|
2088
|
+
/** Mensagem de feedback para o usuário quando o textarea é inválido */
|
|
2089
|
+
invalidFeedback?: string;
|
|
2090
|
+
/** Texto exibido como placeholder no textarea */
|
|
2091
|
+
placeholder?: string;
|
|
2092
|
+
/** Limite máximo de caracteres permitidos no textarea */
|
|
2093
|
+
maxlength?: number;
|
|
2094
|
+
/** Texto de ajuda exibido abaixo do textarea */
|
|
2095
|
+
hint?: string;
|
|
2096
|
+
/** Reserva espaço para mensagens de feedback, evitando mudanças de layout */
|
|
2097
|
+
reserveSpaceFeedback?: boolean;
|
|
2098
|
+
/** Exibe um botão para limpar o conteúdo do textarea */
|
|
2099
|
+
clearButton?: boolean;
|
|
2100
|
+
}
|
|
2101
|
+
|
|
2058
2102
|
export declare const removeCeToast: (id: number) => void;
|
|
2059
2103
|
|
|
2060
2104
|
declare interface SelectOption {
|
|
@@ -2137,6 +2181,7 @@ declare module 'vue' {
|
|
|
2137
2181
|
'ce-toggle': typeof ToggleComponent;
|
|
2138
2182
|
'ce-button-wrapper': typeof ButtonWrapperComponent;
|
|
2139
2183
|
'ce-button-pagination': typeof ButtonPaginationComponent;
|
|
2184
|
+
'ce-textarea': typeof TextareaComponent;
|
|
2140
2185
|
}
|
|
2141
2186
|
}
|
|
2142
2187
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comercti/react-components-hmg",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.2",
|
|
4
4
|
"types": "index.d.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "private",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"@wdns/vue-code-block": "^2.3.5",
|
|
14
14
|
"date-fns": "^4.1.0",
|
|
15
15
|
"highlight.js": "^11.11.1",
|
|
16
|
+
"maska": "^3.2.0",
|
|
16
17
|
"prismjs": "^1.30.0",
|
|
17
18
|
"react": "^17.0.2",
|
|
18
19
|
"react-dom": "^17.0.2",
|