@datarailsshared/datarailsshared 1.4.168 → 1.4.170
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/datarailsshared-datarailsshared.umd.js +57 -8
- package/bundles/datarailsshared-datarailsshared.umd.js.map +1 -1
- package/datarailsshared-datarailsshared-1.4.170.tgz +0 -0
- package/datarailsshared-datarailsshared.d.ts +4 -3
- package/datarailsshared-datarailsshared.metadata.json +1 -1
- package/esm2015/datarailsshared-datarailsshared.js +5 -4
- package/esm2015/lib/dr-chat/chat.component.js +9 -2
- package/esm2015/lib/dr-chat/chat.module.js +3 -1
- package/esm2015/lib/dr-chat/dr-chat-form/chat-form.component.js +18 -3
- package/esm2015/lib/dr-chat/dr-chat-suggestions/chat-suggestions.component.js +13 -3
- package/esm2015/lib/dr-chat/dr-dot-flashing/dr-dot-flashing.component.js +15 -0
- package/fesm2015/datarailsshared-datarailsshared.js +53 -6
- package/fesm2015/datarailsshared-datarailsshared.js.map +1 -1
- package/lib/dr-chat/chat.component.d.ts +6 -0
- package/lib/dr-chat/dr-chat-form/chat-form.component.d.ts +8 -0
- package/lib/dr-chat/dr-chat-suggestions/chat-suggestions.component.d.ts +6 -0
- package/lib/dr-chat/dr-dot-flashing/dr-dot-flashing.component.d.ts +3 -0
- package/package.json +1 -1
- package/datarailsshared-datarailsshared-1.4.168.tgz +0 -0
|
@@ -19,6 +19,12 @@ export declare class DrChatComponent implements AfterViewInit, OnDestroy {
|
|
|
19
19
|
protected _scrollBottom: boolean;
|
|
20
20
|
suggestions: string[];
|
|
21
21
|
reopen: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Parameter to check is send message function available
|
|
24
|
+
*
|
|
25
|
+
* @type {boolean}
|
|
26
|
+
*/
|
|
27
|
+
waitForReply: boolean;
|
|
22
28
|
messagesContainer: ElementRef;
|
|
23
29
|
messages: QueryList<DrChatMessageComponent>;
|
|
24
30
|
chatForm: DrChatFormComponent;
|
|
@@ -31,6 +31,12 @@ export declare class DrChatFormComponent {
|
|
|
31
31
|
* @type {string}
|
|
32
32
|
*/
|
|
33
33
|
dropFilePlaceholder: string;
|
|
34
|
+
/**
|
|
35
|
+
* Parameter to check is send message function available
|
|
36
|
+
*
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
*/
|
|
39
|
+
waitForReply: boolean;
|
|
34
40
|
/**
|
|
35
41
|
*
|
|
36
42
|
* @type {EventEmitter<{ message: string, files: File[] }>}
|
|
@@ -39,6 +45,7 @@ export declare class DrChatFormComponent {
|
|
|
39
45
|
message: string;
|
|
40
46
|
files: File[];
|
|
41
47
|
}>;
|
|
48
|
+
abort: EventEmitter<any>;
|
|
42
49
|
/**
|
|
43
50
|
* Emits when message input value has been changed
|
|
44
51
|
*
|
|
@@ -52,6 +59,7 @@ export declare class DrChatFormComponent {
|
|
|
52
59
|
onDragOver(event: DragEvent): void;
|
|
53
60
|
onDragLeave(event: DragEvent): void;
|
|
54
61
|
sendMessage(): void;
|
|
62
|
+
abortMessage(): void;
|
|
55
63
|
onModelChange(value: string): void;
|
|
56
64
|
getTextAreaHeight(textAreaElement: HTMLTextAreaElement): string;
|
|
57
65
|
}
|
|
@@ -5,6 +5,12 @@ export declare class DrChatSuggestionsComponent implements OnInit {
|
|
|
5
5
|
values: string[];
|
|
6
6
|
fullScreen: boolean;
|
|
7
7
|
buttonMode: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Parameter to check is send message function available
|
|
10
|
+
*
|
|
11
|
+
* @type {boolean}
|
|
12
|
+
*/
|
|
13
|
+
waitForReply: boolean;
|
|
8
14
|
suggestionSelect: EventEmitter<string>;
|
|
9
15
|
suggestionCardsList: ElementRef;
|
|
10
16
|
get hiddenValues(): string[];
|
package/package.json
CHANGED
|
Binary file
|