ngx-sfc-components 0.0.12 → 0.0.14
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/avatar/parts/badge/avatar-badge.constants.mjs +2 -2
- package/esm2020/lib/components/index.mjs +1 -1
- package/esm2020/lib/components/menu/dropdown/dropdown-menu.component.mjs +7 -4
- package/esm2020/lib/components/menu/side/side-menu.component.mjs +2 -2
- 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 +21 -10
- package/fesm2015/ngx-sfc-components.mjs.map +1 -1
- package/fesm2020/ngx-sfc-components.mjs +20 -10
- package/fesm2020/ngx-sfc-components.mjs.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/menu/dropdown/dropdown-menu.component.d.ts +2 -1
- 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';
|
|
@@ -8,6 +8,7 @@ export declare class DropdownMenuComponent implements OnDestroy, OnInit, AfterCo
|
|
|
8
8
|
private window;
|
|
9
9
|
items: IDropdownMenuItemModel[];
|
|
10
10
|
icon?: IconDefinition;
|
|
11
|
+
defaultDots: boolean;
|
|
11
12
|
label?: string;
|
|
12
13
|
hideOnClick: boolean;
|
|
13
14
|
hideOnClickOutside: boolean;
|
|
@@ -26,5 +27,5 @@ export declare class DropdownMenuComponent implements OnDestroy, OnInit, AfterCo
|
|
|
26
27
|
onClick(item: IDropdownMenuItemModel): void;
|
|
27
28
|
onClickOutside(event: ClickOutsideEvent): void;
|
|
28
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMenuComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownMenuComponent, "sfc-dropdown-menu", never, { "items": "items"; "icon": "icon"; "label": "label"; "hideOnClick": "hideOnClick"; "hideOnClickOutside": "hideOnClickOutside"; "bordered": "bordered"; "position": "position"; "open": "open"; "autoResize": "autoResize"; }, { "selected": "selected"; }, never,
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownMenuComponent, "sfc-dropdown-menu", never, { "items": "items"; "icon": "icon"; "defaultDots": "defaultDots"; "label": "label"; "hideOnClick": "hideOnClick"; "hideOnClickOutside": "hideOnClickOutside"; "bordered": "bordered"; "position": "position"; "open": "open"; "autoResize": "autoResize"; }, { "selected": "selected"; }, never, ["*"], false, never>;
|
|
30
31
|
}
|
|
@@ -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.14",
|
|
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.16"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"tslib": "^2.3.0"
|