@carefirst/library 3.0.2 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  import { type OnChanges, type SimpleChanges } from '@angular/core';
2
2
  import { type IconsT } from '../../interfaces/icon.interface';
3
3
  import * as i0 from "@angular/core";
4
- declare const badgeTypeC: readonly ["primary", "white", "success", "alert", "accent", "warning", "disabled", "feedback-success", "feedback-error", "feedback-warning", "feedback-busy"];
4
+ declare const badgeTypeC: readonly ["primary", "white", "success", "alert", "accent", "warning", "disabled", "feedback-success", "feedback-error", "feedback-warning", "feedback-busy", "custom-color"];
5
5
  type BadgeTypeT = (typeof badgeTypeC)[number];
6
6
  export declare class BadgeComponent implements OnChanges {
7
7
  type: BadgeTypeT;
@@ -6,12 +6,14 @@ export declare class ButtonComponent implements OnChanges {
6
6
  disabled?: boolean | string | undefined;
7
7
  alert?: boolean | string | undefined;
8
8
  action?: boolean | string | undefined;
9
+ white?: string | undefined;
9
10
  snug?: boolean | string | undefined;
10
11
  accent?: boolean | string | undefined;
11
12
  fontSize?: 'small' | 'large';
12
13
  iconStart?: IconsT | undefined;
13
14
  iconEnd?: IconsT | undefined;
14
15
  loading?: boolean | string | undefined;
16
+ loadingText?: string;
15
17
  customColor?: string | undefined;
16
18
  get parentEvents(): string;
17
19
  inputType: typeof this.type;
@@ -21,6 +23,7 @@ export declare class ButtonComponent implements OnChanges {
21
23
  inputAction: boolean;
22
24
  inputSnug: boolean;
23
25
  inputAccent: boolean;
26
+ inputWhite: boolean;
24
27
  inputIconStart: typeof this.iconStart | undefined;
25
28
  inputIconEnd: typeof this.iconEnd | undefined;
26
29
  inputLoading: boolean;
@@ -28,5 +31,5 @@ export declare class ButtonComponent implements OnChanges {
28
31
  ngOnChanges(changes: SimpleChanges): void;
29
32
  checkCustomColor(color: string): string;
30
33
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "cf-btn", never, { "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "alert": { "alias": "alert"; "required": false; }; "action": { "alias": "action"; "required": false; }; "snug": { "alias": "snug"; "required": false; }; "accent": { "alias": "accent"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "iconStart": { "alias": "iconStart"; "required": false; }; "iconEnd": { "alias": "iconEnd"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "customColor": { "alias": "customColor"; "required": false; }; }, {}, never, ["*"], false, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "cf-btn", never, { "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "alert": { "alias": "alert"; "required": false; }; "action": { "alias": "action"; "required": false; }; "white": { "alias": "white"; "required": false; }; "snug": { "alias": "snug"; "required": false; }; "accent": { "alias": "accent"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "iconStart": { "alias": "iconStart"; "required": false; }; "iconEnd": { "alias": "iconEnd"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "customColor": { "alias": "customColor"; "required": false; }; }, {}, never, ["*"], false, never>;
32
35
  }
@@ -1,7 +1,11 @@
1
+ import { type OnChanges, type SimpleChanges } from '@angular/core';
1
2
  import * as i0 from "@angular/core";
2
- export declare class LogoComponent {
3
+ export declare class LogoComponent implements OnChanges {
3
4
  type: 'horizontal' | 'vertical';
4
5
  height: number;
6
+ white?: string | boolean | undefined;
7
+ inputWhite: boolean;
8
+ ngOnChanges(changes: SimpleChanges): void;
5
9
  static ɵfac: i0.ɵɵFactoryDeclaration<LogoComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<LogoComponent, "cf-logo", never, { "type": { "alias": "type"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, {}, never, never, false, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<LogoComponent, "cf-logo", never, { "type": { "alias": "type"; "required": false; }; "height": { "alias": "height"; "required": false; }; "white": { "alias": "white"; "required": false; }; }, {}, never, never, false, never>;
7
11
  }
@@ -1,11 +1,11 @@
1
1
  import { EventEmitter, type OnChanges, type SimpleChanges } from '@angular/core';
2
2
  import type { BehaviorSubject, Subscription } from 'rxjs';
3
3
  import type { InputCustomEvent, IonInput } from '@ionic/angular';
4
- import type { CfCodeInputUserFeedbackMessagesI } from '../../interfaces/verification-code.interface';
4
+ import type { CfCodeInputUserFeedbackMessagesI, CfCodeInputVerificationStatusesT } from '../../interfaces/verification-code.interface';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class VerificationCodeComponent implements OnChanges {
7
7
  valueToVerify: string;
8
- status: BehaviorSubject<'initial' | 'invalid'>;
8
+ status: BehaviorSubject<CfCodeInputVerificationStatusesT>;
9
9
  userFeedbackMessages?: CfCodeInputUserFeedbackMessagesI;
10
10
  outcome: EventEmitter<string>;
11
11
  resendClickEvent: EventEmitter<true>;
@@ -18,9 +18,10 @@ export declare class VerificationCodeComponent implements OnChanges {
18
18
  verificationCodeInputArr: (number | null)[];
19
19
  loading: boolean;
20
20
  commsSentCount: number;
21
+ commsInputCount: number;
22
+ commsInputCountExceeded: boolean;
21
23
  validationCode: string | undefined;
22
24
  statusSub$?: Subscription;
23
- constructor();
24
25
  ionViewDidEnter(): void;
25
26
  ngOnChanges(changes: SimpleChanges): void;
26
27
  resendVerificationCode(): void;
@@ -1,4 +1,4 @@
1
- export declare const iconsC: readonly ["home", "cog", "profile", "scan", "person", "appointment", "clock", "calendar", "email", "phone", "sign-out", "sign-in", "close", "check-mark", "rating-star-blank", "rating-star-filled", "back-arrow", "lock", "show-password", "hide-password", "circle-check", "circle-alert", "direction-switch", "direction-switch-flat", "direction-switch-block", "chat-bubbles", "phone-down", "mic", "no-mic", "button-forward-arrow", "button-check-box", "social-media-whatsapp", "social-media-facebook", "social-media-linkedin", "social-media-instagram", "social-media-google-mail", "instant-video-service", "instant-telephonic-service", "scheduled-video-service", "scheduled-telephonic-service", "vital-scan-service", "open-back-arrow", "open-forward-arrow", "open-up-arrow", "open-down-arrow", "single-document", "lightning", "microsoft-365", "user-dependent", "plus", "close-box", "speech-bubble", "camera-switch", "retry"];
1
+ export declare const iconsC: readonly ["home", "cog", "profile", "scan", "person", "appointment", "clock", "calendar", "email", "phone", "sign-out", "sign-in", "close", "check-mark", "rating-star-blank", "rating-star-filled", "back-arrow", "bell", "lock", "show-password", "hide-password", "circle-check", "circle-alert", "direction-switch", "direction-switch-flat", "direction-switch-block", "chat-bubbles", "phone-down", "mic", "no-mic", "button-forward-arrow", "button-check-box", "social-media-whatsapp", "social-media-facebook", "social-media-linkedin", "social-media-instagram", "social-media-google-mail", "instant-video-service", "instant-telephonic-service", "scheduled-video-service", "scheduled-telephonic-service", "vital-scan-service", "open-back-arrow", "open-forward-arrow", "open-up-arrow", "open-down-arrow", "single-document", "lightning", "microsoft-365", "user-dependent", "plus", "close-box", "speech-bubble", "camera-switch", "retry", "download", "upload", "print"];
2
2
  export type IconsT = (typeof iconsC)[number];
3
3
  export declare const iconColorC: readonly ["primary", "secondary", "success", "warning", "error", "white", "accent"];
4
4
  export type IconColorT = (typeof iconColorC)[number];
@@ -1,4 +1,7 @@
1
+ declare const cfCodeInputVerificationStatusesC: readonly ["initial", "invalid", "disabled", "processing"];
2
+ export type CfCodeInputVerificationStatusesT = (typeof cfCodeInputVerificationStatusesC)[number];
1
3
  export interface CfCodeInputUserFeedbackMessagesI {
4
+ initial?: string[];
2
5
  standardResend?: string[];
3
6
  limitReached?: string[];
4
7
  error?: {
@@ -6,3 +9,4 @@ export interface CfCodeInputUserFeedbackMessagesI {
6
9
  resend?: string[];
7
10
  };
8
11
  }
12
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carefirst/library",
3
- "version": "3.0.2",
3
+ "version": "3.1.1",
4
4
  "author": "Jacques Francois Coetzee",
5
5
  "private": false,
6
6
  "peerDependencies": {