@carefirst/library 1.3.8 → 1.3.10
Sign up to get free protection for your applications and to get access to all the features.
- package/.eslintrc.json +31 -0
- package/ng-package.json +8 -0
- package/package.json +11 -14
- package/public/styles/colors.scss +2 -2
- package/public/styles/font.scss +2 -2
- package/src/lib/components/alert/alert.component.html +0 -0
- package/src/lib/components/alert/alert.component.scss +63 -0
- package/src/lib/components/alert/alert.component.spec.ts +23 -0
- package/src/lib/components/alert/alert.component.ts +73 -0
- package/src/lib/components/badge/badge.component.html +5 -0
- package/src/lib/components/badge/badge.component.scss +96 -0
- package/src/lib/components/badge/badge.component.spec.ts +23 -0
- package/src/lib/components/badge/badge.component.ts +61 -0
- package/src/lib/components/button/button.component.html +20 -0
- package/src/lib/components/button/button.component.scss +153 -0
- package/src/lib/components/button/button.component.spec.ts +21 -0
- package/src/lib/components/button/button.component.ts +94 -0
- package/src/lib/components/calendar/calendar.component.html +9 -0
- package/src/lib/components/calendar/calendar.component.scss +34 -0
- package/src/lib/components/calendar/calendar.component.spec.ts +23 -0
- package/src/lib/components/calendar/calendar.component.ts +53 -0
- package/src/lib/components/chat-bubble/chat-bubble.component.html +9 -0
- package/src/lib/components/chat-bubble/chat-bubble.component.scss +31 -0
- package/src/lib/components/chat-bubble/chat-bubble.component.spec.ts +23 -0
- package/src/lib/components/chat-bubble/chat-bubble.component.ts +43 -0
- package/src/lib/components/form-input/form-input.component.html +37 -0
- package/src/lib/components/form-input/form-input.component.scss +23 -0
- package/src/lib/components/form-input/form-input.component.spec.ts +23 -0
- package/src/lib/components/form-input/form-input.component.ts +95 -0
- package/src/lib/components/form-input-select/form-input-select.component.html +27 -0
- package/src/lib/components/form-input-select/form-input-select.component.scss +40 -0
- package/src/lib/components/form-input-select/form-input-select.component.spec.ts +23 -0
- package/src/lib/components/form-input-select/form-input-select.component.ts +61 -0
- package/src/lib/components/form-input-text-area/form-input-text-area.component.html +29 -0
- package/src/lib/components/form-input-text-area/form-input-text-area.component.scss +19 -0
- package/src/lib/components/form-input-text-area/form-input-text-area.component.spec.ts +23 -0
- package/src/lib/components/form-input-text-area/form-input-text-area.component.ts +76 -0
- package/src/lib/components/form-validation/form-validation.component.html +8 -0
- package/src/lib/components/form-validation/form-validation.component.scss +8 -0
- package/src/lib/components/form-validation/form-validation.component.spec.ts +23 -0
- package/src/lib/components/form-validation/form-validation.component.ts +34 -0
- package/src/lib/components/icon/icon.component.html +529 -0
- package/src/lib/components/icon/icon.component.scss +61 -0
- package/src/lib/components/icon/icon.component.spec.ts +21 -0
- package/src/lib/components/icon/icon.component.ts +40 -0
- package/src/lib/components/logo/logo.component.html +10 -0
- package/src/lib/components/logo/logo.component.scss +5 -0
- package/src/lib/components/logo/logo.component.spec.ts +23 -0
- package/src/lib/components/logo/logo.component.ts +21 -0
- package/src/lib/components/notification/notification.component.html +39 -0
- package/src/lib/components/notification/notification.component.scss +20 -0
- package/src/lib/components/notification/notification.component.spec.ts +21 -0
- package/src/lib/components/notification/notification.component.ts +23 -0
- package/src/lib/components/page/page.component.html +5 -0
- package/src/lib/components/page/page.component.scss +35 -0
- package/src/lib/components/page/page.component.spec.ts +21 -0
- package/src/lib/components/page/page.component.ts +42 -0
- package/src/lib/components/spacer/spacer.component.html +4 -0
- package/src/lib/components/spacer/spacer.component.scss +27 -0
- package/src/lib/components/spacer/spacer.component.spec.ts +21 -0
- package/src/lib/components/spacer/spacer.component.ts +43 -0
- package/src/lib/components/spinner/spinner.component.html +1 -0
- package/src/lib/components/spinner/spinner.component.scss +14 -0
- package/src/lib/components/spinner/spinner.component.spec.ts +23 -0
- package/src/lib/components/spinner/spinner.component.ts +33 -0
- package/src/lib/directives/button-loader.directive.spec.ts +8 -0
- package/src/lib/directives/button-loader.directive.ts +77 -0
- package/src/lib/interfaces/alert.interface.ts +20 -0
- package/src/lib/interfaces/icon.interface.ts +62 -0
- package/src/lib/interfaces/input.interface.ts +8 -0
- package/src/lib/interfaces/notification.interface.ts +15 -0
- package/src/lib/interfaces/spacer.interface.ts +6 -0
- package/src/lib/library.module.ts +66 -0
- package/src/lib/utils/attribute.util.ts +66 -0
- package/src/lib/utils/form-validators-utility.ts +186 -0
- package/{public-api.d.ts → src/public-api.ts} +21 -0
- package/tsconfig.lib.json +12 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/esm2022/carefirst-library.mjs +0 -2
- package/esm2022/lib/components/alert/alert.component.mjs +0 -56
- package/esm2022/lib/components/button/button.component.mjs +0 -87
- package/esm2022/lib/components/calendar/calendar.component.mjs +0 -39
- package/esm2022/lib/components/form-input/form-input.component.mjs +0 -87
- package/esm2022/lib/components/form-input-select/form-input-select.component.mjs +0 -46
- package/esm2022/lib/components/form-input-text-area/form-input-text-area.component.mjs +0 -61
- package/esm2022/lib/components/form-validation/form-validation.component.mjs +0 -20
- package/esm2022/lib/components/icon/icon.component.mjs +0 -29
- package/esm2022/lib/components/logo/logo.component.mjs +0 -18
- package/esm2022/lib/components/notification/notification.component.mjs +0 -22
- package/esm2022/lib/components/page/page.component.mjs +0 -31
- package/esm2022/lib/components/spacer/spacer.component.mjs +0 -30
- package/esm2022/lib/directives/button-loader.directive.mjs +0 -41
- package/esm2022/lib/interfaces/alert.interface.mjs +0 -2
- package/esm2022/lib/interfaces/icon.interface.mjs +0 -52
- package/esm2022/lib/interfaces/input.interface.mjs +0 -2
- package/esm2022/lib/interfaces/notification.interface.mjs +0 -2
- package/esm2022/lib/interfaces/spacer.interface.mjs +0 -2
- package/esm2022/lib/library.module.mjs +0 -85
- package/esm2022/lib/utils/attribute.util.mjs +0 -34
- package/esm2022/lib/utils/form-validators-utility.mjs +0 -113
- package/esm2022/public-api.mjs +0 -21
- package/fesm2022/carefirst-library.mjs +0 -799
- package/fesm2022/carefirst-library.mjs.map +0 -1
- package/index.d.ts +0 -2
- package/lib/components/alert/alert.component.d.ts +0 -14
- package/lib/components/button/button.component.d.ts +0 -30
- package/lib/components/calendar/calendar.component.d.ts +0 -15
- package/lib/components/form-input/form-input.component.d.ts +0 -37
- package/lib/components/form-input-select/form-input-select.component.d.ts +0 -21
- package/lib/components/form-input-text-area/form-input-text-area.component.d.ts +0 -27
- package/lib/components/form-validation/form-validation.component.d.ts +0 -9
- package/lib/components/icon/icon.component.d.ts +0 -13
- package/lib/components/logo/logo.component.d.ts +0 -7
- package/lib/components/notification/notification.component.d.ts +0 -9
- package/lib/components/page/page.component.d.ts +0 -13
- package/lib/components/spacer/spacer.component.d.ts +0 -14
- package/lib/directives/button-loader.directive.d.ts +0 -12
- package/lib/interfaces/alert.interface.d.ts +0 -11
- package/lib/interfaces/icon.interface.d.ts +0 -4
- package/lib/interfaces/input.interface.d.ts +0 -4
- package/lib/interfaces/notification.interface.d.ts +0 -11
- package/lib/interfaces/spacer.interface.d.ts +0 -3
- package/lib/library.module.d.ts +0 -22
- package/lib/utils/attribute.util.d.ts +0 -4
- package/lib/utils/form-validators-utility.d.ts +0 -8
package/index.d.ts
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
import { type OnChanges, type SimpleChanges, EventEmitter } from '@angular/core';
|
2
|
-
import { AlertController } from '@ionic/angular';
|
3
|
-
import type { AlertDataI, AlertEventI } from '../../interfaces/alert.interface';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export declare class AlertComponent implements OnChanges {
|
6
|
-
private readonly alertController;
|
7
|
-
data: AlertDataI | undefined;
|
8
|
-
alertEvent: EventEmitter<AlertEventI>;
|
9
|
-
constructor(alertController: AlertController);
|
10
|
-
ngOnChanges(changes: SimpleChanges): void;
|
11
|
-
showAlert(data: AlertDataI): Promise<void>;
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "cf-alert", never, { "data": { "alias": "data"; "required": false; }; }, { "alertEvent": "alertEvent"; }, never, never, false, never>;
|
14
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import { type SimpleChanges, type OnChanges } from '@angular/core';
|
2
|
-
import { type IconsT } from '../../interfaces/icon.interface';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class ButtonComponent implements OnChanges {
|
5
|
-
type: 'primary' | 'secondary' | 'tertiary';
|
6
|
-
disabled?: boolean | string | undefined;
|
7
|
-
alert?: boolean | string | undefined;
|
8
|
-
action?: boolean | string | undefined;
|
9
|
-
snug?: boolean | string | undefined;
|
10
|
-
fontSize?: 'small' | 'large';
|
11
|
-
iconStart?: IconsT | undefined;
|
12
|
-
iconEnd?: IconsT | undefined;
|
13
|
-
loading?: boolean | string | undefined;
|
14
|
-
customColor?: string | undefined;
|
15
|
-
get parentEvents(): string;
|
16
|
-
inputType: typeof this.type;
|
17
|
-
inputFontSize: typeof this.fontSize | undefined;
|
18
|
-
inputDisabled: boolean;
|
19
|
-
inputAlert: boolean;
|
20
|
-
inputAction: boolean;
|
21
|
-
inputSnug: boolean;
|
22
|
-
inputIconStart: typeof this.iconStart | undefined;
|
23
|
-
inputIconEnd: typeof this.iconEnd | undefined;
|
24
|
-
inputLoading: boolean;
|
25
|
-
inputCustomColor: string;
|
26
|
-
ngOnChanges(changes: SimpleChanges): void;
|
27
|
-
checkCustomColor(color: string): string;
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "cf-btn", never, { "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "alert": { "alias": "alert"; "required": false; }; "action": { "alias": "action"; "required": false; }; "snug": { "alias": "snug"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "iconStart": { "alias": "iconStart"; "required": false; }; "iconEnd": { "alias": "iconEnd"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "customColor": { "alias": "customColor"; "required": false; }; }, {}, never, ["*"], false, never>;
|
30
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { EventEmitter, type OnChanges, type SimpleChanges } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class CalendarComponent implements OnChanges {
|
4
|
-
displayTime?: boolean | string | undefined;
|
5
|
-
color?: 'success' | 'accent';
|
6
|
-
min?: string | undefined;
|
7
|
-
max?: string | undefined;
|
8
|
-
value: EventEmitter<string>;
|
9
|
-
inputTime: boolean;
|
10
|
-
inputColor: typeof this.color;
|
11
|
-
ngOnChanges(changes: SimpleChanges): void;
|
12
|
-
setValue(value: string | string[] | null | undefined): void;
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
|
14
|
-
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>;
|
15
|
-
}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
import { type OnChanges, type SimpleChanges, EventEmitter } from '@angular/core';
|
2
|
-
import { FormControl } from '@angular/forms';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
declare const inputsC: {
|
5
|
-
readonly labelPlacement: readonly ["fixed", "floating", "stacked", "start", "end"];
|
6
|
-
readonly inputMode: readonly ["text", "email", "numeric", "tel", "decimal", "url", "search"];
|
7
|
-
readonly autoCapitalize: readonly ["off", "none", "on", "sentences", "words", "characters"];
|
8
|
-
readonly type: readonly ["date", "datetime-local", "email", "month", "number", "password", "search", "tel", "text", "time", "url", "week"];
|
9
|
-
};
|
10
|
-
export declare class FormInputComponent implements OnChanges {
|
11
|
-
label: string;
|
12
|
-
min: number | string;
|
13
|
-
max: number | string;
|
14
|
-
labelPlacement?: (typeof inputsC.labelPlacement)[number];
|
15
|
-
placeholder?: string | undefined;
|
16
|
-
inputmode?: (typeof inputsC.inputMode)[number];
|
17
|
-
autoCapitalize?: (typeof inputsC.autoCapitalize)[number];
|
18
|
-
type?: (typeof inputsC.type)[number];
|
19
|
-
noClearButton?: boolean | string | undefined;
|
20
|
-
control?: FormControl | null;
|
21
|
-
textCenter?: boolean | string | undefined;
|
22
|
-
maxLength?: number | string;
|
23
|
-
greyBackground?: boolean | string | undefined;
|
24
|
-
value: string | undefined;
|
25
|
-
valueChange: EventEmitter<string | undefined>;
|
26
|
-
inputLabelPlacement: typeof this.labelPlacement;
|
27
|
-
localInputMode: typeof this.inputmode;
|
28
|
-
inputClear: boolean;
|
29
|
-
inputTextCenter: boolean;
|
30
|
-
inputType: typeof this.type;
|
31
|
-
inputAutoCapitalize: typeof this.autoCapitalize;
|
32
|
-
inputGreyBackground: boolean;
|
33
|
-
ngOnChanges(changes: SimpleChanges): void;
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormInputComponent, never>;
|
35
|
-
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; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
36
|
-
}
|
37
|
-
export {};
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { EventEmitter, type OnChanges, type SimpleChanges } from '@angular/core';
|
2
|
-
import { FormControl } from '@angular/forms';
|
3
|
-
import type { FormInputSelectOptionsI } from '../../interfaces/input.interface';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
declare const inputSelectC: {
|
6
|
-
readonly labelPlacement: readonly ["fixed", "floating", "stacked", "start", "end"];
|
7
|
-
};
|
8
|
-
export declare class FormInputSelectComponent<T> implements OnChanges {
|
9
|
-
label: string;
|
10
|
-
options: FormInputSelectOptionsI<T>[];
|
11
|
-
labelPlacement?: (typeof inputSelectC.labelPlacement)[number];
|
12
|
-
placeholder?: string | undefined;
|
13
|
-
control?: FormControl | null;
|
14
|
-
value: FormInputSelectOptionsI<T>['value'] | undefined;
|
15
|
-
valueChange: EventEmitter<T | undefined>;
|
16
|
-
inputLabelPlacement: typeof this.labelPlacement;
|
17
|
-
ngOnChanges(changes: SimpleChanges): void;
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormInputSelectComponent<any>, never>;
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormInputSelectComponent<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; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
20
|
-
}
|
21
|
-
export {};
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { EventEmitter, type OnChanges, type SimpleChanges } from '@angular/core';
|
2
|
-
import type { FormControl } from '@angular/forms';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
declare const inputTextAreaC: {
|
5
|
-
readonly labelPlacement: readonly ["fixed", "floating", "stacked", "start", "end"];
|
6
|
-
readonly autoCapitalize: readonly ["off", "none", "on", "sentences", "words", "characters"];
|
7
|
-
};
|
8
|
-
export declare class FormInputTextAreaComponent implements OnChanges {
|
9
|
-
label: string;
|
10
|
-
labelPlacement?: (typeof inputTextAreaC.labelPlacement)[number];
|
11
|
-
placeholder?: string | undefined;
|
12
|
-
autoCapitalize?: (typeof inputTextAreaC.autoCapitalize)[number];
|
13
|
-
control?: FormControl | null;
|
14
|
-
textCenter?: boolean | string | undefined;
|
15
|
-
minHeight?: string | 'none';
|
16
|
-
maxHeight?: string | 'none';
|
17
|
-
value: string | undefined;
|
18
|
-
valueChange: EventEmitter<string | undefined>;
|
19
|
-
inputLabelPlacement: typeof this.labelPlacement;
|
20
|
-
inputClear: boolean;
|
21
|
-
inputTextCenter: boolean;
|
22
|
-
inputAutoCapitalize: typeof this.autoCapitalize;
|
23
|
-
ngOnChanges(changes: SimpleChanges): void;
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormInputTextAreaComponent, never>;
|
25
|
-
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; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
26
|
-
}
|
27
|
-
export {};
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { type OnChanges, type SimpleChanges } from '@angular/core';
|
2
|
-
import type { FormControl } from '@angular/forms';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class FormValidationComponent implements OnChanges {
|
5
|
-
control: FormControl | null;
|
6
|
-
ngOnChanges(changes: SimpleChanges): void;
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormValidationComponent, never>;
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormValidationComponent, "cf-form-validation", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, false, never>;
|
9
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { type OnChanges, type SimpleChanges } from '@angular/core';
|
2
|
-
import { type IconColorT, type IconsT } from '../../interfaces/icon.interface';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class IconComponent implements OnChanges {
|
5
|
-
icon: IconsT;
|
6
|
-
height?: number;
|
7
|
-
iconColor?: IconColorT;
|
8
|
-
inputIcon: typeof this.icon | undefined;
|
9
|
-
inputColor: typeof this.iconColor | undefined;
|
10
|
-
ngOnChanges(changes: SimpleChanges): void;
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "cf-icon", never, { "icon": { "alias": "icon"; "required": false; }; "height": { "alias": "height"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; }, {}, never, never, false, never>;
|
13
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
export declare class LogoComponent {
|
3
|
-
type: 'horizontal' | 'vertical';
|
4
|
-
height: number;
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LogoComponent, never>;
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LogoComponent, "cf-logo", never, { "type": { "alias": "type"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, {}, never, never, false, never>;
|
7
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
2
|
-
import type { NotificationPayloadI } from '../../interfaces/notification.interface';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class NotificationComponent {
|
5
|
-
data?: NotificationPayloadI | undefined;
|
6
|
-
buttonClick: EventEmitter<string | number>;
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationComponent, never>;
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "cf-notification", never, { "data": { "alias": "data"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, ["*"], false, never>;
|
9
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { type OnChanges, type SimpleChanges } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class PageComponent implements OnChanges {
|
4
|
-
centerH?: boolean | string | undefined;
|
5
|
-
centerV?: boolean | string | undefined;
|
6
|
-
dark?: boolean | string | undefined;
|
7
|
-
inputCenterH: boolean;
|
8
|
-
inputCenterV: boolean;
|
9
|
-
inputDark: boolean;
|
10
|
-
ngOnChanges(changes: SimpleChanges): void;
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, never>;
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageComponent, "cf-page", never, { "centerH": { "alias": "centerH"; "required": false; }; "centerV": { "alias": "centerV"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, never, ["*"], false, never>;
|
13
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { type OnChanges, type SimpleChanges } from '@angular/core';
|
2
|
-
import type { SpacerNumberT, SpacerStringT } from '../../interfaces/spacer.interface';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class SpacerComponent implements OnChanges {
|
5
|
-
default?: SpacerStringT | SpacerNumberT | undefined;
|
6
|
-
mobile?: SpacerStringT | SpacerNumberT | undefined;
|
7
|
-
desktop?: SpacerStringT | SpacerNumberT | undefined;
|
8
|
-
inputDefault: number | undefined;
|
9
|
-
inputMobile: number | undefined;
|
10
|
-
inputDesktop: number | undefined;
|
11
|
-
ngOnChanges(changes: SimpleChanges): void;
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SpacerComponent, never>;
|
13
|
-
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>;
|
14
|
-
}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { Renderer2, TemplateRef, ViewContainerRef, ElementRef } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class ButtonLoaderDirective {
|
4
|
-
private templateRef;
|
5
|
-
private renderer;
|
6
|
-
private viewContainer;
|
7
|
-
private elementRef;
|
8
|
-
constructor(templateRef: TemplateRef<HTMLElement>, renderer: Renderer2, viewContainer: ViewContainerRef, elementRef: ElementRef<HTMLElement>);
|
9
|
-
set cfButtonLoader(loading: boolean);
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonLoaderDirective, never>;
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonLoaderDirective, "[cfButtonLoader]", never, { "cfButtonLoader": { "alias": "cfButtonLoader"; "required": false; }; }, {}, never, never, false, never>;
|
12
|
-
}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
export declare const iconsC: readonly ["home", "cog", "profile", "scan", "person", "appointment", "clock", "calendar", "email", "phone", "sign-out", "sign-in", "close", "check-mark", "rating-star-blank", "rating-star-filled", "back-arrow", "lock", "show-password", "hide-password", "circle-check", "circle-alert", "direction-switch", "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"];
|
2
|
-
export type IconsT = (typeof iconsC)[number];
|
3
|
-
export declare const iconColorC: readonly ["primary", "secondary", "success", "warning", "error", "white", "accent"];
|
4
|
-
export type IconColorT = (typeof iconColorC)[number];
|
package/lib/library.module.d.ts
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./components/page/page.component";
|
3
|
-
import * as i2 from "./components/button/button.component";
|
4
|
-
import * as i3 from "./components/spacer/spacer.component";
|
5
|
-
import * as i4 from "./components/icon/icon.component";
|
6
|
-
import * as i5 from "./directives/button-loader.directive";
|
7
|
-
import * as i6 from "./components/notification/notification.component";
|
8
|
-
import * as i7 from "./components/alert/alert.component";
|
9
|
-
import * as i8 from "./components/logo/logo.component";
|
10
|
-
import * as i9 from "./components/calendar/calendar.component";
|
11
|
-
import * as i10 from "./components/form-validation/form-validation.component";
|
12
|
-
import * as i11 from "./components/form-input/form-input.component";
|
13
|
-
import * as i12 from "./components/form-input-select/form-input-select.component";
|
14
|
-
import * as i13 from "./components/form-input-text-area/form-input-text-area.component";
|
15
|
-
import * as i14 from "@ionic/angular";
|
16
|
-
import * as i15 from "@angular/common";
|
17
|
-
import * as i16 from "@angular/forms";
|
18
|
-
export declare class CareFirstLibraryModule {
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CareFirstLibraryModule, never>;
|
20
|
-
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.IonicModule, typeof i15.CommonModule, typeof i16.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]>;
|
21
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CareFirstLibraryModule>;
|
22
|
-
}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import type { SimpleChanges } from '@angular/core';
|
2
|
-
export declare function checkTruthAttribute(changes: SimpleChanges, attribute: string, curVal: boolean): boolean;
|
3
|
-
export declare function validateStringValue<T>(changes: SimpleChanges, attribute: string, options: T[], curVal: T | undefined): T | undefined;
|
4
|
-
export declare function validateNumberValue(changes: SimpleChanges, attribute: string, curVal: number | undefined): number | undefined;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import type { ValidatorFn } from '@angular/forms';
|
2
|
-
export declare class CFPFormValidators {
|
3
|
-
static compareTo(controlNameToCheckAgainst: string): ValidatorFn;
|
4
|
-
static asPassword(): ValidatorFn;
|
5
|
-
static asEmail(canBeEmpty?: true): ValidatorFn;
|
6
|
-
static isIn(list: (string | number)[]): ValidatorFn;
|
7
|
-
static isSAIDNumber(canBeEmpty?: true): ValidatorFn;
|
8
|
-
}
|