ngx-mask 13.2.1-test → 13.2.2

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.
@@ -25,6 +25,7 @@ export declare class NgxMaskApplierService {
25
25
  outputTransformFn: IConfig['outputTransformFn'];
26
26
  keepCharacterPositions: IConfig['keepCharacterPositions'];
27
27
  private _shift;
28
+ plusOnePosition: boolean;
28
29
  maskExpression: string;
29
30
  actualValue: string;
30
31
  showKeepCharacterExp: string;
@@ -40,6 +40,7 @@ export declare class NgxMaskDirective implements ControlValueAccessor, OnChanges
40
40
  keepCharacterPositions: IConfig['keepCharacterPositions'] | null;
41
41
  maskFilled: IConfig['maskFilled'];
42
42
  private _maskValue;
43
+ private _isFocused;
43
44
  private _inputValue;
44
45
  private _position;
45
46
  private _code;
@@ -53,6 +54,7 @@ export declare class NgxMaskDirective implements ControlValueAccessor, OnChanges
53
54
  ngOnChanges(changes: SimpleChanges): void;
54
55
  validate({ value }: FormControl): ValidationErrors | null;
55
56
  onPaste(): void;
57
+ onFocus(): void;
56
58
  onModelChange(value: string | undefined | null | number): void;
57
59
  onInput(e: CustomKeyboardEvent): void;
58
60
  onCompositionStart(): void;
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
5
5
  export declare class NgxMaskService extends NgxMaskApplierService {
6
6
  private document;
7
7
  protected _config: IConfig;
8
- private _elementRef;
8
+ _elementRef: ElementRef;
9
9
  private _renderer;
10
10
  isNumberValue: boolean;
11
11
  maskIsShown: string;
@@ -22,8 +22,8 @@ export declare class NgxMaskService extends NgxMaskApplierService {
22
22
  private _start;
23
23
  private _end;
24
24
  private _emitValue;
25
- private _previousValue;
26
- private _currentValue;
25
+ _previousValue: string;
26
+ _currentValue: string;
27
27
  onChange: (_: any) => void;
28
28
  constructor(document: any, _config: IConfig, _elementRef: ElementRef, _renderer: Renderer2);
29
29
  applyMask(inputValue: string, maskExpression: string, position?: number, justPasted?: boolean, backspaced?: boolean, cb?: (...args: any[]) => any): string;
@@ -65,6 +65,7 @@ export declare class NgxMaskService extends NgxMaskApplierService {
65
65
  private _regExpForRemove;
66
66
  private _replaceDecimalMarkerToDot;
67
67
  _checkSymbols(result: string): string | number | undefined | null;
68
+ private _checkPatternForSpace;
68
69
  private _retrieveSeparatorPrecision;
69
70
  _checkPrecision(separatorExpression: string, separatorValue: string): number | string;
70
71
  _repeatPatternSymbols(maskExp: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-mask",
3
- "version": "13.2.1-test",
3
+ "version": "13.2.2",
4
4
  "description": "awesome ngx mask",
5
5
  "keywords": [
6
6
  "ng2-mask",