@iblai/iblai-js 2.52.1 → 2.53.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 (107) hide show
  1. package/dist/web-containers/source/allowed-file-types-dialog.js +79 -0
  2. package/dist/web-containers/source/allowed-file-types-dialog.js.map +1 -0
  3. package/dist/web-containers/source/allowed-file-types-field.js +36 -0
  4. package/dist/web-containers/source/allowed-file-types-field.js.map +1 -0
  5. package/dist/web-containers/source/capabilities-sub-tab.js +5 -1
  6. package/dist/web-containers/source/capabilities-sub-tab.js.map +1 -1
  7. package/dist/web-containers/source/chat/hooks/use-chat-file-drag-drop.js +1 -0
  8. package/dist/web-containers/source/chat/hooks/use-chat-file-drag-drop.js.map +1 -1
  9. package/dist/web-containers/source/chat/hooks/use-chat-file-upload.js +20 -3
  10. package/dist/web-containers/source/chat/hooks/use-chat-file-upload.js.map +1 -1
  11. package/dist/web-containers/source/chat-input-form.js +18 -5
  12. package/dist/web-containers/source/chat-input-form.js.map +1 -1
  13. package/dist/web-containers/source/components/chat/hooks/use-chat-file-drag-drop.js +1 -0
  14. package/dist/web-containers/source/components/chat/hooks/use-chat-file-drag-drop.js.map +1 -1
  15. package/dist/web-containers/source/components/chat/hooks/use-chat-file-upload.js +20 -3
  16. package/dist/web-containers/source/components/chat/hooks/use-chat-file-upload.js.map +1 -1
  17. package/dist/web-containers/source/components/chat-input-form.js +18 -5
  18. package/dist/web-containers/source/components/chat-input-form.js.map +1 -1
  19. package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/settings-tab/allowed-file-types-dialog.js +79 -0
  20. package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/settings-tab/allowed-file-types-dialog.js.map +1 -0
  21. package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/settings-tab/allowed-file-types-field.js +36 -0
  22. package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/settings-tab/allowed-file-types-field.js.map +1 -0
  23. package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/settings-tab/capabilities-sub-tab.js +5 -1
  24. package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/settings-tab/capabilities-sub-tab.js.map +1 -1
  25. package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/settings-tab/labels.js +28 -1
  26. package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/settings-tab/labels.js.map +1 -1
  27. package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/settings-tab/use-edit-mentor-settings.js +23 -2
  28. package/dist/web-containers/source/components/modals/edit-mentor-modal/tabs/settings-tab/use-edit-mentor-settings.js.map +1 -1
  29. package/dist/web-containers/source/components/welcome-chat/conversation-starters.js +9 -2
  30. package/dist/web-containers/source/components/welcome-chat/conversation-starters.js.map +1 -1
  31. package/dist/web-containers/source/edit-mentor-modal/tabs/settings-tab/allowed-file-types-dialog.js +79 -0
  32. package/dist/web-containers/source/edit-mentor-modal/tabs/settings-tab/allowed-file-types-dialog.js.map +1 -0
  33. package/dist/web-containers/source/edit-mentor-modal/tabs/settings-tab/allowed-file-types-field.js +36 -0
  34. package/dist/web-containers/source/edit-mentor-modal/tabs/settings-tab/allowed-file-types-field.js.map +1 -0
  35. package/dist/web-containers/source/edit-mentor-modal/tabs/settings-tab/capabilities-sub-tab.js +5 -1
  36. package/dist/web-containers/source/edit-mentor-modal/tabs/settings-tab/capabilities-sub-tab.js.map +1 -1
  37. package/dist/web-containers/source/edit-mentor-modal/tabs/settings-tab/labels.js +28 -1
  38. package/dist/web-containers/source/edit-mentor-modal/tabs/settings-tab/labels.js.map +1 -1
  39. package/dist/web-containers/source/edit-mentor-modal/tabs/settings-tab/use-edit-mentor-settings.js +23 -2
  40. package/dist/web-containers/source/edit-mentor-modal/tabs/settings-tab/use-edit-mentor-settings.js.map +1 -1
  41. package/dist/web-containers/source/en.json.js +28 -1
  42. package/dist/web-containers/source/en.json.js.map +1 -1
  43. package/dist/web-containers/source/es.json.js +28 -1
  44. package/dist/web-containers/source/es.json.js.map +1 -1
  45. package/dist/web-containers/source/fr.json.js +28 -1
  46. package/dist/web-containers/source/fr.json.js.map +1 -1
  47. package/dist/web-containers/source/hooks/use-chat-file-drag-drop.js +1 -0
  48. package/dist/web-containers/source/hooks/use-chat-file-drag-drop.js.map +1 -1
  49. package/dist/web-containers/source/hooks/use-chat-file-upload.js +20 -3
  50. package/dist/web-containers/source/hooks/use-chat-file-upload.js.map +1 -1
  51. package/dist/web-containers/source/i18n/messages/en.json.js +28 -1
  52. package/dist/web-containers/source/i18n/messages/en.json.js.map +1 -1
  53. package/dist/web-containers/source/i18n/messages/es.json.js +28 -1
  54. package/dist/web-containers/source/i18n/messages/es.json.js.map +1 -1
  55. package/dist/web-containers/source/i18n/messages/fr.json.js +28 -1
  56. package/dist/web-containers/source/i18n/messages/fr.json.js.map +1 -1
  57. package/dist/web-containers/source/i18n/messages/zh.json.js +28 -1
  58. package/dist/web-containers/source/i18n/messages/zh.json.js.map +1 -1
  59. package/dist/web-containers/source/messages/en.json.js +28 -1
  60. package/dist/web-containers/source/messages/en.json.js.map +1 -1
  61. package/dist/web-containers/source/messages/es.json.js +28 -1
  62. package/dist/web-containers/source/messages/es.json.js.map +1 -1
  63. package/dist/web-containers/source/messages/fr.json.js +28 -1
  64. package/dist/web-containers/source/messages/fr.json.js.map +1 -1
  65. package/dist/web-containers/source/messages/zh.json.js +28 -1
  66. package/dist/web-containers/source/messages/zh.json.js.map +1 -1
  67. package/dist/web-containers/source/modals/edit-mentor-modal/tabs/settings-tab/allowed-file-types-dialog.js +79 -0
  68. package/dist/web-containers/source/modals/edit-mentor-modal/tabs/settings-tab/allowed-file-types-dialog.js.map +1 -0
  69. package/dist/web-containers/source/modals/edit-mentor-modal/tabs/settings-tab/allowed-file-types-field.js +36 -0
  70. package/dist/web-containers/source/modals/edit-mentor-modal/tabs/settings-tab/allowed-file-types-field.js.map +1 -0
  71. package/dist/web-containers/source/modals/edit-mentor-modal/tabs/settings-tab/capabilities-sub-tab.js +5 -1
  72. package/dist/web-containers/source/modals/edit-mentor-modal/tabs/settings-tab/capabilities-sub-tab.js.map +1 -1
  73. package/dist/web-containers/source/modals/edit-mentor-modal/tabs/settings-tab/labels.js +28 -1
  74. package/dist/web-containers/source/modals/edit-mentor-modal/tabs/settings-tab/labels.js.map +1 -1
  75. package/dist/web-containers/source/modals/edit-mentor-modal/tabs/settings-tab/use-edit-mentor-settings.js +23 -2
  76. package/dist/web-containers/source/modals/edit-mentor-modal/tabs/settings-tab/use-edit-mentor-settings.js.map +1 -1
  77. package/dist/web-containers/source/settings-tab/allowed-file-types-dialog.js +79 -0
  78. package/dist/web-containers/source/settings-tab/allowed-file-types-dialog.js.map +1 -0
  79. package/dist/web-containers/source/settings-tab/allowed-file-types-field.js +36 -0
  80. package/dist/web-containers/source/settings-tab/allowed-file-types-field.js.map +1 -0
  81. package/dist/web-containers/source/settings-tab/capabilities-sub-tab.js +5 -1
  82. package/dist/web-containers/source/settings-tab/capabilities-sub-tab.js.map +1 -1
  83. package/dist/web-containers/source/settings-tab/labels.js +28 -1
  84. package/dist/web-containers/source/settings-tab/labels.js.map +1 -1
  85. package/dist/web-containers/source/settings-tab/use-edit-mentor-settings.js +23 -2
  86. package/dist/web-containers/source/settings-tab/use-edit-mentor-settings.js.map +1 -1
  87. package/dist/web-containers/source/tabs/settings-tab/allowed-file-types-dialog.js +79 -0
  88. package/dist/web-containers/source/tabs/settings-tab/allowed-file-types-dialog.js.map +1 -0
  89. package/dist/web-containers/source/tabs/settings-tab/allowed-file-types-field.js +36 -0
  90. package/dist/web-containers/source/tabs/settings-tab/allowed-file-types-field.js.map +1 -0
  91. package/dist/web-containers/source/tabs/settings-tab/capabilities-sub-tab.js +5 -1
  92. package/dist/web-containers/source/tabs/settings-tab/capabilities-sub-tab.js.map +1 -1
  93. package/dist/web-containers/source/tabs/settings-tab/labels.js +28 -1
  94. package/dist/web-containers/source/tabs/settings-tab/labels.js.map +1 -1
  95. package/dist/web-containers/source/tabs/settings-tab/use-edit-mentor-settings.js +23 -2
  96. package/dist/web-containers/source/tabs/settings-tab/use-edit-mentor-settings.js.map +1 -1
  97. package/dist/web-containers/source/tsconfig.tsbuildinfo +1 -1
  98. package/dist/web-containers/source/use-chat-file-drag-drop.js +1 -0
  99. package/dist/web-containers/source/use-chat-file-drag-drop.js.map +1 -1
  100. package/dist/web-containers/source/use-chat-file-upload.js +20 -3
  101. package/dist/web-containers/source/use-chat-file-upload.js.map +1 -1
  102. package/dist/web-containers/source/use-edit-mentor-settings.js +23 -2
  103. package/dist/web-containers/source/use-edit-mentor-settings.js.map +1 -1
  104. package/dist/web-containers/source/web-containers/tsconfig.tsbuildinfo +1 -1
  105. package/dist/web-containers/source/zh.json.js +28 -1
  106. package/dist/web-containers/source/zh.json.js.map +1 -1
  107. package/package.json +4 -4
