@sendbird/ai-agent-messenger-react 1.26.1 → 1.28.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.
@@ -65,6 +65,7 @@ const o = {
65
65
  a11y_hint_open_conversation: "Öffnet die Konversation",
66
66
  a11y_hint_open_conversations: "Öffnet die Konversationsliste",
67
67
  a11y_hint_close_conversation: "Schließt die Konversation",
68
+ a11y_hint_close_messenger: "Schließt den Messenger",
68
69
  a11y_hint_open_menu: "Öffnet das Menü",
69
70
  a11y_hint_connect_to_agent: "Verbindet mit einem menschlichen Agenten",
70
71
  a11y_hint_attach_file: "Öffnet die Optionen zum Anhängen von Dateien",
@@ -85,7 +86,7 @@ const o = {
85
86
  system_message: "Systemnachricht",
86
87
  footer_title: "Ein Gespräch starten",
87
88
  multiple_files_count: (e) => `${e} ${e === 1 ? "Datei" : "Dateien"}`,
88
- a11y_conversation_item: (e, n, _, i) => `${e}, ${n}, ${_}, ${i} ungelesene ${i === 1 ? "Nachricht" : "Nachrichten"}`
89
+ a11y_conversation_item: (e, n, _, t) => `${e}, ${n}, ${_}${t > 0 ? `, ${t} ungelesene ${t === 1 ? "Nachricht" : "Nachrichten"}` : ""}`
89
90
  },
90
91
  date_format: {
91
92
  just_now: "Gerade eben",
@@ -159,11 +160,11 @@ const o = {
159
160
  title: "Etwas ist schiefgelaufen. Sie werden in Kürze wieder verbunden.",
160
161
  description: (e) => `Geschätzte Wartezeit: ${e}`
161
162
  }
162
- }, t = {
163
+ }, i = {
163
164
  language: "de",
164
165
  strings: o,
165
166
  dateLocale: r
166
- }, a = s(t.strings), c = {
167
+ }, a = s(i.strings), l = {
167
168
  ...a,
168
169
  // Channel Header
169
170
  HEADER_BUTTON__AGENT_HANDOFF: "Mit einem Agenten verbinden",
@@ -216,9 +217,9 @@ const o = {
216
217
  /** @deprecated Unused string **/
217
218
  CHANNEL_FROZEN: "Kanal eingefroren"
218
219
  }, h = {
219
- language: t.language,
220
- dateLocale: t.dateLocale,
221
- stringSet: c
220
+ language: i.language,
221
+ dateLocale: i.dateLocale,
222
+ stringSet: l
222
223
  };
223
224
  export {
224
225
  h as default
@@ -65,6 +65,7 @@ const t = {
65
65
  a11y_hint_open_conversation: "Abre a conversa",
66
66
  a11y_hint_open_conversations: "Abre a lista de conversas",
67
67
  a11y_hint_close_conversation: "Fecha a conversa",
68
+ a11y_hint_close_messenger: "Fecha o messenger",
68
69
  a11y_hint_open_menu: "Abre o menu",
69
70
  a11y_hint_connect_to_agent: "Conecta a um agente humano",
70
71
  a11y_hint_attach_file: "Abre as opções de anexo de arquivo",
@@ -85,7 +86,7 @@ const t = {
85
86
  system_message: "Mensagem do sistema",
86
87
  footer_title: "Iniciar uma conversa",
87
88
  multiple_files_count: (e) => `${e} ${e === 1 ? "arquivo" : "arquivos"}`,
88
- a11y_conversation_item: (e, a, s, n) => `${e}, ${a}, ${s}, ${n} ${n === 1 ? "mensagem não lida" : "mensagens não lidas"}`
89
+ a11y_conversation_item: (e, a, _, o) => `${e}, ${a}, ${_}${o > 0 ? `, ${o} ${o === 1 ? "mensagem não lida" : "mensagens não lidas"}` : ""}`
89
90
  },
90
91
  date_format: {
91
92
  just_now: "Agora mesmo",
@@ -159,12 +160,12 @@ const t = {
159
160
  title: "Algo deu errado. Você será reconectado em breve.",
160
161
  description: (e) => `Tempo estimado de espera: ${e}`
161
162
  }
162
- }, o = {
163
+ }, n = {
163
164
  language: "pt",
164
165
  strings: t,
165
166
  dateLocale: r
166
- }, _ = i(o.strings), m = {
167
- ..._,
167
+ }, s = i(n.strings), m = {
168
+ ...s,
168
169
  // Channel Header
169
170
  HEADER_BUTTON__AGENT_HANDOFF: "Conectar-se com um agente",
170
171
  // Message Input
@@ -198,7 +199,7 @@ const t = {
198
199
  FORM_VALIDATION_MAX_SELECT: (e) => `Selecione no máximo ${e} opções`,
199
200
  FORM_VALIDATION_REGEX_FAILED: "Formato inválido",
200
201
  /** @deprecated Please use DATE_FORMAT__DATE_SHORT instead. **/
201
- DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: _.DATE_FORMAT__DATE_SHORT,
202
+ DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: s.DATE_FORMAT__DATE_SHORT,
202
203
  /** @deprecated Unused string **/
203
204
  DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE_CAPTION: "HH:mm",
204
205
  /** @deprecated Unused string **/
@@ -216,8 +217,8 @@ const t = {
216
217
  /** @deprecated Unused string **/
217
218
  CHANNEL_FROZEN: "Canal congelado"
218
219
  }, l = {
219
- language: o.language,
220
- dateLocale: o.dateLocale,
220
+ language: n.language,
221
+ dateLocale: n.dateLocale,
221
222
  stringSet: m
222
223
  };
223
224
  export {
@@ -65,6 +65,7 @@ const s = {
65
65
  a11y_hint_open_conversation: "Görüşmeyi açar",
66
66
  a11y_hint_open_conversations: "Görüşme listesini açar",
67
67
  a11y_hint_close_conversation: "Görüşmeyi kapatır",
68
+ a11y_hint_close_messenger: "Mesajlaşmayı kapatır",
68
69
  a11y_hint_open_menu: "Menüyü açar",
69
70
  a11y_hint_connect_to_agent: "Bir insan temsilciye bağlar",
70
71
  a11y_hint_attach_file: "Dosya ekleme seçeneklerini açar",
@@ -85,7 +86,7 @@ const s = {
85
86
  system_message: "Sistem mesajı",
86
87
  footer_title: "Bir sohbet başlat",
87
88
  multiple_files_count: (e) => `${e} dosya`,
88
- a11y_conversation_item: (e, a, n, r) => `${e}, ${a}, ${n}, ${r} okunmamış mesaj`
89
+ a11y_conversation_item: (e, a, r, _) => `${e}, ${a}, ${r}${_ > 0 ? `, ${_} okunmamış mesaj` : ""}`
89
90
  },
90
91
  date_format: {
91
92
  just_now: "Az önce",
@@ -163,8 +164,8 @@ const s = {
163
164
  language: "tr",
164
165
  strings: s,
165
166
  dateLocale: t
166
- }, _ = l(i.strings), o = {
167
- ..._,
167
+ }, n = l(i.strings), o = {
168
+ ...n,
168
169
  // Channel Header
169
170
  HEADER_BUTTON__AGENT_HANDOFF: "Bir temsilciyle bağlan",
170
171
  // Message Input
@@ -198,7 +199,7 @@ const s = {
198
199
  FORM_VALIDATION_MAX_SELECT: (e) => `En fazla ${e} seçenek seçin`,
199
200
  FORM_VALIDATION_REGEX_FAILED: "Geçersiz format",
200
201
  /** @deprecated Please use DATE_FORMAT__DATE_SHORT instead. **/
201
- DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: _.DATE_FORMAT__DATE_SHORT,
202
+ DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: n.DATE_FORMAT__DATE_SHORT,
202
203
  /** @deprecated Unused string **/
203
204
  DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE_CAPTION: "HH:mm",
204
205
  /** @deprecated Unused string **/
@@ -65,6 +65,7 @@ const l = {
65
65
  a11y_hint_open_conversation: "대화를 엽니다",
66
66
  a11y_hint_open_conversations: "대화 목록을 엽니다",
67
67
  a11y_hint_close_conversation: "대화를 닫습니다",
68
+ a11y_hint_close_messenger: "메신저를 닫습니다",
68
69
  a11y_hint_open_menu: "메뉴를 엽니다",
69
70
  a11y_hint_connect_to_agent: "상담원에게 연결합니다",
70
71
  a11y_hint_attach_file: "파일 첨부 옵션을 엽니다",
@@ -85,7 +86,7 @@ const l = {
85
86
  system_message: "시스템 메시지",
86
87
  footer_title: "대화 시작",
87
88
  multiple_files_count: (_) => `${_}개의 파일`,
88
- a11y_conversation_item: (_, e, o, n) => `${_}, ${e}, ${o}, 읽지 않은 메시지 ${n}개`
89
+ a11y_conversation_item: (_, e, n, t) => `${_}, ${e}, ${n}${t > 0 ? `, 읽지 않은 메시지 ${t}개` : ""}`
89
90
  },
90
91
  date_format: {
91
92
  just_now: "방금",
@@ -163,8 +164,8 @@ const l = {
163
164
  language: "ko",
164
165
  strings: l,
165
166
  dateLocale: i
166
- }, t = s(a.strings), r = {
167
- ...t,
167
+ }, o = s(a.strings), r = {
168
+ ...o,
168
169
  // Channel Header
169
170
  HEADER_BUTTON__AGENT_HANDOFF: "상담사와 연결하기",
170
171
  // Message Input
@@ -198,7 +199,7 @@ const l = {
198
199
  FORM_VALIDATION_MAX_SELECT: (_) => `최대 ${_}개 옵션을 선택해 주세요`,
199
200
  FORM_VALIDATION_REGEX_FAILED: "유효하지 않은 형식",
200
201
  /** @deprecated Please use DATE_FORMAT__DATE_SHORT instead. **/
201
- DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: t.DATE_FORMAT__DATE_SHORT,
202
+ DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: o.DATE_FORMAT__DATE_SHORT,
202
203
  /** @deprecated Unused string **/
203
204
  DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE_CAPTION: "a h:mm",
204
205
  /** @deprecated Unused string **/