@carefirst/library 4.8.1 → 5.0.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.
Files changed (75) hide show
  1. package/fesm2022/carefirst-library.mjs +1264 -508
  2. package/fesm2022/carefirst-library.mjs.map +1 -1
  3. package/index.d.ts +1045 -2
  4. package/package.json +5 -7
  5. package/public/interfaces/carefirst.shared.interfaces.ts +6 -5
  6. package/public/styles/app.scss +5 -3
  7. package/public/styles/font.scss +4 -2
  8. package/public/styles/index.scss +6 -6
  9. package/esm2022/carefirst-library.mjs +0 -2
  10. package/esm2022/lib/components/alert/alert.component.mjs +0 -55
  11. package/esm2022/lib/components/badge/badge.component.mjs +0 -49
  12. package/esm2022/lib/components/button/button.component.mjs +0 -101
  13. package/esm2022/lib/components/calendar/calendar.component.mjs +0 -39
  14. package/esm2022/lib/components/chat-bubble/chat-bubble.component.mjs +0 -38
  15. package/esm2022/lib/components/form-input/form-input.component.mjs +0 -101
  16. package/esm2022/lib/components/form-input-currency/form-input-currency.component.mjs +0 -82
  17. package/esm2022/lib/components/form-input-search/form-input-search.component.mjs +0 -67
  18. package/esm2022/lib/components/form-input-select/form-input-select.component.mjs +0 -49
  19. package/esm2022/lib/components/form-input-string-date/form-input-string-date.component.mjs +0 -84
  20. package/esm2022/lib/components/form-input-text-area/form-input-text-area.component.mjs +0 -64
  21. package/esm2022/lib/components/form-validation/form-validation.component.mjs +0 -23
  22. package/esm2022/lib/components/icon/icon.component.mjs +0 -38
  23. package/esm2022/lib/components/logo/logo.component.mjs +0 -26
  24. package/esm2022/lib/components/mix-p/mix-p.component.mjs +0 -41
  25. package/esm2022/lib/components/notification/notification.component.mjs +0 -49
  26. package/esm2022/lib/components/page/page.component.mjs +0 -69
  27. package/esm2022/lib/components/spacer/spacer.component.mjs +0 -30
  28. package/esm2022/lib/components/spinner/spinner.component.mjs +0 -19
  29. package/esm2022/lib/components/verification-code/verification-code.component.mjs +0 -150
  30. package/esm2022/lib/directives/button-loader.directive.mjs +0 -41
  31. package/esm2022/lib/interfaces/alert.interface.mjs +0 -2
  32. package/esm2022/lib/interfaces/badge.interface.mjs +0 -15
  33. package/esm2022/lib/interfaces/icon.interface.mjs +0 -79
  34. package/esm2022/lib/interfaces/input.interface.mjs +0 -2
  35. package/esm2022/lib/interfaces/internal.interface.mjs +0 -7
  36. package/esm2022/lib/interfaces/notification.interface.mjs +0 -2
  37. package/esm2022/lib/interfaces/spacer.interface.mjs +0 -2
  38. package/esm2022/lib/interfaces/verification-code.interface.mjs +0 -3
  39. package/esm2022/lib/library.module.mjs +0 -125
  40. package/esm2022/lib/utils/attribute.util.mjs +0 -34
  41. package/esm2022/lib/utils/form-validators-utility.mjs +0 -169
  42. package/esm2022/public-api.mjs +0 -31
  43. package/lib/components/alert/alert.component.d.ts +0 -18
  44. package/lib/components/badge/badge.component.d.ts +0 -20
  45. package/lib/components/button/button.component.d.ts +0 -35
  46. package/lib/components/calendar/calendar.component.d.ts +0 -15
  47. package/lib/components/chat-bubble/chat-bubble.component.d.ts +0 -15
  48. package/lib/components/form-input/form-input.component.d.ts +0 -36
  49. package/lib/components/form-input-currency/form-input-currency.component.d.ts +0 -25
  50. package/lib/components/form-input-search/form-input-search.component.d.ts +0 -26
  51. package/lib/components/form-input-select/form-input-select.component.d.ts +0 -22
  52. package/lib/components/form-input-string-date/form-input-string-date.component.d.ts +0 -24
  53. package/lib/components/form-input-text-area/form-input-text-area.component.d.ts +0 -28
  54. package/lib/components/form-validation/form-validation.component.d.ts +0 -10
  55. package/lib/components/icon/icon.component.d.ts +0 -16
  56. package/lib/components/logo/logo.component.d.ts +0 -11
  57. package/lib/components/mix-p/mix-p.component.d.ts +0 -16
  58. package/lib/components/notification/notification.component.d.ts +0 -16
  59. package/lib/components/page/page.component.d.ts +0 -28
  60. package/lib/components/spacer/spacer.component.d.ts +0 -14
  61. package/lib/components/spinner/spinner.component.d.ts +0 -9
  62. package/lib/components/verification-code/verification-code.component.d.ts +0 -35
  63. package/lib/directives/button-loader.directive.d.ts +0 -12
  64. package/lib/interfaces/alert.interface.d.ts +0 -18
  65. package/lib/interfaces/badge.interface.d.ts +0 -2
  66. package/lib/interfaces/icon.interface.d.ts +0 -4
  67. package/lib/interfaces/input.interface.d.ts +0 -4
  68. package/lib/interfaces/internal.interface.d.ts +0 -6
  69. package/lib/interfaces/notification.interface.d.ts +0 -14
  70. package/lib/interfaces/spacer.interface.d.ts +0 -3
  71. package/lib/interfaces/verification-code.interface.d.ts +0 -12
  72. package/lib/library.module.d.ts +0 -30
  73. package/lib/utils/attribute.util.d.ts +0 -4
  74. package/lib/utils/form-validators-utility.d.ts +0 -10
  75. package/public-api.d.ts +0 -30
