@carefirst/library 1.0.10 → 1.1.0
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 +54 -0
- package/esm2022/lib/components/calendar/calendar.component.mjs +25 -0
- package/esm2022/lib/components/form-validation/form-validation.component.mjs +20 -0
- package/esm2022/lib/components/logo/logo.component.mjs +18 -0
- package/esm2022/lib/components/notification/notification.component.mjs +22 -0
- package/esm2022/lib/interfaces/alert.interface.mjs +2 -0
- package/esm2022/lib/interfaces/notification.interface.mjs +2 -0
- package/esm2022/lib/library.module.mjs +49 -4
- package/esm2022/public-api.mjs +10 -1
- package/fesm2022/carefirst-library.mjs +184 -5
- package/fesm2022/carefirst-library.mjs.map +1 -1
- package/lib/components/alert/alert.component.d.ts +14 -0
- package/lib/components/calendar/calendar.component.d.ts +11 -0
- package/lib/components/form-validation/form-validation.component.d.ts +9 -0
- package/lib/components/logo/logo.component.d.ts +7 -0
- package/lib/components/notification/notification.component.d.ts +9 -0
- package/lib/interfaces/alert.interface.d.ts +6 -0
- package/lib/interfaces/notification.interface.d.ts +10 -0
- package/lib/library.module.d.ts +8 -3
- package/package.json +1 -1
- package/public-api.d.ts +9 -0
@@ -0,0 +1,14 @@
|
|
1
|
+
import { type OnChanges, type SimpleChanges, EventEmitter } from '@angular/core';
|
2
|
+
import { AlertController } from '@ionic/angular';
|
3
|
+
import type { AlertDataI } 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<boolean>;
|
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
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { 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
|
+
inputTime: boolean;
|
7
|
+
inputColor: typeof this.color;
|
8
|
+
ngOnChanges(changes: SimpleChanges): void;
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "cf-calendar", never, { "displayTime": { "alias": "displayTime"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, false, never>;
|
11
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { type OnChanges, type SimpleChanges } from '@angular/core';
|
2
|
+
import type { AbstractControl } from '@angular/forms';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class FormValidationComponent implements OnChanges {
|
5
|
+
control: AbstractControl | 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
|
+
}
|
@@ -0,0 +1,7 @@
|
|
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
|
+
}
|
@@ -0,0 +1,9 @@
|
|
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<true>;
|
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
|
+
}
|
package/lib/library.module.d.ts
CHANGED
@@ -4,10 +4,15 @@ import * as i2 from "./components/button/button.component";
|
|
4
4
|
import * as i3 from "./components/spacer/spacer.component";
|
5
5
|
import * as i4 from "./components/icon/icon.component";
|
6
6
|
import * as i5 from "./directives/button-loader.directive";
|
7
|
-
import * as i6 from "
|
8
|
-
import * as i7 from "
|
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 "@ionic/angular";
|
13
|
+
import * as i12 from "@angular/common";
|
9
14
|
export declare class CareFirstLibraryModule {
|
10
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<CareFirstLibraryModule, never>;
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CareFirstLibraryModule, [typeof i1.PageComponent, typeof i2.ButtonComponent, typeof i3.SpacerComponent, typeof i4.IconComponent, typeof i5.ButtonLoaderDirective], [typeof
|
16
|
+
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.IonicModule, typeof i12.CommonModule], [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]>;
|
12
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<CareFirstLibraryModule>;
|
13
18
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -1,6 +1,15 @@
|
|
1
1
|
export * from './lib/library.module';
|
2
2
|
export * from './lib/directives/button-loader.directive';
|
3
|
+
export * from './lib/components/alert/alert.component';
|
3
4
|
export * from './lib/components/page/page.component';
|
4
5
|
export * from './lib/components/button/button.component';
|
5
6
|
export * from './lib/components/spacer/spacer.component';
|
6
7
|
export * from './lib/components/icon/icon.component';
|
8
|
+
export * from './lib/components/notification/notification.component';
|
9
|
+
export * from './lib/components/logo/logo.component';
|
10
|
+
export * from './lib/components/calendar/calendar.component';
|
11
|
+
export * from './lib/components/form-validation/form-validation.component';
|
12
|
+
export * as CFAlertI from './lib/interfaces/alert.interface';
|
13
|
+
export * as CFIconI from './lib/interfaces/icon.interface';
|
14
|
+
export * as CFSpacerI from './lib/interfaces/spacer.interface';
|
15
|
+
export * as CFNotificationI from './lib/interfaces/notification.interface';
|