@wexio/messenger-widget-react 1.1.5 → 1.2.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.
Files changed (57) hide show
  1. package/dist/widget-react--D5-TDqS.js +475 -0
  2. package/dist/{widget-react-D9b9f-j_2.js → widget-react-2tTH7-bO.js} +1 -1
  3. package/dist/{widget-react-GkCAcRz0.js → widget-react-B8rXZyxg.js} +1 -1
  4. package/dist/widget-react-B9X7Tn7t.js +125 -0
  5. package/dist/{widget-react-D7Q1S5E02.js → widget-react-BPNfTldJ.js} +134 -121
  6. package/dist/{widget-react-NffhFueH.js → widget-react-BlTmXnei.js} +2 -2
  7. package/dist/{widget-react-D_1wQTaz.js → widget-react-CIy9jXND.js} +2 -2
  8. package/dist/widget-react-CVLHwRZh.js +21619 -0
  9. package/dist/{widget-react-DWO5MXt62.js → widget-react-CtvdaJvy.js} +5 -5
  10. package/dist/widget-react-D8-Z8fvu.js +323 -0
  11. package/dist/{widget-react-NUWScxeE2.js → widget-react-DF5yY9sQ.js} +120 -108
  12. package/dist/widget-react-DNFROpaS.js +262 -0
  13. package/dist/{widget-react-BhdM1EXE2.js → widget-react-DXP6EOCM.js} +1 -1
  14. package/dist/{widget-react-BDd1HJHs.js → widget-react-DejnNTzJ.js} +36 -36
  15. package/dist/{widget-react-Br8qtj152.js → widget-react-DubCiNev.js} +5 -5
  16. package/dist/{widget-react-BVRYDaf5.js → widget-react-faSyVXFQ.js} +2 -2
  17. package/dist/{widget-react-BGCZpMUT.js → widget-react-krPPnv02.js} +1 -1
  18. package/dist/widget-react.js +14513 -6394
  19. package/package.json +1 -1
  20. package/dist/widget-react--A4IVF5N2.js +0 -359
  21. package/dist/widget-react-BFgpQWPW.js +0 -7733
  22. package/dist/widget-react-BGmjRit12.js +0 -359
  23. package/dist/widget-react-BJN4_XqD.js +0 -359
  24. package/dist/widget-react-BepZON2O.js +0 -359
  25. package/dist/widget-react-BirV4fjr.js +0 -359
  26. package/dist/widget-react-BjeN5jDi.js +0 -359
  27. package/dist/widget-react-Blj9taMI2.js +0 -359
  28. package/dist/widget-react-Bpjcku_E.js +0 -359
  29. package/dist/widget-react-Br-jpQBt.js +0 -359
  30. package/dist/widget-react-C4jVLX4O.js +0 -359
  31. package/dist/widget-react-CMn2M4G7.js +0 -359
  32. package/dist/widget-react-CPIqSc_J.js +0 -359
  33. package/dist/widget-react-CPnUEeex.js +0 -9907
  34. package/dist/widget-react-CVrATfkA.js +0 -359
  35. package/dist/widget-react-CeQaem4N2.js +0 -126
  36. package/dist/widget-react-CkDPMun5.js +0 -359
  37. package/dist/widget-react-Cp0KM0D6.js +0 -359
  38. package/dist/widget-react-Cs_ooZdD.js +0 -359
  39. package/dist/widget-react-Csr68eN1.js +0 -359
  40. package/dist/widget-react-CxzW4Bam.js +0 -359
  41. package/dist/widget-react-D00lhVJW.js +0 -359
  42. package/dist/widget-react-DM5ptbez2.js +0 -359
  43. package/dist/widget-react-DU5Wg6Cl.js +0 -359
  44. package/dist/widget-react-DYBhHaDC.js +0 -359
  45. package/dist/widget-react-DZxVgDlM2.js +0 -359
  46. package/dist/widget-react-Dhi-efUB2.js +0 -359
  47. package/dist/widget-react-DmQP1bcj.js +0 -4293
  48. package/dist/widget-react-Dvze5gXC.js +0 -359
  49. package/dist/widget-react-H0QV1X13.js +0 -359
  50. package/dist/widget-react-JcQ9Xwb6.js +0 -359
  51. package/dist/widget-react-LjYTh4EJ.js +0 -359
  52. package/dist/widget-react-M3D_BLuT.js +0 -359
  53. package/dist/widget-react-O_BU6qSC.js +0 -359
  54. package/dist/widget-react-TB2Eoyvi2.js +0 -263
  55. package/dist/widget-react-WSHbDgKs.js +0 -359
  56. package/dist/widget-react-_6vfCiAZ.js +0 -359
  57. package/dist/widget-react-e8MoPThS2.js +0 -359
