@sendbird/ai-agent-messenger-react 1.10.1 → 1.10.3

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 (37) hide show
  1. package/dist/cjs/BBDXgVHP.cjs +1 -0
  2. package/dist/cjs/BKGUMAll.cjs +1 -0
  3. package/dist/cjs/BMWSkFPd.cjs +1 -0
  4. package/dist/cjs/CshEwefQ.cjs +1 -0
  5. package/dist/cjs/D2b9Fh2D.cjs +1 -0
  6. package/dist/cjs/DDZcs_TL.cjs +1 -0
  7. package/dist/cjs/DTOB4bD8.cjs +306 -0
  8. package/dist/cjs/HGTRpnXG.cjs +1 -0
  9. package/dist/cjs/Lt9QbwOc.cjs +1 -0
  10. package/dist/cjs/VMkpPP3I.cjs +1 -0
  11. package/dist/cjs/h90fKnkA.cjs +1 -0
  12. package/dist/es/{DBhp3fXl.js → BJEfprOj.js} +13 -9
  13. package/dist/es/{BoN56E9Z.js → BK3NLWD7.js} +18 -14
  14. package/dist/es/{DHkIHpWw.js → BQ0E1drV.js} +8 -4
  15. package/dist/es/{CLrwPiXs.js → BUjZwbLs.js} +17 -13
  16. package/dist/es/{COct2xck.js → BjgNa6vj.js} +32 -18
  17. package/dist/es/{DLKKcW2Z.js → DV3Z-BEQ.js} +2101 -1959
  18. package/dist/es/{Brug4qqu.js → DbjtlqMh.js} +13 -9
  19. package/dist/es/{-31n4Imz.js → Drf_-1iy.js} +11 -7
  20. package/dist/es/{DSU-pnsD.js → QLoGj0Il.js} +8 -4
  21. package/dist/es/{smGeKrd1.js → bp8ut7x_.js} +14 -10
  22. package/dist/es/{EVDICC4l.js → fnTAJEKK.js} +18 -14
  23. package/dist/index.cjs +1 -1
  24. package/dist/index.d.ts +17 -1
  25. package/dist/index.js +1 -1
  26. package/package.json +10 -8
  27. package/dist/cjs/BqHB7ZHq.cjs +0 -1
  28. package/dist/cjs/ByqeB5kl.cjs +0 -1
  29. package/dist/cjs/CSOw9BQ8.cjs +0 -306
  30. package/dist/cjs/CXF_Sn1b.cjs +0 -1
  31. package/dist/cjs/CiA0xvSy.cjs +0 -1
  32. package/dist/cjs/D9VpsSP6.cjs +0 -1
  33. package/dist/cjs/Dwk1m7x2.cjs +0 -1
  34. package/dist/cjs/EYyX7hTp.cjs +0 -1
  35. package/dist/cjs/E_PCvXNA.cjs +0 -1
  36. package/dist/cjs/TqrS-FNH.cjs +0 -1
  37. package/dist/cjs/Y3Pm68nf.cjs +0 -1
@@ -1,6 +1,6 @@
1
- import { m as T } from "./DLKKcW2Z.js";
1
+ import { m as t } from "./DV3Z-BEQ.js";
2
2
  import { ko as a } from "date-fns/locale/ko";
