@docyrus/rn-assistant 0.0.1

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 (314) hide show
  1. package/README.md +477 -0
  2. package/dist/commonjs/components/agent-selector/agent-selector.js +300 -0
  3. package/dist/commonjs/components/agent-selector/agent-selector.js.map +1 -0
  4. package/dist/commonjs/components/agent-selector/index.js +17 -0
  5. package/dist/commonjs/components/agent-selector/index.js.map +1 -0
  6. package/dist/commonjs/components/assistant-animations/assistant-animations.js +169 -0
  7. package/dist/commonjs/components/assistant-animations/assistant-animations.js.map +1 -0
  8. package/dist/commonjs/components/assistant-animations/index.js +17 -0
  9. package/dist/commonjs/components/assistant-animations/index.js.map +1 -0
  10. package/dist/commonjs/components/assistant-screen/assistant-screen.js +809 -0
  11. package/dist/commonjs/components/assistant-screen/assistant-screen.js.map +1 -0
  12. package/dist/commonjs/components/assistant-screen/index.js +17 -0
  13. package/dist/commonjs/components/assistant-screen/index.js.map +1 -0
  14. package/dist/commonjs/components/index.js +116 -0
  15. package/dist/commonjs/components/index.js.map +1 -0
  16. package/dist/commonjs/components/message-parts/index.js +13 -0
  17. package/dist/commonjs/components/message-parts/index.js.map +1 -0
  18. package/dist/commonjs/components/message-parts/message-parts.js +209 -0
  19. package/dist/commonjs/components/message-parts/message-parts.js.map +1 -0
  20. package/dist/commonjs/components/new-chat/index.js +17 -0
  21. package/dist/commonjs/components/new-chat/index.js.map +1 -0
  22. package/dist/commonjs/components/new-chat/new-chat.js +100 -0
  23. package/dist/commonjs/components/new-chat/new-chat.js.map +1 -0
  24. package/dist/commonjs/components/prompt-input/attachment-picker.js +341 -0
  25. package/dist/commonjs/components/prompt-input/attachment-picker.js.map +1 -0
  26. package/dist/commonjs/components/prompt-input/attachment-preview.js +229 -0
  27. package/dist/commonjs/components/prompt-input/attachment-preview.js.map +1 -0
  28. package/dist/commonjs/components/prompt-input/index.js +41 -0
  29. package/dist/commonjs/components/prompt-input/index.js.map +1 -0
  30. package/dist/commonjs/components/prompt-input/prompt-input.js +288 -0
  31. package/dist/commonjs/components/prompt-input/prompt-input.js.map +1 -0
  32. package/dist/commonjs/components/prompt-input/provider-selector.js +542 -0
  33. package/dist/commonjs/components/prompt-input/provider-selector.js.map +1 -0
  34. package/dist/commonjs/components/prompt-input/reasoning-level-selector.js +350 -0
  35. package/dist/commonjs/components/prompt-input/reasoning-level-selector.js.map +1 -0
  36. package/dist/commonjs/components/prompt-input/voice-recorder.js +260 -0
  37. package/dist/commonjs/components/prompt-input/voice-recorder.js.map +1 -0
  38. package/dist/commonjs/components/sessions-list/index.js +17 -0
  39. package/dist/commonjs/components/sessions-list/index.js.map +1 -0
  40. package/dist/commonjs/components/sessions-list/sessions-list.js +820 -0
  41. package/dist/commonjs/components/sessions-list/sessions-list.js.map +1 -0
  42. package/dist/commonjs/hooks/index.js +34 -0
  43. package/dist/commonjs/hooks/index.js.map +1 -0
  44. package/dist/commonjs/hooks/use-agent-models.js +104 -0
  45. package/dist/commonjs/hooks/use-agent-models.js.map +1 -0
  46. package/dist/commonjs/hooks/use-assistant.js +402 -0
  47. package/dist/commonjs/hooks/use-assistant.js.map +1 -0
  48. package/dist/commonjs/hooks/use-attachment-picker.js +308 -0
  49. package/dist/commonjs/hooks/use-attachment-picker.js.map +1 -0
  50. package/dist/commonjs/hooks/use-voice-recorder.js +217 -0
  51. package/dist/commonjs/hooks/use-voice-recorder.js.map +1 -0
  52. package/dist/commonjs/index.js +112 -0
  53. package/dist/commonjs/index.js.map +1 -0
  54. package/dist/commonjs/package.json +1 -0
  55. package/dist/commonjs/theme/assistant-theme.js +105 -0
  56. package/dist/commonjs/theme/assistant-theme.js.map +1 -0
  57. package/dist/commonjs/theme/index.js +19 -0
  58. package/dist/commonjs/theme/index.js.map +1 -0
  59. package/dist/commonjs/types/index.js +2 -0
  60. package/dist/commonjs/types/index.js.map +1 -0
  61. package/dist/commonjs/ui/action-sheet.js +348 -0
  62. package/dist/commonjs/ui/action-sheet.js.map +1 -0
  63. package/dist/commonjs/ui/alert-dialog.js +134 -0
  64. package/dist/commonjs/ui/alert-dialog.js.map +1 -0
  65. package/dist/commonjs/ui/docyrus-brand-mark.js +52 -0
  66. package/dist/commonjs/ui/docyrus-brand-mark.js.map +1 -0
  67. package/dist/commonjs/ui/docyrus-icon.js +298 -0
  68. package/dist/commonjs/ui/docyrus-icon.js.map +1 -0
  69. package/dist/commonjs/ui/index.js +34 -0
  70. package/dist/commonjs/ui/index.js.map +1 -0
  71. package/dist/commonjs/utils/api-client.js +99 -0
  72. package/dist/commonjs/utils/api-client.js.map +1 -0
  73. package/dist/commonjs/utils/default-api-config.js +195 -0
  74. package/dist/commonjs/utils/default-api-config.js.map +1 -0
  75. package/dist/commonjs/utils/index.js +39 -0
  76. package/dist/commonjs/utils/index.js.map +1 -0
  77. package/dist/commonjs/utils/resolve-api-headers.js +16 -0
  78. package/dist/commonjs/utils/resolve-api-headers.js.map +1 -0
  79. package/dist/module/components/agent-selector/agent-selector.js +296 -0
  80. package/dist/module/components/agent-selector/agent-selector.js.map +1 -0
  81. package/dist/module/components/agent-selector/index.js +4 -0
  82. package/dist/module/components/agent-selector/index.js.map +1 -0
  83. package/dist/module/components/assistant-animations/assistant-animations.js +164 -0
  84. package/dist/module/components/assistant-animations/assistant-animations.js.map +1 -0
  85. package/dist/module/components/assistant-animations/index.js +4 -0
  86. package/dist/module/components/assistant-animations/index.js.map +1 -0
  87. package/dist/module/components/assistant-screen/assistant-screen.js +801 -0
  88. package/dist/module/components/assistant-screen/assistant-screen.js.map +1 -0
  89. package/dist/module/components/assistant-screen/index.js +4 -0
  90. package/dist/module/components/assistant-screen/index.js.map +1 -0
  91. package/dist/module/components/index.js +23 -0
  92. package/dist/module/components/index.js.map +1 -0
  93. package/dist/module/components/message-parts/index.js +4 -0
  94. package/dist/module/components/message-parts/index.js.map +1 -0
  95. package/dist/module/components/message-parts/message-parts.js +205 -0
  96. package/dist/module/components/message-parts/message-parts.js.map +1 -0
  97. package/dist/module/components/new-chat/index.js +4 -0
  98. package/dist/module/components/new-chat/index.js.map +1 -0
  99. package/dist/module/components/new-chat/new-chat.js +96 -0
  100. package/dist/module/components/new-chat/new-chat.js.map +1 -0
  101. package/dist/module/components/prompt-input/attachment-picker.js +337 -0
  102. package/dist/module/components/prompt-input/attachment-picker.js.map +1 -0
  103. package/dist/module/components/prompt-input/attachment-preview.js +225 -0
  104. package/dist/module/components/prompt-input/attachment-preview.js.map +1 -0
  105. package/dist/module/components/prompt-input/index.js +15 -0
  106. package/dist/module/components/prompt-input/index.js.map +1 -0
  107. package/dist/module/components/prompt-input/prompt-input.js +284 -0
  108. package/dist/module/components/prompt-input/prompt-input.js.map +1 -0
  109. package/dist/module/components/prompt-input/provider-selector.js +538 -0
  110. package/dist/module/components/prompt-input/provider-selector.js.map +1 -0
  111. package/dist/module/components/prompt-input/reasoning-level-selector.js +346 -0
  112. package/dist/module/components/prompt-input/reasoning-level-selector.js.map +1 -0
  113. package/dist/module/components/prompt-input/voice-recorder.js +256 -0
  114. package/dist/module/components/prompt-input/voice-recorder.js.map +1 -0
  115. package/dist/module/components/sessions-list/index.js +4 -0
  116. package/dist/module/components/sessions-list/index.js.map +1 -0
  117. package/dist/module/components/sessions-list/sessions-list.js +816 -0
  118. package/dist/module/components/sessions-list/sessions-list.js.map +1 -0
  119. package/dist/module/hooks/index.js +18 -0
  120. package/dist/module/hooks/index.js.map +1 -0
  121. package/dist/module/hooks/use-agent-models.js +100 -0
  122. package/dist/module/hooks/use-agent-models.js.map +1 -0
  123. package/dist/module/hooks/use-assistant.js +398 -0
  124. package/dist/module/hooks/use-assistant.js.map +1 -0
  125. package/dist/module/hooks/use-attachment-picker.js +303 -0
  126. package/dist/module/hooks/use-attachment-picker.js.map +1 -0
  127. package/dist/module/hooks/use-voice-recorder.js +214 -0
  128. package/dist/module/hooks/use-voice-recorder.js.map +1 -0
  129. package/dist/module/index.js +59 -0
  130. package/dist/module/index.js.map +1 -0
  131. package/dist/module/package.json +1 -0
  132. package/dist/module/theme/assistant-theme.js +100 -0
  133. package/dist/module/theme/assistant-theme.js.map +1 -0
  134. package/dist/module/theme/index.js +4 -0
  135. package/dist/module/theme/index.js.map +1 -0
  136. package/dist/module/types/index.js +2 -0
  137. package/dist/module/types/index.js.map +1 -0
  138. package/dist/module/ui/action-sheet.js +344 -0
  139. package/dist/module/ui/action-sheet.js.map +1 -0
  140. package/dist/module/ui/alert-dialog.js +130 -0
  141. package/dist/module/ui/alert-dialog.js.map +1 -0
  142. package/dist/module/ui/docyrus-brand-mark.js +48 -0
  143. package/dist/module/ui/docyrus-brand-mark.js.map +1 -0
  144. package/dist/module/ui/docyrus-icon.js +294 -0
  145. package/dist/module/ui/docyrus-icon.js.map +1 -0
  146. package/dist/module/ui/index.js +7 -0
  147. package/dist/module/ui/index.js.map +1 -0
  148. package/dist/module/utils/api-client.js +95 -0
  149. package/dist/module/utils/api-client.js.map +1 -0
  150. package/dist/module/utils/default-api-config.js +190 -0
  151. package/dist/module/utils/default-api-config.js.map +1 -0
  152. package/dist/module/utils/index.js +12 -0
  153. package/dist/module/utils/index.js.map +1 -0
  154. package/dist/module/utils/resolve-api-headers.js +12 -0
  155. package/dist/module/utils/resolve-api-headers.js.map +1 -0
  156. package/dist/typescript/commonjs/eslint.config.d.mts +4 -0
  157. package/dist/typescript/commonjs/eslint.config.d.mts.map +1 -0
  158. package/dist/typescript/commonjs/package.json +1 -0
  159. package/dist/typescript/commonjs/src/components/agent-selector/agent-selector.d.ts +49 -0
  160. package/dist/typescript/commonjs/src/components/agent-selector/agent-selector.d.ts.map +1 -0
  161. package/dist/typescript/commonjs/src/components/agent-selector/index.d.ts +2 -0
  162. package/dist/typescript/commonjs/src/components/agent-selector/index.d.ts.map +1 -0
  163. package/dist/typescript/commonjs/src/components/assistant-animations/assistant-animations.d.ts +8 -0
  164. package/dist/typescript/commonjs/src/components/assistant-animations/assistant-animations.d.ts.map +1 -0
  165. package/dist/typescript/commonjs/src/components/assistant-animations/index.d.ts +2 -0
  166. package/dist/typescript/commonjs/src/components/assistant-animations/index.d.ts.map +1 -0
  167. package/dist/typescript/commonjs/src/components/assistant-screen/assistant-screen.d.ts +122 -0
  168. package/dist/typescript/commonjs/src/components/assistant-screen/assistant-screen.d.ts.map +1 -0
  169. package/dist/typescript/commonjs/src/components/assistant-screen/index.d.ts +2 -0
  170. package/dist/typescript/commonjs/src/components/assistant-screen/index.d.ts.map +1 -0
  171. package/dist/typescript/commonjs/src/components/index.d.ts +11 -0
  172. package/dist/typescript/commonjs/src/components/index.d.ts.map +1 -0
  173. package/dist/typescript/commonjs/src/components/message-parts/index.d.ts +2 -0
  174. package/dist/typescript/commonjs/src/components/message-parts/index.d.ts.map +1 -0
  175. package/dist/typescript/commonjs/src/components/message-parts/message-parts.d.ts +22 -0
  176. package/dist/typescript/commonjs/src/components/message-parts/message-parts.d.ts.map +1 -0
  177. package/dist/typescript/commonjs/src/components/new-chat/index.d.ts +2 -0
  178. package/dist/typescript/commonjs/src/components/new-chat/index.d.ts.map +1 -0
  179. package/dist/typescript/commonjs/src/components/new-chat/new-chat.d.ts +34 -0
  180. package/dist/typescript/commonjs/src/components/new-chat/new-chat.d.ts.map +1 -0
  181. package/dist/typescript/commonjs/src/components/prompt-input/attachment-picker.d.ts +53 -0
  182. package/dist/typescript/commonjs/src/components/prompt-input/attachment-picker.d.ts.map +1 -0
  183. package/dist/typescript/commonjs/src/components/prompt-input/attachment-preview.d.ts +42 -0
  184. package/dist/typescript/commonjs/src/components/prompt-input/attachment-preview.d.ts.map +1 -0
  185. package/dist/typescript/commonjs/src/components/prompt-input/index.d.ts +9 -0
  186. package/dist/typescript/commonjs/src/components/prompt-input/index.d.ts.map +1 -0
  187. package/dist/typescript/commonjs/src/components/prompt-input/prompt-input.d.ts +139 -0
  188. package/dist/typescript/commonjs/src/components/prompt-input/prompt-input.d.ts.map +1 -0
  189. package/dist/typescript/commonjs/src/components/prompt-input/provider-selector.d.ts +11 -0
  190. package/dist/typescript/commonjs/src/components/prompt-input/provider-selector.d.ts.map +1 -0
  191. package/dist/typescript/commonjs/src/components/prompt-input/reasoning-level-selector.d.ts +35 -0
  192. package/dist/typescript/commonjs/src/components/prompt-input/reasoning-level-selector.d.ts.map +1 -0
  193. package/dist/typescript/commonjs/src/components/prompt-input/voice-recorder.d.ts +48 -0
  194. package/dist/typescript/commonjs/src/components/prompt-input/voice-recorder.d.ts.map +1 -0
  195. package/dist/typescript/commonjs/src/components/sessions-list/index.d.ts +2 -0
  196. package/dist/typescript/commonjs/src/components/sessions-list/index.d.ts.map +1 -0
  197. package/dist/typescript/commonjs/src/components/sessions-list/sessions-list.d.ts +59 -0
  198. package/dist/typescript/commonjs/src/components/sessions-list/sessions-list.d.ts.map +1 -0
  199. package/dist/typescript/commonjs/src/hooks/index.d.ts +8 -0
  200. package/dist/typescript/commonjs/src/hooks/index.d.ts.map +1 -0
  201. package/dist/typescript/commonjs/src/hooks/use-agent-models.d.ts +68 -0
  202. package/dist/typescript/commonjs/src/hooks/use-agent-models.d.ts.map +1 -0
  203. package/dist/typescript/commonjs/src/hooks/use-assistant.d.ts +55 -0
  204. package/dist/typescript/commonjs/src/hooks/use-assistant.d.ts.map +1 -0
  205. package/dist/typescript/commonjs/src/hooks/use-attachment-picker.d.ts +99 -0
  206. package/dist/typescript/commonjs/src/hooks/use-attachment-picker.d.ts.map +1 -0
  207. package/dist/typescript/commonjs/src/hooks/use-voice-recorder.d.ts +101 -0
  208. package/dist/typescript/commonjs/src/hooks/use-voice-recorder.d.ts.map +1 -0
  209. package/dist/typescript/commonjs/src/index.d.ts +47 -0
  210. package/dist/typescript/commonjs/src/index.d.ts.map +1 -0
  211. package/dist/typescript/commonjs/src/theme/assistant-theme.d.ts +51 -0
  212. package/dist/typescript/commonjs/src/theme/assistant-theme.d.ts.map +1 -0
  213. package/dist/typescript/commonjs/src/theme/index.d.ts +2 -0
  214. package/dist/typescript/commonjs/src/theme/index.d.ts.map +1 -0
  215. package/dist/typescript/commonjs/src/types/index.d.ts +167 -0
  216. package/dist/typescript/commonjs/src/types/index.d.ts.map +1 -0
  217. package/dist/typescript/commonjs/src/ui/action-sheet.d.ts +29 -0
  218. package/dist/typescript/commonjs/src/ui/action-sheet.d.ts.map +1 -0
  219. package/dist/typescript/commonjs/src/ui/alert-dialog.d.ts +12 -0
  220. package/dist/typescript/commonjs/src/ui/alert-dialog.d.ts.map +1 -0
  221. package/dist/typescript/commonjs/src/ui/docyrus-brand-mark.d.ts +5 -0
  222. package/dist/typescript/commonjs/src/ui/docyrus-brand-mark.d.ts.map +1 -0
  223. package/dist/typescript/commonjs/src/ui/docyrus-icon.d.ts +11 -0
  224. package/dist/typescript/commonjs/src/ui/docyrus-icon.d.ts.map +1 -0
  225. package/dist/typescript/commonjs/src/ui/index.d.ts +5 -0
  226. package/dist/typescript/commonjs/src/ui/index.d.ts.map +1 -0
  227. package/dist/typescript/commonjs/src/utils/api-client.d.ts +35 -0
  228. package/dist/typescript/commonjs/src/utils/api-client.d.ts.map +1 -0
  229. package/dist/typescript/commonjs/src/utils/default-api-config.d.ts +38 -0
  230. package/dist/typescript/commonjs/src/utils/default-api-config.d.ts.map +1 -0
  231. package/dist/typescript/commonjs/src/utils/index.d.ts +9 -0
  232. package/dist/typescript/commonjs/src/utils/index.d.ts.map +1 -0
  233. package/dist/typescript/commonjs/src/utils/resolve-api-headers.d.ts +3 -0
  234. package/dist/typescript/commonjs/src/utils/resolve-api-headers.d.ts.map +1 -0
  235. package/dist/typescript/module/eslint.config.d.mts +4 -0
  236. package/dist/typescript/module/eslint.config.d.mts.map +1 -0
  237. package/dist/typescript/module/package.json +1 -0
  238. package/dist/typescript/module/src/components/agent-selector/agent-selector.d.ts +49 -0
  239. package/dist/typescript/module/src/components/agent-selector/agent-selector.d.ts.map +1 -0
  240. package/dist/typescript/module/src/components/agent-selector/index.d.ts +2 -0
  241. package/dist/typescript/module/src/components/agent-selector/index.d.ts.map +1 -0
  242. package/dist/typescript/module/src/components/assistant-animations/assistant-animations.d.ts +8 -0
  243. package/dist/typescript/module/src/components/assistant-animations/assistant-animations.d.ts.map +1 -0
  244. package/dist/typescript/module/src/components/assistant-animations/index.d.ts +2 -0
  245. package/dist/typescript/module/src/components/assistant-animations/index.d.ts.map +1 -0
  246. package/dist/typescript/module/src/components/assistant-screen/assistant-screen.d.ts +122 -0
  247. package/dist/typescript/module/src/components/assistant-screen/assistant-screen.d.ts.map +1 -0
  248. package/dist/typescript/module/src/components/assistant-screen/index.d.ts +2 -0
  249. package/dist/typescript/module/src/components/assistant-screen/index.d.ts.map +1 -0
  250. package/dist/typescript/module/src/components/index.d.ts +11 -0
  251. package/dist/typescript/module/src/components/index.d.ts.map +1 -0
  252. package/dist/typescript/module/src/components/message-parts/index.d.ts +2 -0
  253. package/dist/typescript/module/src/components/message-parts/index.d.ts.map +1 -0
  254. package/dist/typescript/module/src/components/message-parts/message-parts.d.ts +22 -0
  255. package/dist/typescript/module/src/components/message-parts/message-parts.d.ts.map +1 -0
  256. package/dist/typescript/module/src/components/new-chat/index.d.ts +2 -0
  257. package/dist/typescript/module/src/components/new-chat/index.d.ts.map +1 -0
  258. package/dist/typescript/module/src/components/new-chat/new-chat.d.ts +34 -0
  259. package/dist/typescript/module/src/components/new-chat/new-chat.d.ts.map +1 -0
  260. package/dist/typescript/module/src/components/prompt-input/attachment-picker.d.ts +53 -0
  261. package/dist/typescript/module/src/components/prompt-input/attachment-picker.d.ts.map +1 -0
  262. package/dist/typescript/module/src/components/prompt-input/attachment-preview.d.ts +42 -0
  263. package/dist/typescript/module/src/components/prompt-input/attachment-preview.d.ts.map +1 -0
  264. package/dist/typescript/module/src/components/prompt-input/index.d.ts +9 -0
  265. package/dist/typescript/module/src/components/prompt-input/index.d.ts.map +1 -0
  266. package/dist/typescript/module/src/components/prompt-input/prompt-input.d.ts +139 -0
  267. package/dist/typescript/module/src/components/prompt-input/prompt-input.d.ts.map +1 -0
  268. package/dist/typescript/module/src/components/prompt-input/provider-selector.d.ts +11 -0
  269. package/dist/typescript/module/src/components/prompt-input/provider-selector.d.ts.map +1 -0
  270. package/dist/typescript/module/src/components/prompt-input/reasoning-level-selector.d.ts +35 -0
  271. package/dist/typescript/module/src/components/prompt-input/reasoning-level-selector.d.ts.map +1 -0
  272. package/dist/typescript/module/src/components/prompt-input/voice-recorder.d.ts +48 -0
  273. package/dist/typescript/module/src/components/prompt-input/voice-recorder.d.ts.map +1 -0
  274. package/dist/typescript/module/src/components/sessions-list/index.d.ts +2 -0
  275. package/dist/typescript/module/src/components/sessions-list/index.d.ts.map +1 -0
  276. package/dist/typescript/module/src/components/sessions-list/sessions-list.d.ts +59 -0
  277. package/dist/typescript/module/src/components/sessions-list/sessions-list.d.ts.map +1 -0
  278. package/dist/typescript/module/src/hooks/index.d.ts +8 -0
  279. package/dist/typescript/module/src/hooks/index.d.ts.map +1 -0
  280. package/dist/typescript/module/src/hooks/use-agent-models.d.ts +68 -0
  281. package/dist/typescript/module/src/hooks/use-agent-models.d.ts.map +1 -0
  282. package/dist/typescript/module/src/hooks/use-assistant.d.ts +55 -0
  283. package/dist/typescript/module/src/hooks/use-assistant.d.ts.map +1 -0
  284. package/dist/typescript/module/src/hooks/use-attachment-picker.d.ts +99 -0
  285. package/dist/typescript/module/src/hooks/use-attachment-picker.d.ts.map +1 -0
  286. package/dist/typescript/module/src/hooks/use-voice-recorder.d.ts +101 -0
  287. package/dist/typescript/module/src/hooks/use-voice-recorder.d.ts.map +1 -0
  288. package/dist/typescript/module/src/index.d.ts +47 -0
  289. package/dist/typescript/module/src/index.d.ts.map +1 -0
  290. package/dist/typescript/module/src/theme/assistant-theme.d.ts +51 -0
  291. package/dist/typescript/module/src/theme/assistant-theme.d.ts.map +1 -0
  292. package/dist/typescript/module/src/theme/index.d.ts +2 -0
  293. package/dist/typescript/module/src/theme/index.d.ts.map +1 -0
  294. package/dist/typescript/module/src/types/index.d.ts +167 -0
  295. package/dist/typescript/module/src/types/index.d.ts.map +1 -0
  296. package/dist/typescript/module/src/ui/action-sheet.d.ts +29 -0
  297. package/dist/typescript/module/src/ui/action-sheet.d.ts.map +1 -0
  298. package/dist/typescript/module/src/ui/alert-dialog.d.ts +12 -0
  299. package/dist/typescript/module/src/ui/alert-dialog.d.ts.map +1 -0
  300. package/dist/typescript/module/src/ui/docyrus-brand-mark.d.ts +5 -0
  301. package/dist/typescript/module/src/ui/docyrus-brand-mark.d.ts.map +1 -0
  302. package/dist/typescript/module/src/ui/docyrus-icon.d.ts +11 -0
  303. package/dist/typescript/module/src/ui/docyrus-icon.d.ts.map +1 -0
  304. package/dist/typescript/module/src/ui/index.d.ts +5 -0
  305. package/dist/typescript/module/src/ui/index.d.ts.map +1 -0
  306. package/dist/typescript/module/src/utils/api-client.d.ts +35 -0
  307. package/dist/typescript/module/src/utils/api-client.d.ts.map +1 -0
  308. package/dist/typescript/module/src/utils/default-api-config.d.ts +38 -0
  309. package/dist/typescript/module/src/utils/default-api-config.d.ts.map +1 -0
  310. package/dist/typescript/module/src/utils/index.d.ts +9 -0
  311. package/dist/typescript/module/src/utils/index.d.ts.map +1 -0
  312. package/dist/typescript/module/src/utils/resolve-api-headers.d.ts +3 -0
  313. package/dist/typescript/module/src/utils/resolve-api-headers.d.ts.map +1 -0
  314. package/package.json +176 -0
