angular-imask
Advanced tools
Comparing version 6.4.3 to 6.5.0-alpha.0
import IMask from 'imask'; | ||
import * as i0 from "@angular/core"; | ||
export declare abstract class IMaskFactory { | ||
abstract create<Opts extends IMask.AnyMaskedOptions>(el: IMask.MaskElement | IMask.HTMLMaskingElement, opts: Opts): IMask.InputMask<Opts>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<IMaskFactory, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<IMaskFactory>; | ||
export interface IMaskFactory { | ||
create<Opts extends IMask.AnyMaskedOptions>(el: IMask.MaskElement | IMask.HTMLMaskingElement, opts: Opts): IMask.InputMask<Opts>; | ||
} |
import IMask from 'imask'; | ||
import { ElementRef, Provider, Renderer2, EventEmitter, OnDestroy, OnChanges, AfterViewInit, SimpleChanges } from '@angular/core'; | ||
import { ElementRef, Provider, EventEmitter, OnDestroy, OnChanges, AfterViewInit, SimpleChanges } from '@angular/core'; | ||
import { ControlValueAccessor } from '@angular/forms'; | ||
import { IMaskFactory } from './imask-factory'; | ||
import * as i0 from "@angular/core"; | ||
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 { | ||
private _elementRef; | ||
private _renderer; | ||
private _factory; | ||
private _platformId; | ||
private _compositionMode; | ||
maskRef?: IMask.InputMask<Opts>; | ||
@@ -20,8 +15,12 @@ onTouched: any; | ||
private _writing; | ||
private _elementRef; | ||
private _renderer; | ||
private _factory; | ||
private _platformId; | ||
private _compositionMode; | ||
imask?: Opts; | ||
unmask?: boolean | 'typed'; | ||
imaskElement: (elementRef: ElementRef, directiveRef: any) => IMask.MaskElement; | ||
accept: EventEmitter<any>; | ||
complete: EventEmitter<any>; | ||
constructor(_elementRef: ElementRef, _renderer: Renderer2, _factory: IMaskFactory, _platformId: string, _compositionMode: boolean); | ||
accept: EventEmitter<void>; | ||
complete: EventEmitter<void>; | ||
get element(): IMask.MaskElement; | ||
@@ -47,4 +46,4 @@ get maskValue(): any; | ||
private _isAndroid; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<IMaskDirective<any>, [null, null, null, null, { optional: true; }]>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<IMaskDirective<any>, "[imask]", ["imask"], { "imask": "imask"; "unmask": "unmask"; "imaskElement": "imaskElement"; }, { "accept": "accept"; "complete": "complete"; }, never, never, false>; | ||
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>; | ||
} |
import * as i0 from "@angular/core"; | ||
import * as i1 from "./imask.pipe"; | ||
import * as i2 from "@angular/common"; | ||
import * as i3 from "./directive.module"; | ||
import * as i1 from "./imask.directive"; | ||
import * as i2 from "./imask.pipe"; | ||
export declare class IMaskModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<IMaskModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<IMaskModule, [typeof i1.IMaskPipe], [typeof i2.CommonModule, typeof i3.IMaskDirectiveModule], [typeof i1.IMaskPipe, typeof i3.IMaskDirectiveModule]>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<IMaskModule, never, [typeof i1.IMaskDirective, typeof i2.IMaskPipe], [typeof i1.IMaskDirective, typeof i2.IMaskPipe]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<IMaskModule>; | ||
} |
@@ -8,3 +8,3 @@ import { PipeTransform } from '@angular/core'; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<IMaskPipe, never>; | ||
static ɵpipe: i0.ɵɵPipeDeclaration<IMaskPipe, "imask", false>; | ||
static ɵpipe: i0.ɵɵPipeDeclaration<IMaskPipe, "imask", true>; | ||
} |
@@ -6,2 +6,2 @@ export * from './imask.directive'; | ||
export * from './default-imask-factory'; | ||
export * from './directive.module'; | ||
export * from './imask-factory-token'; |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "6.4.3", | ||
"version": "6.5.0-alpha.0", | ||
"description": "Angular IMask Plugin", | ||
@@ -17,4 +17,4 @@ "repository": "https://github.com/uNmAnNeR/imaskjs/tree/master/packages/angular-imask", | ||
"dependencies": { | ||
"imask": "^6.4.3", | ||
"tslib": "^2.3.1" | ||
"imask": "^6.5.0-alpha.0", | ||
"tslib": "^2.5.0" | ||
}, | ||
@@ -21,0 +21,0 @@ "publishConfig": { |
@@ -66,2 +66,2 @@ # Angular IMask Plugin | ||
npm run example | ||
``` | ||
``` |
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
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
67
85010
767
2
Updatedimask@^6.5.0-alpha.0
Updatedtslib@^2.5.0