ng-ipa-library 4.0.11 → 4.0.13

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,10 +1,10 @@
1
- import { AfterContentChecked, ChangeDetectorRef, ElementRef, Injector, OnInit } from '@angular/core';
2
- import { UntypedFormControl, ControlValueAccessor } from '@angular/forms';
1
+ import { AfterContentChecked, ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
2
+ import { UntypedFormControl, NgControl } from '@angular/forms';
3
3
  import { IPAFormService } from '../ipa-form.service';
4
4
  import * as i0 from "@angular/core";
5
- export declare class TextInputComponent implements ControlValueAccessor, OnInit, AfterContentChecked {
5
+ export declare class TextInputComponent implements OnInit, AfterContentChecked {
6
6
  private validationService;
7
- private injector;
7
+ controlDir: NgControl;
8
8
  private cd;
9
9
  input: ElementRef;
10
10
  id: string;
@@ -20,7 +20,7 @@ export declare class TextInputComponent implements ControlValueAccessor, OnInit,
20
20
  isArabicForm: boolean;
21
21
  formControl: UntypedFormControl;
22
22
  errorMsg: string | null;
23
- constructor(validationService: IPAFormService, injector: Injector, cd: ChangeDetectorRef);
23
+ constructor(validationService: IPAFormService, controlDir: NgControl, cd: ChangeDetectorRef);
24
24
  ngAfterContentChecked(): void;
25
25
  ngOnInit(): void;
26
26
  onChange(event: any): void;
@@ -30,6 +30,6 @@ export declare class TextInputComponent implements ControlValueAccessor, OnInit,
30
30
  registerOnTouched(fn: any): void;
31
31
  checkIsNumber(event: Event): void;
32
32
  get errorMessage(): string | null;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<TextInputComponent, never>;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextInputComponent, [null, { self: true; }, null]>;
34
34
  static ɵcmp: i0.ɵɵComponentDeclaration<TextInputComponent, "ipa-text-input", never, { "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "patternErrorMsg": { "alias": "patternErrorMsg"; "required": false; }; "onlyNumber": { "alias": "onlyNumber"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "classes": { "alias": "classes"; "required": false; }; "containerClasses": { "alias": "containerClasses"; "required": false; }; "isArabicForm": { "alias": "isArabicForm"; "required": false; }; }, {}, never, never, false, never>;
35
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-ipa-library",
3
- "version": "4.0.11",
3
+ "version": "4.0.13",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "<18.0.0",
6
6
  "@angular/core": "<18.0.0",