widget-chatbot 2.0.7-alpha.7 → 2.0.7-alpha.8
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.
|
@@ -662,7 +662,7 @@ function ro() {
|
|
|
662
662
|
return vn || (vn = 1, process.env.NODE_ENV === "production" ? mt.exports = to() : mt.exports = no()), mt.exports;
|
|
663
663
|
}
|
|
664
664
|
var t = ro();
|
|
665
|
-
const oo = "2.0.7-alpha.
|
|
665
|
+
const oo = "2.0.7-alpha.8", Gn = "chat_session", so = "user_uttered", io = "bot_uttered", ao = "ehelp_bot_uttered", co = "bot_reason_uttered";
|
|
666
666
|
JSON.stringify({
|
|
667
667
|
enabled_agents: ["Alice", "Maria", "Jani"],
|
|
668
668
|
default_active_agent: "Alice"
|
|
@@ -2418,8 +2418,8 @@ const cs = () => /* @__PURE__ */ t.jsxs("div", { className: "lds-ellipsis", chil
|
|
|
2418
2418
|
), n = I("ClickToUpload", "Click to upload"), r = I(
|
|
2419
2419
|
"ContinueWithoutUpload",
|
|
2420
2420
|
"Continue without upload"
|
|
2421
|
-
), { onSendMsg: o, setFile: c, isLoadingUpload: s, isShowUpload: i } = De(),
|
|
2422
|
-
o({
|
|
2421
|
+
), { onSendMsg: o, setFile: c, isLoadingUpload: s, isShowUpload: i, setShowUpload: a } = De(), l = () => {
|
|
2422
|
+
a(!1), o({
|
|
2423
2423
|
msg: "CANCEL UPLOAD"
|
|
2424
2424
|
});
|
|
2425
2425
|
};
|
|
@@ -2449,8 +2449,8 @@ const cs = () => /* @__PURE__ */ t.jsxs("div", { className: "lds-ellipsis", chil
|
|
|
2449
2449
|
beforeUpload: () => !1,
|
|
2450
2450
|
fileList: [],
|
|
2451
2451
|
accept: ".doc, .jpg, .ods, .png, .txt, .docx, .pdf",
|
|
2452
|
-
onChange: (
|
|
2453
|
-
c(
|
|
2452
|
+
onChange: (g) => {
|
|
2453
|
+
c(g == null ? void 0 : g.file);
|
|
2454
2454
|
},
|
|
2455
2455
|
children: /* @__PURE__ */ t.jsx(
|
|
2456
2456
|
le,
|
|
@@ -2466,7 +2466,7 @@ const cs = () => /* @__PURE__ */ t.jsxs("div", { className: "lds-ellipsis", chil
|
|
|
2466
2466
|
le,
|
|
2467
2467
|
{
|
|
2468
2468
|
type: "dashed",
|
|
2469
|
-
onClick:
|
|
2469
|
+
onClick: l,
|
|
2470
2470
|
disabled: s,
|
|
2471
2471
|
children: r
|
|
2472
2472
|
}
|