barsa-tiles 1.0.405 → 1.0.406
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/barsa-shellbar/barsa-shellbar.component.mjs +15 -43
- package/esm2020/lib/shellbar/shellbar.component.mjs +45 -9
- package/fesm2015/barsa-tiles.mjs +63 -55
- package/fesm2015/barsa-tiles.mjs.map +1 -1
- package/fesm2020/barsa-tiles.mjs +58 -50
- package/fesm2020/barsa-tiles.mjs.map +1 -1
- package/lib/barsa-shellbar/barsa-shellbar.component.d.ts +13 -14
- package/lib/shellbar/shellbar.component.d.ts +15 -4
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Observable, Subject } from 'rxjs';
|
|
3
3
|
import { ComboboxComponent, DialogService, PopoverComponent, ProductSwitchItem, ShellbarMenuItem, ShellbarUser } from '@fundamental-ngx/core';
|
|
4
|
-
import { BaseComponent, MetaobjectDataModel, FilePictureInfoModel, MoForReportModel,
|
|
4
|
+
import { BaseComponent, MetaobjectDataModel, FilePictureInfoModel, MoForReportModel, NotificationService, NotificationItem, NotificationAction, AbbrevationDeviceSize } from 'barsa-novin-ray-core';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
interface ShellbarSetting extends MetaobjectDataModel {
|
|
7
7
|
subtitle: string;
|
|
@@ -13,7 +13,6 @@ interface ShellbarSetting extends MetaobjectDataModel {
|
|
|
13
13
|
ActionItems: MoForReportModel;
|
|
14
14
|
}
|
|
15
15
|
export declare class BarsaShellbarComponent extends BaseComponent implements OnInit {
|
|
16
|
-
private _bbbTranslatePipe;
|
|
17
16
|
private _notificationService;
|
|
18
17
|
private _dialogService;
|
|
19
18
|
private _document;
|
|
@@ -36,6 +35,16 @@ export declare class BarsaShellbarComponent extends BaseComponent implements OnI
|
|
|
36
35
|
notifications: NotificationItem[];
|
|
37
36
|
productMenuItems1: ShellbarMenuItem[];
|
|
38
37
|
bodyClick: string;
|
|
38
|
+
logo: {
|
|
39
|
+
FileId: string;
|
|
40
|
+
};
|
|
41
|
+
actions: Array<MetaobjectDataModel>;
|
|
42
|
+
userMenu: {
|
|
43
|
+
text: string;
|
|
44
|
+
callback: () => void;
|
|
45
|
+
}[];
|
|
46
|
+
productSwitcher: ProductSwitchItem[];
|
|
47
|
+
subtitle: string;
|
|
39
48
|
openNotificationPanel: EventEmitter<void>;
|
|
40
49
|
cultureChanged: EventEmitter<string>;
|
|
41
50
|
notificationLoadMore: EventEmitter<void>;
|
|
@@ -60,17 +69,7 @@ export declare class BarsaShellbarComponent extends BaseComponent implements OnI
|
|
|
60
69
|
_viewedNotifications$: Subject<NotificationItem>;
|
|
61
70
|
onBellNotification: () => void;
|
|
62
71
|
_viewedNotifications: NotificationItem[];
|
|
63
|
-
constructor(
|
|
64
|
-
get subtitle(): string;
|
|
65
|
-
get logo(): {
|
|
66
|
-
FileId: string;
|
|
67
|
-
};
|
|
68
|
-
get actions(): Array<MetaobjectDataModel>;
|
|
69
|
-
get userMenu(): {
|
|
70
|
-
text: string;
|
|
71
|
-
callback: () => void;
|
|
72
|
-
}[];
|
|
73
|
-
get productSwitcher(): ProductSwitchItem[];
|
|
72
|
+
constructor(_notificationService: NotificationService, _dialogService: DialogService, _document: Document, appVersion: string);
|
|
74
73
|
ngOnInit(): void;
|
|
75
74
|
onCultureChange(culture: any): void;
|
|
76
75
|
onShowNotification(e: {
|
|
@@ -92,6 +91,6 @@ export declare class BarsaShellbarComponent extends BaseComponent implements OnI
|
|
|
92
91
|
onNotificationLoadMore(): void;
|
|
93
92
|
private _changeCulture;
|
|
94
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<BarsaShellbarComponent, never>;
|
|
95
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BarsaShellbarComponent, "bt-barsa-shellbar", never, { "cssCustomUrl": "cssCustomUrl"; "cssUrl": "cssUrl"; "allowAnonymous": "allowAnonymous"; "userLoggedIn": "userLoggedIn"; "settings": "settings"; "productMenuControl": "productMenuControl"; "deviceSize": "deviceSize"; "cultures": "cultures"; "shellbarData": "shellbarData"; "notificationCount": "notificationCount"; "notifcationLoaded": "notifcationLoaded"; "notificationLoading": "notificationLoading"; "notifications": "notifications"; "productMenuItems1": "productMenuItems1"; "bodyClick": "bodyClick"; }, { "openNotificationPanel": "openNotificationPanel"; "cultureChanged": "cultureChanged"; "notificationLoadMore": "notificationLoadMore"; "removeNotification": "removeNotification"; "notifiationActionClick": "notifiationActionClick"; "notificationViewed": "notificationViewed"; }, never, never, false>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BarsaShellbarComponent, "bt-barsa-shellbar", never, { "cssCustomUrl": "cssCustomUrl"; "cssUrl": "cssUrl"; "allowAnonymous": "allowAnonymous"; "userLoggedIn": "userLoggedIn"; "settings": "settings"; "productMenuControl": "productMenuControl"; "deviceSize": "deviceSize"; "cultures": "cultures"; "shellbarData": "shellbarData"; "notificationCount": "notificationCount"; "notifcationLoaded": "notifcationLoaded"; "notificationLoading": "notificationLoading"; "notifications": "notifications"; "productMenuItems1": "productMenuItems1"; "bodyClick": "bodyClick"; "logo": "logo"; "actions": "actions"; "userMenu": "userMenu"; "productSwitcher": "productSwitcher"; "subtitle": "subtitle"; }, { "openNotificationPanel": "openNotificationPanel"; "cultureChanged": "cultureChanged"; "notificationLoadMore": "notificationLoadMore"; "removeNotification": "removeNotification"; "notifiationActionClick": "notifiationActionClick"; "notificationViewed": "notificationViewed"; }, never, never, false>;
|
|
96
95
|
}
|
|
97
96
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Observable, Subject } from 'rxjs';
|
|
3
|
-
import { ComboboxComponent, PopoverComponent, ShellbarMenuItem, ShellbarUser } from '@fundamental-ngx/core';
|
|
3
|
+
import { ComboboxComponent, PopoverComponent, ProductSwitchItem, ShellbarMenuItem, ShellbarUser } from '@fundamental-ngx/core';
|
|
4
4
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
5
|
-
import { BaseComponent, MetaobjectDataModel, FilePictureInfoModel, MoForReportModel, PortalService, BreadcrumbService, NotificationService, NotificationItem, NotificationAction } from 'barsa-novin-ray-core';
|
|
5
|
+
import { BaseComponent, MetaobjectDataModel, FilePictureInfoModel, MoForReportModel, PortalService, BreadcrumbService, NotificationService, NotificationItem, NotificationAction, BbbTranslatePipe } from 'barsa-novin-ray-core';
|
|
6
6
|
import { TilesService } from '../tiles.service';
|
|
7
7
|
import { AbbrevationDeviceSize } from 'barsa-novin-ray-core';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
@@ -16,6 +16,7 @@ interface ShellbarSetting extends MetaobjectDataModel {
|
|
|
16
16
|
ActionItems: MoForReportModel;
|
|
17
17
|
}
|
|
18
18
|
export declare class ShellbarComponent extends BaseComponent implements OnInit {
|
|
19
|
+
private _bbbTranslatePipe;
|
|
19
20
|
private _portalService;
|
|
20
21
|
private _breadCrumbService;
|
|
21
22
|
private _tilesService;
|
|
@@ -49,9 +50,19 @@ export declare class ShellbarComponent extends BaseComponent implements OnInit {
|
|
|
49
50
|
notifiationCountLoaded$: Observable<boolean>;
|
|
50
51
|
_viewedNotifications$: Subject<NotificationItem>;
|
|
51
52
|
_viewedNotifications: NotificationItem[];
|
|
52
|
-
|
|
53
|
+
bodyClick: string;
|
|
54
|
+
get subtitle(): string;
|
|
55
|
+
get logo(): {
|
|
56
|
+
FileId: string;
|
|
57
|
+
};
|
|
58
|
+
get actions(): Array<MetaobjectDataModel>;
|
|
59
|
+
get userMenu(): {
|
|
60
|
+
text: string;
|
|
61
|
+
callback: () => void;
|
|
62
|
+
}[];
|
|
63
|
+
get productSwitcher(): ProductSwitchItem[];
|
|
53
64
|
get productMenuItems(): ShellbarMenuItem[];
|
|
54
|
-
|
|
65
|
+
constructor(_bbbTranslatePipe: BbbTranslatePipe, _portalService: PortalService, _breadCrumbService: BreadcrumbService, _tilesService: TilesService, _cdr: ChangeDetectorRef, _domSanitizer: DomSanitizer, _notificationService: NotificationService, appVersion: string);
|
|
55
66
|
ngOnInit(): void;
|
|
56
67
|
onCultureChange(culture: any): void;
|
|
57
68
|
onShowNotification(e: {
|