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