@progress-chef/platform-shared-components 0.0.109 → 0.0.110

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,5 +1,6 @@
1
- import { TemplateRef } from '@angular/core';
2
- import { NotificationService } from '@progress/kendo-angular-notification';
1
+ import { OnDestroy, TemplateRef } from '@angular/core';
2
+ import { NotificationRef, NotificationService } from '@progress/kendo-angular-notification';
3
+ import { Subscription } from 'rxjs';
3
4
  import * as i0 from "@angular/core";
4
5
  export interface ToastNotification {
5
6
  content: string | TemplateRef<any> | Function;
@@ -11,9 +12,12 @@ export interface ToastNotification {
11
12
  hideAfter?: number;
12
13
  action: any;
13
14
  }
14
- export declare class ToastNotificationService {
15
+ export declare class ToastNotificationService implements OnDestroy {
15
16
  private notificationService;
16
17
  httpStatusHandledInHttpInterceptor: Set<number>;
18
+ httpErrorStatusSet: Set<unknown>;
19
+ allSubscriptions: Subscription[];
20
+ errorNotifications: NotificationRef[];
17
21
  constructor(notificationService: NotificationService);
18
22
  /**
19
23
  * @param notification
@@ -25,6 +29,8 @@ export declare class ToastNotificationService {
25
29
  * - hideAfter: 4000,
26
30
  */
27
31
  showToastNotification(notification: ToastNotification): void;
32
+ hideErrorToastNotifications(): void;
33
+ ngOnDestroy(): void;
28
34
  static ɵfac: i0.ɵɵFactoryDeclaration<ToastNotificationService, never>;
29
35
  static ɵprov: i0.ɵɵInjectableDeclaration<ToastNotificationService>;
30
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress-chef/platform-shared-components",
3
- "version": "0.0.109",
3
+ "version": "0.0.110",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.2.12",
6
6
  "@angular/core": "^16.2.12",