@carefirst/library 2.0.0 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,12 @@
1
1
  import { EventEmitter, type OnChanges, type SimpleChanges } from '@angular/core';
2
+ import type { BehaviorSubject, Subscription } from 'rxjs';
2
3
  import type { InputCustomEvent, IonInput } from '@ionic/angular';
3
4
  import type { CfCodeInputUserFeedbackMessagesI } from '../../interfaces/verification-code.interface';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class VerificationCodeComponent implements OnChanges {
6
- userFeedbackMessages?: CfCodeInputUserFeedbackMessagesI;
7
7
  valueToVerify: string;
8
- code: string;
8
+ status: BehaviorSubject<'initial' | 'invalid'>;
9
+ userFeedbackMessages?: CfCodeInputUserFeedbackMessagesI;
9
10
  outcome: EventEmitter<string>;
10
11
  resendClickEvent: EventEmitter<true>;
11
12
  myInput1?: IonInput;
@@ -16,8 +17,9 @@ export declare class VerificationCodeComponent implements OnChanges {
16
17
  validationCodeError: boolean;
17
18
  verificationCodeInputArr: (number | null)[];
18
19
  loading: boolean;
19
- codeSentCount: number;
20
+ commsSentCount: number;
20
21
  validationCode: string | undefined;
22
+ statusSub$?: Subscription;
21
23
  constructor();
22
24
  ionViewDidEnter(): void;
23
25
  ngOnChanges(changes: SimpleChanges): void;
@@ -26,6 +28,7 @@ export declare class VerificationCodeComponent implements OnChanges {
26
28
  private resetAllInputFields;
27
29
  private setFocusToNext;
28
30
  private clearCodeInput;
31
+ ionViewWillLeave(): void;
29
32
  static ɵfac: i0.ɵɵFactoryDeclaration<VerificationCodeComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<VerificationCodeComponent, "cf-verification-code", never, { "userFeedbackMessages": { "alias": "userFeedbackMessages"; "required": false; }; "valueToVerify": { "alias": "valueToVerify"; "required": false; }; "code": { "alias": "code"; "required": false; }; }, { "outcome": "outcome"; "resendClickEvent": "resendClickEvent"; }, never, never, false, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<VerificationCodeComponent, "cf-verification-code", never, { "valueToVerify": { "alias": "valueToVerify"; "required": false; }; "status": { "alias": "status"; "required": false; }; "userFeedbackMessages": { "alias": "userFeedbackMessages"; "required": false; }; }, { "outcome": "outcome"; "resendClickEvent": "resendClickEvent"; }, never, never, false, never>;
31
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carefirst/library",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "author": "Jacques Francois Coetzee",
5
5
  "private": false,
6
6
  "peerDependencies": {