barsa-tiles 1.0.315 → 1.0.317

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,15 +1,18 @@
1
1
  import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { BaseComponent, GroupByItem, GroupByPipe, IntersectionStatus, MetaobjectDataModel, WorkflowExecuteChoiceStatus, NotificationItem, NotificationAction } from 'barsa-novin-ray-core';
3
+ import { AbbrevationDeviceSize } from 'barsa-novin-ray-core';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class NotificationGroupComponent extends BaseComponent implements OnInit, OnChanges {
5
6
  private _groupByPipe;
6
7
  private _cdr;
7
8
  notifications: NotificationItem[] | null;
8
9
  loading: boolean;
10
+ deviceSize: AbbrevationDeviceSize;
9
11
  notificationCount: {
10
12
  unread: number;
11
13
  all: number;
12
14
  };
15
+ _deviceSize: string;
13
16
  viewed: EventEmitter<NotificationItem>;
14
17
  remove: EventEmitter<{
15
18
  items: NotificationItem[];
@@ -47,5 +50,5 @@ export declare class NotificationGroupComponent extends BaseComponent implements
47
50
  onVisibilityChange(e: IntersectionStatus, mo: NotificationItem, isLast: boolean): void;
48
51
  onWorkflowExecuteChoiceStatusChanged(e: WorkflowExecuteChoiceStatus, mo: NotificationItem): void;
49
52
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationGroupComponent, never>;
50
- static ɵcmp: i0.ɵɵComponentDeclaration<NotificationGroupComponent, "bt-notification-group", never, { "notifications": "notifications"; "loading": "loading"; "notificationCount": "notificationCount"; }, { "viewed": "viewed"; "remove": "remove"; "actionClick": "actionClick"; "show": "show"; "loadMore": "loadMore"; }, never, never, false>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationGroupComponent, "bt-notification-group", never, { "notifications": "notifications"; "loading": "loading"; "deviceSize": "deviceSize"; "notificationCount": "notificationCount"; }, { "viewed": "viewed"; "remove": "remove"; "actionClick": "actionClick"; "show": "show"; "loadMore": "loadMore"; }, never, never, false>;
51
54
  }
@@ -1,6 +1,6 @@
1
- import { ChangeDetectorRef, OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, OnInit, TemplateRef } from '@angular/core';
2
2
  import { Observable, Subject } from 'rxjs';
3
- import { ComboboxComponent, PopoverComponent, ProductSwitchItem, ShellbarMenuItem, ShellbarUser } from '@fundamental-ngx/core';
3
+ import { ComboboxComponent, DialogService, PopoverComponent, ProductSwitchItem, ShellbarMenuItem, ShellbarUser } from '@fundamental-ngx/core';
4
4
  import { DomSanitizer } from '@angular/platform-browser';
5
5
  import { BaseComponent, MetaobjectDataModel, FilePictureInfoModel, MoForReportModel, PortalService, BreadcrumbService, BbbTranslatePipe, NotificationService, NotificationItem, NotificationAction } from 'barsa-novin-ray-core';
6
6
  import { TilesService } from '../tiles.service';
@@ -22,9 +22,12 @@ export declare class ShellbarComponent extends BaseComponent implements OnInit {
22
22
  private _bbbTranslatePipe;
23
23
  private _domSanitizer;
24
24
  private _notificationService;
25
+ private _dialogService;
26
+ private _document;
25
27
  appVersion: string;
26
28
  comboboxComponent: ComboboxComponent;
27
29
  popoverComponent: PopoverComponent;
30
+ _notificationsDialog: TemplateRef<any>;
28
31
  shellbarData: ShellbarSetting;
29
32
  settings: MetaobjectDataModel;
30
33
  isOpenNotificatoin: boolean;
@@ -49,8 +52,10 @@ export declare class ShellbarComponent extends BaseComponent implements OnInit {
49
52
  notificationLoading$: Observable<boolean>;
50
53
  notifcationLoaded: boolean;
51
54
  _viewedNotifications$: Subject<NotificationItem>;
55
+ 1: any;
56
+ onBellNotification: () => void;
52
57
  _viewedNotifications: NotificationItem[];
53
- constructor(_portalService: PortalService, _breadCrumbService: BreadcrumbService, _tilesService: TilesService, _cdr: ChangeDetectorRef, _bbbTranslatePipe: BbbTranslatePipe, _domSanitizer: DomSanitizer, _notificationService: NotificationService, appVersion: string);
58
+ constructor(_portalService: PortalService, _breadCrumbService: BreadcrumbService, _tilesService: TilesService, _cdr: ChangeDetectorRef, _bbbTranslatePipe: BbbTranslatePipe, _domSanitizer: DomSanitizer, _notificationService: NotificationService, _dialogService: DialogService, _document: Document, appVersion: string);
54
59
  get subtitle(): string;
55
60
  get logo(): {
56
61
  FileId: string;
@@ -83,6 +88,7 @@ export declare class ShellbarComponent extends BaseComponent implements OnInit {
83
88
  onNotificationLoadMore(): void;
84
89
  onNotificationWorkflowChoiceSuccess(result: any): void;
85
90
  onNotificationWorkflowChoiceFailed(err: any): void;
91
+ private _handleOpenNotificationPanel;
86
92
  private _mapNotifications;
87
93
  private _changeCulture;
88
94
  static ɵfac: i0.ɵɵFactoryDeclaration<ShellbarComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barsa-tiles",
3
- "version": "1.0.315",
3
+ "version": "1.0.317",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^14.2.7",
6
6
  "@angular/common": "^14.2.7"