@jvsoft/utils 1.0.0-alpha.4 → 1.0.0-alpha.6

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.
Files changed (49) hide show
  1. package/fesm2022/jvsoft-utils.mjs +224 -25
  2. package/fesm2022/jvsoft-utils.mjs.map +1 -1
  3. package/functions/base64.d.ts +87 -0
  4. package/functions/mat-form-controls/autocomplete.d.ts +27 -0
  5. package/functions/objects-arrays.d.ts +16 -0
  6. package/package.json +1 -13
  7. package/public-api.d.ts +3 -3
  8. package/fesm2022/jvsoft-utils-src-functions.mjs +0 -1508
  9. package/fesm2022/jvsoft-utils-src-functions.mjs.map +0 -1
  10. package/fesm2022/jvsoft-utils-src-interfaces.mjs +0 -6
  11. package/fesm2022/jvsoft-utils-src-interfaces.mjs.map +0 -1
  12. package/fesm2022/jvsoft-utils-src-pipes.mjs +0 -290
  13. package/fesm2022/jvsoft-utils-src-pipes.mjs.map +0 -1
  14. package/functions/index.d.ts +0 -1
  15. package/interfaces/index.d.ts +0 -1
  16. package/pipes/index.d.ts +0 -1
  17. package/src/functions/base64.d.ts +0 -2
  18. package/src/functions/browser.d.ts +0 -1
  19. package/src/functions/crypto-js.d.ts +0 -2
  20. package/src/functions/date.d.ts +0 -3
  21. package/src/functions/dev-log.d.ts +0 -97
  22. package/src/functions/email.d.ts +0 -2
  23. package/src/functions/file.d.ts +0 -10
  24. package/src/functions/forms.d.ts +0 -23
  25. package/src/functions/http-client.d.ts +0 -2
  26. package/src/functions/index.d.ts +0 -5
  27. package/src/functions/local-storage.d.ts +0 -29
  28. package/src/functions/mat-form-controls/autocomplete.d.ts +0 -21
  29. package/src/functions/mat-form-controls/index.d.ts +0 -2
  30. package/src/functions/number.d.ts +0 -2
  31. package/src/functions/object-transformation.d.ts +0 -2
  32. package/src/functions/objects-arrays.d.ts +0 -47
  33. package/src/functions/public-api.d.ts +0 -17
  34. package/src/functions/string.d.ts +0 -23
  35. package/src/functions/sweetalert.d.ts +0 -5
  36. package/src/functions/utiles.d.ts +0 -1
  37. package/src/interfaces/datos.d.ts +0 -4
  38. package/src/interfaces/index.d.ts +0 -5
  39. package/src/interfaces/public-api.d.ts +0 -1
  40. package/src/pipes/data-en-lista.pipe.d.ts +0 -8
  41. package/src/pipes/date-diff-string.pipe.d.ts +0 -17
  42. package/src/pipes/filtro.pipe.d.ts +0 -18
  43. package/src/pipes/form-control-is-required.pipe.d.ts +0 -9
  44. package/src/pipes/index.d.ts +0 -5
  45. package/src/pipes/json-parse.pipe.d.ts +0 -7
  46. package/src/pipes/no-sanitize.pipe.d.ts +0 -10
  47. package/src/pipes/public-api.d.ts +0 -8
  48. package/src/pipes/tipo-valor-funcion.pipe.d.ts +0 -9
  49. package/src/pipes/zero-fill.pipe.d.ts +0 -8
