ngx-sfc-components 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/components/index.mjs +1 -1
- package/esm2020/lib/components/notification/notification.component.mjs +12 -5
- package/esm2020/lib/components/notification/parts/content/notification-content.model.mjs +1 -1
- package/fesm2015/ngx-sfc-components.mjs +12 -4
- package/fesm2015/ngx-sfc-components.mjs.map +1 -1
- package/fesm2020/ngx-sfc-components.mjs +11 -4
- package/fesm2020/ngx-sfc-components.mjs.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/notification/notification.component.d.ts +4 -2
- package/lib/components/notification/parts/content/notification-content.model.d.ts +3 -0
- package/package.json +2 -2
|
@@ -32,6 +32,7 @@ export { NotificationComponent } from './notification/notification.component';
|
|
|
32
32
|
export { NotificationType } from './notification/enums/notification-type.enum';
|
|
33
33
|
export { NotificationTemplate } from './notification/enums/notification-template.enum';
|
|
34
34
|
export { INotificationContentModel } from './notification/parts/content/notification-content.model';
|
|
35
|
+
export { INotificationAutoCloseModel } from './notification/notification-auto-close.model';
|
|
35
36
|
export { ChartComponent } from './chart/chart.component';
|
|
36
37
|
export { ChartThemeService } from './chart/service/theme/chart-theme.service';
|
|
37
38
|
export { ChartThemeModel } from './chart/service/theme/chart-theme.model';
|
|
@@ -11,10 +11,12 @@ export declare class NotificationComponent implements OnInit {
|
|
|
11
11
|
NotificationTemplate: typeof NotificationTemplate;
|
|
12
12
|
showClose: boolean;
|
|
13
13
|
autoCloseModel: INotificationAutoCloseModel;
|
|
14
|
-
type: NotificationType;
|
|
14
|
+
get type(): NotificationType;
|
|
15
|
+
set type(value: NotificationType);
|
|
16
|
+
private _type;
|
|
15
17
|
model: INotificationContentModel;
|
|
16
18
|
content?: TemplateRef<any>;
|
|
17
|
-
closed: EventEmitter<
|
|
19
|
+
closed: EventEmitter<INotificationContentModel>;
|
|
18
20
|
buttonClicked: EventEmitter<void>;
|
|
19
21
|
templates: QueryList<TemplateReferenceDirective> | undefined;
|
|
20
22
|
destroy: boolean;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { IconDefinition } from "@fortawesome/free-solid-svg-icons";
|
|
2
|
+
import { NotificationType } from "../../enums/notification-type.enum";
|
|
2
3
|
export interface INotificationContentModel {
|
|
4
|
+
id?: any;
|
|
3
5
|
title?: string;
|
|
4
6
|
subTitle?: string;
|
|
5
7
|
showButton?: boolean;
|
|
6
8
|
buttonText?: string;
|
|
7
9
|
icon?: IconDefinition;
|
|
8
10
|
image?: string;
|
|
11
|
+
type?: NotificationType;
|
|
9
12
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-sfc-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "Angular components library for SFC project",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Street Football Club",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@fortawesome/angular-fontawesome": "0.10.2",
|
|
26
26
|
"@fortawesome/fontawesome-svg-core": "^6.1.1",
|
|
27
27
|
"@fortawesome/free-solid-svg-icons": "^6.1.1",
|
|
28
|
-
"ngx-sfc-common": "^0.0.
|
|
28
|
+
"ngx-sfc-common": "^0.0.15"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"tslib": "^2.3.0"
|