@opencx/widget-react 4.0.61 → 5.0.0-beta.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 (324) hide show
  1. package/dist/Chart.impl-BnzKZLOH.js +153 -0
  2. package/dist/Chart.impl-BnzKZLOH.js.map +1 -0
  3. package/dist/Chart.impl-DOSb1NJk.cjs +2 -0
  4. package/dist/Chart.impl-DOSb1NJk.cjs.map +1 -0
  5. package/dist/index-BCiFOCVT.js +11548 -0
  6. package/dist/index-BCiFOCVT.js.map +1 -0
  7. package/dist/index-CqbztkwP.cjs +234 -0
  8. package/dist/index-CqbztkwP.cjs.map +1 -0
  9. package/dist/index.cjs +1 -50
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.js +9 -3391
  12. package/dist/index.js.map +1 -1
  13. package/dist/package.json.d.ts +82 -0
  14. package/dist/src/WidgetImperativeHandler.d.ts +1 -0
  15. package/dist/src/WidgetImperativeHandler.d.ts.map +1 -1
  16. package/dist/src/WidgetPopoverContent.d.ts.map +1 -1
  17. package/dist/src/WidgetPopoverTrigger.d.ts.map +1 -1
  18. package/dist/src/__tests__/motion-contract.spec.d.ts +2 -0
  19. package/dist/src/__tests__/motion-contract.spec.d.ts.map +1 -0
  20. package/dist/src/companion/CompanionContent.d.ts +30 -0
  21. package/dist/src/companion/CompanionContent.d.ts.map +1 -0
  22. package/dist/src/companion/CompanionFaceIcon.d.ts +15 -0
  23. package/dist/src/companion/CompanionFaceIcon.d.ts.map +1 -0
  24. package/dist/src/companion/CompanionFrame.d.ts +19 -0
  25. package/dist/src/companion/CompanionFrame.d.ts.map +1 -0
  26. package/dist/src/companion/FrameIconButton.d.ts +15 -0
  27. package/dist/src/companion/FrameIconButton.d.ts.map +1 -0
  28. package/dist/src/companion/LayoutPicker.d.ts +7 -0
  29. package/dist/src/companion/LayoutPicker.d.ts.map +1 -0
  30. package/dist/src/companion/PanelControls.d.ts +15 -0
  31. package/dist/src/companion/PanelControls.d.ts.map +1 -0
  32. package/dist/src/companion/RestingPill.d.ts +14 -0
  33. package/dist/src/companion/RestingPill.d.ts.map +1 -0
  34. package/dist/src/companion/SidebarSubmenu.d.ts +21 -0
  35. package/dist/src/companion/SidebarSubmenu.d.ts.map +1 -0
  36. package/dist/src/companion/WidgetCompanion.d.ts +3 -0
  37. package/dist/src/companion/WidgetCompanion.d.ts.map +1 -0
  38. package/dist/src/companion/__tests__/app-frame.spec.d.ts +2 -0
  39. package/dist/src/companion/__tests__/app-frame.spec.d.ts.map +1 -0
  40. package/dist/src/companion/__tests__/companion-dismissal.spec.d.ts +2 -0
  41. package/dist/src/companion/__tests__/companion-dismissal.spec.d.ts.map +1 -0
  42. package/dist/src/companion/__tests__/companion-focus.spec.d.ts +2 -0
  43. package/dist/src/companion/__tests__/companion-focus.spec.d.ts.map +1 -0
  44. package/dist/src/companion/__tests__/companion-frame.spec.d.ts +2 -0
  45. package/dist/src/companion/__tests__/companion-frame.spec.d.ts.map +1 -0
  46. package/dist/src/companion/__tests__/companion-geometry.spec.d.ts +2 -0
  47. package/dist/src/companion/__tests__/companion-geometry.spec.d.ts.map +1 -0
  48. package/dist/src/companion/__tests__/companion-keyboard.spec.d.ts +2 -0
  49. package/dist/src/companion/__tests__/companion-keyboard.spec.d.ts.map +1 -0
  50. package/dist/src/companion/__tests__/host-scroll-lock.spec.d.ts +2 -0
  51. package/dist/src/companion/__tests__/host-scroll-lock.spec.d.ts.map +1 -0
  52. package/dist/src/companion/__tests__/layout-picker.spec.d.ts +2 -0
  53. package/dist/src/companion/__tests__/layout-picker.spec.d.ts.map +1 -0
  54. package/dist/src/companion/__tests__/message-styles.spec.d.ts +2 -0
  55. package/dist/src/companion/__tests__/message-styles.spec.d.ts.map +1 -0
  56. package/dist/src/companion/__tests__/use-companion-host-effects.spec.d.ts +2 -0
  57. package/dist/src/companion/__tests__/use-companion-host-effects.spec.d.ts.map +1 -0
  58. package/dist/src/companion/__tests__/use-companion-measurements.spec.d.ts +2 -0
  59. package/dist/src/companion/__tests__/use-companion-measurements.spec.d.ts.map +1 -0
  60. package/dist/src/companion/__tests__/use-host-portal.spec.d.ts +2 -0
  61. package/dist/src/companion/__tests__/use-host-portal.spec.d.ts.map +1 -0
  62. package/dist/src/companion/__tests__/use-persisted-pill-drag.spec.d.ts +2 -0
  63. package/dist/src/companion/__tests__/use-persisted-pill-drag.spec.d.ts.map +1 -0
  64. package/dist/src/companion/app-frame.d.ts +13 -0
  65. package/dist/src/companion/app-frame.d.ts.map +1 -0
  66. package/dist/src/companion/companion-dismissal.d.ts +21 -0
  67. package/dist/src/companion/companion-dismissal.d.ts.map +1 -0
  68. package/dist/src/companion/companion-geometry.d.ts +101 -0
  69. package/dist/src/companion/companion-geometry.d.ts.map +1 -0
  70. package/dist/src/companion/companion-keyboard.d.ts +43 -0
  71. package/dist/src/companion/companion-keyboard.d.ts.map +1 -0
  72. package/dist/src/companion/host-scroll-lock.d.ts +5 -0
  73. package/dist/src/companion/host-scroll-lock.d.ts.map +1 -0
  74. package/dist/src/companion/layout-glyphs.d.ts +14 -0
  75. package/dist/src/companion/layout-glyphs.d.ts.map +1 -0
  76. package/dist/src/companion/message-styles.d.ts +2 -0
  77. package/dist/src/companion/message-styles.d.ts.map +1 -0
  78. package/dist/src/companion/types.d.ts +3 -0
  79. package/dist/src/companion/types.d.ts.map +1 -0
  80. package/dist/src/companion/useCompanionHostEffects.d.ts +46 -0
  81. package/dist/src/companion/useCompanionHostEffects.d.ts.map +1 -0
  82. package/dist/src/companion/useCompanionMeasurements.d.ts +12 -0
  83. package/dist/src/companion/useCompanionMeasurements.d.ts.map +1 -0
  84. package/dist/src/companion/useHostPortal.d.ts +22 -0
  85. package/dist/src/companion/useHostPortal.d.ts.map +1 -0
  86. package/dist/src/companion/usePersistedPillDrag.d.ts +29 -0
  87. package/dist/src/companion/usePersistedPillDrag.d.ts.map +1 -0
  88. package/dist/src/components/AgentAvatar.d.ts.map +1 -1
  89. package/dist/src/components/AgentMessageGroup.d.ts +6 -1
  90. package/dist/src/components/AgentMessageGroup.d.ts.map +1 -1
  91. package/dist/src/components/ClarificationQuestions.d.ts +17 -0
  92. package/dist/src/components/ClarificationQuestions.d.ts.map +1 -0
  93. package/dist/src/components/Dialoger.d.ts.map +1 -1
  94. package/dist/src/components/FrameDocument.d.ts +31 -0
  95. package/dist/src/components/FrameDocument.d.ts.map +1 -0
  96. package/dist/src/components/GroupTimestamp.d.ts.map +1 -1
  97. package/dist/src/components/Header.d.ts +7 -0
  98. package/dist/src/components/Header.d.ts.map +1 -1
  99. package/dist/src/components/MessageActions.d.ts +21 -0
  100. package/dist/src/components/MessageActions.d.ts.map +1 -0
  101. package/dist/src/components/RichText.d.ts.map +1 -1
  102. package/dist/src/components/StepsGroup.d.ts +10 -0
  103. package/dist/src/components/StepsGroup.d.ts.map +1 -0
  104. package/dist/src/components/StreamingTurn.d.ts +33 -0
  105. package/dist/src/components/StreamingTurn.d.ts.map +1 -0
  106. package/dist/src/components/UserMessage.d.ts.map +1 -1
  107. package/dist/src/components/ZoomableImage.d.ts +1 -1
  108. package/dist/src/components/ZoomableImage.d.ts.map +1 -1
  109. package/dist/src/components/__tests__/clarification-questions.spec.d.ts +2 -0
  110. package/dist/src/components/__tests__/clarification-questions.spec.d.ts.map +1 -0
  111. package/dist/src/components/__tests__/dialoger-escape.spec.d.ts +2 -0
  112. package/dist/src/components/__tests__/dialoger-escape.spec.d.ts.map +1 -0
  113. package/dist/src/components/__tests__/header-title.spec.d.ts +2 -0
  114. package/dist/src/components/__tests__/header-title.spec.d.ts.map +1 -0
  115. package/dist/src/components/__tests__/message-actions.spec.d.ts +2 -0
  116. package/dist/src/components/__tests__/message-actions.spec.d.ts.map +1 -0
  117. package/dist/src/components/__tests__/rich-text-sanitize.spec.d.ts +2 -0
  118. package/dist/src/components/__tests__/rich-text-sanitize.spec.d.ts.map +1 -0
  119. package/dist/src/components/__tests__/steps-group-collapse.spec.d.ts +2 -0
  120. package/dist/src/components/__tests__/steps-group-collapse.spec.d.ts.map +1 -0
  121. package/dist/src/components/__tests__/steps-reasoning-markdown.spec.d.ts +2 -0
  122. package/dist/src/components/__tests__/steps-reasoning-markdown.spec.d.ts.map +1 -0
  123. package/dist/src/components/__tests__/steps-tool-io.spec.d.ts +2 -0
  124. package/dist/src/components/__tests__/steps-tool-io.spec.d.ts.map +1 -0
  125. package/dist/src/components/__tests__/streaming-turn-customization.spec.d.ts +2 -0
  126. package/dist/src/components/__tests__/streaming-turn-customization.spec.d.ts.map +1 -0
  127. package/dist/src/components/__tests__/streaming-turn-working.spec.d.ts +2 -0
  128. package/dist/src/components/__tests__/streaming-turn-working.spec.d.ts.map +1 -0
  129. package/dist/src/components/custom-components/AgentMessageDefaultComponent.d.ts.map +1 -1
  130. package/dist/src/components/custom-components/__tests__/agent-message-spec-history.spec.d.ts +2 -0
  131. package/dist/src/components/custom-components/__tests__/agent-message-spec-history.spec.d.ts.map +1 -0
  132. package/dist/src/components/lib/BrailleSpinner.d.ts +10 -0
  133. package/dist/src/components/lib/BrailleSpinner.d.ts.map +1 -0
  134. package/dist/src/components/lib/DynamicIcon.d.ts.map +1 -1
  135. package/dist/src/components/lib/MotionDiv.d.ts.map +1 -1
  136. package/dist/src/components/lib/MotionDiv__VerticalReveal.d.ts.map +1 -1
  137. package/dist/src/components/lib/badge.d.ts +1 -1
  138. package/dist/src/components/lib/button.d.ts +2 -2
  139. package/dist/src/components/lib/input.d.ts.map +1 -1
  140. package/dist/src/components/lib/tooltip.d.ts +18 -2
  141. package/dist/src/components/lib/tooltip.d.ts.map +1 -1
  142. package/dist/src/hooks/useCanHover.d.ts +8 -0
  143. package/dist/src/hooks/useCanHover.d.ts.map +1 -0
  144. package/dist/src/hooks/useTheme.d.ts +17 -2
  145. package/dist/src/hooks/useTheme.d.ts.map +1 -1
  146. package/dist/src/hooks/useTranslation.d.ts +3 -2
  147. package/dist/src/hooks/useTranslation.d.ts.map +1 -1
  148. package/dist/src/hooks/useTriggerLabel.d.ts +6 -0
  149. package/dist/src/hooks/useTriggerLabel.d.ts.map +1 -0
  150. package/dist/src/index.d.ts +12 -1
  151. package/dist/src/index.d.ts.map +1 -1
  152. package/dist/src/json-render/Chart.d.ts +4 -0
  153. package/dist/src/json-render/Chart.d.ts.map +1 -0
  154. package/dist/src/json-render/Chart.impl.d.ts +4 -0
  155. package/dist/src/json-render/Chart.impl.d.ts.map +1 -0
  156. package/dist/src/json-render/JsonRenderErrorBoundary.d.ts +27 -0
  157. package/dist/src/json-render/JsonRenderErrorBoundary.d.ts.map +1 -0
  158. package/dist/src/json-render/SpecRenderer.d.ts +28 -0
  159. package/dist/src/json-render/SpecRenderer.d.ts.map +1 -0
  160. package/dist/src/json-render/__tests__/catalog.spec.d.ts +2 -0
  161. package/dist/src/json-render/__tests__/catalog.spec.d.ts.map +1 -0
  162. package/dist/src/json-render/__tests__/chart.spec.d.ts +2 -0
  163. package/dist/src/json-render/__tests__/chart.spec.d.ts.map +1 -0
  164. package/dist/src/json-render/__tests__/json-render-error-boundary.spec.d.ts +2 -0
  165. package/dist/src/json-render/__tests__/json-render-error-boundary.spec.d.ts.map +1 -0
  166. package/dist/src/json-render/__tests__/normalize-spec.spec.d.ts +2 -0
  167. package/dist/src/json-render/__tests__/normalize-spec.spec.d.ts.map +1 -0
  168. package/dist/src/json-render/__tests__/phone-agent-card.spec.d.ts +2 -0
  169. package/dist/src/json-render/__tests__/phone-agent-card.spec.d.ts.map +1 -0
  170. package/dist/src/json-render/__tests__/props.spec.d.ts +2 -0
  171. package/dist/src/json-render/__tests__/props.spec.d.ts.map +1 -0
  172. package/dist/src/json-render/__tests__/segment-content.spec.d.ts +2 -0
  173. package/dist/src/json-render/__tests__/segment-content.spec.d.ts.map +1 -0
  174. package/dist/src/json-render/__tests__/spec-renderer.spec.d.ts +2 -0
  175. package/dist/src/json-render/__tests__/spec-renderer.spec.d.ts.map +1 -0
  176. package/dist/src/json-render/catalog.d.ts +260 -0
  177. package/dist/src/json-render/catalog.d.ts.map +1 -0
  178. package/dist/src/json-render/host.d.ts +27 -0
  179. package/dist/src/json-render/host.d.ts.map +1 -0
  180. package/dist/src/json-render/index.d.ts +12 -0
  181. package/dist/src/json-render/index.d.ts.map +1 -0
  182. package/dist/src/json-render/normalize-spec.d.ts +22 -0
  183. package/dist/src/json-render/normalize-spec.d.ts.map +1 -0
  184. package/dist/src/json-render/props.d.ts +207 -0
  185. package/dist/src/json-render/props.d.ts.map +1 -0
  186. package/dist/src/json-render/registry.d.ts +5 -0
  187. package/dist/src/json-render/registry.d.ts.map +1 -0
  188. package/dist/src/json-render/segment-content.d.ts +25 -0
  189. package/dist/src/json-render/segment-content.d.ts.map +1 -0
  190. package/dist/src/json-render/ui-prompt.d.ts +22 -0
  191. package/dist/src/json-render/ui-prompt.d.ts.map +1 -0
  192. package/dist/src/motion.d.ts +55 -0
  193. package/dist/src/motion.d.ts.map +1 -0
  194. package/dist/src/page-context/PageContextPill.d.ts +17 -0
  195. package/dist/src/page-context/PageContextPill.d.ts.map +1 -0
  196. package/dist/src/page-context/usePageEntity.d.ts +15 -0
  197. package/dist/src/page-context/usePageEntity.d.ts.map +1 -0
  198. package/dist/src/page-marks/MarkThumbnail.d.ts +19 -0
  199. package/dist/src/page-marks/MarkThumbnail.d.ts.map +1 -0
  200. package/dist/src/page-marks/PageMarkOverlay.d.ts +23 -0
  201. package/dist/src/page-marks/PageMarkOverlay.d.ts.map +1 -0
  202. package/dist/src/page-marks/PageMarkPill.d.ts +16 -0
  203. package/dist/src/page-marks/PageMarkPill.d.ts.map +1 -0
  204. package/dist/src/page-marks/PageMarksProvider.d.ts +21 -0
  205. package/dist/src/page-marks/PageMarksProvider.d.ts.map +1 -0
  206. package/dist/src/page-marks/SentMarkChip.d.ts +15 -0
  207. package/dist/src/page-marks/SentMarkChip.d.ts.map +1 -0
  208. package/dist/src/page-marks/__tests__/agent-mark.spec.d.ts +2 -0
  209. package/dist/src/page-marks/__tests__/agent-mark.spec.d.ts.map +1 -0
  210. package/dist/src/page-marks/__tests__/mark-snapshot-upload.spec.d.ts +2 -0
  211. package/dist/src/page-marks/__tests__/mark-snapshot-upload.spec.d.ts.map +1 -0
  212. package/dist/src/page-marks/__tests__/page-element-name.spec.d.ts +2 -0
  213. package/dist/src/page-marks/__tests__/page-element-name.spec.d.ts.map +1 -0
  214. package/dist/src/page-marks/__tests__/page-element.spec.d.ts +2 -0
  215. package/dist/src/page-marks/__tests__/page-element.spec.d.ts.map +1 -0
  216. package/dist/src/page-marks/__tests__/page-mark-pill.spec.d.ts +2 -0
  217. package/dist/src/page-marks/__tests__/page-mark-pill.spec.d.ts.map +1 -0
  218. package/dist/src/page-marks/__tests__/page-mark-theme.spec.d.ts +2 -0
  219. package/dist/src/page-marks/__tests__/page-mark-theme.spec.d.ts.map +1 -0
  220. package/dist/src/page-marks/__tests__/page-mark-tile.spec.d.ts +2 -0
  221. package/dist/src/page-marks/__tests__/page-mark-tile.spec.d.ts.map +1 -0
  222. package/dist/src/page-marks/__tests__/page-marks-provider.spec.d.ts +2 -0
  223. package/dist/src/page-marks/__tests__/page-marks-provider.spec.d.ts.map +1 -0
  224. package/dist/src/page-marks/__tests__/picked-elements.spec.d.ts +2 -0
  225. package/dist/src/page-marks/__tests__/picked-elements.spec.d.ts.map +1 -0
  226. package/dist/src/page-marks/__tests__/sent-mark-chip.spec.d.ts +2 -0
  227. package/dist/src/page-marks/__tests__/sent-mark-chip.spec.d.ts.map +1 -0
  228. package/dist/src/page-marks/__tests__/use-page-marking.spec.d.ts +2 -0
  229. package/dist/src/page-marks/__tests__/use-page-marking.spec.d.ts.map +1 -0
  230. package/dist/src/page-marks/agent-mark.d.ts +37 -0
  231. package/dist/src/page-marks/agent-mark.d.ts.map +1 -0
  232. package/dist/src/page-marks/mark-thumbnail.d.ts +25 -0
  233. package/dist/src/page-marks/mark-thumbnail.d.ts.map +1 -0
  234. package/dist/src/page-marks/page-element.d.ts +89 -0
  235. package/dist/src/page-marks/page-element.d.ts.map +1 -0
  236. package/dist/src/page-marks/page-mark-theme.d.ts +30 -0
  237. package/dist/src/page-marks/page-mark-theme.d.ts.map +1 -0
  238. package/dist/src/page-marks/page-mark.d.ts +103 -0
  239. package/dist/src/page-marks/page-mark.d.ts.map +1 -0
  240. package/dist/src/page-marks/useMarkThumbnail.d.ts +8 -0
  241. package/dist/src/page-marks/useMarkThumbnail.d.ts.map +1 -0
  242. package/dist/src/page-marks/usePageMarking.d.ts +53 -0
  243. package/dist/src/page-marks/usePageMarking.d.ts.map +1 -0
  244. package/dist/src/screens/chat/ChatCanvas.d.ts.map +1 -1
  245. package/dist/src/screens/chat/ChatFooter.d.ts.map +1 -1
  246. package/dist/src/screens/chat/ChatFooterItems.d.ts.map +1 -1
  247. package/dist/src/screens/chat/ChatInput.d.ts +27 -0
  248. package/dist/src/screens/chat/ChatInput.d.ts.map +1 -0
  249. package/dist/src/screens/chat/ChatMain.d.ts.map +1 -1
  250. package/dist/src/screens/chat/DictationMicButton.d.ts +18 -0
  251. package/dist/src/screens/chat/DictationMicButton.d.ts.map +1 -0
  252. package/dist/src/screens/chat/InitialMessages.d.ts +7 -1
  253. package/dist/src/screens/chat/InitialMessages.d.ts.map +1 -1
  254. package/dist/src/screens/chat/MentionPicker.d.ts +39 -0
  255. package/dist/src/screens/chat/MentionPicker.d.ts.map +1 -0
  256. package/dist/src/screens/chat/MentionText.d.ts +16 -0
  257. package/dist/src/screens/chat/MentionText.d.ts.map +1 -0
  258. package/dist/src/screens/chat/MessageGroups.d.ts +12 -0
  259. package/dist/src/screens/chat/MessageGroups.d.ts.map +1 -0
  260. package/dist/src/screens/chat/UploadPreview.d.ts +23 -0
  261. package/dist/src/screens/chat/UploadPreview.d.ts.map +1 -0
  262. package/dist/src/screens/chat/__tests__/chat-input-clarification.spec.d.ts +2 -0
  263. package/dist/src/screens/chat/__tests__/chat-input-clarification.spec.d.ts.map +1 -0
  264. package/dist/src/screens/chat/__tests__/chatInput.spec.d.ts +2 -0
  265. package/dist/src/screens/chat/__tests__/chatInput.spec.d.ts.map +1 -0
  266. package/dist/src/screens/chat/__tests__/use-mentions.spec.d.ts +2 -0
  267. package/dist/src/screens/chat/__tests__/use-mentions.spec.d.ts.map +1 -0
  268. package/dist/src/screens/chat/__tests__/useSentTextRecall.spec.d.ts +2 -0
  269. package/dist/src/screens/chat/__tests__/useSentTextRecall.spec.d.ts.map +1 -0
  270. package/dist/src/screens/chat/agent/AgentChatMain.d.ts +16 -0
  271. package/dist/src/screens/chat/agent/AgentChatMain.d.ts.map +1 -0
  272. package/dist/src/screens/chat/agent/AgentChatPageEffects.d.ts +9 -0
  273. package/dist/src/screens/chat/agent/AgentChatPageEffects.d.ts.map +1 -0
  274. package/dist/src/screens/chat/agent/QueuedSendsPill.d.ts +18 -0
  275. package/dist/src/screens/chat/agent/QueuedSendsPill.d.ts.map +1 -0
  276. package/dist/src/screens/chat/agent/__tests__/agent-chat-main.promotion.spec.d.ts +2 -0
  277. package/dist/src/screens/chat/agent/__tests__/agent-chat-main.promotion.spec.d.ts.map +1 -0
  278. package/dist/src/screens/chat/agent/__tests__/agent-chat-page-effects.spec.d.ts +2 -0
  279. package/dist/src/screens/chat/agent/__tests__/agent-chat-page-effects.spec.d.ts.map +1 -0
  280. package/dist/src/screens/chat/agent/__tests__/scroll-follow.utils.spec.d.ts +2 -0
  281. package/dist/src/screens/chat/agent/__tests__/scroll-follow.utils.spec.d.ts.map +1 -0
  282. package/dist/src/screens/chat/agent/__tests__/useStreamFollow.spec.d.ts +2 -0
  283. package/dist/src/screens/chat/agent/__tests__/useStreamFollow.spec.d.ts.map +1 -0
  284. package/dist/src/screens/chat/agent/scroll-follow.utils.d.ts +17 -0
  285. package/dist/src/screens/chat/agent/scroll-follow.utils.d.ts.map +1 -0
  286. package/dist/src/screens/chat/agent/useStreamFollow.d.ts +23 -0
  287. package/dist/src/screens/chat/agent/useStreamFollow.d.ts.map +1 -0
  288. package/dist/src/screens/chat/caret-position.d.ts +19 -0
  289. package/dist/src/screens/chat/caret-position.d.ts.map +1 -0
  290. package/dist/src/screens/chat/composer-styles.d.ts +21 -0
  291. package/dist/src/screens/chat/composer-styles.d.ts.map +1 -0
  292. package/dist/src/screens/chat/index.d.ts.map +1 -1
  293. package/dist/src/screens/chat/useMentions.d.ts +60 -0
  294. package/dist/src/screens/chat/useMentions.d.ts.map +1 -0
  295. package/dist/src/screens/chat/usePageMarkComposer.d.ts +25 -0
  296. package/dist/src/screens/chat/usePageMarkComposer.d.ts.map +1 -0
  297. package/dist/src/screens/chat/useSentTextRecall.d.ts +29 -0
  298. package/dist/src/screens/chat/useSentTextRecall.d.ts.map +1 -0
  299. package/dist/src/screens/sessions/index.d.ts.map +1 -1
  300. package/dist/src/utils/__tests__/keybindings.spec.d.ts +2 -0
  301. package/dist/src/utils/__tests__/keybindings.spec.d.ts.map +1 -0
  302. package/dist/src/utils/__tests__/strip-citation-refs.spec.d.ts +2 -0
  303. package/dist/src/utils/__tests__/strip-citation-refs.spec.d.ts.map +1 -0
  304. package/dist/src/utils/__tests__/strip-inline-markdown.spec.d.ts +2 -0
  305. package/dist/src/utils/__tests__/strip-inline-markdown.spec.d.ts.map +1 -0
  306. package/dist/src/utils/group-messages-by-type.d.ts +1 -2
  307. package/dist/src/utils/group-messages-by-type.d.ts.map +1 -1
  308. package/dist/src/utils/keybindings.d.ts +24 -0
  309. package/dist/src/utils/keybindings.d.ts.map +1 -0
  310. package/dist/src/utils/render-custom-trigger.d.ts +11 -0
  311. package/dist/src/utils/render-custom-trigger.d.ts.map +1 -0
  312. package/dist/src/utils/strip-citation-refs.d.ts +10 -0
  313. package/dist/src/utils/strip-citation-refs.d.ts.map +1 -0
  314. package/dist/src/utils/strip-inline-markdown.d.ts +14 -0
  315. package/dist/src/utils/strip-inline-markdown.d.ts.map +1 -0
  316. package/package.json +16 -6
  317. package/dist/src/components/lib/dropdown-menu.d.ts +0 -28
  318. package/dist/src/components/lib/dropdown-menu.d.ts.map +0 -1
  319. package/dist/src/components/lib/popover.d.ts +0 -9
  320. package/dist/src/components/lib/popover.d.ts.map +0 -1
  321. package/dist/src/components/lib/switch.d.ts +0 -5
  322. package/dist/src/components/lib/switch.d.ts.map +0 -1
  323. package/dist/src/screens/chat/AdvancedInitialMessages.d.ts +0 -3
  324. package/dist/src/screens/chat/AdvancedInitialMessages.d.ts.map +0 -1
