@sendbird/ai-agent-messenger-react 1.17.0 → 1.18.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/dist/cjs/9pP8_kBW.cjs +1 -0
- package/dist/cjs/B9Q2LOZZ.cjs +1 -0
- package/dist/cjs/{CbkA2p0b.cjs → Bu3zzr6j.cjs} +1 -1
- package/dist/cjs/BuBoF2qI.cjs +1 -0
- package/dist/cjs/CZIjo9nb.cjs +1 -0
- package/dist/cjs/D11KPdOs.cjs +1 -0
- package/dist/cjs/DAF2JUxO.cjs +1 -0
- package/dist/cjs/DAP4nAvQ.cjs +1 -0
- package/dist/cjs/DBHlAmeA.cjs +1 -0
- package/dist/cjs/DEGDJBmd.cjs +1 -0
- package/dist/cjs/DXUsaL2W.cjs +330 -0
- package/dist/cjs/DqdBRt6e.cjs +1 -0
- package/dist/cjs/GQlGFYP2.cjs +1 -0
- package/dist/cjs/gbzRqe1a.cjs +1 -0
- package/dist/cjs/oKi8u6wj.cjs +1 -0
- package/dist/es/{CNexWEM3.js → 3LbHdnQ8.js} +20 -14
- package/dist/es/{CAEiRRZ2.js → BFTnuMEy.js} +19 -13
- package/dist/es/{DIXZOSKS.js → BSu_ZpXq.js} +17 -11
- package/dist/es/{DUaBaiMV.js → BatMiKXs.js} +18 -12
- package/dist/es/{BgPmlRRI.js → Bo9TA_Z-.js} +21 -15
- package/dist/es/{B3kItOVy.js → C60MlOyZ.js} +1 -1
- package/dist/es/{BTU2lQ0s.js → CeWycJIw.js} +24 -18
- package/dist/es/{BCQjlPPt.js → CjvNmTwL.js} +19 -13
- package/dist/es/Cv8qOSU6.js +5 -0
- package/dist/es/{81y7Pu9p.js → DJzTBusb.js} +17 -11
- package/dist/es/Dp48Y7fJ.js +5 -0
- package/dist/es/{BAb_pPqd.js → Dzr6sXdx.js} +2861 -2598
- package/dist/es/ewYUFKEK.js +5 -0
- package/dist/es/{lYZg4xku.js → hblOq7Ks.js} +18 -12
- package/dist/es/hu7PS5ZI.js +5 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +487 -27
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/C5lX5LQR.cjs +0 -1
- package/dist/cjs/CNa0-eAY.cjs +0 -1
- package/dist/cjs/CUee2Pmu.cjs +0 -1
- package/dist/cjs/D5vtBiPX.cjs +0 -1
- package/dist/cjs/DA_vneB6.cjs +0 -1
- package/dist/cjs/DKm5JuUx.cjs +0 -306
- package/dist/cjs/DPnOw54X.cjs +0 -1
- package/dist/cjs/YHH1eQbl.cjs +0 -1
- package/dist/cjs/e2wnpTfT.cjs +0 -1
- package/dist/cjs/mi34snx7.cjs +0 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as l from "react";
|
|
2
|
+
const c = (a) => /* @__PURE__ */ l.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...a }, /* @__PURE__ */ l.createElement("path", { className: "fill", d: "M37.333 2.667a3.305 3.305 0 0 1 .274.014l.085.01.058.008c.047.007.094.016.141.026l.029.007c.05.01.098.023.146.037l.034.01c.237.07.46.173.663.303l.034.022c.036.023.07.047.104.072l.057.043a2.646 2.646 0 0 1 .261.228l-.126-.117c.05.043.097.088.143.135L55.21 19.438c.047.046.091.094.134.143l.035.04c.026.032.052.063.076.096l.04.054.07.1.024.038c.16.253.279.535.347.836l.01.048c.009.043.017.086.024.13l.006.048.007.051.004.041c.01.09.014.18.014.27v32a8 8 0 0 1-8 8H16a8 8 0 0 1-8-8V10.667a8 8 0 0 1 8-8h21.333zM34.666 8H16a2.667 2.667 0 0 0-2.667 2.667v42.666A2.667 2.667 0 0 0 16 56h32a2.667 2.667 0 0 0 2.667-2.667L50.666 24H37.333a2.667 2.667 0 0 1-2.648-2.356l-.018-.31L34.666 8zm12.227 10.667-6.894-6.894.001 6.894h6.893z", fill: "#000", fillRule: "evenodd" }));
|
|
3
|
+
export {
|
|
4
|
+
c as default
|
|
5
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { es as
|
|
2
|
-
import { m as
|
|
1
|
+
import { es as _ } from "date-fns/locale/es";
|
|
2
|
+
import { m as n } from "./Dzr6sXdx.js";
|
|
3
3
|
const i = {
|
|
4
4
|
conversation: {
|
|
5
5
|
input_placeholder: "Hacer una pregunta",
|
|
@@ -24,7 +24,8 @@ const i = {
|
|
|
24
24
|
conversation_list: {
|
|
25
25
|
header_title: "Conversaciones",
|
|
26
26
|
ended: "Finalizado",
|
|
27
|
-
footer_title: "Iniciar una conversación"
|
|
27
|
+
footer_title: "Iniciar una conversación",
|
|
28
|
+
multiple_files_count: (e) => `${e} ${e === 1 ? "archivo" : "archivos"}`
|
|
28
29
|
},
|
|
29
30
|
date_format: {
|
|
30
31
|
just_now: "Ahora mismo",
|
|
@@ -70,8 +71,8 @@ const i = {
|
|
|
70
71
|
}, a = {
|
|
71
72
|
language: "es",
|
|
72
73
|
strings: i,
|
|
73
|
-
dateLocale:
|
|
74
|
-
}, o =
|
|
74
|
+
dateLocale: _
|
|
75
|
+
}, o = n(a.strings), s = {
|
|
75
76
|
...o,
|
|
76
77
|
// Channel Header
|
|
77
78
|
HEADER_BUTTON__AGENT_HANDOFF: "Conectarse con un agente",
|
|
@@ -83,16 +84,21 @@ const i = {
|
|
|
83
84
|
SUBMITTED: "Enviado",
|
|
84
85
|
TRY_AGAIN: "Por favor, inténtalo de nuevo.",
|
|
85
86
|
// File Upload
|
|
86
|
-
FILE_UPLOAD_NOTIFICATION__COUNT_LIMIT: "
|
|
87
|
+
FILE_UPLOAD_NOTIFICATION__COUNT_LIMIT: "Se pueden adjuntar hasta %d archivos.",
|
|
87
88
|
FILE_UPLOAD_NOTIFICATION__SIZE_LIMIT: "El tamaño máximo por archivo es de %d MB.",
|
|
89
|
+
FILE_UPLOAD_NOTIFICATION__FILES_EXCLUDED_BY_VALIDATION: "%d archivos fueron excluidos debido a los límites. Por favor, selecciona los archivos individualmente.",
|
|
90
|
+
FILE_UPLOAD_PHOTOS: "Fotos",
|
|
91
|
+
FILE_UPLOAD_FILES: "Archivos",
|
|
88
92
|
// File Viewer
|
|
89
93
|
FILE_VIEWER__UNSUPPORT: "Mensaje no compatible",
|
|
90
|
-
//
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
// Image Viewer
|
|
95
|
+
IMAGE_VIEWER__DEFAULT_TITLE: "Imagen",
|
|
96
|
+
// Accessibility
|
|
97
|
+
A11Y_IMAGE_VIEWER_CLOSE: "Cerrar visor de imágenes",
|
|
98
|
+
A11Y_IMAGE_VIEWER_PREVIOUS: "Imagen anterior",
|
|
99
|
+
A11Y_IMAGE_VIEWER_NEXT: "Imagen siguiente",
|
|
100
|
+
A11Y_IMAGE_VIEWER_DOWNLOAD: "Descargar imagen",
|
|
101
|
+
A11Y_ATTACH_FILE: "Adjuntar archivo",
|
|
96
102
|
// Form
|
|
97
103
|
FORM_UNAVAILABLE: "El formulario ya no está disponible.",
|
|
98
104
|
FORM_NOT_SUPPORTED: "Este formulario no es compatible con la versión actual.",
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as a from "react";
|
|
2
|
+
const l = (e) => /* @__PURE__ */ a.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...e }, /* @__PURE__ */ a.createElement("path", { fill: "#000", fillRule: "evenodd", d: "M50.667 5.333a8 8 0 0 1 8 8v37.334a8 8 0 0 1-8 8H13.333a8 8 0 0 1-8-8V13.333a8 8 0 0 1 8-8zm-8 25.107L19.77 53.332l30.896.001a2.667 2.667 0 0 0 2.661-2.498l.005-.168v-9.564L42.666 30.44zm8-19.773H13.333a2.667 2.667 0 0 0-2.666 2.666v37.334c0 1.143.72 2.119 1.731 2.498L40.781 24.78a2.668 2.668 0 0 1 3.52-.222l.251.222 8.78 8.78.001-20.228a2.667 2.667 0 0 0-2.498-2.661l-.168-.005zm-28 5.333a6.666 6.666 0 1 1 0 13.333 6.666 6.666 0 0 1 0-13.333zm0 5.333a1.334 1.334 0 1 0 0 2.667 1.334 1.334 0 0 0 0-2.667z", className: "fill" }));
|
|
3
|
+
export {
|
|
4
|
+
l as default
|
|
5
|
+
};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@sendbird/chat");const e=require("./cjs/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@sendbird/chat");const e=require("./cjs/DXUsaL2W.cjs");require("react");exports.AgentProviderContainer=e.AgentProviderContainer;exports.AgentUIProviderContainer=e.AgentUIProviderContainer;exports.AnonymousSessionInfo=e.AnonymousSessionInfo;exports.CSATType=e.CSATType;exports.Commands=e.DispatcherCommands;exports.Conversation=e.Conversation;exports.ConversationContext=e.ConversationContext;exports.ConversationContextProvider=e.ConversationContextProvider;exports.ConversationHeaderLayout=e.ConversationHeaderLayout;exports.ConversationLayout=e.ConversationLayout;exports.ConversationList=e.ConversationList;exports.ConversationListContext=e.ConversationListContext;exports.ConversationListContextProvider=e.ConversationListContextProvider;exports.ConversationListHeaderLayout=e.ConversationListHeaderLayout;exports.ConversationListItemLayout=e.ConversationListItemLayout;exports.ConversationListLayout=e.ConversationListLayout;exports.DefaultMessenger=e.DefaultMessenger;exports.FixedMessenger=e.FixedMessenger;exports.IncomingMessageLayout=e.IncomingMessageLayout;exports.LauncherBase=e.LauncherBase;exports.LogLevel=e.LogLevel;exports.ManualSessionInfo=e.ManualSessionInfo;exports.MessageListUILayout=e.MessageListUILayout;exports.MessageLogs=e.MessageLogs;exports.OutgoingMessageLayout=e.OutgoingMessageLayout;exports.PlaceholderLayout=e.PlaceholderLayout;exports.SystemMessageLayout=e.SystemMessageLayout;exports.messengerDispatcher=e.messengerDispatcher;exports.useConversationContext=e.useConversationContext;exports.useConversationListContext=e.useConversationListContext;exports.useLocalizationContext=e.useLocalizationContext;exports.useMessengerContext=e.useMessengerContext;exports.useMessengerSessionContext=e.useMessengerSessionContext;exports.useRefreshActiveChannel=e.useRefreshActiveChannel;
|