3
- const t = {
3
+ const T = {
4
4
  conversation: {
5
5
  input_placeholder: "질문하기",
6
6
  input_placeholder_disabled: "이 채널에서는 채팅을 사용할 수 없습니다.",
@@ -10,14 +10,18 @@ const t = {
10
10
  unknown_message_type: "(알 수 없는 메시지 유형)",
11
11
  powered_by: "Powered by",
12
12
  citation_title: "출처",
13
- start_new_conversation_label: "상담사와 대화",
13
+ start_new_conversation_label: "대화 시작",
14
14
  failed_message_resend: "다시 시도",
15
15
  failed_message_remove: "삭제",
16
- file_upload_no_supported_files: "사용 가능한 지원 파일 형식이 없습니다."
16
+ file_upload_no_supported_files: "사용 가능한 지원 파일 형식이 없습니다.",
17
+ // Accessibility
18
+ a11y_message_list: "채팅 메시지",
19
+ a11y_scroll_to_bottom: "맨 아래로 스크롤"
17
20
  },
18
21
  conversation_list: {
19
22
  header_title: "대화",
20
- ended: "종료됨"
23
+ ended: "종료됨",
24
+ footer_title: "대화 시작"
21
25
  },
22
26
  date_format: {
23
27
  just_now: "방금",
@@ -62,9 +66,9 @@ const t = {
62
66
  }
63
67
  }, e = {
64
68
  language: "ko",
65
- strings: t,
69
+ strings: T,
66
70
  dateLocale: a
67
- }, o = T(e.strings), A = {
71
+ }, o = t(e.strings), A = {
68
72
  ...o,
69
73
  // Channel Header
70
74
  HEADER_BUTTON__AGENT_HANDOFF: "상담사와 연결하기",
@@ -116,11 +120,11 @@ const t = {
116
120
  NO_NAME: "(이름 없음)",
117
121
  /** @deprecated Unused string **/
118
122
  CHANNEL_FROZEN: "채널이 동결되었습니다."
119
- }, I = {
123
+ }, s = {
120
124
  language: e.language,
121
125
  dateLocale: e.dateLocale,
122
126
  stringSet: A
123
127
  };
124
128
  export {
125
- I as default
129
+ s as default
126
130
  };
@@ -1,4 +1,4 @@
1
- import { m as a } from "./DLKKcW2Z.js";
1
+ import { m as i } from "./DV3Z-BEQ.js";
2
2
  import { tr as r } from "date-fns/locale/tr";
3
3
  const n = {
4
4
  conversation: {
@@ -10,14 +10,18 @@ const n = {
10
10
  unknown_message_type: "(Bilinmeyen mesaj türü)",
11
11
  powered_by: "Tarafından desteklenmektedir",
12
12
  citation_title: "Kaynak",
13
- start_new_conversation_label: "Temsilciyle konuş",
13
+ start_new_conversation_label: "Bir sohbet başlat",
14
14
  failed_message_resend: "Tekrar dene",
15
15
  failed_message_remove: "Kaldır",
16
- file_upload_no_supported_files: "Desteklenen dosya türü mevcut değil."
16
+ file_upload_no_supported_files: "Desteklenen dosya türü mevcut değil.",
17
+ // Accessibility
18
+ a11y_message_list: "Sohbet mesajları",
19
+ a11y_scroll_to_bottom: "Aşağı kaydır"
17
20
  },
18
21
  conversation_list: {
19
22
  header_title: "Görüşmeler",
20
- ended: "Sona erdi"
23
+ ended: "Sona erdi",
24
+ footer_title: "Bir sohbet başlat"
21
25
  },
22
26
  date_format: {
23
27
  just_now: "Az önce",
@@ -64,8 +68,8 @@ const n = {
64
68
  language: "tr",
65
69
  strings: n,
66
70
  dateLocale: r
67
- }, i = a(_.strings), t = {
68
- ...i,
71
+ }, a = i(_.strings), t = {
72
+ ...a,
69
73
  // Channel Header
70
74
  HEADER_BUTTON__AGENT_HANDOFF: "Bir temsilciyle bağlan",
71
75
  // Message Input
@@ -97,7 +101,7 @@ const n = {
97
101
  FORM_VALIDATION_MAX_SELECT: (e) => `En fazla ${e} seçenek seçin`,
98
102
  FORM_VALIDATION_REGEX_FAILED: "Geçersiz format",
99
103
  /** @deprecated Please use DATE_FORMAT__DATE_SHORT instead. **/
100
- DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: i.DATE_FORMAT__DATE_SHORT,
104
+ DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: a.DATE_FORMAT__DATE_SHORT,
101
105
  /** @deprecated Unused string **/
102
106
  DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE_CAPTION: "HH:mm",
103
107
  /** @deprecated Unused string **/
@@ -1,4 +1,4 @@
1
- import { m as n } from "./DLKKcW2Z.js";
1
+ import { m as n } from "./DV3Z-BEQ.js";
2
2
  import { es as _ } from "date-fns/locale/es";
3
3
  const i = {
4
4
  conversation: {
@@ -10,14 +10,18 @@ const i = {
10
10
  unknown_message_type: "(Tipo de mensaje desconocido)",
11
11
  powered_by: "Desarrollado por",
12
12
  citation_title: "Fuente",
13
- start_new_conversation_label: "Hablar con un agente",
13
+ start_new_conversation_label: "Iniciar una conversación",
14
14
  failed_message_resend: "Reintentar",
15
15
  failed_message_remove: "Eliminar",
16
- file_upload_no_supported_files: "No hay tipos de archivo compatibles disponibles."
16
+ file_upload_no_supported_files: "No hay tipos de archivo compatibles disponibles.",
17
+ // Accessibility
18
+ a11y_message_list: "Mensajes del chat",
19
+ a11y_scroll_to_bottom: "Desplazarse hacia abajo"
17
20
  },
18
21
  conversation_list: {
19
22
  header_title: "Conversaciones",
20
- ended: "Finalizado"
23
+ ended: "Finalizado",
24
+ footer_title: "Iniciar una conversación"
21
25
  },
22
26
  date_format: {
23
27
  just_now: "Ahora mismo",
@@ -1,4 +1,4 @@
1
- import { m as _ } from "./DLKKcW2Z.js";
1
+ import { m as _ } from "./DV3Z-BEQ.js";
2
2
  import { pt as n } from "date-fns/locale/pt";
3
3
  const r = {
4
4
  conversation: {
@@ -10,14 +10,18 @@ const r = {
10
10
  unknown_message_type: "(Tipo de mensagem desconhecido)",
11
11
  powered_by: "Desenvolvido por",
12
12
  citation_title: "Fonte",
13
- start_new_conversation_label: "Falar com agente",
13
+ start_new_conversation_label: "Iniciar uma conversa",
14
14
  failed_message_resend: "Tentar novamente",
15
15
  failed_message_remove: "Remover",
16
- file_upload_no_supported_files: "Nenhum tipo de arquivo suportado disponível."
16
+ file_upload_no_supported_files: "Nenhum tipo de arquivo suportado disponível.",
17
+ // Accessibility
18
+ a11y_message_list: "Mensagens do chat",
19
+ a11y_scroll_to_bottom: "Rolar para baixo"
17
20
  },
18
21
  conversation_list: {
19
22
  header_title: "Conversas",
20
- ended: "Encerrada"
23
+ ended: "Encerrada",
24
+ footer_title: "Iniciar uma conversa"
21
25
  },
22
26
  date_format: {
23
27
  just_now: "Agora mesmo",
@@ -60,12 +64,12 @@ const r = {
60
64
  edit: "Editar feedback",
61
65
  remove: "Remover feedback"
62
66
  }
63
- }, o = {
67
+ }, a = {
64
68
  language: "pt",
65
69
  strings: r,
66
70
  dateLocale: n
67
- }, a = _(o.strings), t = {
68
- ...a,
71
+ }, o = _(a.strings), t = {
72
+ ...o,
69
73
  // Channel Header
70
74
  HEADER_BUTTON__AGENT_HANDOFF: "Conectar-se com um agente",
71
75
  // Message Input
@@ -97,7 +101,7 @@ const r = {
97
101
  FORM_VALIDATION_MAX_SELECT: (e) => `Selecione no máximo ${e} opções`,
98
102
  FORM_VALIDATION_REGEX_FAILED: "Formato inválido",
99
103
  /** @deprecated Please use DATE_FORMAT__DATE_SHORT instead. **/
100
- DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: a.DATE_FORMAT__DATE_SHORT,
104
+ DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: o.DATE_FORMAT__DATE_SHORT,
101
105
  /** @deprecated Unused string **/
102
106
  DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE_CAPTION: "HH:mm",
103
107
  /** @deprecated Unused string **/
@@ -117,8 +121,8 @@ const r = {
117
121
  /** @deprecated Unused string **/
118
122
  CHANNEL_FROZEN: "Canal congelado"
119
123
  }, m = {
120
- language: o.language,
121
- dateLocale: o.dateLocale,
124
+ language: a.language,
125
+ dateLocale: a.dateLocale,
122
126
  stringSet: t
123
127
  };
124
128
  export {
@@ -1,6 +1,6 @@
1
- import { m as _ } from "./DLKKcW2Z.js";
2
- import { de as r } from "date-fns/locale/de";
3
- const a = {
1
+ import { m as _ } from "./DV3Z-BEQ.js";
2
+ import { de as a } from "date-fns/locale/de";
3
+ const r = {
4
4
  conversation: {
5
5
  input_placeholder: "Eine Frage stellen",
6
6
  input_placeholder_disabled: "Chat ist in diesem Kanal nicht verfügbar",
@@ -10,14 +10,18 @@ const a = {
10
10
  unknown_message_type: "(Unbekannter Nachrichtentyp)",
11
11
  powered_by: "Unterstützt von",
12
12
  citation_title: "Quelle",
13
- start_new_conversation_label: "Mit Agent sprechen",
13
+ start_new_conversation_label: "Ein Gespräch starten",
14
14
  failed_message_resend: "Erneut versuchen",
15
15
  failed_message_remove: "Entfernen",
16
- file_upload_no_supported_files: "Keine unterstützten Dateitypen verfügbar."
16
+ file_upload_no_supported_files: "Keine unterstützten Dateitypen verfügbar.",
17
+ // Accessibility
18
+ a11y_message_list: "Chat-Nachrichten",
19
+ a11y_scroll_to_bottom: "Nach unten scrollen"
17
20
  },
18
21
  conversation_list: {
19
22
  header_title: "Gespräche",
20
- ended: "Beendet"
23
+ ended: "Beendet",
24
+ footer_title: "Ein Gespräch starten"
21
25
  },
22
26
  date_format: {
23
27
  just_now: "Gerade eben",
@@ -60,12 +64,12 @@ const a = {
60
64
  edit: "Feedback bearbeiten",
61
65
  remove: "Feedback entfernen"
62
66
  }
63
- }, n = {
67
+ }, t = {
64
68
  language: "de",
65
- strings: a,
66
- dateLocale: r
67
- }, t = _(n.strings), i = {
68
- ...t,
69
+ strings: r,
70
+ dateLocale: a
71
+ }, n = _(t.strings), i = {
72
+ ...n,
69
73
  // Channel Header
70
74
  HEADER_BUTTON__AGENT_HANDOFF: "Mit einem Agenten verbinden",
71
75
  // Message Input
@@ -97,7 +101,7 @@ const a = {
97
101
  FORM_VALIDATION_MAX_SELECT: (e) => `Wähle höchstens ${e} Optionen`,
98
102
  FORM_VALIDATION_REGEX_FAILED: "Ungültiges Format",
99
103
  /** @deprecated Please use DATE_FORMAT__DATE_SHORT instead. **/
100
- DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: t.DATE_FORMAT__DATE_SHORT,
104
+ DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: n.DATE_FORMAT__DATE_SHORT,
101
105
  /** @deprecated Unused string **/
102
106
  DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE_CAPTION: "HH:mm",
103
107
  /** @deprecated Unused string **/
@@ -117,8 +121,8 @@ const a = {
117
121
  /** @deprecated Unused string **/
118
122
  CHANNEL_FROZEN: "Kanal eingefroren"
119
123
  }, l = {
120
- language: n.language,
121
- dateLocale: n.dateLocale,
124
+ language: t.language,
125
+ dateLocale: t.dateLocale,
122
126
  stringSet: i
123
127
  };
124
128
  export {
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./cjs/CSOw9BQ8.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.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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./cjs/DTOB4bD8.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.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;
package/dist/index.d.ts CHANGED
@@ -314,6 +314,11 @@ declare interface AIAgentConversationContextValue {
314
314
  };
315
315
 
316
316
  state: {
317
+ streamAnimation: {
318
+ isAnimating: boolean;
319
+ start: (id: string | number) => void;
320
+ stop: (id: string | number) => void;
321
+ };
317
322
  input: InputState;
318
323
  };
319
324
  }
@@ -592,11 +597,16 @@ declare interface AIAgentStringSet {
592
597
  failed_message_remove: string;
593
598
 
594
599
  file_upload_no_supported_files: string;
600
+
601
+ // Accessibility
602
+ a11y_message_list: string;
603
+ a11y_scroll_to_bottom: string;
595
604
  };
596
605
 
597
606
  conversation_list: {
598
607
  header_title: string;
599
608
  ended: string;
609
+ footer_title: string;
600
610
  };
601
611
 
602
612
  date_format: {
@@ -1188,6 +1198,8 @@ export declare interface FeedbackInfo {
1188
1198
 
1189
1199
  export declare const FixedMessenger: ForwardRefExoticComponent<MessengerProps & RefAttributes<MessengerSessionRef>> & {
1190
1200
  Style: (props: FixedMessengerStyleProps) => null;
1201
+ ConversationChildren: ({ children }: PropsWithChildren) => null;
1202
+ ConversationListChildren: ({ children }: PropsWithChildren) => null;
1191
1203
  };
1192
1204
 
1193
1205
  export declare type FixedMessengerMargin = {
@@ -1343,6 +1355,8 @@ BaseMessageProps<{
1343
1355
  onFeedbackUpdate?: (params: { rating: 'good' | 'bad'; comment?: string } | null) => void;
1344
1356
  onSubmitForm?: (params: { key: string; data: Record<string, FormFieldValue> }) => Promise<void>;
1345
1357
  onCancelForm?: (params: { key: string }) => Promise<void>;
1358
+ onStreamAnimationStart?: () => void;
1359
+ onStreamAnimationComplete?: () => void;
1346
1360
 
1347
1361
  // fallbacks
1348
1362
  messageTemplateErrorFallback?: ReactNode;
@@ -2133,6 +2147,8 @@ declare type StringSet = {
2133
2147
  FEEDBACK_REMOVE: string;
2134
2148
  FAILED_MESSAGE_RESEND: string;
2135
2149
  FAILED_MESSAGE_REMOVE: string;
2150
+ A11Y_MESSAGE_LIST: string;
2151
+ A11Y_SCROLL_TO_BOTTOM: string;
2136
2152
  /** @deprecated Please use DATE_FORMAT__DATE_SHORT instead. **/
2137
2153
  DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: string;
2138
2154
  /** @deprecated Unused string **/
@@ -2203,7 +2219,7 @@ declare type SystemMessageUnion =
2203
2219
  csatReason?: string;
2204
2220
  csatExpireAt?: number;
2205
2221
  isResolvedWhenDeterminedByUser?: boolean;
2206
- onSubmitCSAT: (params: CSATSubmitParams) => void;
2222
+ onSubmitCSAT: (params: CSATSubmitParams) => Promise<void>;
2207
2223
  }>;
2208
2224
 
2209
2225
  declare type TextField = {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as o, b as n, B as t, x as i, D as r, j as C, n as L, o as u, l as v, k as g, q as y, t as x, v as d, s as M, C as m, r as l, h as c, F as f, I as h, L as I, y as P, z as S, M as p, O as A, P as D, S as z, g as B, p as F, w as H, f as O, u as T, d as b, i as j } from "./es/DLKKcW2Z.js";
1
+ import { a as o, b as n, B as t, x as i, D as r, j as C, n as L, o as u, l as v, k as g, q as y, t as x, v as d, s as M, C as m, r as l, h as c, F as f, I as h, L as I, y as P, z as S, M as p, O as A, P as D, S as z, g as B, p as F, w as H, f as O, u as T, d as b, i as j } from "./es/DV3Z-BEQ.js";
2
2
  import "react";
3
3
  export {
4
4
  o as AgentProviderContainer,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendbird/ai-agent-messenger-react",
3
- "version": "1.10.1",
3
+ "version": "1.10.3",
4
4
  "description": "Delight AI Agent Messenger for React",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -20,22 +20,22 @@
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
22
  "@emotion/is-prop-valid": "^1.3.1",
23
- "@sendbird/react-uikit-message-template-view": "0.0.19",
24
- "@sendbird/uikit-message-template": "0.0.19",
25
- "@sendbird/uikit-tools": "0.0.19",
23
+ "@sendbird/react-uikit-message-template-view": "0.0.21",
24
+ "@sendbird/uikit-message-template": "0.0.21",
25
+ "@sendbird/uikit-tools": "0.0.21",
26
26
  "date-fns": "^4.1.0",
27
27
  "dompurify": "^3.2.4",
28
28
  "markdown-to-jsx": "^7.7.12",
29
29
  "react-syntax-highlighter": "^15.6.1"
30
30
  },
31
31
  "peerDependencies": {
32
- "@sendbird/chat": "^4.20.1",
32
+ "@sendbird/chat": "^4.20.3",
33
33
  "react": ">=18.0.0",
34
34
  "react-dom": ">=18.0.0",
35
35
  "styled-components": ">=5.0.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@sendbird/chat": "^4.20.1",
38
+ "@sendbird/chat": "^4.20.3",
39
39
  "@types/react": "^19.2.2",
40
40
  "@types/react-dom": "^19.2.2",
41
41
  "@types/react-syntax-highlighter": "^15.5.13",
@@ -44,7 +44,7 @@
44
44
  "react-dom": "^19.0.0",
45
45
  "strip-json-comments": "^5.0.1",
46
46
  "styled-components": "^6.1.15",
47
- "@sendbird/ai-agent-core": "1.10.1",
47
+ "@sendbird/ai-agent-core": "1.10.3",
48
48
  "@sendbird/vite-tools": "0.0.1",
49
49
  "@sendbird/config-editor": "0.1.0"
50
50
  },
@@ -61,6 +61,8 @@
61
61
  "build": "vite build",
62
62
  "build:watch": "vite build --watch",
63
63
  "build:pages": "vite build --config vite.config.pages.ts",
64
- "build:debug": "vite build --mode debug"
64
+ "build:debug": "vite build --mode debug",
65
+ "lint:a11y": "eslint --config eslint-a11y.config.mjs \"src/**/*.{ts,tsx}\"",
66
+ "lint:a11y:fix": "eslint --config eslint-a11y.config.mjs --fix \"src/**/*.{ts,tsx}\""
65
67
  }
66
68
  }
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CSOw9BQ8.cjs"),n=require("date-fns/locale/it"),_={conversation:{input_placeholder:"Fai una domanda",input_placeholder_disabled:"La chat non è disponibile in questo canale",input_placeholder_wait_ai_agent_response:"In attesa della risposta dell'agente...",input_placeholder_active_form:"Compila il modulo per procedere.",input_placeholder_reconnecting:"Riconnessione. Aggiorna se persiste.",unknown_message_type:"(Tipo di messaggio sconosciuto)",powered_by:"Powered by",citation_title:"Fonte",start_new_conversation_label:"Parla con un agente",failed_message_resend:"Riprova",failed_message_remove:"Rimuovi",file_upload_no_supported_files:"Nessun tipo di file supportato disponibile."},conversation_list:{header_title:"Conversazioni",ended:"Terminata"},date_format:{just_now:"Proprio ora",minutes_ago:e=>`${e} minuti fa`,hours_ago:e=>`${e} ore fa`,date_short:"dd/MM/yyyy",date_separator:"d MMMM yyyy",message_timestamp:"p"},csat:{title:"Il tuo feedback è importante per noi",submitted_label:"Inviato con successo!",cre_question:"Il tuo problema è stato risolto?",cre_positive_label:"Sì, grazie! 👍",cre_negative_label:"No, non è servito.",reason_placeholder:"Condividi il tuo feedback",question:"Come valuteresti la tua esperienza?",submit_label:"Invia",submission_expired:"Ci dispiace, il periodo per partecipare al sondaggio è terminato."},form:{optional_label:"opzionale",validation_required:"Questa domanda è obbligatoria"},common:{placeholder_something_went_wrong:"Qualcosa è andato storto",placeholder_no_messages:"Nessun messaggio",placeholder_no_conversations:"Nessuna conversazione ancora",placeholder_something_went_wrong_retry_label:"Riprova"},feedback:{title:"Invia feedback",good:"Buono",bad:"Cattivo",comment_label:"Commento (opzionale)",comment_placeholder:"Lascia un commento",cancel:"Annulla",submit:"Invia",save:"Salva",edit:"Modifica feedback",remove:"Rimuovi feedback"}},o={language:"it",strings:_,dateLocale:n.it},a=i.mapCommonStringsToReactFormat(o.strings),t={...a,HEADER_BUTTON__AGENT_HANDOFF:"Connettersi con un agente",MESSAGE_INPUT__PLACE_HOLDER__SUGGESTED_REPLIES:"Seleziona un'opzione per continuare",BUTTON__CANCEL:"Annulla",BUTTON__SUBMIT:"Invia",SUBMITTED:"Inviato",TRY_AGAIN:"Per favore, riprova.",FILE_UPLOAD_NOTIFICATION__COUNT_LIMIT:"Non puoi caricare più di un'immagine.",FILE_UPLOAD_NOTIFICATION__SIZE_LIMIT:"La dimensione massima per file è di %d MB.",FILE_VIEWER__UNSUPPORT:"Messaggio non supportato",CSAT5_RATING_SCORE_1:"Terribile",CSAT5_RATING_SCORE_2:"Brutto",CSAT5_RATING_SCORE_3:"Ok",CSAT5_RATING_SCORE_4:"Buono",CSAT5_RATING_SCORE_5:"Ottimo",FORM_UNAVAILABLE:"Il modulo non è più disponibile.",FORM_NOT_SUPPORTED:"Questo modulo non è supportato nella versione attuale.",FORM_VALIDATION_MIN_LENGTH:e=>`Minimo ${e} caratteri richiesti`,FORM_VALIDATION_MAX_LENGTH:e=>`Massimo ${e} caratteri consentiti`,FORM_VALIDATION_MIN:e=>`Il valore minimo è ${e}`,FORM_VALIDATION_MAX:e=>`Il valore massimo è ${e}`,FORM_VALIDATION_MIN_SELECT:e=>`Seleziona almeno ${e} opzioni`,FORM_VALIDATION_MAX_SELECT:e=>`Seleziona al massimo ${e} opzioni`,FORM_VALIDATION_REGEX_FAILED:"Formato non valido",DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE:a.DATE_FORMAT__DATE_SHORT,DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE_CAPTION:"HH:mm",CONVERSATION_LIST__TOPICS_FALLBACK:"Nessuna categoria",CONVERSATION_CLOSED_FOOTER_LABEL:"La tua conversazione è terminata",START_NEW_CONVERSATION:"💬 Inizia una nuova conversazione",RETURN_TO_CONVERSATION:"💬 Torna alla conversazione",BUTTON__SAVE:"Salva",BUTTON__OK:"OK",NO_NAME:"(Senza nome)",CHANNEL_FROZEN:"Canale bloccato"},s={language:o.language,dateLocale:o.dateLocale,stringSet:t};exports.default=s;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./CSOw9BQ8.cjs"),r=require("date-fns/locale/de"),a={conversation:{input_placeholder:"Eine Frage stellen",input_placeholder_disabled:"Chat ist in diesem Kanal nicht verfügbar",input_placeholder_wait_ai_agent_response:"Warten auf die Antwort des Agenten...",input_placeholder_active_form:"Bitte fülle das Formular aus, um fortzufahren.",input_placeholder_reconnecting:"Neu verbinden. Aktualisieren falls anhaltend.",unknown_message_type:"(Unbekannter Nachrichtentyp)",powered_by:"Unterstützt von",citation_title:"Quelle",start_new_conversation_label:"Mit Agent sprechen",failed_message_resend:"Erneut versuchen",failed_message_remove:"Entfernen",file_upload_no_supported_files:"Keine unterstützten Dateitypen verfügbar."},conversation_list:{header_title:"Gespräche",ended:"Beendet"},date_format:{just_now:"Gerade eben",minutes_ago:e=>`Vor ${e} Minuten`,hours_ago:e=>`Vor ${e} Stunden`,date_short:"dd.MM.yyyy",date_separator:"d. MMMM yyyy",message_timestamp:"p"},csat:{title:"Ihr Feedback ist uns wichtig",submitted_label:"Erfolgreich gesendet!",cre_question:"Wurde Ihr Problem gelöst?",cre_positive_label:"Ja, danke! 👍",cre_negative_label:"Nein, das hat nicht geholfen.",reason_placeholder:"Dein Feedback teilen",question:"Wie würden Sie Ihre Erfahrung bewerten?",submit_label:"Absenden",submission_expired:"Die Umfrage ist leider nicht mehr verfügbar."},form:{optional_label:"optional",validation_required:"Diese Frage ist erforderlich"},common:{placeholder_something_went_wrong:"Etwas ist schiefgelaufen",placeholder_no_messages:"Keine Nachrichten",placeholder_no_conversations:"Noch keine Unterhaltungen",placeholder_something_went_wrong_retry_label:"Erneut versuchen"},feedback:{title:"Feedback senden",good:"Gut",bad:"Schlecht",comment_label:"Kommentar (optional)",comment_placeholder:"Hinterlasse einen Kommentar",cancel:"Abbrechen",submit:"Senden",save:"Speichern",edit:"Feedback bearbeiten",remove:"Feedback entfernen"}},n={language:"de",strings:a,dateLocale:r.de},t=_.mapCommonStringsToReactFormat(n.strings),i={...t,HEADER_BUTTON__AGENT_HANDOFF:"Mit einem Agenten verbinden",MESSAGE_INPUT__PLACE_HOLDER__SUGGESTED_REPLIES:"Wählen Sie eine Option zum Fortfahren",BUTTON__CANCEL:"Abbrechen",BUTTON__SUBMIT:"Absenden",SUBMITTED:"Gesendet",TRY_AGAIN:"Bitte versuche es erneut.",FILE_UPLOAD_NOTIFICATION__COUNT_LIMIT:"Du kannst nicht mehr als ein Bild hochladen.",FILE_UPLOAD_NOTIFICATION__SIZE_LIMIT:"Die maximale Dateigröße beträgt %d MB.",FILE_VIEWER__UNSUPPORT:"Nicht unterstützte Nachricht",CSAT5_RATING_SCORE_1:"Schrecklich",CSAT5_RATING_SCORE_2:"Schlecht",CSAT5_RATING_SCORE_3:"Okay",CSAT5_RATING_SCORE_4:"Gut",CSAT5_RATING_SCORE_5:"Großartig",FORM_UNAVAILABLE:"Das Formular ist nicht mehr verfügbar.",FORM_NOT_SUPPORTED:"Dieses Formular wird in der aktuellen Version nicht unterstützt.",FORM_VALIDATION_MIN_LENGTH:e=>`Mindestens ${e} Zeichen erforderlich`,FORM_VALIDATION_MAX_LENGTH:e=>`Maximal ${e} Zeichen erlaubt`,FORM_VALIDATION_MIN:e=>`Mindestwert ist ${e}`,FORM_VALIDATION_MAX:e=>`Maximalwert ist ${e}`,FORM_VALIDATION_MIN_SELECT:e=>`Wähle mindestens ${e} Optionen`,FORM_VALIDATION_MAX_SELECT:e=>`Wähle höchstens ${e} Optionen`,FORM_VALIDATION_REGEX_FAILED:"Ungültiges Format",DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE:t.DATE_FORMAT__DATE_SHORT,DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE_CAPTION:"HH:mm",CONVERSATION_LIST__TOPICS_FALLBACK:"Keine Kategorie",CONVERSATION_CLOSED_FOOTER_LABEL:"Deine Unterhaltung wurde beendet",START_NEW_CONVERSATION:"💬 Neue Unterhaltung starten",RETURN_TO_CONVERSATION:"💬 Zurück zur Unterhaltung",BUTTON__SAVE:"Speichern",BUTTON__OK:"OK",NO_NAME:"(Kein Name)",CHANNEL_FROZEN:"Kanal eingefroren"},s={language:n.language,dateLocale:n.dateLocale,stringSet:i};exports.default=s;