@jvsoft/utils 0.0.4 → 0.0.5

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.
@@ -0,0 +1,9 @@
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;
@@ -0,0 +1,2 @@
1
+ export declare function maskEmail(email: string): string;
2
+ export declare function isEmail(email: string): boolean;
@@ -18,4 +18,4 @@ export declare function changeSelectDataApi(objThis: any, dataFiltro: {
18
18
  formControl: AbstractControl;
19
19
  variableResultado?: string;
20
20
  }): void;
21
- export declare function changeSelectApi(control: any, queryService: any, formControl: AbstractControl, tipo: any, dataExtra?: {}, dataExtraVariable?: null, minLength?: number, anonimo?: boolean): void;
21
+ export declare function changeSelectApi(control: any, queryService: any, formControl: AbstractControl, tipo: any, dataExtra?: {}, dataExtraVariable?: any[] | null, minLength?: number, anonimo?: boolean): void;
@@ -3,6 +3,7 @@ export * from './base64';
3
3
  export * from './browser';
4
4
  export * from './crypto-js';
5
5
  export * from './date';
6
+ export * from './email';
6
7
  export * from './file';
7
8
  export * from './forms';
8
9
  export * from './http-client';
@@ -1,2 +1 @@
1
1
  export * from './datos';
2
- export * from './otros';
@@ -4,4 +4,5 @@ export * from './filtro.pipe';
4
4
  export * from './form-control-is-required.pipe';
5
5
  export * from './json-parse.pipe';
6
6
  export * from './no-sanitize.pipe';
7
+ export * from './tipo-valor-funcion.pipe';
7
8
  export * from './zero-fill.pipe';
@@ -0,0 +1,9 @@
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,2 +0,0 @@
1
- export type TipoValorFuncion<T> = T | ((...param: any) => T);
2
- export declare function tipoValorFuncion<T>(datoParam: any, ...param: any[]): T;
@@ -1,2 +0,0 @@
1
- export type TipoValorFuncion<T> = T | ((...param: any) => T);
2
- export declare function tipoValorFuncion<T>(datoParam: any, ...param: any[]): T;