oxpi-nglib 2.0.47 → 2.0.48

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.
@@ -13,6 +13,7 @@ export interface Pessoa {
13
13
  cidade?: string;
14
14
  cep?: string;
15
15
  cnpjCpf?: string;
16
+ cnpjCpfFormatado?: string | null;
16
17
  ieRg?: string;
17
18
  contato?: string;
18
19
  email?: string;
@@ -1,5 +1,6 @@
1
1
  export declare function printTxt(txt: string): void;
2
2
  export declare function printHtml(r: any): void;
3
3
  export declare function selectText(ev: any): void;
4
+ export declare function formatCpfCnpj(cpfCnpj: string | null | undefined): string | null;
4
5
  export declare function validCpf(cpf: string): boolean;
5
6
  export declare function validaCnpj(cnpj: string): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oxpi-nglib",
3
- "version": "2.0.47",
3
+ "version": "2.0.48",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.2.7",
6
6
  "@angular/core": "^16.2.7"