@comercti/react-components-hmg 0.15.2 → 0.18.1

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
@@ -256,16 +256,17 @@ dropdownRef: HTMLButtonElement;
256
256
 
257
257
  declare const __VLS_component_7: DefineComponent<__VLS_Props_11, {
258
258
  focus: () => void;
259
+ valorSemMascara: Ref<string | number, string | number>;
259
260
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
260
261
  "update:modelValue": (value: string | number | CustomEvent<any>) => any;
261
262
  change: (value: string | number | CustomEvent<any>) => any;
262
263
  input: (value: string | number | CustomEvent<any>) => any;
263
- blur: (value: Event) => any;
264
+ blur: (value: string | number | CustomEvent<any>) => any;
264
265
  }, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
265
266
  "onUpdate:modelValue"?: (value: string | number | CustomEvent<any>) => any;
266
267
  onChange?: (value: string | number | CustomEvent<any>) => any;
267
268
  onInput?: (value: string | number | CustomEvent<any>) => any;
268
- onBlur?: (value: Event) => any;
269
+ onBlur?: (value: string | number | CustomEvent<any>) => any;
269
270
  }>, {
270
271
  invalid: boolean;
271
272
  disabled: boolean;
@@ -349,7 +350,7 @@ declare type __VLS_Props_11 = {
349
350
  type?: 'text' | 'password' | 'email' | 'number' | 'tel' | 'url' | 'search' | 'date' | 'time' | 'datetime-local';
350
351
  /** ID única do input */
351
352
  id?: string;
352
- /** Máscara do input (cpf, cnpj, cel, tel, date, cep) o type do input deve ser o 'text' */
353
+ /** Máscara do input (Exemplo de formato esperado: ###.###.###-##)*/
353
354
  mask?: string | string[];
354
355
  /** Texto do placeholder do input */
355
356
  placeholder?: string;
@@ -521,6 +522,8 @@ declare type __VLS_Props_19 = {
521
522
  isSearch?: boolean;
522
523
  /** Se true inicializa o menu aberto */
523
524
  isOpen?: boolean;
525
+ /** Título do menu */
526
+ title?: string;
524
527
  };
525
528
 
526
529
  declare type __VLS_Props_2 = {
@@ -1650,7 +1653,17 @@ declare interface Coluna {
1650
1653
  }
1651
1654
 
1652
1655
  declare type DataTableProps = {
1653
- /** Array utilizado no header da tabela */
1656
+ /** Array utilizado no header da tabela
1657
+ *
1658
+ * text: string
1659
+ *
1660
+ * value: string | ((item: Record<string, unknown>) => string)
1661
+ *
1662
+ * sortable?: boolean
1663
+ *
1664
+ * width?: string
1665
+ *
1666
+ */
1654
1667
  headers: Header[];
1655
1668
  /** Ativa a opção de selecinar os conteúdos da tabela */
1656
1669
  selectable?: boolean;
@@ -1812,6 +1825,7 @@ toggleMenu: (clicado: boolean) => any;
1812
1825
  onRedirect?: (item: SubMenu | ItensMenu_2) => any;
1813
1826
  onToggleMenu?: (clicado: boolean) => any;
1814
1827
  }>, {
1828
+ title: string;
1815
1829
  itemsSearch: ItensMenu_2[];
1816
1830
  isHome: boolean;
1817
1831
  isSearch: boolean;
@@ -1952,6 +1966,7 @@ declare type Header = {
1952
1966
  text: string;
1953
1967
  value: string | ((item: Record<string, unknown>) => string);
1954
1968
  sortable?: boolean;
1969
+ width?: string;
1955
1970
  };
1956
1971
 
1957
1972
  declare interface IBreadcrumbsProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/react-components-hmg",
3
- "version": "0.15.2",
3
+ "version": "0.18.1",
4
4
  "types": "index.d.ts",
5
5
  "type": "module",
6
6
  "license": "private",