@carefirst/library 7.1.1 → 7.2.0
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,61 @@ 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-weight: 400 !important;
|
|
343
|
+
font-style: normal !important;
|
|
344
|
+
color: var(--cf-app-text-color-default);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.cf-form-text-small {
|
|
348
|
+
@include form-text-base;
|
|
349
|
+
font-size: 1.2rem;
|
|
350
|
+
line-height: 16px;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.cf-form-text-standard {
|
|
354
|
+
@include form-text-base;
|
|
355
|
+
font-size: 1.6rem;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
ion-input,
|
|
359
|
+
ion-textarea,
|
|
360
|
+
ion-select {
|
|
361
|
+
@extend .cf-form-text-standard;
|
|
362
|
+
|
|
363
|
+
text-align: start;
|
|
364
|
+
--border-radius: 8px !important; //--- important overrides the fill option
|
|
365
|
+
--highlight-color-focused: var(--cf-app-color-primary);
|
|
366
|
+
--highlight-color-invalid: var(--cf-app-system-color-error-100) !important;
|
|
367
|
+
--highlight-color-valid: var(--cf-app-color-primary);
|
|
368
|
+
--placeholder-color: var(--cf-app-text-color-grey);
|
|
369
|
+
|
|
370
|
+
.label-text {
|
|
371
|
+
color: var(--cf-app-text-color-grey);
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
&.error,
|
|
375
|
+
&.ion-invalid {
|
|
376
|
+
--border-color: var(--cf-app-system-color-error-100) !important;
|
|
377
|
+
--highlight-color-focused: var(--cf-app-system-color-error-100) !important;
|
|
378
|
+
--highlight-color-valid: var(--cf-app-system-color-error-100) !important;
|
|
379
|
+
color: var(--cf-app-system-color-error-100) !important;
|
|
380
|
+
|
|
381
|
+
.label-text {
|
|
382
|
+
color: var(--cf-app-system-color-error-100) !important;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
ion-select {
|
|
388
|
+
color: var(--cf-app-text-color-grey);
|
|
389
|
+
&.error::part(label) {
|
|
390
|
+
color: var(--cf-app-system-color-error-100);
|
|
391
|
+
}
|
|
392
|
+
}
|
|
@@ -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';
|
|
@@ -851,40 +851,13 @@ declare class SpinnerComponent implements OnChanges {
|
|
|
851
851
|
static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "cf-spinner", never, { "size": { "alias": "size"; "required": false; }; "primaryColor": { "alias": "primaryColor"; "required": false; }; }, {}, never, never, false, never>;
|
|
852
852
|
}
|
|
853
853
|
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
declare const cfCodeInputVerificationStatusesC: readonly ["initial", "invalid", "disabled", "processing"];
|
|
859
|
-
type CfCodeInputVerificationStatusesT = (typeof cfCodeInputVerificationStatusesC)[number];
|
|
860
|
-
/**==============================================
|
|
861
|
-
* @interface CfCodeInputUserFeedbackMessagesI
|
|
862
|
-
* @description Messages displayed to user when certain events occur
|
|
863
|
-
*/
|
|
864
|
-
interface CfCodeInputUserFeedbackMessagesI {
|
|
865
|
-
initial?: string[];
|
|
866
|
-
standardResend?: string[];
|
|
867
|
-
limitReached?: string[];
|
|
868
|
-
error?: {
|
|
869
|
-
errorMessage?: string[];
|
|
870
|
-
resend?: string[];
|
|
871
|
-
};
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
type verificationCode_interface_d_CfCodeInputUserFeedbackMessagesI = CfCodeInputUserFeedbackMessagesI;
|
|
875
|
-
type verificationCode_interface_d_CfCodeInputVerificationStatusesT = CfCodeInputVerificationStatusesT;
|
|
876
|
-
declare namespace verificationCode_interface_d {
|
|
877
|
-
export type { verificationCode_interface_d_CfCodeInputUserFeedbackMessagesI as CfCodeInputUserFeedbackMessagesI, verificationCode_interface_d_CfCodeInputVerificationStatusesT as CfCodeInputVerificationStatusesT };
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
declare class VerificationCodeComponent implements OnChanges {
|
|
881
|
-
valueToVerify: string;
|
|
882
|
-
status: BehaviorSubject<CfCodeInputVerificationStatusesT>;
|
|
883
|
-
userFeedbackMessages?: CfCodeInputUserFeedbackMessagesI;
|
|
884
|
-
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>;
|
|
885
858
|
commsSentCount: i0.ModelSignal<number>;
|
|
886
|
-
readonly outcome:
|
|
887
|
-
readonly resendClickEvent:
|
|
859
|
+
readonly outcome: i0.OutputEmitterRef<string>;
|
|
860
|
+
readonly resendClickEvent: i0.OutputEmitterRef<true>;
|
|
888
861
|
myInput1?: IonInput;
|
|
889
862
|
myInput2?: IonInput;
|
|
890
863
|
myInput3?: IonInput;
|
|
@@ -892,13 +865,15 @@ declare class VerificationCodeComponent implements OnChanges {
|
|
|
892
865
|
myInput5?: IonInput;
|
|
893
866
|
validationCodeError: boolean;
|
|
894
867
|
verificationCodeInputArr: (number | null)[];
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
commsInputCountExceeded: boolean;
|
|
868
|
+
codeInputCount: number;
|
|
869
|
+
codeInputCountExceeded: boolean;
|
|
898
870
|
validationCode: string | undefined;
|
|
871
|
+
platform: 'mobile' | 'desktop';
|
|
899
872
|
statusSub$?: Subscription;
|
|
873
|
+
get codeInputDisabled(): boolean;
|
|
874
|
+
private readonly devicePlatformService;
|
|
900
875
|
/**----------------------------------------------------------------
|
|
901
|
-
* @name
|
|
876
|
+
* @name ionViewDidEnter
|
|
902
877
|
* @description Update various values on component initialization
|
|
903
878
|
* @returns {void}
|
|
904
879
|
*/
|
|
@@ -909,6 +884,12 @@ declare class VerificationCodeComponent implements OnChanges {
|
|
|
909
884
|
* @returns {void}
|
|
910
885
|
*/
|
|
911
886
|
ngOnChanges(changes: SimpleChanges): void;
|
|
887
|
+
/**----------------------------------------------------------------
|
|
888
|
+
* @name ngOnInit
|
|
889
|
+
* @description Initialize the component
|
|
890
|
+
* @returns {void}
|
|
891
|
+
*/
|
|
892
|
+
ngOnInit(): void;
|
|
912
893
|
/**----------------------------------------------------------------
|
|
913
894
|
* @name resendVerificationCode
|
|
914
895
|
* @description Resend a verification code
|
|
@@ -950,7 +931,7 @@ declare class VerificationCodeComponent implements OnChanges {
|
|
|
950
931
|
*/
|
|
951
932
|
ionViewWillLeave(): void;
|
|
952
933
|
static ɵfac: i0.ɵɵFactoryDeclaration<VerificationCodeComponent, never>;
|
|
953
|
-
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>;
|
|
954
935
|
}
|
|
955
936
|
|
|
956
937
|
/**
|
|
@@ -1073,4 +1054,30 @@ declare class CFPFormValidators {
|
|
|
1073
1054
|
static isValidCellNumber(dialCodes?: string[]): ValidatorFn;
|
|
1074
1055
|
}
|
|
1075
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
|
+
|
|
1076
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 };
|