@banta/sdk 4.6.7 → 4.6.8
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 +214 -165
- 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/comments/attachment-scraper.directive.js +108 -0
- package/esm2015/lib/comments/comment-field/comment-field.component.js +2 -71
- package/esm2015/lib/comments/comments.module.js +4 -2
- package/esm2015/lib/emoji/emoji-selector-button.component.js +9 -5
- package/fesm2015/banta-sdk.js +114 -74
- package/fesm2015/banta-sdk.js.map +1 -1
- package/lib/comments/attachment-scraper.directive.d.ts +18 -0
- package/lib/comments/comment-field/comment-field.component.d.ts +0 -4
- package/lib/emoji/emoji-selector-button.component.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ElementRef } from "@angular/core";
|
|
2
|
+
import { ChatMessageAttachment } from "@banta/common";
|
|
3
|
+
import { BehaviorSubject } from "rxjs";
|
|
4
|
+
import { ChatBackendBase } from "../chat-backend-base";
|
|
5
|
+
export declare class AttachmentScraperDirective {
|
|
6
|
+
private elementRef;
|
|
7
|
+
private chatBackend;
|
|
8
|
+
constructor(elementRef: ElementRef<HTMLTextAreaElement>, chatBackend: ChatBackendBase);
|
|
9
|
+
attachments: ChatMessageAttachment[];
|
|
10
|
+
attachmentsChanged: BehaviorSubject<ChatMessageAttachment[]>;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
get element(): HTMLTextAreaElement;
|
|
13
|
+
get text(): string;
|
|
14
|
+
private scrapeTimeout;
|
|
15
|
+
private scrapeDebounce;
|
|
16
|
+
private fragments;
|
|
17
|
+
private scrape;
|
|
18
|
+
}
|
|
@@ -30,10 +30,6 @@ export declare class CommentFieldComponent {
|
|
|
30
30
|
private _text;
|
|
31
31
|
get text(): string;
|
|
32
32
|
set text(value: string);
|
|
33
|
-
private attachmentScrapeTimeout;
|
|
34
|
-
private attachmentScrapeDebounce;
|
|
35
|
-
private attachmentFragments;
|
|
36
|
-
private scrapeAttachments;
|
|
37
33
|
sendLabel: string;
|
|
38
34
|
sendingLabel: string;
|
|
39
35
|
label: string;
|