@comercti/react-components 0.31.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/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";
@@ -25,6 +35,7 @@ order: "asc" | "desc";
25
35
  search: boolean;
26
36
  selectable: boolean;
27
37
  singleSelect: boolean;
38
+ initialSelectedRows: Record<string, unknown>[];
28
39
  striped: boolean;
29
40
  orderByServer: boolean;
30
41
  expandLine: boolean;
@@ -33,6 +44,14 @@ loading: boolean;
33
44
  loadingType: "spinner" | "semi-circle" | "dots";
34
45
  truncated: boolean;
35
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})`;
36
55
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
37
56
  rootRef: HTMLDivElement;
38
57
  }, HTMLDivElement>;
@@ -170,6 +189,7 @@ close: (value: boolean) => any;
170
189
  }, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{
171
190
  onClose?: (value: boolean) => any;
172
191
  }>, {
192
+ class: string;
173
193
  background: "1" | "2";
174
194
  isOpen: boolean;
175
195
  closeOutside: boolean;
@@ -684,6 +704,8 @@ declare type __VLS_Props_25 = {
684
704
  closeOutside?: boolean;
685
705
  /** Define se o botão de fechar fica visível */
686
706
  showCloseButton?: boolean;
707
+ /** Define a diretivas do modal */
708
+ class?: string;
687
709
  };
688
710
 
689
711
  declare type __VLS_Props_26 = {
@@ -811,7 +833,7 @@ declare type __VLS_Props_5 = {
811
833
  /** Define o texto do botão */
812
834
  text: string;
813
835
  /** Define o botão selecionado */
814
- selected: number;
836
+ selected: number | string;
815
837
  /** Define a variante do botão */
816
838
  variant: 'text' | 'radio';
817
839
  /** Define se o botão está desabilitado */
@@ -1677,13 +1699,13 @@ export declare const addCeToast: (title: string, message: string, type: "success
1677
1699
 
1678
1700
  export declare const CeAutocomplete: default_2.ComponentType<typeof _default_7>;
1679
1701
 
1680
- export declare const CeAvatar: default_2.ComponentType<typeof _default_32>;
1702
+ export declare const CeAvatar: default_2.ComponentType<typeof _default_33>;
1681
1703
 
1682
- export declare const CeBadge: default_2.ComponentType<typeof _default_34>;
1704
+ export declare const CeBadge: default_2.ComponentType<typeof _default_35>;
1683
1705
 
1684
- export declare const CeBanners: default_2.ComponentType<typeof _default_36>;
1706
+ export declare const CeBanners: default_2.ComponentType<typeof _default_37>;
1685
1707
 
1686
- export declare const CeBreadcrumbs: default_2.ComponentType<typeof _default_29>;
1708
+ export declare const CeBreadcrumbs: default_2.ComponentType<typeof _default_30>;
1687
1709
 
1688
1710
  export declare const CeButton: default_2.ComponentType<typeof _default_8>;
1689
1711
 
@@ -1693,11 +1715,11 @@ export declare const CeButtonPagination: default_2.ComponentType<typeof _default
1693
1715
 
1694
1716
  export declare const CeButtonWrapper: default_2.ComponentType<typeof _default_11>;
1695
1717
 
1696
- export declare const CeCard: default_2.ComponentType<typeof _default_40>;
1718
+ export declare const CeCard: default_2.ComponentType<typeof _default_41>;
1697
1719
 
1698
- export declare const CeCardHeader: default_2.ComponentType<typeof _default_41>;
1720
+ export declare const CeCardHeader: default_2.ComponentType<typeof _default_42>;
1699
1721
 
1700
- export declare const CeCardText: default_2.ComponentType<typeof _default_42>;
1722
+ export declare const CeCardText: default_2.ComponentType<typeof _default_43>;
1701
1723
 
1702
1724
  export declare const CeCheckbox: default_2.ComponentType<typeof _default_12>;
1703
1725
 
@@ -1705,13 +1727,13 @@ export declare const CeCheckboxGroup: default_2.ComponentType<typeof _default_13
1705
1727
 
1706
1728
  export declare const CeCodeInput: default_2.ComponentType<typeof _default_22>;
1707
1729
 
1708
- export declare const CeCol: default_2.ComponentType<typeof _default_23>;
1730
+ export declare const CeCol: default_2.ComponentType<typeof _default_24>;
1709
1731
 
1710
- export declare const CeCollapse: default_2.ComponentType<typeof _default_47>;
1732
+ export declare const CeCollapse: default_2.ComponentType<typeof _default_48>;
1711
1733
 
1712
- export declare const CeContainer: default_2.ComponentType<typeof _default_25>;
1734
+ export declare const CeContainer: default_2.ComponentType<typeof _default_26>;
1713
1735
 
1714
- export declare const CeContentDivider: default_2.ComponentType<typeof _default_43>;
1736
+ export declare const CeContentDivider: default_2.ComponentType<typeof _default_44>;
1715
1737
 
1716
1738
  export declare const CeDataTable: default_2.ComponentType<typeof _default & CeDataTableVueSlots>;
1717
1739
 
@@ -1725,23 +1747,23 @@ export declare const CeDropdown: default_2.ComponentType<typeof _default_15>;
1725
1747
 
1726
1748
  export declare const CeFileUpload: default_2.ComponentType<typeof _default_16>;
1727
1749
 
1728
- export declare const CeFilterGroup: default_2.ComponentType<typeof _default_33>;
1750
+ export declare const CeFilterGroup: default_2.ComponentType<typeof _default_34>;
1729
1751
 
1730
- export declare const CeFooter: default_2.ComponentType<typeof _default_44>;
1752
+ export declare const CeFooter: default_2.ComponentType<typeof _default_45>;
1731
1753
 
1732
1754
  export declare const CeInput: default_2.ComponentType<typeof _default_17>;
1733
1755
 
1734
1756
  export declare const CeItemsPerPage: default_2.ComponentType<typeof _default_5>;
1735
1757
 
1736
- export declare const CeLayout: default_2.ComponentType<typeof _default_45>;
1758
+ export declare const CeLayout: default_2.ComponentType<typeof _default_46>;
1737
1759
 
1738
- export declare const CeLoading: default_2.ComponentType<typeof _default_39>;
1760
+ export declare const CeLoading: default_2.ComponentType<typeof _default_40>;
1739
1761
 
1740
- export declare const CeMenuHeader: default_2.ComponentType<typeof _default_27>;
1762
+ export declare const CeMenuHeader: default_2.ComponentType<typeof _default_28>;
1741
1763
 
1742
- export declare const CeMenuSidebar: default_2.ComponentType<typeof _default_28>;
1764
+ export declare const CeMenuSidebar: default_2.ComponentType<typeof _default_29>;
1743
1765
 
1744
- export declare const CeModal: default_2.ComponentType<typeof _default_37>;
1766
+ export declare const CeModal: default_2.ComponentType<typeof _default_38>;
1745
1767
 
1746
1768
  export declare const CePagination: default_2.ComponentType<typeof _default_2>;
1747
1769
 
@@ -1751,9 +1773,9 @@ export declare const CeProgressSteps: default_2.ComponentType<typeof _default_4>
1751
1773
 
1752
1774
  export declare const CeRadioGroup: default_2.ComponentType<typeof _default_18>;
1753
1775
 
1754
- export declare const CeRow: default_2.ComponentType<typeof _default_24>;
1776
+ export declare const CeRow: default_2.ComponentType<typeof _default_25>;
1755
1777
 
1756
- export declare const CeSectionFooter: default_2.ComponentType<typeof _default_46>;
1778
+ export declare const CeSectionFooter: default_2.ComponentType<typeof _default_47>;
1757
1779
 
1758
1780
  export declare const CeSelect: default_2.ComponentType<typeof _default_19>;
1759
1781
 
@@ -1788,25 +1810,29 @@ declare interface CeSelectFieldProps {
1788
1810
 
1789
1811
  export declare const CeSlider: default_2.ComponentType<typeof _default_20>;
1790
1812
 
1791
- export declare const CeSvgIcon: default_2.ComponentType<typeof _default_26>;
1813
+ export declare const CeSvgIcon: default_2.ComponentType<typeof _default_27>;
1792
1814
 
1793
- export declare const CeTab: default_2.ComponentType<typeof _default_30>;
1815
+ export declare const CeTab: default_2.ComponentType<typeof _default_31>;
1794
1816
 
1795
- export declare const CeTabItem: default_2.ComponentType<typeof _default_31>;
1817
+ export declare const CeTabItem: default_2.ComponentType<typeof _default_32>;
1796
1818
 
1797
1819
  export declare const CeTextarea: default_2.ComponentType<typeof _default_6>;
1798
1820
 
1799
- export declare const CeToast: default_2.ComponentType<typeof _default_35>;
1821
+ export declare const CeToast: default_2.ComponentType<typeof _default_36>;
1800
1822
 
1801
1823
  export declare const CeToggle: default_2.ComponentType<typeof _default_21>;
1802
1824
 
1803
- export declare const CeTooltip: default_2.ComponentType<typeof _default_38>;
1825
+ export declare const CeTooltip: default_2.ComponentType<typeof _default_39>;
1826
+
1827
+ export declare const CeTruncated: default_2.ComponentType<typeof _default_23>;
1804
1828
 
1805
1829
  declare interface Coluna {
1806
1830
  text: string;
1807
1831
  value: string;
1808
1832
  }
1809
1833
 
1834
+ declare type CSSColor = HexColor | RgbColor | RgbaColor | 'transparent';
1835
+
1810
1836
  declare type DataTableProps = {
1811
1837
  /** Array utilizado no header da tabela
1812
1838
  *
@@ -1825,7 +1851,7 @@ declare type DataTableProps = {
1825
1851
  /** Ativa a opção de selecinar apenas um conteúdo da tabela */
1826
1852
  singleSelect?: boolean;
1827
1853
  /** Array de objetos que estão inicialmente selecionados na tabela */
1828
- initialSelectedRows?: Record<string, any>[];
1854
+ initialSelectedRows?: Record<string, unknown>[];
1829
1855
  /** Ativa o input de pesquisa da tabela */
1830
1856
  search?: boolean;
1831
1857
  /** Array de objetos que serão exibidos na tabela */
@@ -1848,6 +1874,18 @@ declare type DataTableProps = {
1848
1874
  paginationStyle?: string;
1849
1875
  /** Habilita a funcionalidade de copiar o conteúdo da célula ao clicar */
1850
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;
1851
1889
  };
1852
1890
 
1853
1891
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1975,21 +2013,28 @@ centralized: boolean;
1975
2013
  codeRef: HTMLDivElement;
1976
2014
  }, HTMLDivElement>;
1977
2015
 
1978
- declare const _default_23: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
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"]>;
1979
2024
 
1980
- declare const _default_24: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
2025
+ declare const _default_25: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
1981
2026
 
1982
- declare const _default_25: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
2027
+ declare const _default_26: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
1983
2028
 
1984
- declare const _default_26: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {
2029
+ declare const _default_27: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {
1985
2030
  fill: string;
1986
2031
  color: string;
1987
2032
  size: number | string;
1988
2033
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1989
2034
 
1990
- declare const _default_27: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
2035
+ declare const _default_28: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
1991
2036
 
1992
- declare const _default_28: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2037
+ declare const _default_29: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1993
2038
  redirect: (item: SubMenu | ItensMenu_2) => any;
1994
2039
  toggleMenu: (clicado: boolean) => any;
1995
2040
  }, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
@@ -2003,21 +2048,21 @@ isSearch: boolean;
2003
2048
  isOpen: boolean;
2004
2049
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2005
2050
 
2006
- declare const _default_29: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
2007
-
2008
2051
  declare const _default_3: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2009
2052
 
2010
- declare const _default_30: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
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"]>;
2011
2056
 
2012
- declare const _default_31: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
2057
+ declare const _default_32: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
2013
2058
 
2014
- declare const _default_32: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
2059
+ declare const _default_33: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
2015
2060
 
2016
- declare const _default_33: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
2061
+ declare const _default_34: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
2017
2062
 
2018
- declare const _default_34: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
2063
+ declare const _default_35: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
2019
2064
 
2020
- declare const _default_35: DefineComponent<IToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2065
+ declare const _default_36: DefineComponent<IToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2021
2066
  sendData: (data: IData<unknown>) => any;
2022
2067
  }, string, PublicProps, Readonly<IToastProps> & Readonly<{
2023
2068
  onSendData?: (data: IData<unknown>) => any;
@@ -2029,33 +2074,33 @@ showActionButton: boolean;
2029
2074
  textButton: string;
2030
2075
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2031
2076
 
2032
- declare const _default_36: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
2077
+ declare const _default_37: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
2033
2078
 
2034
- declare const _default_37: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
2079
+ declare const _default_38: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
2035
2080
 
2036
- declare const _default_38: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
2081
+ declare const _default_39: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
2037
2082
 
2038
- declare const _default_39: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{}>, {
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<{}>, {
2039
2089
  type: "spinner" | "semi-circle" | "dots";
2040
2090
  blur: boolean;
2041
2091
  background: "smoky" | "transparent" | "black";
2042
2092
  showLoading: boolean;
2043
2093
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2044
2094
 
2045
- declare const _default_4: DefineComponent<IProgressStepsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IProgressStepsProps> & Readonly<{}>, {
2046
- position: "horizontal" | "vertical";
2047
- showInitialStep: boolean;
2048
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2049
-
2050
- 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"]>;
2051
2096
 
2052
- declare const _default_41: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
2097
+ declare const _default_42: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
2053
2098
 
2054
- declare const _default_42: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
2099
+ declare const _default_43: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
2055
2100
 
2056
- declare const _default_43: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
2101
+ declare const _default_44: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
2057
2102
 
2058
- declare const _default_44: DefineComponent<__VLS_Props_32, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2103
+ declare const _default_45: DefineComponent<__VLS_Props_32, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2059
2104
  redirect: (valor?: string) => any;
2060
2105
  }, string, PublicProps, Readonly<__VLS_Props_32> & Readonly<{
2061
2106
  onRedirect?: (valor?: string) => any;
@@ -2064,11 +2109,11 @@ background: "white" | "green" | "black";
2064
2109
  variant: "1" | "2" | "3" | "4" | "5";
2065
2110
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2066
2111
 
2067
- declare const _default_45: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
2112
+ declare const _default_46: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
2068
2113
 
2069
- declare const _default_46: DefineComponent<__VLS_Props_34, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_34> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2114
+ declare const _default_47: DefineComponent<__VLS_Props_34, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_34> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2070
2115
 
2071
- declare const _default_47: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
2116
+ declare const _default_48: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
2072
2117
 
2073
2118
  declare const _default_5: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2074
2119
  "update:modelValue": (value: number) => any;
@@ -2122,7 +2167,7 @@ id: string | number;
2122
2167
  disabled: boolean;
2123
2168
  text: string;
2124
2169
  variant: "text" | "radio";
2125
- selected: number;
2170
+ selected: number | string;
2126
2171
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
2127
2172
 
2128
2173
  export declare const disableCeLoading: () => void;
@@ -2156,8 +2201,14 @@ declare type Header = {
2156
2201
  value: string | ((item: Record<string, unknown>) => string);
2157
2202
  sortable?: boolean;
2158
2203
  width?: string;
2204
+ editableField?: {
2205
+ type: InputType | 'boolean';
2206
+ mask?: string | string[];
2207
+ };
2159
2208
  };
2160
2209
 
2210
+ declare type HexColor = `#${string}`;
2211
+
2161
2212
  declare interface IBreadcrumbsProps {
2162
2213
  /** Define o ponto de partida do breadcrumbs */
2163
2214
  home: string;
@@ -2250,6 +2301,8 @@ declare interface IItems {
2250
2301
  showDescription?: boolean;
2251
2302
  }
2252
2303
 
2304
+ declare type InputType = 'number' | 'search' | 'time' | 'text' | 'password' | 'email' | 'tel' | 'url' | 'date' | 'datetime-local';
2305
+
2253
2306
  declare type IProgressStepsProps = {
2254
2307
  /** Define os itens que serão exibidos */
2255
2308
  items: IItems[];
@@ -2375,8 +2428,20 @@ declare interface Props {
2375
2428
  clearButton?: boolean;
2376
2429
  }
2377
2430
 
2431
+ declare interface Props_2 {
2432
+ text: string;
2433
+ indexItem?: number;
2434
+ indexHeader?: number;
2435
+ maxLength?: number;
2436
+ reserveSpaceFeedback?: boolean;
2437
+ }
2438
+
2378
2439
  export declare const removeCeToast: (id: number) => void;
2379
2440
 
2441
+ declare type RgbaColor = `rgba(${string})`;
2442
+
2443
+ declare type RgbColor = `rgb(${string})`;
2444
+
2380
2445
  declare interface SelectOption {
2381
2446
  label?: string;
2382
2447
  value?: string | number | boolean | null;
@@ -2460,6 +2525,7 @@ declare module 'vue' {
2460
2525
  'ce-button-pagination': typeof ButtonPaginationComponent;
2461
2526
  'ce-textarea': typeof TextareaComponent;
2462
2527
  'ce-code-input': typeof CodeInputComponent;
2528
+ 'ce-truncated': typeof TruncatedComponent;
2463
2529
  }
2464
2530
  }
2465
2531
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/react-components",
3
- "version": "0.31.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.2",
23
- "vitest-sonar-reporter": "^2.0.0",
24
- "vue": "^3.5.13"
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.1.1",
31
- "@storybook/addon-actions": "^8.5.5",
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.5.5",
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.5.5",
39
+ "@storybook/manager-api": "^8.6.14",
40
40
  "@storybook/test": "8.5.5",
41
- "@storybook/theming": "^8.5.5",
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.0",
44
+ "@tsconfig/node22": "^22.0.5",
45
45
  "@types/jsdom": "^21.1.7",
46
- "@types/node": "^22.13.2",
47
- "@types/react": "^17.0.85",
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.4.1",
50
- "@vitejs/plugin-vue": "^5.2.1",
51
- "@vitejs/plugin-vue-jsx": "^4.1.1",
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.4.0",
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.20",
60
- "eslint": "^9.20.1",
61
- "eslint-plugin-storybook": "^0.11.2",
62
- "eslint-plugin-vue": "^9.32.0",
63
- "jiti": "^2.4.2",
64
- "jsdom": "^26.0.0",
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.2",
67
- "prettier": "^3.5.1",
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.17",
71
+ "tailwindcss": "^3.4.19",
72
72
  "typescript": "~5.7.3",
73
- "vite": "^6.1.0",
73
+ "vite": "^6.4.1",
74
74
  "vite-plugin-css-injected-by-js": "^3.5.2",
75
- "vite-plugin-dts": "^4.5.0",
76
- "vite-plugin-vue-devtools": "^7.7.2",
77
- "vitest": "^3.0.5",
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.0"
79
+ "vue-tsc": "^2.2.12"
80
80
  },
81
81
  "contributors": [
82
82
  {