@@ -4940,6 +4940,28 @@ var settingsTabLabels = {
4940
4940
  globalSettings: "Se aplican tanto al chat en la aplicacion como al widget incrustado.",
4941
4941
  inAppChat: "Conversaciones alojadas dentro de la aplicacion: el chat que tus usuarios abren aqui.",
4942
4942
  embedWidget: "El widget que incrustas en tu propio sitio con el fragmento de la pestana Insertar."
4943
+ },
4944
+ allowedFileTypes: {
4945
+ heading: "Carga de Archivos",
4946
+ title: "Tipos de Archivo que los Usuarios Pueden Adjuntar",
4947
+ tooltip: "Elige qué tipos de archivo pueden adjuntar los usuarios en el chat de la aplicación y en el widget insertado. No elijas ninguno para permitir todos los tipos de archivo. Los archivos también deben poder ser leídos por el modelo del agente.",
4948
+ tooltipAriaLabel: "Más información sobre los tipos de archivo que los usuarios pueden adjuntar",
4949
+ openButton: "Tipos de Archivo Permitidos",
4950
+ countAll: "Se permiten todos los tipos de archivo",
4951
+ countOne: "1 tipo de archivo permitido",
4952
+ countMany: "{count} tipos de archivo permitidos",
4953
+ dialogTitle: "Tipos de Archivo Permitidos",
4954
+ dialogDescription: "Elige lo que los usuarios pueden adjuntar. No elijas nada para permitir todos los tipos de archivo.",
4955
+ commonHeading: "Tipos de Archivo Comunes",
4956
+ customHeading: "Añadidos por Ti",
4957
+ inputPlaceholder: "Añade un tipo de archivo, p. ej. json",
4958
+ inputAriaLabel: "Añadir un tipo de archivo",
4959
+ add: "Añadir",
4960
+ removeAriaLabel: "Quitar {ext}",
4961
+ duplicateError: "{ext} ya está en la lista.",
4962
+ invalidError: "Usa solo letras y números, como json.",
4963
+ clearAll: "Borrar Todo",
4964
+ done: "Listo"
4943
4965
  }
4944
4966
  };
