@comercti/vue-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
@@ -244,7 +244,7 @@ onInput?: (value: string | number | CustomEvent<any>) => any;
244
244
  onBlur?: (value: Event) => any;
245
245
  onChange?: (value: string | number | CustomEvent<any>) => any;
246
246
  }>, {
247
- type: "text" | "password" | "email" | "number" | "tel" | "url" | "search" | "date";
247
+ type: "text" | "password" | "email" | "number" | "tel" | "url" | "search" | "date" | "time";
248
248
  invalid: boolean;
249
249
  disabled: boolean;
250
250
  reserveSpaceFeedback: boolean;
@@ -763,9 +763,11 @@ declare type __VLS_Props_8 = {
763
763
  /** Valor do input para two-way binding (v-model) */
764
764
  modelValue?: string | number | null;
765
765
  /** Tipo do input (text, password, email, etc) */
766
- type?: 'text' | 'password' | 'email' | 'number' | 'tel' | 'url' | 'search' | 'date';
766
+ type?: 'text' | 'password' | 'email' | 'number' | 'tel' | 'url' | 'search' | 'date' | 'time';
767
767
  /** ID única do input */
768
768
  id?: string;
769
+ /** Máscara do input (cpf, cnpj, cel, tel, date, cep) */
770
+ mask?: 'cpf' | 'cnpj' | 'cel' | 'tel' | 'cep';
769
771
  /** Texto do placeholder do input */
770
772
  placeholder?: string;
771
773
  /** Texto da label exibida acima do input */
@@ -1722,6 +1724,20 @@ export declare const CeTab: __VLS_WithTemplateSlots_13<typeof __VLS_component_13
1722
1724
 
1723
1725
  export declare const CeTabItem: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
1724
1726
 
1727
+ export declare const CeTextarea: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1728
+ "update:modelValue": (value: string) => any;
1729
+ input: (value: string) => any;
1730
+ }, string, PublicProps, Readonly<Props> & Readonly<{
1731
+ "onUpdate:modelValue"?: (value: string) => any;
1732
+ onInput?: (value: string) => any;
1733
+ }>, {
1734
+ invalid: boolean;
1735
+ modelValue: string;
1736
+ disabled: boolean;
1737
+ reserveSpaceFeedback: boolean;
1738
+ clearButton: boolean;
1739
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1740
+
1725
1741
  export declare const CeToast: DefineComponent<IToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1726
1742
  sendData: (data: IData_2<unknown>) => any;
1727
1743
  }, string, PublicProps, Readonly<IToastProps> & Readonly<{
@@ -1925,6 +1941,29 @@ declare type PaginationProps = {
1925
1941
  modelValue?: number;
1926
1942
  };
1927
1943
 
1944
+ declare interface Props {
1945
+ /** Valor do textarea para two-way binding (v-model) */
1946
+ modelValue: string;
1947
+ /** Texto da label exibida acima do textarea */
1948
+ label?: string;
1949
+ /** Desativa o textarea */
1950
+ disabled?: boolean;
1951
+ /** Indica se o textarea é inválido */
1952
+ invalid?: boolean;
1953
+ /** Mensagem de feedback para o usuário quando o textarea é inválido */
1954
+ invalidFeedback?: string;
1955
+ /** Texto exibido como placeholder no textarea */
1956
+ placeholder?: string;
1957
+ /** Limite máximo de caracteres permitidos no textarea */
1958
+ maxlength?: number;
1959
+ /** Texto de ajuda exibido abaixo do textarea */
1960
+ hint?: string;
1961
+ /** Reserva espaço para mensagens de feedback, evitando mudanças de layout */
1962
+ reserveSpaceFeedback?: boolean;
1963
+ /** Exibe um botão para limpar o conteúdo do textarea */
1964
+ clearButton?: boolean;
1965
+ }
1966
+
1928
1967
  export declare const removeCeToast: (id: number) => void;
1929
1968
 
1930
1969
  declare interface SelectOption {
@@ -2007,6 +2046,7 @@ declare module 'vue' {
2007
2046
  'ce-toggle': typeof ToggleComponent;
2008
2047
  'ce-button-wrapper': typeof ButtonWrapperComponent;
2009
2048
  'ce-button-pagination': typeof ButtonPaginationComponent;
2049
+ 'ce-textarea': typeof TextareaComponent;
2010
2050
  }
2011
2051
  }
2012
2052
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/vue-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",