@carefirst/library 1.2.2 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/components/alert/alert.component.mjs +11 -9
- package/esm2022/lib/components/button/button.component.mjs +2 -2
- package/esm2022/lib/components/icon/icon.component.mjs +3 -3
- package/esm2022/lib/components/notification/notification.component.mjs +3 -3
- package/esm2022/lib/interfaces/alert.interface.mjs +1 -1
- package/esm2022/lib/interfaces/icon.interface.mjs +2 -1
- package/esm2022/lib/interfaces/notification.interface.mjs +1 -1
- package/fesm2022/carefirst-library.mjs +17 -14
- package/fesm2022/carefirst-library.mjs.map +1 -1
- package/lib/components/alert/alert.component.d.ts +3 -3
- package/lib/components/notification/notification.component.d.ts +1 -1
- package/lib/interfaces/alert.interface.d.ts +5 -0
- package/lib/interfaces/icon.interface.d.ts +1 -1
- package/lib/interfaces/notification.interface.d.ts +1 -0
- package/package.json +1 -1
@@ -1,14 +1,14 @@
|
|
1
1
|
import { type OnChanges, type SimpleChanges, EventEmitter } from '@angular/core';
|
2
2
|
import { AlertController } from '@ionic/angular';
|
3
|
-
import type { AlertDataI } from '../../interfaces/alert.interface';
|
3
|
+
import type { AlertDataI, AlertEventI } from '../../interfaces/alert.interface';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class AlertComponent implements OnChanges {
|
6
6
|
private readonly alertController;
|
7
7
|
data: AlertDataI | undefined;
|
8
|
-
alertEvent: EventEmitter<
|
8
|
+
alertEvent: EventEmitter<AlertEventI>;
|
9
9
|
constructor(alertController: AlertController);
|
10
10
|
ngOnChanges(changes: SimpleChanges): void;
|
11
|
-
showAlert(data
|
11
|
+
showAlert(data: AlertDataI): Promise<void>;
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
13
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "cf-alert", never, { "data": { "alias": "data"; "required": false; }; }, { "alertEvent": "alertEvent"; }, never, never, false, never>;
|
14
14
|
}
|
@@ -3,7 +3,7 @@ import type { NotificationPayloadI } from '../../interfaces/notification.interfa
|
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class NotificationComponent {
|
5
5
|
data?: NotificationPayloadI | undefined;
|
6
|
-
buttonClick: EventEmitter<
|
6
|
+
buttonClick: EventEmitter<string | number>;
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationComponent, never>;
|
8
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "cf-notification", never, { "data": { "alias": "data"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, ["*"], false, never>;
|
9
9
|
}
|
@@ -1,4 +1,4 @@
|
|
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"];
|
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
2
|
export type IconsT = (typeof iconsC)[number];
|
3
3
|
export declare const iconColorC: readonly ["primary", "secondary", "success", "warning", "error", "white"];
|
4
4
|
export type IconColorT = (typeof iconColorC)[number];
|