@@ -1,2 +0,0 @@
1
- export declare function b64Encode(val: string): string;
2
- export declare function b64Decode(val: string): string;
@@ -1 +0,0 @@
1
- export declare function getBrowserName(): "edge" | "opera" | "chrome" | "ie" | "firefox" | "safari" | "other";
@@ -1,2 +0,0 @@
1
- export declare function encriptar(text: string): string;
2
- export declare function desencriptar(ciphertext: string): string;
@@ -1,3 +0,0 @@
1
- export declare function formatearFechaFormato(val: string, format?: string): string;
2
- export declare function formatearFecha(val: string, hora?: string): string | Date;
3
- export declare function formatearFechaCadena(fecha: string): Date;
@@ -1,97 +0,0 @@
1
- /**
2
- * Configura el modo de producción para las utilidades de logging
3
- * @param production - true si está en modo producción, false para desarrollo
4
- *
5
- * @example
6
- * ```typescript
7
- * import { setProductionMode } from '@jvsoft/utils';
8
- * import { environment } from './environments/environment';
9
- *
10
- * setProductionMode(environment.production);
11
- * ```
12
- */
13
- export declare function setProductionMode(production: boolean): void;
14
- /**
15
- * Obtiene el estado actual del modo de producción
16
- * @returns true si está en modo producción, false en desarrollo
17
- */
18
- export declare function isProduction(): boolean;
19
- /**
20
- * Muestra mensajes de log solo en modo desarrollo
21
- * @param args - Argumentos a mostrar en consola
22
- *
23
- * @example
24
- * ```typescript
25
- * devLog('Usuario cargado:', usuario);
26
- * devLog('Estado:', { activo: true, rol: 'admin' });
27
- * ```
28
- */
29
- export declare function devLog(...args: any[]): void;
30
- /**
31
- * Muestra advertencias solo en modo desarrollo
32
- * @param args - Argumentos a mostrar como advertencia
33
- *
34
- * @example
35
- * ```typescript
36
- * devWarn('Función deprecada, usar nuevaFuncion() en su lugar');
37
- * ```
38
- */
39
- export declare function devWarn(...args: any[]): void;
40
- /**
41
- * Muestra errores en consola (siempre, incluso en producción)
42
- * @param args - Argumentos a mostrar como error
43
- *
44
- * @example
45
- * ```typescript
46
- * devError('Error al cargar datos:', error);
47
- * ```
48
- */
49
- export declare function devError(...args: any[]): void;
50
- /**
51
- * Crea un grupo de logs solo en modo desarrollo
52
- * @param label - Etiqueta del grupo
53
- * @param collapsed - Si el grupo debe estar colapsado por defecto
54
- *
55
- * @example
56
- * ```typescript
57
- * devGroup('Datos del usuario');
58
- * devLog('Nombre:', usuario.nombre);
59
- * devLog('Email:', usuario.email);
60
- * devGroupEnd();
61
- * ```
62
- */
63
- export declare function devGroup(label: string, collapsed?: boolean): void;
64
- /**
65
- * Cierra el grupo de logs actual
66
- */
67
- export declare function devGroupEnd(): void;
68
- /**
69
- * Muestra una tabla en consola solo en modo desarrollo
70
- * @param data - Datos a mostrar en formato tabla
71
- *
72
- * @example
73
- * ```typescript
74
- * devTable([
75
- * { nombre: 'Juan', edad: 25 },
76
- * { nombre: 'María', edad: 30 }
77
- * ]);
78
- * ```
79
- */
80
- export declare function devTable(data: any): void;
81
- /**
82
- * Inicia un temporizador solo en modo desarrollo
83
- * @param label - Etiqueta del temporizador
84
- *
85
- * @example
86
- * ```typescript
87
- * devTime('carga-datos');
88
- * // ... código a medir
89
- * devTimeEnd('carga-datos'); // Muestra: carga-datos: 123.45ms
90
- * ```
91
- */
92
- export declare function devTime(label: string): void;
93
- /**
94
- * Finaliza un temporizador y muestra el tiempo transcurrido
95
- * @param label - Etiqueta del temporizador
96
- */
97
- export declare function devTimeEnd(label: string): void;
@@ -1,2 +0,0 @@
1
- export declare function maskEmail(email: string): string;
2
- export declare function isEmail(email: string): boolean;
@@ -1,10 +0,0 @@
1
- export declare function obtenerMimeType(nombreArchivo: string): string | null;
2
- export declare function sanitizarNombreArchivo(nombre: string, reemplazo?: string): string;
3
- export declare function getDataArchivoFromPath(value: string, conTimeStamp?: boolean): {
4
- nombre: string;
5
- extension?: string;
6
- d?: any;
7
- fechaSubida: any;
8
- };
9
- export declare function convertirBytes(valor: number, unidadSalida?: string | null, incluirUnidad?: boolean): string | number | null;
10
- export declare function downLoadFileStream(data: any, type: string, nombreArchivo?: string): void;
@@ -1,23 +0,0 @@
1
- import { AbstractControl, FormControl, FormGroup } from '@angular/forms';
2
- import { BehaviorSubject } from 'rxjs';
3
- export declare function establecerQuitarRequired(formulario: FormGroup, establecer?: any[], quitar?: any[], camposDisabled?: string[] | 'todos'): void;
4
- export declare function getFormValidationErrors(form: FormGroup): {
5
- control: string;
6
- error: string;
7
- value: any;
8
- }[];
9
- export declare function mensajesErrorFormControl(control: AbstractControl | null): string;
10
- export declare function toFormData<T extends Record<string, any>>(formValue: T): FormData;
11
- export declare function markAsTouchedWithoutEmitEvent(control: AbstractControl): void;
12
- export interface SetControlDesdeListaConfig<T, V = any> {
13
- lista$: BehaviorSubject<T[]>;
14
- formControl?: FormControl<V>;
15
- formGroup?: FormGroup;
16
- controlName?: string;
17
- idProp?: keyof T;
18
- idValor?: any;
19
- selector?: (item: T) => V;
20
- usarPrimeraOpcion?: boolean;
21
- }
22
- export declare function setControlDesdeLista<T, V = any>(config: SetControlDesdeListaConfig<T, V>): void;
23
- export declare function transformarFechasPorNombreDeCampo<T extends Record<string, any>>(formValue: T): T;
@@ -1,2 +0,0 @@
1
- import { HttpErrorResponse } from '@angular/common/http';
2
- export declare function mensajesDeError(error: HttpErrorResponse, toast?: boolean): void;
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@jvsoft/utils/src/functions" />
5
- export * from './public-api';
@@ -1,29 +0,0 @@
1
- export interface JwtTokenResponse {
2
- access_token: string;
3
- expires_in: number;
4
- token_type: string;
5
- user: any;
6
- }
7
- export interface DataSessionStorage {
8
- tokenStringKey?: string;
9
- changePasswordKey?: string;
10
- logoUrl?: string;
11
- logoLogin?: string;
12
- backgroundLogin?: string;
13
- favicon?: string;
14
- darkMode?: string;
15
- serverTimestamp?: string;
16
- apiDataKey?: string;
17
- }
18
- export declare let localStorageKeys: DataSessionStorage;
19
- export declare function inicializarVariablesSessionStorage(datSesion: DataSessionStorage): void;
20
- export declare function setJwtTokenData(data: string): void;
21
- export declare function jwtTokenData(key?: string): JwtTokenResponse | null;
22
- export declare function jwtToken(key?: string): string;
23
- export declare function jwtTokenExpiracion(key?: string): number | null;
24
- export declare function jwtTokenExpiracionFaltante(): number;
25
- export declare function setCambiarPwd(accion?: boolean): void;
26
- export declare function getCambiarPwd(): boolean | null;
27
- export declare function delLocalStorage(keyElim?: string[]): void;
28
- export declare function getLocalStorage(key: string | undefined): string | null;
29
- export declare function setLocalStorage(key: string, value?: string): void;
@@ -1,21 +0,0 @@
1
- import { AbstractControl } from '@angular/forms';
2
- export declare function mostrarValorEnBusqueda(campos: any, idxSel: any): string;
3
- export declare function changeSelectData(objThis: any, dataFiltro: {
4
- formControl: AbstractControl;
5
- data: any[];
6
- campoBuscar: string | string[];
7
- variableResultado: string;
8
- }): void;
9
- export declare function changeSelect(control: any, formControl: AbstractControl, tipo: any, campoBuscar: any, campoFiltro?: null): void;
10
- export declare function changeSelectDataApi(objThis: any, dataFiltro: {
11
- tipoReq: string;
12
- campoId?: string;
13
- minLength?: number;
14
- dataExtra?: any;
15
- dataExtraVariable?: any;
16
- anonimo?: boolean;
17
- queryService: any;
18
- formControl: AbstractControl;
19
- variableResultado?: string;
20
- }): void;
21
- export declare function changeSelectApi(control: any, queryService: any, formControl: AbstractControl, tipo: any, dataExtra?: {}, dataExtraVariable?: any[] | null, minLength?: number, anonimo?: boolean): void;
@@ -1,2 +0,0 @@
1
- export * from './autocomplete';
2
- export declare function seleccionarTextoInput(event: any): void;
@@ -1,2 +0,0 @@
1
- export declare function roundToDecimal(number: number, decimal: number): number;
2
- export declare function numberToWords(num: number): string;
@@ -1,2 +0,0 @@
1
- export declare function objectPropertiesToType(formFields: Record<string, any>): Record<string, any>;
2
- export declare function objectPropertiesBoolean(formFields: Record<string, any>, retorno?: 'boolean' | 'bit'): Record<string, any>;
@@ -1,47 +0,0 @@
1
- export declare function deepMerge(source: any, target: any): any;
2
- export declare function deepClone(obj: any): any;
3
- /**
4
- * Busca un elemento en un array o jerarquía de objetos según un campo y valor especificado.
5
- *
6
- * @returns El elemento encontrado o undefined si no existe.
7
- */
8
- export declare function buscarPorCampo<T>(datosFn: {
9
- items: T[];
10
- campo: keyof T;
11
- valor: any;
12
- campoHijo?: string;
13
- }): T | undefined;
14
- export declare function sumarPropiedades(item: Record<string, any>, campos: string[]): number;
15
- export declare function esNumero(value: any): boolean;
16
- export declare function sumarObjetos(arrayObjetos: any[], campos: string[]): Record<string, number>;
17
- export declare function getUniqueValues(array: any[]): any[];
18
- export declare function getUniqueValuesByProperty<T>(objetos: T[], campo: string): T[];
19
- export declare function ordenarArray(array: any[], numeros?: boolean, sentido?: 'ASC' | 'DESC'): any[];
20
- export declare function ordenarPorPropiedad(objData: any, propiedad: string, /**@deprecated*/ numeros?: boolean): {
21
- [x: string]: {};
22
- }[];
23
- export declare function ordenarPorPropiedades<T>(arr: T[], options: {
24
- propiedades: (keyof T)[];
25
- direcciones?: ('asc' | 'desc' | '')[];
26
- }): T[];
27
- export declare function groupBy<T extends Record<string, any>, K extends keyof T>(array: T[], key: K | ((obj: T) => string)): Record<string, T[]>;
28
- export declare function nestGroupsBy(arr: any, properties: any): any;
29
- /**
30
- * Retorna el valor máximo del campo especificado (incluso anidado) en un arreglo de objetos.
31
- *
32
- * @param data - Lista de objetos a procesar.
33
- * @param campo - Nombre del campo a evaluar, puede ser anidado (ej. "campo.orden").
34
- * @param incrementar - Si es true, retorna el valor máximo + 1. Por defecto es true.
35
- * @returns El valor máximo encontrado, posiblemente incrementado.
36
- */
37
- export declare function obtenerUltimoOrden(data: any[], campo: string, incrementar?: boolean): number;
38
- /**
39
- * Elimina una o varias columnas específicas (por índice) de una tabla representada como array de arrays.
40
- *
41
- * @param data - Array de filas (cada fila debe ser un array).
42
- * @param columnIndex - Índice o lista de índices de las columnas a eliminar.
43
- * @returns Nuevo array con las columnas eliminadas.
44
- */
45
- export declare function eliminarColumnaPorIndex<T extends unknown[][]>(data: T, columnIndex: number | number[]): T;
46
- export declare function eliminarDuplicados<T extends object>(array: T[], claves?: (keyof T)[]): T[];
47
- export declare function eliminarElementos<T extends object>(origen: T[], elementosAEliminar: T[], claves?: (keyof T)[]): T[];
@@ -1,17 +0,0 @@
1
- export * from './mat-form-controls';
2
- export * from './base64';
3
- export * from './browser';
4
- export * from './crypto-js';
5
- export * from './date';
6
- export * from './dev-log';
7
- export * from './email';
8
- export * from './file';
9
- export * from './forms';
10
- export * from './http-client';
11
- export * from './local-storage';
12
- export * from './number';
13
- export * from './object-transformation';
14
- export * from './objects-arrays';
15
- export * from './string';
16
- export * from './sweetalert';
17
- export * from './utiles';
@@ -1,23 +0,0 @@
1
- export declare function generateRandomString(length: number): string;
2
- /**
3
- * Obtiene el host (hostname) de una URL o cadena host[:port].
4
- * Opcionalmente puede devolver también el puerto si está presente.
5
- *
6
- * - Acepta inputs como:
7
- * 'https://example.com/path', 'example.com:3000', 'localhost', 'http://[::1]:4200'
8
- * - Usa la API URL cuando es posible (más robusta) y cae a un regex de respaldo.
9
- *
10
- * @param url Cadena que representa una URL o host
11
- * @param options
12
- * @param options.includePort Si es true, incluye":puerto" cuando exista (por defecto false)
13
- * @param options.includeProtocol Incluye "http://" o "https://" según corresponda (por defecto false)
14
- */
15
- export declare function obtenerHostDesdeUrl(url: string | null | undefined, options?: {
16
- includePort?: boolean;
17
- includeProtocol?: boolean;
18
- }): string | null;
19
- /** @deprecated Alias compatible (deprecated) — preferir usar `obtenerHostDesdeUrl`. */
20
- export declare const extraerDominio: (url: string | null | undefined, options?: {
21
- includePort?: boolean;
22
- includeProtocol?: boolean;
23
- }) => string | null;
@@ -1,5 +0,0 @@
1
- import { SweetAlertOptions, SweetAlertResult } from 'sweetalert2';
2
- export declare function mensajeAlerta(tipo: 'success' | 'error' | 'info' | 'warning' | 'question', titulo: string, mensaje: string, opciones?: SweetAlertOptions): Promise<SweetAlertResult<any>>;
3
- export declare function mensajeTimer(tipo: 'success' | 'error' | 'info' | 'warning' | 'question', titulo: string, mensaje: string, milisegundos?: number, showLoading?: boolean, opciones?: SweetAlertOptions): Promise<SweetAlertResult<any>>;
4
- export declare function mensajeConfirmacion(tipo: 'success' | 'error' | 'info' | 'warning' | 'question', titulo: any, mensaje: any, opciones?: SweetAlertOptions): Promise<SweetAlertResult<Awaited<any>>>;
5
- export declare function mensajeToast(tipo: 'success' | 'error' | 'info' | 'warning' | 'question', titulo: string, mensaje: string, opciones?: SweetAlertOptions): Promise<SweetAlertResult<any>>;
@@ -1 +0,0 @@
1
- export declare function verificarRUC(ruc: string): boolean;
@@ -1,4 +0,0 @@
1
- import { BehaviorSubject } from 'rxjs';
2
- export interface DataServidor {
3
- [key: string]: BehaviorSubject<any>;
4
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@jvsoft/utils/src/interfaces" />
5
- export * from './public-api';
@@ -1 +0,0 @@
1
- export * from './datos';
@@ -1,8 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class DataEnListaPipe implements PipeTransform {
4
- transform(coleccion: object[], idBuscar: string | string[], dato: any): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<DataEnListaPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<DataEnListaPipe, "dataEnLista", true>;
7
- }
8
- export declare function dataEnLista(coleccion: object[], idBuscar: string | string[], dato: any): any;
@@ -1,17 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class DateDiffStringPipe implements PipeTransform {
4
- transform(startingDate: Date, endingDate: Date): any;
5
- separarMilisegundos(milisegundos: any): {
6
- years: number;
7
- months: number;
8
- weeks: number;
9
- days: number;
10
- hours: number;
11
- minutes: number;
12
- seconds: number;
13
- };
14
- static ɵfac: i0.ɵɵFactoryDeclaration<DateDiffStringPipe, never>;
15
- static ɵpipe: i0.ɵɵPipeDeclaration<DateDiffStringPipe, "dateDiffString", true>;
16
- }
17
- export declare function dateDiffString(startingDate: Date, endingDate: Date): any;
@@ -1,18 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- interface OpcionesBusqueda {
4
- texto: string;
5
- longitudMinima?: number;
6
- campo?: string | string[];
7
- mostrarObligado?: MostrarObligado;
8
- }
9
- interface MostrarObligado {
10
- campo: string;
11
- items: any[];
12
- }
13
- export declare class FiltroPipe implements PipeTransform {
14
- transform(items: any[], opcionesBusqueda: OpcionesBusqueda): any[];
15
- static ɵfac: i0.ɵɵFactoryDeclaration<FiltroPipe, never>;
16
- static ɵpipe: i0.ɵɵPipeDeclaration<FiltroPipe, "filtro", true>;
17
- }
18
- export {};
@@ -1,9 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { AbstractControl } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class FormControlIsRequiredPipe implements PipeTransform {
5
- transform(formControl: AbstractControl, ...args: unknown[]): any;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<FormControlIsRequiredPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<FormControlIsRequiredPipe, "formControlIsRequired", true>;
8
- }
9
- export declare function formControlIsRequired(formControl: AbstractControl): any;
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@jvsoft/utils/src/pipes" />
5
- export * from './public-api';
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class JsonParsePipe implements PipeTransform {
4
- transform(value: string, ...args: unknown[]): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<JsonParsePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<JsonParsePipe, "jsonParse", true>;
7
- }
@@ -1,10 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
- import * as i0 from "@angular/core";
4
- export declare class NoSanitizePipe implements PipeTransform {
5
- private domSanitizer;
6
- constructor(domSanitizer: DomSanitizer);
7
- transform(html: string): SafeHtml;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<NoSanitizePipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<NoSanitizePipe, "noSanitize", true>;
10
- }
@@ -1,8 +0,0 @@
1
- export * from './data-en-lista.pipe';
2
- export * from './date-diff-string.pipe';
3
- export * from './filtro.pipe';
4
- export * from './form-control-is-required.pipe';
5
- export * from './json-parse.pipe';
6
- export * from './no-sanitize.pipe';
7
- export * from './tipo-valor-funcion.pipe';
8
- export * from './zero-fill.pipe';
@@ -1,9 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export type TipoValorFuncion<T> = T | ((...param: any) => T);
4
- export declare class TipoValorFuncionPipe implements PipeTransform {
5
- transform<T>(datoParam: TipoValorFuncion<T>, defaultValue?: T, ...param: any[]): T | undefined;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TipoValorFuncionPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<TipoValorFuncionPipe, "tipoValorFuncion", true>;
8
- }
9
- export declare function tipoValorFuncion<T>(datoParam: TipoValorFuncion<T>, defaultValue?: T, ...param: any[]): T | undefined;
@@ -1,8 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ZeroFillPipe implements PipeTransform {
4
- transform(value: unknown, digitos: number, ...args: unknown[]): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ZeroFillPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<ZeroFillPipe, "zeroFill", true>;
7
- }
8
- export declare function zeroFill(value: unknown, digitos: number, ...args: unknown[]): string;