@gengage/assistant-fe 0.5.6 → 0.6.0
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/agentic/adaptor/create-adaptor.d.ts +19 -0
- package/dist/agentic/adaptor/fetch-bridge.d.ts +11 -0
- package/dist/agentic/adaptor/mount.d.ts +38 -0
- package/dist/agentic/context/chat-context.d.ts +15 -0
- package/dist/agentic/context/context-store.d.ts +20 -0
- package/dist/agentic/context/persistence.d.ts +12 -0
- package/dist/agentic/events/builders.d.ts +10 -0
- package/dist/agentic/events/error-taxonomy.d.ts +27 -0
- package/dist/agentic/events/product-normalize.d.ts +47 -0
- package/dist/agentic/events/ui-specs.d.ts +37 -0
- package/dist/agentic/flow/beauty-consulting-turn.d.ts +1 -0
- package/dist/agentic/flow/create-flow.d.ts +2 -0
- package/dist/agentic/flow/dispatch.d.ts +3 -0
- package/dist/agentic/index.d.ts +18 -0
- package/dist/agentic/index.js +620 -0
- package/dist/agentic/types.d.ts +212 -0
- package/dist/agentic/util/assistant-host.d.ts +11 -0
- package/dist/agentic/util/be-url.d.ts +4 -0
- package/dist/agentic/util/browser-memory.d.ts +13 -0
- package/dist/agentic/util/browser-tools.d.ts +31 -0
- package/dist/agentic/util/lazy-runtime-loader.d.ts +9 -0
- package/dist/agentic/util/request-text.d.ts +3 -0
- package/dist/agentic/util/time.d.ts +2 -0
- package/dist/agentic/worker/be-client.d.ts +15 -0
- package/dist/agentic/worker/entry.d.ts +2 -0
- package/dist/agentic/worker/flow-runner.d.ts +24 -0
- package/dist/agentic/worker/jwt-mint.d.ts +21 -0
- package/dist/agentic/worker/rpc.d.ts +24 -0
- package/dist/agentic/worker/tool-bridge.d.ts +2 -0
- package/dist/agentic/worker.d.ts +16 -0
- package/dist/agentic/worker.js +119 -0
- package/dist/agentic.iife.js +5 -0
- package/dist/{api-paths-C__u2yrA.js → api-paths-DJFF9RuZ.js} +1 -1
- package/dist/beauty-consulting-turn-BmPXbkQg.js +1019 -0
- package/dist/chat/api.d.ts +17 -0
- package/dist/chat/assistant-mode.d.ts +20 -0
- package/dist/chat/attachment-utils.d.ts +9 -0
- package/dist/chat/catalog.d.ts +455 -0
- package/dist/chat/chat-presentation-state.d.ts +53 -0
- package/dist/chat/components/AIGroupingCards.d.ts +15 -0
- package/dist/chat/components/AISuggestedSearchCards.d.ts +13 -0
- package/dist/chat/components/AITopPicks.d.ts +9 -0
- package/dist/chat/components/BeautyPhotoStep.d.ts +31 -0
- package/dist/chat/components/CategoriesContainer.d.ts +11 -0
- package/dist/chat/components/ChatDrawer.d.ts +362 -0
- package/dist/chat/components/ChoicePrompter.d.ts +21 -0
- package/dist/chat/components/ComparisonTable.d.ts +66 -0
- package/dist/chat/components/ConsultingStylePicker.d.ts +40 -0
- package/dist/chat/components/FloatingComparisonButton.d.ts +7 -0
- package/dist/chat/components/FloatingLauncher.d.ts +79 -0
- package/dist/chat/components/GroundingReviewCard.d.ts +11 -0
- package/dist/chat/components/HandoffNotice.d.ts +9 -0
- package/dist/chat/components/KvkkBanner.d.ts +6 -0
- package/dist/chat/components/Launcher.d.ts +28 -0
- package/dist/chat/components/PanelRestoreCard.d.ts +4 -0
- package/dist/chat/components/PanelTopBar.d.ts +32 -0
- package/dist/chat/components/PhotoAnalysisCard.d.ts +27 -0
- package/dist/chat/components/ProductSummaryCard.d.ts +12 -0
- package/dist/chat/components/ProsAndCons.d.ts +8 -0
- package/dist/chat/components/ReviewHighlights.d.ts +16 -0
- package/dist/chat/components/actionClassifier.d.ts +12 -0
- package/dist/chat/components/product-price-layout.d.ts +17 -0
- package/dist/chat/components/productMentionLinker.d.ts +26 -0
- package/dist/chat/components/renderUISpec.d.ts +15 -0
- package/dist/chat/components/typewriter.d.ts +24 -0
- package/dist/chat/extendedModeManager.d.ts +32 -0
- package/dist/chat/features/beauty-consulting/consulting-grid.d.ts +38 -0
- package/dist/chat/features/beauty-consulting/drawer-extensions.d.ts +22 -0
- package/dist/chat/features/beauty-consulting/mode-controller.d.ts +59 -0
- package/dist/chat/features/beauty-consulting/registry.d.ts +9 -0
- package/dist/chat/features/beauty-consulting/stream-handler.d.ts +45 -0
- package/dist/chat/history-storage.d.ts +85 -0
- package/dist/chat/index.d.ts +6 -0
- package/dist/chat/kvkk.d.ts +20 -0
- package/dist/chat/locales/en.d.ts +2 -0
- package/dist/chat/locales/index.d.ts +5 -0
- package/dist/chat/locales/tr.d.ts +2 -0
- package/dist/chat/panel-manager.d.ts +142 -0
- package/dist/chat/runtime.d.ts +416 -0
- package/dist/chat/session-persistence.d.ts +73 -0
- package/dist/chat/stream-error-display.d.ts +6 -0
- package/dist/chat/types.d.ts +547 -0
- package/dist/chat/utils/chat-presentation-debug.d.ts +18 -0
- package/dist/chat/utils/get-chat-scroll-element.d.ts +10 -0
- package/dist/chat/utils/ui.d.ts +10 -0
- package/dist/chat-runtime.js +1 -1
- package/dist/chat.iife.js +12 -12
- package/dist/chat.js +1 -1
- package/dist/common/action-router.d.ts +26 -0
- package/dist/common/api-paths.d.ts +23 -0
- package/dist/common/client.d.ts +27 -0
- package/dist/common/communication-bridge.d.ts +51 -0
- package/dist/common/config-constants.d.ts +1 -0
- package/dist/common/config-schema.d.ts +54 -0
- package/dist/common/connection-warning.d.ts +8 -0
- package/dist/common/consulting-sources.d.ts +8 -0
- package/dist/common/context.d.ts +64 -0
- package/dist/common/css-escape.d.ts +1 -0
- package/dist/common/customization-factories.d.ts +59 -0
- package/dist/common/debug.d.ts +13 -0
- package/dist/common/events.d.ts +55 -0
- package/dist/common/fastIntent.d.ts +1 -0
- package/dist/common/find-similar-payload.d.ts +3 -0
- package/dist/common/ga-datalayer.d.ts +80 -0
- package/dist/common/global-error-toast.d.ts +6 -0
- package/dist/common/index.d.ts +47 -0
- package/dist/common/indexed-db.d.ts +89 -0
- package/dist/common/locale.d.ts +1 -0
- package/dist/common/native-webview.d.ts +60 -0
- package/dist/common/navigation.d.ts +1 -0
- package/dist/common/overlay.d.ts +172 -0
- package/dist/common/page-detect.d.ts +36 -0
- package/dist/common/pill-launcher.d.ts +51 -0
- package/dist/common/preflight.d.ts +13 -0
- package/dist/common/price-formatter.d.ts +35 -0
- package/dist/common/product-utils.d.ts +35 -0
- package/dist/common/protocol-adapter.d.ts +108 -0
- package/dist/common/renderer/dom.d.ts +3 -0
- package/dist/common/renderer/index.d.ts +4 -0
- package/dist/common/renderer/overrides.d.ts +23 -0
- package/dist/common/renderer/registry.d.ts +2 -0
- package/dist/common/renderer/types.d.ts +19 -0
- package/dist/common/safe-html.d.ts +22 -0
- package/dist/common/sdk-version.d.ts +3 -0
- package/dist/common/streaming.d.ts +52 -0
- package/dist/common/suggested-search-keywords.d.ts +18 -0
- package/dist/common/theme-utils.d.ts +15 -0
- package/dist/common/transport.d.ts +75 -0
- package/dist/common/tts-player.d.ts +13 -0
- package/dist/common/types.d.ts +379 -0
- package/dist/common/ui-theme.d.ts +9 -0
- package/dist/common/uuidv7.d.ts +7 -0
- package/dist/common/voice-input.d.ts +74 -0
- package/dist/common/widget-base.d.ts +82 -0
- package/dist/{common-Da3kBFv3.js → common-BydCGBNn.js} +90 -139
- package/dist/common.js +41 -41
- package/dist/{connection-warning-DuYLTTBY.js → connection-warning-Pbvk3J8k.js} +1 -1
- package/dist/{fastIntent-CSUjkiTB.js → fastIntent-CkYN2UOl.js} +199 -137
- package/dist/index.d.ts +25 -0
- package/dist/index.js +50 -50
- package/dist/native/index.d.ts +2 -0
- package/dist/{native-webview-qfjm4SHx.js → native-webview-JDC1vtde.js} +1 -1
- package/dist/native.iife.js +14 -14
- package/dist/native.js +1 -1
- package/dist/{overlay-CP5A0Hhf.js → overlay-BetAvpVZ.js} +19 -19
- package/dist/overlay.d.ts +4 -0
- package/dist/overlay.js +1 -1
- package/dist/qna/api.d.ts +23 -0
- package/dist/qna/catalog.d.ts +60 -0
- package/dist/qna/components/ButtonRow.d.ts +15 -0
- package/dist/qna/components/TextInput.d.ts +11 -0
- package/dist/qna/components/renderUISpec.d.ts +7 -0
- package/dist/qna/index.d.ts +3 -0
- package/dist/qna/locales/en.d.ts +2 -0
- package/dist/qna/locales/index.d.ts +4 -0
- package/dist/qna/locales/tr.d.ts +2 -0
- package/dist/qna/normalize-ui-specs.d.ts +15 -0
- package/dist/qna/runtime.d.ts +73 -0
- package/dist/qna/types.d.ts +98 -0
- package/dist/qna-runtime.js +1 -1
- package/dist/qna.iife.js +1 -1
- package/dist/qna.js +1 -1
- package/dist/{runtime-CAg_iN6a.js → runtime-DbZO1qG5.js} +3 -3
- package/dist/{runtime-CFHFFIU0.js → runtime-OpNoB3cu.js} +895 -854
- package/dist/{runtime-vEZ7Jp50.js → runtime-iCLkUjI3.js} +3 -3
- package/dist/simbut/index.d.ts +31 -0
- package/dist/simbut/locales.d.ts +3 -0
- package/dist/simbut/types.d.ts +43 -0
- package/dist/{simbut-BzxDRoSM.js → simbut-FyXolmZY.js} +1 -1
- package/dist/simbut.iife.js +1 -1
- package/dist/simbut.js +1 -1
- package/dist/simrel/api.d.ts +25 -0
- package/dist/simrel/catalog.d.ts +77 -0
- package/dist/simrel/components/GroupTabs.d.ts +24 -0
- package/dist/simrel/components/ProductCard.d.ts +19 -0
- package/dist/simrel/components/ProductGrid.d.ts +17 -0
- package/dist/simrel/components/renderUISpec.d.ts +7 -0
- package/dist/simrel/index.d.ts +5 -0
- package/dist/simrel/locales/en.d.ts +2 -0
- package/dist/simrel/locales/index.d.ts +4 -0
- package/dist/simrel/locales/tr.d.ts +2 -0
- package/dist/simrel/renderers/default.d.ts +41 -0
- package/dist/simrel/runtime.d.ts +68 -0
- package/dist/simrel/types.d.ts +145 -0
- package/dist/{simrel-DsIquEK2.js → simrel-CbLe5OAr.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-DMiOpmY5.js → widget-base-COP8QwU3.js} +1 -1
- package/package.json +20 -6
package/dist/index.js
CHANGED
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
import { d as a, f as t, h as r, m as i, n as s, t as n } from "./api-paths-
|
|
1
|
+
import { d as a, f as t, h as r, m as i, n as s, t as n } from "./api-paths-DJFF9RuZ.js";
|
|
2
2
|
import { a as c, c as m, i as p, k as d, o as g, s as l, t as f } from "./context-BBuSsXZ9.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, n as y, o as G, s as T, t as W } from "./runtime-
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { a as
|
|
8
|
-
import { a as
|
|
9
|
-
import { n as
|
|
10
|
-
import { n as
|
|
11
|
-
import { i as
|
|
12
|
-
import { a as
|
|
13
|
-
import { a as
|
|
3
|
+
import { d as S, f as U, n as C, p as I, r as R, u as h } from "./widget-base-COP8QwU3.js";
|
|
4
|
+
import { c as E, n as y, o as G, s as T, t as W } from "./runtime-OpNoB3cu.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-CkYN2UOl.js";
|
|
6
|
+
import { t as F } from "./connection-warning-Pbvk3J8k.js";
|
|
7
|
+
import { a as b, i as x, n as M, r as H, t as K } from "./runtime-DbZO1qG5.js";
|
|
8
|
+
import { a as Z, i as j, n as q, r as J, t as X } from "./runtime-iCLkUjI3.js";
|
|
9
|
+
import { n as $ } from "./simrel-CbLe5OAr.js";
|
|
10
|
+
import { n as ae, t as te } from "./simbut-FyXolmZY.js";
|
|
11
|
+
import { i as ie, n as se, r as ne, t as oe } from "./overlay-BetAvpVZ.js";
|
|
12
|
+
import { a as me, i as pe, n as de, r as ge } from "./native-webview-JDC1vtde.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-BydCGBNn.js";
|
|
14
14
|
export {
|
|
15
|
-
|
|
15
|
+
Ie as AccountRuntimeConfigSchema,
|
|
16
16
|
h as BASE_WIDGET_THEME,
|
|
17
|
-
|
|
17
|
+
w as DEFAULT_CUSTOMIZATION_LOCALE,
|
|
18
18
|
U as DEFAULT_WIDGET_THEME_TOKENS,
|
|
19
19
|
C as GENGAGE_BUILD_FLAVOR,
|
|
20
20
|
R as GENGAGE_VERSION,
|
|
21
21
|
W as GengageChat,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
K as GengageQNA,
|
|
23
|
+
te as GengageSimBut,
|
|
24
|
+
X as GengageSimRel,
|
|
25
|
+
he as UnknownActionPolicySchema,
|
|
26
|
+
L as VoiceInput,
|
|
27
|
+
de as applyNativeSession,
|
|
28
28
|
Ae as autoDetectPageContext,
|
|
29
29
|
f as bootstrapSession,
|
|
30
30
|
n as buildChatEndpointUrl,
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
oe as buildOverlayIdempotencyKey,
|
|
32
|
+
F as configureConnectionWarning,
|
|
33
33
|
a as consumeStream,
|
|
34
|
-
|
|
34
|
+
k as createAccountIdentity,
|
|
35
35
|
y as createChatWidget,
|
|
36
|
-
|
|
36
|
+
ue as createDefaultAccountRuntimeConfig,
|
|
37
37
|
G as createDefaultChatUISpecRegistry,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
38
|
+
H as createDefaultQnaUISpecRegistry,
|
|
39
|
+
J as createDefaultSimRelUISpecRegistry,
|
|
40
|
+
Q as createFloatingChatConfig,
|
|
41
|
+
ge as createNativeWebViewBridge,
|
|
42
|
+
N as createPdpQnaConfig,
|
|
43
|
+
_ as createPdpSimRelConfig,
|
|
44
|
+
M as createQNAWidget,
|
|
45
|
+
ae as createSimButWidget,
|
|
46
|
+
$ as createSimRelRenderer,
|
|
47
|
+
q as createSimRelWidget,
|
|
48
48
|
T as defaultChatUnknownUISpecRenderer,
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
x as defaultQnaUnknownUISpecRenderer,
|
|
50
|
+
j as defaultSimRelUnknownUISpecRenderer,
|
|
51
51
|
i as defaultUnknownUISpecRenderer,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
se as destroyOverlayWidgets,
|
|
53
|
+
pe as detectNativeEnvironment,
|
|
54
|
+
Ce as detectPageType,
|
|
55
55
|
c as dispatch,
|
|
56
56
|
Re as extractSkuFromUrl,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
57
|
+
ne as getOverlayWidgets,
|
|
58
|
+
Se as initGengageClient,
|
|
59
|
+
me as initNativeOverlayWidgets,
|
|
60
|
+
ie as initOverlayWidgets,
|
|
61
|
+
v as isVoiceInputSupported,
|
|
62
62
|
g as listen,
|
|
63
|
-
|
|
63
|
+
P as makePillLauncher,
|
|
64
64
|
s as normalizeMiddlewareUrl,
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
Ue as parseAccountRuntimeConfig,
|
|
66
|
+
fe as preflightDiagnostics,
|
|
67
67
|
E as renderChatUISpec,
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
b as renderQnaUISpec,
|
|
69
|
+
Z as renderSimRelUISpec,
|
|
70
70
|
r as renderUISpecWithRegistry,
|
|
71
71
|
O as routeStreamAction,
|
|
72
|
-
|
|
72
|
+
Ee as safeParseAccountRuntimeConfig,
|
|
73
73
|
t as streamPost,
|
|
74
74
|
p as updatePageContext,
|
|
75
75
|
d as wireGADataLayer,
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { DEFAULT_NATIVE_TRACKED_EVENTS, detectNativeEnvironment, applyNativeSession, createNativeWebViewBridge, initNativeOverlayWidgets, } from '../common/native-webview.js';
|
|
2
|
+
export type { NativeBridgeEnvironment, NativeSessionPayload, NativeBridgeMessage, NativeInboundMessage, NativeTrackedEvent, NativeWebViewBridgeOptions, NativeWebViewBridge, NativeOverlayInitOptions, NativeOverlayInitResult, } from '../common/native-webview.js';
|