@freeday-ai/webchat 2025.12.1-0.14.26.11784 → 2025.12.1-0.14.42.1343
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/webchat.iife.js +2 -2
- package/dist/webchat.mjs +8 -2
- package/package.json +1 -1
package/dist/webchat.mjs
CHANGED
|
@@ -26549,7 +26549,8 @@ class Dv {
|
|
|
26549
26549
|
suggestions: t.start_view_suggestions,
|
|
26550
26550
|
foldableStartViewTitle: t.foldable_start_view_title,
|
|
26551
26551
|
foldableStartViewSubtitle: t.foldable_start_view_subtitle,
|
|
26552
|
-
noAnswerFallback: t.no_answer_fallback
|
|
26552
|
+
noAnswerFallback: t.no_answer_fallback,
|
|
26553
|
+
analyticsEnabled: t.analytics_enabled
|
|
26553
26554
|
};
|
|
26554
26555
|
}
|
|
26555
26556
|
async fetchWidgetSettings() {
|
|
@@ -34319,7 +34320,12 @@ const $s1 = [
|
|
|
34319
34320
|
children: a,
|
|
34320
34321
|
config: t,
|
|
34321
34322
|
inShadowDom: n = !1
|
|
34322
|
-
}) =>
|
|
34323
|
+
}) => {
|
|
34324
|
+
if (!t?.channelId)
|
|
34325
|
+
return /* @__PURE__ */ k.jsx("div", { children: "No channelId provided..." });
|
|
34326
|
+
let r = /* @__PURE__ */ k.jsx(PF0, { primaryColor: t.primaryColor, children: /* @__PURE__ */ k.jsx(vs1, { i18n: X6, children: /* @__PURE__ */ k.jsx(bs1, { children: /* @__PURE__ */ k.jsx(Ls1, { children: /* @__PURE__ */ k.jsx(Fs1, { config: t, inShadowDom: n, children: /* @__PURE__ */ k.jsx(Ps1, { children: a }) }) }) }) }) });
|
|
34327
|
+
return t.analyticsEnabled && (r = /* @__PURE__ */ k.jsx(Ds1, { children: r })), r;
|
|
34328
|
+
}, lL = ({
|
|
34323
34329
|
children: a,
|
|
34324
34330
|
as: t = "button",
|
|
34325
34331
|
...n
|