tybotflow-widget 0.0.9 → 0.1.1
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/index.d.ts +1 -0
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +41 -41
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -48172,7 +48172,7 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
|
|
|
48172
48172
|
scrollbarColor: `${h} transparent`
|
|
48173
48173
|
},
|
|
48174
48174
|
children: [
|
|
48175
|
-
ut.map((M) => /* @__PURE__ */ F.jsxs("div", { className: `flex flex-col sm:flex-row items-start gap-3 ${M.sender === "user" ? "flex-row-reverse" : ""}`, children: [
|
|
48175
|
+
ut.map((M) => /* @__PURE__ */ F.jsxs("div", { className: `flex ${M.sender === "agent" ? "flex-col sm:flex-row" : ""} items-start gap-3 ${M.sender === "user" ? "flex-row-reverse" : ""}`, children: [
|
|
48176
48176
|
/* @__PURE__ */ F.jsx(
|
|
48177
48177
|
"div",
|
|
48178
48178
|
{
|
|
@@ -48582,7 +48582,7 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
|
|
|
48582
48582
|
/* @__PURE__ */ F.jsxs("div", { className: "grid grid-cols-2 gap-3 text-xs", style: { color: w }, children: [
|
|
48583
48583
|
e?.bot.phone_number && /* @__PURE__ */ F.jsxs("div", { className: "flex flex-col gap-0.5", children: [
|
|
48584
48584
|
/* @__PURE__ */ F.jsx("span", { className: "uppercase tracking-wide font-bold", style: { color: w }, children: "Phone number" }),
|
|
48585
|
-
/* @__PURE__ */ F.jsx("span", { className: "font-medium break-all", children: e?.bot
|
|
48585
|
+
/* @__PURE__ */ F.jsx("span", { className: "font-medium break-all", children: selectedBot.botId === "arts-clinique" ? "0522258484" : e?.bot?.phone_number })
|
|
48586
48586
|
] }),
|
|
48587
48587
|
e?.bot.personality && /* @__PURE__ */ F.jsxs("div", { className: "flex flex-col gap-0.5", children: [
|
|
48588
48588
|
/* @__PURE__ */ F.jsx("span", { className: "uppercase tracking-wide font-bold", style: { color: w }, children: "Personality" }),
|