@@ -0,0 +1,37 @@
1
+ import { z } from 'zod';
2
+ export declare const highlightElementInputSchema: z.ZodObject<{
3
+ selector: z.ZodOptional<z.ZodString>;
4
+ text: z.ZodOptional<z.ZodString>;
5
+ label: z.ZodOptional<z.ZodString>;
6
+ type: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
7
+ circle: "circle";
8
+ underline: "underline";
9
+ box: "box";
10
+ arrow: "arrow";
11
+ bracket: "bracket";
12
+ }>>>;
13
+ }, z.core.$strip>;
14
+ type HighlightElementInput = z.infer<typeof highlightElementInputSchema>;
15
+ /** How long a highlight stays before un-drawing itself (`pageMarkHighlightDurationMs`). */
16
+ export declare const DEFAULT_HIGHLIGHT_DURATION_MS = 8000;
17
+ /** Programmatically clear the current highlight (also used by tests). */
18
+ export declare function dismissActiveHighlight(): void;
19
+ /**
20
+ * Ink a mark on an element of the host page: scroll it into view, hand-draw
21
+ * the mark on it (the ink is glued to the element, so it rides along with the
22
+ * smooth scroll), and float an optional pointing callout. The page stays fully
23
+ * interactive throughout — nothing is dimmed and no click is trapped.
24
+ *
25
+ * Returns false when the hint doesn't resolve to an element (the page may have
26
+ * changed since the context was captured) — callers treat that as a no-op.
27
+ */
28
+ export declare function highlightElementOnHostPage(input: HighlightElementInput, { accentColor, surfaceColor, foregroundColor, zIndex, durationMs, seed, }?: {
29
+ accentColor?: string;
30
+ surfaceColor?: string;
31
+ foregroundColor?: string;
32
+ zIndex?: number;
33
+ durationMs?: number | undefined;
34
+ seed?: number;
35
+ }): boolean;
36
+ export {};
37
+ //# sourceMappingURL=agent-mark.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-mark.d.ts","sourceRoot":"","sources":["../../../src/page-marks/agent-mark.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAwCxB,eAAO,MAAM,2BAA2B;;;;;;;;;;;iBAStC,CAAC;AAEH,KAAK,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEzE,2FAA2F;AAC3F,eAAO,MAAM,6BAA6B,OAAO,CAAC;AA2BlD,yEAAyE;AACzE,wBAAgB,sBAAsB,SAErC;AAED;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,qBAAqB,EAC5B,EACE,WAA4B,EAC5B,YAA6B,EAC7B,eAAiC,EACjC,MAAmB,EACnB,UAA0C,EAC1C,IAAI,GACL,GAAE;IACD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;CACV,GACL,OAAO,CAmLT"}
@@ -0,0 +1,25 @@
1
+ /** Kick off (and register) a snapshot keyed by its annotation object. */
2
+ export declare function beginThumbnail(key: object, el: HTMLElement): void;
3
+ /**
4
+ * Upload the mark's thumbnail once it settles and write the resulting URL
5
+ * onto the mark. Registered like the thumbnail so a send can wait for an
6
+ * upload still in flight (`awaitSnapshotUrl`). A failed capture or upload
7
+ * resolves null and leaves the mark without a snapshot — never throws.
8
+ */
9
+ export declare function beginSnapshotUpload(mark: {
10
+ snapshotUrl?: string;
11
+ }, upload: (file: File) => Promise<string | null>): void;
12
+ /**
13
+ * The mark's snapshot URL, waiting at most `maxWaitMs` for an in-flight
14
+ * upload. A send must not hang on a slow upload: past the cap the mark goes
15
+ * out without its picture (text fallback), and the URL, if it lands later,
16
+ * is simply never persisted.
17
+ */
18
+ export declare function awaitSnapshotUrl(mark: {
19
+ snapshotUrl?: string;
20
+ }, maxWaitMs: number): Promise<string | null>;
21
+ /** A `data:` URL (as `toJpeg` returns) as an uploadable File. */
22
+ export declare function fileFromDataUrl(dataUrl: string, name: string): File | null;
23
+ /** The key's in-flight/settled snapshot, if one was started. */
24
+ export declare function getThumbnail(key: object): Promise<string | null> | undefined;
25
+ //# sourceMappingURL=mark-thumbnail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mark-thumbnail.d.ts","sourceRoot":"","sources":["../../../src/page-marks/mark-thumbnail.ts"],"names":[],"mappings":"AA6DA,yEAAyE;AACzE,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,WAAW,QAE1D;AAID;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,EAC9B,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,QAe/C;AAED;;;;;GAKG;AACH,wBAAsB,gBAAgB,CACpC,IAAI,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,EAC9B,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAQxB;AAED,iEAAiE;AACjE,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAa1E;AAED,gEAAgE;AAChE,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,SAAS,CAE5E"}
@@ -0,0 +1,89 @@
1
+ /**
2
+ * The page vocabulary shared by every mark on the host page — the visitor's
3
+ * (`page-mark.ts`) and the agent's (`agent-mark.ts`).
4
+ *
5
+ * The widget's React code runs in the HOST page realm (only the chat UI is
6
+ * portaled into a same-origin iframe), so `document` here is the host page
7
+ * document — these helpers read the customer's page directly.
8
+ */
9
+ /** A viewport-relative box, rounded to whole pixels. */
10
+ export type Rect = {
11
+ x: number;
12
+ y: number;
13
+ width: number;
14
+ height: number;
15
+ };
16
+ /**
17
+ * How one host-page element is described to the AI. Deliberately the minimum
18
+ * that carries meaning: a name to reason about, a selector to point back at
19
+ * (`highlight_element`), the tag, and the visible text.
20
+ */
21
+ export type MarkedElement = {
22
+ /** Human-readable name, e.g. `button "Create Key"`. */
23
+ name: string;
24
+ /** Resolvable CSS selector (verified unique against the document). */
25
+ selector: string;
26
+ /** Lowercased tag name. */
27
+ tag: string;
28
+ /** The element's own visible text, truncated. */
29
+ text?: string;
30
+ };
31
+ /**
32
+ * Human-readable name for an element — what the context pill shows and what
33
+ * the LLM reads. Buttons are named by their text, inputs by placeholder/name,
34
+ * images by alt.
35
+ */
36
+ export declare function identifyElementName(el: HTMLElement): string;
37
+ /**
38
+ * A CSS selector that resolves back to `el`. Prefers a unique `#id`; otherwise
39
+ * builds a `:nth-of-type` chain upward, stopping as soon as the partial chain
40
+ * is unique in the document.
41
+ */
42
+ export declare function computeUniqueSelector(el: HTMLElement): string;
43
+ /** The element's viewport-relative bounding box, rounded to whole pixels. */
44
+ export declare function rectOf(el: Element): Rect;
45
+ /**
46
+ * Breathing room kept between a mark's box and the viewport edge: the hover
47
+ * frame inflates the rect by 4px and paints a ~4px ring outside that, which
48
+ * is also enough for the ink's stroke and its wobble.
49
+ */
50
+ export declare const VIEWPORT_MARGIN_PX = 8;
51
+ /**
52
+ * Clamp a viewport rect so everything drawn around it stays on the page. An
53
+ * element taller or wider than the viewport — a full-height sidebar, a wide
54
+ * table — otherwise gets a frame whose edges land outside the visible page,
55
+ * and the visitor sees a border running off the screen instead of a box.
56
+ */
57
+ export declare function clampRectToViewport(rect: Rect, margin?: number): Rect;
58
+ /** Describe an element for the AI. */
59
+ export declare function describeElement(el: HTMLElement): MarkedElement;
60
+ /**
61
+ * The single source of truth for "this node belongs to the widget": the embed
62
+ * root, host-portaled chrome, and every mark overlay. Both the `closest()`
63
+ * ownership check below and the mark-mode cursor's injected `:not()` chain
64
+ * derive from this list — add new widget-owned markers HERE.
65
+ */
66
+ export declare const WIDGET_OWNED_SELECTOR: readonly ["#opencx-root", "[data-opencx-root]", "[data-opencx-overlay]"];
67
+ /**
68
+ * True for nodes that belong to the widget itself — no mark may ever target
69
+ * the widget's own UI.
70
+ */
71
+ export declare function isWidgetOwned(el: Element): boolean;
72
+ /**
73
+ * The markable element under a viewport point. Keep the hit in the document
74
+ * tree: selectors serialized into page-mark context must resolve through
75
+ * `document.querySelector`, so piercing a shadow root would create an element
76
+ * the selector contract cannot point back to. SVG children normalize to their
77
+ * nearest semantic HTML control (or nearest HTML owner).
78
+ */
79
+ export declare function elementAt(x: number, y: number): HTMLElement | null;
80
+ /**
81
+ * Find an element again from an LLM-provided hint: try the CSS selector first
82
+ * (invalid model-authored selectors are non-fatal), then fall back to the
83
+ * smallest element whose text contains the hint text.
84
+ */
85
+ export declare function resolveElementByHint(hint: {
86
+ selector?: string;
87
+ text?: string;
88
+ }): HTMLElement | null;
89
+ //# sourceMappingURL=page-element.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-element.d.ts","sourceRoot":"","sources":["../../../src/page-marks/page-element.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,wDAAwD;AACxD,MAAM,MAAM,IAAI,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,uDAAuD;IACvD,IAAI,EAAE,MAAM,CAAC;IACb,sEAAsE;IACtE,QAAQ,EAAE,MAAM,CAAC;IACjB,2BAA2B;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,iDAAiD;IACjD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAiDF;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,WAAW,GAAG,MAAM,CAoC3D;AAcD;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,EAAE,EAAE,WAAW,GAAG,MAAM,CA+B7D;AAED,6EAA6E;AAC7E,wBAAgB,MAAM,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI,CAQxC;AAED;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAEpC;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,IAAI,EACV,MAAM,GAAE,MAA2B,GAClC,IAAI,CAiBN;AAED,sCAAsC;AACtC,wBAAgB,eAAe,CAAC,EAAE,EAAE,WAAW,GAAG,aAAa,CAQ9D;AAED;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,0EAIxB,CAAC;AAIX;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAAE,EAAE,OAAO,GAAG,OAAO,CAElD;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,CAmBlE;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE;IACzC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,WAAW,GAAG,IAAI,CA8BrB"}
@@ -0,0 +1,30 @@
1
+ import { CSSProperties } from 'react';
2
+ export type PageMarkTheme = {
3
+ accent: string;
4
+ surface: string;
5
+ foreground: string;
6
+ mutedForeground: string;
7
+ border: string;
8
+ /**
9
+ * Document layers, relative to the widget's own. Drawn marks and the hover
10
+ * frame sit just UNDER the widget: they belong to the page, and a mark
11
+ * that runs beneath the panel reads as the page being marked, not as
12
+ * scribble on the chat. The note editor alone sits above, so it can be
13
+ * typed into wherever the mark landed.
14
+ */
15
+ inkZIndex: number;
16
+ chromeZIndex: number;
17
+ editorZIndex: number;
18
+ };
19
+ type PageMarkCssVars = CSSProperties | {
20
+ [key: `--opencx-${string}`]: string | number | undefined;
21
+ };
22
+ /** Concrete colors and document layers for page-mark UI, which is portaled
23
+ * outside the iframe and therefore cannot inherit the widget's CSS variables. */
24
+ export declare function resolvePageMarkTheme({ cssVars, primaryColor, contentZIndex, }: {
25
+ cssVars: PageMarkCssVars;
26
+ primaryColor: string;
27
+ contentZIndex: number;
28
+ }): PageMarkTheme;
29
+ export {};
30
+ //# sourceMappingURL=page-mark-theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-mark-theme.d.ts","sourceRoot":"","sources":["../../../src/page-marks/page-mark-theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,KAAK,eAAe,GAChB,aAAa,GACb;IAAE,CAAC,GAAG,EAAE,YAAY,MAAM,EAAE,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC;AAUjE;iFACiF;AACjF,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,YAAY,EACZ,aAAa,GACd,EAAE;IACD,OAAO,EAAE,eAAe,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;CACvB,GAAG,aAAa,CAWhB"}
@@ -0,0 +1,103 @@
1
+ import { MarkedElement, Rect } from './page-element';
2
+ /**
3
+ * A mark the visitor put on the host page to ask about: a hand-drawn shape
4
+ * around a region, an optional note, and the elements it covers.
5
+ *
6
+ * Every mark on the page — the visitor's here, the agent's in `agent-mark.ts`
7
+ * — is drawn by the same pen (`@shardsui/notation`), so the conversation has
8
+ * one visual language.
9
+ */
10
+ /**
11
+ * The mark shapes the visitor can choose. The full notation set: a mark can
12
+ * point at a thing (`arrow`), enclose it (`box`, `circle`, `bracket`),
13
+ * emphasize a line of text (`underline`, `highlight`), or say it is wrong
14
+ * (`strike-through`, `crossed-off`) — all of which are real things people
15
+ * mean when they mark up a page to ask about it.
16
+ *
17
+ * `highlight` is safe here (it is not on the agent's pen) because a visitor
18
+ * mark is anchored to the widget's OWN placeholder, never to a customer
19
+ * element — the one type that writes `position`/`z-index` onto its target
20
+ * can only ever write them onto ours.
21
+ */
22
+ export declare const MARK_SHAPES: readonly ["box", "circle", "arrow", "bracket", "underline", "highlight", "strike-through", "crossed-off"];
23
+ export type MarkShape = (typeof MARK_SHAPES)[number];
24
+ /**
25
+ * Serialized as `clientContext.page_marks` on the send payload — every field
26
+ * must be JSON-safe. The ink handle stays in the Widget-scoped page-mark
27
+ * provider and the pill thumbnail's base64 in a WeakMap, never in the
28
+ * payload; only the uploaded snapshot's URL rides along.
29
+ */
30
+ export type PageMark = {
31
+ /** The shape the visitor chose (boxed it / circled it / struck it out). */
32
+ shape: MarkShape;
33
+ /** The visitor's note, when they wrote one. */
34
+ note?: string;
35
+ /** Page URL at mark time. */
36
+ pageUrl: string;
37
+ /** Viewport bounding box of the marked region. */
38
+ rect: Rect;
39
+ /** Elements inside the region (deduped, focus element first, capped). */
40
+ elements: MarkedElement[];
41
+ /**
42
+ * The region's pixels as a message file, once the thumbnail's upload lands
43
+ * (`mark-thumbnail.ts` writes it onto the very object the composer holds,
44
+ * so the send carries it and reloads show the image, not the tag names).
45
+ * Absent when the capture or upload failed — surfaces fall back to text.
46
+ */
47
+ snapshotUrl?: string;
48
+ };
49
+ /**
50
+ * One marked element as the BACKEND has understood it since the element
51
+ * picker: an entry of `clientContext.picked_elements`.
52
+ */
53
+ export type PickedElement = MarkedElement & {
54
+ /** The note written on the mark this element came from, if any. */
55
+ note?: string;
56
+ };
57
+ /**
58
+ * The marks' elements under the key the backend actually reads and KEEPS.
59
+ * `page_marks` is the richer payload (shape, note, region) but it is only
60
+ * rendered into the current turn's client-context block; what the backend
61
+ * re-surfaces on later turns — and what customer-facing surfaces read back —
62
+ * is `picked_elements`. So both ride along: the marks for this turn's
63
+ * reasoning, the flat elements for everything that outlives it.
64
+ *
65
+ * Deduped across marks (two marks on the same control are one element), and
66
+ * the visitor's note travels on the element it was placed on, so a follow-up
67
+ * turn still knows what was asked, not just what was clicked.
68
+ */
69
+ export declare function pickedElementsFromMarks(marks: PageMark[]): PickedElement[];
70
+ /** A region can never be resized smaller than this, per side. */
71
+ export declare const MIN_REGION_SIZE_PX = 20;
72
+ /**
73
+ * Post-`show()` dressing for notation's sibling-inserted SVGs: mark them
74
+ * widget-owned (no mark may ever target the widget's own ink) and keep the
75
+ * stroke legible over any host page — the faint white drop-shadow is what
76
+ * saves a near-black theme color on a dark page.
77
+ */
78
+ export declare function adoptNotationInk(target: Element, zIndex: number): void;
79
+ export type MarkInk = {
80
+ /**
81
+ * Re-anchor the mark to a new PAGE rect (live move/resize). Notation
82
+ * redraws with the mark's stable seed — same hand, new place.
83
+ */
84
+ setRect(pageRect: Rect): void;
85
+ /** Switch the mark shape in place. */
86
+ setShape(shape: MarkShape): void;
87
+ /** Reverse-plays the mark off the page, then releases it. */
88
+ undraw(): void;
89
+ /** Immediate teardown. */
90
+ remove(): void;
91
+ };
92
+ /**
93
+ * Ink a region as a hand-drawn mark, anchored to a widget-owned PLACEHOLDER
94
+ * positioned at the region's page coordinates. Notation needs a target
95
+ * element and a bare region has none — the placeholder gives it one without
96
+ * touching a single node of the customer's DOM, and because it lives in page
97
+ * coordinates the mark scrolls with the content for free.
98
+ *
99
+ * Never throws: a mark is decoration, and a draw failure must not break the
100
+ * composer.
101
+ */
102
+ export declare function createMarkInk(pageRect: Rect, shape: MarkShape, color: string, zIndex: number): MarkInk;
103
+ //# sourceMappingURL=page-mark.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-mark.d.ts","sourceRoot":"","sources":["../../../src/page-marks/page-mark.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAG1D;;;;;;;GAOG;AAEH;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,WAAW,2GASd,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAErD;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,2EAA2E;IAC3E,KAAK,EAAE,SAAS,CAAC;IACjB,+CAA+C;IAC/C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6BAA6B;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,kDAAkD;IAClD,IAAI,EAAE,IAAI,CAAC;IACX,yEAAyE;IACzE,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,aAAa,GAAG;IAC1C,mEAAmE;IACnE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,aAAa,EAAE,CA2B1E;AAED,iEAAiE;AACjE,eAAO,MAAM,kBAAkB,KAAK,CAAC;AAIrC;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,QAU/D;AAED,MAAM,MAAM,OAAO,GAAG;IACpB;;;OAGG;IACH,OAAO,CAAC,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;IAC9B,sCAAsC;IACtC,QAAQ,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,CAAC;IACjC,6DAA6D;IAC7D,MAAM,IAAI,IAAI,CAAC;IACf,0BAA0B;IAC1B,MAAM,IAAI,IAAI,CAAC;CAChB,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,IAAI,EACd,KAAK,EAAE,SAAS,EAChB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,GACb,OAAO,CA2ET"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The snapshot taken for a mark, once it lands. Keyed by the mark OBJECT, so
3
+ * the composer pill and the sent bubble — which carries the same reference —
4
+ * resolve the very same capture. Null until (or unless) it settles; every
5
+ * caller has a text form to fall back on.
6
+ */
7
+ export declare function useMarkThumbnail(mark: object | undefined): string | null;
8
+ //# sourceMappingURL=useMarkThumbnail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMarkThumbnail.d.ts","sourceRoot":"","sources":["../../../src/page-marks/useMarkThumbnail.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAgBxE"}
@@ -0,0 +1,53 @@
1
+ import { Rect } from './page-element';
2
+ import { MarkShape, PageMark } from './page-mark';
3
+ /** The live, editable mark — everything the overlay renders. */
4
+ export type MarkDraft = {
5
+ /** Viewport rect (state-driven; the ink mirrors it in page coords). */
6
+ rect: Rect;
7
+ shape: MarkShape;
8
+ };
9
+ /** The element under the cursor while armed and nothing is placed yet. */
10
+ export type MarkHover = {
11
+ rect: Rect;
12
+ /** Changes per hovered ELEMENT — the overlay keys the frame on it. */
13
+ key: number;
14
+ };
15
+ /**
16
+ * The composer's page-marking tool: while armed, a hover frame tracks the
17
+ * element under the cursor and a CLICK lands a box mark snapped around it.
18
+ * The mark is then an editable object — drag inside to move, drag a corner to
19
+ * resize, switch shapes, type a note — and the cursor says which of those the
20
+ * pointer is currently on. Clicking somewhere else re-places the mark there
21
+ * (pointing at a different thing is the common case, not an accident); Enter
22
+ * attaches it; Esc drops it, and Esc again disarms.
23
+ *
24
+ * All pointer listeners are capture-phase on the HOST document (the widget's
25
+ * React code runs in the host realm), widget-owned nodes are exempt so the
26
+ * editor card stays usable, and the complete pointer/click sequence is
27
+ * swallowed so marking a button never activates it.
28
+ */
29
+ export declare function usePageMarking({ enabled, onAttach, uploadSnapshot, accentColor, zIndex, }: {
30
+ /** Whether this composer currently exposes page marking. */
31
+ enabled: boolean;
32
+ /** Notification only — the provider owns the mark either way. */
33
+ onAttach?: (mark: PageMark) => void;
34
+ /**
35
+ * Uploads a mark's thumbnail as a message file and resolves its URL (null
36
+ * on failure). Without it, marks are sent text-only after a reload.
37
+ */
38
+ uploadSnapshot?: (file: File) => Promise<string | null>;
39
+ accentColor: string;
40
+ /** Host-page ink layer, normally resolved from the configured widget z-index. */
41
+ zIndex: number;
42
+ }): {
43
+ isActive: boolean;
44
+ draft: MarkDraft | null;
45
+ hover: MarkHover | null;
46
+ setShape: (shape: MarkShape) => void;
47
+ attach: (note: string) => void;
48
+ /** Esc-equivalent for the editor card's discard affordance. */
49
+ dropDraft: () => void;
50
+ disarm: () => void;
51
+ toggle: () => void;
52
+ };
53
+ //# sourceMappingURL=usePageMarking.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePageMarking.d.ts","sourceRoot":"","sources":["../../../src/page-marks/usePageMarking.ts"],"names":[],"mappings":"AACA,OAAO,EAOL,KAAK,IAAI,EACV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,QAAQ,EACd,MAAM,aAAa,CAAC;AAuBrB,gEAAgE;AAChE,MAAM,MAAM,SAAS,GAAG;IACtB,uEAAuE;IACvE,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,SAAS,CAAC;CAClB,CAAC;AAEF,0EAA0E;AAC1E,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,IAAI,CAAC;IACX,sEAAsE;IACtE,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAQF;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,QAAQ,EACR,cAAc,EACd,WAAW,EACX,MAAM,GACP,EAAE;IACD,4DAA4D;IAC5D,OAAO,EAAE,OAAO,CAAC;IACjB,iEAAiE;IACjE,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACpC;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACxD,WAAW,EAAE,MAAM,CAAC;IACpB,iFAAiF;IACjF,MAAM,EAAE,MAAM,CAAC;CAChB;;;;sBA8BsC,SAAS;mBAoSrC,MAAM;IA2Cb,+DAA+D;;;;EAKlE"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChatCanvas.d.ts","sourceRoot":"","sources":["../../../../src/screens/chat/ChatCanvas.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,wBAAgB,UAAU,6BA8BzB"}
1
+ {"version":3,"file":"ChatCanvas.d.ts","sourceRoot":"","sources":["../../../../src/screens/chat/ChatCanvas.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AASxC,wBAAgB,UAAU,6BA8BzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChatFooter.d.ts","sourceRoot":"","sources":["../../../../src/screens/chat/ChatFooter.tsx"],"names":[],"mappings":"AA2BA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAoZ3D,wBAAgB,UAAU,sBA2CzB"}
1
+ {"version":3,"file":"ChatFooter.d.ts","sourceRoot":"","sources":["../../../../src/screens/chat/ChatFooter.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,OAAO,CAAC;AAoE1B,wBAAgB,UAAU,sBA2CzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChatFooterItems.d.ts","sourceRoot":"","sources":["../../../../src/screens/chat/ChatFooterItems.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,wBAAgB,eAAe,sBA2B9B"}
1
+ {"version":3,"file":"ChatFooterItems.d.ts","sourceRoot":"","sources":["../../../../src/screens/chat/ChatFooterItems.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,wBAAgB,eAAe,sBA4B9B"}
@@ -0,0 +1,27 @@
1
+ import { default as React } from 'react';
2
+ /**
3
+ * The stock composer — white card, multi-line textarea, attach + send.
4
+ * Exported so companion's quick-ask state renders the exact same composer
5
+ * (not a bespoke bar), inheriting every customization automatically.
6
+ */
7
+ export declare function ChatInput({ trailingActions, placeholder, hideAttachTools, }?: {
8
+ /**
9
+ * Extra controls rendered in the composer's action row, just before the
10
+ * send button. Companion uses it to slot a conversation-history button into
11
+ * the quick-ask bar; popover mode passes nothing.
12
+ */
13
+ trailingActions?: React.ReactNode;
14
+ /**
15
+ * Override the composer placeholder. Companion's quick-ask bar uses it to
16
+ * read "Follow up…" while continuing an open conversation. Defaults to the
17
+ * localized "Write a message…".
18
+ */
19
+ placeholder?: string;
20
+ /**
21
+ * Hide the attach + page-mark buttons. Companion's docked quick-ask
22
+ * bar sets it so the resting composer carries ONLY the history control —
23
+ * the full tool row lives in the expanded chat panel.
24
+ */
25
+ hideAttachTools?: boolean;
26
+ }): React.JSX.Element;
27
+ //# sourceMappingURL=ChatInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatInput.d.ts","sourceRoot":"","sources":["../../../../src/screens/chat/ChatInput.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAuD,MAAM,OAAO,CAAC;AA+C5E;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EACxB,eAAe,EACf,WAAW,EACX,eAAe,GAChB,GAAE;IACD;;;;OAIG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CACtB,qBAipBL"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChatMain.d.ts","sourceRoot":"","sources":["../../../../src/screens/chat/ChatMain.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAiB1D,wBAAgB,QAAQ,sBA0GvB"}
1
+ {"version":3,"file":"ChatMain.d.ts","sourceRoot":"","sources":["../../../../src/screens/chat/ChatMain.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAa1D,wBAAgB,QAAQ,sBAkEvB"}
@@ -0,0 +1,18 @@
1
+ import { DictationStatus } from '@opencx/widget-core';
2
+ import { default as React } from 'react';
3
+ /**
4
+ * Composer microphone toggle, mirroring the attach button. States:
5
+ * idle → quiet mic glyph
6
+ * connecting → spinning arc around the mic
7
+ * listening → the mic crossfades into live voice bars that move as you talk
8
+ */
9
+ export declare function DictationMicButton({ status, levelRef, onToggle, onPrewarm, }: {
10
+ status: DictationStatus;
11
+ levelRef: {
12
+ current: number;
13
+ };
14
+ onToggle: () => void;
15
+ /** Hover/focus pre-mints the session token so the click starts instantly. */
16
+ onPrewarm: () => void;
17
+ }): React.JSX.Element;
18
+ //# sourceMappingURL=DictationMicButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DictationMicButton.d.ts","sourceRoot":"","sources":["../../../../src/screens/chat/DictationMicButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,OAAO,KAA4B,MAAM,OAAO,CAAC;AA2DjD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,SAAS,GACV,EAAE;IACD,MAAM,EAAE,eAAe,CAAC;IACxB,QAAQ,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9B,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,6EAA6E;IAC7E,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,qBA6CA"}
@@ -1,3 +1,9 @@
1
1
  import { default as React } from 'react';
2
- export declare function InitialMessages(): React.JSX.Element;
2
+ /**
3
+ * The greeting shown at the top of a fresh conversation.
4
+ * `advancedInitialMessages` wins over the plain `initialMessages` strings;
5
+ * with neither configured, a default greeting shows. Renders nothing once the
6
+ * conversation has real messages.
7
+ */
8
+ export declare function InitialMessages(): React.JSX.Element | null;
3
9
  //# sourceMappingURL=InitialMessages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InitialMessages.d.ts","sourceRoot":"","sources":["../../../../src/screens/chat/InitialMessages.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,wBAAgB,eAAe,sBA6C9B"}
1
+ {"version":3,"file":"InitialMessages.d.ts","sourceRoot":"","sources":["../../../../src/screens/chat/InitialMessages.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B;;;;;GAKG;AACH,wBAAgB,eAAe,6BAyC9B"}
@@ -0,0 +1,39 @@
1
+ import { WidgetMention } from '@opencx/widget-core';
2
+ import { default as React, RefObject } from 'react';
3
+ import { MentionGroup } from './useMentions';
4
+ /**
5
+ * The @-mention menu, sitting right above the `@` it belongs to (its start
6
+ * edge on the `@`, its bottom edge on that line): results grouped by type under a small header, one line
7
+ * per item (icon + title), a "See N more" row where a group is cut, and —
8
+ * when `mentions.preview` is on and the frame is wide enough — the
9
+ * highlighted item's description in a card beside the menu. Keyboard-driven
10
+ * from the textarea (the hook handles ↑/↓/Enter/Tab/Escape there, so focus
11
+ * never leaves the text); the mouse hovers to highlight and clicks to pick.
12
+ *
13
+ * Portaled to the frame's themed root and positioned against the composer:
14
+ * the composer sits inside a footer that clips its overflow, so a menu that
15
+ * grew upward in place was cut off at the footer's top edge. The root (not
16
+ * the body) is the host because it carries the palette variables the menu's
17
+ * colors resolve from — outside it `bg-background` paints nothing. The
18
+ * composer changes height as pills and files come and go, so the placement
19
+ * follows the anchor's size, not just the result list.
20
+ */
21
+ export declare function MentionPicker({ anchorRef, inputRef, anchorIndex, preview, groups, visible, searching, highlighted, onHighlight, onPick, onExpand, }: {
22
+ /** The composer root the menu sits above. */
23
+ anchorRef: RefObject<HTMLElement | null>;
24
+ /** The textarea holding the `@`; the menu's start edge lines up with it. */
25
+ inputRef: RefObject<HTMLTextAreaElement | null>;
26
+ /** Index of that `@` in the text. */
27
+ anchorIndex: number | null;
28
+ /** Show the highlighted item's description beside the menu. */
29
+ preview: boolean;
30
+ groups: MentionGroup[];
31
+ /** The rows top to bottom; `highlighted` indexes into it. */
32
+ visible: WidgetMention[];
33
+ searching: boolean;
34
+ highlighted: number;
35
+ onHighlight: (index: number) => void;
36
+ onPick: (item: WidgetMention) => void;
37
+ onExpand: (type: string) => void;
38
+ }): React.ReactPortal | null;
39
+ //# sourceMappingURL=MentionPicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MentionPicker.d.ts","sourceRoot":"","sources":["../../../../src/screens/chat/MentionPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAOzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAUlD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,QAAQ,EACR,WAAW,EACX,OAAO,EACP,MAAM,EACN,OAAO,EACP,SAAS,EACT,WAAW,EACX,WAAW,EACX,MAAM,EACN,QAAQ,GACT,EAAE;IACD,6CAA6C;IAC7C,SAAS,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACzC,4EAA4E;IAC5E,QAAQ,EAAE,SAAS,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;IAChD,qCAAqC;IACrC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,+DAA+D;IAC/D,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,6DAA6D;IAC7D,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,MAAM,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IACtC,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC,4BA8IA"}
@@ -0,0 +1,16 @@
1
+ import { WidgetMention } from '@opencx/widget-core';
2
+ import { default as React } from 'react';
3
+ /**
4
+ * Text with its `@Title` mentions highlighted in place — the composer's
5
+ * mirror layer and the sent bubble both read the same way, so a mention
6
+ * looks like one thing from typing to transcript. Longer titles are matched
7
+ * first so `@Ann` never claims the front of `@Anna Lee`. Text without
8
+ * mentions comes back as-is.
9
+ */
10
+ export declare function MentionText({ text, mentions, tokenClassName, }: {
11
+ text: string;
12
+ mentions: readonly WidgetMention[] | undefined;
13
+ /** The token's look on this surface (ink on the composer, on primary in the bubble). */
14
+ tokenClassName: string;
15
+ }): React.JSX.Element;
16
+ //# sourceMappingURL=MentionText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MentionText.d.ts","sourceRoot":"","sources":["../../../../src/screens/chat/MentionText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,QAAQ,EACR,cAAc,GACf,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,SAAS,aAAa,EAAE,GAAG,SAAS,CAAC;IAC/C,wFAAwF;IACxF,cAAc,EAAE,MAAM,CAAC;CACxB,qBAmCA"}
@@ -0,0 +1,12 @@
1
+ import { WidgetMessageU } from '@opencx/widget-core';
2
+ import { default as React } from 'react';
3
+ /**
4
+ * Renders grouped transcript messages — the rule shared by the bot-chat and
5
+ * agent-chat lists. Bot (AI) groups carry the configured bot identity
6
+ * (server-resolved agent branding wins); human-agent groups prefer the
7
+ * server-provided sender, patched by the `humanAgent` config override.
8
+ */
9
+ export declare function MessageGroups({ groups }: {
10
+ groups: WidgetMessageU[][];
11
+ }): React.JSX.Element;
12
+ //# sourceMappingURL=MessageGroups.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageGroups.d.ts","sourceRoot":"","sources":["../../../../src/screens/chat/MessageGroups.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,cAAc,EAAE,EAAE,CAAA;CAAE,qBAuDvE"}
@@ -0,0 +1,23 @@
1
+ import { FileWithProgress } from '@opencx/widget-react-headless';
2
+ import { default as React } from 'react';
3
+ export declare const MAX_FILE_BYTES: number;
4
+ export declare const BASE_FILE_ACCEPT: {
5
+ 'application/pdf': string[];
6
+ };
7
+ export declare const HANDED_OFF_FILE_ACCEPT: {
8
+ 'application/pdf': string[];
9
+ 'text/*': string[];
10
+ 'image/*': string[];
11
+ };
12
+ export declare const AI_FILE_ACCEPT: {
13
+ 'application/pdf': string[];
14
+ 'image/png': string[];
15
+ 'image/jpeg': string[];
16
+ 'image/gif': string[];
17
+ 'image/webp': string[];
18
+ };
19
+ export declare function UploadPreview({ file: { status, file, error }, onCancel, }: {
20
+ file: FileWithProgress;
21
+ onCancel: () => void;
22
+ }): React.JSX.Element;
23
+ //# sourceMappingURL=UploadPreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UploadPreview.d.ts","sourceRoot":"","sources":["../../../../src/screens/chat/UploadPreview.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAWtE,OAAO,KAA8B,MAAM,OAAO,CAAC;AAYnD,eAAO,MAAM,cAAc,QAAmB,CAAC;AAG/C,eAAO,MAAM,gBAAgB;;CAIX,CAAC;AAEnB,eAAO,MAAM,sBAAsB;;;;CAIjB,CAAC;AAEnB,eAAO,MAAM,cAAc;;;;;;CAMT,CAAC;AA8CnB,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,EAC7B,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,gBAAgB,CAAC;IACvB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,qBAyDA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chat-input-clarification.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-input-clarification.spec.d.ts","sourceRoot":"","sources":["../../../../../src/screens/chat/__tests__/chat-input-clarification.spec.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chatInput.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatInput.spec.d.ts","sourceRoot":"","sources":["../../../../../src/screens/chat/__tests__/chatInput.spec.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=use-mentions.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-mentions.spec.d.ts","sourceRoot":"","sources":["../../../../../src/screens/chat/__tests__/use-mentions.spec.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=useSentTextRecall.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSentTextRecall.spec.d.ts","sourceRoot":"","sources":["../../../../../src/screens/chat/__tests__/useSentTextRecall.spec.tsx"],"names":[],"mappings":""}