@carefirst/library 1.3.12 → 1.3.13
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/components/badge/badge.component.mjs +21 -4
- package/esm2022/lib/components/icon/icon.component.mjs +3 -3
- package/esm2022/lib/components/verification-code/verification-code.component.mjs +137 -0
- package/esm2022/lib/interfaces/verification-code.interface.mjs +2 -0
- package/esm2022/lib/library.module.mjs +8 -3
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/carefirst-library.mjs +164 -8
- package/fesm2022/carefirst-library.mjs.map +1 -1
- package/lib/components/badge/badge.component.d.ts +7 -2
- package/lib/components/verification-code/verification-code.component.d.ts +31 -0
- package/lib/interfaces/verification-code.interface.d.ts +8 -0
- package/lib/library.module.d.ts +5 -4
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
@@ -1,15 +1,20 @@
|
|
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", "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"];
|
5
5
|
type BadgeTypeT = (typeof badgeTypeC)[number];
|
6
6
|
export declare class BadgeComponent implements OnChanges {
|
7
7
|
type: BadgeTypeT;
|
8
8
|
icon?: IconsT | undefined;
|
9
|
+
small?: boolean | string | undefined;
|
10
|
+
large?: boolean | string | undefined;
|
9
11
|
inputType: typeof this.type;
|
10
12
|
inputIcon: typeof this.icon | undefined;
|
13
|
+
fontsize: number;
|
14
|
+
inputSmall: boolean;
|
15
|
+
inputLarge: boolean;
|
11
16
|
ngOnChanges(changes: SimpleChanges): void;
|
12
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "cf-badge", never, { "type": { "alias": "type"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, ["*"], false, never>;
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "cf-badge", never, { "type": { "alias": "type"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "small": { "alias": "small"; "required": false; }; "large": { "alias": "large"; "required": false; }; }, {}, never, ["*"], false, never>;
|
14
19
|
}
|
15
20
|
export {};
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { EventEmitter, type OnChanges, type SimpleChanges } from '@angular/core';
|
2
|
+
import type { InputCustomEvent, IonInput } from '@ionic/angular';
|
3
|
+
import type { CfCodeInputUserFeedbackMessagesI } from '../../interfaces/verification-code.interface';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class VerificationCodeComponent implements OnChanges {
|
6
|
+
userFeedbackMessages?: CfCodeInputUserFeedbackMessagesI;
|
7
|
+
valueToVerify: string;
|
8
|
+
code: string;
|
9
|
+
outcome: EventEmitter<string>;
|
10
|
+
resendClickEvent: EventEmitter<true>;
|
11
|
+
myInput1?: IonInput;
|
12
|
+
myInput2?: IonInput;
|
13
|
+
myInput3?: IonInput;
|
14
|
+
myInput4?: IonInput;
|
15
|
+
myInput5?: IonInput;
|
16
|
+
validationCodeError: boolean;
|
17
|
+
verificationCodeInputArr: (number | null)[];
|
18
|
+
loading: boolean;
|
19
|
+
codeSentCount: number;
|
20
|
+
validationCode: string | undefined;
|
21
|
+
constructor();
|
22
|
+
ionViewDidEnter(): void;
|
23
|
+
ngOnChanges(changes: SimpleChanges): void;
|
24
|
+
resendVerificationCode(): void;
|
25
|
+
formulateAndCheckVerificationCode(event: InputCustomEvent, index: number): void;
|
26
|
+
private resetAllInputFields;
|
27
|
+
private setFocusToNext;
|
28
|
+
private clearCodeInput;
|
29
|
+
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>;
|
31
|
+
}
|
package/lib/library.module.d.ts
CHANGED
@@ -15,11 +15,12 @@ import * as i13 from "./components/form-input-text-area/form-input-text-area.com
|
|
15
15
|
import * as i14 from "./components/chat-bubble/chat-bubble.component";
|
16
16
|
import * as i15 from "./components/badge/badge.component";
|
17
17
|
import * as i16 from "./components/spinner/spinner.component";
|
18
|
-
import * as i17 from "
|
19
|
-
import * as i18 from "@angular
|
20
|
-
import * as i19 from "@angular/
|
18
|
+
import * as i17 from "./components/verification-code/verification-code.component";
|
19
|
+
import * as i18 from "@ionic/angular";
|
20
|
+
import * as i19 from "@angular/common";
|
21
|
+
import * as i20 from "@angular/forms";
|
21
22
|
export declare class CareFirstLibraryModule {
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<CareFirstLibraryModule, never>;
|
23
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CareFirstLibraryModule, [typeof i1.PageComponent, typeof i2.ButtonComponent, typeof i3.SpacerComponent, typeof i4.IconComponent, typeof i5.ButtonLoaderDirective, typeof i6.NotificationComponent, typeof i7.AlertComponent, typeof i8.LogoComponent, typeof i9.CalendarComponent, typeof i10.FormValidationComponent, typeof i11.FormInputComponent, typeof i12.FormInputSelectComponent, typeof i13.FormInputTextAreaComponent, typeof i14.ChatBubbleComponent, typeof i15.BadgeComponent, typeof i16.SpinnerComponent], [typeof
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CareFirstLibraryModule, [typeof i1.PageComponent, typeof i2.ButtonComponent, typeof i3.SpacerComponent, typeof i4.IconComponent, typeof i5.ButtonLoaderDirective, typeof i6.NotificationComponent, typeof i7.AlertComponent, typeof i8.LogoComponent, typeof i9.CalendarComponent, typeof i10.FormValidationComponent, typeof i11.FormInputComponent, typeof i12.FormInputSelectComponent, typeof i13.FormInputTextAreaComponent, typeof i14.ChatBubbleComponent, typeof i15.BadgeComponent, typeof i16.SpinnerComponent, typeof i17.VerificationCodeComponent], [typeof i18.IonicModule, typeof i19.CommonModule, typeof i20.ReactiveFormsModule], [typeof i1.PageComponent, typeof i2.ButtonComponent, typeof i3.SpacerComponent, typeof i4.IconComponent, typeof i5.ButtonLoaderDirective, typeof i6.NotificationComponent, typeof i7.AlertComponent, typeof i8.LogoComponent, typeof i9.CalendarComponent, typeof i10.FormValidationComponent, typeof i11.FormInputComponent, typeof i12.FormInputSelectComponent, typeof i13.FormInputTextAreaComponent, typeof i14.ChatBubbleComponent, typeof i15.BadgeComponent, typeof i16.SpinnerComponent, typeof i17.VerificationCodeComponent]>;
|
24
25
|
static ɵinj: i0.ɵɵInjectorDeclaration<CareFirstLibraryModule>;
|
25
26
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -16,8 +16,10 @@ export * from './lib/components/form-input-text-area/form-input-text-area.compon
|
|
16
16
|
export * from './lib/components/chat-bubble/chat-bubble.component';
|
17
17
|
export * from './lib/components/badge/badge.component';
|
18
18
|
export * from './lib/components/spinner/spinner.component';
|
19
|
+
export * from './lib/components/verification-code/verification-code.component';
|
19
20
|
export * as CFAlertI from './lib/interfaces/alert.interface';
|
20
21
|
export * as CFIconI from './lib/interfaces/icon.interface';
|
21
22
|
export * as CFSpacerI from './lib/interfaces/spacer.interface';
|
22
23
|
export * as CFNotificationI from './lib/interfaces/notification.interface';
|
23
24
|
export * as CFInputI from './lib/interfaces/input.interface';
|
25
|
+
export * as CFCodeInputI from './lib/interfaces/verification-code.interface';
|