@ts-core/angular 15.0.15 → 15.0.17
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/notification/INotification.mjs +1 -1
- package/esm2020/notification/INotificationContent.mjs +1 -1
- package/fesm2015/ts-core-angular.mjs.map +1 -1
- package/fesm2020/ts-core-angular.mjs.map +1 -1
- package/notification/INotification.d.ts +2 -2
- package/notification/INotificationContent.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IDestroyable } from '@ts-core/common';
|
|
2
2
|
import { INotificationContent } from './INotificationContent';
|
|
3
|
-
import {
|
|
3
|
+
import { INotificationConfig } from './INotificationConfig';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
export declare abstract class INotification<T = any> implements IDestroyable {
|
|
6
6
|
abstract getX(): number;
|
|
@@ -19,7 +19,7 @@ export declare abstract class INotification<T = any> implements IDestroyable {
|
|
|
19
19
|
abstract emit(event: string): void;
|
|
20
20
|
readonly events: Observable<string>;
|
|
21
21
|
readonly container: HTMLElement;
|
|
22
|
-
readonly config:
|
|
22
|
+
readonly config: INotificationConfig<T>;
|
|
23
23
|
readonly content: INotificationContent<T>;
|
|
24
24
|
}
|
|
25
25
|
export declare enum NotificationEvent {
|
|
@@ -2,12 +2,12 @@ import { AfterViewInit, ViewContainerRef } from '@angular/core';
|
|
|
2
2
|
import { DestroyableContainer } from '@ts-core/common';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { INotification } from './INotification';
|
|
5
|
-
import {
|
|
5
|
+
import { INotificationConfig } from './INotificationConfig';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare abstract class INotificationContent<T = any> extends DestroyableContainer implements AfterViewInit {
|
|
8
8
|
container: ViewContainerRef;
|
|
9
9
|
protected timer: any;
|
|
10
|
-
protected _config:
|
|
10
|
+
protected _config: INotificationConfig<T>;
|
|
11
11
|
protected _notification: INotification<T>;
|
|
12
12
|
constructor(container: ViewContainerRef);
|
|
13
13
|
protected commitNotificationProperties(): void;
|
|
@@ -24,8 +24,8 @@ export declare abstract class INotificationContent<T = any> extends DestroyableC
|
|
|
24
24
|
get events(): Observable<string>;
|
|
25
25
|
get notification(): INotification<T>;
|
|
26
26
|
set notification(value: INotification<T>);
|
|
27
|
-
set config(value:
|
|
28
|
-
get config():
|
|
27
|
+
set config(value: INotificationConfig<T>);
|
|
28
|
+
get config(): INotificationConfig<T>;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<INotificationContent<any>, never>;
|
|
30
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<INotificationContent<any>, "ng-component", never, { "config": "config"; }, {}, never, never, false, never>;
|
|
31
31
|
}
|