deep-chat-dev 1.1.18

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 (357) hide show
  1. package/README.md +132 -0
  2. package/assets/machine-learning.svg +21 -0
  3. package/assets/person-avatar.png +0 -0
  4. package/custom-elements.json +31889 -0
  5. package/dist/deepChat.bundle.js +1 -0
  6. package/dist/deepChat.d.ts +71 -0
  7. package/dist/deepChat.d.ts.map +1 -0
  8. package/dist/deepChat.js +6700 -0
  9. package/dist/icons/audioIcon.d.ts +2 -0
  10. package/dist/icons/audioIcon.d.ts.map +1 -0
  11. package/dist/icons/cameraIcon.d.ts +2 -0
  12. package/dist/icons/cameraIcon.d.ts.map +1 -0
  13. package/dist/icons/captureIcon.d.ts +2 -0
  14. package/dist/icons/captureIcon.d.ts.map +1 -0
  15. package/dist/icons/closeIcon.d.ts +2 -0
  16. package/dist/icons/closeIcon.d.ts.map +1 -0
  17. package/dist/icons/fileIcon.d.ts +2 -0
  18. package/dist/icons/fileIcon.d.ts.map +1 -0
  19. package/dist/icons/gifIcon.d.ts +2 -0
  20. package/dist/icons/gifIcon.d.ts.map +1 -0
  21. package/dist/icons/imageIcon.d.ts +2 -0
  22. package/dist/icons/imageIcon.d.ts.map +1 -0
  23. package/dist/icons/microphone.d.ts +2 -0
  24. package/dist/icons/microphone.d.ts.map +1 -0
  25. package/dist/icons/mixedFilesIcon.d.ts +2 -0
  26. package/dist/icons/mixedFilesIcon.d.ts.map +1 -0
  27. package/dist/icons/notVisibilityIcon.d.ts +2 -0
  28. package/dist/icons/notVisibilityIcon.d.ts.map +1 -0
  29. package/dist/icons/playIcon.d.ts +2 -0
  30. package/dist/icons/playIcon.d.ts.map +1 -0
  31. package/dist/icons/plusIcon.d.ts +2 -0
  32. package/dist/icons/plusIcon.d.ts.map +1 -0
  33. package/dist/icons/refreshIcon.d.ts +2 -0
  34. package/dist/icons/refreshIcon.d.ts.map +1 -0
  35. package/dist/icons/stopIcon.d.ts +2 -0
  36. package/dist/icons/stopIcon.d.ts.map +1 -0
  37. package/dist/icons/submitIcon.d.ts +2 -0
  38. package/dist/icons/submitIcon.d.ts.map +1 -0
  39. package/dist/icons/tickIcon.d.ts +2 -0
  40. package/dist/icons/tickIcon.d.ts.map +1 -0
  41. package/dist/icons/visibleIcon.d.ts +2 -0
  42. package/dist/icons/visibleIcon.d.ts.map +1 -0
  43. package/dist/services/assemblyAI/assemblyAIAudioIO.d.ts +20 -0
  44. package/dist/services/assemblyAI/assemblyAIAudioIO.d.ts.map +1 -0
  45. package/dist/services/assemblyAI/utils/assemblyAIUtils.d.ts +13 -0
  46. package/dist/services/assemblyAI/utils/assemblyAIUtils.d.ts.map +1 -0
  47. package/dist/services/azure/azureLanguageIO.d.ts +12 -0
  48. package/dist/services/azure/azureLanguageIO.d.ts.map +1 -0
  49. package/dist/services/azure/azureSpeechIO.d.ts +11 -0
  50. package/dist/services/azure/azureSpeechIO.d.ts.map +1 -0
  51. package/dist/services/azure/azureSpeechToTextIO.d.ts +18 -0
  52. package/dist/services/azure/azureSpeechToTextIO.d.ts.map +1 -0
  53. package/dist/services/azure/azureSummarizationIO.d.ts +33 -0
  54. package/dist/services/azure/azureSummarizationIO.d.ts.map +1 -0
  55. package/dist/services/azure/azureTextToSpeechIO.d.ts +17 -0
  56. package/dist/services/azure/azureTextToSpeechIO.d.ts.map +1 -0
  57. package/dist/services/azure/azureTranslationIO.d.ts +18 -0
  58. package/dist/services/azure/azureTranslationIO.d.ts.map +1 -0
  59. package/dist/services/azure/utils/azureUtils.d.ts +25 -0
  60. package/dist/services/azure/utils/azureUtils.d.ts.map +1 -0
  61. package/dist/services/cohere/cohereChatIO.d.ts +15 -0
  62. package/dist/services/cohere/cohereChatIO.d.ts.map +1 -0
  63. package/dist/services/cohere/cohereIO.d.ts +12 -0
  64. package/dist/services/cohere/cohereIO.d.ts.map +1 -0
  65. package/dist/services/cohere/cohereSummarizationIO.d.ts +14 -0
  66. package/dist/services/cohere/cohereSummarizationIO.d.ts.map +1 -0
  67. package/dist/services/cohere/cohereTextGenerationIO.d.ts +14 -0
  68. package/dist/services/cohere/cohereTextGenerationIO.d.ts.map +1 -0
  69. package/dist/services/cohere/utils/cohereUtils.d.ts +11 -0
  70. package/dist/services/cohere/utils/cohereUtils.d.ts.map +1 -0
  71. package/dist/services/huggingFace/huggingFaceAudioClassificationIO.d.ts +9 -0
  72. package/dist/services/huggingFace/huggingFaceAudioClassificationIO.d.ts.map +1 -0
  73. package/dist/services/huggingFace/huggingFaceAudioRecognitionIO.d.ts +9 -0
  74. package/dist/services/huggingFace/huggingFaceAudioRecognitionIO.d.ts.map +1 -0
  75. package/dist/services/huggingFace/huggingFaceConversationIO.d.ts +15 -0
  76. package/dist/services/huggingFace/huggingFaceConversationIO.d.ts.map +1 -0
  77. package/dist/services/huggingFace/huggingFaceFileIO.d.ts +17 -0
  78. package/dist/services/huggingFace/huggingFaceFileIO.d.ts.map +1 -0
  79. package/dist/services/huggingFace/huggingFaceFillMaskIO.d.ts +11 -0
  80. package/dist/services/huggingFace/huggingFaceFillMaskIO.d.ts.map +1 -0
  81. package/dist/services/huggingFace/huggingFaceIO.d.ts +34 -0
  82. package/dist/services/huggingFace/huggingFaceIO.d.ts.map +1 -0
  83. package/dist/services/huggingFace/huggingFaceImageClassificationIO.d.ts +9 -0
  84. package/dist/services/huggingFace/huggingFaceImageClassificationIO.d.ts.map +1 -0
  85. package/dist/services/huggingFace/huggingFaceQuestionAnswerIO.d.ts +16 -0
  86. package/dist/services/huggingFace/huggingFaceQuestionAnswerIO.d.ts.map +1 -0
  87. package/dist/services/huggingFace/huggingFaceSummarizationIO.d.ts +9 -0
  88. package/dist/services/huggingFace/huggingFaceSummarizationIO.d.ts.map +1 -0
  89. package/dist/services/huggingFace/huggingFaceTextGenerationIO.d.ts +9 -0
  90. package/dist/services/huggingFace/huggingFaceTextGenerationIO.d.ts.map +1 -0
  91. package/dist/services/huggingFace/huggingFaceTranslationIO.d.ts +9 -0
  92. package/dist/services/huggingFace/huggingFaceTranslationIO.d.ts.map +1 -0
  93. package/dist/services/huggingFace/utils/huggingFaceUtils.d.ts +10 -0
  94. package/dist/services/huggingFace/utils/huggingFaceUtils.d.ts.map +1 -0
  95. package/dist/services/openAI/openAIAudioIO.d.ts +27 -0
  96. package/dist/services/openAI/openAIAudioIO.d.ts.map +1 -0
  97. package/dist/services/openAI/openAIChatIO.d.ts +21 -0
  98. package/dist/services/openAI/openAIChatIO.d.ts.map +1 -0
  99. package/dist/services/openAI/openAICompletionsIO.d.ts +20 -0
  100. package/dist/services/openAI/openAICompletionsIO.d.ts.map +1 -0
  101. package/dist/services/openAI/openAIImagesIO.d.ts +25 -0
  102. package/dist/services/openAI/openAIImagesIO.d.ts.map +1 -0
  103. package/dist/services/openAI/utils/openAIConverseBaseBody.d.ts +12 -0
  104. package/dist/services/openAI/utils/openAIConverseBaseBody.d.ts.map +1 -0
  105. package/dist/services/openAI/utils/openAIUtils.d.ts +12 -0
  106. package/dist/services/openAI/utils/openAIUtils.d.ts.map +1 -0
  107. package/dist/services/serviceIO.d.ts +65 -0
  108. package/dist/services/serviceIO.d.ts.map +1 -0
  109. package/dist/services/serviceIOFactory.d.ts +6 -0
  110. package/dist/services/serviceIOFactory.d.ts.map +1 -0
  111. package/dist/services/stabilityAI/stabilityAIIO.d.ts +13 -0
  112. package/dist/services/stabilityAI/stabilityAIIO.d.ts.map +1 -0
  113. package/dist/services/stabilityAI/stabilityAIImageToImageIO.d.ts +19 -0
  114. package/dist/services/stabilityAI/stabilityAIImageToImageIO.d.ts.map +1 -0
  115. package/dist/services/stabilityAI/stabilityAIImageToImageMaskingIO.d.ts +20 -0
  116. package/dist/services/stabilityAI/stabilityAIImageToImageMaskingIO.d.ts.map +1 -0
  117. package/dist/services/stabilityAI/stabilityAIImageToImageUpscaleIO.d.ts +18 -0
  118. package/dist/services/stabilityAI/stabilityAIImageToImageUpscaleIO.d.ts.map +1 -0
  119. package/dist/services/stabilityAI/stabilityAITextToImageIO.d.ts +19 -0
  120. package/dist/services/stabilityAI/stabilityAITextToImageIO.d.ts.map +1 -0
  121. package/dist/services/stabilityAI/utils/stabilityAIUtils.d.ts +10 -0
  122. package/dist/services/stabilityAI/utils/stabilityAIUtils.d.ts.map +1 -0
  123. package/dist/services/utils/baseServiceIO.d.ts +39 -0
  124. package/dist/services/utils/baseServiceIO.d.ts.map +1 -0
  125. package/dist/services/utils/directServiceIO.d.ts +19 -0
  126. package/dist/services/utils/directServiceIO.d.ts.map +1 -0
  127. package/dist/services/utils/messageLimitUtils.d.ts +9 -0
  128. package/dist/services/utils/messageLimitUtils.d.ts.map +1 -0
  129. package/dist/services/utils/setFileTypes.d.ts +14 -0
  130. package/dist/services/utils/setFileTypes.d.ts.map +1 -0
  131. package/dist/types/APIKey.d.ts +5 -0
  132. package/dist/types/APIKey.d.ts.map +1 -0
  133. package/dist/types/assemblyAI.d.ts +4 -0
  134. package/dist/types/assemblyAI.d.ts.map +1 -0
  135. package/dist/types/assemblyAIResult.d.ts +5 -0
  136. package/dist/types/assemblyAIResult.d.ts.map +1 -0
  137. package/dist/types/avatars.d.ts +17 -0
  138. package/dist/types/avatars.d.ts.map +1 -0
  139. package/dist/types/azure.d.ts +28 -0
  140. package/dist/types/azure.d.ts.map +1 -0
  141. package/dist/types/azureResult.d.ts +47 -0
  142. package/dist/types/azureResult.d.ts.map +1 -0
  143. package/dist/types/button.d.ts +17 -0
  144. package/dist/types/button.d.ts.map +1 -0
  145. package/dist/types/buttonInternal.d.ts +12 -0
  146. package/dist/types/buttonInternal.d.ts.map +1 -0
  147. package/dist/types/buttonTypes.d.ts +3 -0
  148. package/dist/types/buttonTypes.d.ts.map +1 -0
  149. package/dist/types/camera.d.ts +12 -0
  150. package/dist/types/camera.d.ts.map +1 -0
  151. package/dist/types/chatLimits.d.ts +5 -0
  152. package/dist/types/chatLimits.d.ts.map +1 -0
  153. package/dist/types/cohere.d.ts +34 -0
  154. package/dist/types/cohere.d.ts.map +1 -0
  155. package/dist/types/cohereResult.d.ts +21 -0
  156. package/dist/types/cohereResult.d.ts.map +1 -0
  157. package/dist/types/customService.d.ts +6 -0
  158. package/dist/types/customService.d.ts.map +1 -0
  159. package/dist/types/demo.d.ts +13 -0
  160. package/dist/types/demo.d.ts.map +1 -0
  161. package/dist/types/directConnection.d.ts +18 -0
  162. package/dist/types/directConnection.d.ts.map +1 -0
  163. package/dist/types/dropupStyles.d.ts +13 -0
  164. package/dist/types/dropupStyles.d.ts.map +1 -0
  165. package/dist/types/fileAttachments.d.ts +12 -0
  166. package/dist/types/fileAttachments.d.ts.map +1 -0
  167. package/dist/types/fileServiceConfigs.d.ts +23 -0
  168. package/dist/types/fileServiceConfigs.d.ts.map +1 -0
  169. package/dist/types/fileTypes.d.ts +2 -0
  170. package/dist/types/fileTypes.d.ts.map +1 -0
  171. package/dist/types/genericInputButton.d.ts +5 -0
  172. package/dist/types/genericInputButton.d.ts.map +1 -0
  173. package/dist/types/headers.d.ts +3 -0
  174. package/dist/types/headers.d.ts.map +1 -0
  175. package/dist/types/huggingFace.d.ts +67 -0
  176. package/dist/types/huggingFace.d.ts.map +1 -0
  177. package/dist/types/huggingFaceResult.d.ts +30 -0
  178. package/dist/types/huggingFaceResult.d.ts.map +1 -0
  179. package/dist/types/interceptors.d.ts +8 -0
  180. package/dist/types/interceptors.d.ts.map +1 -0
  181. package/dist/types/keyVerificationDetails.d.ts +9 -0
  182. package/dist/types/keyVerificationDetails.d.ts.map +1 -0
  183. package/dist/types/messageFile.d.ts +8 -0
  184. package/dist/types/messageFile.d.ts.map +1 -0
  185. package/dist/types/messages.d.ts +44 -0
  186. package/dist/types/messages.d.ts.map +1 -0
  187. package/dist/types/microphone.d.ts +29 -0
  188. package/dist/types/microphone.d.ts.map +1 -0
  189. package/dist/types/names.d.ts +13 -0
  190. package/dist/types/names.d.ts.map +1 -0
  191. package/dist/types/object.d.ts +4 -0
  192. package/dist/types/object.d.ts.map +1 -0
  193. package/dist/types/openAI.d.ts +34 -0
  194. package/dist/types/openAI.d.ts.map +1 -0
  195. package/dist/types/openAIInternal.d.ts +10 -0
  196. package/dist/types/openAIInternal.d.ts.map +1 -0
  197. package/dist/types/openAIResult.d.ts +39 -0
  198. package/dist/types/openAIResult.d.ts.map +1 -0
  199. package/dist/types/request.d.ts +9 -0
  200. package/dist/types/request.d.ts.map +1 -0
  201. package/dist/types/result.d.ts +6 -0
  202. package/dist/types/result.d.ts.map +1 -0
  203. package/dist/types/stabilityAI.d.ts +37 -0
  204. package/dist/types/stabilityAI.d.ts.map +1 -0
  205. package/dist/types/stabilityAIResult.d.ts +7 -0
  206. package/dist/types/stabilityAIResult.d.ts.map +1 -0
  207. package/dist/types/stream.d.ts +4 -0
  208. package/dist/types/stream.d.ts.map +1 -0
  209. package/dist/types/styles.d.ts +7 -0
  210. package/dist/types/styles.d.ts.map +1 -0
  211. package/dist/types/submitButton.d.ts +8 -0
  212. package/dist/types/submitButton.d.ts.map +1 -0
  213. package/dist/types/textInput.d.ts +17 -0
  214. package/dist/types/textInput.d.ts.map +1 -0
  215. package/dist/types/textToSpeech.d.ts +8 -0
  216. package/dist/types/textToSpeech.d.ts.map +1 -0
  217. package/dist/types/typeConverters.d.ts +6 -0
  218. package/dist/types/typeConverters.d.ts.map +1 -0
  219. package/dist/types/utilityTypes.d.ts +11 -0
  220. package/dist/types/utilityTypes.d.ts.map +1 -0
  221. package/dist/types/validateMessageBeforeSending.d.ts +2 -0
  222. package/dist/types/validateMessageBeforeSending.d.ts.map +1 -0
  223. package/dist/utils/HTTP/HTTPRequest.d.ts +10 -0
  224. package/dist/utils/HTTP/HTTPRequest.d.ts.map +1 -0
  225. package/dist/utils/HTTP/requestUtils.d.ts +9 -0
  226. package/dist/utils/HTTP/requestUtils.d.ts.map +1 -0
  227. package/dist/utils/HTTP/stream.d.ts +9 -0
  228. package/dist/utils/HTTP/stream.d.ts.map +1 -0
  229. package/dist/utils/HTTP/websocket.d.ts +9 -0
  230. package/dist/utils/HTTP/websocket.d.ts.map +1 -0
  231. package/dist/utils/browser/browser.d.ts +5 -0
  232. package/dist/utils/browser/browser.d.ts.map +1 -0
  233. package/dist/utils/buttons/inputButtons.d.ts +3 -0
  234. package/dist/utils/buttons/inputButtons.d.ts.map +1 -0
  235. package/dist/utils/buttons/keyboardKeys.d.ts +14 -0
  236. package/dist/utils/buttons/keyboardKeys.d.ts.map +1 -0
  237. package/dist/utils/decorators/property.d.ts +3 -0
  238. package/dist/utils/decorators/property.d.ts.map +1 -0
  239. package/dist/utils/decorators/renderControl.d.ts +6 -0
  240. package/dist/utils/decorators/renderControl.d.ts.map +1 -0
  241. package/dist/utils/decorators/typeConverters.d.ts +5 -0
  242. package/dist/utils/decorators/typeConverters.d.ts.map +1 -0
  243. package/dist/utils/demo/demo.d.ts +15 -0
  244. package/dist/utils/demo/demo.d.ts.map +1 -0
  245. package/dist/utils/element/elementUtils.d.ts +7 -0
  246. package/dist/utils/element/elementUtils.d.ts.map +1 -0
  247. package/dist/utils/element/imageUtils.d.ts +2 -0
  248. package/dist/utils/element/imageUtils.d.ts.map +1 -0
  249. package/dist/utils/element/statefulEvents.d.ts +9 -0
  250. package/dist/utils/element/statefulEvents.d.ts.map +1 -0
  251. package/dist/utils/element/styleUtils.d.ts +8 -0
  252. package/dist/utils/element/styleUtils.d.ts.map +1 -0
  253. package/dist/utils/errorMessages/errorMessages.d.ts +9 -0
  254. package/dist/utils/errorMessages/errorMessages.d.ts.map +1 -0
  255. package/dist/utils/events/fireEvents.d.ts +7 -0
  256. package/dist/utils/events/fireEvents.d.ts.map +1 -0
  257. package/dist/utils/fileTypes/fileTypeButtonIcons.d.ts +11 -0
  258. package/dist/utils/fileTypes/fileTypeButtonIcons.d.ts.map +1 -0
  259. package/dist/utils/svg/svgIconUtils.d.ts +4 -0
  260. package/dist/utils/svg/svgIconUtils.d.ts.map +1 -0
  261. package/dist/utils/webComponent/googleFont.d.ts +5 -0
  262. package/dist/utils/webComponent/googleFont.d.ts.map +1 -0
  263. package/dist/utils/webComponent/internalHTML.d.ts +14 -0
  264. package/dist/utils/webComponent/internalHTML.d.ts.map +1 -0
  265. package/dist/utils/webComponent/webComponentStyleUtils.d.ts +6 -0
  266. package/dist/utils/webComponent/webComponentStyleUtils.d.ts.map +1 -0
  267. package/dist/views/chat/chatView.d.ts +7 -0
  268. package/dist/views/chat/chatView.d.ts.map +1 -0
  269. package/dist/views/chat/input/buttonContainers/buttonContainers.d.ts +9 -0
  270. package/dist/views/chat/input/buttonContainers/buttonContainers.d.ts.map +1 -0
  271. package/dist/views/chat/input/buttons/buttonCSS.d.ts +9 -0
  272. package/dist/views/chat/input/buttons/buttonCSS.d.ts.map +1 -0
  273. package/dist/views/chat/input/buttons/camera/cameraButton.d.ts +16 -0
  274. package/dist/views/chat/input/buttons/camera/cameraButton.d.ts.map +1 -0
  275. package/dist/views/chat/input/buttons/customButtonInnerElements.d.ts +10 -0
  276. package/dist/views/chat/input/buttons/customButtonInnerElements.d.ts.map +1 -0
  277. package/dist/views/chat/input/buttons/inputButton.d.ts +25 -0
  278. package/dist/views/chat/input/buttons/inputButton.d.ts.map +1 -0
  279. package/dist/views/chat/input/buttons/microphone/microphoneButton.d.ts +24 -0
  280. package/dist/views/chat/input/buttons/microphone/microphoneButton.d.ts.map +1 -0
  281. package/dist/views/chat/input/buttons/microphone/recordAudio.d.ts +18 -0
  282. package/dist/views/chat/input/buttons/microphone/recordAudio.d.ts.map +1 -0
  283. package/dist/views/chat/input/buttons/microphone/speechToText.d.ts +15 -0
  284. package/dist/views/chat/input/buttons/microphone/speechToText.d.ts.map +1 -0
  285. package/dist/views/chat/input/buttons/styleAdjustments/inputButtonPositions.d.ts +27 -0
  286. package/dist/views/chat/input/buttons/styleAdjustments/inputButtonPositions.d.ts.map +1 -0
  287. package/dist/views/chat/input/buttons/styleAdjustments/inputButtonStyleAdjustments.d.ts +13 -0
  288. package/dist/views/chat/input/buttons/styleAdjustments/inputButtonStyleAdjustments.d.ts.map +1 -0
  289. package/dist/views/chat/input/buttons/submit/submitButton.d.ts +35 -0
  290. package/dist/views/chat/input/buttons/submit/submitButton.d.ts.map +1 -0
  291. package/dist/views/chat/input/buttons/submit/submitButtonStateStyle.d.ts +5 -0
  292. package/dist/views/chat/input/buttons/submit/submitButtonStateStyle.d.ts.map +1 -0
  293. package/dist/views/chat/input/buttons/uploadFile/uploadFileButton.d.ts +23 -0
  294. package/dist/views/chat/input/buttons/uploadFile/uploadFileButton.d.ts.map +1 -0
  295. package/dist/views/chat/input/dropup/dropup.d.ts +22 -0
  296. package/dist/views/chat/input/dropup/dropup.d.ts.map +1 -0
  297. package/dist/views/chat/input/dropup/dropupItem.d.ts +11 -0
  298. package/dist/views/chat/input/dropup/dropupItem.d.ts.map +1 -0
  299. package/dist/views/chat/input/dropup/dropupItemNavigation.d.ts +5 -0
  300. package/dist/views/chat/input/dropup/dropupItemNavigation.d.ts.map +1 -0
  301. package/dist/views/chat/input/dropup/dropupMenu.d.ts +16 -0
  302. package/dist/views/chat/input/dropup/dropupMenu.d.ts.map +1 -0
  303. package/dist/views/chat/input/fileAttachments/dragAndDrop/dragAndDrop.d.ts +12 -0
  304. package/dist/views/chat/input/fileAttachments/dragAndDrop/dragAndDrop.d.ts.map +1 -0
  305. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/audioFileAttachmentType.d.ts +21 -0
  306. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/audioFileAttachmentType.d.ts.map +1 -0
  307. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentTypeFactory.d.ts +7 -0
  308. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentTypeFactory.d.ts.map +1 -0
  309. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentsType.d.ts +31 -0
  310. package/dist/views/chat/input/fileAttachments/fileAttachmentTypes/fileAttachmentsType.d.ts.map +1 -0
  311. package/dist/views/chat/input/fileAttachments/fileAttachments.d.ts +23 -0
  312. package/dist/views/chat/input/fileAttachments/fileAttachments.d.ts.map +1 -0
  313. package/dist/views/chat/input/fileAttachments/modal/cameraModal.d.ts +28 -0
  314. package/dist/views/chat/input/fileAttachments/modal/cameraModal.d.ts.map +1 -0
  315. package/dist/views/chat/input/fileAttachments/modal/modal.d.ts +27 -0
  316. package/dist/views/chat/input/fileAttachments/modal/modal.d.ts.map +1 -0
  317. package/dist/views/chat/input/fileAttachments/newFileName.d.ts +4 -0
  318. package/dist/views/chat/input/fileAttachments/newFileName.d.ts.map +1 -0
  319. package/dist/views/chat/input/input.d.ts +12 -0
  320. package/dist/views/chat/input/input.d.ts.map +1 -0
  321. package/dist/views/chat/input/textInput/focusUtils.d.ts +5 -0
  322. package/dist/views/chat/input/textInput/focusUtils.d.ts.map +1 -0
  323. package/dist/views/chat/input/textInput/inputLimit.d.ts +8 -0
  324. package/dist/views/chat/input/textInput/inputLimit.d.ts.map +1 -0
  325. package/dist/views/chat/input/textInput/pasteUtils.d.ts +4 -0
  326. package/dist/views/chat/input/textInput/pasteUtils.d.ts.map +1 -0
  327. package/dist/views/chat/input/textInput/textInput.d.ts +22 -0
  328. package/dist/views/chat/input/textInput/textInput.d.ts.map +1 -0
  329. package/dist/views/chat/introPanel/introPanel.d.ts +11 -0
  330. package/dist/views/chat/introPanel/introPanel.d.ts.map +1 -0
  331. package/dist/views/chat/messages/avatar.d.ts +9 -0
  332. package/dist/views/chat/messages/avatar.d.ts.map +1 -0
  333. package/dist/views/chat/messages/fileMessageUtils.d.ts +12 -0
  334. package/dist/views/chat/messages/fileMessageUtils.d.ts.map +1 -0
  335. package/dist/views/chat/messages/fileMessages.d.ts +11 -0
  336. package/dist/views/chat/messages/fileMessages.d.ts.map +1 -0
  337. package/dist/views/chat/messages/loadingMessageDotsStyle.d.ts +6 -0
  338. package/dist/views/chat/messages/loadingMessageDotsStyle.d.ts.map +1 -0
  339. package/dist/views/chat/messages/messageStyleUtils.d.ts +11 -0
  340. package/dist/views/chat/messages/messageStyleUtils.d.ts.map +1 -0
  341. package/dist/views/chat/messages/messages.d.ts +62 -0
  342. package/dist/views/chat/messages/messages.d.ts.map +1 -0
  343. package/dist/views/chat/messages/name.d.ts +9 -0
  344. package/dist/views/chat/messages/name.d.ts.map +1 -0
  345. package/dist/views/chat/messages/remarkable/remarkableConfig.d.ts +11 -0
  346. package/dist/views/chat/messages/remarkable/remarkableConfig.d.ts.map +1 -0
  347. package/dist/views/chat/messages/textToSpeech/textToSpeech.d.ts +14 -0
  348. package/dist/views/chat/messages/textToSpeech/textToSpeech.d.ts.map +1 -0
  349. package/dist/views/error/errorView.d.ts +4 -0
  350. package/dist/views/error/errorView.d.ts.map +1 -0
  351. package/dist/views/insertKey/insertKeyView.d.ts +18 -0
  352. package/dist/views/insertKey/insertKeyView.d.ts.map +1 -0
  353. package/dist/views/insertKey/visibilityIcon.d.ts +7 -0
  354. package/dist/views/insertKey/visibilityIcon.d.ts.map +1 -0
  355. package/dist/views/validateKeyProperty/validateKeyPropertyView.d.ts +7 -0
  356. package/dist/views/validateKeyProperty/validateKeyPropertyView.d.ts.map +1 -0
  357. package/package.json +70 -0
