@gengage/assistant-fe 0.4.19 → 0.4.20
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/api-paths-CReMDZWg.js +1250 -0
- package/dist/chat/components/ChoicePrompter.d.ts +2 -2
- package/dist/chat/runtime.d.ts +2 -1
- package/dist/chat-runtime.js +1 -1
- package/dist/chat.iife.js +17 -17
- package/dist/chat.js +1 -1
- package/dist/common/find-similar-payload.d.ts +3 -0
- package/dist/common/index.d.ts +1 -0
- package/dist/common/overlay.d.ts +2 -2
- package/dist/common/sdk-version.d.ts +3 -0
- package/dist/{common-Bpp43wr0.js → common-BM2ZsSLI.js} +2 -2
- package/dist/common.js +79 -77
- package/dist/{connection-warning-C7ehvQxx.js → connection-warning-C_4e7ahZ.js} +1 -1
- package/dist/{fastIntent-CINRmM8r.js → fastIntent-DMNzXOSI.js} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +75 -73
- package/dist/native.iife.js +18 -18
- package/dist/qna-runtime.js +1 -1
- package/dist/qna.iife.js +22 -22
- package/dist/qna.js +1 -1
- package/dist/{runtime-B0hDHRlN.js → runtime-C51WykbJ.js} +13 -13
- package/dist/{runtime-DhdfOJEN.js → runtime-DBh8899B.js} +854 -847
- package/dist/{runtime-CLcYqzoA.js → runtime-bbMljGVG.js} +17 -17
- package/dist/simbut/index.d.ts +1 -1
- package/dist/simbut/types.d.ts +7 -7
- package/dist/{simbut-3kqLW3SM.js → simbut-CO1rLVM9.js} +19 -22
- package/dist/simbut.iife.js +9 -9
- package/dist/simbut.js +1 -1
- package/dist/simrel/components/GroupTabs.d.ts +1 -1
- package/dist/simrel/types.d.ts +3 -3
- package/dist/simrel-runtime.js +1 -1
- package/dist/{simrel-fQg2EIB8.js → simrel-zCDlCrqG.js} +1 -1
- package/dist/simrel.iife.js +7 -7
- package/dist/simrel.js +2 -2
- package/dist/{widget-base-bdJaGJYi.js → widget-base-Cf9ofZhh.js} +91 -83
- package/package.json +2 -1
- package/dist/api-paths-BX3Lea3A.js +0 -1213
|
@@ -14,8 +14,8 @@ export interface ChoicePrompterOptions {
|
|
|
14
14
|
dismissAriaLabel?: string;
|
|
15
15
|
}
|
|
16
16
|
export declare function createChoicePrompter(options: ChoicePrompterOptions): HTMLElement;
|
|
17
|
-
/**
|
|
17
|
+
/** Called when a new user search starts so the card can be shown again. */
|
|
18
18
|
export declare function clearChoicePrompterDismissState(): void;
|
|
19
19
|
export declare function isChoicePrompterDismissed(threadId: string): boolean;
|
|
20
|
-
/**
|
|
20
|
+
/** Records the same dismiss state as the CTA for external toolbar actions. */
|
|
21
21
|
export declare function recordChoicePrompterDismissedForThread(threadId: string): void;
|
package/dist/chat/runtime.d.ts
CHANGED
|
@@ -115,7 +115,7 @@ export declare class GengageChat extends BaseWidget<ChatWidgetConfig> {
|
|
|
115
115
|
private static readonly _MAX_PANEL_HISTORY;
|
|
116
116
|
/** Tracks how the current panel content was produced, for history/error-recovery rebuild. */
|
|
117
117
|
private _currentPanelSource;
|
|
118
|
-
/** Latest inline PDP
|
|
118
|
+
/** Latest rendered single-product record shown inline on PDP, reused when the panel has no active PDP detail. */
|
|
119
119
|
private _currentInlineProductSummaryRecord;
|
|
120
120
|
/** IndexedDB session persistence manager. */
|
|
121
121
|
private _session;
|
|
@@ -265,6 +265,7 @@ export declare class GengageChat extends BaseWidget<ChatWidgetConfig> {
|
|
|
265
265
|
private _panelSourceFromMessage;
|
|
266
266
|
private _getLatestProductDetailsRecord;
|
|
267
267
|
private _getLatestProductGridRecord;
|
|
268
|
+
private _getInlinePdpProductRecord;
|
|
268
269
|
/**
|
|
269
270
|
* Returns the SKU of the product currently rendered in the side panel, if any.
|
|
270
271
|
*
|
package/dist/chat-runtime.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e, d as t, i as r, l as s, n, o as i, r as l, s as C, t as c, u as d } from "./runtime-
|
|
1
|
+
import { c as e, d as t, i as r, l as s, n, o as i, r as l, s as C, t as c, u as d } from "./runtime-DBh8899B.js";
|
|
2
2
|
export {
|
|
3
3
|
s as CHAT_SCROLL_ELEMENT_ID,
|
|
4
4
|
r as ChatPresentationState,
|