@carefirst/library 1.4.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. package/esm2022/lib/components/alert/alert.component.mjs +3 -3
  2. package/esm2022/lib/components/badge/badge.component.mjs +4 -4
  3. package/esm2022/lib/components/button/button.component.mjs +5 -5
  4. package/esm2022/lib/components/calendar/calendar.component.mjs +3 -3
  5. package/esm2022/lib/components/chat-bubble/chat-bubble.component.mjs +3 -3
  6. package/esm2022/lib/components/form-input/form-input.component.mjs +3 -3
  7. package/esm2022/lib/components/form-input-select/form-input-select.component.mjs +3 -3
  8. package/esm2022/lib/components/form-input-text-area/form-input-text-area.component.mjs +3 -3
  9. package/esm2022/lib/components/form-validation/form-validation.component.mjs +4 -4
  10. package/esm2022/lib/components/icon/icon.component.mjs +3 -3
  11. package/esm2022/lib/components/logo/logo.component.mjs +3 -3
  12. package/esm2022/lib/components/notification/notification.component.mjs +3 -3
  13. package/esm2022/lib/components/page/page.component.mjs +3 -3
  14. package/esm2022/lib/components/spacer/spacer.component.mjs +3 -3
  15. package/esm2022/lib/components/spinner/spinner.component.mjs +3 -3
  16. package/esm2022/lib/components/verification-code/verification-code.component.mjs +28 -22
  17. package/esm2022/lib/directives/button-loader.directive.mjs +7 -7
  18. package/esm2022/lib/library.module.mjs +4 -4
  19. package/esm2022/lib/utils/attribute.util.mjs +1 -1
  20. package/esm2022/lib/utils/form-validators-utility.mjs +1 -1
  21. package/fesm2022/carefirst-library.mjs +84 -78
  22. package/fesm2022/carefirst-library.mjs.map +1 -1
  23. package/lib/components/verification-code/verification-code.component.d.ts +7 -4
  24. package/package.json +4 -4
@@ -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,12 +1,12 @@
1
1
  {
2
2
  "name": "@carefirst/library",
3
- "version": "1.4.0",
3
+ "version": "2.0.1",
4
4
  "author": "Jacques Francois Coetzee",
5
5
  "private": false,
6
6
  "peerDependencies": {
7
- "@angular/common": "^17.x",
8
- "@angular/core": "^17.x",
9
- "@ionic/angular": "^7.6.4",
7
+ "@angular/common": "^17.2.4",
8
+ "@angular/core": "^17.2.4",
9
+ "@ionic/angular": "^7.7.4",
10
10
  "dayjs": "^1.11.10",
11
11
  "password-validator": "^5.3.0"
12
12
  },