@@ -0,0 +1,71 @@
1
+ import { CameraFilesServiceConfig, FilesServiceConfig, MicrophoneFilesServiceConfig } from './types/fileServiceConfigs';
2
+ import { MessageStyles, MessageContent, OnNewMessage, ErrorMessages } from './types/messages';
3
+ import { ValidateMessageBeforeSending } from './types/validateMessageBeforeSending';
4
+ import { RequestInterceptor, ResponseInterceptor } from './types/interceptors';
5
+ import { InternalHTML } from './utils/webComponent/internalHTML';
6
+ import { DirectConnection } from './types/directConnection';
7
+ import { TextToSpeechConfig } from './types/textToSpeech';
8
+ import { SubmitButtonStyles } from './types/submitButton';
9
+ import { SpeechToTextConfig } from './types/microphone';
10
+ import { RequestBodyLimits } from './types/chatLimits';
11
+ import { DropupStyles } from './types/dropupStyles';
12
+ import { ServiceIO } from './services/serviceIO';
13
+ import { TextInput } from './types/textInput';
14
+ import { CustomStyle } from './types/styles';
15
+ import { Request } from './types/request';
16
+ import { Avatars } from './types/avatars';
17
+ import { Stream } from './types/stream';
18
+ import { Names } from './types/names';
19
+ export declare class DeepChat extends InternalHTML {
20
+ directConnection?: DirectConnection;
21
+ request?: Request;
22
+ stream?: Stream;
23
+ requestBodyLimits?: RequestBodyLimits;
24
+ requestInterceptor?: RequestInterceptor;
25
+ responseInterceptor?: ResponseInterceptor;
26
+ validateMessageBeforeSending?: ValidateMessageBeforeSending;
27
+ containerStyle?: CustomStyle;
28
+ attachmentContainerStyle?: CustomStyle;
29
+ dropupStyles?: DropupStyles;
30
+ inputAreaStyle?: CustomStyle;
31
+ textInput?: TextInput;
32
+ submitButtonStyles?: SubmitButtonStyles;
33
+ auxiliaryStyle?: string;
34
+ initialMessages?: MessageContent[];
35
+ introMessage?: string;
36
+ avatars?: Avatars;
37
+ names?: Names;
38
+ displayLoadingBubble?: boolean;
39
+ errorMessages?: ErrorMessages;
40
+ messageStyles?: MessageStyles;
41
+ textToSpeech?: boolean | TextToSpeechConfig;
42
+ speechToText?: boolean | SpeechToTextConfig;
43
+ images?: boolean | FilesServiceConfig;
44
+ gifs?: boolean | FilesServiceConfig;
45
+ camera?: boolean | CameraFilesServiceConfig;
46
+ audio?: boolean | FilesServiceConfig;
47
+ microphone?: boolean | MicrophoneFilesServiceConfig;
48
+ mixedFiles?: boolean | FilesServiceConfig;
49
+ dragAndDrop?: boolean | CustomStyle;
50
+ introPanelStyle?: CustomStyle;
51
+ getMessages: () => MessageContent[];
52
+ submitUserMessage: (text: string) => void;
53
+ focusInput: () => void;
54
+ refreshMessages: () => void;
55
+ onNewMessage: OnNewMessage;
56
+ onComponentRender: () => void;
57
+ _hasBeenRendered: boolean;
58
+ _auxiliaryStyleApplied: boolean;
59
+ _activeService?: ServiceIO;
60
+ _childElement?: HTMLElement;
61
+ constructor();
62
+ private readonly _elementRef;
63
+ private changeToChatView;
64
+ onRender(): void;
65
+ }
66
+ declare global {
67
+ interface HTMLElementTagNameMap {
68
+ 'deep-chat': DeepChat;
69
+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