@aslaluroba/help-center 4.0.10 → 4.0.12
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.
|
@@ -160,7 +160,7 @@ declare class HelpCenterWidgetComponent implements OnInit, OnDestroy {
|
|
|
160
160
|
chatIsLoading: _angular_core.WritableSignal<boolean>;
|
|
161
161
|
ablyToken: _angular_core.WritableSignal<string>;
|
|
162
162
|
needsAgent: _angular_core.WritableSignal<boolean>;
|
|
163
|
-
assistantStatus: _angular_core.WritableSignal<"
|
|
163
|
+
assistantStatus: _angular_core.WritableSignal<"typing" | "idle">;
|
|
164
164
|
selectedOption: _angular_core.WritableSignal<Option>;
|
|
165
165
|
selectedNestedOption: _angular_core.WritableSignal<Option>;
|
|
166
166
|
showEndChatConfirmation: _angular_core.WritableSignal<boolean>;
|
|
@@ -172,6 +172,7 @@ declare class HelpCenterWidgetComponent implements OnInit, OnDestroy {
|
|
|
172
172
|
hasUserSentMessages: _angular_core.WritableSignal<boolean>;
|
|
173
173
|
closedSessionIdForReview: _angular_core.WritableSignal<string>;
|
|
174
174
|
waitingForSessionEndConfirmation: _angular_core.WritableSignal<boolean>;
|
|
175
|
+
private isClosingChatSession;
|
|
175
176
|
private apiService;
|
|
176
177
|
private translationService;
|
|
177
178
|
private themeService;
|
|
@@ -202,6 +203,11 @@ declare class HelpCenterWidgetComponent implements OnInit, OnDestroy {
|
|
|
202
203
|
attachmentIds: string[];
|
|
203
204
|
pendingFiles?: File[];
|
|
204
205
|
} | string): Promise<void>;
|
|
206
|
+
/**
|
|
207
|
+
* Called when user attaches files but there is no session yet.
|
|
208
|
+
* Creates a session so that chat-input can upload the files; send stays disabled until upload completes.
|
|
209
|
+
*/
|
|
210
|
+
handleRequestSessionForAttachments(): Promise<void>;
|
|
205
211
|
handleReceiveMessage(message: string | {
|
|
206
212
|
content: string;
|
|
207
213
|
attachments?: string[];
|
|
@@ -239,7 +245,7 @@ declare class HelpCenterWidgetComponent implements OnInit, OnDestroy {
|
|
|
239
245
|
handleShowHelpScreenData(): void;
|
|
240
246
|
private scrollTimeout?;
|
|
241
247
|
private scrollToBottom;
|
|
242
|
-
getDirection(): "
|
|
248
|
+
getDirection(): "ltr" | "rtl";
|
|
243
249
|
get helpScreenDataList(): {
|
|
244
250
|
icon: string;
|
|
245
251
|
title: string;
|