@flowengage/react-chatbot 7.0.19 → 7.0.21
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.
|
@@ -30948,61 +30948,67 @@ function zk({ copy: e, orbColors: t, primaryColor: n, chatBgGradient: r, logo: i
|
|
|
30948
30948
|
})
|
|
30949
30949
|
})
|
|
30950
30950
|
}),
|
|
30951
|
-
|
|
30952
|
-
|
|
30953
|
-
|
|
30954
|
-
maxWidth: s ? "100%" : "250px",
|
|
30955
|
-
width: "100%",
|
|
30956
|
-
justifySelf: "center",
|
|
30957
|
-
display: "grid",
|
|
30958
|
-
gridTemplateColumns: "minmax(72px, 40%) minmax(0, 60%)",
|
|
30959
|
-
alignItems: "center"
|
|
30960
|
-
},
|
|
30961
|
-
children: [/* @__PURE__ */ g("div", {
|
|
30951
|
+
(() => {
|
|
30952
|
+
let t = !!i, n = !!e.hasCustomTitle, r = t || n, a = t || !r, o = n || !r, c = a && o;
|
|
30953
|
+
return /* @__PURE__ */ _("div", {
|
|
30962
30954
|
style: {
|
|
30963
30955
|
minWidth: 0,
|
|
30964
|
-
|
|
30956
|
+
maxWidth: s ? "100%" : "250px",
|
|
30957
|
+
width: "100%",
|
|
30958
|
+
justifySelf: "center",
|
|
30959
|
+
display: "grid",
|
|
30960
|
+
gridTemplateColumns: c ? "minmax(72px, 40%) minmax(0, 60%)" : "1fr",
|
|
30961
|
+
columnGap: c ? "12px" : 0,
|
|
30965
30962
|
alignItems: "center",
|
|
30966
|
-
|
|
30967
|
-
height: "40px"
|
|
30963
|
+
justifyItems: c ? "stretch" : "center"
|
|
30968
30964
|
},
|
|
30969
|
-
children:
|
|
30970
|
-
logo: i,
|
|
30965
|
+
children: [a && /* @__PURE__ */ g("div", {
|
|
30971
30966
|
style: {
|
|
30972
|
-
|
|
30973
|
-
|
|
30974
|
-
|
|
30975
|
-
|
|
30976
|
-
|
|
30977
|
-
style: {
|
|
30978
|
-
width: "40px",
|
|
30979
|
-
height: "40px",
|
|
30980
|
-
flexShrink: 0
|
|
30967
|
+
minWidth: 0,
|
|
30968
|
+
display: "flex",
|
|
30969
|
+
alignItems: "center",
|
|
30970
|
+
justifyContent: "center",
|
|
30971
|
+
height: "40px"
|
|
30981
30972
|
},
|
|
30982
|
-
children: /* @__PURE__ */ g(
|
|
30983
|
-
|
|
30984
|
-
|
|
30985
|
-
|
|
30986
|
-
|
|
30987
|
-
|
|
30988
|
-
|
|
30989
|
-
|
|
30990
|
-
|
|
30973
|
+
children: i ? /* @__PURE__ */ g(Ak, {
|
|
30974
|
+
logo: i,
|
|
30975
|
+
style: {
|
|
30976
|
+
height: "34px",
|
|
30977
|
+
width: "100%",
|
|
30978
|
+
maxWidth: "96px"
|
|
30979
|
+
}
|
|
30980
|
+
}) : /* @__PURE__ */ g("div", {
|
|
30981
|
+
style: {
|
|
30982
|
+
width: "40px",
|
|
30983
|
+
height: "40px",
|
|
30984
|
+
flexShrink: 0
|
|
30985
|
+
},
|
|
30986
|
+
children: /* @__PURE__ */ g(jk, { title: e.chatTitle })
|
|
30987
|
+
})
|
|
30988
|
+
}), o && /* @__PURE__ */ g("div", {
|
|
30991
30989
|
style: {
|
|
30992
|
-
|
|
30993
|
-
|
|
30994
|
-
|
|
30995
|
-
|
|
30996
|
-
lineHeight: 1.2,
|
|
30997
|
-
overflow: "hidden",
|
|
30998
|
-
textOverflow: "ellipsis",
|
|
30999
|
-
whiteSpace: "nowrap"
|
|
30990
|
+
minWidth: 0,
|
|
30991
|
+
display: "flex",
|
|
30992
|
+
alignItems: "center",
|
|
30993
|
+
justifyContent: c ? "flex-start" : "center"
|
|
31000
30994
|
},
|
|
31001
|
-
|
|
31002
|
-
|
|
31003
|
-
|
|
31004
|
-
|
|
31005
|
-
|
|
30995
|
+
children: /* @__PURE__ */ g("span", {
|
|
30996
|
+
style: {
|
|
30997
|
+
fontSize: "15px",
|
|
30998
|
+
fontWeight: 600,
|
|
30999
|
+
color: "#111827",
|
|
31000
|
+
letterSpacing: "-0.01em",
|
|
31001
|
+
lineHeight: 1.2,
|
|
31002
|
+
overflow: "hidden",
|
|
31003
|
+
textOverflow: "ellipsis",
|
|
31004
|
+
whiteSpace: "nowrap"
|
|
31005
|
+
},
|
|
31006
|
+
title: e.chatTitle,
|
|
31007
|
+
children: e.chatTitle
|
|
31008
|
+
})
|
|
31009
|
+
})]
|
|
31010
|
+
});
|
|
31011
|
+
})(),
|
|
31006
31012
|
/* @__PURE__ */ _("div", {
|
|
31007
31013
|
style: {
|
|
31008
31014
|
position: "relative",
|
|
@@ -31631,6 +31637,7 @@ function Bk() {
|
|
|
31631
31637
|
voiceLabel: Ae.voiceLabel || "Voice",
|
|
31632
31638
|
textLabel: Ae.textLabel || "Text",
|
|
31633
31639
|
chatTitle: Ae.headerName || "Chat with FlowEngage",
|
|
31640
|
+
hasCustomTitle: !!(Ae.headerName && String(Ae.headerName).trim()),
|
|
31634
31641
|
introGreeting: Ze,
|
|
31635
31642
|
inputPlaceholder: Ae.inputPlaceholder || "Type your message",
|
|
31636
31643
|
analysingLabel: Ae.analysingLabel || "analysing..."
|