@gengage/assistant-fe 0.6.46 → 0.6.47
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/dist/chat/components/ChatDrawer.d.ts +17 -1
- package/dist/chat-runtime.js +1 -1
- package/dist/chat.iife.js +27 -27
- package/dist/chat.js +1 -1
- package/dist/{common-BYaIofv0.js → common-BRYobEgT.js} +1 -1
- package/dist/common.js +5 -5
- package/dist/{connection-warning-BWCgMHwN.js → connection-warning-CWat5Lu6.js} +1 -1
- package/dist/{fastIntent-BfYLNhFF.js → fastIntent-DhakARNG.js} +1 -1
- package/dist/index.js +10 -10
- package/dist/native.iife.js +10 -10
- package/dist/qna-runtime.js +1 -1
- package/dist/qna.iife.js +1 -1
- package/dist/qna.js +1 -1
- package/dist/{request-response-cache-DxtNGhlh.js → request-response-cache-BBFQ3eHI.js} +1 -1
- package/dist/{runtime-IlZ-GH68.js → runtime-BlGhlykG.js} +3 -3
- package/dist/{runtime-DBmJg9TG.js → runtime-Cg43LM-H.js} +1344 -1317
- package/dist/{runtime-B9k46n2p.js → runtime-lQi4_gzu.js} +3 -3
- package/dist/{simbut-CobYs9jE.js → simbut-AOnAKPJA.js} +1 -1
- package/dist/simbut.iife.js +1 -1
- package/dist/simbut.js +1 -1
- package/dist/{simrel-BEyFl3Ec.js → simrel-YCf15Qo4.js} +1 -1
- package/dist/simrel-runtime.js +1 -1
- package/dist/simrel.iife.js +1 -1
- package/dist/simrel.js +2 -2
- package/dist/{widget-base-BsHKmSMq.js → widget-base-BusLZCWG.js} +1 -1
- package/package.json +1 -1
|
@@ -156,7 +156,19 @@ export declare class ChatDrawer {
|
|
|
156
156
|
/** Remove one transcript bubble (e.g. superseded empty assistant placeholder). */
|
|
157
157
|
removeMessageBubble(messageId: string): void;
|
|
158
158
|
showTypingIndicator(searchText?: string, mode?: TypingIndicatorMode | 'auto'): void;
|
|
159
|
-
/**
|
|
159
|
+
/**
|
|
160
|
+
* Re-establish the typing indicator after the first rendered answer tore it
|
|
161
|
+
* down, so staged progress from later agent rounds (e.g. top-picks ranking,
|
|
162
|
+
* a second planner round, enrichment) stays visible while the stream is
|
|
163
|
+
* still open. Unlike `showTypingIndicator`, this PRESERVES the accumulated
|
|
164
|
+
* `_thinkingSteps` (it does not call `removeTypingIndicator`) and is
|
|
165
|
+
* idempotent — if the indicator is already live it is a no-op, so a burst of
|
|
166
|
+
* post-answer loading events does not destroy/recreate the DOM and flicker.
|
|
167
|
+
* The indicator is torn down again on stream completion (onDone/onError →
|
|
168
|
+
* `removeTypingIndicator`).
|
|
169
|
+
*/
|
|
170
|
+
resumeTypingIndicator(): void;
|
|
171
|
+
/** Track the latest thinking step shown by loading indicators. */
|
|
160
172
|
addThinkingStep(text: string): void;
|
|
161
173
|
setThinkingSteps(steps: string[]): void;
|
|
162
174
|
removeTypingIndicator(): void;
|
|
@@ -313,6 +325,10 @@ export declare class ChatDrawer {
|
|
|
313
325
|
restorePanelState(accountId: string): boolean;
|
|
314
326
|
private _createLoadingSequence;
|
|
315
327
|
private _applyLoadingSteps;
|
|
328
|
+
private _normalizeLoadingSteps;
|
|
329
|
+
private _uniqueLoadingSteps;
|
|
330
|
+
private _buildCurrentLoadingRotation;
|
|
331
|
+
private _pickStaticLoadingSteps;
|
|
316
332
|
private _clearLoadingBindingInterval;
|
|
317
333
|
private _destroyLoadingBinding;
|
|
318
334
|
private _updateSendEnabled;
|
package/dist/chat-runtime.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e, d as t, f as r, i as s, l as n, n as i, r as l, s as C, t as c, u as d } from "./runtime-
|
|
1
|
+
import { c as e, d as t, f as r, i as s, l as n, n as i, r as l, s as C, t as c, u as d } from "./runtime-Cg43LM-H.js";
|
|
2
2
|
export {
|
|
3
3
|
d as CHAT_SCROLL_ELEMENT_ID,
|
|
4
4
|
s as ChatPresentationState,
|