@@ -1,359 +0,0 @@
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 { x as e } from "./widget-react-B9XrHKqv.js";
15
- //#region messages/en.json
16
- var t = /* @__PURE__ */ e({
17
- article: () => m,
18
- authError: () => _,
19
- branding: () => f,
20
- default: () => y,
21
- header: () => r,
22
- help: () => c,
23
- home: () => a,
24
- languageSelector: () => d,
25
- launcher: () => i,
26
- lightbox: () => g,
27
- messages: () => o,
28
- news: () => l,
29
- peek: () => h,
30
- prechat: () => s,
31
- profile: () => v,
32
- reactions: () => u,
33
- sound: () => p,
34
- tabs: () => n
35
- }), n = {
36
- home: "Home",
37
- messages: "Messages",
38
- help: "Help",
39
- news: "News",
40
- profile: "Profile"
41
- }, r = {
42
- close: "Close",
43
- back: "Back",
44
- conversationSubtitle: "Our team can also help",
45
- helpTitle: "Help",
46
- newsTitle: "News",
47
- expand: "Expand widget",
48
- collapse: "Collapse widget"
49
- }, i = {
50
- open: "Open chat",
51
- close: "Close chat",
52
- loading: "Connecting…"
53
- }, a = {
54
- greetingHeadline: "Hi there 👋",
55
- greetingSubheadline: "How can we help?",
56
- askTitle: "Ask a question",
57
- askSubtitle: "Our bot and team can help",
58
- recentMessageLabel: "Recent message",
59
- recentMessageTitle: "Recent message",
60
- recentMessageFromFallback: "Gaia",
61
- recentMessageAgo: "4h",
62
- recentMessageSample: "Hi there 👋 Thanks for reaching out - we'll be right back with you.",
63
- featuredArticleLoading: "Featured article",
64
- featuredArticleTap: "Tap to read",
65
- featuredArticleEmpty: "Pick an article",
66
- featuredArticleSetUp: "Configure this block in your dashboard",
67
- featuredArticleDemoEyebrow: "Pioneer · Save the date",
68
- featuredArticleDemoHeadline: "October 8, 2026",
69
- featuredArticleDemoSubline: "San Francisco · In-person + virtual",
70
- featuredArticleDemoCta: "See the launch agenda",
71
- seeAgenda: "See the launch agenda",
72
- browseHelp: "Browse Help",
73
- whatsNew: "What's new",
74
- searchPlaceholder: "Search for help",
75
- pinnedArticlesTitle: "Read these first",
76
- popularArticlesTitle: "Popular articles",
77
- pinnedArticleRow: "Pinned article {n}",
78
- newsPreviewTitle: "Latest news",
79
- newsPreviewRow: "News update {n}",
80
- myConversationsTitle: "Your conversations",
81
- myConversationsEmpty: "View your conversations",
82
- teamStatusOnline: "We're online",
83
- teamStatusReplyTime: "Usually replies in a few minutes"
84
- }, o = {
85
- today: "Today",
86
- yesterday: "Yesterday",
87
- unreadMessages: "Unread messages",
88
- emptyTitle: "No messages yet",
89
- emptyBody: "Start a conversation and our team will get back to you here.",
90
- sendCta: "Send us a message",
91
- attach: "Attach a file",
92
- commands: "Quick commands",
93
- record: "Record a voice message",
94
- stopRecording: "Stop recording",
95
- recording: "Recording…",
96
- uploading: "Uploading…",
97
- uploadFailed: "Upload failed",
98
- voiceDenied: "Microphone access denied",
99
- voiceUnsupported: "Voice recording isn't supported in this browser",
100
- fileTooLarge: "File is too large (max 10MB)",
101
- fileMimeNotAllowed: "This file type isn't supported",
102
- emoji: "Insert emoji",
103
- cancelRecording: "Cancel recording",
104
- pauseRecording: "Pause recording",
105
- resumeRecording: "Resume recording",
106
- playPreview: "Play recording",
107
- emojiPicker: "Emoji picker",
108
- emojiSearch: "Search…",
109
- playAudio: "Play",
110
- pauseAudio: "Pause",
111
- openAudio: "Open audio",
112
- removeAttachment: "Remove",
113
- aiAssistant: "AI assistant",
114
- operator: "Operator",
115
- openImage: "Open image",
116
- openPreview: "Open preview",
117
- play: "Play",
118
- pause: "Pause",
119
- typing: "typing…",
120
- aiThinking: "thinking…",
121
- aiSearching: "browsing…",
122
- typingSomeone: "Someone",
123
- signInToChat: "Please sign in to start the conversation.",
124
- signInUnavailable: "Sign-in is not available right now.",
125
- googleSignIn: "Sign in with Google",
126
- passkeySignIn: "Sign in with a passkey",
127
- passkeyRegister: "First time? Set up a passkey",
128
- passkeyError: "Couldn't sign in. Please try again.",
129
- passkeyNoCredential: "No passkey on this device yet — tap “Set up a passkey” to create one.",
130
- googleSignInDemo: "Continue with Google",
131
- connectingOperator: "An operator has been assigned, please wait…",
132
- assignment: { eta: {
133
- minutes: "An operator will reply in about {minutes} min",
134
- soft: "We usually reply within a few minutes",
135
- businessHours: "The team will be back at {time}"
136
- } },
137
- withOperator: "You're now chatting with {name}",
138
- operatorConnected: "Operator connected",
139
- chatResolved: "Conversation resolved",
140
- chatResolvedByYou: "Conversation resolved by you",
141
- chatResolvedByOperator: "Conversation resolved by {name}",
142
- resolveConversation: "Resolve conversation"
143
- }, s = {
144
- title: "Before we start",
145
- subtitle: "A few quick details so our team can help you faster.",
146
- labelName: "Name",
147
- labelEmail: "Email",
148
- labelPhone: "Phone",
149
- labelCustom: "Details",
150
- required: "Required",
151
- invalidEmail: "Please enter a valid email",
152
- invalidPhone: "Please enter a valid phone number",
153
- submit: "Continue",
154
- submitFailed: "Couldn't submit - please try again."
155
- }, c = {
156
- searchPlaceholder: "Search for help",
157
- emptyTitle: "No articles yet",
158
- emptyBody: "Your operator hasn't published anything yet.",
159
- back: "Back",
160
- helpful: "Was this helpful?",
161
- yes: "Yes",
162
- no: "No",
163
- thanks: "Thanks for the feedback.",
164
- unresolvedCta: "Still need help? Message us",
165
- noResults: "No results",
166
- articleNotFound: "Article not found",
167
- articleNotTranslated: "This article isn't available in your language yet.",
168
- writtenBy: "Written by {names}",
169
- relatedTitle: "Related articles",
170
- collectionsCount: "{count, plural, =0 {No collections} one {# collection} other {# collections}}",
171
- articlesCount: "{count, plural, =0 {No articles} one {Articles: #} other {Articles: #}}",
172
- authorsByline: "Authors {first}{remaining, plural, =0 {} one { and # more} other { and # more}}"
173
- }, l = {
174
- unread: "Unread news",
175
- emptyTitle: "No updates yet",
176
- emptyBody: "Check back here for product news and announcements.",
177
- helpful: "Was this article helpful?",
178
- yes: "Yes",
179
- no: "No",
180
- thanks: "Thanks for the feedback.",
181
- searchPlaceholder: "Search news",
182
- noResults: "No matching posts",
183
- editedAt: "edited {when}",
184
- articleNotFound: "Article not found.",
185
- articleNotTranslated: "This post isn't available in your language yet.",
186
- readOriginal: "Read the original",
187
- relatedTitle: "Related",
188
- writtenBy: "Written by {names}"
189
- }, u = {
190
- ariaLabel: "Reactions",
191
- tapAria: "React with {emoji}"
192
- }, d = {
193
- title: "Read in another language",
194
- ariaLabel: "Article languages"
195
- }, f = {
196
- poweredBy: "Powered by",
197
- wexio: "Wexio"
198
- }, p = {
199
- mute: "Mute notification sounds",
200
- unmute: "Unmute notification sounds"
201
- }, m = {
202
- tableOfContents: "Table of contents",
203
- tabFallback: "Tab {n}"
204
- }, h = {
205
- newMessage: "New message",
206
- dismiss: "Dismiss",
207
- aiAssistant: "AI assistant",
208
- operator: "Operator"
209
- }, g = {
210
- mediaPreview: "Media preview",
211
- close: "Close preview",
212
- previous: "Previous",
213
- next: "Next"
214
- }, _ = {
215
- turnstileTitle: "Couldn't verify your browser",
216
- turnstileBody: "We weren't able to complete the security check. This is sometimes a network or ad-blocker issue — try again, or reload the page.",
217
- genericTitle: "Couldn't connect",
218
- genericBody: "Something went wrong while signing you in. Please try again in a moment.",
219
- retry: "Try again",
220
- dismiss: "Dismiss"
221
- }, v = {
222
- title: "Your profile",
223
- subtitle: "Update your info and how the widget behaves.",
224
- uploadAvatar: "Change photo",
225
- removeAvatar: "Remove photo",
226
- avatarUploading: "Uploading…",
227
- preferencesHeading: "Preferences",
228
- preferenceLanguage: "Language",
229
- preferenceDesktopNotifications: "Desktop notifications",
230
- preferenceDesktopNotificationsHint: "Get a system notification when the widget isn't focused.",
231
- preferenceThemeMode: "Theme",
232
- themeAuto: "Match system",
233
- themeLight: "Light",
234
- themeDark: "Dark",
235
- themeLocked: "Theme is set by the operator.",
236
- pinnedHint: "Set by the operator — not editable.",
237
- requiredHint: "Required",
238
- invalidEmail: "Please enter a valid email address.",
239
- invalidPhone: "Use international format, e.g. +14155552671.",
240
- noFields: "There's nothing to edit here yet.",
241
- save: "Save changes",
242
- saving: "Saving…",
243
- cancel: "Discard",
244
- saved: "Changes saved.",
245
- loading: "Loading profile…",
246
- loadError: "Couldn't load your profile. Please try again.",
247
- retry: "Retry",
248
- errorFieldNotAllowed: "This field isn't editable in this widget. Try refreshing.",
249
- errorFieldPinned: "This field is locked by your account.",
250
- errorFieldInvalid: "Some values aren't valid. Check the highlighted fields.",
251
- errorThemeLocked: "Theme is locked by the operator.",
252
- errorFeatureDisabled: "Profile editing has been turned off by the operator.",
253
- errorGeneric: "Couldn't save your changes. Please try again.",
254
- notificationsBlocked: "Notifications are blocked by the browser. Update site permissions to enable.",
255
- notificationsRequest: "Allow notifications when prompted to enable this.",
256
- systemFields: {
257
- avatar: "Photo",
258
- wexioId: "Wexio ID",
259
- telegramId: "Telegram ID",
260
- whatsappId: "WhatsApp ID",
261
- viberId: "Viber ID",
262
- instagramId: "Instagram ID",
263
- optInWhatsapp: "WhatsApp opt-in",
264
- webVerified: "Verified visitor",
265
- firstName: "First name",
266
- lastName: "Last name",
267
- username: "Username",
268
- language: "Language",
269
- email: "Email",
270
- phone: "Phone",
271
- company: "Company",
272
- location: "Location",
273
- isValid: "Account valid",
274
- chatStatus: "Chat status",
275
- chatCategory: "Chat category",
276
- priority: "Priority",
277
- leadSource: "Lead source",
278
- leadStatus: "Lead status",
279
- interestLevel: "Interest level",
280
- productInterest: "Product interest",
281
- budgetRange: "Budget",
282
- purchaseTimeline: "Purchase timeline",
283
- lastMessageSentAt: "Last message sent",
284
- lastMessageReceivedAt: "Last message received",
285
- lastSeenAt: "Last seen",
286
- firstMessageReceivedAt: "First contact",
287
- isBlocked: "Blocked",
288
- registrationDate: "Registered",
289
- aiAvailable: "AI assistance",
290
- totalMessagesSent: "Messages sent",
291
- totalMessagesReceived: "Messages received",
292
- totalAiMessagesSent: "AI messages sent",
293
- totalBotMessagesSent: "Bot messages sent",
294
- totalUserMessagesSent: "Operator messages sent",
295
- flowCompletionRate: "Flow completion rate",
296
- lastFlowCompleted: "Last completed flow",
297
- totalFlowsStarted: "Flows started",
298
- totalFlowsCompleted: "Flows completed"
299
- },
300
- systemFieldOptions: {
301
- chatStatus: {
302
- ISSUE: "Issue",
303
- RESOLVED: "Resolved",
304
- PENDING: "Pending",
305
- IN_PROGRESS: "In progress",
306
- CLOSED: "Closed"
307
- },
308
- chatCategory: {
309
- SALES: "Sales",
310
- SUPPORT: "Support",
311
- BILLING: "Billing",
312
- FEEDBACK: "Feedback",
313
- GENERAL: "General",
314
- OTHER: "Other"
315
- },
316
- priority: {
317
- LOW: "Low",
318
- MEDIUM: "Medium",
319
- HIGH: "High",
320
- URGENT: "Urgent"
321
- },
322
- leadStatus: {
323
- NEW: "New",
324
- CONTACTED: "Contacted",
325
- QUALIFIED: "Qualified",
326
- NEGOTIATING: "Negotiating",
327
- WON: "Won",
328
- LOST: "Lost"
329
- },
330
- interestLevel: {
331
- LOW: "Low",
332
- MEDIUM: "Medium",
333
- HIGH: "High",
334
- VERY_HIGH: "Very high"
335
- }
336
- }
337
- }, y = {
338
- tabs: n,
339
- header: r,
340
- launcher: i,
341
- home: a,
342
- messages: o,
343
- prechat: s,
344
- help: c,
345
- news: l,
346
- reactions: u,
347
- languageSelector: d,
348
- branding: f,
349
- sound: p,
350
- article: m,
351
- peek: h,
352
- lightbox: g,
353
- authError: _,
354
- profile: v
355
- };
356
- //#endregion
357
- export { t as n, y as t };
358
-
359
- //# sourceMappingURL=widget-react-CPIqSc_J.js.map