@comercti/react-components 0.32.0 → 0.33.0
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 +39 -33
- package/comerc-style-guide.es.js +3997 -3759
- package/comerc-style-guide.umd.js +40 -34
- package/index.d.ts +123 -58
- package/package.json +30 -30
package/index.d.ts
CHANGED
|
@@ -9,14 +9,24 @@ import { VNode } from 'vue';
|
|
|
9
9
|
|
|
10
10
|
declare const __VLS_component: DefineComponent<DataTableProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
11
11
|
"update:modelValue": (value: Record<string, any>[]) => any;
|
|
12
|
+
input: (value: string) => any;
|
|
12
13
|
updateSelected: (value: Record<string, any>[]) => any;
|
|
14
|
+
"update:modelValueEditable": (value: {
|
|
15
|
+
field: string;
|
|
16
|
+
value: string | boolean | number;
|
|
17
|
+
}) => any;
|
|
13
18
|
orderBy: (value: {
|
|
14
19
|
key: string;
|
|
15
20
|
order: "asc" | "desc";
|
|
16
21
|
}) => any;
|
|
17
22
|
}, string, PublicProps, Readonly<DataTableProps> & Readonly<{
|
|
18
23
|
"onUpdate:modelValue"?: (value: Record<string, any>[]) => any;
|
|
24
|
+
onInput?: (value: string) => any;
|
|
19
25
|
onUpdateSelected?: (value: Record<string, any>[]) => any;
|
|
26
|
+
"onUpdate:modelValueEditable"?: (value: {
|
|
27
|
+
field: string;
|
|
28
|
+
value: string | boolean | number;
|
|
29
|
+
}) => any;
|
|
20
30
|
onOrderBy?: (value: {
|
|
21
31
|
key: string;
|
|
22
32
|
order: "asc" | "desc";
|
|
@@ -34,6 +44,14 @@ loading: boolean;
|
|
|
34
44
|
loadingType: "spinner" | "semi-circle" | "dots";
|
|
35
45
|
truncated: boolean;
|
|
36
46
|
copyable: boolean;
|
|
47
|
+
editable: boolean;
|
|
48
|
+
editColumnStyle: {
|
|
49
|
+
fields: string[];
|
|
50
|
+
style?: Record<string, string>;
|
|
51
|
+
class?: string;
|
|
52
|
+
};
|
|
53
|
+
backgroundPagination: "transparent" | `#${string}` | `rgb(${string})` | `rgba(${string})`;
|
|
54
|
+
backgroundTitle: "transparent" | `#${string}` | `rgb(${string})` | `rgba(${string})`;
|
|
37
55
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
38
56
|
rootRef: HTMLDivElement;
|
|
39
57
|
}, HTMLDivElement>;
|
|
@@ -171,6 +189,7 @@ close: (value: boolean) => any;
|
|
|
171
189
|
}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{
|
|
172
190
|
onClose?: (value: boolean) => any;
|
|
173
191
|
}>, {
|
|
192
|
+
class: string;
|
|
174
193
|
background: "1" | "2";
|
|
175
194
|
isOpen: boolean;
|
|
176
195
|
closeOutside: boolean;
|
|
@@ -685,6 +704,8 @@ declare type __VLS_Props_25 = {
|
|
|
685
704
|
closeOutside?: boolean;
|
|
686
705
|
/** Define se o botão de fechar fica visível */
|
|
687
706
|
showCloseButton?: boolean;
|
|
707
|
+
/** Define a diretivas do modal */
|
|
708
|
+
class?: string;
|
|
688
709
|
};
|
|
689
710
|
|
|
690
711
|
declare type __VLS_Props_26 = {
|
|
@@ -812,7 +833,7 @@ declare type __VLS_Props_5 = {
|
|
|
812
833
|
/** Define o texto do botão */
|
|
813
834
|
text: string;
|
|
814
835
|
/** Define o botão selecionado */
|
|
815
|
-
selected: number;
|
|
836
|
+
selected: number | string;
|
|
816
837
|
/** Define a variante do botão */
|
|
817
838
|
variant: 'text' | 'radio';
|
|
818
839
|
/** Define se o botão está desabilitado */
|
|
@@ -1678,13 +1699,13 @@ export declare const addCeToast: (title: string, message: string, type: "success
|
|
|
1678
1699
|
|
|
1679
1700
|
export declare const CeAutocomplete: default_2.ComponentType<typeof _default_7>;
|
|
1680
1701
|
|
|
1681
|
-
export declare const CeAvatar: default_2.ComponentType<typeof
|
|
1702
|
+
export declare const CeAvatar: default_2.ComponentType<typeof _default_33>;
|
|
1682
1703
|
|
|
1683
|
-
export declare const CeBadge: default_2.ComponentType<typeof
|
|
1704
|
+
export declare const CeBadge: default_2.ComponentType<typeof _default_35>;
|
|
1684
1705
|
|
|
1685
|
-
export declare const CeBanners: default_2.ComponentType<typeof
|
|
1706
|
+
export declare const CeBanners: default_2.ComponentType<typeof _default_37>;
|
|
1686
1707
|
|
|
1687
|
-
export declare const CeBreadcrumbs: default_2.ComponentType<typeof
|
|
1708
|
+
export declare const CeBreadcrumbs: default_2.ComponentType<typeof _default_30>;
|
|
1688
1709
|
|
|
1689
1710
|
export declare const CeButton: default_2.ComponentType<typeof _default_8>;
|
|
1690
1711
|
|
|
@@ -1694,11 +1715,11 @@ export declare const CeButtonPagination: default_2.ComponentType<typeof _default
|
|
|
1694
1715
|
|
|
1695
1716
|
export declare const CeButtonWrapper: default_2.ComponentType<typeof _default_11>;
|
|
1696
1717
|
|
|
1697
|
-
export declare const CeCard: default_2.ComponentType<typeof
|
|
1718
|
+
export declare const CeCard: default_2.ComponentType<typeof _default_41>;
|
|
1698
1719
|
|
|
1699
|
-
export declare const CeCardHeader: default_2.ComponentType<typeof
|
|
1720
|
+
export declare const CeCardHeader: default_2.ComponentType<typeof _default_42>;
|
|
1700
1721
|
|
|
1701
|
-
export declare const CeCardText: default_2.ComponentType<typeof
|
|
1722
|
+
export declare const CeCardText: default_2.ComponentType<typeof _default_43>;
|
|
1702
1723
|
|
|
1703
1724
|
export declare const CeCheckbox: default_2.ComponentType<typeof _default_12>;
|
|
1704
1725
|
|
|
@@ -1706,13 +1727,13 @@ export declare const CeCheckboxGroup: default_2.ComponentType<typeof _default_13
|
|
|
1706
1727
|
|
|
1707
1728
|
export declare const CeCodeInput: default_2.ComponentType<typeof _default_22>;
|
|
1708
1729
|
|
|
1709
|
-
export declare const CeCol: default_2.ComponentType<typeof
|
|
1730
|
+
export declare const CeCol: default_2.ComponentType<typeof _default_24>;
|
|
1710
1731
|
|
|
1711
|
-
export declare const CeCollapse: default_2.ComponentType<typeof
|
|
1732
|
+
export declare const CeCollapse: default_2.ComponentType<typeof _default_48>;
|
|
1712
1733
|
|
|
1713
|
-
export declare const CeContainer: default_2.ComponentType<typeof
|
|
1734
|
+
export declare const CeContainer: default_2.ComponentType<typeof _default_26>;
|
|
1714
1735
|
|
|
1715
|
-
export declare const CeContentDivider: default_2.ComponentType<typeof
|
|
1736
|
+
export declare const CeContentDivider: default_2.ComponentType<typeof _default_44>;
|
|
1716
1737
|
|
|
1717
1738
|
export declare const CeDataTable: default_2.ComponentType<typeof _default & CeDataTableVueSlots>;
|
|
1718
1739
|
|
|
@@ -1726,23 +1747,23 @@ export declare const CeDropdown: default_2.ComponentType<typeof _default_15>;
|
|
|
1726
1747
|
|
|
1727
1748
|
export declare const CeFileUpload: default_2.ComponentType<typeof _default_16>;
|
|
1728
1749
|
|
|
1729
|
-
export declare const CeFilterGroup: default_2.ComponentType<typeof
|
|
1750
|
+
export declare const CeFilterGroup: default_2.ComponentType<typeof _default_34>;
|
|
1730
1751
|
|
|
1731
|
-
export declare const CeFooter: default_2.ComponentType<typeof
|
|
1752
|
+
export declare const CeFooter: default_2.ComponentType<typeof _default_45>;
|
|
1732
1753
|
|
|
1733
1754
|
export declare const CeInput: default_2.ComponentType<typeof _default_17>;
|
|
1734
1755
|
|
|
1735
1756
|
export declare const CeItemsPerPage: default_2.ComponentType<typeof _default_5>;
|
|
1736
1757
|
|
|
1737
|
-
export declare const CeLayout: default_2.ComponentType<typeof
|
|
1758
|
+
export declare const CeLayout: default_2.ComponentType<typeof _default_46>;
|
|
1738
1759
|
|
|
1739
|
-
export declare const CeLoading: default_2.ComponentType<typeof
|
|
1760
|
+
export declare const CeLoading: default_2.ComponentType<typeof _default_40>;
|
|
1740
1761
|
|
|
1741
|
-
export declare const CeMenuHeader: default_2.ComponentType<typeof
|
|
1762
|
+
export declare const CeMenuHeader: default_2.ComponentType<typeof _default_28>;
|
|
1742
1763
|
|
|
1743
|
-
export declare const CeMenuSidebar: default_2.ComponentType<typeof
|
|
1764
|
+
export declare const CeMenuSidebar: default_2.ComponentType<typeof _default_29>;
|
|
1744
1765
|
|
|
1745
|
-
export declare const CeModal: default_2.ComponentType<typeof
|
|
1766
|
+
export declare const CeModal: default_2.ComponentType<typeof _default_38>;
|
|
1746
1767
|
|
|
1747
1768
|
export declare const CePagination: default_2.ComponentType<typeof _default_2>;
|
|
1748
1769
|
|
|
@@ -1752,9 +1773,9 @@ export declare const CeProgressSteps: default_2.ComponentType<typeof _default_4>
|
|
|
1752
1773
|
|
|
1753
1774
|
export declare const CeRadioGroup: default_2.ComponentType<typeof _default_18>;
|
|
1754
1775
|
|
|
1755
|
-
export declare const CeRow: default_2.ComponentType<typeof
|
|
1776
|
+
export declare const CeRow: default_2.ComponentType<typeof _default_25>;
|
|
1756
1777
|
|
|
1757
|
-
export declare const CeSectionFooter: default_2.ComponentType<typeof
|
|
1778
|
+
export declare const CeSectionFooter: default_2.ComponentType<typeof _default_47>;
|
|
1758
1779
|
|
|
1759
1780
|
export declare const CeSelect: default_2.ComponentType<typeof _default_19>;
|
|
1760
1781
|
|
|
@@ -1789,25 +1810,29 @@ declare interface CeSelectFieldProps {
|
|
|
1789
1810
|
|
|
1790
1811
|
export declare const CeSlider: default_2.ComponentType<typeof _default_20>;
|
|
1791
1812
|
|
|
1792
|
-
export declare const CeSvgIcon: default_2.ComponentType<typeof
|
|
1813
|
+
export declare const CeSvgIcon: default_2.ComponentType<typeof _default_27>;
|
|
1793
1814
|
|
|
1794
|
-
export declare const CeTab: default_2.ComponentType<typeof
|
|
1815
|
+
export declare const CeTab: default_2.ComponentType<typeof _default_31>;
|
|
1795
1816
|
|
|
1796
|
-
export declare const CeTabItem: default_2.ComponentType<typeof
|
|
1817
|
+
export declare const CeTabItem: default_2.ComponentType<typeof _default_32>;
|
|
1797
1818
|
|
|
1798
1819
|
export declare const CeTextarea: default_2.ComponentType<typeof _default_6>;
|
|
1799
1820
|
|
|
1800
|
-
export declare const CeToast: default_2.ComponentType<typeof
|
|
1821
|
+
export declare const CeToast: default_2.ComponentType<typeof _default_36>;
|
|
1801
1822
|
|
|
1802
1823
|
export declare const CeToggle: default_2.ComponentType<typeof _default_21>;
|
|
1803
1824
|
|
|
1804
|
-
export declare const CeTooltip: default_2.ComponentType<typeof
|
|
1825
|
+
export declare const CeTooltip: default_2.ComponentType<typeof _default_39>;
|
|
1826
|
+
|
|
1827
|
+
export declare const CeTruncated: default_2.ComponentType<typeof _default_23>;
|
|
1805
1828
|
|
|
1806
1829
|
declare interface Coluna {
|
|
1807
1830
|
text: string;
|
|
1808
1831
|
value: string;
|
|
1809
1832
|
}
|
|
1810
1833
|
|
|
1834
|
+
declare type CSSColor = HexColor | RgbColor | RgbaColor | 'transparent';
|
|
1835
|
+
|
|
1811
1836
|
declare type DataTableProps = {
|
|
1812
1837
|
/** Array utilizado no header da tabela
|
|
1813
1838
|
*
|
|
@@ -1849,6 +1874,18 @@ declare type DataTableProps = {
|
|
|
1849
1874
|
paginationStyle?: string;
|
|
1850
1875
|
/** Habilita a funcionalidade de copiar o conteúdo da célula ao clicar */
|
|
1851
1876
|
copyable?: boolean;
|
|
1877
|
+
/** Habilita a funcionalidade de editar o conteúdo da célula ao clicar */
|
|
1878
|
+
editable?: boolean;
|
|
1879
|
+
/** Configurações para estilizar colunas editáveis */
|
|
1880
|
+
editColumnStyle?: {
|
|
1881
|
+
fields: string[];
|
|
1882
|
+
style?: Record<string, string>;
|
|
1883
|
+
class?: string;
|
|
1884
|
+
};
|
|
1885
|
+
/** Define o estilo de fundo do slot de paginação */
|
|
1886
|
+
backgroundPagination?: CSSColor;
|
|
1887
|
+
/** Define o estilo de fundo da area superior da tabela */
|
|
1888
|
+
backgroundTitle?: CSSColor;
|
|
1852
1889
|
};
|
|
1853
1890
|
|
|
1854
1891
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1976,21 +2013,28 @@ centralized: boolean;
|
|
|
1976
2013
|
codeRef: HTMLDivElement;
|
|
1977
2014
|
}, HTMLDivElement>;
|
|
1978
2015
|
|
|
1979
|
-
declare const _default_23:
|
|
2016
|
+
declare const _default_23: DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_2> & Readonly<{}>, {
|
|
2017
|
+
reserveSpaceFeedback: boolean;
|
|
2018
|
+
indexItem: number;
|
|
2019
|
+
indexHeader: number;
|
|
2020
|
+
maxLength: number;
|
|
2021
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2022
|
+
|
|
2023
|
+
declare const _default_24: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
1980
2024
|
|
|
1981
|
-
declare const
|
|
2025
|
+
declare const _default_25: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
1982
2026
|
|
|
1983
|
-
declare const
|
|
2027
|
+
declare const _default_26: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
1984
2028
|
|
|
1985
|
-
declare const
|
|
2029
|
+
declare const _default_27: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {
|
|
1986
2030
|
fill: string;
|
|
1987
2031
|
color: string;
|
|
1988
2032
|
size: number | string;
|
|
1989
2033
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1990
2034
|
|
|
1991
|
-
declare const
|
|
2035
|
+
declare const _default_28: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
1992
2036
|
|
|
1993
|
-
declare const
|
|
2037
|
+
declare const _default_29: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1994
2038
|
redirect: (item: SubMenu | ItensMenu_2) => any;
|
|
1995
2039
|
toggleMenu: (clicado: boolean) => any;
|
|
1996
2040
|
}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
|
|
@@ -2004,21 +2048,21 @@ isSearch: boolean;
|
|
|
2004
2048
|
isOpen: boolean;
|
|
2005
2049
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2006
2050
|
|
|
2007
|
-
declare const _default_29: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
2008
|
-
|
|
2009
2051
|
declare const _default_3: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2010
2052
|
|
|
2011
|
-
declare const _default_30:
|
|
2053
|
+
declare const _default_30: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
2054
|
+
|
|
2055
|
+
declare const _default_31: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
2012
2056
|
|
|
2013
|
-
declare const
|
|
2057
|
+
declare const _default_32: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
2014
2058
|
|
|
2015
|
-
declare const
|
|
2059
|
+
declare const _default_33: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
2016
2060
|
|
|
2017
|
-
declare const
|
|
2061
|
+
declare const _default_34: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
2018
2062
|
|
|
2019
|
-
declare const
|
|
2063
|
+
declare const _default_35: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
2020
2064
|
|
|
2021
|
-
declare const
|
|
2065
|
+
declare const _default_36: DefineComponent<IToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2022
2066
|
sendData: (data: IData<unknown>) => any;
|
|
2023
2067
|
}, string, PublicProps, Readonly<IToastProps> & Readonly<{
|
|
2024
2068
|
onSendData?: (data: IData<unknown>) => any;
|
|
@@ -2030,33 +2074,33 @@ showActionButton: boolean;
|
|
|
2030
2074
|
textButton: string;
|
|
2031
2075
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2032
2076
|
|
|
2033
|
-
declare const
|
|
2077
|
+
declare const _default_37: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
2034
2078
|
|
|
2035
|
-
declare const
|
|
2079
|
+
declare const _default_38: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
2036
2080
|
|
|
2037
|
-
declare const
|
|
2081
|
+
declare const _default_39: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
2038
2082
|
|
|
2039
|
-
declare const
|
|
2083
|
+
declare const _default_4: DefineComponent<IProgressStepsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IProgressStepsProps> & Readonly<{}>, {
|
|
2084
|
+
position: "horizontal" | "vertical";
|
|
2085
|
+
showInitialStep: boolean;
|
|
2086
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2087
|
+
|
|
2088
|
+
declare const _default_40: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{}>, {
|
|
2040
2089
|
type: "spinner" | "semi-circle" | "dots";
|
|
2041
2090
|
blur: boolean;
|
|
2042
2091
|
background: "smoky" | "transparent" | "black";
|
|
2043
2092
|
showLoading: boolean;
|
|
2044
2093
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2045
2094
|
|
|
2046
|
-
declare const
|
|
2047
|
-
position: "horizontal" | "vertical";
|
|
2048
|
-
showInitialStep: boolean;
|
|
2049
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2050
|
-
|
|
2051
|
-
declare const _default_40: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
2095
|
+
declare const _default_41: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
2052
2096
|
|
|
2053
|
-
declare const
|
|
2097
|
+
declare const _default_42: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
2054
2098
|
|
|
2055
|
-
declare const
|
|
2099
|
+
declare const _default_43: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
2056
2100
|
|
|
2057
|
-
declare const
|
|
2101
|
+
declare const _default_44: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
2058
2102
|
|
|
2059
|
-
declare const
|
|
2103
|
+
declare const _default_45: DefineComponent<__VLS_Props_32, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2060
2104
|
redirect: (valor?: string) => any;
|
|
2061
2105
|
}, string, PublicProps, Readonly<__VLS_Props_32> & Readonly<{
|
|
2062
2106
|
onRedirect?: (valor?: string) => any;
|
|
@@ -2065,11 +2109,11 @@ background: "white" | "green" | "black";
|
|
|
2065
2109
|
variant: "1" | "2" | "3" | "4" | "5";
|
|
2066
2110
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2067
2111
|
|
|
2068
|
-
declare const
|
|
2112
|
+
declare const _default_46: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
2069
2113
|
|
|
2070
|
-
declare const
|
|
2114
|
+
declare const _default_47: DefineComponent<__VLS_Props_34, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_34> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2071
2115
|
|
|
2072
|
-
declare const
|
|
2116
|
+
declare const _default_48: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
2073
2117
|
|
|
2074
2118
|
declare const _default_5: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2075
2119
|
"update:modelValue": (value: number) => any;
|
|
@@ -2123,7 +2167,7 @@ id: string | number;
|
|
|
2123
2167
|
disabled: boolean;
|
|
2124
2168
|
text: string;
|
|
2125
2169
|
variant: "text" | "radio";
|
|
2126
|
-
selected: number;
|
|
2170
|
+
selected: number | string;
|
|
2127
2171
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
2128
2172
|
|
|
2129
2173
|
export declare const disableCeLoading: () => void;
|
|
@@ -2157,8 +2201,14 @@ declare type Header = {
|
|
|
2157
2201
|
value: string | ((item: Record<string, unknown>) => string);
|
|
2158
2202
|
sortable?: boolean;
|
|
2159
2203
|
width?: string;
|
|
2204
|
+
editableField?: {
|
|
2205
|
+
type: InputType | 'boolean';
|
|
2206
|
+
mask?: string | string[];
|
|
2207
|
+
};
|
|
2160
2208
|
};
|
|
2161
2209
|
|
|
2210
|
+
declare type HexColor = `#${string}`;
|
|
2211
|
+
|
|
2162
2212
|
declare interface IBreadcrumbsProps {
|
|
2163
2213
|
/** Define o ponto de partida do breadcrumbs */
|
|
2164
2214
|
home: string;
|
|
@@ -2251,6 +2301,8 @@ declare interface IItems {
|
|
|
2251
2301
|
showDescription?: boolean;
|
|
2252
2302
|
}
|
|
2253
2303
|
|
|
2304
|
+
declare type InputType = 'number' | 'search' | 'time' | 'text' | 'password' | 'email' | 'tel' | 'url' | 'date' | 'datetime-local';
|
|
2305
|
+
|
|
2254
2306
|
declare type IProgressStepsProps = {
|
|
2255
2307
|
/** Define os itens que serão exibidos */
|
|
2256
2308
|
items: IItems[];
|
|
@@ -2376,8 +2428,20 @@ declare interface Props {
|
|
|
2376
2428
|
clearButton?: boolean;
|
|
2377
2429
|
}
|
|
2378
2430
|
|
|
2431
|
+
declare interface Props_2 {
|
|
2432
|
+
text: string;
|
|
2433
|
+
indexItem?: number;
|
|
2434
|
+
indexHeader?: number;
|
|
2435
|
+
maxLength?: number;
|
|
2436
|
+
reserveSpaceFeedback?: boolean;
|
|
2437
|
+
}
|
|
2438
|
+
|
|
2379
2439
|
export declare const removeCeToast: (id: number) => void;
|
|
2380
2440
|
|
|
2441
|
+
declare type RgbaColor = `rgba(${string})`;
|
|
2442
|
+
|
|
2443
|
+
declare type RgbColor = `rgb(${string})`;
|
|
2444
|
+
|
|
2381
2445
|
declare interface SelectOption {
|
|
2382
2446
|
label?: string;
|
|
2383
2447
|
value?: string | number | boolean | null;
|
|
@@ -2461,6 +2525,7 @@ declare module 'vue' {
|
|
|
2461
2525
|
'ce-button-pagination': typeof ButtonPaginationComponent;
|
|
2462
2526
|
'ce-textarea': typeof TextareaComponent;
|
|
2463
2527
|
'ce-code-input': typeof CodeInputComponent;
|
|
2528
|
+
'ce-truncated': typeof TruncatedComponent;
|
|
2464
2529
|
}
|
|
2465
2530
|
}
|
|
2466
2531
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comercti/react-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"types": "index.d.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "private",
|
|
@@ -19,64 +19,64 @@
|
|
|
19
19
|
"prismjs": "^1.30.0",
|
|
20
20
|
"react": "^17.0.2",
|
|
21
21
|
"react-dom": "^17.0.2",
|
|
22
|
-
"veaury": "^2.6.
|
|
23
|
-
"vitest-sonar-reporter": "^2.0.
|
|
24
|
-
"vue": "^3.5.
|
|
22
|
+
"veaury": "^2.6.3",
|
|
23
|
+
"vitest-sonar-reporter": "^2.0.4",
|
|
24
|
+
"vue": "^3.5.29"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"vue": ">=3.2.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@fontsource/exo-2": "^5.
|
|
31
|
-
"@storybook/addon-actions": "^8.
|
|
30
|
+
"@fontsource/exo-2": "^5.2.8",
|
|
31
|
+
"@storybook/addon-actions": "^8.6.18",
|
|
32
32
|
"@storybook/addon-essentials": "8.5.5",
|
|
33
33
|
"@storybook/addon-interactions": "8.5.5",
|
|
34
34
|
"@storybook/addon-onboarding": "8.5.5",
|
|
35
35
|
"@storybook/addon-postcss": "^2.0.0",
|
|
36
|
-
"@storybook/addon-viewport": "^8.
|
|
36
|
+
"@storybook/addon-viewport": "^8.6.18",
|
|
37
37
|
"@storybook/addons": "^7.6.17",
|
|
38
38
|
"@storybook/blocks": "8.5.5",
|
|
39
|
-
"@storybook/manager-api": "^8.
|
|
39
|
+
"@storybook/manager-api": "^8.6.14",
|
|
40
40
|
"@storybook/test": "8.5.5",
|
|
41
|
-
"@storybook/theming": "^8.
|
|
41
|
+
"@storybook/theming": "^8.6.14",
|
|
42
42
|
"@storybook/vue3": "8.5.5",
|
|
43
43
|
"@storybook/vue3-vite": "8.5.5",
|
|
44
|
-
"@tsconfig/node22": "^22.0.
|
|
44
|
+
"@tsconfig/node22": "^22.0.5",
|
|
45
45
|
"@types/jsdom": "^21.1.7",
|
|
46
|
-
"@types/node": "^22.
|
|
47
|
-
"@types/react": "^17.0.
|
|
46
|
+
"@types/node": "^22.19.15",
|
|
47
|
+
"@types/react": "^17.0.91",
|
|
48
48
|
"@types/react-dom": "^17.0.26",
|
|
49
|
-
"@vitejs/plugin-react": "^4.
|
|
50
|
-
"@vitejs/plugin-vue": "^5.2.
|
|
51
|
-
"@vitejs/plugin-vue-jsx": "^4.
|
|
49
|
+
"@vitejs/plugin-react": "^4.7.0",
|
|
50
|
+
"@vitejs/plugin-vue": "^5.2.4",
|
|
51
|
+
"@vitejs/plugin-vue-jsx": "^4.2.0",
|
|
52
52
|
"@vitest/coverage-v8": "3.0.5",
|
|
53
53
|
"@vitest/eslint-plugin": "1.1.25",
|
|
54
54
|
"@vitest/ui": "3.0.5",
|
|
55
55
|
"@vue/eslint-config-prettier": "^10.2.0",
|
|
56
|
-
"@vue/eslint-config-typescript": "^14.
|
|
56
|
+
"@vue/eslint-config-typescript": "^14.7.0",
|
|
57
57
|
"@vue/test-utils": "^2.4.6",
|
|
58
58
|
"@vue/tsconfig": "^0.7.0",
|
|
59
|
-
"autoprefixer": "^10.4.
|
|
60
|
-
"eslint": "^9.
|
|
61
|
-
"eslint-plugin-storybook": "^0.11.
|
|
62
|
-
"eslint-plugin-vue": "^9.
|
|
63
|
-
"jiti": "^2.
|
|
64
|
-
"jsdom": "^26.
|
|
59
|
+
"autoprefixer": "^10.4.27",
|
|
60
|
+
"eslint": "^9.39.3",
|
|
61
|
+
"eslint-plugin-storybook": "^0.11.6",
|
|
62
|
+
"eslint-plugin-vue": "^9.33.0",
|
|
63
|
+
"jiti": "^2.6.1",
|
|
64
|
+
"jsdom": "^26.1.0",
|
|
65
65
|
"npm-run-all2": "^7.0.2",
|
|
66
|
-
"postcss": "^8.5.
|
|
67
|
-
"prettier": "^3.
|
|
66
|
+
"postcss": "^8.5.8",
|
|
67
|
+
"prettier": "^3.8.1",
|
|
68
68
|
"storybook": "8.5.5",
|
|
69
69
|
"storybook-addon-vue-mdx": "^1.0.6",
|
|
70
70
|
"storybook-dark-mode": "^4.0.2",
|
|
71
|
-
"tailwindcss": "^3.4.
|
|
71
|
+
"tailwindcss": "^3.4.19",
|
|
72
72
|
"typescript": "~5.7.3",
|
|
73
|
-
"vite": "^6.1
|
|
73
|
+
"vite": "^6.4.1",
|
|
74
74
|
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
75
|
-
"vite-plugin-dts": "^4.5.
|
|
76
|
-
"vite-plugin-vue-devtools": "^7.7.
|
|
77
|
-
"vitest": "^3.
|
|
75
|
+
"vite-plugin-dts": "^4.5.4",
|
|
76
|
+
"vite-plugin-vue-devtools": "^7.7.9",
|
|
77
|
+
"vitest": "^3.2.4",
|
|
78
78
|
"vue-loader": "^17.4.2",
|
|
79
|
-
"vue-tsc": "^2.2.
|
|
79
|
+
"vue-tsc": "^2.2.12"
|
|
80
80
|
},
|
|
81
81
|
"contributors": [
|
|
82
82
|
{
|