@banta/sdk 4.3.2 → 4.3.3
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/bundles/banta-sdk.umd.js +74 -98
- package/bundles/banta-sdk.umd.js.map +1 -1
- package/bundles/banta-sdk.umd.min.js +1 -1
- package/bundles/banta-sdk.umd.min.js.map +1 -1
- package/esm2015/lib/banta-sdk.module.js +6 -2
- package/esm2015/lib/comments/comment/comment.component.js +7 -3
- package/esm2015/lib/comments/comments.module.js +6 -2
- package/esm2015/lib/emoji/emoji-selector-button.component.js +56 -105
- package/esm2015/lib/emoji/emoji.module.js +6 -2
- package/fesm2015/banta-sdk.js +69 -108
- package/fesm2015/banta-sdk.js.map +1 -1
- package/lib/comments/comment/comment.component.d.ts +1 -0
- package/lib/emoji/emoji-selector-button.component.d.ts +13 -14
- package/package.json +1 -1
|
@@ -1,23 +1,22 @@
|
|
|
1
|
+
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
2
|
+
import { TemplatePortal } from '@angular/cdk/portal';
|
|
1
3
|
import { ElementRef } from '@angular/core';
|
|
2
4
|
import { Observable } from 'rxjs';
|
|
3
5
|
export declare class EmojiSelectorButtonComponent {
|
|
4
6
|
private elementRef;
|
|
5
|
-
|
|
7
|
+
private overlay;
|
|
8
|
+
constructor(elementRef: ElementRef<HTMLElement>, overlay: Overlay);
|
|
9
|
+
selectorPanelTemplate: TemplatePortal<any>;
|
|
6
10
|
private _selected;
|
|
7
|
-
private clickListener;
|
|
8
|
-
private resizeListener;
|
|
9
11
|
showEmojiPanel: boolean;
|
|
10
12
|
get selected(): Observable<string>;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
ngAfterViewInit(): void;
|
|
18
|
-
private putPanelAtRoot;
|
|
19
|
-
private removeListener;
|
|
20
|
-
place(): void;
|
|
21
|
-
show(): void;
|
|
13
|
+
private overlayRef;
|
|
14
|
+
get isOpen(): OverlayRef;
|
|
15
|
+
/**
|
|
16
|
+
* Insert the given emoji.
|
|
17
|
+
* @param str
|
|
18
|
+
*/
|
|
22
19
|
insert(str: any): void;
|
|
20
|
+
close(): void;
|
|
21
|
+
show(): void;
|
|
23
22
|
}
|