@eshal-bot/chat-widget 0.1.118 → 0.1.119
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-widget-MarkdownRenderer-BSHNa5yN.esm.js → chat-widget-MarkdownRenderer-DNwZHSKy.esm.js} +1 -1
- package/dist/{chat-widget-index-CvirSEVn.esm.js → chat-widget-index-yu9GyyYn.esm.js} +3 -3
- package/dist/chat-widget.esm.js +1 -1
- package/dist/chat-widget.js +5 -9
- package/dist/chat-widget.min.js +4 -4
- package/dist/chat-widget.umd.js +7 -7
- package/package.json +1 -1
package/dist/chat-widget.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{S as default}from"./chat-widget-index-
|
|
1
|
+
export{S as default}from"./chat-widget-index-yu9GyyYn.esm.js";import"react";import"react-dom/client";import"react-dom";import"react/jsx-runtime";
|
package/dist/chat-widget.js
CHANGED
|
@@ -19370,8 +19370,6 @@
|
|
|
19370
19370
|
csatEnabled = false,
|
|
19371
19371
|
csatFormat = "EMOJI",
|
|
19372
19372
|
csatPrompt = "How was your experience?",
|
|
19373
|
-
csatTriggerType = "ON_END",
|
|
19374
|
-
csatIdleTimeoutMins = 30,
|
|
19375
19373
|
onPromptSuggestionClick,
|
|
19376
19374
|
onboardingEnabled = false,
|
|
19377
19375
|
onResetConversation,
|
|
@@ -20536,7 +20534,7 @@
|
|
|
20536
20534
|
|
|
20537
20535
|
// Map API response to widget props (use props as overrides if provided)
|
|
20538
20536
|
const widgetConfig = reactExports.useMemo(() => {
|
|
20539
|
-
var _agentConfig$config, _cfg$identity, _cfg$branding, _cfg$typography, _cfg$messages, _cfg$voice, _cfg$onboarding, _cfg$disclaimer, _cfg$csat, _cfg$inactivity, _cfg$behavior, _cfg$security, _cfg$layout, _ref2, _messages$bundles$loc, _messages$bundles, _messages$bundles$en, _messages$bundles2, _ref3, _ref4, _security$domains, _ref5, _ref6, _ref7, _branding$chatbotAvat, _branding$chatbotAvat2, _ref8, _ref9, _ref0, _ref1, _ref10, _ref11, _ref12, _ref13, _typography$headerTex, _identity$subtitle, _identity$showStatus, _identity$statusMode, _identity$officeHours, _ref14, _ref15, _ref16, _ref17, _ref18, _ref19, _inactivity$timeoutVa, _inactivity$timeoutUn, _ref20, _ref21, _ref22, _ref23, _ref24, _ref25, _ref26, _ref27, _csat$enabled, _csat$format, _csat$prompt,
|
|
20537
|
+
var _agentConfig$config, _cfg$identity, _cfg$branding, _cfg$typography, _cfg$messages, _cfg$voice, _cfg$onboarding, _cfg$disclaimer, _cfg$csat, _cfg$inactivity, _cfg$behavior, _cfg$security, _cfg$layout, _ref2, _messages$bundles$loc, _messages$bundles, _messages$bundles$en, _messages$bundles2, _ref3, _ref4, _security$domains, _ref5, _ref6, _ref7, _branding$chatbotAvat, _branding$chatbotAvat2, _ref8, _ref9, _ref0, _ref1, _ref10, _ref11, _ref12, _ref13, _typography$headerTex, _identity$subtitle, _identity$showStatus, _identity$statusMode, _identity$officeHours, _ref14, _ref15, _ref16, _ref17, _ref18, _ref19, _inactivity$timeoutVa, _inactivity$timeoutUn, _ref20, _ref21, _ref22, _ref23, _ref24, _ref25, _ref26, _ref27, _csat$enabled, _csat$format, _csat$prompt, _behavior$autoPromptE, _behavior$autoPromptQ, _behavior$autoPromptC, _behavior$allowFeedba, _behavior$provideCita, _agentConfig$organiza, _cfg$chatFeatures;
|
|
20540
20538
|
if (!agentConfig) {
|
|
20541
20539
|
return null;
|
|
20542
20540
|
}
|
|
@@ -20626,10 +20624,10 @@
|
|
|
20626
20624
|
csatEnabled: (_csat$enabled = csat.enabled) !== null && _csat$enabled !== void 0 ? _csat$enabled : false,
|
|
20627
20625
|
csatFormat: (_csat$format = csat.format) !== null && _csat$format !== void 0 ? _csat$format : "EMOJI",
|
|
20628
20626
|
csatPrompt: (_csat$prompt = csat.prompt) !== null && _csat$prompt !== void 0 ? _csat$prompt : "How was your experience?",
|
|
20629
|
-
|
|
20630
|
-
|
|
20631
|
-
|
|
20632
|
-
|
|
20627
|
+
// EV-3229: csat triggerType/idleTimeoutMins/followUpEnabled/
|
|
20628
|
+
// followUpPrompt removed - they were plumbed to the prop boundary and
|
|
20629
|
+
// never consulted; every deployment behaved as ON_END with no
|
|
20630
|
+
// follow-up regardless of the stored value.
|
|
20633
20631
|
autoPromptEnabled: (_behavior$autoPromptE = behavior.autoPromptEnabled) !== null && _behavior$autoPromptE !== void 0 ? _behavior$autoPromptE : true,
|
|
20634
20632
|
// EV-2977: chip face shows the natural follow-up question
|
|
20635
20633
|
// (submitText) instead of the title-case label. Display-only
|
|
@@ -20935,8 +20933,6 @@
|
|
|
20935
20933
|
csatEnabled: widgetConfig.csatEnabled,
|
|
20936
20934
|
csatFormat: widgetConfig.csatFormat,
|
|
20937
20935
|
csatPrompt: widgetConfig.csatPrompt,
|
|
20938
|
-
csatTriggerType: widgetConfig.csatTriggerType,
|
|
20939
|
-
csatIdleTimeoutMins: widgetConfig.csatIdleTimeoutMins,
|
|
20940
20936
|
onboardingEnabled: widgetConfig.onboardingEnabled,
|
|
20941
20937
|
onResetConversation: resetConversation,
|
|
20942
20938
|
autoPromptEnabled: widgetConfig.autoPromptEnabled,
|