ngx-mask 16.2.3 → 16.2.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.
@@ -33,5 +33,9 @@ export declare const enum MaskExpression {
33
33
  SLASH = "/",
34
34
  WHITE_SPACE = " ",
35
35
  NUMBER_ZERO = "0",
36
- NUMBER_NINE = "9"
36
+ NUMBER_NINE = "9",
37
+ BACKSPACE = "Backspace",
38
+ DELETE = "Delete",
39
+ ARROW_LEFT = "ArrowLeft",
40
+ ARROW_UP = "ArrowUp"
37
41
  }
@@ -46,7 +46,7 @@ export declare class NgxMaskDirective implements ControlValueAccessor, OnChanges
46
46
  onInput(e: CustomKeyboardEvent): void;
47
47
  onCompositionStart(): void;
48
48
  onCompositionEnd(e: CustomKeyboardEvent): void;
49
- onBlur(): void;
49
+ onBlur(e: CustomKeyboardEvent): void;
50
50
  onClick(e: MouseEvent | CustomKeyboardEvent): void;
51
51
  onKeyDown(e: CustomKeyboardEvent): void;
52
52
  /** It writes the value in the input */
@@ -16,6 +16,9 @@ export declare class NgxMaskService extends NgxMaskApplierService {
16
16
  triggerOnMaskChange: boolean;
17
17
  private _start;
18
18
  private _end;
19
+ private _emitValue;
20
+ private _previousValue;
21
+ private _currentValue;
19
22
  onChange: (_: any) => void;
20
23
  private readonly document;
21
24
  protected _config: IConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-mask",
3
- "version": "16.2.3",
3
+ "version": "16.2.5",
4
4
  "description": "awesome ngx mask",
5
5
  "keywords": [
6
6
  "ng2-mask",