@@ -0,0 +1,284 @@
1
+ "use strict";
2
+
3
+ import { useState, forwardRef } from 'react';
4
+ import { View, TextInput, TouchableOpacity, StyleSheet, Text } from 'react-native';
5
+ import { useI18n } from '@docyrus/i18n/rn';
6
+ import { useDocyrusRNAssistantTheme } from "../../theme/index.js";
7
+ import { DocyrusIcon } from "../../ui/index.js";
8
+
9
+ /*
10
+ * ============================================================================
11
+ * Types
12
+ * ============================================================================
13
+ */
14
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
+ /*
16
+ * ============================================================================
17
+ * Component
18
+ * ============================================================================
19
+ */
20
+
21
+ /**
22
+ * PromptInput - AI Chat Input for React Native
23
+ *
24
+ * Full-featured AI chat input inspired by ChatGPT
25
+ * Features:
26
+ * - Auto-growing multiline input
27
+ * - File attachments with count badge
28
+ * - Voice input support
29
+ * - Search functionality
30
+ * - Model selector
31
+ * - Smart send/stop button
32
+ * - Focus border animation
33
+ *
34
+ * @example
35
+ * ```tsx
36
+ * <PromptInput
37
+ * value={input}
38
+ * onChangeText={setInput}
39
+ * onSend={handleSend}
40
+ * status="streaming"
41
+ * onStop={handleStop}
42
+ * enableAttachment
43
+ * enableVoice
44
+ * enableSearch
45
+ * showModelSelector
46
+ * selectedModel="GPT-4"
47
+ * />
48
+ * ```
49
+ */
50
+ export const PromptInput = /*#__PURE__*/forwardRef(({
51
+ value,
52
+ onChangeText,
53
+ onSend,
54
+ placeholder,
55
+ status = 'idle',
56
+ onStop,
57
+ maxLength = 2000,
58
+ accentColor,
59
+ enableAttachment = false,
60
+ onAttachmentPress,
61
+ attachmentCount = 0,
62
+ enableVoice = false,
63
+ onVoicePress,
64
+ isRecording = false,
65
+ enableSearch = false,
66
+ onSearchPress,
67
+ showModelSelector: _showModelSelector = false,
68
+ selectedModel: _selectedModel,
69
+ onModelSelect: _onModelSelect,
70
+ containerStyle,
71
+ centerAccessory,
72
+ leftAccessory,
73
+ disableSendWhenEmpty = true,
74
+ inputProps
75
+ }, ref) => {
76
+ const theme = useDocyrusRNAssistantTheme();
77
+ const {
78
+ t
79
+ } = useI18n();
80
+ const [isFocused, setIsFocused] = useState(false);
81
+ const finalAccentColor = accentColor || theme.colors.primary;
82
+ const resolvedPlaceholder = placeholder || t('assistant.message-ai', 'Message AI...');
83
+ const isStreaming = status === 'streaming';
84
+ const canSend = isStreaming || (disableSendWhenEmpty ? value.trim().length > 0 : true);
85
+ const handleSend = () => {
86
+ if (isStreaming && onStop) {
87
+ onStop();
88
+ } else if (canSend && onSend) {
89
+ onSend();
90
+ }
91
+ };
92
+ const getButtonIcon = () => {
93
+ if (isStreaming) return 'square';
94
+ if (value.trim()) return 'arrow-up-01';
95
+ return 'arrow-up-01';
96
+ };
97
+ return /*#__PURE__*/_jsxs(View, {
98
+ style: [styles.container, {
99
+ backgroundColor: theme.colors.card,
100
+ borderRadius: 20,
101
+ borderWidth: 1,
102
+ borderColor: isFocused ? finalAccentColor : theme.colors.border,
103
+ paddingHorizontal: theme.spacing[4],
104
+ paddingTop: theme.spacing[3],
105
+ paddingBottom: theme.spacing[2.5]
106
+ }, containerStyle],
107
+ children: [/*#__PURE__*/_jsx(TextInput, {
108
+ ref: ref,
109
+ value: value,
110
+ onChangeText: onChangeText,
111
+ placeholder: resolvedPlaceholder,
112
+ placeholderTextColor: theme.colors.mutedForeground,
113
+ multiline: true,
114
+ maxLength: maxLength,
115
+ onFocus: () => setIsFocused(true),
116
+ onBlur: () => setIsFocused(false),
117
+ style: [styles.input, {
118
+ color: theme.colors.foreground,
119
+ fontSize: 17,
120
+ lineHeight: 24,
121
+ backgroundColor: 'transparent'
122
+ }],
123
+ ...inputProps
124
+ }), /*#__PURE__*/_jsxs(View, {
125
+ style: [styles.footerRow, {
126
+ marginTop: theme.spacing[1.5]
127
+ }],
128
+ children: [/*#__PURE__*/_jsxs(View, {
129
+ style: [styles.footerTools, {
130
+ gap: theme.spacing[1.5]
131
+ }],
132
+ children: [leftAccessory ? leftAccessory : null, enableAttachment && /*#__PURE__*/_jsxs(View, {
133
+ children: [/*#__PURE__*/_jsx(TouchableOpacity, {
134
+ onPress: onAttachmentPress,
135
+ style: [styles.toolButton, {
136
+ width: 36,
137
+ height: 36,
138
+ borderRadius: 18
139
+ }],
140
+ children: /*#__PURE__*/_jsx(DocyrusIcon, {
141
+ icon: "attachment-02",
142
+ size: 20,
143
+ color: theme.colors.mutedForeground
144
+ })
145
+ }), attachmentCount > 0 && /*#__PURE__*/_jsx(View, {
146
+ style: [styles.badge, {
147
+ backgroundColor: finalAccentColor,
148
+ borderRadius: theme.borderRadius.full
149
+ }],
150
+ children: /*#__PURE__*/_jsx(Text, {
151
+ style: styles.badgeText,
152
+ children: attachmentCount > 9 ? '9+' : attachmentCount
153
+ })
154
+ })]
155
+ }), enableSearch && /*#__PURE__*/_jsx(TouchableOpacity, {
156
+ onPress: onSearchPress,
157
+ style: [styles.toolButton, {
158
+ width: 36,
159
+ height: 36,
160
+ borderRadius: 18
161
+ }],
162
+ children: /*#__PURE__*/_jsx(DocyrusIcon, {
163
+ icon: "search-01",
164
+ size: 22,
165
+ color: theme.colors.mutedForeground
166
+ })
167
+ }), centerAccessory ? /*#__PURE__*/_jsx(View, {
168
+ style: styles.centerAccessoryContainer,
169
+ children: centerAccessory
170
+ }) : null]
171
+ }), /*#__PURE__*/_jsxs(View, {
172
+ style: [styles.footerTools, {
173
+ gap: theme.spacing[2]
174
+ }],
175
+ children: [enableVoice && /*#__PURE__*/_jsx(TouchableOpacity, {
176
+ onPress: onVoicePress,
177
+ style: [styles.toolButton, {
178
+ width: 36,
179
+ height: 36,
180
+ borderRadius: 18,
181
+ backgroundColor: isRecording ? `${finalAccentColor}15` : 'transparent'
182
+ }],
183
+ children: /*#__PURE__*/_jsx(DocyrusIcon, {
184
+ icon: isRecording ? 'ai-voice' : 'ai-mic',
185
+ size: 22,
186
+ color: isRecording ? finalAccentColor : theme.colors.mutedForeground
187
+ })
188
+ }), /*#__PURE__*/_jsx(TouchableOpacity, {
189
+ onPress: handleSend,
190
+ disabled: !canSend,
191
+ style: [styles.sendButton, {
192
+ backgroundColor: canSend ? finalAccentColor : theme.colors.muted,
193
+ borderRadius: theme.borderRadius.full
194
+ }],
195
+ children: /*#__PURE__*/_jsx(DocyrusIcon, {
196
+ icon: getButtonIcon(),
197
+ size: isStreaming ? 18 : 20,
198
+ color: canSend ? '#ffffff' : theme.colors.mutedForeground
199
+ })
200
+ })]
201
+ })]
202
+ }), value.length > maxLength * 0.8 && /*#__PURE__*/_jsxs(View, {
203
+ style: [styles.characterCount, {
204
+ marginTop: theme.spacing[1.5]
205
+ }],
206
+ children: [/*#__PURE__*/_jsx(DocyrusIcon, {
207
+ icon: "info-circle",
208
+ size: 14,
209
+ color: value.length >= maxLength ? theme.colors.destructive : theme.colors.mutedForeground
210
+ }), /*#__PURE__*/_jsxs(Text, {
211
+ style: {
212
+ fontSize: 13,
213
+ marginLeft: 4,
214
+ color: value.length >= maxLength ? theme.colors.destructive : theme.colors.mutedForeground
215
+ },
216
+ children: [value.length, " / ", maxLength]
217
+ })]
218
+ })]
219
+ });
220
+ });
221
+
222
+ /*
223
+ * ============================================================================
224
+ * Styles
225
+ * ============================================================================
226
+ */
227
+
228
+ const styles = StyleSheet.create({
229
+ container: {
230
+ width: '100%'
231
+ },
232
+ footerRow: {
233
+ flexDirection: 'row',
234
+ alignItems: 'center',
235
+ justifyContent: 'space-between'
236
+ },
237
+ footerTools: {
238
+ flexDirection: 'row',
239
+ alignItems: 'center'
240
+ },
241
+ centerAccessoryContainer: {
242
+ marginLeft: 2
243
+ },
244
+ toolButton: {
245
+ alignItems: 'center',
246
+ justifyContent: 'center',
247
+ position: 'relative'
248
+ },
249
+ badge: {
250
+ position: 'absolute',
251
+ top: -4,
252
+ right: -4,
253
+ minWidth: 16,
254
+ height: 16,
255
+ alignItems: 'center',
256
+ justifyContent: 'center',
257
+ paddingHorizontal: 4
258
+ },
259
+ badgeText: {
260
+ color: '#ffffff',
261
+ fontSize: 11,
262
+ fontWeight: '600'
263
+ },
264
+ input: {
265
+ minHeight: 44,
266
+ maxHeight: 120,
267
+ paddingVertical: 0,
268
+ paddingHorizontal: 0,
269
+ textAlignVertical: 'top'
270
+ },
271
+ sendButton: {
272
+ width: 40,
273
+ height: 40,
274
+ alignItems: 'center',
275
+ justifyContent: 'center'
276
+ },
277
+ characterCount: {
278
+ flexDirection: 'row',
279
+ alignItems: 'center',
280
+ paddingHorizontal: 8
281
+ }
282
+ });
283
+ PromptInput.displayName = 'PromptInput';
284
+ //# sourceMappingURL=prompt-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useState","forwardRef","View","TextInput","TouchableOpacity","StyleSheet","Text","useI18n","useDocyrusRNAssistantTheme","DocyrusIcon","jsx","_jsx","jsxs","_jsxs","PromptInput","value","onChangeText","onSend","placeholder","status","onStop","maxLength","accentColor","enableAttachment","onAttachmentPress","attachmentCount","enableVoice","onVoicePress","isRecording","enableSearch","onSearchPress","showModelSelector","_showModelSelector","selectedModel","_selectedModel","onModelSelect","_onModelSelect","containerStyle","centerAccessory","leftAccessory","disableSendWhenEmpty","inputProps","ref","theme","t","isFocused","setIsFocused","finalAccentColor","colors","primary","resolvedPlaceholder","isStreaming","canSend","trim","length","handleSend","getButtonIcon","style","styles","container","backgroundColor","card","borderRadius","borderWidth","borderColor","border","paddingHorizontal","spacing","paddingTop","paddingBottom","children","placeholderTextColor","mutedForeground","multiline","onFocus","onBlur","input","color","foreground","fontSize","lineHeight","footerRow","marginTop","footerTools","gap","onPress","toolButton","width","height","icon","size","badge","full","badgeText","centerAccessoryContainer","disabled","sendButton","muted","characterCount","destructive","marginLeft","create","flexDirection","alignItems","justifyContent","position","top","right","minWidth","fontWeight","minHeight","maxHeight","paddingVertical","textAlignVertical","displayName"],"sourceRoot":"../../../../src","sources":["components/prompt-input/prompt-input.tsx"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,UAAU,QAAwB,OAAO;AAE5D,SACEC,IAAI,EACJC,SAAS,EACTC,gBAAgB,EAChBC,UAAU,EACVC,IAAI,QAGC,cAAc;AAErB,SAASC,OAAO,QAAQ,kBAAkB;AAE1C,SAASC,0BAA0B,QAAQ,sBAAa;AACxD,SAASC,WAAW,QAAQ,mBAAU;;AAEtC;AACA;AACA;AACA;AACA;AAJA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAwIA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,WAAW,gBAAGb,UAAU,CAA8B,CACjE;EACEc,KAAK;EACLC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