@carefirst/library 7.1.2 → 7.2.1
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.
package/package.json
CHANGED
package/public/styles/app.scss
CHANGED
|
@@ -95,23 +95,6 @@ ion-col {
|
|
|
95
95
|
font-size: 1.4rem;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
/*===============================================
|
|
99
|
-
================ Ion Input Labels ===============
|
|
100
|
-
===============================================*/
|
|
101
|
-
ion-input,
|
|
102
|
-
ion-select,
|
|
103
|
-
ion-textarea {
|
|
104
|
-
--placeholder-color: var(--cf-app-text-color-grey) !important;
|
|
105
|
-
|
|
106
|
-
.label-text {
|
|
107
|
-
color: var(--cf-app-text-color-grey) !important;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
ion-select::part(label) {
|
|
112
|
-
color: var(--cf-app-text-color-grey) !important;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
98
|
/*===============================================
|
|
116
99
|
================== CF Buttons ==================
|
|
117
100
|
===============================================*/
|
package/public/styles/font.scss
CHANGED
|
@@ -99,10 +99,7 @@
|
|
|
99
99
|
================== Headers ======================
|
|
100
100
|
===============================================*/
|
|
101
101
|
|
|
102
|
-
|
|
103
|
-
h2,
|
|
104
|
-
h3,
|
|
105
|
-
h4 {
|
|
102
|
+
@mixin test-base-header {
|
|
106
103
|
line-height: auto;
|
|
107
104
|
font-family: 'Mulish', sans-serif;
|
|
108
105
|
font-style: normal;
|
|
@@ -110,6 +107,14 @@ h4 {
|
|
|
110
107
|
margin: 0;
|
|
111
108
|
display: inline-block;
|
|
112
109
|
color: var(--cf-app-text-color-default);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
h1,
|
|
113
|
+
h2,
|
|
114
|
+
h3,
|
|
115
|
+
h4,
|
|
116
|
+
[class^='text-base-header-'] {
|
|
117
|
+
@include test-base-header;
|
|
113
118
|
|
|
114
119
|
&.light {
|
|
115
120
|
color: var(--cf-app-text-color-light);
|
|
@@ -133,38 +138,46 @@ h4 {
|
|
|
133
138
|
}
|
|
134
139
|
|
|
135
140
|
/*================== Mobile ==================*/
|
|
136
|
-
h1
|
|
141
|
+
h1,
|
|
142
|
+
.text-header-1 {
|
|
137
143
|
font-size: 4.2rem;
|
|
138
144
|
}
|
|
139
145
|
|
|
140
|
-
h2
|
|
146
|
+
h2,
|
|
147
|
+
.text-header-2 {
|
|
141
148
|
font-size: 3.6rem;
|
|
142
149
|
}
|
|
143
150
|
|
|
144
|
-
h3
|
|
151
|
+
h3,
|
|
152
|
+
.text-header-3 {
|
|
145
153
|
font-size: 2.8rem;
|
|
146
154
|
}
|
|
147
155
|
|
|
148
|
-
h4
|
|
156
|
+
h4,
|
|
157
|
+
.text-header-4 {
|
|
149
158
|
font-size: 1.8rem;
|
|
150
159
|
}
|
|
151
160
|
|
|
152
161
|
/*================== Desktop ==================*/
|
|
153
162
|
|
|
154
163
|
@media (min-width: breakpoint.$cf-screen-breakpoint) {
|
|
155
|
-
h1
|
|
164
|
+
h1,
|
|
165
|
+
.text-header-1 {
|
|
156
166
|
font-size: 6.4rem;
|
|
157
167
|
}
|
|
158
168
|
|
|
159
|
-
h2
|
|
169
|
+
h2,
|
|
170
|
+
.text-header-2 {
|
|
160
171
|
font-size: 4.8rem;
|
|
161
172
|
}
|
|
162
173
|
|
|
163
|
-
h3
|
|
174
|
+
h3,
|
|
175
|
+
.text-header-3 {
|
|
164
176
|
font-size: 3.6rem;
|
|
165
177
|
}
|
|
166
178
|
|
|
167
|
-
h4
|
|
179
|
+
h4,
|
|
180
|
+
.text-header-4 {
|
|
168
181
|
font-size: 2.8rem;
|
|
169
182
|
}
|
|
170
183
|
}
|
|
@@ -319,3 +332,62 @@ ion-button[class^='cf-button-'].text-large,
|
|
|
319
332
|
@include button-text-base;
|
|
320
333
|
}
|
|
321
334
|
}
|
|
335
|
+
|
|
336
|
+
/*===============================================
|
|
337
|
+
===================== Forms =====================
|
|
338
|
+
===============================================*/
|
|
339
|
+
|
|
340
|
+
@mixin form-text-base {
|
|
341
|
+
font-family: 'Roboto', sans-serif !important;
|
|
342
|
+
font-size: 1.6rem !important;
|
|
343
|
+
font-weight: 400 !important;
|
|
344
|
+
font-style: normal !important;
|
|
345
|
+
color: var(--cf-app-text-color-default);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.cf-form-text-small {
|
|
349
|
+
@include form-text-base;
|
|
350
|
+
font-size: 1.2rem !important;
|
|
351
|
+
line-height: 16px;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.cf-form-text-standard {
|
|
355
|
+
@include form-text-base;
|
|
356
|
+
font-size: 1.6rem !important;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
ion-input,
|
|
360
|
+
ion-textarea,
|
|
361
|
+
ion-select {
|
|
362
|
+
@extend .cf-form-text-standard;
|
|
363
|
+
|
|
364
|
+
text-align: start;
|
|
365
|
+
--border-radius: 8px !important; //--- important overrides the fill option
|
|
366
|
+
--highlight-color-focused: var(--cf-app-color-primary);
|
|
367
|
+
--highlight-color-invalid: var(--cf-app-system-color-error-100) !important;
|
|
368
|
+
--highlight-color-valid: var(--cf-app-color-primary);
|
|
369
|
+
--placeholder-color: var(--cf-app-text-color-grey);
|
|
370
|
+
|
|
371
|
+
.label-text {
|
|
372
|
+
color: var(--cf-app-text-color-grey);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
&.error,
|
|
376
|
+
&.ion-invalid.ion-touched {
|
|
377
|
+
--border-color: var(--cf-app-system-color-error-100) !important;
|
|
378
|
+
--highlight-color-focused: var(--cf-app-system-color-error-100) !important;
|
|
379
|
+
--highlight-color-valid: var(--cf-app-system-color-error-100) !important;
|
|
380
|
+
color: var(--cf-app-system-color-error-100) !important;
|
|
381
|
+
|
|
382
|
+
.label-text {
|
|
383
|
+
color: var(--cf-app-system-color-error-100) !important;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
ion-select {
|
|
389
|
+
color: var(--cf-app-text-color-grey);
|
|
390
|
+
&.error::part(label) {
|
|
391
|
+
color: var(--cf-app-system-color-error-100);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { OnChanges, EventEmitter, SimpleChanges, TemplateRef, Renderer2, ViewContainerRef, ElementRef, OnInit } from '@angular/core';
|
|
3
3
|
import { IonContentCustomEvent, ScrollDetail } from '@ionic/core';
|
|
4
4
|
import * as i23 from '@ionic/angular';
|
|
5
|
-
import { IonPopover, IonInput, InputCustomEvent } from '@ionic/angular';
|
|
5
|
+
import { IonPopover, IonInput, ViewDidEnter, ViewWillLeave, InputCustomEvent } from '@ionic/angular';
|
|
6
6
|
import * as i25 from '@angular/forms';
|
|
7
7
|
import { ValidatorFn, FormGroup, FormControl } from '@angular/forms';
|
|
8
8
|
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
@@ -93,7 +93,6 @@ declare class ButtonComponent implements OnChanges {
|
|
|
93
93
|
emojiEnd?: EmojisT | undefined;
|
|
94
94
|
loading?: boolean | string | undefined;
|
|
95
95
|
loadingText?: string;
|
|
96
|
-
primaryColorSpinner?: boolean | string | undefined;
|
|
97
96
|
customColor?: string | undefined;
|
|
98
97
|
get parentEvents(): string;
|
|
99
98
|
inputType: typeof this.type;
|
|
@@ -109,7 +108,6 @@ declare class ButtonComponent implements OnChanges {
|
|
|
109
108
|
inputEmojiStart: typeof this.emojiStart | undefined;
|
|
110
109
|
inputEmojiEnd: typeof this.emojiEnd | undefined;
|
|
111
110
|
inputLoading: boolean;
|
|
112
|
-
inputPrimaryColorSpinner: boolean;
|
|
113
111
|
inputCustomColor: string;
|
|
114
112
|
/**----------------------------------------------------------------
|
|
115
113
|
* @name ngOnChanges
|
|
@@ -125,7 +123,7 @@ declare class ButtonComponent implements OnChanges {
|
|
|
125
123
|
*/
|
|
126
124
|
checkCustomColor(color: string): string;
|
|
127
125
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
128
|
-
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; }; "emojiStart": { "alias": "emojiStart"; "required": false; }; "emojiEnd": { "alias": "emojiEnd"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "
|
|
126
|
+
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; }; "emojiStart": { "alias": "emojiStart"; "required": false; }; "emojiEnd": { "alias": "emojiEnd"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "customColor": { "alias": "customColor"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
129
127
|
}
|
|
130
128
|
|
|
131
129
|
/**==============================================
|
|
@@ -853,40 +851,13 @@ declare class SpinnerComponent implements OnChanges {
|
|
|
853
851
|
static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "cf-spinner", never, { "size": { "alias": "size"; "required": false; }; "primaryColor": { "alias": "primaryColor"; "required": false; }; }, {}, never, never, false, never>;
|
|
854
852
|
}
|
|
855
853
|
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
declare const cfCodeInputVerificationStatusesC: readonly ["initial", "invalid", "disabled", "processing"];
|
|
861
|
-
type CfCodeInputVerificationStatusesT = (typeof cfCodeInputVerificationStatusesC)[number];
|
|
862
|
-
/**==============================================
|
|
863
|
-
* @interface CfCodeInputUserFeedbackMessagesI
|
|
864
|
-
* @description Messages displayed to user when certain events occur
|
|
865
|
-
*/
|
|
866
|
-
interface CfCodeInputUserFeedbackMessagesI {
|
|
867
|
-
initial?: string[];
|
|
868
|
-
standardResend?: string[];
|
|
869
|
-
limitReached?: string[];
|
|
870
|
-
error?: {
|
|
871
|
-
errorMessage?: string[];
|
|
872
|
-
resend?: string[];
|
|
873
|
-
};
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
type verificationCode_interface_d_CfCodeInputUserFeedbackMessagesI = CfCodeInputUserFeedbackMessagesI;
|
|
877
|
-
type verificationCode_interface_d_CfCodeInputVerificationStatusesT = CfCodeInputVerificationStatusesT;
|
|
878
|
-
declare namespace verificationCode_interface_d {
|
|
879
|
-
export type { verificationCode_interface_d_CfCodeInputUserFeedbackMessagesI as CfCodeInputUserFeedbackMessagesI, verificationCode_interface_d_CfCodeInputVerificationStatusesT as CfCodeInputVerificationStatusesT };
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
declare class VerificationCodeComponent implements OnChanges {
|
|
883
|
-
valueToVerify: string;
|
|
884
|
-
status: BehaviorSubject<CfCodeInputVerificationStatusesT>;
|
|
885
|
-
userFeedbackMessages?: CfCodeInputUserFeedbackMessagesI;
|
|
886
|
-
removeResendText?: boolean;
|
|
854
|
+
declare class VerificationCodeComponent implements OnInit, OnChanges, ViewDidEnter, ViewWillLeave {
|
|
855
|
+
valueToVerify: i0.InputSignal<string>;
|
|
856
|
+
status: i0.InputSignal<BehaviorSubject<"disabled" | "initial" | "invalid" | "resend" | "processing">>;
|
|
857
|
+
supportContact: i0.InputSignal<string>;
|
|
887
858
|
commsSentCount: i0.ModelSignal<number>;
|
|
888
|
-
readonly outcome:
|
|
889
|
-
readonly resendClickEvent:
|
|
859
|
+
readonly outcome: i0.OutputEmitterRef<string>;
|
|
860
|
+
readonly resendClickEvent: i0.OutputEmitterRef<true>;
|
|
890
861
|
myInput1?: IonInput;
|
|
891
862
|
myInput2?: IonInput;
|
|
892
863
|
myInput3?: IonInput;
|
|
@@ -894,13 +865,15 @@ declare class VerificationCodeComponent implements OnChanges {
|
|
|
894
865
|
myInput5?: IonInput;
|
|
895
866
|
validationCodeError: boolean;
|
|
896
867
|
verificationCodeInputArr: (number | null)[];
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
commsInputCountExceeded: boolean;
|
|
868
|
+
codeInputCount: number;
|
|
869
|
+
codeInputCountExceeded: boolean;
|
|
900
870
|
validationCode: string | undefined;
|
|
871
|
+
platform: 'mobile' | 'desktop';
|
|
901
872
|
statusSub$?: Subscription;
|
|
873
|
+
get codeInputDisabled(): boolean;
|
|
874
|
+
private readonly devicePlatformService;
|
|
902
875
|
/**----------------------------------------------------------------
|
|
903
|
-
* @name
|
|
876
|
+
* @name ionViewDidEnter
|
|
904
877
|
* @description Update various values on component initialization
|
|
905
878
|
* @returns {void}
|
|
906
879
|
*/
|
|
@@ -911,6 +884,12 @@ declare class VerificationCodeComponent implements OnChanges {
|
|
|
911
884
|
* @returns {void}
|
|
912
885
|
*/
|
|
913
886
|
ngOnChanges(changes: SimpleChanges): void;
|
|
887
|
+
/**----------------------------------------------------------------
|
|
888
|
+
* @name ngOnInit
|
|
889
|
+
* @description Initialize the component
|
|
890
|
+
* @returns {void}
|
|
891
|
+
*/
|
|
892
|
+
ngOnInit(): void;
|
|
914
893
|
/**----------------------------------------------------------------
|
|
915
894
|
* @name resendVerificationCode
|
|
916
895
|
* @description Resend a verification code
|
|
@@ -952,7 +931,7 @@ declare class VerificationCodeComponent implements OnChanges {
|
|
|
952
931
|
*/
|
|
953
932
|
ionViewWillLeave(): void;
|
|
954
933
|
static ɵfac: i0.ɵɵFactoryDeclaration<VerificationCodeComponent, never>;
|
|
955
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VerificationCodeComponent, "cf-verification-code", never, { "valueToVerify": { "alias": "valueToVerify"; "required":
|
|
934
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VerificationCodeComponent, "cf-verification-code", never, { "valueToVerify": { "alias": "valueToVerify"; "required": true; "isSignal": true; }; "status": { "alias": "status"; "required": true; "isSignal": true; }; "supportContact": { "alias": "supportContact"; "required": true; "isSignal": true; }; "commsSentCount": { "alias": "commsSentCount"; "required": false; "isSignal": true; }; }, { "commsSentCount": "commsSentCountChange"; "outcome": "outcome"; "resendClickEvent": "resendClickEvent"; }, never, never, false, never>;
|
|
956
935
|
}
|
|
957
936
|
|
|
958
937
|
/**
|
|
@@ -1075,4 +1054,30 @@ declare class CFPFormValidators {
|
|
|
1075
1054
|
static isValidCellNumber(dialCodes?: string[]): ValidatorFn;
|
|
1076
1055
|
}
|
|
1077
1056
|
|
|
1057
|
+
/**==============================================
|
|
1058
|
+
* @interface CfCodeInputVerificationStatusesT
|
|
1059
|
+
* @description All available statuses for the verification code component
|
|
1060
|
+
*/
|
|
1061
|
+
declare const cfCodeInputVerificationStatusesC: readonly ["initial", "invalid", "resend", "processing", "disabled"];
|
|
1062
|
+
type CfCodeInputVerificationStatusesT = (typeof cfCodeInputVerificationStatusesC)[number];
|
|
1063
|
+
/**==============================================
|
|
1064
|
+
* @interface CfCodeInputUserFeedbackMessagesI
|
|
1065
|
+
* @description Messages displayed to user when certain events occur
|
|
1066
|
+
*/
|
|
1067
|
+
interface CfCodeInputUserFeedbackMessagesI {
|
|
1068
|
+
initial?: string[];
|
|
1069
|
+
standardResend?: string[];
|
|
1070
|
+
limitReached?: string[];
|
|
1071
|
+
error?: {
|
|
1072
|
+
errorMessage?: string[];
|
|
1073
|
+
resend?: string[];
|
|
1074
|
+
};
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
type verificationCode_interface_d_CfCodeInputUserFeedbackMessagesI = CfCodeInputUserFeedbackMessagesI;
|
|
1078
|
+
type verificationCode_interface_d_CfCodeInputVerificationStatusesT = CfCodeInputVerificationStatusesT;
|
|
1079
|
+
declare namespace verificationCode_interface_d {
|
|
1080
|
+
export type { verificationCode_interface_d_CfCodeInputUserFeedbackMessagesI as CfCodeInputUserFeedbackMessagesI, verificationCode_interface_d_CfCodeInputVerificationStatusesT as CfCodeInputVerificationStatusesT };
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1078
1083
|
export { AlertComponent, BadgeComponent, ButtonComponent, ButtonLoaderDirective, alert_interface_d as CFAlertI, badge_interface_d as CFBadgeI, verificationCode_interface_d as CFCodeInputI, emoji_interface_d as CFEmojiI, icon_interface_d as CFIconI, input_interface_d as CFInputI, notification_interface_d as CFNotificationI, CFPFormValidators, spacer_interface_d as CFSpacerI, CalendarComponent, CareFirstLibraryModule, ChatBubbleComponent, EmojiComponent, FormInputComponent, FormInputCurrencyComponent, FormInputSearchComponent, FormInputSelectComponent, FormInputStringDateComponent, FormInputTextAreaComponent, FormValidationComponent, IconComponent, LogoComponent, MixPComponent, NotificationComponent, PageComponent, SpacerComponent, SpinnerComponent, VerificationCodeComponent };
|