@gengage/assistant-fe 0.3.32 → 0.3.35
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/README.md +4 -0
- package/dist/chat/index.d.ts +4 -1
- package/dist/{chat-DXNI4Pf-.js → chat-BVxo08xS.js} +1708 -1682
- package/dist/chat.iife.js +33 -33
- package/dist/chat.js +1 -1
- package/dist/{common-BrRNxG_a.js → common-dxI9x9_U.js} +1 -1
- package/dist/common.js +3 -3
- package/dist/index.js +3 -3
- package/dist/{native-webview-CPeT9zIq.js → native-webview-CMsUMLah.js} +1 -1
- package/dist/native.iife.js +30 -30
- package/dist/native.js +1 -1
- package/package.json +28 -1
package/README.md
CHANGED
|
@@ -117,6 +117,8 @@ See [docs/customization.md](docs/customization.md) for the fork and merchant-cus
|
|
|
117
117
|
```bash
|
|
118
118
|
npm install
|
|
119
119
|
npm run dev -- koctascomtr --sku=1000465056 # Local dev server with HMR
|
|
120
|
+
npm run koctascomtr # Merchant shortcut with the seeded demo SKU
|
|
121
|
+
npm run trendyolcom # Another merchant shortcut using its default PDP SKU
|
|
120
122
|
npm run typecheck # TypeScript strict check
|
|
121
123
|
npm run test # Unit tests
|
|
122
124
|
npm run build # Build to dist/
|
|
@@ -136,6 +138,8 @@ The default backend is `https://chatbe-dev.gengage.ai`. You can also set it via
|
|
|
136
138
|
MIDDLEWARE_URL=http://localhost:7860 npm run dev -- koctascomtr --sku=1000465056
|
|
137
139
|
```
|
|
138
140
|
|
|
141
|
+
Merchant demo pages under `demos/` now seed a default PDP SKU for direct launch flows, and the affected PDP shells hydrate their breadcrumb, summary content, and gallery imagery from middleware `productDetails` when the backend is available.
|
|
142
|
+
|
|
139
143
|
---
|
|
140
144
|
|
|
141
145
|
## Documentation
|
package/dist/chat/index.d.ts
CHANGED
|
@@ -168,6 +168,7 @@ export declare class GengageChat extends BaseWidget<ChatWidgetConfig> {
|
|
|
168
168
|
*/
|
|
169
169
|
private _clearAssistantPanelLikeStreamClearPanel;
|
|
170
170
|
private _flushPresentationScroll;
|
|
171
|
+
private _focusPresentationThread;
|
|
171
172
|
private _releasePresentationFocus;
|
|
172
173
|
private _hasMultipleThreadIds;
|
|
173
174
|
private _orderedThreadIds;
|
|
@@ -192,11 +193,13 @@ export declare class GengageChat extends BaseWidget<ChatWidgetConfig> {
|
|
|
192
193
|
private _hideDrawer;
|
|
193
194
|
private _syncViewportState;
|
|
194
195
|
/**
|
|
195
|
-
*
|
|
196
|
+
* Dimming backdrop + click-through scrim only in this state:
|
|
196
197
|
* - overlay: drawer open (full-screen modal)
|
|
197
198
|
* - floating: drawer open and side panel visible (split / “maximized” layout)
|
|
198
199
|
*/
|
|
199
200
|
private _isMaximizedForHostChrome;
|
|
201
|
+
/** Host page scroll (touch/wheel) blocked; separate from backdrop so mobile floating drawer locks without split panel. */
|
|
202
|
+
private _shouldLockHostDocumentScroll;
|
|
200
203
|
private _applyOpenStateClasses;
|
|
201
204
|
private _syncHostDocumentScrollLock;
|
|
202
205
|
/**
|