@wexio/messenger-widget-react 1.2.3 → 1.3.0
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/CHANGELOG.md +57 -1
- package/README.md +15 -1
- package/dist/{widget-react-DubCiNev.js → widget-react--IUy5lNt.js} +21 -20
- package/dist/{widget-react-CIy9jXND.js → widget-react-B7es3n1-.js} +1 -1
- package/dist/{widget-react-2tTH7-bO.js → widget-react-BAUpSGhZ.js} +1 -1
- package/dist/{widget-react-CtvdaJvy.js → widget-react-BXf2Ty8d.js} +4 -4
- package/dist/{widget-react-AwEaD0v2.js → widget-react-BZ-SHa2o.js} +169 -273
- package/dist/{widget-react-faSyVXFQ.js → widget-react-BgALABDe.js} +1 -1
- package/dist/{widget-react-DXP6EOCM.js → widget-react-BkXA6ytR.js} +1 -1
- package/dist/{widget-react-DV3UnggB.js → widget-react-CHSNuztJ.js} +137 -226
- package/dist/widget-react-CN_FIvMD.js +834 -0
- package/dist/widget-react-CuphoFsN.js +229 -0
- package/dist/{widget-react-DNFROpaS.js → widget-react-D8Z8cGhJ.js} +40 -48
- package/dist/{widget-react-B9X7Tn7t.js → widget-react-DSUX0aJn.js} +42 -50
- package/dist/{widget-react-CAsPo1rw.js → widget-react-DWgRcZF7.js} +127 -127
- package/dist/{widget-react-B9XrHKqv.js → widget-react-DbOJZl9F.js} +1238 -2052
- package/dist/{widget-react-BlTmXnei.js → widget-react-DgIxSjv7.js} +1 -1
- package/dist/widget-react-Ds5J9FbQ.js +27 -0
- package/dist/{widget-react-CK8xTxwO.js → widget-react-Dtx_fW3V.js} +4895 -4454
- package/dist/{widget-react-B8rXZyxg.js → widget-react-SI7deQTE.js} +1 -1
- package/dist/{widget-react-yTVzOzaU.js → widget-react-l5oryxYk.js} +87 -87
- package/dist/{widget-react-DDEFbIbU.js → widget-react-vXfa9GKf.js} +95 -117
- package/dist/widget-react-wSc9gIfG.js +198 -0
- package/dist/widget-react.d.ts +2 -2
- package/dist/widget-react.js +9370 -4672
- package/package.json +1 -1
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
globalThis.process === void 0 && (globalThis.process = {
|
|
2
|
+
env: {},
|
|
3
|
+
nextTick: function(e) {
|
|
4
|
+
setTimeout(e, 0);
|
|
5
|
+
},
|
|
6
|
+
emit: function() {
|
|
7
|
+
return !1;
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
import "react";
|
|
11
|
+
import "react-dom";
|
|
12
|
+
import "react/jsx-runtime";
|
|
13
|
+
import "react-dom/client";
|
|
14
|
+
import { t as e } from "./widget-react-DbOJZl9F.js";
|
|
15
|
+
import { i as t, n } from "./widget-react-krPPnv02.js";
|
|
16
|
+
import { n as r, t as i } from "./widget-react-wSc9gIfG.js";
|
|
17
|
+
import { t as a } from "./widget-react-Ds5J9FbQ.js";
|
|
18
|
+
import { useCallback as o, useEffect as s, useRef as c, useState as l } from "react";
|
|
19
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
20
|
+
//#region components/widget/tabs/messages-tab/composer/giphy-picker.tsx
|
|
21
|
+
var f = 300;
|
|
22
|
+
function p({ open: p, onClose: m, fetchPage: h, onPick: g, anchorRef: _ }) {
|
|
23
|
+
let v = t("messages.giphy"), y = c(null), b = c(null), x = c(null), [S, C] = l("GIF"), [w, T] = l(""), [E, D] = l(""), [O, k] = l([]), [A, j] = l("loading"), M = c(0), N = c(!1), P = c(0);
|
|
24
|
+
s(() => {
|
|
25
|
+
let e = setTimeout(() => D(w.trim()), f);
|
|
26
|
+
return () => clearTimeout(e);
|
|
27
|
+
}, [w]);
|
|
28
|
+
let F = o(async (e) => {
|
|
29
|
+
let t = e ? ++P.current : P.current, n = e ? 0 : M.current;
|
|
30
|
+
j(e ? "loading" : "loadingMore");
|
|
31
|
+
try {
|
|
32
|
+
let r = await h({
|
|
33
|
+
type: S,
|
|
34
|
+
query: E,
|
|
35
|
+
offset: n
|
|
36
|
+
});
|
|
37
|
+
if (t !== P.current) return;
|
|
38
|
+
M.current = r.nextOffset ?? n + r.items.length, N.current = r.hasNext, k((t) => {
|
|
39
|
+
let n = e ? r.items : [...t, ...r.items], i = /* @__PURE__ */ new Set();
|
|
40
|
+
return n.filter((e) => i.has(e.id) ? !1 : (i.add(e.id), !0));
|
|
41
|
+
}), j("ready");
|
|
42
|
+
} catch {
|
|
43
|
+
if (t !== P.current) return;
|
|
44
|
+
j("error");
|
|
45
|
+
}
|
|
46
|
+
}, [
|
|
47
|
+
h,
|
|
48
|
+
S,
|
|
49
|
+
E
|
|
50
|
+
]);
|
|
51
|
+
s(() => {
|
|
52
|
+
p && (b.current?.scrollTo({ top: 0 }), F(!0));
|
|
53
|
+
}, [p, F]), s(() => {
|
|
54
|
+
if (!p) return;
|
|
55
|
+
let e = x.current, t = b.current;
|
|
56
|
+
if (!e || !t) return;
|
|
57
|
+
let n = new IntersectionObserver((e) => {
|
|
58
|
+
e[0]?.isIntersecting && N.current && A === "ready" && F(!1);
|
|
59
|
+
}, {
|
|
60
|
+
root: t,
|
|
61
|
+
rootMargin: "200px"
|
|
62
|
+
});
|
|
63
|
+
return n.observe(e), () => n.disconnect();
|
|
64
|
+
}, [
|
|
65
|
+
p,
|
|
66
|
+
A,
|
|
67
|
+
F
|
|
68
|
+
]), s(() => {
|
|
69
|
+
if (!p) return;
|
|
70
|
+
let e = (e) => {
|
|
71
|
+
let t = e.target;
|
|
72
|
+
y.current?.contains(t) || _?.current?.contains(t) || m();
|
|
73
|
+
}, t = (e) => {
|
|
74
|
+
e.key === "Escape" && m();
|
|
75
|
+
};
|
|
76
|
+
return document.addEventListener("mousedown", e), document.addEventListener("keydown", t), () => {
|
|
77
|
+
document.removeEventListener("mousedown", e), document.removeEventListener("keydown", t);
|
|
78
|
+
};
|
|
79
|
+
}, [
|
|
80
|
+
p,
|
|
81
|
+
m,
|
|
82
|
+
_
|
|
83
|
+
]);
|
|
84
|
+
let I = (e) => {
|
|
85
|
+
e !== S && (k([]), C(e));
|
|
86
|
+
};
|
|
87
|
+
return /* @__PURE__ */ u(r, { children: p && /* @__PURE__ */ d(e.div, {
|
|
88
|
+
ref: y,
|
|
89
|
+
initial: {
|
|
90
|
+
opacity: 0,
|
|
91
|
+
y: 6,
|
|
92
|
+
scale: .96
|
|
93
|
+
},
|
|
94
|
+
animate: {
|
|
95
|
+
opacity: 1,
|
|
96
|
+
y: 0,
|
|
97
|
+
scale: 1
|
|
98
|
+
},
|
|
99
|
+
exit: {
|
|
100
|
+
opacity: 0,
|
|
101
|
+
y: 6,
|
|
102
|
+
scale: .96
|
|
103
|
+
},
|
|
104
|
+
transition: {
|
|
105
|
+
duration: .14,
|
|
106
|
+
ease: "easeOut"
|
|
107
|
+
},
|
|
108
|
+
className: n("absolute bottom-full left-3 z-20 mb-2 flex origin-bottom-left flex-col", "h-105 w-95 max-w-[calc(100vw-24px)] overflow-hidden", "rounded-wx-lg border border-wx-border bg-wx-bg shadow-lg"),
|
|
109
|
+
role: "dialog",
|
|
110
|
+
"aria-label": v("title"),
|
|
111
|
+
children: [
|
|
112
|
+
/* @__PURE__ */ d("div", {
|
|
113
|
+
className: "flex items-center gap-2 border-wx-border border-b px-3 py-2",
|
|
114
|
+
children: [
|
|
115
|
+
/* @__PURE__ */ u(a, {
|
|
116
|
+
"aria-hidden": "true",
|
|
117
|
+
className: "size-4 shrink-0 text-wx-fg-subtle"
|
|
118
|
+
}),
|
|
119
|
+
/* @__PURE__ */ u("input", {
|
|
120
|
+
type: "text",
|
|
121
|
+
value: w,
|
|
122
|
+
onChange: (e) => T(e.target.value),
|
|
123
|
+
placeholder: v("searchPlaceholder"),
|
|
124
|
+
"aria-label": v("searchPlaceholder"),
|
|
125
|
+
autoFocus: !0,
|
|
126
|
+
className: "min-w-0 flex-1 bg-transparent text-sm text-wx-fg placeholder:text-wx-fg-subtle focus:outline-none"
|
|
127
|
+
}),
|
|
128
|
+
w && /* @__PURE__ */ u("button", {
|
|
129
|
+
type: "button",
|
|
130
|
+
onClick: () => T(""),
|
|
131
|
+
"aria-label": v("clear"),
|
|
132
|
+
className: "shrink-0 rounded-full p-0.5 text-wx-fg-subtle transition-colors hover:bg-wx-bg-elevated-2 hover:text-wx-fg",
|
|
133
|
+
children: /* @__PURE__ */ u(i, {
|
|
134
|
+
"aria-hidden": "true",
|
|
135
|
+
className: "size-3.5"
|
|
136
|
+
})
|
|
137
|
+
})
|
|
138
|
+
]
|
|
139
|
+
}),
|
|
140
|
+
/* @__PURE__ */ u("div", {
|
|
141
|
+
className: "px-3 py-2",
|
|
142
|
+
children: /* @__PURE__ */ u("div", {
|
|
143
|
+
className: "flex rounded-full bg-wx-bg-elevated-2 p-0.5",
|
|
144
|
+
children: ["GIF", "STICKER"].map((t) => {
|
|
145
|
+
let r = S === t;
|
|
146
|
+
return /* @__PURE__ */ d("button", {
|
|
147
|
+
type: "button",
|
|
148
|
+
onClick: () => I(t),
|
|
149
|
+
"aria-pressed": r,
|
|
150
|
+
className: "relative flex-1 rounded-full px-3.5 py-1 text-center font-medium text-[13px] transition-colors",
|
|
151
|
+
children: [r && /* @__PURE__ */ u(e.span, {
|
|
152
|
+
layoutId: "giphyTabPill",
|
|
153
|
+
transition: {
|
|
154
|
+
type: "spring",
|
|
155
|
+
stiffness: 400,
|
|
156
|
+
damping: 32
|
|
157
|
+
},
|
|
158
|
+
className: "absolute inset-0 rounded-full bg-wx-bg shadow-sm"
|
|
159
|
+
}), /* @__PURE__ */ u("span", {
|
|
160
|
+
className: n("relative z-10", r ? "text-wx-fg" : "text-wx-fg-muted"),
|
|
161
|
+
children: v(t === "GIF" ? "tabGifs" : "tabStickers")
|
|
162
|
+
})]
|
|
163
|
+
}, t);
|
|
164
|
+
})
|
|
165
|
+
})
|
|
166
|
+
}),
|
|
167
|
+
/* @__PURE__ */ u("div", {
|
|
168
|
+
ref: b,
|
|
169
|
+
className: "relative flex-1 overflow-y-auto px-3",
|
|
170
|
+
children: A === "loading" ? /* @__PURE__ */ u("div", {
|
|
171
|
+
className: "flex h-full items-center justify-center",
|
|
172
|
+
children: /* @__PURE__ */ u("div", { className: "size-5 animate-spin rounded-full border-2 border-wx-border border-t-wx-primary" })
|
|
173
|
+
}) : A === "error" ? /* @__PURE__ */ d("div", {
|
|
174
|
+
className: "flex h-full flex-col items-center justify-center gap-2 text-center",
|
|
175
|
+
children: [/* @__PURE__ */ u("p", {
|
|
176
|
+
className: "text-sm text-wx-fg-muted",
|
|
177
|
+
children: v("error")
|
|
178
|
+
}), /* @__PURE__ */ u("button", {
|
|
179
|
+
type: "button",
|
|
180
|
+
onClick: () => F(!0),
|
|
181
|
+
className: "font-medium text-[13px] text-wx-primary hover:underline",
|
|
182
|
+
children: v("retry")
|
|
183
|
+
})]
|
|
184
|
+
}) : O.length === 0 ? /* @__PURE__ */ u("div", {
|
|
185
|
+
className: "flex h-full items-center justify-center",
|
|
186
|
+
children: /* @__PURE__ */ u("p", {
|
|
187
|
+
className: "text-sm text-wx-fg-muted",
|
|
188
|
+
children: v("empty")
|
|
189
|
+
})
|
|
190
|
+
}) : /* @__PURE__ */ d("div", {
|
|
191
|
+
className: n("columns-2 gap-2 py-1", S === "STICKER" && "[&_img]:bg-wx-bg-elevated-2"),
|
|
192
|
+
children: [
|
|
193
|
+
O.map((e) => /* @__PURE__ */ u("button", {
|
|
194
|
+
type: "button",
|
|
195
|
+
onClick: () => {
|
|
196
|
+
g(e, S), m();
|
|
197
|
+
},
|
|
198
|
+
className: "mb-2 block w-full overflow-hidden rounded-wx-sm transition-opacity hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-wx-primary",
|
|
199
|
+
children: /* @__PURE__ */ u("img", {
|
|
200
|
+
src: e.previewUrl,
|
|
201
|
+
alt: e.title,
|
|
202
|
+
width: e.previewWidth,
|
|
203
|
+
height: e.previewHeight,
|
|
204
|
+
loading: "lazy",
|
|
205
|
+
className: "block h-auto w-full"
|
|
206
|
+
})
|
|
207
|
+
}, e.id)),
|
|
208
|
+
/* @__PURE__ */ u("div", {
|
|
209
|
+
ref: x,
|
|
210
|
+
className: "h-1 w-full"
|
|
211
|
+
}),
|
|
212
|
+
A === "loadingMore" && /* @__PURE__ */ u("div", {
|
|
213
|
+
className: "flex justify-center py-2",
|
|
214
|
+
children: /* @__PURE__ */ u("div", { className: "size-4 animate-spin rounded-full border-2 border-wx-border border-t-wx-primary" })
|
|
215
|
+
})
|
|
216
|
+
]
|
|
217
|
+
})
|
|
218
|
+
}),
|
|
219
|
+
/* @__PURE__ */ u("div", {
|
|
220
|
+
className: "border-wx-border border-t px-3 py-1.5 text-center text-[10px] text-wx-fg-subtle",
|
|
221
|
+
children: v("poweredBy")
|
|
222
|
+
})
|
|
223
|
+
]
|
|
224
|
+
}) });
|
|
225
|
+
}
|
|
226
|
+
//#endregion
|
|
227
|
+
export { p as GiphyPicker };
|
|
228
|
+
|
|
229
|
+
//# sourceMappingURL=widget-react-CuphoFsN.js.map
|
|
@@ -160,77 +160,64 @@ var e = {
|
|
|
160
160
|
visitorName: "You",
|
|
161
161
|
messages: {
|
|
162
162
|
"m-demo-1": {
|
|
163
|
-
text: "Hi there 👋
|
|
164
|
-
ageLabel: "
|
|
163
|
+
text: "Hi there 👋 I'm Gaia, the Wexio AI. What can I help you with?",
|
|
164
|
+
ageLabel: "9:41 AM",
|
|
165
165
|
buttons: [
|
|
166
166
|
"How does pricing work?",
|
|
167
|
-
"What
|
|
167
|
+
"What can it do?",
|
|
168
168
|
"Talk to a human"
|
|
169
169
|
]
|
|
170
170
|
},
|
|
171
171
|
"m-demo-2": {
|
|
172
|
-
text: "
|
|
173
|
-
ageLabel: "
|
|
172
|
+
text: "Can you show me what the widget looks like?",
|
|
173
|
+
ageLabel: "9:41 AM"
|
|
174
174
|
},
|
|
175
175
|
"m-demo-3": {
|
|
176
|
-
text: "
|
|
177
|
-
ageLabel: "
|
|
176
|
+
text: "",
|
|
177
|
+
ageLabel: "9:42 AM",
|
|
178
|
+
mediaAlts: ["Product screenshot"]
|
|
178
179
|
},
|
|
179
180
|
"m-demo-4": {
|
|
180
|
-
text: "Here's a screenshot of the dashboard theme controls 👇",
|
|
181
|
-
ageLabel: "4h",
|
|
182
|
-
mediaAlts: ["Dashboard theme controls"]
|
|
183
|
-
},
|
|
184
|
-
"m-demo-gallery-captioned": {
|
|
185
|
-
text: "Three real installs we shipped last week - different industries, same setup time.",
|
|
186
|
-
ageLabel: "4h",
|
|
187
|
-
mediaAlts: [
|
|
188
|
-
"SaaS dashboard install",
|
|
189
|
-
"E-commerce checkout install",
|
|
190
|
-
"Docs site install"
|
|
191
|
-
]
|
|
192
|
-
},
|
|
193
|
-
"m-demo-gallery-bare": {
|
|
194
181
|
text: "",
|
|
195
|
-
ageLabel: "
|
|
196
|
-
mediaAlts: [
|
|
197
|
-
"My setup, frame 1",
|
|
198
|
-
"My setup, frame 2",
|
|
199
|
-
"My setup, frame 3",
|
|
200
|
-
"My setup, frame 4"
|
|
201
|
-
]
|
|
182
|
+
ageLabel: "9:42 AM",
|
|
183
|
+
mediaAlts: ["Spinning globe"]
|
|
202
184
|
},
|
|
203
185
|
"m-demo-5": {
|
|
204
|
-
text: "
|
|
205
|
-
ageLabel: "
|
|
206
|
-
mediaAlts: ["Widget walkthrough"]
|
|
186
|
+
text: "Nice one! 😄 Here are a few views from our team.",
|
|
187
|
+
ageLabel: "9:43 AM"
|
|
207
188
|
},
|
|
208
189
|
"m-demo-6": {
|
|
209
|
-
text: "
|
|
210
|
-
ageLabel: "
|
|
190
|
+
text: "A few dashboard highlights",
|
|
191
|
+
ageLabel: "9:43 AM",
|
|
192
|
+
mediaAlts: [
|
|
193
|
+
"Dashboard overview",
|
|
194
|
+
"Analytics",
|
|
195
|
+
"Inbox",
|
|
196
|
+
"Reports"
|
|
197
|
+
]
|
|
211
198
|
},
|
|
212
199
|
"m-demo-7": {
|
|
213
|
-
text: "
|
|
214
|
-
ageLabel: "
|
|
215
|
-
mediaAlts: ["
|
|
200
|
+
text: "",
|
|
201
|
+
ageLabel: "9:44 AM",
|
|
202
|
+
mediaAlts: ["Quick walkthrough"]
|
|
216
203
|
},
|
|
217
204
|
"m-demo-8": {
|
|
218
|
-
text: "
|
|
219
|
-
ageLabel: "
|
|
220
|
-
mediaAlts: ["
|
|
205
|
+
text: "",
|
|
206
|
+
ageLabel: "9:44 AM",
|
|
207
|
+
mediaAlts: ["Voice note"]
|
|
221
208
|
},
|
|
222
209
|
"m-demo-9": {
|
|
223
|
-
text: "
|
|
224
|
-
ageLabel: "
|
|
210
|
+
text: "",
|
|
211
|
+
ageLabel: "9:45 AM",
|
|
212
|
+
mediaAlts: ["Getting started guide"]
|
|
225
213
|
},
|
|
226
214
|
"m-demo-10": {
|
|
227
|
-
text: "
|
|
228
|
-
ageLabel: "
|
|
215
|
+
text: "Ready to try it yourself?",
|
|
216
|
+
ageLabel: "9:45 AM",
|
|
229
217
|
buttons: [
|
|
230
|
-
"
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"💬 Keep chatting here"
|
|
218
|
+
"Open sandbox",
|
|
219
|
+
"Book a call",
|
|
220
|
+
"Keep chatting"
|
|
234
221
|
]
|
|
235
222
|
}
|
|
236
223
|
}
|
|
@@ -254,9 +241,14 @@ var e = {
|
|
|
254
241
|
human: { text: "Of course - looping in Alex from the team. They'll respond within a few minutes during business hours." },
|
|
255
242
|
fallback: { text: "Got it - let me check on that and circle back in a moment." }
|
|
256
243
|
}
|
|
244
|
+
},
|
|
245
|
+
threads: {
|
|
246
|
+
main: "Ready to try it yourself?",
|
|
247
|
+
billing: "Thanks! I flagged your invoice question to the billing team.",
|
|
248
|
+
integrations: "How do I connect WhatsApp to my account?"
|
|
257
249
|
}
|
|
258
250
|
};
|
|
259
251
|
//#endregion
|
|
260
252
|
export { e as default };
|
|
261
253
|
|
|
262
|
-
//# sourceMappingURL=widget-react-
|
|
254
|
+
//# sourceMappingURL=widget-react-D8Z8cGhJ.js.map
|
|
@@ -23,77 +23,64 @@ var e = {
|
|
|
23
23
|
visitorName: "Ви",
|
|
24
24
|
messages: {
|
|
25
25
|
"m-demo-1": {
|
|
26
|
-
text: "
|
|
27
|
-
ageLabel: "
|
|
26
|
+
text: "Привіт 👋 Я Gaia, AI від Wexio. Чим можу допомогти?",
|
|
27
|
+
ageLabel: "9:41",
|
|
28
28
|
buttons: [
|
|
29
|
-
"
|
|
30
|
-
"Що
|
|
31
|
-
"
|
|
29
|
+
"Скільки коштує?",
|
|
30
|
+
"Що воно вміє?",
|
|
31
|
+
"Покликати людину"
|
|
32
32
|
]
|
|
33
33
|
},
|
|
34
34
|
"m-demo-2": {
|
|
35
|
-
text: "
|
|
36
|
-
ageLabel: "
|
|
35
|
+
text: "Покажете, який вигляд має віджет?",
|
|
36
|
+
ageLabel: "9:41"
|
|
37
37
|
},
|
|
38
38
|
"m-demo-3": {
|
|
39
|
-
text: "
|
|
40
|
-
ageLabel: "
|
|
39
|
+
text: "",
|
|
40
|
+
ageLabel: "9:42",
|
|
41
|
+
mediaAlts: ["Скріншот продукту"]
|
|
41
42
|
},
|
|
42
43
|
"m-demo-4": {
|
|
43
|
-
text: "Ось знімок екрана з елементами керування темою на панелі 👇",
|
|
44
|
-
ageLabel: "4 год",
|
|
45
|
-
mediaAlts: ["Елементи керування темою на панелі"]
|
|
46
|
-
},
|
|
47
|
-
"m-demo-gallery-captioned": {
|
|
48
|
-
text: "Три реальні впровадження, які ми запустили минулого тижня - різні галузі, однаковий час налаштування.",
|
|
49
|
-
ageLabel: "4 год",
|
|
50
|
-
mediaAlts: [
|
|
51
|
-
"Впровадження в SaaS-панелі",
|
|
52
|
-
"Впровадження в оформленні замовлення e-commerce",
|
|
53
|
-
"Впровадження на сайті документації"
|
|
54
|
-
]
|
|
55
|
-
},
|
|
56
|
-
"m-demo-gallery-bare": {
|
|
57
44
|
text: "",
|
|
58
|
-
ageLabel: "
|
|
59
|
-
mediaAlts: [
|
|
60
|
-
"Моє налаштування, кадр 1",
|
|
61
|
-
"Моє налаштування, кадр 2",
|
|
62
|
-
"Моє налаштування, кадр 3",
|
|
63
|
-
"Моє налаштування, кадр 4"
|
|
64
|
-
]
|
|
45
|
+
ageLabel: "9:42",
|
|
46
|
+
mediaAlts: ["Планета, що обертається"]
|
|
65
47
|
},
|
|
66
48
|
"m-demo-5": {
|
|
67
|
-
text: "
|
|
68
|
-
ageLabel: "
|
|
69
|
-
mediaAlts: ["Огляд віджета"]
|
|
49
|
+
text: "Клас! 😄 Ось кілька виглядів від нашої команди.",
|
|
50
|
+
ageLabel: "9:43"
|
|
70
51
|
},
|
|
71
52
|
"m-demo-6": {
|
|
72
|
-
text: "
|
|
73
|
-
ageLabel: "
|
|
53
|
+
text: "Кілька моментів з дашборду",
|
|
54
|
+
ageLabel: "9:43",
|
|
55
|
+
mediaAlts: [
|
|
56
|
+
"Огляд дашборду",
|
|
57
|
+
"Аналітика",
|
|
58
|
+
"Інбокс",
|
|
59
|
+
"Звіти"
|
|
60
|
+
]
|
|
74
61
|
},
|
|
75
62
|
"m-demo-7": {
|
|
76
|
-
text: "
|
|
77
|
-
ageLabel: "
|
|
78
|
-
mediaAlts: ["
|
|
63
|
+
text: "",
|
|
64
|
+
ageLabel: "9:44",
|
|
65
|
+
mediaAlts: ["Короткий огляд"]
|
|
79
66
|
},
|
|
80
67
|
"m-demo-8": {
|
|
81
|
-
text: "
|
|
82
|
-
ageLabel: "
|
|
83
|
-
mediaAlts: ["
|
|
68
|
+
text: "",
|
|
69
|
+
ageLabel: "9:44",
|
|
70
|
+
mediaAlts: ["Голосове повідомлення"]
|
|
84
71
|
},
|
|
85
72
|
"m-demo-9": {
|
|
86
|
-
text: "
|
|
87
|
-
ageLabel: "
|
|
73
|
+
text: "",
|
|
74
|
+
ageLabel: "9:45",
|
|
75
|
+
mediaAlts: ["Гайд для старту"]
|
|
88
76
|
},
|
|
89
77
|
"m-demo-10": {
|
|
90
|
-
text: "
|
|
91
|
-
ageLabel: "
|
|
78
|
+
text: "Готові спробувати самі?",
|
|
79
|
+
ageLabel: "9:45",
|
|
92
80
|
buttons: [
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"💬 Продовжити спілкування тут"
|
|
81
|
+
"Відкрити пісочницю",
|
|
82
|
+
"Забронювати дзвінок",
|
|
83
|
+
"Продовжити чат"
|
|
97
84
|
]
|
|
98
85
|
}
|
|
99
86
|
}
|
|
@@ -117,9 +104,14 @@ var e = {
|
|
|
117
104
|
human: { text: "Звісно - підключаю Алекса з команди. Він відповість за кілька хвилин у робочі години." },
|
|
118
105
|
fallback: { text: "Зрозуміло - перевірю це й невдовзі повернуся з відповіддю." }
|
|
119
106
|
}
|
|
107
|
+
},
|
|
108
|
+
threads: {
|
|
109
|
+
main: "Готові спробувати самі?",
|
|
110
|
+
billing: "Дякую! Я передав ваше питання щодо рахунку команді білінгу.",
|
|
111
|
+
integrations: "Як підключити WhatsApp до мого акаунту?"
|
|
120
112
|
}
|
|
121
113
|
};
|
|
122
114
|
//#endregion
|
|
123
115
|
export { e as default };
|
|
124
116
|
|
|
125
|
-
//# sourceMappingURL=widget-react-
|
|
117
|
+
//# sourceMappingURL=widget-react-DSUX0aJn.js.map
|