ngx-mask 16.0.2 → 16.0.3
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ControlValueAccessor, ValidationErrors, Validator, FormControl } from '@angular/forms';
|
|
2
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, FormControl, ValidationErrors, Validator } from '@angular/forms';
|
|
3
3
|
import { CustomKeyboardEvent } from './custom-keyboard-event';
|
|
4
4
|
import { IConfig } from './ngx-mask.config';
|
|
5
5
|
import { NgxMaskService } from './ngx-mask.service';
|
|
@@ -33,6 +33,8 @@ export declare class NgxMaskDirective implements ControlValueAccessor, OnChanges
|
|
|
33
33
|
private _code;
|
|
34
34
|
private _maskExpressionArray;
|
|
35
35
|
private _justPasted;
|
|
36
|
+
/**For IME composition event */
|
|
37
|
+
private _isComposing;
|
|
36
38
|
private readonly document;
|
|
37
39
|
_maskService: NgxMaskService;
|
|
38
40
|
protected _config: IConfig;
|
|
@@ -43,6 +45,8 @@ export declare class NgxMaskDirective implements ControlValueAccessor, OnChanges
|
|
|
43
45
|
onPaste(): void;
|
|
44
46
|
onModelChange(value: string | undefined | null | number): void;
|
|
45
47
|
onInput(e: CustomKeyboardEvent): void;
|
|
48
|
+
onCompositionStart(): void;
|
|
49
|
+
onCompositionEnd(e: CustomKeyboardEvent): void;
|
|
46
50
|
onBlur(): void;
|
|
47
51
|
onClick(e: MouseEvent | CustomKeyboardEvent): void;
|
|
48
52
|
onKeyDown(e: CustomKeyboardEvent): void;
|