@2uinc/frontend-component-xpert-chatbot 1.13.9-beta.5 → 1.13.9-beta.6
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/lib/index.min.js +12 -4
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
@@ -64,9 +64,9 @@ const os = {
|
|
64
64
|
},
|
65
65
|
proactiveMessage: {
|
66
66
|
enabled: !0,
|
67
|
-
textPrefix: "Hi
|
67
|
+
textPrefix: "Hi!",
|
68
68
|
showEmoji: !0,
|
69
|
-
text: "I'm Xpert, an AI
|
69
|
+
text: "I'm Xpert, an AI assistant to help you find things.",
|
70
70
|
delayMs: 4e3,
|
71
71
|
style: {
|
72
72
|
bottom: "6.75rem",
|
@@ -11237,7 +11237,15 @@ function ti({ submitEventExternal: e }) {
|
|
11237
11237
|
onClick: Be,
|
11238
11238
|
cookieName: `${l}-proactive-message-xpert-chatbot`,
|
11239
11239
|
children: /* @__PURE__ */ I.jsx("div", { className: "xpert-chatbot-proactive-message", children: /* @__PURE__ */ I.jsxs("div", { className: "xpert-chatbot-proactive-message__text", children: [
|
11240
|
-
i.
|
11240
|
+
i.textPrefix && /* @__PURE__ */ I.jsx(
|
11241
|
+
"span",
|
11242
|
+
{
|
11243
|
+
style: {
|
11244
|
+
paddingRight: i.showEmoji ? "0" : "0.3rem"
|
11245
|
+
},
|
11246
|
+
children: i.textPrefix
|
11247
|
+
}
|
11248
|
+
),
|
11241
11249
|
i.showEmoji && /* @__PURE__ */ I.jsx(
|
11242
11250
|
"span",
|
11243
11251
|
{
|
@@ -11245,7 +11253,7 @@ function ti({ submitEventExternal: e }) {
|
|
11245
11253
|
"aria-label": "Hand wave emoji",
|
11246
11254
|
className: "xpert-chatbot-proactive-message__wave",
|
11247
11255
|
style: {
|
11248
|
-
|
11256
|
+
padding: i.textPrefix ? "0 0.3rem" : "0 0.3rem 0 0"
|
11249
11257
|
},
|
11250
11258
|
children: "👋"
|
11251
11259
|
}
|