aeb-ui-kit 0.0.115 → 0.0.119
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/aeb-ui-kit.metadata.json +1 -1
- package/bundles/aeb-ui-kit.umd.js +141 -72
- package/bundles/aeb-ui-kit.umd.js.map +1 -1
- package/bundles/aeb-ui-kit.umd.min.js +2 -2
- package/bundles/aeb-ui-kit.umd.min.js.map +1 -1
- package/esm2015/lib/new-notifications/new-notifications.component.js +9 -4
- package/esm2015/lib/new-tooltip/tooltip.directive.js +51 -20
- package/fesm2015/aeb-ui-kit.js +76 -38
- package/fesm2015/aeb-ui-kit.js.map +1 -1
- package/lib/new-notifications/new-notifications.component.d.ts +3 -1
- package/lib/new-tooltip/tooltip.directive.d.ts +7 -3
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
|
|
3
3
|
export declare type notification = {
|
|
4
|
-
id:
|
|
4
|
+
id: string;
|
|
5
5
|
message: string;
|
|
6
6
|
header: string;
|
|
7
7
|
iconPath: string;
|
|
@@ -10,8 +10,10 @@ export declare class NewNotificationsComponent implements OnInit {
|
|
|
10
10
|
private dom;
|
|
11
11
|
notifications: notification[];
|
|
12
12
|
close: EventEmitter<string>;
|
|
13
|
+
clickItem: EventEmitter<string>;
|
|
13
14
|
constructor(dom: DomSanitizer);
|
|
14
15
|
ngOnInit(): void;
|
|
15
16
|
handleClose(id: string): void;
|
|
17
|
+
handleItemClick(id: string): void;
|
|
16
18
|
bypassURL(url: string): SafeUrl;
|
|
17
19
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit, AfterViewInit } from '@angular/core';
|
|
1
|
+
import { ElementRef, OnDestroy, NgZone, OnInit, EventEmitter, AfterViewInit } from '@angular/core';
|
|
2
2
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
3
|
export declare type boundaries = {
|
|
4
4
|
left: number;
|
|
@@ -20,24 +20,28 @@ export declare class TooltipDirective implements OnDestroy, OnInit, AfterViewIni
|
|
|
20
20
|
private el;
|
|
21
21
|
private dom;
|
|
22
22
|
private sanitizer;
|
|
23
|
+
private _ngZone;
|
|
23
24
|
data: string;
|
|
24
25
|
position: 'top' | 'left' | 'right' | 'bottom';
|
|
25
26
|
overflow: boolean;
|
|
26
27
|
tooltipContent: any;
|
|
28
|
+
clickOutside: EventEmitter<Event>;
|
|
27
29
|
tooltip: any;
|
|
28
30
|
tooltipOpen: boolean;
|
|
29
31
|
private touchTimeStamp;
|
|
30
|
-
constructor(el: ElementRef, dom: DOMService, sanitizer: DomSanitizer);
|
|
32
|
+
constructor(el: ElementRef, dom: DOMService, sanitizer: DomSanitizer, _ngZone: NgZone);
|
|
31
33
|
tooltipConfig: vertices;
|
|
32
34
|
onMouseLeave(): void;
|
|
33
35
|
onMouseEnter(event: MouseEvent): void;
|
|
34
36
|
onClick(event: TouchEvent): void;
|
|
35
|
-
outsideTouch(event: TouchEvent): void;
|
|
36
37
|
orientationChangeHandler(): void;
|
|
37
38
|
showTooltip(): void;
|
|
38
39
|
hideTooltip(): void;
|
|
39
40
|
ngOnDestroy(): void;
|
|
40
41
|
ngOnInit(): void;
|
|
41
42
|
ngAfterViewInit(): void;
|
|
43
|
+
private initListeners;
|
|
44
|
+
private removeListeners;
|
|
45
|
+
private handleDocumentTouchstart;
|
|
42
46
|
}
|
|
43
47
|
export {};
|