angular-imask
Advanced tools
Comparing version 6.6.1-alpha.2 to 6.6.1
@@ -5,5 +5,6 @@ import IMask from 'imask'; | ||
import * as i0 from "@angular/core"; | ||
export type Falsy = false | 0 | "" | null | undefined; | ||
export declare const MASKEDINPUT_VALUE_ACCESSOR: Provider; | ||
export declare const DEFAULT_IMASK_ELEMENT: (elementRef: any) => any; | ||
export declare class IMaskDirective<Opts extends IMask.AnyMaskedOptions> implements ControlValueAccessor, AfterViewInit, OnDestroy, OnChanges { | ||
export declare class IMaskDirective<Opts extends IMask.AnyMaskedOptions, Unmask extends ('typed' | boolean) = false, Value = Unmask extends 'typed' ? IMask.InputMask<Opts>['typedValue'] : Unmask extends Falsy ? IMask.InputMask<Opts>['value'] : IMask.InputMask<Opts>['unmaskedValue']> implements ControlValueAccessor, AfterViewInit, OnDestroy, OnChanges { | ||
maskRef?: IMask.InputMask<Opts>; | ||
@@ -22,9 +23,9 @@ onTouched: any; | ||
imask?: Opts; | ||
unmask?: boolean | 'typed'; | ||
unmask?: Unmask; | ||
imaskElement: (elementRef: ElementRef, directiveRef: any) => IMask.MaskElement; | ||
accept: EventEmitter<void>; | ||
complete: EventEmitter<void>; | ||
accept: EventEmitter<Value>; | ||
complete: EventEmitter<Value>; | ||
get element(): IMask.MaskElement; | ||
get maskValue(): any; | ||
set maskValue(value: any); | ||
get maskValue(): Value; | ||
set maskValue(value: Value); | ||
ngAfterViewInit(): void; | ||
@@ -34,5 +35,5 @@ ngOnChanges(changes: SimpleChanges): void; | ||
ngOnDestroy(): void; | ||
beginWrite(value: any): void; | ||
endWrite(): any; | ||
writeValue(value: any): void; | ||
beginWrite(value: Value): void; | ||
endWrite(): Value; | ||
writeValue(value: Value): void; | ||
_onAccept(): void; | ||
@@ -48,4 +49,4 @@ _onComplete(): void; | ||
private _isAndroid; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<IMaskDirective<any>, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<IMaskDirective<any>, "[imask]", ["imask"], { "imask": "imask"; "unmask": "unmask"; "imaskElement": "imaskElement"; }, { "accept": "accept"; "complete": "complete"; }, never, never, true, never>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<IMaskDirective<any, any, any>, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<IMaskDirective<any, any, any>, "[imask]", ["imask"], { "imask": "imask"; "unmask": "unmask"; "imaskElement": "imaskElement"; }, { "accept": "accept"; "complete": "complete"; }, never, never, true, never>; | ||
} |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "6.6.1-alpha.2", | ||
"version": "6.6.1", | ||
"description": "Angular IMask Plugin", | ||
@@ -17,3 +17,3 @@ "repository": "https://github.com/uNmAnNeR/imaskjs/tree/master/packages/angular-imask", | ||
"dependencies": { | ||
"imask": "^6.6.1-alpha.2", | ||
"imask": "^6.6.1", | ||
"tslib": "^2.5.0" | ||
@@ -20,0 +20,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
87089
769
1
Updatedimask@^6.6.1