@gengage/assistant-fe 0.6.36 → 0.6.37
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/catalog.d.ts +13 -0
- package/dist/chat/components/InlineQuestionButtons.d.ts +3 -0
- package/dist/chat/runtime.d.ts +2 -0
- package/dist/chat/types.d.ts +14 -0
- package/dist/{chat-CIfQyuBl.js → chat-CJzuUZxy.js} +42 -38
- package/dist/chat-runtime.js +1 -1
- package/dist/chat.iife.js +21 -21
- package/dist/chat.js +2 -2
- package/dist/common/overlay.d.ts +2 -0
- package/dist/common/transport.d.ts +1 -0
- package/dist/{common-ByXFSuDh.js → common-CvcP5qMC.js} +2 -2
- package/dist/common.js +7 -7
- package/dist/{connection-warning-ChSjBT_4.js → connection-warning-DuejADTP.js} +1 -1
- package/dist/{fastIntent-B9AE8K30.js → fastIntent-DpWJneEN.js} +1 -1
- package/dist/index.js +12 -12
- package/dist/{native-webview-BcwGKkDe.js → native-webview-Ch9lsx7E.js} +1 -1
- package/dist/native.iife.js +18 -18
- package/dist/native.js +1 -1
- package/dist/{overlay-cF2SjxYU.js → overlay-CPLLn1eK.js} +7 -7
- package/dist/overlay.js +1 -1
- package/dist/qna-runtime.js +1 -1
- package/dist/qna.iife.js +8 -8
- package/dist/qna.js +1 -1
- package/dist/{request-response-cache-D6O2m-O-.js → request-response-cache-Cv8CiBwQ.js} +240 -214
- package/dist/{runtime-YKSfwMAr.js → runtime-BVd67coj.js} +1053 -1013
- package/dist/{runtime-CCQGaWOq.js → runtime-Bq0nExwG.js} +3 -3
- package/dist/{runtime-aR-A6Jh2.js → runtime-i_FHHBlZ.js} +3 -3
- package/dist/{simbut-BCKrXmkh.js → simbut-BzrDBfBk.js} +1 -1
- package/dist/simbut.iife.js +1 -1
- package/dist/simbut.js +1 -1
- package/dist/{simrel-CSlprSEe.js → simrel-DUVViZ9p.js} +1 -1
- package/dist/simrel-runtime.js +1 -1
- package/dist/simrel.iife.js +9 -9
- package/dist/simrel.js +2 -2
- package/dist/{widget-base-CmxCHKJi.js → widget-base-EWFE_HAI.js} +1 -1
- package/package.json +1 -1
package/dist/chat.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, c as t, d as r, f as s, i as n, l as c, n as i, o as l, r as o, s as h, t as C, u as d } from "./runtime-
|
|
2
|
-
import { t as S } from "./chat-
|
|
1
|
+
import { a as e, c as t, d as r, f as s, i as n, l as c, n as i, o as l, r as o, s as h, t as C, u as d } from "./runtime-BVd67coj.js";
|
|
2
|
+
import { t as S } from "./chat-CJzuUZxy.js";
|
|
3
3
|
export {
|
|
4
4
|
d as CHAT_SCROLL_ELEMENT_ID,
|
|
5
5
|
n as ChatPresentationState,
|
package/dist/common/overlay.d.ts
CHANGED
|
@@ -48,6 +48,8 @@ export interface OverlayChatOptions {
|
|
|
48
48
|
inlineLauncher?: ChatWidgetConfig['inlineLauncher'];
|
|
49
49
|
/** Dynamic launcher positioning relative to page elements. */
|
|
50
50
|
launcherAnchor?: ChatWidgetConfig['launcherAnchor'];
|
|
51
|
+
/** Use homepage-style chat launch + context suppression on every non-PDP page. */
|
|
52
|
+
genericNonPdpLaunch?: ChatWidgetConfig['genericNonPdpLaunch'];
|
|
51
53
|
/** Called when the chat panel opens. */
|
|
52
54
|
onOpen?: () => void;
|
|
53
55
|
/** Called when the chat panel closes. */
|
|
@@ -61,6 +61,7 @@ export interface ActionEnrichmentContext {
|
|
|
61
61
|
pageContext?: PageContext | undefined;
|
|
62
62
|
backendContext?: BackendContext | null | undefined;
|
|
63
63
|
isMobile?: boolean | undefined;
|
|
64
|
+
genericNonPdpLaunch?: boolean | undefined;
|
|
64
65
|
}
|
|
65
66
|
export interface StreamCallbacks {
|
|
66
67
|
onTextChunk: (content: string, isFinal: boolean, extra?: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as g } from "./widget-base-
|
|
1
|
+
import { i as g } from "./widget-base-EWFE_HAI.js";
|
|
2
2
|
import { c as l, i as p, o as u, r as c, t as y } from "./schemas-BnYUhYSy.js";
|
|
3
|
-
import { a as w, i as v } from "./overlay-
|
|
3
|
+
import { a as w, i as v } from "./overlay-CPLLn1eK.js";
|
|
4
4
|
var d = u({ enabled: c().default(!0) }), h = u({
|
|
5
5
|
chat: l().optional(),
|
|
6
6
|
qna: l().optional(),
|
package/dist/common.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a, d as t, f as s, g as r, h as i, i as o, m as n, n as c, o as m, p as g, r as l, s as d, t as p, u } from "./request-response-cache-
|
|
1
|
+
import { a, d as t, f as s, g as r, h as i, i as o, m as n, n as c, o as m, p as g, r as l, s as d, t as p, u } from "./request-response-cache-Cv8CiBwQ.js";
|
|
2
2
|
import { N as E, a as S, c as h, i as C, k as T, n as y, o as A, r as G, s as I, t as w } from "./context-UTzCGyR9.js";
|
|
3
|
-
import { a as W, c as v, d as N, f as P, l as U, n as O, o as D, p as _, r as L, t as b, u as k } from "./widget-base-
|
|
4
|
-
import { a as x, c as B, f as z, i as M, l as V, n as K, o as H, r as Q, s as q, t as Z } from "./fastIntent-
|
|
5
|
-
import { n as J, t as X } from "./connection-warning-
|
|
6
|
-
import { i as $, n as ee, r as ae, t as te } from "./overlay-
|
|
7
|
-
import { a as re, i as ie, n as oe, r as ne } from "./native-webview-
|
|
8
|
-
import { a as me, c as ge, i as le, l as de, n as pe, o as ue, r as fe, s as Ee, t as Se, u as he } from "./common-
|
|
3
|
+
import { a as W, c as v, d as N, f as P, l as U, n as O, o as D, p as _, r as L, t as b, u as k } from "./widget-base-EWFE_HAI.js";
|
|
4
|
+
import { a as x, c as B, f as z, i as M, l as V, n as K, o as H, r as Q, s as q, t as Z } from "./fastIntent-DpWJneEN.js";
|
|
5
|
+
import { n as J, t as X } from "./connection-warning-DuejADTP.js";
|
|
6
|
+
import { i as $, n as ee, r as ae, t as te } from "./overlay-CPLLn1eK.js";
|
|
7
|
+
import { a as re, i as ie, n as oe, r as ne } from "./native-webview-Ch9lsx7E.js";
|
|
8
|
+
import { a as me, c as ge, i as le, l as de, n as pe, o as ue, r as fe, s as Ee, t as Se, u as he } from "./common-CvcP5qMC.js";
|
|
9
9
|
export {
|
|
10
10
|
ue as AccountRuntimeConfigSchema,
|
|
11
11
|
k as BASE_WIDGET_THEME,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as S } from "./context-UTzCGyR9.js";
|
|
2
|
-
import { i as E } from "./widget-base-
|
|
2
|
+
import { i as E } from "./widget-base-EWFE_HAI.js";
|
|
3
3
|
function $(t, r) {
|
|
4
4
|
if (typeof window > "u" || !S(t)) return !1;
|
|
5
5
|
const e = new CustomEvent("gengage:navigate", {
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { f as a, g as t, h as r, n as i, p as s, r as n } from "./request-response-cache-
|
|
1
|
+
import { f as a, g as t, h as r, n as i, p as s, r as n } from "./request-response-cache-Cv8CiBwQ.js";
|
|
2
2
|
import { a as c, c as m, i as p, k as g, o as d, s as l, t as f } from "./context-UTzCGyR9.js";
|
|
3
|
-
import { d as S, f as U, n as C, p as I, r as R, u as h } from "./widget-base-
|
|
4
|
-
import { c as E, l as y, n as G, s as T, t as W } from "./runtime-
|
|
5
|
-
import { a as w, c as N, f as O, i as v, l as _, n as P, o as k, r as L, s as Q } from "./fastIntent-
|
|
6
|
-
import { t as F } from "./connection-warning-
|
|
7
|
-
import { a as b, i as x, n as M, r as H, t as K } from "./runtime-
|
|
8
|
-
import { a as Z, i as j, n as q, r as J, t as X } from "./runtime-
|
|
9
|
-
import { n as $ } from "./simrel-
|
|
10
|
-
import { n as ae, t as te } from "./simbut-
|
|
11
|
-
import { i as ie, n as se, r as ne, t as oe } from "./overlay-
|
|
12
|
-
import { a as me, i as pe, n as ge, r as de } from "./native-webview-
|
|
13
|
-
import { a as fe, c as ue, i as Se, l as Ue, n as Ce, o as Ie, r as Re, s as he, t as Ae, u as Ee } from "./common-
|
|
3
|
+
import { d as S, f as U, n as C, p as I, r as R, u as h } from "./widget-base-EWFE_HAI.js";
|
|
4
|
+
import { c as E, l as y, n as G, s as T, t as W } from "./runtime-BVd67coj.js";
|
|
5
|
+
import { a as w, c as N, f as O, i as v, l as _, n as P, o as k, r as L, s as Q } from "./fastIntent-DpWJneEN.js";
|
|
6
|
+
import { t as F } from "./connection-warning-DuejADTP.js";
|
|
7
|
+
import { a as b, i as x, n as M, r as H, t as K } from "./runtime-Bq0nExwG.js";
|
|
8
|
+
import { a as Z, i as j, n as q, r as J, t as X } from "./runtime-i_FHHBlZ.js";
|
|
9
|
+
import { n as $ } from "./simrel-DUVViZ9p.js";
|
|
10
|
+
import { n as ae, t as te } from "./simbut-BzrDBfBk.js";
|
|
11
|
+
import { i as ie, n as se, r as ne, t as oe } from "./overlay-CPLLn1eK.js";
|
|
12
|
+
import { a as me, i as pe, n as ge, r as de } from "./native-webview-Ch9lsx7E.js";
|
|
13
|
+
import { a as fe, c as ue, i as Se, l as Ue, n as Ce, o as Ie, r as Re, s as he, t as Ae, u as Ee } from "./common-CvcP5qMC.js";
|
|
14
14
|
export {
|
|
15
15
|
Ie as AccountRuntimeConfigSchema,
|
|
16
16
|
h as BASE_WIDGET_THEME,
|