barsa-tiles 2.2.12 → 2.2.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/esm2022/lib/barsa-shellbar/barsa-shellbar.component.mjs +4 -4
- package/esm2022/lib/shellbar/shellbar.component.mjs +6 -26
- package/fesm2022/barsa-tiles.mjs +6 -26
- package/fesm2022/barsa-tiles.mjs.map +1 -1
- package/lib/barsa-shellbar/barsa-shellbar.component.d.ts +2 -5
- package/lib/shellbar/shellbar.component.d.ts +2 -15
- package/package.json +1 -1
|
@@ -27,10 +27,7 @@ export declare class BarsaShellbarComponent extends BaseComponent implements OnI
|
|
|
27
27
|
deviceSize: AbbrevationDeviceSize;
|
|
28
28
|
cultures: Record<string, any>;
|
|
29
29
|
shellbarData: ShellbarSetting;
|
|
30
|
-
|
|
31
|
-
unread: number;
|
|
32
|
-
all: number;
|
|
33
|
-
};
|
|
30
|
+
notificationsUnreadCount: any;
|
|
34
31
|
productMenuItems1: ShellbarMenuItem[];
|
|
35
32
|
bodyClick: string;
|
|
36
33
|
logo: {
|
|
@@ -88,6 +85,6 @@ export declare class BarsaShellbarComponent extends BaseComponent implements OnI
|
|
|
88
85
|
private _closeSideMenu;
|
|
89
86
|
private _changeCulture;
|
|
90
87
|
static ɵfac: i0.ɵɵFactoryDeclaration<BarsaShellbarComponent, never>;
|
|
91
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BarsaShellbarComponent, "bt-barsa-shellbar", never, { "cssCustomUrl": { "alias": "cssCustomUrl"; "required": false; }; "cssUrl": { "alias": "cssUrl"; "required": false; }; "cssVariableUrl": { "alias": "cssVariableUrl"; "required": false; }; "multiLanguages": { "alias": "multiLanguages"; "required": false; }; "userLoggedIn": { "alias": "userLoggedIn"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; "productMenuControl": { "alias": "productMenuControl"; "required": false; }; "deviceSize": { "alias": "deviceSize"; "required": false; }; "cultures": { "alias": "cultures"; "required": false; }; "shellbarData": { "alias": "shellbarData"; "required": false; }; "
|
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BarsaShellbarComponent, "bt-barsa-shellbar", never, { "cssCustomUrl": { "alias": "cssCustomUrl"; "required": false; }; "cssUrl": { "alias": "cssUrl"; "required": false; }; "cssVariableUrl": { "alias": "cssVariableUrl"; "required": false; }; "multiLanguages": { "alias": "multiLanguages"; "required": false; }; "userLoggedIn": { "alias": "userLoggedIn"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; "productMenuControl": { "alias": "productMenuControl"; "required": false; }; "deviceSize": { "alias": "deviceSize"; "required": false; }; "cultures": { "alias": "cultures"; "required": false; }; "shellbarData": { "alias": "shellbarData"; "required": false; }; "notificationsUnreadCount": { "alias": "notificationsUnreadCount"; "required": false; }; "productMenuItems1": { "alias": "productMenuItems1"; "required": false; }; "bodyClick": { "alias": "bodyClick"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "userMenu": { "alias": "userMenu"; "required": false; }; "productSwitcher": { "alias": "productSwitcher"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "isMobile": { "alias": "isMobile"; "required": false; }; "hideShellbarActions": { "alias": "hideShellbarActions"; "required": false; }; "showExtraButton": { "alias": "showExtraButton"; "required": false; }; "isTablet": { "alias": "isTablet"; "required": false; }; "userProfileImageUrl": { "alias": "userProfileImageUrl"; "required": false; }; "isDesktop": { "alias": "isDesktop"; "required": false; }; "isServiceDesk": { "alias": "isServiceDesk"; "required": false; }; "isOpenQuickAccess": { "alias": "isOpenQuickAccess"; "required": false; }; "sideMenuTemplate": { "alias": "sideMenuTemplate"; "required": false; }; "notificationReport": { "alias": "notificationReport"; "required": false; }; }, { "isOpenQuickAccessChanged": "isOpenQuickAccessChanged"; "openNotificationPanel": "openNotificationPanel"; "openQuickAccessPanel": "openQuickAccessPanel"; "cultureChanged": "cultureChanged"; "notifiationActionClick": "notifiationActionClick"; }, never, ["button"], false, never>;
|
|
92
89
|
}
|
|
93
90
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { Observable
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
3
|
import { ComboboxComponent, PopoverComponent, ProductSwitchItem, ShellbarMenuItem, ShellbarUser } from '@fundamental-ngx/core';
|
|
4
4
|
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
5
5
|
import { BaseComponent, MetaobjectDataModel, FilePictureInfoModel, MoForReportModel, PortalService, BreadcrumbService, NotificationService, NotificationItem, NotificationAction, BbbTranslatePipe, AbbrevationDeviceSize } from 'barsa-novin-ray-core';
|
|
@@ -41,16 +41,9 @@ export declare class ShellbarComponent extends BaseComponent implements OnInit {
|
|
|
41
41
|
cssVariableUrl$: Observable<SafeResourceUrl | null>;
|
|
42
42
|
cssCustomUrl$: Observable<SafeResourceUrl | null>;
|
|
43
43
|
cultures: Record<string, any>;
|
|
44
|
-
|
|
45
|
-
unread: number;
|
|
46
|
-
all: number;
|
|
47
|
-
}>;
|
|
48
|
-
notifications$: Observable<NotificationItem[]>;
|
|
49
|
-
notificationLoading$: Observable<boolean>;
|
|
44
|
+
notificationsUnreadCount$: Observable<number>;
|
|
50
45
|
notifcationLoaded: boolean;
|
|
51
46
|
notifiationCountLoaded$: Observable<boolean>;
|
|
52
|
-
_viewedNotifications$: Subject<NotificationItem>;
|
|
53
|
-
_viewedNotifications: NotificationItem[];
|
|
54
47
|
bodyClick: string;
|
|
55
48
|
isMobile: boolean;
|
|
56
49
|
isDesktop: boolean;
|
|
@@ -85,18 +78,12 @@ export declare class ShellbarComponent extends BaseComponent implements OnInit {
|
|
|
85
78
|
mo: MetaobjectDataModel;
|
|
86
79
|
nama: string;
|
|
87
80
|
}): void;
|
|
88
|
-
onNotificationItemViewed(viewedMo: NotificationItem): void;
|
|
89
81
|
onNotificationAction(e: {
|
|
90
82
|
item: NotificationItem;
|
|
91
83
|
btn: NotificationAction;
|
|
92
84
|
}): void;
|
|
93
|
-
onRemoveNotifications(e: {
|
|
94
|
-
items: MetaobjectDataModel[];
|
|
95
|
-
silent: boolean;
|
|
96
|
-
}): void;
|
|
97
85
|
onOpenNotification: () => void;
|
|
98
86
|
onCultureChanged: (culture: string) => void;
|
|
99
|
-
onNotificationLoadMore(): void;
|
|
100
87
|
onNotificationWorkflowChoiceSuccess(result: any): void;
|
|
101
88
|
onNotificationWorkflowChoiceFailed(err: any): void;
|
|
102
89
|
onHandleOpenNotificationPanel(): void;
|