4945
4967
  var skillsProfileAddSkillDialog = {
@@ -7813,7 +7835,12 @@ var chat = {
7813
7835
  fileTooLarge: "{name}: File size ({size}MB) exceeds maximum of {max}MB",
7814
7836
  uploadUrlFailed: "Failed to get upload URL for {name}",
7815
7837
  uploadFailed: "Failed to upload {name}",
7816
- retryFailed: "Failed to retry upload for {name}"
7838
+ retryFailed: "Failed to retry upload for {name}",
7839
+ typeNotAllowed: "No se puede añadir {name}. Este agente solo acepta archivos {types}.",
7840
+ notAllowedForAgent: "No se puede usar {name} con este agente. Quítalo para enviar tu mensaje.",
7841
+ typeListSeparator: ", ",
7842
+ typeListAnd: "{head} y {last}",
7843
+ typeListMore: "{list} y {count} más"
7817
7844
  },
7818
7845
  voiceChat: {
7819
7846
  micBlocked: "Microphone access is blocked. Enable it in your browser settings and try again.",
@@ -1 +1 @@
1
- {"version":3,"file":"es.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -4940,6 +4940,28 @@ var settingsTabLabels = {
4940
4940
  globalSettings: "Ils s'appliquent aussi bien au chat dans l'application qu'au widget integre.",
4941
4941
  inAppChat: "Les conversations hebergees dans l'application : le chat que vos utilisateurs ouvrent ici.",
4942
4942
  embedWidget: "Le widget que vous integrez a votre propre site avec l'extrait de l'onglet Integration."
4943
+ },
4944
+ allowedFileTypes: {
4945
+ heading: "Envoi de Fichiers",
4946
+ title: "Types de Fichiers que les Utilisateurs Peuvent Joindre",
4947
+ tooltip: "Choisissez les types de fichiers que les utilisateurs peuvent joindre dans le chat de l'application et le widget intégré. Ne choisissez rien pour autoriser tous les types de fichiers. Les fichiers doivent aussi pouvoir être lus par le modèle de l'agent.",
4948
+ tooltipAriaLabel: "En savoir plus sur les types de fichiers que les utilisateurs peuvent joindre",
4949
+ openButton: "Types de Fichiers Autorisés",
4950
+ countAll: "Tous les types de fichiers sont autorisés",
4951
+ countOne: "1 type de fichier autorisé",
4952
+ countMany: "{count} types de fichiers autorisés",
4953
+ dialogTitle: "Types de Fichiers Autorisés",
4954
+ dialogDescription: "Choisissez ce que les utilisateurs peuvent joindre. Ne choisissez rien pour autoriser tous les types de fichiers.",
4955
+ commonHeading: "Types de Fichiers Courants",
4956
+ customHeading: "Ajoutés par Vous",
4957
+ inputPlaceholder: "Ajoutez un type de fichier, par ex. json",
4958
+ inputAriaLabel: "Ajouter un type de fichier",
4959
+ add: "Ajouter",
4960
+ removeAriaLabel: "Retirer {ext}",
4961
+ duplicateError: "{ext} est déjà dans la liste.",
4962
+ invalidError: "Utilisez uniquement des lettres et des chiffres, comme json.",
4963
+ clearAll: "Tout Effacer",
4964
+ done: "Terminé"
4943
4965
  }
4944
4966
  };
4945
4967
  var skillsProfileAddSkillDialog = {
@@ -7813,7 +7835,12 @@ var chat = {
7813
7835
  fileTooLarge: "{name}: File size ({size}MB) exceeds maximum of {max}MB",
7814
7836
  uploadUrlFailed: "Failed to get upload URL for {name}",
7815
7837
  uploadFailed: "Failed to upload {name}",
7816
- retryFailed: "Failed to retry upload for {name}"
7838
+ retryFailed: "Failed to retry upload for {name}",
7839
+ typeNotAllowed: "Impossible d'ajouter {name}. Cet agent n'accepte que les fichiers {types}.",
7840
+ notAllowedForAgent: "{name} ne peut pas être utilisé avec cet agent. Retirez-le pour envoyer votre message.",
7841
+ typeListSeparator: ", ",
7842
+ typeListAnd: "{head} et {last}",
7843
+ typeListMore: "{list} et {count} de plus"
7817
7844
  },
7818
7845
  voiceChat: {
7819
7846
  micBlocked: "Microphone access is blocked. Enable it in your browser settings and try again.",
@@ -1 +1 @@
1
- {"version":3,"file":"fr.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -4940,6 +4940,28 @@ var settingsTabLabels = {
4940
4940
  globalSettings: "同时适用于应用内聊天和嵌入式挂件。",
4941
4941
  inAppChat: "应用内托管的对话,即用户在此打开的聊天。",
4942
4942
  embedWidget: "你使用“嵌入”标签页中的代码片段嵌入到自己网站上的挂件。"
4943
+ },
4944
+ allowedFileTypes: {
4945
+ heading: "文件上传",
4946
+ title: "用户可附加的文件类型",
4947
+ tooltip: "选择用户可以在应用内聊天和嵌入式小部件中附加的文件类型。不选择任何类型则允许所有文件类型。文件还必须是该智能体的模型能够读取的类型。",
4948
+ tooltipAriaLabel: "详细了解用户可附加的文件类型",
4949
+ openButton: "允许的文件类型",
4950
+ countAll: "允许所有文件类型",
4951
+ countOne: "允许 1 种文件类型",
4952
+ countMany: "允许 {count} 种文件类型",
4953
+ dialogTitle: "允许的文件类型",
4954
+ dialogDescription: "选择用户可以附加的内容。不选择任何类型即允许所有文件类型。",
4955
+ commonHeading: "常用文件类型",
4956
+ customHeading: "您添加的",
4957
+ inputPlaceholder: "添加文件类型,例如 json",
4958
+ inputAriaLabel: "添加文件类型",
4959
+ add: "添加",
4960
+ removeAriaLabel: "移除 {ext}",
4961
+ duplicateError: "{ext} 已在列表中。",
4962
+ invalidError: "只能使用字母和数字,例如 json。",
4963
+ clearAll: "全部清除",
4964
+ done: "完成"
4943
4965
  }
4944
4966
  };
4945
4967
  var skillsProfileAddSkillDialog = {
@@ -7813,7 +7835,12 @@ var chat = {
7813
7835
  fileTooLarge: "{name}: File size ({size}MB) exceeds maximum of {max}MB",
7814
7836
  uploadUrlFailed: "Failed to get upload URL for {name}",
7815
7837
  uploadFailed: "Failed to upload {name}",
7816
- retryFailed: "Failed to retry upload for {name}"
7838
+ retryFailed: "Failed to retry upload for {name}",
7839
+ typeNotAllowed: "无法添加 {name}。此智能体仅接受 {types} 文件。",
7840
+ notAllowedForAgent: "{name} 无法用于此智能体。请将其移除后再发送消息。",
7841
+ typeListSeparator: "、",
7842
+ typeListAnd: "{head}和{last}",
7843
+ typeListMore: "{list}及另外 {count} 种"
7817
7844
  },
7818
7845
  voiceChat: {
7819
7846
  micBlocked: "Microphone access is blocked. Enable it in your browser settings and try again.",
@@ -1 +1 @@
1
- {"version":3,"file":"zh.json.js","sources":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'react';
3
+ import { normalizeFileExtension, FILE_EXTENSION_PATTERN } from '@iblai/web-utils';
4
+ import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter } from '../../../../ui/dialog.js';
5
+ import { Button } from '../../../../ui/button.js';
6
+ import { Input } from '../../../../ui/input.js';
7
+ import { cn } from '../../../../../lib/utils.js';
8
+ import Check from '../../../../../node_modules/.pnpm/lucide-react@0.528.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/check.js';
9
+ import X from '../../../../../node_modules/.pnpm/lucide-react@0.528.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/x.js';
10
+
11
+ const COMMON_FILE_EXTENSIONS = [
12
+ 'pdf',
13
+ 'docx',
14
+ 'txt',
15
+ 'md',
16
+ 'csv',
17
+ 'xlsx',
18
+ 'pptx',
19
+ 'png',
20
+ 'jpg',
21
+ 'gif',
22
+ 'webp',
23
+ 'mp3',
24
+ ];
25
+ const isCommon = (ext) => COMMON_FILE_EXTENSIONS.includes(ext);
26
+ function allowedFileTypesCount(list, labels) {
27
+ if (list.length === 0)
28
+ return labels.countAll;
29
+ if (list.length === 1)
30
+ return labels.countOne;
31
+ return labels.countMany.replace('{count}', String(list.length));
32
+ }
33
+ function AllowedFileTypesDialog({ open, value, labels, onDone, onClose, }) {
34
+ return (jsx(Dialog, { open: open, onOpenChange: (next) => !next && onClose(), children: jsx(DialogContent, { className: "sm:max-w-[600px]", "data-testid": "allowed-file-types-dialog", children: open && jsx(DialogBody, { value: value, labels: labels, onDone: onDone }) }) }));
35
+ }
36
+ function DialogBody({ value, labels, onDone, }) {
37
+ const [picked, setPicked] = useState(value);
38
+ const [draft, setDraft] = useState('');
39
+ const [error, setError] = useState('');
40
+ const custom = picked.filter((ext) => !isCommon(ext));
41
+ const toggle = (ext) => {
42
+ setPicked((list) => (list.includes(ext) ? list.filter((e) => e !== ext) : [...list, ext]));
43
+ setError('');
44
+ };
45
+ const addDraft = () => {
46
+ const ext = normalizeFileExtension(draft);
47
+ if (!ext)
48
+ return;
49
+ if (!FILE_EXTENSION_PATTERN.test(ext)) {
50
+ setError(labels.invalidError);
51
+ return;
52
+ }
53
+ if (picked.includes(ext)) {
54
+ setError(labels.duplicateError.replace('{ext}', ext));
55
+ return;
56
+ }
57
+ setPicked((list) => [...list, ext]);
58
+ setDraft('');
59
+ setError('');
60
+ };
61
+ return (jsxs(Fragment, { children: [jsxs(DialogHeader, { children: [jsx(DialogTitle, { children: labels.dialogTitle }), jsx(DialogDescription, { children: labels.dialogDescription })] }), jsxs("section", { className: "space-y-2.5", children: [jsx("h3", { className: "text-xs font-semibold tracking-wide text-gray-500 uppercase", children: labels.commonHeading }), jsx("div", { className: "grid grid-cols-2 gap-2 sm:grid-cols-4", children: COMMON_FILE_EXTENSIONS.map((ext) => {
62
+ const on = picked.includes(ext);
63
+ return (jsxs("button", { type: "button", "aria-pressed": on, onClick: () => toggle(ext), "data-testid": `allowed-file-type-${ext}`, className: cn('flex h-9 items-center gap-2 rounded-md border px-3 text-[13px] font-medium text-gray-900', on ? 'border-blue-500 bg-blue-50' : 'border-gray-200 bg-white'), children: [jsx("span", { "aria-hidden": "true", className: cn('flex h-4 w-4 items-center justify-center rounded border text-white', on ? 'border-blue-600 bg-blue-600' : 'border-gray-300 bg-white'), children: jsx(Check, { className: "h-3 w-3", strokeWidth: 3 }) }), ext] }, ext));
64
+ }) })] }), jsxs("section", { className: "space-y-2.5", children: [jsx("h3", { className: "text-xs font-semibold tracking-wide text-gray-500 uppercase", children: labels.customHeading }), custom.length > 0 && (jsx("div", { className: "flex flex-wrap gap-1.5", "data-testid": "allowed-file-types-custom", children: custom.map((ext) => (jsxs("span", { className: "inline-flex h-7 items-center gap-1 rounded-md border border-blue-200 bg-blue-50 pr-1.5 pl-2.5 text-[13px] font-medium text-blue-700", children: [ext, jsx("button", { type: "button", "aria-label": labels.removeAriaLabel.replace('{ext}', ext), onClick: () => toggle(ext), className: "flex p-0.5 text-blue-500", children: jsx(X, { className: "h-3 w-3", strokeWidth: 2.5 }) })] }, ext))) })), jsxs("div", { className: "flex gap-2", children: [jsx(Input, { type: "text", value: draft, "aria-label": labels.inputAriaLabel, "aria-invalid": error ? true : undefined, placeholder: labels.inputPlaceholder, onChange: (e) => {
65
+ setDraft(e.target.value);
66
+ setError('');
67
+ }, onKeyDown: (e) => {
68
+ if (e.key === 'Enter' || e.key === ',') {
69
+ e.preventDefault();
70
+ addDraft();
71
+ }
72
+ }, className: cn('h-9 flex-1', error && 'border-red-600'), "data-testid": "allowed-file-types-input" }), jsx(Button, { type: "button", variant: "outline", className: "h-9", onClick: addDraft, children: labels.add })] }), error && (jsx("p", { className: "text-xs text-red-600", role: "alert", "data-testid": "allowed-file-types-error", children: error }))] }), jsxs(DialogFooter, { className: "items-center gap-2 border-t pt-4 sm:justify-between", children: [jsx("span", { className: "text-xs text-gray-500", "data-testid": "allowed-file-types-draft-count", children: allowedFileTypesCount(picked, labels) }), jsxs("div", { className: "flex gap-2", children: [jsx(Button, { type: "button", variant: "outline", onClick: () => {
73
+ setPicked([]);
74
+ setError('');
75
+ }, children: labels.clearAll }), jsx(Button, { type: "button", onClick: () => onDone(picked), className: "bg-gradient-to-r from-[#2563EB] to-[#93C5FD] text-white hover:opacity-90", children: labels.done })] })] })] }));
76
+ }
77
+
78
+ export { AllowedFileTypesDialog, COMMON_FILE_EXTENSIONS, allowedFileTypesCount };
79
+ //# sourceMappingURL=allowed-file-types-dialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allowed-file-types-dialog.js","sources":["../../../../../../../../../../src/components/modals/edit-mentor-modal/tabs/settings-tab/allowed-file-types-dialog.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;AAoBO,MAAM,sBAAsB,GAAG;IACpC,KAAK;IACL,MAAM;IACN,KAAK;IACL,IAAI;IACJ,KAAK;IACL,MAAM;IACN,MAAM;IACN,KAAK;IACL,KAAK;IACL,KAAK;IACL,MAAM;IACN,KAAK;;AAGP,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AAO,EAAE,QAAQ,EAAA,QAAA,EACtE,MAAM,CAAC,GAAG,GACJ,CAAA,EAAA,CACL,EACL,KAAK,KACJA,WAAG,SAAS,EAAC,sBAAsB,EAAC,IAAI,EAAC,OAAO,EAAA,aAAA,EAAa,0BAA0B,YACpF,KAAK,EAAA,CACJ,CACL,CAAA,EAAA,CACO,EAEVC,IAAA,CAAC,YAAY,EAAA,EAAC,SAAS,EAAC,qDAAqD,EAAA,QAAA,EAAA,CAC3ED,cAAM,SAAS,EAAC,uBAAuB,EAAA,aAAA,EAAa,gCAAgC,EAAA,QAAA,EACjF,qBAAqB,CAAC,MAAM,EAAE,MAAM,CAAC,GACjC,EACPC,IAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAC,YAAY,EAAA,QAAA,EAAA,CACzBD,GAAA,CAAC,MAAM,EAAA,EACL,IAAI,EAAC,QAAQ,EACb,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,MAAK;oCACZ,SAAS,CAAC,EAAE,CAAC;oCACb,QAAQ,CAAC,EAAE,CAAC;AACd,gCAAA,CAAC,EAAA,QAAA,EAEA,MAAM,CAAC,QAAQ,GACT,EACTA,GAAA,CAAC,MAAM,EAAA,EACL,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,MAAM,MAAM,CAAC,MAAM,CAAC,EAC7B,SAAS,EAAC,0EAA0E,EAAA,QAAA,EAEnF,MAAM,CAAC,IAAI,EAAA,CACL,CAAA,EAAA,CACL,CAAA,EAAA,CACO,CAAA,EAAA,CACd;AAEP;;;;"}
@@ -0,0 +1,36 @@
1
+ import { jsx, jsxs } from 'react/jsx-runtime';
2
+ import { useState } from 'react';
3
+ import { WithFormPermissions } from '@iblai/web-utils';
4
+ import { Button } from '../../../../ui/button.js';
5
+ import { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent } from '../../../../ui/tooltip.js';
6
+ import { AllowedFileTypesDialog } from './allowed-file-types-dialog.js';
7
+ import { CAPABILITY_MATRIX_GRID } from './capability-matrix-row.js';
8
+ import Info from '../../../../../node_modules/.pnpm/lucide-react@0.528.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/info.js';
9
+
10
+ const PERMISSION_NAME = 'allowed_file_upload_extensions';
11
+ /**
12
+ * "File Types Users Can Attach" row; Done in its dialog writes the form field,
13
+ * the tab's Save persists it.
14
+ */
15
+ function AllowedFileTypesField({ form, labels, isDisabled, fieldPermissions, enableRBAC, }) {
16
+ const [isOpen, setIsOpen] = useState(false);
17
+ const box = (gatedDisabled) => (jsx(form.Field, { name: "allowed_file_upload_extensions", children: (field) => {
18
+ const value = field.state.value;
19
+ return (jsxs("div", { className: `flex items-center justify-between gap-4 ${CAPABILITY_MATRIX_GRID}`, "data-testid": "allowed-file-types-box", children: [jsxs("div", { className: "flex items-center gap-2", children: [jsx("span", { className: "text-sm font-medium text-[#646464]", children: labels.title }), jsx(TooltipProvider, { children: jsxs(Tooltip, { children: [jsx(TooltipTrigger, { type: "button", "aria-label": labels.tooltipAriaLabel, children: jsx(Info, { className: "h-4 w-4 text-gray-400" }) }), jsx(TooltipContent, { className: "ibl-tooltip-content", children: jsx("p", { children: labels.tooltip }) })] }) })] }), jsx("span", { className: "hidden md:block" }), jsx("div", { className: "flex w-11 flex-col items-end md:justify-self-center", children: jsx(Button, { type: "button", variant: "outline", className: "shrink-0 whitespace-nowrap", disabled: isDisabled || gatedDisabled, onClick: () => setIsOpen(true), "data-testid": "allowed-file-types-button", children: labels.openButton }) }), jsx(AllowedFileTypesDialog, { open: isOpen, value: value, labels: labels, onClose: () => setIsOpen(false), onDone: (next) => {
20
+ field.handleChange(next);
21
+ setIsOpen(false);
22
+ } })] }));
23
+ } }));
24
+ // `WithFormPermissions` hides a control whose key is missing from the map on
25
+ // an RBAC tenant, but the endpoint writes this field under the resource-level
26
+ // settings permission — so gate only when the map describes it.
27
+ if (!(fieldPermissions === null || fieldPermissions === void 0 ? void 0 : fieldPermissions[PERMISSION_NAME])) {
28
+ return box(false);
29
+ }
30
+ return (jsx(WithFormPermissions, { name: PERMISSION_NAME,
31
+ // @ts-expect-error permissions field type is opaque
32
+ permissions: fieldPermissions, enableRBAC: enableRBAC, children: ({ disabled }) => box(disabled) }));
33
+ }
34
+
35
+ export { AllowedFileTypesField };
36
+ //# sourceMappingURL=allowed-file-types-field.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allowed-file-types-field.js","sources":["../../../../../../../../../../src/components/modals/edit-mentor-modal/tabs/settings-tab/allowed-file-types-field.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;AAmBA,MAAM,eAAe,GAAG,gCAAgC;AAUxD;;;AAGG;AACG,SAAU,qBAAqB,CAAC,EACpC,IAAI,EACJ,MAAM,EACN,UAAU,EACV,gBAAgB,EAChB,UAAU,GACiB,EAAA;IAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC;IAE3C,MAAM,GAAG,GAAG,CAAC,aAAsB,MACjCA,GAAA,CAAC,IAAI,CAAC,KAAK,EAAA,EAAC,IAAI,EAAC,gCAAgC,YAC9C,CAAC,KAAK,KAAI;AACT,YAAA,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,KAAK;AAC/B,YAAA,QACEC,IAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAE,2CAA2C,sBAAsB,CAAA,CAAE,EAAA,aAAA,EAClE,wBAAwB,aAEpCA,IAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAC,yBAAyB,aACtCD,GAAA,CAAA,MAAA,EAAA,EAAM,SAAS,EAAC,oCAAoC,EAAA,QAAA,EAAE,MAAM,CAAC,KAAK,GAAQ,EAC1EA,GAAA,CAAC,eAAe,EAAA,EAAA,QAAA,EACdC,KAAC,OAAO,EAAA,EAAA,QAAA,EAAA,CACND,GAAA,CAAC,cAAc,IAAC,IAAI,EAAC,QAAQ,EAAA,YAAA,EAAa,MAAM,CAAC,gBAAgB,EAAA,QAAA,EAC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AClB,IAAI,EAAE,eAAe;;QAErB,WAAW,EAAE,gBAAgB,EAC7B,UAAU,EAAE,UAAU,EAAA,QAAA,EAErB,CAAC,EAAE,QAAQ,EAAyB,KAAK,GAAG,CAAC,QAAQ,CAAC,EAAA,CACnC;AAE1B;;;;"}
@@ -2,9 +2,11 @@ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { useT } from '../../../../../i18n/context.js';
3
3
  import '../../../../../packages/i18n/dist/index.esm.js';
4
4
  import { useAgentSettings } from '../../agent-settings-context.js';
5
+ import { AllowedFileTypesField } from './allowed-file-types-field.js';
5
6
  import { CapabilityMatrixHeader, CapabilityMatrixRow, CapabilityMatrixSwitch } from './capability-matrix-row.js';
6
7
  import { SettingNumberField } from './setting-number-field.js';
7
8
  import { SettingToggleField } from './setting-toggle-field.js';
9
+ import { ALLOWED_FILE_TYPES_DEFAULTS } from './labels.js';
8
10
  import { getFieldPermissions } from './types.js';
9
11
 
10
12
  /**
@@ -18,9 +20,11 @@ import { getFieldPermissions } from './types.js';
18
20
  * "applies everywhere".
19
21
  */
20
22
  function CapabilitiesSubTab({ form, labels, mentor, isDisabled }) {
23
+ var _a;
21
24
  const t = useT();
22
25
  const { enableRBAC } = useAgentSettings();
23
26
  const fieldPermissions = getFieldPermissions(mentor);
27
+ const fileTypesLabels = (_a = labels.allowedFileTypes) !== null && _a !== void 0 ? _a : ALLOWED_FILE_TYPES_DEFAULTS;
24
28
  return (jsxs("div", { className: "space-y-6", children: [jsxs("div", { className: "rounded-lg border border-gray-200 bg-gray-50 px-4 py-3", "data-testid": "capabilities-per-surface-banner", children: [jsx("h4", { className: "text-sm font-medium text-gray-900", children: labels.sections.perSurface }), jsx("p", { className: "mt-1 text-xs text-gray-600", children: labels.notes.perSurface })] }), jsxs("div", { className: "space-y-3", children: [jsx(CapabilityMatrixHeader, { heading: labels.sections.chatExperience, inAppChat: {
25
29
  label: labels.surfaces.inAppChat,
26
30
  tooltip: labels.notes.inAppChat,
@@ -34,7 +38,7 @@ function CapabilitiesSubTab({ form, labels, mentor, isDisabled }) {
34
38
  // field-permission map, and `WithFormPermissions` HIDES a control
35
39
  // whose key is missing on an RBAC tenant. The Voice tab treats the
36
40
  // same field the same way.
37
- jsx(CapabilityMatrixSwitch, { form: form, name: "show_voice_call", label: labels.fields.showVoiceCall.label, isDisabled: isDisabled }), embedWidget: jsx(CapabilityMatrixSwitch, { form: form, name: "embed_show_voice_call", label: labels.fields.embedShowVoiceCall.label, isDisabled: isDisabled }) })] })] }), jsxs("div", { className: "rounded-lg border border-gray-200 bg-gray-50 px-4 py-3", "data-testid": "capabilities-global-settings-banner", children: [jsx("h4", { className: "text-sm font-medium text-gray-900", children: labels.sections.globalSettings }), jsx("p", { className: "mt-1 text-xs text-gray-600", children: labels.notes.globalSettings })] }), jsxs("div", { className: "space-y-4", children: [jsxs("div", { className: "space-y-3", children: [jsx("h4", { className: "text-xs font-semibold tracking-wide text-gray-500 uppercase", children: labels.sections.chatExperience }), jsx(SettingToggleField, { form: form, name: "show_reasoning", label: labels.fields.showReasoning.label, tooltip: labels.fields.showReasoning.tooltip, tooltipAriaLabel: t('tabsSettingsTab.showReasoningTooltipAriaLabel'), isDisabled: isDisabled, alignToMatrix: true }), jsx(SettingToggleField, { form: form, name: "enable_multi_query_rag", label: labels.fields.enhancedDocRetrieval.label, tooltip: labels.fields.enhancedDocRetrieval.tooltip, tooltipAriaLabel: t('tabsSettingsTab.enhancedDocRetrievalTooltipAriaLabel'), isDisabled: isDisabled, permissionName: "enable_multi_query_rag", fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, alignToMatrix: true }), jsx(SettingToggleField, { form: form, name: "show_last_conversation", label: labels.fields.showLastConversation.label, tooltip: labels.fields.showLastConversation.tooltip, tooltipAriaLabel: t('tabsSettingsTab.showLastConversationTooltipAriaLabel'), isDisabled: isDisabled, permissionName: "show_last_conversation", fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, testId: "settings-show-last-conversation-switch", alignToMatrix: true }), jsx(SettingToggleField, { form: form, name: "use_function_calling_for_rag", label: labels.fields.smartDocRetrieval.label, tooltip: labels.fields.smartDocRetrieval.tooltip, tooltipAriaLabel: t('tabsSettingsTab.smartDocRetrievalTooltipAriaLabel'), isDisabled: isDisabled, testId: "settings-use-function-calling-for-rag-switch", alignToMatrix: true }), jsx(SettingToggleField, { form: form, name: "enable_prompt_caching", label: labels.fields.promptCaching.label, tooltip: labels.fields.promptCaching.tooltip, tooltipAriaLabel: t('tabsSettingsTab.promptCachingTooltipAriaLabel'), isDisabled: isDisabled, permissionName: "enable_prompt_caching", fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, alignToMatrix: true })] }), jsxs("div", { className: "space-y-3", children: [jsx("h4", { className: "text-xs font-semibold tracking-wide text-gray-500 uppercase", children: labels.sections.advanced }), jsx(SettingToggleField, { form: form, name: "forkable", label: labels.fields.allowCopies.label, tooltip: labels.fields.allowCopies.tooltip, tooltipAriaLabel: t('tabsSettingsTab.allowCopiesTooltipAriaLabel'), isDisabled: isDisabled, alignToMatrix: true }), jsx(SettingToggleField, { form: form, name: "show_explore_mentors", label: labels.fields.showExploreMentors.label, tooltip: labels.fields.showExploreMentors.tooltip, tooltipAriaLabel: t('tabsSettingsTab.showExploreMentorsTooltipAriaLabel'), isDisabled: isDisabled, permissionName: "show_explore_mentors", fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, testId: "settings-show-explore-mentors-switch", alignToMatrix: true })] }), jsxs("div", { className: "space-y-3", "data-testid": "settings-context-limits", children: [jsx("h4", { className: "text-xs font-semibold tracking-wide text-gray-500 uppercase", children: labels.sections.contextLimits }), jsx(SettingNumberField, { form: form, name: "chat_history_max_messages", labels: labels.fields.chatHistoryMessages, tooltipAriaLabel: t('tabsSettingsTab.chatHistoryMessagesTooltipAriaLabel'), isDisabled: isDisabled, fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, testId: "settings-chat-history-max-messages-input" }), jsx(SettingNumberField, { form: form, name: "chat_history_max_tokens", labels: labels.fields.chatHistoryTokens, tooltipAriaLabel: t('tabsSettingsTab.chatHistoryTokensTooltipAriaLabel'), isDisabled: isDisabled, fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, testId: "settings-chat-history-max-tokens-input" }), jsx(SettingNumberField, { form: form, name: "rag_retrieval_k", labels: labels.fields.documentChunks, tooltipAriaLabel: t('tabsSettingsTab.documentChunksTooltipAriaLabel'), isDisabled: isDisabled, fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, testId: "settings-rag-retrieval-k-input" })] })] })] }));
41
+ jsx(CapabilityMatrixSwitch, { form: form, name: "show_voice_call", label: labels.fields.showVoiceCall.label, isDisabled: isDisabled }), embedWidget: jsx(CapabilityMatrixSwitch, { form: form, name: "embed_show_voice_call", label: labels.fields.embedShowVoiceCall.label, isDisabled: isDisabled }) })] })] }), jsxs("div", { className: "rounded-lg border border-gray-200 bg-gray-50 px-4 py-3", "data-testid": "capabilities-global-settings-banner", children: [jsx("h4", { className: "text-sm font-medium text-gray-900", children: labels.sections.globalSettings }), jsx("p", { className: "mt-1 text-xs text-gray-600", children: labels.notes.globalSettings })] }), jsxs("div", { className: "space-y-4", children: [jsxs("div", { className: "space-y-3", children: [jsx("h4", { className: "text-xs font-semibold tracking-wide text-gray-500 uppercase", children: labels.sections.chatExperience }), jsx(SettingToggleField, { form: form, name: "show_reasoning", label: labels.fields.showReasoning.label, tooltip: labels.fields.showReasoning.tooltip, tooltipAriaLabel: t('tabsSettingsTab.showReasoningTooltipAriaLabel'), isDisabled: isDisabled, alignToMatrix: true }), jsx(SettingToggleField, { form: form, name: "enable_multi_query_rag", label: labels.fields.enhancedDocRetrieval.label, tooltip: labels.fields.enhancedDocRetrieval.tooltip, tooltipAriaLabel: t('tabsSettingsTab.enhancedDocRetrievalTooltipAriaLabel'), isDisabled: isDisabled, permissionName: "enable_multi_query_rag", fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, alignToMatrix: true }), jsx(SettingToggleField, { form: form, name: "show_last_conversation", label: labels.fields.showLastConversation.label, tooltip: labels.fields.showLastConversation.tooltip, tooltipAriaLabel: t('tabsSettingsTab.showLastConversationTooltipAriaLabel'), isDisabled: isDisabled, permissionName: "show_last_conversation", fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, testId: "settings-show-last-conversation-switch", alignToMatrix: true }), jsx(SettingToggleField, { form: form, name: "use_function_calling_for_rag", label: labels.fields.smartDocRetrieval.label, tooltip: labels.fields.smartDocRetrieval.tooltip, tooltipAriaLabel: t('tabsSettingsTab.smartDocRetrievalTooltipAriaLabel'), isDisabled: isDisabled, testId: "settings-use-function-calling-for-rag-switch", alignToMatrix: true }), jsx(SettingToggleField, { form: form, name: "enable_prompt_caching", label: labels.fields.promptCaching.label, tooltip: labels.fields.promptCaching.tooltip, tooltipAriaLabel: t('tabsSettingsTab.promptCachingTooltipAriaLabel'), isDisabled: isDisabled, permissionName: "enable_prompt_caching", fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, alignToMatrix: true })] }), jsxs("div", { className: "space-y-3", children: [jsx("h4", { className: "text-xs font-semibold tracking-wide text-gray-500 uppercase", children: labels.sections.advanced }), jsx(SettingToggleField, { form: form, name: "forkable", label: labels.fields.allowCopies.label, tooltip: labels.fields.allowCopies.tooltip, tooltipAriaLabel: t('tabsSettingsTab.allowCopiesTooltipAriaLabel'), isDisabled: isDisabled, alignToMatrix: true }), jsx(SettingToggleField, { form: form, name: "show_explore_mentors", label: labels.fields.showExploreMentors.label, tooltip: labels.fields.showExploreMentors.tooltip, tooltipAriaLabel: t('tabsSettingsTab.showExploreMentorsTooltipAriaLabel'), isDisabled: isDisabled, permissionName: "show_explore_mentors", fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, testId: "settings-show-explore-mentors-switch", alignToMatrix: true })] }), jsxs("div", { className: "space-y-3", "data-testid": "settings-context-limits", children: [jsx("h4", { className: "text-xs font-semibold tracking-wide text-gray-500 uppercase", children: labels.sections.contextLimits }), jsx(SettingNumberField, { form: form, name: "chat_history_max_messages", labels: labels.fields.chatHistoryMessages, tooltipAriaLabel: t('tabsSettingsTab.chatHistoryMessagesTooltipAriaLabel'), isDisabled: isDisabled, fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, testId: "settings-chat-history-max-messages-input" }), jsx(SettingNumberField, { form: form, name: "chat_history_max_tokens", labels: labels.fields.chatHistoryTokens, tooltipAriaLabel: t('tabsSettingsTab.chatHistoryTokensTooltipAriaLabel'), isDisabled: isDisabled, fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, testId: "settings-chat-history-max-tokens-input" }), jsx(SettingNumberField, { form: form, name: "rag_retrieval_k", labels: labels.fields.documentChunks, tooltipAriaLabel: t('tabsSettingsTab.documentChunksTooltipAriaLabel'), isDisabled: isDisabled, fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, testId: "settings-rag-retrieval-k-input" })] }), jsxs("div", { className: "space-y-3", "data-testid": "settings-file-uploads", children: [jsx("h4", { className: "text-xs font-semibold tracking-wide text-gray-500 uppercase", children: fileTypesLabels.heading }), jsx(AllowedFileTypesField, { form: form, labels: fileTypesLabels, isDisabled: isDisabled, fieldPermissions: fieldPermissions, enableRBAC: enableRBAC })] })] })] }));
38
42
  }
