barsa-tiles 2.3.8 → 2.3.10
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, TemplateRef, ElementRef, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { ComboboxComponent, DialogService, ObjectStatus, PopoverComponent, ProductSwitchItem, ShellbarMenuItem } from '@fundamental-ngx/core';
|
|
4
|
-
import { BaseComponent, MetaobjectDataModel, FilePictureInfoModel, MoForReportModel, NotificationItem, NotificationAction, AbbrevationDeviceSize } from 'barsa-novin-ray-core';
|
|
3
|
+
import { ComboboxComponent, DialogService, ObjectStatus, PopoverComponent, ProductSwitchItem, ShellbarComponent, ShellbarMenuItem } from '@fundamental-ngx/core';
|
|
4
|
+
import { BaseComponent, MetaobjectDataModel, FilePictureInfoModel, MoForReportModel, NotificationItem, NotificationAction, AbbrevationDeviceSize, SearchInput } from 'barsa-novin-ray-core';
|
|
5
5
|
import { SafeResourceUrl } from '@angular/platform-browser';
|
|
6
6
|
import { UserInfo, UserMenuType } from '../models';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
@@ -48,6 +48,7 @@ export declare class BarsaShellbarComponent extends BaseComponent implements OnI
|
|
|
48
48
|
informativeText: string;
|
|
49
49
|
informativeStatus: ObjectStatus;
|
|
50
50
|
hideProductMenu: boolean;
|
|
51
|
+
enableSearch: boolean;
|
|
51
52
|
hideNotifications: boolean;
|
|
52
53
|
isServiceDesk: boolean;
|
|
53
54
|
isOpenQuickAccess: any;
|
|
@@ -65,11 +66,11 @@ export declare class BarsaShellbarComponent extends BaseComponent implements OnI
|
|
|
65
66
|
item: NotificationItem;
|
|
66
67
|
btn: NotificationAction;
|
|
67
68
|
}>;
|
|
69
|
+
shellbar: ShellbarComponent;
|
|
68
70
|
comboboxComponent: ComboboxComponent;
|
|
69
71
|
popoverComponent: PopoverComponent;
|
|
70
72
|
_notificationsDialog: TemplateRef<any>;
|
|
71
|
-
|
|
72
|
-
Array: ArrayConstructor;
|
|
73
|
+
el: ElementRef<any>;
|
|
73
74
|
isOpenNotificatoin: boolean;
|
|
74
75
|
expanded: boolean;
|
|
75
76
|
searchTerms: string[];
|
|
@@ -77,22 +78,29 @@ export declare class BarsaShellbarComponent extends BaseComponent implements OnI
|
|
|
77
78
|
actions$: Observable<ShellbarMenuItem[]>;
|
|
78
79
|
showVersion: boolean;
|
|
79
80
|
showSearch: import("@angular/core").WritableSignal<boolean>;
|
|
80
|
-
|
|
81
|
-
onBellNotification: () => void;
|
|
81
|
+
inputEnableSearch: import("@angular/core").WritableSignal<boolean>;
|
|
82
82
|
_viewedNotifications: NotificationItem[];
|
|
83
|
+
private _portalService;
|
|
84
|
+
private _cdr;
|
|
85
|
+
private _router;
|
|
83
86
|
constructor(_dialogService: DialogService, _document: Document, appVersion: string);
|
|
87
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
88
|
+
onSearchSubmit(e: SearchInput): void;
|
|
89
|
+
onSearchOpen(e: boolean): void;
|
|
90
|
+
onBellNotification: () => void;
|
|
84
91
|
onRouteFormStateChange(): void;
|
|
85
92
|
onCultureChange(culture: any): void;
|
|
86
93
|
onNotificationAction(e: {
|
|
87
94
|
item: NotificationItem;
|
|
88
95
|
btn: NotificationAction;
|
|
89
96
|
}): void;
|
|
97
|
+
onOpenNotificationPopover(e: any): void;
|
|
90
98
|
onOpenQuickAccess: () => void;
|
|
91
99
|
onOpenNotification: () => void;
|
|
92
100
|
onLanguage: (e: any) => void;
|
|
93
101
|
private _closeSideMenu;
|
|
94
102
|
private _changeCulture;
|
|
95
103
|
static ɵfac: i0.ɵɵFactoryDeclaration<BarsaShellbarComponent, never>;
|
|
96
|
-
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; }; "footerButtons": { "alias": "footerButtons"; "required": false; }; "productSwitcher": { "alias": "productSwitcher"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "isMobile": { "alias": "isMobile"; "required": false; }; "hideShellbarActions": { "alias": "hideShellbarActions"; "required": false; }; "flatButtons": { "alias": "flatButtons"; "required": false; }; "isTablet": { "alias": "isTablet"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "isDesktop": { "alias": "isDesktop"; "required": false; }; "informativeText": { "alias": "informativeText"; "required": false; }; "informativeStatus": { "alias": "informativeStatus"; "required": false; }; "hideProductMenu": { "alias": "hideProductMenu"; "required": false; }; "hideNotifications": { "alias": "hideNotifications"; "required": false; }; "isServiceDesk": { "alias": "isServiceDesk"; "required": false; }; "isOpenQuickAccess": { "alias": "isOpenQuickAccess"; "required": false; }; "sideMenuTemplate": { "alias": "sideMenuTemplate"; "required": false; }; "notificationReport": { "alias": "notificationReport"; "required": false; }; "profileDynamicCommand": { "alias": "profileDynamicCommand"; "required": false; }; "profileDynamicCommandText": { "alias": "profileDynamicCommandText"; "required": false; }; "profileDynamicCommandIcon": { "alias": "profileDynamicCommandIcon"; "required": false; }; "displayName": { "alias": "displayName"; "required": false; }; }, { "isOpenQuickAccessChanged": "isOpenQuickAccessChanged"; "openNotificationPanel": "openNotificationPanel"; "openQuickAccessPanel": "openQuickAccessPanel"; "cultureChanged": "cultureChanged"; "notifiationActionClick": "notifiationActionClick"; }, never, never, false, never>;
|
|
104
|
+
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; }; "footerButtons": { "alias": "footerButtons"; "required": false; }; "productSwitcher": { "alias": "productSwitcher"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "isMobile": { "alias": "isMobile"; "required": false; }; "hideShellbarActions": { "alias": "hideShellbarActions"; "required": false; }; "flatButtons": { "alias": "flatButtons"; "required": false; }; "isTablet": { "alias": "isTablet"; "required": false; }; "userInfo": { "alias": "userInfo"; "required": false; }; "isDesktop": { "alias": "isDesktop"; "required": false; }; "informativeText": { "alias": "informativeText"; "required": false; }; "informativeStatus": { "alias": "informativeStatus"; "required": false; }; "hideProductMenu": { "alias": "hideProductMenu"; "required": false; }; "enableSearch": { "alias": "enableSearch"; "required": false; }; "hideNotifications": { "alias": "hideNotifications"; "required": false; }; "isServiceDesk": { "alias": "isServiceDesk"; "required": false; }; "isOpenQuickAccess": { "alias": "isOpenQuickAccess"; "required": false; }; "sideMenuTemplate": { "alias": "sideMenuTemplate"; "required": false; }; "notificationReport": { "alias": "notificationReport"; "required": false; }; "profileDynamicCommand": { "alias": "profileDynamicCommand"; "required": false; }; "profileDynamicCommandText": { "alias": "profileDynamicCommandText"; "required": false; }; "profileDynamicCommandIcon": { "alias": "profileDynamicCommandIcon"; "required": false; }; "displayName": { "alias": "displayName"; "required": false; }; }, { "isOpenQuickAccessChanged": "isOpenQuickAccessChanged"; "openNotificationPanel": "openNotificationPanel"; "openQuickAccessPanel": "openQuickAccessPanel"; "cultureChanged": "cultureChanged"; "notifiationActionClick": "notifiationActionClick"; }, never, never, false, never>;
|
|
97
105
|
}
|
|
98
106
|
export {};
|
|
@@ -33,7 +33,6 @@ export declare class ShellbarComponent extends BaseComponent implements OnInit {
|
|
|
33
33
|
isOpenQuickAccess: boolean;
|
|
34
34
|
shellbarData: ShellbarSetting;
|
|
35
35
|
settings: MetaobjectDataModel;
|
|
36
|
-
isOpenNotificatoin: boolean;
|
|
37
36
|
deviceSize$: Observable<AbbrevationDeviceSize>;
|
|
38
37
|
productMenuControl: string;
|
|
39
38
|
user: ShellbarUser;
|
|
@@ -44,7 +43,6 @@ export declare class ShellbarComponent extends BaseComponent implements OnInit {
|
|
|
44
43
|
cssCustomUrl$: Observable<SafeResourceUrl | null>;
|
|
45
44
|
cultures: Record<string, any>;
|
|
46
45
|
notificationsUnreadCount$: Observable<number>;
|
|
47
|
-
notifcationLoaded: boolean;
|
|
48
46
|
notifiationCountLoaded$: Observable<boolean>;
|
|
49
47
|
bodyClick: string;
|
|
50
48
|
isMobile: boolean;
|
|
@@ -60,6 +58,7 @@ export declare class ShellbarComponent extends BaseComponent implements OnInit {
|
|
|
60
58
|
get repIdProfileImage(): string;
|
|
61
59
|
get notificationReport(): MetaobjectDataModel;
|
|
62
60
|
get subtitle(): string;
|
|
61
|
+
get enableSearch(): boolean;
|
|
63
62
|
get logo(): {
|
|
64
63
|
FileId: string;
|
|
65
64
|
};
|
|
@@ -84,14 +83,11 @@ export declare class ShellbarComponent extends BaseComponent implements OnInit {
|
|
|
84
83
|
item: NotificationItem;
|
|
85
84
|
btn: NotificationAction;
|
|
86
85
|
}): void;
|
|
87
|
-
onOpenNotification: () => void;
|
|
88
86
|
onCultureChanged: (culture: string) => void;
|
|
89
87
|
onNotificationWorkflowChoiceSuccess(_result: any): void;
|
|
90
88
|
onNotificationWorkflowChoiceFailed(_err: any): void;
|
|
91
|
-
onHandleOpenNotificationPanel(): void;
|
|
92
89
|
private _addClass;
|
|
93
90
|
private _removeClass;
|
|
94
|
-
private _handleOpenNotificationPanel;
|
|
95
91
|
private _mapNotifications;
|
|
96
92
|
private _changeCulture;
|
|
97
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShellbarComponent, never>;
|