@gengage/assistant-fe 0.6.42 → 0.6.44
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 +5 -1
- package/dist/chat/runtime.d.ts +1 -1
- package/dist/chat/types.d.ts +18 -0
- package/dist/chat-runtime.js +1 -1
- package/dist/chat.iife.js +25 -25
- package/dist/chat.js +1 -1
- package/dist/common/overlay.d.ts +1 -0
- package/dist/{common-B9n_o9ki.js → common-B_QhTwRK.js} +2 -2
- package/dist/common.js +7 -7
- package/dist/{connection-warning-ByY3TKaG.js → connection-warning-DjGsAS1h.js} +1 -1
- package/dist/{fastIntent-BaNC2CJz.js → fastIntent-DOgXE46i.js} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +12 -12
- package/dist/{native-webview-Ch9lsx7E.js → native-webview-CYX30O3Q.js} +1 -1
- package/dist/native.iife.js +8 -8
- package/dist/native.js +1 -1
- package/dist/{overlay-CPLLn1eK.js → overlay-BPZEIyo_.js} +1 -1
- 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-DkilqELR.js → request-response-cache-Ddw59jGs.js} +1 -1
- package/dist/{runtime-BkqUiRUi.js → runtime-BJiDilHj.js} +3 -3
- package/dist/{runtime-CmpEARET.js → runtime-Cr3f6wjm.js} +3 -3
- package/dist/{runtime-_ly8XVXC.js → runtime-D39A30T-.js} +1176 -1155
- package/dist/{simbut-CltMk2OF.js → simbut-C-2-g2V1.js} +1 -1
- package/dist/simbut.iife.js +2 -2
- package/dist/simbut.js +1 -1
- package/dist/{simrel-BuCc53Pw.js → simrel-BaahIAgs.js} +1 -1
- package/dist/simrel-runtime.js +1 -1
- package/dist/simrel.iife.js +2 -2
- package/dist/simrel.js +2 -2
- package/dist/{widget-base-vDXD27_n.js → widget-base-DRNUkp-i.js} +4 -1
- package/package.json +1 -1
package/dist/chat.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-D39A30T-.js";
|
|
2
2
|
import { t as S } from "./chat-CJzuUZxy.js";
|
|
3
3
|
export {
|
|
4
4
|
d as CHAT_SCROLL_ELEMENT_ID,
|
package/dist/common/overlay.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export interface OverlayChatOptions {
|
|
|
24
24
|
headerFavoritesToggle?: boolean;
|
|
25
25
|
/** Opens merchant favorites page (passed to chat `onFavoritesClick`). */
|
|
26
26
|
onFavoritesClick?: () => void;
|
|
27
|
+
footerAttribution?: ChatWidgetConfig['footerAttribution'];
|
|
27
28
|
hideMobileLauncher?: boolean;
|
|
28
29
|
mobileBreakpoint?: number;
|
|
29
30
|
mobileInitialState?: 'half' | 'full';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as g } from "./widget-base-
|
|
1
|
+
import { i as g } from "./widget-base-DRNUkp-i.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-BPZEIyo_.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-Ddw59jGs.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-DRNUkp-i.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-DOgXE46i.js";
|
|
5
|
+
import { n as J, t as X } from "./connection-warning-DjGsAS1h.js";
|
|
6
|
+
import { i as $, n as ee, r as ae, t as te } from "./overlay-BPZEIyo_.js";
|
|
7
|
+
import { a as re, i as ie, n as oe, r as ne } from "./native-webview-CYX30O3Q.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-B_QhTwRK.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-DRNUkp-i.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.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export { renderQnaUISpec, createDefaultQnaUISpecRegistry, defaultQnaUnknownUISpe
|
|
|
18
18
|
export { renderSimRelUISpec, createDefaultSimRelUISpecRegistry, defaultSimRelUnknownUISpecRenderer, } from './simrel/index.js';
|
|
19
19
|
export { GENGAGE_VERSION, GENGAGE_BUILD_FLAVOR, bootstrapSession, updatePageContext, initOverlayWidgets, getOverlayWidgets, destroyOverlayWidgets, buildOverlayIdempotencyKey, detectNativeEnvironment, applyNativeSession, createNativeWebViewBridge, initNativeOverlayWidgets, wireQNAToChat, wireSimilarToChat, dispatch, listen, consumeStream, streamPost, buildChatEndpointUrl, normalizeMiddlewareUrl, routeStreamAction, renderUISpecWithRegistry, defaultUnknownUISpecRenderer, BASE_WIDGET_THEME, withBaseTheme, DEFAULT_WIDGET_THEME_TOKENS, withDefaultWidgetTheme, DEFAULT_CUSTOMIZATION_LOCALE, createAccountIdentity, createFloatingChatConfig, createPdpQnaConfig, createPdpSimRelConfig, parseAccountRuntimeConfig, safeParseAccountRuntimeConfig, createDefaultAccountRuntimeConfig, AccountRuntimeConfigSchema, UnknownActionPolicySchema, initGengageClient, preflightDiagnostics, wireGADataLayer, isVoiceInputSupported, VoiceInput, detectPageType, extractSkuFromUrl, autoDetectPageContext, configureConnectionWarning, makePillLauncher, } from './common/index.js';
|
|
20
20
|
export type { PageContext, SessionContext, BaseWidgetConfig, GengageWidget, StreamEvent, UISpec, UIElement, ActionPayload, GengageEventName, ChatPublicAPI, ChatTransportConfig, ChatEndpointName, ActionEnrichmentContext, BackendRequestMeta, InjectorAdapter, ProcessActionRequest, StreamCallbacks, AccountRuntimeConfig, UnknownActionPolicy, HostActionHandlers, ActionRouterOptions, UISpecDomComponentRenderParams, UISpecDomComponentRenderer, UISpecDomRegistry, UISpecDomUnknownRendererParams, UISpecDomUnknownRenderer, RenderUISpecWithRegistryOptions, OverlayWidgetsController, OverlayWidgetsOptions, OverlayChatOptions, OverlayQNAOptions, OverlaySimRelOptions, OverlaySimButOptions, NativeBridgeEnvironment, NativeSessionPayload, NativeBridgeMessage, NativeWebViewBridgeOptions, NativeWebViewBridge, NativeOverlayInitOptions, NativeOverlayInitResult, AccountIdentityConfig, AccountIdentity, GengageClientOptions, HostActions, PreflightResult, PreflightWarning, WireQNAToChatOptions, VoiceInputState, VoiceInputErrorCode, VoiceInputCallbacks, VoiceInputOptions, DetectablePageType, PageDetectionRule, PillLauncherOptions, PillLauncherKit, } from './common/index.js';
|
|
21
|
-
export type { ChatWidgetConfig, ChatMessage, ChatSession, ChatI18n, ChatRendererConfig, FloatingLauncherOptions, InlineLauncherOptions, InlineLauncherSizeOptions, InlineLauncherMobileHostOptions, } from './chat/index.js';
|
|
21
|
+
export type { ChatFooterAttribution, ChatWidgetConfig, ChatMessage, ChatSession, ChatI18n, ChatRendererConfig, FloatingLauncherOptions, InlineLauncherOptions, InlineLauncherSizeOptions, InlineLauncherMobileHostOptions, } from './chat/index.js';
|
|
22
22
|
export type { ChatUISpecRegistry, UISpecRenderContext as ChatUISpecRenderContext } from './chat/index.js';
|
|
23
23
|
export type { QNAWidgetConfig, QNAI18n, QNAChromeLayout, QNAChromeConfig, QNAUISpecRenderContext, QNAUISpecRegistry, QNARendererConfig, } from './qna/index.js';
|
|
24
24
|
export type { SimRelWidgetConfig, SimilarProduct, SimRelI18n, SimRelUISpecRenderContext, SimRelUISpecRegistry, SimRelRendererConfig, SimRelFieldPath, SimRelRendererFields, SimRelRendererLabels, SimRelRendererMedia, SimRelRendererOptions, } from './simrel/index.js';
|
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-Ddw59jGs.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-DRNUkp-i.js";
|
|
4
|
+
import { c as E, l as y, n as G, s as T, t as W } from "./runtime-D39A30T-.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-DOgXE46i.js";
|
|
6
|
+
import { t as F } from "./connection-warning-DjGsAS1h.js";
|
|
7
|
+
import { a as b, i as x, n as M, r as H, t as K } from "./runtime-BJiDilHj.js";
|
|
8
|
+
import { a as Z, i as j, n as q, r as J, t as X } from "./runtime-Cr3f6wjm.js";
|
|
9
|
+
import { n as $ } from "./simrel-BaahIAgs.js";
|
|
10
|
+
import { n as ae, t as te } from "./simbut-C-2-g2V1.js";
|
|
11
|
+
import { i as ie, n as se, r as ne, t as oe } from "./overlay-BPZEIyo_.js";
|
|
12
|
+
import { a as me, i as pe, n as ge, r as de } from "./native-webview-CYX30O3Q.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-B_QhTwRK.js";
|
|
14
14
|
export {
|
|
15
15
|
Ie as AccountRuntimeConfigSchema,
|
|
16
16
|
h as BASE_WIDGET_THEME,
|