39
43
 
40
44
  export { CapabilitiesSubTab };
@@ -1 +1 @@
1
- {"version":3,"file":"capabilities-sub-tab.js","sources":["../../../../../../../../../../src/components/modals/edit-mentor-modal/tabs/settings-tab/capabilities-sub-tab.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;;AAkBA;;;;;;;;;AASG;AACG,SAAU,kBAAkB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAA2B,EAAA;AAC9F,IAAA,MAAM,CAAC,GAAG,IAAI,EAAE;AAChB,IAAA,MAAM,EAAE,UAAU,EAAE,GAAG,gBAAgB,EAAE;AACzC,IAAA,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,MAAM,CAAC;IAEpD,QACEA,IAAA,CAAA,K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C/C,EAEFA,IAAC,kBAAkB,EAAA,EACjB,IAAI,EAAE,IAAI,EACV,IAAI,EAAC,iBAAiB,EACtB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,cAAc,EACpC,gBAAgB,EAAE,CAAC,CAAC,gDAAgD,CAAC,EACrE,UAAU,EAAE,UAAU,EACtB,gBAAgB,EAAE,gBAAgB,EAClC,UAAU,EAAE,UAAU,EACtB,MAAM,EAAC,gCAAgC,EAAA,CACvC,IACE,CAAA,EAAA,CACF,CAAA,EAAA,CACF;AAEV;;;;"}
1
+ {"version":3,"file":"capabilities-sub-tab.js","sources":["../../../../../../../../../../src/components/modals/edit-mentor-modal/tabs/settings-tab/capabilities-sub-tab.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;;;;AAoBA;;;;;;;;;AASG;AACG,SAAU,kBAAkB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAA2B,EAAA;;AAC9F,IAAA,MAAM,CAAC,GAAG,IAAI,EAAE;AAChB,IAAA,MAAM,EAAE,UAAU,EAAE,GAAG,gBAAgB,EAAE;AACzC,IAAA,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,MAAM,CAAC;IACpD,MAAM,eAAe,GAAG,CAAA,EAAA,GAAA,MAAM,CAAC,gBAAgB,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,2BAA2B;IAE9E,QACEA,IAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAC,WAAW,aAExBA,IAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAC,wDAAwD,EAAA,aAAA,EACtD,iCAAiC,aAE7CC,GAAA,CAAA,IAAA,EAAA,EAAI,SAAS,EAAC,mCAAmC,EAAA,QAAA,EAAE,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAA,CAAM,EACnFA,GAAA,CAAA,GAAA,EAAA,EAAG,SAAS,EAAC,4BAA4B,EAAA,QAAA,EAAE,M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,EAEND,IAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAC,WAAW,iBAAa,uBAAuB,EAAA,QAAA,EAAA,CAC5DC,YAAI,SAAS,EAAC,6DAA6D,EAAA,QAAA,EACxE,eAAe,CAAC,OAAO,GACrB,EAELA,GAAA,CAAC,qBAAqB,EAAA,EACpB,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,eAAe,EACvB,UAAU,EAAE,UAAU,EACtB,gBAAgB,EAAE,gBAAgB,EAClC,UAAU,EAAE,UAAU,EAAA,CACtB,IACE,CAAA,EAAA,CACF,CAAA,EAAA,CACF;AAEV;;;;"}
@@ -19,6 +19,28 @@ import { deepMerge } from '../labels-utils.js';
19
19
  * "Delete your learning companion forever?" instead of "Delete Agent"
20
20
  * without wrestling with a template system.
21
21
  */
22
+ const ALLOWED_FILE_TYPES_DEFAULTS = {
23
+ heading: 'File Uploads',
24
+ title: 'File Types Users Can Attach',
25
+ tooltip: "Pick which kinds of files users can attach in in-app chat and the embed widget. Pick nothing to allow every file type. Files must also be ones the agent's model can read.",
26
+ tooltipAriaLabel: 'More about file types users can attach',
27
+ openButton: 'Allowed File Types',
28
+ countAll: 'All file types allowed',
29
+ countOne: '1 file type allowed',
30
+ countMany: '{count} file types allowed',
31
+ dialogTitle: 'Allowed File Types',
32
+ dialogDescription: 'Pick what users can attach. Pick nothing to allow every file type.',
33
+ commonHeading: 'Common File Types',
34
+ customHeading: 'Added by You',
35
+ inputPlaceholder: 'Add a file type, e.g. json',
36
+ inputAriaLabel: 'Add a file type',
37
+ add: 'Add',
38
+ removeAriaLabel: 'Remove {ext}',
39
+ duplicateError: '{ext} is already in the list.',
40
+ invalidError: 'Use letters and numbers only, like json.',
41
+ clearAll: 'Clear All',
42
+ done: 'Done',
43
+ };
22
44
  /** English fallbacks for the optional admin-visibility labels. */
23
45
  const ADMIN_VISIBILITY_DEFAULTS = {
24
46
  adminOnlyNote: 'Only administrators can see and chat with this agent. Everyone else loses access, including people already using it.',
@@ -202,6 +224,7 @@ const AGENT_SETTINGS_TAB_LABELS = {
202
224
  errorToast: 'Failed to delete agent',
203
225
  },
204
226
  adminVisibilityConfirm: ADMIN_VISIBILITY_DEFAULTS.adminVisibilityConfirm,
227
+ allowedFileTypes: ALLOWED_FILE_TYPES_DEFAULTS,
205
228
  copyModal: {
206
229
  title: 'Copy Agent',
207
230
  description: 'Create a copy of this agent.',
@@ -390,6 +413,10 @@ function buildSettingsTabLabels(t) {
390
413
  cancel: t('settingsTabLabels.adminVisibilityConfirm.cancel'),
391
414
  confirm: t('settingsTabLabels.adminVisibilityConfirm.confirm'),
392
415
  },
416
+ allowedFileTypes: Object.fromEntries(Object.keys(ALLOWED_FILE_TYPES_DEFAULTS).map((key) => [
417
+ key,
418
+ t(`settingsTabLabels.allowedFileTypes.${key}`),
419
+ ])),
393
420
  copyModal: {
394
421
  title: t('settingsTabLabels.copyModal.title'),
395
422
  description: t('settingsTabLabels.copyModal.description'),
@@ -428,5 +455,5 @@ function resolveSettingsTabLabels(override, t) {
428
455
  return deepMerge(base, override);
429
456
  }
430
457
 
431
- export { ADMIN_VISIBILITY_DEFAULTS, AGENT_SETTINGS_TAB_LABELS, buildSettingsTabLabels, deepMerge, resolveSettingsTabLabels };
458
+ export { ADMIN_VISIBILITY_DEFAULTS, AGENT_SETTINGS_TAB_LABELS, ALLOWED_FILE_TYPES_DEFAULTS, buildSettingsTabLabels, deepMerge, resolveSettingsTabLabels };
432
459
  //# sourceMappingURL=labels.js.map