@csmart/ngc-smart-victim 1.13.1 → 1.13.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.
@@ -1,17 +1,11 @@
1
- import { ElementRef, OnInit, OnDestroy, Renderer2 } from '@angular/core';
2
- import { AbstractControl } from '@angular/forms';
1
+ import { NgControl } from '@angular/forms';
3
2
  import * as i0 from "@angular/core";
4
- export declare class PhoneMaskDirective implements OnInit, OnDestroy {
5
- private el;
6
- private renderer;
7
- private _phoneControl;
8
- private _preValue;
9
- set phoneControl(control: AbstractControl);
10
- set preValue(value: string);
11
- constructor(el: ElementRef, renderer: Renderer2);
12
- ngOnInit(): void;
13
- ngOnDestroy(): void;
14
- formatPhoneNumber(data: any): void;
3
+ export declare class PhoneMaskDirective {
4
+ ngControl: NgControl;
5
+ constructor(ngControl: NgControl);
6
+ onModelChange(event: any): void;
7
+ keydownBackspace(event: any): void;
8
+ onInputChange(event: any, backspace: any): void;
15
9
  static ɵfac: i0.ɵɵFactoryDeclaration<PhoneMaskDirective, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<PhoneMaskDirective, "[phoneMask]", never, { "phoneControl": "phoneControl"; "preValue": "preValue"; }, {}, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PhoneMaskDirective, "[formControlName][appPhoneMask]", never, {}, {}, never>;
17
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@csmart/ngc-smart-victim",
3
- "version": "1.13.1",
3
+ "version": "1.13.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.2.5",
6
6
  "@angular/core": "^13.2.5",