barsa-sap-ui 1.0.250 → 1.0.253

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.
@@ -0,0 +1,19 @@
1
+ import { DomSanitizer } from '@angular/platform-browser';
2
+ import { NotificationService } from '@fundamental-ngx/core';
3
+ import { NotifyOptions } from 'barsa-novin-ray-core';
4
+ import * as i0 from "@angular/core";
5
+ export declare class NotificationPopupService implements NotificationPopupService {
6
+ private _domSanitizer;
7
+ private _notificationService;
8
+ /**
9
+ *
10
+ */
11
+ defaultOptions: NotifyOptions;
12
+ constructor(_domSanitizer: DomSanitizer, _notificationService: NotificationService);
13
+ popupNotify(msg: any, title: any, type: any, image: any, mo: any, uiOptions: any, otherOptions: any): void;
14
+ private _getUiOptions;
15
+ private _getNotificationConfig;
16
+ private _getNotifyCallback;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationPopupService, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<NotificationPopupService>;
19
+ }
@@ -1,41 +1,9 @@
1
- import { ElementRef, Renderer2, TemplateRef } from '@angular/core';
2
- import { DomSanitizer } from '@angular/platform-browser';
3
- import { NotificationService } from '@fundamental-ngx/core';
4
1
  import { BaseComponent } from 'barsa-novin-ray-core';
2
+ import { NotificationRef } from '@fundamental-ngx/core/notification';
5
3
  import * as i0 from "@angular/core";
6
- interface NotifyOptions {
7
- Sound: boolean;
8
- Image: string | null;
9
- Title: string | null;
10
- Icon: boolean;
11
- Delay: number;
12
- Closable: boolean;
13
- DelayIndicator: boolean;
14
- CloseOnClick: boolean;
15
- IsRtl: boolean;
16
- Position: string | object;
17
- SoundPath: string;
18
- Size: string;
19
- ContinueDelayOnInactiveTab: boolean;
20
- Width: number;
21
- MessageHeight: number;
22
- }
23
4
  export declare class UlNotifyPopupComponent extends BaseComponent {
24
- private _notificationService;
25
- private el;
26
- private renderer;
27
- private domSanitizer;
28
- popupTemplate: TemplateRef<any>;
29
- defaultOptions: NotifyOptions;
30
- constructor(_notificationService: NotificationService, el: ElementRef, renderer: Renderer2, domSanitizer: DomSanitizer);
31
- private _showPopup;
32
- private _getUiOptions;
33
- private _getNotificationConfig;
34
- private _getNotifyCallback;
35
- private _setNotifyPosition;
36
- private _setCssClass;
37
- private _setStyle;
5
+ notification: NotificationRef;
6
+ constructor(notification: NotificationRef);
38
7
  static ɵfac: i0.ɵɵFactoryDeclaration<UlNotifyPopupComponent, never>;
39
8
  static ɵcmp: i0.ɵɵComponentDeclaration<UlNotifyPopupComponent, "bsu-ul-notify-popup", never, {}, {}, never, never, false>;
40
9
  }
41
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barsa-sap-ui",
3
- "version": "1.0.250",
3
+ "version": "1.0.253",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^14.2.7",
6
6
  "@angular/common": "^14.2.7"