@hivegpt/hiveai-angular 0.0.355 → 0.0.360
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/README.md +23 -24
- package/bundles/hivegpt-hiveai-angular.umd.js +3083 -2779
- package/bundles/hivegpt-hiveai-angular.umd.js.map +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js.map +1 -1
- package/environments/environment.d.ts +14 -14
- package/environments/environment.d.ts.map +1 -1
- package/esm2015/environments/environment.js +15 -15
- package/esm2015/hivegpt-hiveai-angular.js +13 -12
- package/esm2015/lib/components/NotificationSocket.js +39 -39
- package/esm2015/lib/components/bot-html-editor/bot-html-editor.component.js +112 -112
- package/esm2015/lib/components/bot.service.js +50 -50
- package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +1747 -1728
- package/esm2015/lib/components/chatbot/chatbot.component.js +50 -50
- package/esm2015/lib/components/conversation.service.js +49 -49
- package/esm2015/lib/components/socket-service.service.js +72 -72
- package/esm2015/lib/components/translations/translation.service.js +219 -0
- package/esm2015/lib/components/video-player/video-player.component.js +123 -123
- package/esm2015/lib/hivegpt.module.js +21 -21
- package/esm2015/lib/models/video.js +2 -2
- package/esm2015/lib/pipes/safe-html.pipe.js +19 -19
- package/esm2015/lib/utils/utils.js +36 -36
- package/esm2015/public-api.js +7 -7
- package/fesm2015/hivegpt-hiveai-angular.js +2480 -2243
- package/fesm2015/hivegpt-hiveai-angular.js.map +1 -1
- package/hivegpt-hiveai-angular.d.ts +12 -11
- package/hivegpt-hiveai-angular.d.ts.map +1 -1
- package/hivegpt-hiveai-angular.metadata.json +1 -1
- package/lib/components/NotificationSocket.d.ts +4 -4
- package/lib/components/NotificationSocket.d.ts.map +1 -1
- package/lib/components/bot-html-editor/bot-html-editor.component.d.ts +35 -35
- package/lib/components/bot-html-editor/bot-html-editor.component.d.ts.map +1 -1
- package/lib/components/bot.service.d.ts +11 -11
- package/lib/components/bot.service.d.ts.map +1 -1
- package/lib/components/chat-drawer/chat-drawer.component.d.ts +254 -250
- package/lib/components/chat-drawer/chat-drawer.component.d.ts.map +1 -1
- package/lib/components/chatbot/chatbot.component.d.ts +35 -35
- package/lib/components/chatbot/chatbot.component.d.ts.map +1 -1
- package/lib/components/conversation.service.d.ts +12 -12
- package/lib/components/conversation.service.d.ts.map +1 -1
- package/lib/components/socket-service.service.d.ts +19 -19
- package/lib/components/socket-service.service.d.ts.map +1 -1
- package/lib/components/translations/translation.service.d.ts +8 -0
- package/lib/components/translations/translation.service.d.ts.map +1 -0
- package/lib/components/video-player/video-player.component.d.ts +35 -35
- package/lib/components/video-player/video-player.component.d.ts.map +1 -1
- package/lib/hivegpt.module.d.ts +2 -2
- package/lib/hivegpt.module.d.ts.map +1 -1
- package/lib/models/video.d.ts +34 -34
- package/lib/models/video.d.ts.map +1 -1
- package/lib/pipes/safe-html.pipe.d.ts +7 -7
- package/lib/pipes/safe-html.pipe.d.ts.map +1 -1
- package/lib/utils/utils.d.ts +2 -2
- package/lib/utils/utils.d.ts.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +3 -3
- package/public-api.d.ts.map +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Socket } from 'ngx-socket-io';
|
|
2
|
-
export declare class NotificationSocket extends Socket {
|
|
3
|
-
constructor();
|
|
4
|
-
}
|
|
1
|
+
import { Socket } from 'ngx-socket-io';
|
|
2
|
+
export declare class NotificationSocket extends Socket {
|
|
3
|
+
constructor();
|
|
4
|
+
}
|
|
5
5
|
//# sourceMappingURL=NotificationSocket.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationSocket.d.ts","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"NotificationSocket.d.ts","sourceRoot":"/Users/rohitthakur/Desktop/Freelance/Dalvir/Pro-Events-Frontend/Angular/projects/hivegpt/eventsgpt-angular/src/","sources":["lib/components/NotificationSocket.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAkB,MAAM,eAAe,CAAC;AAGvD,qBAGa,kBAAmB,SAAQ,MAAM;;CAiB7C"}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
export declare class BotHtmlEditorComponent implements OnInit {
|
|
5
|
-
private cdr;
|
|
6
|
-
private http;
|
|
7
|
-
editorContent: Observable<string>;
|
|
8
|
-
isDocInEditMode: any;
|
|
9
|
-
documentContent: any;
|
|
10
|
-
conversationId: any;
|
|
11
|
-
botId: any;
|
|
12
|
-
documentName: any;
|
|
13
|
-
environment: {
|
|
14
|
-
USERS_API: any;
|
|
15
|
-
BASE_URL: any;
|
|
16
|
-
AGENTS_API: any;
|
|
17
|
-
};
|
|
18
|
-
quillConfig: {
|
|
19
|
-
toolbar: (string[] | ({
|
|
20
|
-
header: string;
|
|
21
|
-
font?: undefined;
|
|
22
|
-
} | {
|
|
23
|
-
font: any[];
|
|
24
|
-
header?: undefined;
|
|
25
|
-
})[] | {
|
|
26
|
-
list: string;
|
|
27
|
-
}[])[];
|
|
28
|
-
};
|
|
29
|
-
constructor(cdr: ChangeDetectorRef, http: HttpClient);
|
|
30
|
-
ngOnInit(): void;
|
|
31
|
-
filldataInForm(): void;
|
|
32
|
-
saveContent(): void;
|
|
33
|
-
saveContent_http(): Observable<any>;
|
|
34
|
-
updateContent_http(): Observable<any>;
|
|
35
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
export declare class BotHtmlEditorComponent implements OnInit {
|
|
5
|
+
private cdr;
|
|
6
|
+
private http;
|
|
7
|
+
editorContent: Observable<string>;
|
|
8
|
+
isDocInEditMode: any;
|
|
9
|
+
documentContent: any;
|
|
10
|
+
conversationId: any;
|
|
11
|
+
botId: any;
|
|
12
|
+
documentName: any;
|
|
13
|
+
environment: {
|
|
14
|
+
USERS_API: any;
|
|
15
|
+
BASE_URL: any;
|
|
16
|
+
AGENTS_API: any;
|
|
17
|
+
};
|
|
18
|
+
quillConfig: {
|
|
19
|
+
toolbar: (string[] | ({
|
|
20
|
+
header: string;
|
|
21
|
+
font?: undefined;
|
|
22
|
+
} | {
|
|
23
|
+
font: any[];
|
|
24
|
+
header?: undefined;
|
|
25
|
+
})[] | {
|
|
26
|
+
list: string;
|
|
27
|
+
}[])[];
|
|
28
|
+
};
|
|
29
|
+
constructor(cdr: ChangeDetectorRef, http: HttpClient);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
filldataInForm(): void;
|
|
32
|
+
saveContent(): void;
|
|
33
|
+
saveContent_http(): Observable<any>;
|
|
34
|
+
updateContent_http(): Observable<any>;
|
|
35
|
+
}
|
|
36
36
|
//# sourceMappingURL=bot-html-editor.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bot-html-editor.component.d.ts","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"bot-html-editor.component.d.ts","sourceRoot":"/Users/rohitthakur/Desktop/Freelance/Dalvir/Pro-Events-Frontend/Angular/projects/hivegpt/eventsgpt-angular/src/","sources":["lib/components/bot-html-editor/bot-html-editor.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAe,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAEL,iBAAiB,EAMjB,MAAM,EAOP,MAAM,eAAe,CAAC;AAWvB,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGlC,qBAKa,sBAAuB,YAAW,MAAM;IAwBvC,OAAO,CAAC,GAAG;IAAqB,OAAO,CAAC,IAAI;IAvB/C,aAAa,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAClC,eAAe,EAAE,GAAG,CAAC;IACrB,eAAe,EAAE,GAAG,CAAC;IACrB,cAAc,EAAE,GAAG,CAAC;IACpB,KAAK,EAAE,GAAG,CAAC;IAEpB,YAAY,EAAE,GAAG,CAAc;IAE/B,WAAW,EAAE;QACX,SAAS,MAAC;QACV,QAAQ,MAAC;QACT,UAAU,MAAC;KACZ,CAAC;IAEF,WAAW;;;;;;;;;;MAQT;gBACkB,GAAG,EAAE,iBAAiB,EAAU,IAAI,EAAE,UAAU;IAEpE,QAAQ,IAAI,IAAI;IAahB,cAAc;IAQd,WAAW;IAQX,gBAAgB;IA+BhB,kBAAkB;CA8BnB"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable, Subject } from 'rxjs';
|
|
3
|
-
export declare class BotsService {
|
|
4
|
-
private http;
|
|
5
|
-
eventDescription: Subject<unknown>;
|
|
6
|
-
bot_api: string;
|
|
7
|
-
constructor(http: HttpClient);
|
|
8
|
-
fetchSpeechAuthorizationToken(botId: any, apiKey: any, domain: any): Observable<any>;
|
|
9
|
-
getWorkflowsByOrgId(orgId: string): Observable<any>;
|
|
10
|
-
getWorkflowExecutionById(executionId: string): Observable<any>;
|
|
11
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable, Subject } from 'rxjs';
|
|
3
|
+
export declare class BotsService {
|
|
4
|
+
private http;
|
|
5
|
+
eventDescription: Subject<unknown>;
|
|
6
|
+
bot_api: string;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
fetchSpeechAuthorizationToken(botId: any, apiKey: any, domain: any): Observable<any>;
|
|
9
|
+
getWorkflowsByOrgId(orgId: string): Observable<any>;
|
|
10
|
+
getWorkflowExecutionById(executionId: string): Observable<any>;
|
|
11
|
+
}
|
|
12
12
|
//# sourceMappingURL=bot.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bot.service.d.ts","sourceRoot":"
|
|
1
|
+
{"version":3,"file":"bot.service.d.ts","sourceRoot":"/Users/rohitthakur/Desktop/Freelance/Dalvir/Pro-Events-Frontend/Angular/projects/hivegpt/eventsgpt-angular/src/","sources":["lib/components/bot.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAc,MAAM,sBAAsB,CAAC;AAK9D,OAAO,EAAE,UAAU,EAAE,OAAO,EAAc,MAAM,MAAM,CAAC;AAGvD,qBAGa,WAAW;IAGR,OAAO,CAAC,IAAI;IAFxB,gBAAgB,mBAAiB;IACjC,OAAO,SAAmC;gBACtB,IAAI,EAAE,UAAU;IAEpC,6BAA6B,CAAC,KAAK,KAAA,EAAE,MAAM,KAAA,EAAE,MAAM,KAAA;IAiBnD,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC;IAUnD,wBAAwB,CAAC,WAAW,EAAE,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC;CAQjE"}
|
|
@@ -1,251 +1,255 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
private
|
|
14
|
-
private
|
|
15
|
-
private
|
|
16
|
-
private
|
|
17
|
-
private
|
|
18
|
-
private
|
|
19
|
-
private
|
|
20
|
-
private
|
|
21
|
-
private
|
|
22
|
-
private
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { TranslationService } from '../translations/translation.service';
|
|
3
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, QueryList, Renderer2, SimpleChanges } from '@angular/core';
|
|
4
|
+
import { MatDrawer } from '@angular/material/sidenav';
|
|
5
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
6
|
+
import { ConversationService } from '../conversation.service';
|
|
7
|
+
import { Observable } from 'rxjs';
|
|
8
|
+
import { SocketService } from '../socket-service.service';
|
|
9
|
+
import { FormBuilder } from '@angular/forms';
|
|
10
|
+
import * as SpeechSDK from 'microsoft-cognitiveservices-speech-sdk';
|
|
11
|
+
import { BotsService } from '../bot.service';
|
|
12
|
+
export declare class ChatDrawerComponent implements OnInit, OnChanges {
|
|
13
|
+
private fb;
|
|
14
|
+
private botService;
|
|
15
|
+
private cdr;
|
|
16
|
+
private http;
|
|
17
|
+
private sanitizer;
|
|
18
|
+
private elementRef;
|
|
19
|
+
private renderer;
|
|
20
|
+
private socketService;
|
|
21
|
+
private conversationService;
|
|
22
|
+
private translationService;
|
|
23
|
+
private chatMain;
|
|
24
|
+
private myInput;
|
|
25
|
+
closePlaygroundButtons: QueryList<ElementRef>;
|
|
26
|
+
drawer: MatDrawer;
|
|
27
|
+
sourcesDrawer: MatDrawer;
|
|
28
|
+
editorsDrawer: MatDrawer;
|
|
29
|
+
private bodyOverflowClass;
|
|
30
|
+
myTextarea: ElementRef<HTMLTextAreaElement>;
|
|
31
|
+
isCollapsedTrue: boolean;
|
|
32
|
+
copilotName: string;
|
|
33
|
+
firstName: string;
|
|
34
|
+
lastName: string;
|
|
35
|
+
apiKey: string;
|
|
36
|
+
bgBubbleAi: string;
|
|
37
|
+
bgBubbleUser: string;
|
|
38
|
+
bgGradient: string[];
|
|
39
|
+
botName: string;
|
|
40
|
+
botSkills: string;
|
|
41
|
+
botId: string;
|
|
42
|
+
orgId: string;
|
|
43
|
+
closeButtonColor: string;
|
|
44
|
+
closeButtonbgColor: string;
|
|
45
|
+
credentials: [];
|
|
46
|
+
dateTimeColor: string;
|
|
47
|
+
dateTextColor: string;
|
|
48
|
+
eventId: string;
|
|
49
|
+
s27Token: string;
|
|
50
|
+
eventName: string;
|
|
51
|
+
botIcon: string;
|
|
52
|
+
formFieldBgColor: string;
|
|
53
|
+
formFieldTextColor: string;
|
|
54
|
+
fullView: boolean;
|
|
55
|
+
gradientColors: string[];
|
|
56
|
+
greeting: string;
|
|
57
|
+
messageTextColorAi: string;
|
|
58
|
+
messageTextColorUser: string;
|
|
59
|
+
rules: string;
|
|
60
|
+
sendButtonColor: string;
|
|
61
|
+
sendButtonTextColor: string;
|
|
62
|
+
showClose: boolean;
|
|
63
|
+
thumbsDownMessages: string[];
|
|
64
|
+
thumbsUpMessage: string;
|
|
65
|
+
timezone: string;
|
|
66
|
+
unknownResponses: [];
|
|
67
|
+
useOpenAi: boolean;
|
|
68
|
+
userId: string;
|
|
69
|
+
isDev: boolean;
|
|
70
|
+
againButtonColor: string[];
|
|
71
|
+
againButtonTextColor: string[];
|
|
72
|
+
feedbackEvent: EventEmitter<string>;
|
|
73
|
+
onCloseEvent: EventEmitter<void>;
|
|
74
|
+
openPage: EventEmitter<any>;
|
|
75
|
+
sessionActions: EventEmitter<any>;
|
|
76
|
+
closeBot: EventEmitter<any>;
|
|
77
|
+
connectWithUser: EventEmitter<any>;
|
|
78
|
+
scheduleMeeting: EventEmitter<string>;
|
|
79
|
+
refreshToken: EventEmitter<any>;
|
|
80
|
+
openSupport: EventEmitter<any>;
|
|
81
|
+
autogenKey: string;
|
|
82
|
+
addToMyAgendaAction: string;
|
|
83
|
+
myUpcomingSessionAction: string;
|
|
84
|
+
connectOrFollowAction: string;
|
|
85
|
+
aiResponse: string;
|
|
86
|
+
chatLog: any[];
|
|
87
|
+
decoder: TextDecoder;
|
|
88
|
+
feedbackDone: boolean;
|
|
89
|
+
greetingMsg: string;
|
|
90
|
+
hasBackdropValue: boolean;
|
|
91
|
+
input: string;
|
|
92
|
+
listenerAdded: boolean;
|
|
93
|
+
loading: boolean;
|
|
94
|
+
mode: string;
|
|
95
|
+
quickPrompts: any[];
|
|
96
|
+
thumbsDownMsgIndex: number;
|
|
97
|
+
userName: string;
|
|
98
|
+
showStartAgain: boolean;
|
|
99
|
+
isIOSDevice: boolean;
|
|
100
|
+
showFeedBackIconsIndex: number | null;
|
|
101
|
+
temperature: number;
|
|
102
|
+
speakers: any[];
|
|
103
|
+
environment: {
|
|
104
|
+
USERS_API: any;
|
|
105
|
+
BASE_URL: any;
|
|
106
|
+
AGENTS_API: any;
|
|
107
|
+
};
|
|
108
|
+
pendingRequests: any;
|
|
109
|
+
myConnections: any;
|
|
110
|
+
conversationKey: string;
|
|
111
|
+
conSessionKey: string;
|
|
112
|
+
isFetchDataFor: boolean;
|
|
113
|
+
is401: boolean;
|
|
114
|
+
msg: any;
|
|
115
|
+
chat: any;
|
|
116
|
+
isWorkflowOpen: boolean;
|
|
117
|
+
orgWorkflows: any;
|
|
118
|
+
openWorkflowInput: boolean;
|
|
119
|
+
selectedWorkflow: any;
|
|
120
|
+
workflowForm: any;
|
|
121
|
+
currentWorkflowActionProgress: number;
|
|
122
|
+
currentWorkflowAction: string;
|
|
123
|
+
executingWorkflow: boolean;
|
|
124
|
+
workflowExecutionDetails: any;
|
|
125
|
+
showWorkflowExecutionDetails: any;
|
|
126
|
+
currentWorkflowExecutionDetails: any;
|
|
127
|
+
speechConfig: SpeechSDK.SpeechConfig;
|
|
128
|
+
recognizer: SpeechSDK.SpeechRecognizer;
|
|
129
|
+
recognizedText: string;
|
|
130
|
+
authorizationToken: string;
|
|
131
|
+
region: string;
|
|
132
|
+
isRecording: boolean;
|
|
133
|
+
constructor(fb: FormBuilder, botService: BotsService, cdr: ChangeDetectorRef, http: HttpClient, sanitizer: DomSanitizer, elementRef: ElementRef, renderer: Renderer2, socketService: SocketService, conversationService: ConversationService, // private platform: Platform
|
|
134
|
+
translationService: TranslationService);
|
|
135
|
+
getTranslation(key: string): string;
|
|
136
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
137
|
+
domainAuthorityValue: any;
|
|
138
|
+
ngOnInit(): void;
|
|
139
|
+
private eventSubscription;
|
|
140
|
+
initializeSocket(): void;
|
|
141
|
+
subscriptionNew: any;
|
|
142
|
+
socketData: any;
|
|
143
|
+
listenSockets(): void;
|
|
144
|
+
initializeSocketAndListen(): void;
|
|
145
|
+
handleEvent(data: any, type: string): void;
|
|
146
|
+
ngOnDestroy(): void;
|
|
147
|
+
changeTemperature(newTemperature: number): void;
|
|
148
|
+
onStartAgain(): void;
|
|
149
|
+
archieveMessages(): Observable<any>;
|
|
150
|
+
triggerSupport(): void;
|
|
151
|
+
fetchBotConfig(): Observable<any>;
|
|
152
|
+
fetchChatHistory(): Observable<any>;
|
|
153
|
+
private handleError;
|
|
154
|
+
mapChatHistory(chats: any): void;
|
|
155
|
+
processMessage(message: string): SafeHtml;
|
|
156
|
+
ngAfterViewChecked(): void;
|
|
157
|
+
sanitizeHtml(html: string): SafeHtml;
|
|
158
|
+
onFeedbackClick(value: string): void;
|
|
159
|
+
onClose(): void;
|
|
160
|
+
sendMessageWithTile(prompt: string): void;
|
|
161
|
+
isChatingWithAi: boolean;
|
|
162
|
+
fetchData(msg?: any): void;
|
|
163
|
+
fetchDataFor(msg: any, chat: any): void;
|
|
164
|
+
fetchSmallTalk(): void;
|
|
165
|
+
readAllChunks: (stream: any) => ReadableStream<any>;
|
|
166
|
+
pump(controller: any, reader: any, allSuggestions: string[]): void;
|
|
167
|
+
submitFeedback(flag: boolean, message: any): void;
|
|
168
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
169
|
+
handleSubmit(event: any): void;
|
|
170
|
+
handleUpClick(idx: any): void;
|
|
171
|
+
handleDownClick(idx: any): void;
|
|
172
|
+
copyText(id: any, index: any): void;
|
|
173
|
+
handleCopyClick(index: any): void;
|
|
174
|
+
sanitizeHTML(html: string): string;
|
|
175
|
+
currentMessageForEditor: any;
|
|
176
|
+
currentIndexForEditor: any;
|
|
177
|
+
handleEditorClick(index: any): void;
|
|
178
|
+
scrollToBottom(): void;
|
|
179
|
+
handleAction(action: any): void;
|
|
180
|
+
ngAfterViewInit(): void;
|
|
181
|
+
private setBodyOverflow;
|
|
182
|
+
private removeBodyOverflow;
|
|
183
|
+
getSpeakersByStaffIds(ids: any): void;
|
|
184
|
+
performSessionAction(sessionId: any, action: any): void;
|
|
185
|
+
addCloseBotClickEvent(): void;
|
|
186
|
+
isMobileBrowser(): boolean;
|
|
187
|
+
connectToUser(userId: any): void;
|
|
188
|
+
scheduleMeetingWithUser(user: any): void;
|
|
189
|
+
canConnect(userId: any): boolean;
|
|
190
|
+
canDisconnect(userId: any): any;
|
|
191
|
+
fetchPendingRequests(): Observable<any>;
|
|
192
|
+
fetchMyConnections(): Observable<any>;
|
|
193
|
+
isDropdownOpen: boolean;
|
|
194
|
+
agents: any;
|
|
195
|
+
selectedAgents: any[];
|
|
196
|
+
allSelected: boolean;
|
|
197
|
+
toggleDropdown(): void;
|
|
198
|
+
onSelectAll(event: Event): void;
|
|
199
|
+
onAgentChange(agent: any): void;
|
|
200
|
+
areAllSelected(): boolean;
|
|
201
|
+
getDropdownHeaderText(): string;
|
|
202
|
+
fetchAgents_http(): Observable<any>;
|
|
203
|
+
isDocInEditMode: boolean;
|
|
204
|
+
documentContent: any;
|
|
205
|
+
conversationId: any;
|
|
206
|
+
isContentLoaded: boolean;
|
|
207
|
+
fetchContent_http(): Observable<any>;
|
|
208
|
+
fetchAgents(): void;
|
|
209
|
+
fetchEditorContent(): void;
|
|
210
|
+
processMessageForDisplay(markdown: string): SafeHtml;
|
|
211
|
+
prepareHtml(markdown: string): string;
|
|
212
|
+
escapeHtml(code: string): string;
|
|
213
|
+
copyToClipboard(text: string): void;
|
|
214
|
+
isCollapsed: boolean;
|
|
215
|
+
isCollapsedForGraph: boolean;
|
|
216
|
+
isCollapsedForFGraph: boolean;
|
|
217
|
+
toggleCollapse(): void;
|
|
218
|
+
toggleCollapseGraph(): void;
|
|
219
|
+
toggleCollapseFGraph(): void;
|
|
220
|
+
dateTime: {
|
|
221
|
+
now: string;
|
|
222
|
+
};
|
|
223
|
+
getDomainName(url: string): string;
|
|
224
|
+
getFaviconUrl(url: string): string;
|
|
225
|
+
currentSourcesList: any;
|
|
226
|
+
onCardClick(sources: any): void;
|
|
227
|
+
isShowEditorButton: boolean;
|
|
228
|
+
openOuterEditor(): void;
|
|
229
|
+
onCloseEditor(): void;
|
|
230
|
+
onCloseSource(): void;
|
|
231
|
+
onDrawerClosed(): void;
|
|
232
|
+
isDrawerOpen: boolean;
|
|
233
|
+
toggleDrawer(todo: any): void;
|
|
234
|
+
updateButtonVisibility(): void;
|
|
235
|
+
openLinkInNewTab(link: string): void;
|
|
236
|
+
adjustTextareaHeight(event: any): void;
|
|
237
|
+
toggleWorkflows(value?: any): void;
|
|
238
|
+
initializeForm(): void;
|
|
239
|
+
onWorkflowSelected(workflow: any): void;
|
|
240
|
+
onWorkflowSubmit(): void;
|
|
241
|
+
makeAskRequest(inputMsg: string, agents: any[], conversationId: string, msg?: any, chat?: any, workflowId?: string, workflow_inputs?: any): void;
|
|
242
|
+
makeAskRequestold(inputMsg: string, agents: any[], conversationId: string, msg?: any, chat?: any, workflowId?: string, workflow_inputs?: any): void;
|
|
243
|
+
generateMarkdown(title: any, obj: any): string;
|
|
244
|
+
showWorkflowHistoryDetails(workflow_id: any): void;
|
|
245
|
+
closeModal(): void;
|
|
246
|
+
objectToArray(obj: any): any[];
|
|
247
|
+
startNewConversation(): void;
|
|
248
|
+
initializeSpeechRecognizer(token: string): void;
|
|
249
|
+
toggleRecording(): void;
|
|
250
|
+
startRecognition(): void;
|
|
251
|
+
stopRecognition(): void;
|
|
252
|
+
checkForCop29BotId(): boolean;
|
|
253
|
+
getLatestTime(time: any): string;
|
|
254
|
+
}
|
|
251
255
|
//# sourceMappingURL=chat-drawer.component.d.ts.map
|