package/index.d.ts CHANGED
@@ -1,2 +1,1045 @@
1
- /// <amd-module name="@carefirst/library" />
2
- export * from './public-api';
1
+ import * as i0 from '@angular/core';
2
+ import { OnChanges, EventEmitter, SimpleChanges, TemplateRef, Renderer2, ViewContainerRef, ElementRef, OnInit } from '@angular/core';
3
+ import * as i22 from '@ionic/angular';
4
+ import { IonPopover, IonInput, InputCustomEvent } from '@ionic/angular';
5
+ import * as i24 from '@angular/forms';
6
+ import { ValidatorFn, FormGroup, FormControl } from '@angular/forms';
7
+ import { BehaviorSubject, Subscription } from 'rxjs';
8
+ import * as i23 from '@angular/common';
9
+
10
+ declare class PageComponent implements OnChanges {
11
+ centerH?: boolean | string | undefined;
12
+ centerV?: boolean | string | undefined;
13
+ headerInheritanceOff?: boolean | string | undefined;
14
+ stickyHeaderOff?: boolean | string | undefined;
15
+ dark?: boolean | string | undefined;
16
+ noScroll?: boolean | string | undefined;
17
+ devMode?: boolean | string | undefined;
18
+ buttonsVertical?: boolean | string | undefined;
19
+ stickyButtonOn?: boolean | string | undefined;
20
+ noStickyButtonFade?: boolean | string | undefined;
21
+ readonly scrollEvent: EventEmitter<CustomEvent<any>>;
22
+ inputCenterH: boolean;
23
+ inputCenterV: boolean;
24
+ inputHeaderInheritanceOff: boolean;
25
+ inputStickyHeaderOff: boolean;
26
+ inputDark: boolean;
27
+ inputNoScroll: boolean;
28
+ inputDevMode: boolean;
29
+ inputButtonsVertical: boolean;
30
+ inputStickyButtonOn: boolean;
31
+ inputNoStickyButtonFade: boolean;
32
+ /**----------------------------------------------------------------
33
+ * @name ngOnChanges
34
+ * @description Update various values on input changes
35
+ * @returns {void}
36
+ */
37
+ ngOnChanges(changes: SimpleChanges): void;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageComponent, "cf-page", never, { "centerH": { "alias": "centerH"; "required": false; }; "centerV": { "alias": "centerV"; "required": false; }; "headerInheritanceOff": { "alias": "headerInheritanceOff"; "required": false; }; "stickyHeaderOff": { "alias": "stickyHeaderOff"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; "noScroll": { "alias": "noScroll"; "required": false; }; "devMode": { "alias": "devMode"; "required": false; }; "buttonsVertical": { "alias": "buttonsVertical"; "required": false; }; "stickyButtonOn": { "alias": "stickyButtonOn"; "required": false; }; "noStickyButtonFade": { "alias": "noStickyButtonFade"; "required": false; }; }, { "scrollEvent": "scrollEvent"; }, never, ["[cf-page-header]", "*", "[cf-page-buttons]", "[cf-page-footer]", "[cf-page-sticky-buttons]"], false, never>;
40
+ }
41
+
42
+ /**==============================================
43
+ * @interface IconsT
44
+ * @description Short description
45
+ */
46
+ 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", "circle-close", "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", "minus", "close-box", "speech-bubble", "camera-switch", "retry", "download", "upload", "upload-document", "print", "search", "flame", "bank-cards", "bank-card", "swipe-bank-card", "coin", "sign-out-curved", "sign-in-curved", "calendar-blank", "wallet", "info", "three-dot-colon", "adjustment", "triangle-alert"];
47
+ type IconsT = (typeof iconsC)[number];
48
+ /**==============================================
49
+ * @interface IconColorT
50
+ * @description All available colors in CSS classes
51
+ */
52
+ declare const iconColorC: readonly ["primary", "secondary", "success", "warning", "error", "white", "accent"];
53
+ type IconColorT = (typeof iconColorC)[number];
54
+
55
+ type icon_interface_d_IconColorT = IconColorT;
56
+ type icon_interface_d_IconsT = IconsT;
57
+ declare const icon_interface_d_iconColorC: typeof iconColorC;
58
+ declare const icon_interface_d_iconsC: typeof iconsC;
59
+ declare namespace icon_interface_d {
60
+ export { icon_interface_d_iconColorC as iconColorC, icon_interface_d_iconsC as iconsC };
61
+ export type { icon_interface_d_IconColorT as IconColorT, icon_interface_d_IconsT as IconsT };
62
+ }
63
+
64
+ declare class ButtonComponent implements OnChanges {
65
+ type: 'primary' | 'secondary' | 'tertiary';
66
+ disabled?: boolean | string | undefined;
67
+ alert?: boolean | string | undefined;
68
+ action?: boolean | string | undefined;
69
+ white?: string | undefined;
70
+ snug?: boolean | string | undefined;
71
+ accent?: boolean | string | undefined;
72
+ fontSize?: 'small' | 'large';
73
+ iconStart?: IconsT | undefined;
74
+ iconEnd?: IconsT | undefined;
75
+ loading?: boolean | string | undefined;
76
+ loadingText?: string;
77
+ customColor?: string | undefined;
78
+ get parentEvents(): string;
79
+ inputType: typeof this.type;
80
+ inputFontSize: typeof this.fontSize | undefined;
81
+ inputDisabled: boolean;
82
+ inputAlert: boolean;
83
+ inputAction: boolean;
84
+ inputSnug: boolean;
85
+ inputAccent: boolean;
86
+ inputWhite: boolean;
87
+ inputIconStart: typeof this.iconStart | undefined;
88
+ inputIconEnd: typeof this.iconEnd | undefined;
89
+ inputLoading: boolean;
90
+ inputCustomColor: string;
91
+ /**----------------------------------------------------------------
92
+ * @name ngOnChanges
93
+ * @description Update various values on input changes
94
+ * @returns {void}
95
+ */
96
+ ngOnChanges(changes: SimpleChanges): void;
97
+ /**----------------------------------------------------------------
98
+ * @name checkCustomColor
99
+ * @description Check if the custom color is valid
100
+ * @param {string} color
101
+ * @returns {string}
102
+ */
103
+ checkCustomColor(color: string): string;
104
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
105
+ 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>;
106
+ }
107
+
108
+ /**==============================================
109
+ * @description Available Spacer Values
110
+ */
111
+ declare const spacerNumberArray: readonly [4, 8, 12, 16, 24, 32, 38, 48, 72, 96];
112
+ type SpacerNumberT = (typeof spacerNumberArray)[number];
113
+ type SpacerStringT = `${SpacerNumberT}`;
114
+
115
+ type spacer_interface_d_SpacerNumberT = SpacerNumberT;
116
+ type spacer_interface_d_SpacerStringT = SpacerStringT;
117
+ declare const spacer_interface_d_spacerNumberArray: typeof spacerNumberArray;
118
+ declare namespace spacer_interface_d {
119
+ export { spacer_interface_d_spacerNumberArray as spacerNumberArray };
120
+ export type { spacer_interface_d_SpacerNumberT as SpacerNumberT, spacer_interface_d_SpacerStringT as SpacerStringT };
121
+ }
122
+
123
+ declare class SpacerComponent implements OnChanges {
124
+ default?: SpacerStringT | SpacerNumberT | undefined;
125
+ mobile?: SpacerStringT | SpacerNumberT | undefined;
126
+ desktop?: SpacerStringT | SpacerNumberT | undefined;
127
+ inputDefault: number | undefined;
128
+ inputMobile: number | undefined;
129
+ inputDesktop: number | undefined;
130
+ /**----------------------------------------------------------------
131
+ * @name ngOnChanges
132
+ * @description Update various values on input changes
133
+ * @returns {void}
134
+ */
135
+ ngOnChanges(changes: SimpleChanges): void;
136
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpacerComponent, never>;
137
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpacerComponent, "cf-spacer", never, { "default": { "alias": "default"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "desktop": { "alias": "desktop"; "required": false; }; }, {}, never, never, false, never>;
138
+ }
139
+
140
+ declare class IconComponent implements OnChanges {
141
+ icon: IconsT;
142
+ height?: number;
143
+ heightMobile?: number;
144
+ heightDesktop?: number;
145
+ iconColor?: IconColorT;
146
+ iconColorCustom?: string;
147
+ inputIcon: typeof this.icon | undefined;
148
+ inputColor: typeof this.iconColor | undefined;
149
+ /**----------------------------------------------------------------
150
+ * @name ngOnChanges
151
+ * @description Update various values on input changes
152
+ * @returns {void}
153
+ */
154
+ ngOnChanges(changes: SimpleChanges): void;
155
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
156
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "cf-icon", never, { "icon": { "alias": "icon"; "required": false; }; "height": { "alias": "height"; "required": false; }; "heightMobile": { "alias": "heightMobile"; "required": false; }; "heightDesktop": { "alias": "heightDesktop"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "iconColorCustom": { "alias": "iconColorCustom"; "required": false; }; }, {}, never, never, false, never>;
157
+ }
158
+
159
+ /**
160
+ * Button Loader Directive
161
+ *
162
+ * @file button-loader.directive
163
+ * @description HTML directive used to disable a button while loading
164
+ * @author Jacques Coetzee
165
+ * @since 2022 - 07 - 22
166
+ * @usage Add to any HTML tag: *cfButtonLoader="true"
167
+ */
168
+
169
+ declare class ButtonLoaderDirective {
170
+ private templateRef;
171
+ private renderer;
172
+ private viewContainer;
173
+ private elementRef;
174
+ /**----------------------------------------------------------------
175
+ * @name Constructor
176
+ */
177
+ constructor(templateRef: TemplateRef<HTMLElement>, renderer: Renderer2, viewContainer: ViewContainerRef, elementRef: ElementRef<HTMLElement>);
178
+ /**----------------------------------------------------------------
179
+ * @name cfButtonLoader
180
+ * @description Displays a loading overlay and disables a button
181
+ * @param {boolean} loading
182
+ */
183
+ set cfButtonLoader(loading: boolean);
184
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonLoaderDirective, never>;
185
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonLoaderDirective, "[cfButtonLoader]", never, { "cfButtonLoader": { "alias": "cfButtonLoader"; "required": false; }; }, {}, never, never, false, never>;
186
+ }
187
+
188
+ /**==============================================
189
+ * @interface NotificationPayloadI
190
+ * @description Setup needed to show a notification
191
+ */
192
+ interface NotificationPayloadI {
193
+ heading: string;
194
+ status: 'success' | 'warning' | 'error' | 'accent';
195
+ message?: string;
196
+ buttons?: {
197
+ identifier: string | number;
198
+ closeButton?: true;
199
+ actionButton?: {
200
+ buttonText: string;
201
+ buttonHeading?: string;
202
+ };
203
+ };
204
+ autoClose?: number;
205
+ }
206
+
207
+ type notification_interface_d_NotificationPayloadI = NotificationPayloadI;
208
+ declare namespace notification_interface_d {
209
+ export type { notification_interface_d_NotificationPayloadI as NotificationPayloadI };
210
+ }
211
+
212
+ /**
213
+ * CareFirst Library - Notification
214
+ *
215
+ * @file notification.component
216
+ * @description Contains all the logic for generating a CareFirst Notification
217
+ * @author Arno Jansen van Vuuren
218
+ * @since 2023 - 11 - 27
219
+ * @usage <cf-notification [data]="{heading, status, %message%, %canClose%, %button%, %autoClose%}" (buttonClick)=""></cf-notification>
220
+ */
221
+
222
+ declare class NotificationComponent implements OnChanges {
223
+ data: NotificationPayloadI | undefined;
224
+ readonly dataChange: EventEmitter<NotificationPayloadI | undefined>;
225
+ readonly buttonClick: EventEmitter<string | number>;
226
+ readonly closeClick: EventEmitter<string | number>;
227
+ readonly autoClose: EventEmitter<void>;
228
+ private autoCloseTimeOut?;
229
+ /**----------------------------------------------------------------
230
+ * @name ngOnChanges
231
+ * @description Listens for changes to data and starts timer when/if 'autoClose' is set.
232
+ * @param {SimpleChanges} changes
233
+ * @returns {void}
234
+ */
235
+ ngOnChanges(changes: SimpleChanges): void;
236
+ /**----------------------------------------------------------------
237
+ * @name startAutoCloseTimer
238
+ * @description Start timer to automatically close notification after specified duration.
239
+ * @description If previous autoClose time exists, it is cleared before starting new one.
240
+ * @returns {void}
241
+ */
242
+ private startAutoCloseTimer;
243
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationComponent, never>;
244
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "cf-notification", never, { "data": { "alias": "data"; "required": false; }; }, { "dataChange": "dataChange"; "buttonClick": "buttonClick"; "closeClick": "closeClick"; "autoClose": "autoClose"; }, never, ["*"], false, never>;
245
+ }
246
+
247
+ /**==============================================
248
+ * @interface AlertDataI
249
+ * @description Defines the properties needed to show a care first alert
250
+ */
251
+ interface AlertDataI {
252
+ heading: string;
253
+ message: string;
254
+ alertIdentifier: string | number;
255
+ buttonTrue?: string;
256
+ buttonFalse?: string | null;
257
+ input?: {
258
+ placeholder?: string;
259
+ validators?: ValidatorFn[];
260
+ customError?: string;
261
+ };
262
+ }
263
+ /**==============================================
264
+ * @interface AlertEventI
265
+ * @description Defines the structure of the returned event from the alert when a button is clicked
266
+ */
267
+ interface AlertEventI {
268
+ identifier: string | number;
269
+ status: boolean;
270
+ inputValue?: string;
271
+ }
272
+
273
+ type alert_interface_d_AlertDataI = AlertDataI;
274
+ type alert_interface_d_AlertEventI = AlertEventI;
275
+ declare namespace alert_interface_d {
276
+ export type { alert_interface_d_AlertDataI as AlertDataI, alert_interface_d_AlertEventI as AlertEventI };
277
+ }
278
+
279
+ /**
280
+ * CareFirst Library Alert
281
+ *
282
+ * @file alert.component
283
+ * @description Contains all the logic for generating a CareFirst Alert
284
+ * @author Arno Jansen van Vuuren
285
+ * @since 2023 - 11 - 30
286
+ * @usage <cf-alert data="{heading, message, buttonTrue, buttonFalse}" (alertEvent)></cf-alert>
287
+ */
288
+
289
+ declare class AlertComponent implements OnChanges {
290
+ popover?: IonPopover;
291
+ data: AlertDataI | undefined;
292
+ readonly alertEvent: EventEmitter<AlertEventI>;
293
+ customError: string | null;
294
+ alertForm: FormGroup<{
295
+ inputTextControl: FormControl<string | null>;
296
+ }>;
297
+ /**----------------------------------------------------------------
298
+ * @name ngOnChanges
299
+ * @description Update various values on component input changes
300
+ * @param {SimpleChanges} changes - The changed input properties
301
+ * @returns {void}
302
+ */
303
+ ngOnChanges(changes: SimpleChanges): void;
304
+ /**----------------------------------------------------------------
305
+ * @name handleAlert
306
+ * @description Description
307
+ * @param {boolean} status
308
+ * @returns {void}
309
+ */
310
+ handleAlert(status: boolean): void;
311
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
312
+ static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "cf-alert", never, { "data": { "alias": "data"; "required": false; }; }, { "alertEvent": "alertEvent"; }, never, ["*"], false, never>;
313
+ }
314
+
315
+ /**
316
+ * CareFirst Library Logo
317
+ *
318
+ * @file logo.component
319
+ * @description Contains all the logic for generating a CareFirst Logo
320
+ * @author Arno Jansen van Vuuren
321
+ * @since 2023 - 11 - 30
322
+ * @usage <cf-logo type="vertical | horizontal" %height% %white%></cf-logo>
323
+ */
324
+
325
+ declare class LogoComponent implements OnChanges {
326
+ type: 'horizontal' | 'vertical';
327
+ height: number;
328
+ white?: string | boolean | undefined;
329
+ inputWhite: boolean;
330
+ /**----------------------------------------------------------------
331
+ * @name ngOnChanges
332
+ * @description Update various values on input changes
333
+ * @returns {void}
334
+ */
335
+ ngOnChanges(changes: SimpleChanges): void;
336
+ static ɵfac: i0.ɵɵFactoryDeclaration<LogoComponent, never>;
337
+ 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>;
338
+ }
339
+
340
+ declare class CalendarComponent implements OnChanges {
341
+ displayTime?: boolean | string | undefined;
342
+ color?: 'success' | 'accent';
343
+ min?: string | undefined;
344
+ max?: string | undefined;
345
+ readonly value: EventEmitter<string>;
346
+ inputTime: boolean;
347
+ inputColor: typeof this.color;
348
+ /**----------------------------------------------------------------
349
+ * @name ngOnChanges
350
+ * @description Update various values on component input changes
351
+ * @returns {void}
352
+ */
353
+ ngOnChanges(changes: SimpleChanges): void;
354
+ /**----------------------------------------------------------------
355
+ * @name setValue
356
+ * @description Emit the selected date value
357
+ * @param {string | string[] | null | undefined} value
358
+ * @returns {void}
359
+ */
360
+ setValue(value: string | string[] | null | undefined): void;
361
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
362
+ static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "cf-calendar", never, { "displayTime": { "alias": "displayTime"; "required": false; }; "color": { "alias": "color"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, { "value": "value"; }, never, never, false, never>;
363
+ }
364
+
365
+ /**
366
+ * CareFirst Library Form Validation Feedback
367
+ *
368
+ * @file form-validation.component
369
+ * @description Contains all the logic for generating CareFirst Form Validation Feedback
370
+ * @author Arno Jansen van Vuuren
371
+ * @since 2023 - 12 - 05
372
+ * @usage <cf-form-validation [control]="formName.get('controlName')" [customErrorMessage]="errorMessage"></cf-form-validation>
373
+ */
374
+
375
+ declare class FormValidationComponent implements OnChanges {
376
+ control: FormControl | null;
377
+ customErrorMessage: string | null;
378
+ /**----------------------------------------------------------------
379
+ * @name ngOnChanges
380
+ * @description Detect changes to input values
381
+ * @param {SimpleChanges} changes
382
+ */
383
+ ngOnChanges(changes: SimpleChanges): void;
384
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormValidationComponent, never>;
385
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormValidationComponent, "cf-form-validation", never, { "control": { "alias": "control"; "required": false; }; "customErrorMessage": { "alias": "customErrorMessage"; "required": false; }; }, {}, never, never, false, never>;
386
+ }
387
+
388
+ /**==============================================
389
+ * @interface inputsC
390
+ * @description Define available input values
391
+ */
392
+ declare const inputsC: {
393
+ readonly labelPlacement: readonly ["fixed", "floating", "stacked", "start", "end"];
394
+ readonly inputMode: readonly ["text", "email", "numeric", "tel", "decimal", "url", "search"];
395
+ readonly autoCapitalize: readonly ["off", "none", "on", "sentences", "words", "characters"];
396
+ readonly type: readonly ["date", "datetime-local", "email", "month", "number", "password", "search", "tel", "text", "time", "url", "week"];
397
+ };
398
+
399
+ /**
400
+ * Carefirst Library Form Input
401
+ *
402
+ * @file form-input.component
403
+ * @description Contains all the logic for generating a CareFirst Form Input Field
404
+ * @author Arno Jansen van Vuuren
405
+ * @since 2023 - 12 - 14
406
+ * @usage <cf-form-input
407
+ * label="Label Name"
408
+ * %labelPlacement%
409
+ * %inputMode%
410
+ * %noClearButton%
411
+ * %textCenter%
412
+ * %min%
413
+ * %max%
414
+ * %autoCapitalize%
415
+ * %type%
416
+ * %[(value)]="twoWayComs"%
417
+ * %(valueChange)="currentValueEvent"%
418
+ * %[control]%="formName.controls.controlName"
419
+ * %[customErrorMessage]%="errorMessage"
420
+ * ></cf-form-input>
421
+ * disable input by disabling the form control
422
+ */
423
+
424
+ declare class FormInputComponent implements OnChanges {
425
+ label: string;
426
+ min: string | number | undefined;
427
+ max: string | number | undefined;
428
+ labelPlacement?: (typeof inputsC.labelPlacement)[number];
429
+ placeholder?: string | undefined;
430
+ inputmode?: (typeof inputsC.inputMode)[number];
431
+ autoCapitalize?: (typeof inputsC.autoCapitalize)[number];
432
+ type?: (typeof inputsC.type)[number];
433
+ noClearButton?: boolean | string | undefined;
434
+ control?: FormControl | null;
435
+ textCenter?: boolean | string | undefined;
436
+ maxLength?: number | string;
437
+ greyBackground?: boolean | string | undefined;
438
+ customErrorMessage: string | null;
439
+ value: string | undefined;
440
+ readonly valueChange: EventEmitter<string | undefined>;
441
+ inputLabelPlacement: typeof this.labelPlacement;
442
+ localInputMode: typeof this.inputmode;
443
+ inputClear: boolean;
444
+ inputTextCenter: boolean;
445
+ inputType: typeof this.type;
446
+ inputAutoCapitalize: typeof this.autoCapitalize;
447
+ inputGreyBackground: boolean;
448
+ showPassword: boolean;
449
+ dateValidatorMin: string | null;
450
+ dateValidatorMax: string | null;
451
+ /**----------------------------------------------------------------
452
+ * @name ngOnChanges
453
+ * @description Detect changes to input values
454
+ * @param {SimpleChanges} changes
455
+ */
456
+ ngOnChanges(changes: SimpleChanges): void;
457
+ /**----------------------------------------------------------------
458
+ * @name togglePasswordShow
459
+ * @description Toggle if password is showing or hidden
460
+ * @returns {void}
461
+ */
462
+ togglePasswordShow(): void;
463
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormInputComponent, never>;
464
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormInputComponent, "cf-form-input", never, { "label": { "alias": "label"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "inputmode": { "alias": "inputmode"; "required": false; }; "autoCapitalize": { "alias": "autoCapitalize"; "required": false; }; "type": { "alias": "type"; "required": false; }; "noClearButton": { "alias": "noClearButton"; "required": false; }; "control": { "alias": "control"; "required": false; }; "textCenter": { "alias": "textCenter"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "greyBackground": { "alias": "greyBackground"; "required": false; }; "customErrorMessage": { "alias": "customErrorMessage"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
465
+ }
466
+
467
+ /**
468
+ * Carefirst Library Currency Form Input
469
+ *
470
+ * @file form-input-currency.component
471
+ * @description Contains all the logic for generating a CareFirst Form Input Currency Field
472
+ * @author Jacques Coetzee
473
+ * @since 2025 - 01 - 10
474
+ * @usage <cf-form-input-currency
475
+ * label="Label Name"
476
+ * %labelPlacement%
477
+ * %noClearButton%
478
+ * %[(value)]="twoWayComs"%
479
+ * %(valueChange)="currentValueEvent"%
480
+ * %[control]%="formName.controls.controlName"
481
+ * %[customErrorMessage]%="errorMessage"
482
+ * ></cf-form-input-currency>
483
+ * disable input by disabling the form control
484
+ */
485
+
486
+ declare class FormInputCurrencyComponent implements OnChanges {
487
+ currencyTextInput?: IonInput;
488
+ label: string;
489
+ labelPlacement?: (typeof inputsC.labelPlacement)[number];
490
+ placeholder?: string;
491
+ noClearButton?: boolean | string | undefined;
492
+ control?: FormControl | null;
493
+ customErrorMessage: string | null;
494
+ currency?: string;
495
+ showCurrency: boolean;
496
+ value: string | undefined;
497
+ readonly valueChange: EventEmitter<string | undefined>;
498
+ inputLabelPlacement: typeof this.labelPlacement;
499
+ inputClear: boolean;
500
+ inputShowCurrency: boolean;
501
+ /**----------------------------------------------------------------
502
+ * @name ngOnChanges
503
+ * @description Detect changes to input values
504
+ * @param {SimpleChanges} changes
505
+ */
506
+ ngOnChanges(changes: SimpleChanges): void;
507
+ /**----------------------------------------------------------------
508
+ * @name checkValue
509
+ * @description Check the content of the input field
510
+ * @param {CustomEvent} event
511
+ */
512
+ checkValue(event: CustomEvent): void;
513
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormInputCurrencyComponent, never>;
514
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormInputCurrencyComponent, "cf-form-input-currency", never, { "label": { "alias": "label"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "noClearButton": { "alias": "noClearButton"; "required": false; }; "control": { "alias": "control"; "required": false; }; "customErrorMessage": { "alias": "customErrorMessage"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "showCurrency": { "alias": "showCurrency"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
515
+ }
516
+
517
+ /**==============================================
518
+ * @interface FormInputSelectOptionsI
519
+ * @description Structure for the input select options
520
+ */
521
+ interface FormInputSelectOptionsI<T> {
522
+ displayName: string | number;
523
+ value: T;
524
+ }
525
+
526
+ type input_interface_d_FormInputSelectOptionsI<T> = FormInputSelectOptionsI<T>;
527
+ declare namespace input_interface_d {
528
+ export type { input_interface_d_FormInputSelectOptionsI as FormInputSelectOptionsI };
529
+ }
530
+
531
+ /**
532
+ * Carefirst Library Form Input Select
533
+ *
534
+ * @file form-input-select.component
535
+ * @description Contains all the logic for generating a CareFirst Select
536
+ * @author Arno Jansen van Vuuren
537
+ * @since 2023 - 12 - 14
538
+ * @usage <cf-form-input-select
539
+ * label="Label Name"
540
+ * [options]="[{ displayName: string; value: string | number | boolean | null | undefined }]"
541
+ * %labelPlacement%
542
+ * %(valueChange)="currentValue"%
543
+ * %[(value)]="twoWayComs"%
544
+ * %[control]%="formName.controls.controlName"
545
+ * %[customErrorMessage]%="errorMessage"
546
+ * ></cf-form-input-select>
547
+ * disable input by disabling the form control
548
+ */
549
+
550
+ /**==============================================
551
+ * @interface inputSelectC
552
+ * @description Define available input select values
553
+ */
554
+ declare const inputSelectC: {
555
+ readonly labelPlacement: readonly ["fixed", "floating", "stacked", "start", "end"];
556
+ };
557
+ declare class FormInputSelectComponent<T, Q extends T> implements OnChanges {
558
+ label: string;
559
+ options: FormInputSelectOptionsI<T>[];
560
+ labelPlacement?: (typeof inputSelectC.labelPlacement)[number];
561
+ placeholder?: string | undefined;
562
+ control?: FormControl | null;
563
+ customErrorMessage: string | null;
564
+ value: Q | undefined;
565
+ readonly valueChange: EventEmitter<Q | undefined>;
566
+ inputLabelPlacement: typeof this.labelPlacement;
567
+ /**----------------------------------------------------------------
568
+ * @name ngOnChanges
569
+ * @description Detect changes to input values
570
+ * @param {SimpleChanges} changes
571
+ */
572
+ ngOnChanges(changes: SimpleChanges): void;
573
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormInputSelectComponent<any, any>, never>;
574
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormInputSelectComponent<any, any>, "cf-form-input-select", never, { "label": { "alias": "label"; "required": false; }; "options": { "alias": "options"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "control": { "alias": "control"; "required": false; }; "customErrorMessage": { "alias": "customErrorMessage"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
575
+ }
576
+
577
+ declare class FormInputStringDateComponent implements OnChanges {
578
+ dateTextInput?: IonInput;
579
+ label: string;
580
+ minDate: string | Date | undefined;
581
+ maxDate: string | Date | undefined;
582
+ labelPlacement?: (typeof inputsC.labelPlacement)[number];
583
+ placeholder?: string;
584
+ noClearButton?: boolean | string | undefined;
585
+ control?: FormControl | null;
586
+ customErrorMessage: string | null;
587
+ value: string | undefined;
588
+ readonly valueChange: EventEmitter<string | undefined>;
589
+ inputLabelPlacement: typeof this.labelPlacement;
590
+ inputClear: boolean;
591
+ /**----------------------------------------------------------------
592
+ * @name ngOnChanges
593
+ * @description Detect changes to input values
594
+ * @param {SimpleChanges} changes
595
+ */
596
+ ngOnChanges(changes: SimpleChanges): void;
597
+ /**----------------------------------------------------------------
598
+ * @name formatDate
599
+ * @description Format the date with hyphens
600
+ * @param {CustomEvent} event
601
+ */
602
+ formatDate(event: CustomEvent): void;
603
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormInputStringDateComponent, never>;
604
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormInputStringDateComponent, "cf-form-input-string-date", never, { "label": { "alias": "label"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "noClearButton": { "alias": "noClearButton"; "required": false; }; "control": { "alias": "control"; "required": false; }; "customErrorMessage": { "alias": "customErrorMessage"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
605
+ }
606
+
607
+ /**
608
+ * Carefirst Library Form Input Text Area
609
+ *
610
+ * @file form-input-text-area.component
611
+ * @description Contains all the logic for generating a CareFirst Form Input Text Area
612
+ * @author Arno Jansen van Vuuren
613
+ * @since 2023 - 12 - 18
614
+ * @usage <cf-form-input-text-area
615
+ * label="Label Name"
616
+ * %labelPlacement%
617
+ * %textCenter%
618
+ * %autoCapitalize%
619
+ * %(valueChange)="currentValue"%
620
+ * %[(value)]="twoWayComs"%
621
+ * %[control]%="formName.controls.controlName"
622
+ * %[customErrorMessage]%="errorMessage"
623
+ * ></cf-form-input-text-area>
624
+ * disable input by disabling the form control
625
+ */
626
+
627
+ /**==============================================
628
+ * @interface inputTextAreaC
629
+ * @description Define available input values
630
+ */
631
+ declare const inputTextAreaC: {
632
+ readonly labelPlacement: readonly ["fixed", "floating", "stacked", "start", "end"];
633
+ readonly autoCapitalize: readonly ["off", "none", "on", "sentences", "words", "characters"];
634
+ };
635
+ declare class FormInputTextAreaComponent implements OnChanges {
636
+ label: string;
637
+ labelPlacement?: (typeof inputTextAreaC.labelPlacement)[number];
638
+ placeholder?: string | undefined;
639
+ autoCapitalize?: (typeof inputTextAreaC.autoCapitalize)[number];
640
+ control?: FormControl | null;
641
+ textCenter?: boolean | string | undefined;
642
+ minHeight?: string | 'none';
643
+ maxHeight?: string | 'none';
644
+ customErrorMessage: string | null;
645
+ value: string | undefined;
646
+ readonly valueChange: EventEmitter<string | undefined>;
647
+ inputLabelPlacement: typeof this.labelPlacement;
648
+ inputClear: boolean;
649
+ inputTextCenter: boolean;
650
+ inputAutoCapitalize: typeof this.autoCapitalize;
651
+ /**----------------------------------------------------------------
652
+ * @name ngOnChanges
653
+ * @description Detect changes to input values
654
+ * @param {SimpleChanges} changes
655
+ */
656
+ ngOnChanges(changes: SimpleChanges): void;
657
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormInputTextAreaComponent, never>;
658
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormInputTextAreaComponent, "cf-form-input-text-area", never, { "label": { "alias": "label"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autoCapitalize": { "alias": "autoCapitalize"; "required": false; }; "control": { "alias": "control"; "required": false; }; "textCenter": { "alias": "textCenter"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "customErrorMessage": { "alias": "customErrorMessage"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
659
+ }
660
+
661
+ /**
662
+ * Carefirst Library Form Input Search
663
+ *
664
+ * @file form-input-search.component
665
+ * @description Contains all the logic for generating a CareFirst Form Input Search Field
666
+ * @author Arno Jansen van Vuuren
667
+ * @since 2024 - 09 - 25
668
+ * @usage <cf-form-input-search
669
+ * label="Label Name"
670
+ * %labelPlacement%
671
+ * %clearButton%
672
+ * %textCenter%
673
+ * %autoCapitalize%
674
+ * %[(value)]="twoWayComs"%
675
+ * %(valueChange)="currentValueEvent"%
676
+ * %[control]%="formName.controls.controlName"
677
+ * %[customErrorMessage]%="errorMessage"
678
+ * ></cf-form-input-search>
679
+ * disable input by disabling the form control
680
+ */
681
+
682
+ declare class FormInputSearchComponent implements OnChanges {
683
+ label: string;
684
+ labelPlacement?: (typeof inputsC.labelPlacement)[number];
685
+ placeholder?: string | undefined;
686
+ autoCapitalize?: (typeof inputsC.autoCapitalize)[number];
687
+ clearButton?: boolean | string | undefined;
688
+ control?: FormControl | null;
689
+ textCenter?: boolean | string | undefined;
690
+ customErrorMessage: string | null;
691
+ debounce?: number | undefined;
692
+ readonly searchButtonTrigger: EventEmitter<string | undefined>;
693
+ value: string | undefined;
694
+ readonly valueChange: EventEmitter<string | undefined>;
695
+ inputLabelPlacement: typeof this.labelPlacement;
696
+ inputClear: boolean;
697
+ inputTextCenter: boolean;
698
+ inputAutoCapitalize: typeof this.autoCapitalize;
699
+ showPassword: boolean;
700
+ /**----------------------------------------------------------------
701
+ * @name ngOnChanges
702
+ * @description Detect changes to input values
703
+ * @param {SimpleChanges} changes
704
+ */
705
+ ngOnChanges(changes: SimpleChanges): void;
706
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormInputSearchComponent, never>;
707
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormInputSearchComponent, "cf-form-input-search", never, { "label": { "alias": "label"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autoCapitalize": { "alias": "autoCapitalize"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "control": { "alias": "control"; "required": false; }; "textCenter": { "alias": "textCenter"; "required": false; }; "customErrorMessage": { "alias": "customErrorMessage"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "searchButtonTrigger": "searchButtonTrigger"; "valueChange": "valueChange"; }, never, never, false, never>;
708
+ }
709
+
710
+ /**
711
+ * CareFirst Chat Bubble
712
+ *
713
+ * @file chat-bubble.component
714
+ * @description Contains all the logic for generating a CareFirst Chat Bubble
715
+ * @author Jacques Coetzee
716
+ * @since 2024 - 02 - 22
717
+ * @usage <cf-chat-bubble type="outgoing | incoming" date="string" message="string" %darkMode%></cf-chat-bubble>
718
+ */
719
+
720
+ declare class ChatBubbleComponent implements OnChanges {
721
+ type: 'outgoing' | 'incoming';
722
+ date: string;
723
+ message: string;
724
+ darkMode?: string | boolean | undefined;
725
+ inputType: typeof this.type;
726
+ inputDate: typeof this.date;
727
+ inputMessage: typeof this.message;
728
+ inputDarkMode: boolean;
729
+ /**----------------------------------------------------------------
730
+ * @name ngOnChanges
731
+ * @description Update various values on input changes
732
+ * @returns {void}
733
+ */
734
+ ngOnChanges(changes: SimpleChanges): void;
735
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChatBubbleComponent, never>;
736
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChatBubbleComponent, "cf-chat-bubble", never, { "type": { "alias": "type"; "required": false; }; "date": { "alias": "date"; "required": false; }; "message": { "alias": "message"; "required": false; }; "darkMode": { "alias": "darkMode"; "required": false; }; }, {}, never, never, false, never>;
737
+ }
738
+
739
+ /**==============================================
740
+ * @interface BadgeTypeT
741
+ * @description Types of badges available
742
+ */
743
+ declare const badgeTypeC: readonly ["primary", "white", "success", "alert", "accent", "warning", "disabled", "feedback-success", "feedback-error", "feedback-warning", "feedback-busy", "custom-color"];
744
+ type BadgeTypeT = (typeof badgeTypeC)[number];
745
+
746
+ type badge_interface_d_BadgeTypeT = BadgeTypeT;
747
+ declare const badge_interface_d_badgeTypeC: typeof badgeTypeC;
748
+ declare namespace badge_interface_d {
749
+ export { badge_interface_d_badgeTypeC as badgeTypeC };
750
+ export type { badge_interface_d_BadgeTypeT as BadgeTypeT };
751
+ }
752
+
753
+ /**
754
+ * CareFirst Chat Badge
755
+ *
756
+ * @file badge.component
757
+ * @description Contains all the logic for generating a CareFirst Chat Badge
758
+ * @author Jacques Coetzee
759
+ * @since 2024 - 02 - 22
760
+ * @usage <cf-badge
761
+ * type="BadgeTypeT"
762
+ * %icon%="IconsT"
763
+ * %small%
764
+ * %large%
765
+ * style="
766
+ * %--custom-color: #000000;%
767
+ * %--custom-color-text: #FFFFFF;%
768
+ * >
769
+ * </cf-badge>
770
+ */
771
+
772
+ /**==============================================
773
+ * @name BadgeComponent
774
+ * */
775
+ declare class BadgeComponent implements OnChanges {
776
+ type: BadgeTypeT;
777
+ icon?: IconsT | undefined;
778
+ small?: boolean | string | undefined;
779
+ large?: boolean | string | undefined;
780
+ stretch?: boolean | string | undefined;
781
+ inputType: typeof this.type;
782
+ inputIcon: typeof this.icon | undefined;
783
+ fontsize: number;
784
+ inputSmall: boolean;
785
+ inputLarge: boolean;
786
+ inputStretch: boolean;
787
+ /**----------------------------------------------------------------
788
+ * @name ngOnChanges
789
+ * @description Update various values on input changes
790
+ * @returns {void}
791
+ */
792
+ ngOnChanges(changes: SimpleChanges): void;
793
+ static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
794
+ 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; }; "stretch": { "alias": "stretch"; "required": false; }; }, {}, never, ["*"], false, never>;
795
+ }
796
+
797
+ declare class SpinnerComponent implements OnChanges {
798
+ size: number | string;
799
+ inputSize: number;
800
+ /**----------------------------------------------------------------
801
+ * @name ngOnChanges
802
+ * @description Update various values on input changes
803
+ * @returns {void}
804
+ */
805
+ ngOnChanges(changes: SimpleChanges): void;
806
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
807
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "cf-spinner", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
808
+ }
809
+
810
+ /**==============================================
811
+ * @interface CfCodeInputVerificationStatusesT
812
+ * @description All available statuses for the verification code component
813
+ */
814
+ declare const cfCodeInputVerificationStatusesC: readonly ["initial", "invalid", "disabled", "processing"];
815
+ type CfCodeInputVerificationStatusesT = (typeof cfCodeInputVerificationStatusesC)[number];
816
+ /**==============================================
817
+ * @interface CfCodeInputUserFeedbackMessagesI
818
+ * @description Messages displayed to user when certain events occur
819
+ */
820
+ interface CfCodeInputUserFeedbackMessagesI {
821
+ initial?: string[];
822
+ standardResend?: string[];
823
+ limitReached?: string[];
824
+ error?: {
825
+ errorMessage?: string[];
826
+ resend?: string[];
827
+ };
828
+ }
829
+
830
+ type verificationCode_interface_d_CfCodeInputUserFeedbackMessagesI = CfCodeInputUserFeedbackMessagesI;
831
+ type verificationCode_interface_d_CfCodeInputVerificationStatusesT = CfCodeInputVerificationStatusesT;
832
+ declare namespace verificationCode_interface_d {
833
+ export type { verificationCode_interface_d_CfCodeInputUserFeedbackMessagesI as CfCodeInputUserFeedbackMessagesI, verificationCode_interface_d_CfCodeInputVerificationStatusesT as CfCodeInputVerificationStatusesT };
834
+ }
835
+
836
+ /**
837
+ * Carefirst library - Verification Code Input
838
+ *
839
+ * @file verification-code.component
840
+ * @description Contains all the logic for generating a CareFirst Verification Code Input
841
+ * @author Arno Jansen van Vuuren
842
+ * @since 2024 - 03 - 07
843
+ * @usage <cf-verification-code
844
+ valueToVerify=`string`
845
+ (outcome)=`omits code value`
846
+ (resendClickEvent)=`resend click event`
847
+ [status]=`BehaviorSubject<'initial' | 'invalid'>`>
848
+ </cf-verification-code>
849
+ */
850
+
851
+ declare class VerificationCodeComponent implements OnChanges {
852
+ valueToVerify: string;
853
+ status: BehaviorSubject<CfCodeInputVerificationStatusesT>;
854
+ userFeedbackMessages?: CfCodeInputUserFeedbackMessagesI;
855
+ readonly outcome: EventEmitter<string>;
856
+ readonly resendClickEvent: EventEmitter<true>;
857
+ myInput1?: IonInput;
858
+ myInput2?: IonInput;
859
+ myInput3?: IonInput;
860
+ myInput4?: IonInput;
861
+ myInput5?: IonInput;
862
+ validationCodeError: boolean;
863
+ verificationCodeInputArr: (number | null)[];
864
+ loading: boolean;
865
+ commsSentCount: number;
866
+ commsInputCount: number;
867
+ commsInputCountExceeded: boolean;
868
+ validationCode: string | undefined;
869
+ statusSub$?: Subscription;
870
+ /**----------------------------------------------------------------
871
+ * @name ionViewWillEnter
872
+ * @description Update various values on component initialization
873
+ * @returns {void}
874
+ */
875
+ ionViewDidEnter(): void;
876
+ /**----------------------------------------------------------------
877
+ * @name ngOnChanges
878
+ * @description Update various values on input changes
879
+ * @returns {void}
880
+ */
881
+ ngOnChanges(changes: SimpleChanges): void;
882
+ /**----------------------------------------------------------------
883
+ * @name resendVerificationCode
884
+ * @description Resend a verification code
885
+ * @returns {void}
886
+ */
887
+ resendVerificationCode(): void;
888
+ /**----------------------------------------------------------------
889
+ * @name formulateAndCheckVerificationCode
890
+ * @description Handle inputs associated with the verification code and do call once code is complete
891
+ * @param {InputCustomEvent} event
892
+ * @param {number} index
893
+ * @returns {void}
894
+ */
895
+ formulateAndCheckVerificationCode(event: InputCustomEvent, index: number): void;
896
+ /**----------------------------------------------------------------
897
+ * @name resetAllInputFields
898
+ * @description Reset all input fields
899
+ * @returns {void}
900
+ */
901
+ private resetAllInputFields;
902
+ /**----------------------------------------------------------------
903
+ * @name setFocusToNext
904
+ * @description Set the focus to the next input
905
+ * @param {number} currentIndex
906
+ * @returns {void}
907
+ */
908
+ private setFocusToNext;
909
+ /**----------------------------------------------------------------
910
+ * @name clearCodeInput
911
+ * @description Clear a code input on invalid key
912
+ * @param {number} index
913
+ * @returns {void}
914
+ */
915
+ private clearCodeInput;
916
+ /**----------------------------------------------------------------
917
+ * @name ionViewWillLeave
918
+ * @description Unsubscribe on component leave
919
+ * @returns {void}
920
+ */
921
+ ionViewWillLeave(): void;
922
+ static ɵfac: i0.ɵɵFactoryDeclaration<VerificationCodeComponent, never>;
923
+ 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>;
924
+ }
925
+
926
+ /**
927
+ * CareFirst Mix P
928
+ *
929
+ * @file mix-p.component
930
+ * @description A component that generates a p tag with different fonts for desktop and mobile
931
+ * @author Jacques Coetzee
932
+ * @since 2024 - 03 - 25
933
+ */
934
+
935
+ declare class MixPComponent implements OnInit, OnChanges {
936
+ mobile: string;
937
+ desktop: string;
938
+ pClass: string;
939
+ private inputMobile;
940
+ private inputDesktop;
941
+ private getScreenWidth;
942
+ /**----------------------------------------------------------------
943
+ * @name ngOnChanges
944
+ * @description Update various values on input changes
945
+ * @returns {void}
946
+ */
947
+ ngOnChanges(changes: SimpleChanges): void;
948
+ /**----------------------------------------------------------------
949
+ * @name ngOnInit
950
+ * @description Update various values on component initialization
951
+ * @returns {void}
952
+ */
953
+ ngOnInit(): void;
954
+ /**----------------------------------------------------------------
955
+ * @name onWindowResize
956
+ * @description Add a host listener to screen size changes
957
+ * @returns {void}
958
+ */
959
+ onWindowResize(): void;
960
+ /**----------------------------------------------------------------
961
+ * @name updateClass
962
+ * @description Update P element class based on screen size and $cf-screen-breakpoint
963
+ * @returns {void}
964
+ */
965
+ updateClass(): void;
966
+ static ɵfac: i0.ɵɵFactoryDeclaration<MixPComponent, never>;
967
+ static ɵcmp: i0.ɵɵComponentDeclaration<MixPComponent, "cf-mix-p", never, { "mobile": { "alias": "mobile"; "required": false; }; "desktop": { "alias": "desktop"; "required": false; }; }, {}, never, ["*"], false, never>;
968
+ }
969
+
970
+ declare class CareFirstLibraryModule {
971
+ static ɵfac: i0.ɵɵFactoryDeclaration<CareFirstLibraryModule, never>;
972
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CareFirstLibraryModule, [typeof PageComponent, typeof ButtonComponent, typeof SpacerComponent, typeof IconComponent, typeof ButtonLoaderDirective, typeof NotificationComponent, typeof AlertComponent, typeof LogoComponent, typeof CalendarComponent, typeof FormValidationComponent, typeof FormInputComponent, typeof FormInputCurrencyComponent, typeof FormInputSelectComponent, typeof FormInputStringDateComponent, typeof FormInputTextAreaComponent, typeof FormInputSearchComponent, typeof ChatBubbleComponent, typeof BadgeComponent, typeof SpinnerComponent, typeof VerificationCodeComponent, typeof MixPComponent], [typeof i22.IonicModule, typeof i23.CommonModule, typeof i24.ReactiveFormsModule], [typeof PageComponent, typeof ButtonComponent, typeof SpacerComponent, typeof IconComponent, typeof ButtonLoaderDirective, typeof NotificationComponent, typeof AlertComponent, typeof LogoComponent, typeof CalendarComponent, typeof FormValidationComponent, typeof FormInputComponent, typeof FormInputCurrencyComponent, typeof FormInputSelectComponent, typeof FormInputStringDateComponent, typeof FormInputTextAreaComponent, typeof FormInputSearchComponent, typeof ChatBubbleComponent, typeof BadgeComponent, typeof SpinnerComponent, typeof VerificationCodeComponent, typeof MixPComponent]>;
973
+ static ɵinj: i0.ɵɵInjectorDeclaration<CareFirstLibraryModule>;
974
+ }
975
+
976
+ /**
977
+ * Form validators
978
+ *
979
+ * @file form-validators
980
+ * @description Various form validators
981
+ * @author Jacques Coetzee
982
+ * @since 2022 - 01 - 20
983
+ * @usage Display "errorMessage" key value as validator response message
984
+ */
985
+
986
+ declare class CFPFormValidators {
987
+ /**----------------------------------------------------------------
988
+ * @name checkPSWRetype
989
+ * @description Check if passwords match
990
+ * @param {string} controlNameToCheckAgainst
991
+ * @returns {ValidatorFn}
992
+ * @usage FormValidators.compareTo('password')
993
+ */
994
+ static compareTo(controlNameToCheckAgainst: string): ValidatorFn;
995
+ /**----------------------------------------------------------------
996
+ * @name asPassword
997
+ * @description Validate control as password
998
+ * @returns {ValidatorFn}
999
+ * @usage FormValidators.asPassword()
1000
+ */
1001
+ static asPassword(): ValidatorFn;
1002
+ /**----------------------------------------------------------------
1003
+ * @name asEmail
1004
+ * @description Validate control as email
1005
+ * @param {true} canBeEmpty
1006
+ * @returns {ValidatorFn}
1007
+ * @usage FormValidators.asEmail(true?)
1008
+ */
1009
+ static asEmail(canBeEmpty?: true): ValidatorFn;
1010
+ /**----------------------------------------------------------------
1011
+ * @name isIn
1012
+ * @description Validate control value is part of a given list
1013
+ * @param {(string | number)[]} list
1014
+ * @returns {ValidatorFn}
1015
+ * @usage FormValidators.isIn()
1016
+ */
1017
+ static isIn(list: (string | number)[]): ValidatorFn;
1018
+ /**----------------------------------------------------------------
1019
+ * @name isSAIDNumber
1020
+ * @description Validate control value is a valid RSA ID Number
1021
+ * @param {true} canBeEmpty
1022
+ * @returns {ValidatorFn}
1023
+ * @usage FormValidators.isSAIDNumber(true?)
1024
+ */
1025
+ static isSAIDNumber(canBeEmpty?: true): ValidatorFn;
1026
+ /**----------------------------------------------------------------
1027
+ * @name isValidDate
1028
+ * @description Validate control value is part of a given list
1029
+ * @param {string | null} minDate
1030
+ * @param {string | null} maxDate
1031
+ * @returns {ValidatorFn}
1032
+ * @usage FormValidators.isValidDate('1999-01-01', '2020-01-01')
1033
+ */
1034
+ static isValidDate(minDate: string | null, maxDate?: string | null): ValidatorFn;
1035
+ /**----------------------------------------------------------------
1036
+ * @name isValidCellNumber
1037
+ * @description Validate control value is a valid cellphone number and containing a valid dial code
1038
+ * @param {string[]} dialCodes
1039
+ * @returns {ValidatorFn}
1040
+ * @usage FormValidators.isValidCellNumber(['27'])
1041
+ */
1042
+ static isValidCellNumber(dialCodes?: string[]): ValidatorFn;
1043
+ }
1044
+
1045
+ export { AlertComponent, BadgeComponent, ButtonComponent, ButtonLoaderDirective, alert_interface_d as CFAlertI, badge_interface_d as CFBadgeI, verificationCode_interface_d as CFCodeInputI, icon_interface_d as CFIconI, input_interface_d as CFInputI, notification_interface_d as CFNotificationI, CFPFormValidators, spacer_interface_d as CFSpacerI, CalendarComponent, CareFirstLibraryModule, ChatBubbleComponent, FormInputComponent, FormInputCurrencyComponent, FormInputSearchComponent, FormInputSelectComponent, FormInputStringDateComponent, FormInputTextAreaComponent, FormValidationComponent, IconComponent, LogoComponent, MixPComponent, NotificationComponent, PageComponent, SpacerComponent, SpinnerComponent, VerificationCodeComponent };