@morozeckiy/dd-lib 0.1.9 → 0.1.10
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,4 +1,4 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
1
|
+
import { EventEmitter, InjectionToken } from '@angular/core';
|
|
2
2
|
import { ToastService, ToastType } from '../toast.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface ToastData {
|
|
@@ -6,16 +6,22 @@ export interface ToastData {
|
|
|
6
6
|
description?: string;
|
|
7
7
|
type: ToastType;
|
|
8
8
|
id: number;
|
|
9
|
+
maxWidth?: string;
|
|
9
10
|
}
|
|
10
11
|
export declare const TOAST_DATA: InjectionToken<ToastData>;
|
|
11
12
|
export declare class ToastBaseComponent {
|
|
12
13
|
private toastService;
|
|
13
14
|
ddToastData: ToastData;
|
|
15
|
+
callEvent: EventEmitter<any>;
|
|
14
16
|
get id(): number;
|
|
15
17
|
title: string | undefined;
|
|
16
18
|
protected data: ToastData;
|
|
19
|
+
maxWidth: string;
|
|
20
|
+
top: string;
|
|
17
21
|
constructor(toastService: ToastService, ddToastData: ToastData);
|
|
22
|
+
scroll(): void;
|
|
18
23
|
destroy(): void;
|
|
24
|
+
onClickDesc($event: MouseEvent): void;
|
|
19
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToastBaseComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToastBaseComponent, "dd-toast-base", never, {}, {}, never, never, true, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastBaseComponent, "dd-toast-base", never, {}, { "callEvent": "callEvent"; }, never, never, true, never>;
|
|
21
27
|
}
|
|
Binary file
|