@banta/sdk 4.0.13 → 4.0.16

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 { ElementRef } from '@angular/core';
1
+ import { ElementRef, NgZone } from '@angular/core';
2
2
  import { User, ChatMessage, CommentsOrder } from '@banta/common';
3
3
  import { HashTag } from '../comment-field/comment-field.component';
4
4
  import { Subject, Observable } from 'rxjs';
@@ -14,11 +14,16 @@ export declare class BantaCommentsComponent {
14
14
  private elementRef;
15
15
  private activatedRoute;
16
16
  private matSnackBar;
17
- constructor(backend: ChatBackendBase, elementRef: ElementRef<HTMLElement>, activatedRoute: ActivatedRoute, matSnackBar: MatSnackBar);
17
+ private ngZone;
18
+ constructor(backend: ChatBackendBase, elementRef: ElementRef<HTMLElement>, activatedRoute: ActivatedRoute, matSnackBar: MatSnackBar, ngZone: NgZone);
18
19
  private handleBackendExceptionAsAlert;
19
20
  private handleBackendException;
20
21
  ngOnInit(): void;
21
- sharedCommentID: string;
22
+ private resizeObserver;
23
+ private width;
24
+ private height;
25
+ get isMobileSized(): boolean;
26
+ ngAfterViewInit(): void;
22
27
  ngOnDestroy(): void;
23
28
  private setSourceFromTopicID;
24
29
  private _loadingMessage;
@@ -29,6 +34,7 @@ export declare class BantaCommentsComponent {
29
34
  showLoadingScreen: boolean;
30
35
  loadingStartedAt: number;
31
36
  messageChangedAt: number;
37
+ sharedCommentID: string;
32
38
  private startLoading;
33
39
  private _loadingTimer;
34
40
  private _loadingMessageIndex;
@@ -1,6 +1,8 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare class EmojiSelectorButtonComponent {
4
+ private elementRef;
5
+ constructor(elementRef: ElementRef<HTMLElement>);
4
6
  private _selected;
5
7
  private clickListener;
6
8
  private resizeListener;
@@ -9,7 +11,11 @@ export declare class EmojiSelectorButtonComponent {
9
11
  panelElement: ElementRef<HTMLElement>;
10
12
  buttonElement: ElementRef<HTMLElement>;
11
13
  ngOnDestroy(): void;
14
+ private width;
15
+ private height;
16
+ get widthConstrained(): boolean;
12
17
  ngAfterViewInit(): void;
18
+ private putPanelAtRoot;
13
19
  private removeListener;
14
20
  place(): void;
15
21
  show(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@banta/sdk",
3
- "version": "4.0.13",
3
+ "version": "4.0.16",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"