widget-chatbot 2.0.2-alpha.2 → 2.0.2
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/widget-chatbot.es.js +19 -19
- package/package.json +1 -1
|
@@ -662,7 +662,11 @@ function ro() {
|
|
|
662
662
|
return mn || (mn = 1, process.env.NODE_ENV === "production" ? lt.exports = to() : lt.exports = no()), lt.exports;
|
|
663
663
|
}
|
|
664
664
|
var t = ro();
|
|
665
|
-
const oo = "2.0.
|
|
665
|
+
const oo = "2.0.2", Vn = "chat_session", so = "user_uttered", io = "bot_uttered", ao = "ehelp_bot_uttered";
|
|
666
|
+
JSON.stringify({
|
|
667
|
+
enabled_agents: ["Alice", "Maria", "Jani"],
|
|
668
|
+
default_active_agent: "Alice"
|
|
669
|
+
});
|
|
666
670
|
JSON.stringify({
|
|
667
671
|
enabled_agents: ["Alice", "Maria", "Jani"],
|
|
668
672
|
default_active_agent: "Alice"
|
|
@@ -1606,24 +1610,20 @@ const Le = (e = ".w-wrapper-body") => {
|
|
|
1606
1610
|
const h = f.href, p = (j = f.children) == null ? void 0 : j[0], x = bn(h), v = bn(
|
|
1607
1611
|
a == null ? void 0 : a.uriBackend
|
|
1608
1612
|
);
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
"
|
|
1615
|
-
{
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
}
|
|
1624
|
-
);
|
|
1625
|
-
}
|
|
1626
|
-
return /* @__PURE__ */ t.jsx("a", { ...f, target: "_blank", className: "w-link-path" });
|
|
1613
|
+
return !x && v ? ((C = Eo(
|
|
1614
|
+
a == null ? void 0 : a.uriBackend
|
|
1615
|
+
)) == null || C.origin, /* @__PURE__ */ t.jsx(
|
|
1616
|
+
"span",
|
|
1617
|
+
{
|
|
1618
|
+
className: "w-link-path",
|
|
1619
|
+
onClick: (w) => {
|
|
1620
|
+
w.stopPropagation();
|
|
1621
|
+
const T = `${h}`;
|
|
1622
|
+
r != null && r.history && r.history.push(T);
|
|
1623
|
+
},
|
|
1624
|
+
children: p
|
|
1625
|
+
}
|
|
1626
|
+
)) : /* @__PURE__ */ t.jsx("a", { ...f, target: "_blank", className: "w-link-path" });
|
|
1627
1627
|
}
|
|
1628
1628
|
},
|
|
1629
1629
|
children: c
|