@droppii-org/chat-mobile 0.2.50 → 0.2.52

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 (248) hide show
  1. package/lib/module/assets/images/index.js +2 -1
  2. package/lib/module/assets/images/index.js.map +1 -1
  3. package/lib/module/assets/images/resource-center-empty-box.png +0 -0
  4. package/lib/module/components/MediaViewerModal.js +2 -1
  5. package/lib/module/components/MediaViewerModal.js.map +1 -1
  6. package/lib/module/components/MergedImageGrid.js +1 -0
  7. package/lib/module/components/MergedImageGrid.js.map +1 -1
  8. package/lib/module/components/StickerPicker/StickerCategoryTabs.js +86 -0
  9. package/lib/module/components/StickerPicker/StickerCategoryTabs.js.map +1 -0
  10. package/lib/module/components/StickerPicker/StickerPickerPlaceholder.js +18 -0
  11. package/lib/module/components/StickerPicker/StickerPickerPlaceholder.js.map +1 -0
  12. package/lib/module/components/StickerPicker/StickerPickerRowItem.js +35 -0
  13. package/lib/module/components/StickerPicker/StickerPickerRowItem.js.map +1 -0
  14. package/lib/module/components/StickerPicker/StickerSectionList.js +110 -0
  15. package/lib/module/components/StickerPicker/StickerSectionList.js.map +1 -0
  16. package/lib/module/components/StickerPicker/constants.js +14 -0
  17. package/lib/module/components/StickerPicker/constants.js.map +1 -0
  18. package/lib/module/components/StickerPicker/index.js +134 -0
  19. package/lib/module/components/StickerPicker/index.js.map +1 -0
  20. package/lib/module/components/messages/stickerMessage/index.js +28 -0
  21. package/lib/module/components/messages/stickerMessage/index.js.map +1 -0
  22. package/lib/module/config/api-endpoints.js +5 -1
  23. package/lib/module/config/api-endpoints.js.map +1 -1
  24. package/lib/module/core/notification/pushToken.js +7 -7
  25. package/lib/module/core/notification/pushToken.js.map +1 -1
  26. package/lib/module/hooks/conversation/useGetConversationDetail.js +15 -0
  27. package/lib/module/hooks/conversation/useGetConversationDetail.js.map +1 -1
  28. package/lib/module/hooks/flows/useGetConversationFlowMainMenu.js +1 -1
  29. package/lib/module/hooks/flows/useGetConversationFlowMainMenu.js.map +1 -1
  30. package/lib/module/hooks/message/useSendMessage.js +45 -18
  31. package/lib/module/hooks/message/useSendMessage.js.map +1 -1
  32. package/lib/module/hooks/query-keys.js +11 -0
  33. package/lib/module/hooks/query-keys.js.map +1 -1
  34. package/lib/module/hooks/resourceCenter/useThreadResources.js +116 -0
  35. package/lib/module/hooks/resourceCenter/useThreadResources.js.map +1 -0
  36. package/lib/module/hooks/stickers/useFetchStickerByCategory.js +12 -0
  37. package/lib/module/hooks/stickers/useFetchStickerByCategory.js.map +1 -0
  38. package/lib/module/hooks/stickers/useStickerCategories.js +14 -0
  39. package/lib/module/hooks/stickers/useStickerCategories.js.map +1 -0
  40. package/lib/module/hooks/stickers/useStickerHistory.js +16 -0
  41. package/lib/module/hooks/stickers/useStickerHistory.js.map +1 -0
  42. package/lib/module/hooks/useChatCompose.js +1 -18
  43. package/lib/module/hooks/useChatCompose.js.map +1 -1
  44. package/lib/module/hooks/useImageAttachment.js +0 -2
  45. package/lib/module/hooks/useImageAttachment.js.map +1 -1
  46. package/lib/module/hooks/useMediaViewer.js +4 -1
  47. package/lib/module/hooks/useMediaViewer.js.map +1 -1
  48. package/lib/module/hooks/useSendAttachment.js +4 -1
  49. package/lib/module/hooks/useSendAttachment.js.map +1 -1
  50. package/lib/module/index.js +1 -0
  51. package/lib/module/index.js.map +1 -1
  52. package/lib/module/screens/MediaView/index.js +104 -42
  53. package/lib/module/screens/MediaView/index.js.map +1 -1
  54. package/lib/module/screens/ResourceCenter/FileResourceRow.js +80 -0
  55. package/lib/module/screens/ResourceCenter/FileResourceRow.js.map +1 -0
  56. package/lib/module/screens/ResourceCenter/GridRenderer.js +83 -0
  57. package/lib/module/screens/ResourceCenter/GridRenderer.js.map +1 -0
  58. package/lib/module/screens/ResourceCenter/GridThumbnail.js +97 -0
  59. package/lib/module/screens/ResourceCenter/GridThumbnail.js.map +1 -0
  60. package/lib/module/screens/ResourceCenter/LinkResourceRow.js +81 -0
  61. package/lib/module/screens/ResourceCenter/LinkResourceRow.js.map +1 -0
  62. package/lib/module/screens/ResourceCenter/ListRenderer.js +60 -0
  63. package/lib/module/screens/ResourceCenter/ListRenderer.js.map +1 -0
  64. package/lib/module/screens/ResourceCenter/ResourceCenterTabBar.js +75 -0
  65. package/lib/module/screens/ResourceCenter/ResourceCenterTabBar.js.map +1 -0
  66. package/lib/module/screens/ResourceCenter/ResourceCenterTabScene.js +122 -0
  67. package/lib/module/screens/ResourceCenter/ResourceCenterTabScene.js.map +1 -0
  68. package/lib/module/screens/ResourceCenter/ResourceEmptyState.js +36 -0
  69. package/lib/module/screens/ResourceCenter/ResourceEmptyState.js.map +1 -0
  70. package/lib/module/screens/ResourceCenter/index.js +104 -0
  71. package/lib/module/screens/ResourceCenter/index.js.map +1 -0
  72. package/lib/module/screens/ResourceCenter/types.js +25 -0
  73. package/lib/module/screens/ResourceCenter/types.js.map +1 -0
  74. package/lib/module/screens/chat-detail/ChatComposer.js +64 -16
  75. package/lib/module/screens/chat-detail/ChatComposer.js.map +1 -1
  76. package/lib/module/screens/chat-detail/ChatDetail.js +6 -20
  77. package/lib/module/screens/chat-detail/ChatDetail.js.map +1 -1
  78. package/lib/module/screens/chat-detail/hooks/useChatComposerAnimation.js +15 -4
  79. package/lib/module/screens/chat-detail/hooks/useChatComposerAnimation.js.map +1 -1
  80. package/lib/module/screens/chat-detail/hooks/useChatComposerState.js +3 -0
  81. package/lib/module/screens/chat-detail/hooks/useChatComposerState.js.map +1 -1
  82. package/lib/module/screens/chat-detail/legend/LegendChatMessage.js +5 -6
  83. package/lib/module/screens/chat-detail/legend/LegendChatMessage.js.map +1 -1
  84. package/lib/module/services/attachmentOrchestrator.js +20 -5
  85. package/lib/module/services/attachmentOrchestrator.js.map +1 -1
  86. package/lib/module/services/endpoints.js +4 -1
  87. package/lib/module/services/endpoints.js.map +1 -1
  88. package/lib/module/services/resourceCenter.js +102 -0
  89. package/lib/module/services/resourceCenter.js.map +1 -0
  90. package/lib/module/store/conversation.js +1 -20
  91. package/lib/module/store/conversation.js.map +1 -1
  92. package/lib/module/translation/resources/i18n.js +10 -1
  93. package/lib/module/translation/resources/i18n.js.map +1 -1
  94. package/lib/module/types/attachment.js +2 -0
  95. package/lib/module/types/chat.js +26 -0
  96. package/lib/module/types/chat.js.map +1 -1
  97. package/lib/module/types/sticker.js +2 -0
  98. package/lib/module/types/sticker.js.map +1 -0
  99. package/lib/module/utils/conversation.js +1 -24
  100. package/lib/module/utils/conversation.js.map +1 -1
  101. package/lib/module/utils/messageUtils.js +2 -0
  102. package/lib/module/utils/messageUtils.js.map +1 -1
  103. package/lib/module/utils/url.js +11 -0
  104. package/lib/module/utils/url.js.map +1 -1
  105. package/lib/typescript/src/assets/images/index.d.ts +1 -0
  106. package/lib/typescript/src/assets/images/index.d.ts.map +1 -1
  107. package/lib/typescript/src/components/MediaViewerModal.d.ts +3 -1
  108. package/lib/typescript/src/components/MediaViewerModal.d.ts.map +1 -1
  109. package/lib/typescript/src/components/MergedImageGrid.d.ts.map +1 -1
  110. package/lib/typescript/src/components/StickerPicker/StickerCategoryTabs.d.ts +9 -0
  111. package/lib/typescript/src/components/StickerPicker/StickerCategoryTabs.d.ts.map +1 -0
  112. package/lib/typescript/src/components/StickerPicker/StickerPickerPlaceholder.d.ts +2 -0
  113. package/lib/typescript/src/components/StickerPicker/StickerPickerPlaceholder.d.ts.map +1 -0
  114. package/lib/typescript/src/components/StickerPicker/StickerPickerRowItem.d.ts +8 -0
  115. package/lib/typescript/src/components/StickerPicker/StickerPickerRowItem.d.ts.map +1 -0
  116. package/lib/typescript/src/components/StickerPicker/StickerSectionList.d.ts +15 -0
  117. package/lib/typescript/src/components/StickerPicker/StickerSectionList.d.ts.map +1 -0
  118. package/lib/typescript/src/components/StickerPicker/constants.d.ts +11 -0
  119. package/lib/typescript/src/components/StickerPicker/constants.d.ts.map +1 -0
  120. package/lib/typescript/src/components/StickerPicker/index.d.ts +7 -0
  121. package/lib/typescript/src/components/StickerPicker/index.d.ts.map +1 -0
  122. package/lib/typescript/src/components/messages/stickerMessage/index.d.ts +3 -0
  123. package/lib/typescript/src/components/messages/stickerMessage/index.d.ts.map +1 -0
  124. package/lib/typescript/src/config/api-endpoints.d.ts +4 -0
  125. package/lib/typescript/src/config/api-endpoints.d.ts.map +1 -1
  126. package/lib/typescript/src/hooks/conversation/useGetConversationDetail.d.ts +2 -1
  127. package/lib/typescript/src/hooks/conversation/useGetConversationDetail.d.ts.map +1 -1
  128. package/lib/typescript/src/hooks/message/useSendMessage.d.ts +5 -3
  129. package/lib/typescript/src/hooks/message/useSendMessage.d.ts.map +1 -1
  130. package/lib/typescript/src/hooks/query-keys.d.ts +11 -0
  131. package/lib/typescript/src/hooks/query-keys.d.ts.map +1 -1
  132. package/lib/typescript/src/hooks/resourceCenter/useThreadResources.d.ts +21 -0
  133. package/lib/typescript/src/hooks/resourceCenter/useThreadResources.d.ts.map +1 -0
  134. package/lib/typescript/src/hooks/stickers/useFetchStickerByCategory.d.ts +3 -0
  135. package/lib/typescript/src/hooks/stickers/useFetchStickerByCategory.d.ts.map +1 -0
  136. package/lib/typescript/src/hooks/stickers/useStickerCategories.d.ts +3 -0
  137. package/lib/typescript/src/hooks/stickers/useStickerCategories.d.ts.map +1 -0
  138. package/lib/typescript/src/hooks/stickers/useStickerHistory.d.ts +3 -0
  139. package/lib/typescript/src/hooks/stickers/useStickerHistory.d.ts.map +1 -0
  140. package/lib/typescript/src/hooks/useChatCompose.d.ts.map +1 -1
  141. package/lib/typescript/src/hooks/useImageAttachment.d.ts.map +1 -1
  142. package/lib/typescript/src/hooks/useMediaViewer.d.ts +5 -1
  143. package/lib/typescript/src/hooks/useMediaViewer.d.ts.map +1 -1
  144. package/lib/typescript/src/hooks/useSendAttachment.d.ts.map +1 -1
  145. package/lib/typescript/src/index.d.ts +2 -0
  146. package/lib/typescript/src/index.d.ts.map +1 -1
  147. package/lib/typescript/src/screens/MediaView/index.d.ts.map +1 -1
  148. package/lib/typescript/src/screens/ResourceCenter/FileResourceRow.d.ts +7 -0
  149. package/lib/typescript/src/screens/ResourceCenter/FileResourceRow.d.ts.map +1 -0
  150. package/lib/typescript/src/screens/ResourceCenter/GridRenderer.d.ts +14 -0
  151. package/lib/typescript/src/screens/ResourceCenter/GridRenderer.d.ts.map +1 -0
  152. package/lib/typescript/src/screens/ResourceCenter/GridThumbnail.d.ts +10 -0
  153. package/lib/typescript/src/screens/ResourceCenter/GridThumbnail.d.ts.map +1 -0
  154. package/lib/typescript/src/screens/ResourceCenter/LinkResourceRow.d.ts +8 -0
  155. package/lib/typescript/src/screens/ResourceCenter/LinkResourceRow.d.ts.map +1 -0
  156. package/lib/typescript/src/screens/ResourceCenter/ListRenderer.d.ts +16 -0
  157. package/lib/typescript/src/screens/ResourceCenter/ListRenderer.d.ts.map +1 -0
  158. package/lib/typescript/src/screens/ResourceCenter/ResourceCenterTabBar.d.ts +3 -0
  159. package/lib/typescript/src/screens/ResourceCenter/ResourceCenterTabBar.d.ts.map +1 -0
  160. package/lib/typescript/src/screens/ResourceCenter/ResourceCenterTabScene.d.ts +16 -0
  161. package/lib/typescript/src/screens/ResourceCenter/ResourceCenterTabScene.d.ts.map +1 -0
  162. package/lib/typescript/src/screens/ResourceCenter/ResourceEmptyState.d.ts +6 -0
  163. package/lib/typescript/src/screens/ResourceCenter/ResourceEmptyState.d.ts.map +1 -0
  164. package/lib/typescript/src/screens/ResourceCenter/index.d.ts +4 -0
  165. package/lib/typescript/src/screens/ResourceCenter/index.d.ts.map +1 -0
  166. package/lib/typescript/src/screens/ResourceCenter/types.d.ts +28 -0
  167. package/lib/typescript/src/screens/ResourceCenter/types.d.ts.map +1 -0
  168. package/lib/typescript/src/screens/chat-detail/ChatComposer.d.ts +2 -2
  169. package/lib/typescript/src/screens/chat-detail/ChatComposer.d.ts.map +1 -1
  170. package/lib/typescript/src/screens/chat-detail/ChatDetail.d.ts.map +1 -1
  171. package/lib/typescript/src/screens/chat-detail/hooks/useChatComposerAnimation.d.ts +2 -1
  172. package/lib/typescript/src/screens/chat-detail/hooks/useChatComposerAnimation.d.ts.map +1 -1
  173. package/lib/typescript/src/screens/chat-detail/hooks/useChatComposerState.d.ts +3 -0
  174. package/lib/typescript/src/screens/chat-detail/hooks/useChatComposerState.d.ts.map +1 -1
  175. package/lib/typescript/src/screens/chat-detail/legend/LegendChatMessage.d.ts.map +1 -1
  176. package/lib/typescript/src/services/attachmentOrchestrator.d.ts.map +1 -1
  177. package/lib/typescript/src/services/endpoints.d.ts +4 -1
  178. package/lib/typescript/src/services/endpoints.d.ts.map +1 -1
  179. package/lib/typescript/src/services/resourceCenter.d.ts +9 -0
  180. package/lib/typescript/src/services/resourceCenter.d.ts.map +1 -0
  181. package/lib/typescript/src/store/conversation.d.ts +0 -3
  182. package/lib/typescript/src/store/conversation.d.ts.map +1 -1
  183. package/lib/typescript/src/translation/resources/i18n.d.ts.map +1 -1
  184. package/lib/typescript/src/types/attachment.d.ts +2 -0
  185. package/lib/typescript/src/types/attachment.d.ts.map +1 -1
  186. package/lib/typescript/src/types/chat.d.ts +66 -15
  187. package/lib/typescript/src/types/chat.d.ts.map +1 -1
  188. package/lib/typescript/src/types/sticker.d.ts +21 -0
  189. package/lib/typescript/src/types/sticker.d.ts.map +1 -0
  190. package/lib/typescript/src/utils/conversation.d.ts +1 -2
  191. package/lib/typescript/src/utils/conversation.d.ts.map +1 -1
  192. package/lib/typescript/src/utils/messageUtils.d.ts.map +1 -1
  193. package/lib/typescript/src/utils/url.d.ts +7 -0
  194. package/lib/typescript/src/utils/url.d.ts.map +1 -1
  195. package/package.json +2 -2
  196. package/src/assets/images/index.ts +1 -0
  197. package/src/assets/images/resource-center-empty-box.png +0 -0
  198. package/src/components/MediaViewerModal.tsx +8 -3
  199. package/src/components/MergedImageGrid.tsx +1 -0
  200. package/src/components/StickerPicker/StickerCategoryTabs.tsx +103 -0
  201. package/src/components/StickerPicker/StickerPickerPlaceholder.tsx +16 -0
  202. package/src/components/StickerPicker/StickerPickerRowItem.tsx +43 -0
  203. package/src/components/StickerPicker/StickerSectionList.tsx +141 -0
  204. package/src/components/StickerPicker/constants.ts +20 -0
  205. package/src/components/StickerPicker/index.tsx +166 -0
  206. package/src/components/messages/stickerMessage/index.tsx +26 -0
  207. package/src/config/api-endpoints.ts +8 -0
  208. package/src/core/notification/pushToken.ts +7 -7
  209. package/src/hooks/conversation/useGetConversationDetail.ts +20 -1
  210. package/src/hooks/flows/useGetConversationFlowMainMenu.ts +1 -1
  211. package/src/hooks/message/useSendMessage.ts +49 -27
  212. package/src/hooks/query-keys.ts +16 -0
  213. package/src/hooks/resourceCenter/useThreadResources.ts +124 -0
  214. package/src/hooks/stickers/useFetchStickerByCategory.ts +15 -0
  215. package/src/hooks/stickers/useStickerCategories.ts +17 -0
  216. package/src/hooks/stickers/useStickerHistory.ts +19 -0
  217. package/src/hooks/useChatCompose.ts +0 -19
  218. package/src/hooks/useImageAttachment.ts +1 -2
  219. package/src/hooks/useMediaViewer.ts +21 -7
  220. package/src/hooks/useSendAttachment.ts +4 -1
  221. package/src/index.tsx +2 -0
  222. package/src/screens/MediaView/index.tsx +117 -54
  223. package/src/screens/ResourceCenter/FileResourceRow.tsx +99 -0
  224. package/src/screens/ResourceCenter/GridRenderer.tsx +104 -0
  225. package/src/screens/ResourceCenter/GridThumbnail.tsx +98 -0
  226. package/src/screens/ResourceCenter/LinkResourceRow.tsx +96 -0
  227. package/src/screens/ResourceCenter/ListRenderer.tsx +81 -0
  228. package/src/screens/ResourceCenter/ResourceCenterTabBar.tsx +89 -0
  229. package/src/screens/ResourceCenter/ResourceCenterTabScene.tsx +142 -0
  230. package/src/screens/ResourceCenter/ResourceEmptyState.tsx +39 -0
  231. package/src/screens/ResourceCenter/index.tsx +129 -0
  232. package/src/screens/ResourceCenter/types.ts +56 -0
  233. package/src/screens/chat-detail/ChatComposer.tsx +106 -19
  234. package/src/screens/chat-detail/ChatDetail.tsx +5 -19
  235. package/src/screens/chat-detail/hooks/useChatComposerAnimation.ts +21 -5
  236. package/src/screens/chat-detail/hooks/useChatComposerState.ts +7 -0
  237. package/src/screens/chat-detail/legend/LegendChatMessage.tsx +4 -5
  238. package/src/services/attachmentOrchestrator.ts +16 -3
  239. package/src/services/endpoints.ts +6 -1
  240. package/src/services/resourceCenter.ts +137 -0
  241. package/src/store/conversation.ts +0 -24
  242. package/src/translation/resources/i18n.ts +10 -0
  243. package/src/types/attachment.ts +3 -0
  244. package/src/types/chat.ts +80 -15
  245. package/src/types/sticker.ts +23 -0
  246. package/src/utils/conversation.ts +0 -28
  247. package/src/utils/messageUtils.ts +3 -0
  248. package/src/utils/url.ts +11 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/StickerPicker/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,WAAW,EAEZ,MAAM,qBAAqB,CAAC;AAgB7B,UAAU,KAAK;IACb,eAAe,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;CACjD;AAmBD,eAAO,MAAM,aAAa,GAAI,qBAAqB,KAAK,gCA0HvD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { BaseLegendMessageProps } from '../types';
2
+ export declare const StickerMessage: import("react").MemoExoticComponent<({ message }: BaseLegendMessageProps) => import("react").JSX.Element>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/messages/stickerMessage/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAKvD,eAAO,MAAM,cAAc,oDAAsB,sBAAsB,iCAUrE,CAAC"}
@@ -14,6 +14,10 @@ export interface ApiEndpoints {
14
14
  imageUpload: string;
15
15
  bot: string;
16
16
  uploadFcmToken: string;
17
+ stickerCategories: string;
18
+ stickersByCategory: string;
19
+ stickerHistory: string;
20
+ messagesResources: string;
17
21
  }
18
22
  /**
19
23
  * Get a specific API endpoint
@@ -1 +1 @@
1
- {"version":3,"file":"api-endpoints.d.ts","sourceRoot":"","sources":["../../../../src/config/api-endpoints.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,WAAW,YAAY;IAE3B,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IAErB,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,CAAC;CACxB;AAYD;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,MAAM,YAAY,EACzD,KAAK,CAAC,KACL,YAAY,CAAC,CAAC,CAEhB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,MAAM,YAAY,EACzD,KAAK,CAAC,EACN,OAAO,YAAY,CAAC,CAAC,CAAC,SAGvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAAI,cAAc,OAAO,CAAC,YAAY,CAAC,SAKrE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,YAE7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,QAAO,YAEpC,CAAC"}
1
+ {"version":3,"file":"api-endpoints.d.ts","sourceRoot":"","sources":["../../../../src/config/api-endpoints.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,WAAW,YAAY;IAE3B,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IAErB,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAgBD;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,MAAM,YAAY,EACzD,KAAK,CAAC,KACL,YAAY,CAAC,CAAC,CAEhB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,MAAM,YAAY,EACzD,KAAK,CAAC,EACN,OAAO,YAAY,CAAC,CAAC,CAAC,SAGvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAAI,cAAc,OAAO,CAAC,YAAY,CAAC,SAKrE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,YAE7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,QAAO,YAEpC,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { DBotStatus } from '../../types/chat';
1
+ import type { DBotStatus, DConversationTarget } from '../../types/chat';
2
2
  interface UseGetConversationDetailParams {
3
3
  targetConversationId?: string;
4
4
  targetUserId?: string;
@@ -10,6 +10,7 @@ interface UseGetConversationDetailResult {
10
10
  isLoading: boolean;
11
11
  }
12
12
  export declare const useGetStatusConversationBot: (botId?: string) => import("@tanstack/react-query").UseQueryResult<NoInfer<DBotStatus>, Error>;
13
+ export declare const useGetConversationTarget: (conversationId?: string) => import("@tanstack/react-query").UseQueryResult<NoInfer<DConversationTarget>, Error>;
13
14
  export declare const useGetOneConversation: ({ targetUserId, targetGroupId, }: {
14
15
  targetUserId?: string;
15
16
  targetGroupId?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"useGetConversationDetail.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/conversation/useGetConversationDetail.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAInD,UAAU,8BAA8B;IACtC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,8BAA8B;IACtC,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;CACpB;AAcD,eAAO,MAAM,2BAA2B,GAAI,QAAQ,MAAM,+EAczD,CAAC;AACF,eAAO,MAAM,qBAAqB,GAAI,kCAGnC;IACD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,6HAiBA,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,qEAKtC,8BAA8B,KAAG,8BAenC,CAAC"}
1
+ {"version":3,"file":"useGetConversationDetail.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/conversation/useGetConversationDetail.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAIxE,UAAU,8BAA8B;IACtC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,8BAA8B;IACtC,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;CACpB;AAcD,eAAO,MAAM,2BAA2B,GAAI,QAAQ,MAAM,+EAczD,CAAC;AACF,eAAO,MAAM,wBAAwB,GAAI,iBAAiB,MAAM,wFAiB5D,CAAC;AAEL,eAAO,MAAM,qBAAqB,GAAI,kCAGnC;IACD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,6HAiBA,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,qEAKtC,8BAA8B,KAAG,8BAenC,CAAC"}
@@ -1,21 +1,23 @@
1
1
  import type { CustomMsgParams, MessageItem, OfflinePush, QuoteMsgParams } from '@droppii/openim-rn-client-sdk';
2
- import { MessageType } from '@droppii/openim-rn-client-sdk';
3
2
  import { type CustomMessagePayload } from '../../types/chat';
4
3
  import type { IUrlMetadata } from '../../types/common';
5
4
  import type { IRunConversationFlowPayload } from '../../types/flows';
5
+ import type { StickerItem } from '../../types/sticker';
6
6
  export declare const useSendMessage: () => {
7
- sendMessage: ({ plainText, urlMetadata, flow, customMessage, }: {
7
+ sendMessage: ({ plainText, urlMetadata, flow, customMessage, sticker, }: {
8
8
  plainText?: string;
9
9
  urlMetadata?: IUrlMetadata;
10
10
  flow?: IRunConversationFlowPayload;
11
11
  customMessage?: CustomMessagePayload;
12
+ sticker?: StickerItem;
12
13
  }) => Promise<void>;
13
14
  retryMessage: (message: MessageItem) => Promise<void>;
14
15
  revokeMessage: (message: MessageItem) => Promise<void>;
15
16
  };
16
- export declare const generateOfflinePushInfo: (contentType: MessageType, plainText: string) => OfflinePush;
17
+ export declare const generateOfflinePushInfo: (message: MessageItem) => OfflinePush;
17
18
  export declare const createTextMessage: (text: string) => Promise<any>;
18
19
  export declare const createUrlTextMessage: (text: string, urls: string[]) => Promise<any>;
19
20
  export declare const createCustomMessage: (params: CustomMsgParams) => Promise<any>;
20
21
  export declare const createQuotedMessage: (params: QuoteMsgParams) => Promise<any>;
22
+ export declare const createStickerMessage: (sticker: string) => Promise<any>;
21
23
  //# sourceMappingURL=useSendMessage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSendMessage.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/message/useSendMessage.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,eAAe,EACf,WAAW,EACX,WAAW,EACX,cAAc,EACf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAiB,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAG3E,OAAO,EAEL,KAAK,oBAAoB,EAE1B,MAAM,kBAAkB,CAAC;AAS1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAiBrE,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B,WAAW;CAmB9D,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,SAAS,WAAW,KAqBrD,WACN,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAU,MAAM,MAAM,iBAUnD,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAU,MAAM,MAAM,EAAE,MAAM,MAAM,EAAE,iBActE,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAU,QAAQ,eAAe,iBAUhE,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAU,QAAQ,cAAc,iBAU/D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAU,SAAS,MAAM,iBAUzD,CAAC"}
@@ -9,6 +9,7 @@ export declare const conversationQueryKeys: {
9
9
  details: () => readonly ["conversations", "detail"];
10
10
  detail: (conversationId: string) => readonly ["conversations", "detail", string];
11
11
  getStatusBot: (botId: string) => readonly ["getStatusBot", string];
12
+ conversationTarget: (conversationId: string) => readonly ["conversationTarget", string];
12
13
  flow: (conversationId: string) => string[];
13
14
  flowMainMenu: (conversationId: string) => string[];
14
15
  resetFlow: (conversationId: string) => string[];
@@ -23,4 +24,14 @@ export declare const usersQueryKeys: {
23
24
  list: (userIds: string[]) => string[];
24
25
  };
25
26
  export type ConversationQueryKeys = typeof conversationQueryKeys;
27
+ export declare const stickerQueryKeys: {
28
+ all: readonly ["stickers"];
29
+ categories: () => readonly ["stickers", "categories"];
30
+ byCategory: (categoryId: string) => readonly ["stickers", "category", string];
31
+ recent: () => readonly ["stickers", "recent"];
32
+ };
33
+ export declare const resourceCenterQueryKeys: {
34
+ all: readonly ["threadResources"];
35
+ byType: (recvID: string, contentType: number) => readonly ["threadResources", string, number];
36
+ };
26
37
  //# sourceMappingURL=query-keys.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-keys.d.ts","sourceRoot":"","sources":["../../../../src/hooks/query-keys.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;uBAEP,MAAM;CAC1B,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;4BAGR,MAAM;;6BAGL,MAAM;0BAET,MAAM;2BACL,MAAM;mCACE,MAAM;gCAIT,MAAM;8BAIR,MAAM;2BACT,MAAM;iCACA,MAAM;4BACX,MAAM;sBACZ,MAAM;CACzB,CAAC;AAEF,eAAO,MAAM,cAAc;;oBAET,MAAM,EAAE;CACzB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC"}
1
+ {"version":3,"file":"query-keys.d.ts","sourceRoot":"","sources":["../../../../src/hooks/query-keys.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;uBAEP,MAAM;CAC1B,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;4BAGR,MAAM;;6BAGL,MAAM;0BAET,MAAM;yCACS,MAAM;2BAEpB,MAAM;mCACE,MAAM;gCAIT,MAAM;8BAIR,MAAM;2BACT,MAAM;iCACA,MAAM;4BACX,MAAM;sBACZ,MAAM;CACzB,CAAC;AAEF,eAAO,MAAM,cAAc;;oBAET,MAAM,EAAE;CACzB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC;AAEjE,eAAO,MAAM,gBAAgB;;;6BAGF,MAAM;;CAGhC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;qBAEjB,MAAM,eAAe,MAAM;CAE7C,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { DThreadResource, DThreadResourceContentType } from '../../types/chat';
2
+ export declare const useThreadResources: (recvID: string, contentType: DThreadResourceContentType, chatType: "SINGLE" | "GROUP") => {
3
+ items: DThreadResource[];
4
+ isLoading: boolean;
5
+ isError: boolean;
6
+ hasMore: boolean;
7
+ loadMore: (options?: import("@tanstack/query-core").FetchNextPageOptions) => Promise<import("@tanstack/query-core").InfiniteQueryObserverResult<import("@tanstack/query-core").InfiniteData<{
8
+ items: DThreadResource[];
9
+ page: number;
10
+ hasMore: boolean;
11
+ }, unknown>, Error>>;
12
+ isFetchingNextPage: boolean;
13
+ isRefetching: boolean;
14
+ refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<import("@tanstack/query-core").InfiniteData<{
15
+ items: DThreadResource[];
16
+ page: number;
17
+ hasMore: boolean;
18
+ }, unknown>, Error>>;
19
+ refreshFirstPage: () => Promise<void>;
20
+ };
21
+ //# sourceMappingURL=useThreadResources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useThreadResources.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/resourceCenter/useThreadResources.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,eAAe,EACf,0BAA0B,EAC3B,MAAM,kBAAkB,CAAC;AAa1B,eAAO,MAAM,kBAAkB,GAC7B,QAAQ,MAAM,EACd,aAAa,0BAA0B,EACvC,UAAU,QAAQ,GAAG,OAAO;;;;;;;;;;;;;;;;;;CAmG7B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { StickerItem } from '../../types/sticker';
2
+ export declare const useFetchStickerByCategory: () => import("@tanstack/react-query").UseMutationResult<StickerItem[], Error, string, unknown>;
3
+ //# sourceMappingURL=useFetchStickerByCategory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFetchStickerByCategory.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/stickers/useFetchStickerByCategory.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD,eAAO,MAAM,yBAAyB,gGAQlC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { StickerCategory } from '../../types/sticker';
2
+ export declare const useStickerCategories: () => import("@tanstack/react-query").UseQueryResult<NoInfer<StickerCategory[]>, Error>;
3
+ //# sourceMappingURL=useStickerCategories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useStickerCategories.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/stickers/useStickerCategories.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,oBAAoB,yFAS7B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { StickerItem } from '../../types/sticker';
2
+ export declare const useStickerHistory: () => import("@tanstack/react-query").UseQueryResult<NoInfer<StickerItem[]>, Error>;
3
+ //# sourceMappingURL=useStickerHistory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useStickerHistory.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/stickers/useStickerHistory.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD,eAAO,MAAM,iBAAiB,qFAW1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useChatCompose.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useChatCompose.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,sBAAsB,CAAC;AAc9B,wBAAgB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;EAkM7B"}
1
+ {"version":3,"file":"useChatCompose.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useChatCompose.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,sBAAsB,CAAC;AAW9B,wBAAgB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;EAkL7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"useImageAttachment.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useImageAttachment.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,YAAY,IAAI,WAAW,EAE5B,MAAM,gCAAgC,CAAC;AAUxC,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,WAAW,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,wBAAwB;IACvC,cAAc,EAAE,qBAAqB,EAAE,CAAC;IACxC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,iBAAiB,EAAE,CAAC,YAAY,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7D,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,eAAO,MAAM,kBAAkB,QAAO,wBA+NrC,CAAC"}
1
+ {"version":3,"file":"useImageAttachment.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useImageAttachment.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,YAAY,IAAI,WAAW,EAE5B,MAAM,gCAAgC,CAAC;AAUxC,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,WAAW,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,wBAAwB;IACvC,cAAc,EAAE,qBAAqB,EAAE,CAAC;IACxC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,iBAAiB,EAAE,CAAC,YAAY,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7D,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,eAAO,MAAM,kBAAkB,QAAO,wBA8NrC,CAAC"}
@@ -2,11 +2,15 @@ export interface MediaItem {
2
2
  url: string;
3
3
  isVideo?: boolean;
4
4
  }
5
+ export interface ShowMediaViewerOptions {
6
+ pagination?: boolean;
7
+ }
5
8
  export interface UseMediaViewerReturn {
6
9
  visible: boolean;
7
10
  mediaList: MediaItem[];
8
11
  initIndex: number;
9
- show: (items: MediaItem[], index?: number) => void;
12
+ pagination: boolean;
13
+ show: (items: MediaItem[], index?: number, options?: ShowMediaViewerOptions) => void;
10
14
  hide: () => void;
11
15
  }
12
16
  export declare function useMediaViewer(): UseMediaViewerReturn;
@@ -1 +1 @@
1
- {"version":3,"file":"useMediaViewer.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useMediaViewer.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,SAAS,EAAE,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB;AAED,wBAAgB,cAAc,IAAI,oBAAoB,CAgBrD"}
1
+ {"version":3,"file":"useMediaViewer.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useMediaViewer.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,sBAAsB;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,SAAS,EAAE,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,IAAI,EAAE,CACJ,KAAK,EAAE,SAAS,EAAE,EAClB,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,sBAAsB,KAC7B,IAAI,CAAC;IACV,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB;AAED,wBAAgB,cAAc,IAAI,oBAAoB,CAqBrD"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSendAttachment.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useSendAttachment.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAc,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAG7E,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC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CACpB;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,IAAI,uBAAuB,CAgO3D"}
@@ -21,6 +21,8 @@ export { AttachmentPreview } from './components/AttachmentPreview';
21
21
  export { MediaViewerModal } from './components/MediaViewerModal';
22
22
  export { Inbox } from './screens/inbox';
23
23
  export { default as MediaViewerScreen } from './screens/MediaView';
24
+ export { default as ResourceCenterScreen } from './screens/ResourceCenter';
25
+ export type { ResourceCenterScreenProps } from './screens/ResourceCenter/types';
24
26
  export * from './screens/chat-detail';
25
27
  export type { PeerType, MessageItem, ConversationItem, } from '@droppii/openim-rn-client-sdk';
26
28
  export { LoginStatus, MessageType } from '@droppii/openim-rn-client-sdk';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,uBAAuB,EACvB,6BAA6B,EAC7B,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,YAAY,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,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AAE/B,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/MediaView/index.tsx"],"names":[],"mappings":"AAgCA,UAAU,iBAAiB;IACzB,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,QAAA,MAAM,iBAAiB,GAAI,OAAO,iBAAiB,gCA0LlD,CAAC;AAIF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/MediaView/index.tsx"],"names":[],"mappings":"AA0CA,UAAU,iBAAiB;IACzB,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,QAAA,MAAM,iBAAiB,GAAI,OAAO,iBAAiB,gCA+OlD,CAAC;AAIF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { DThreadResource } from '../../types/chat';
2
+ interface Props {
3
+ item: DThreadResource;
4
+ }
5
+ export declare const FileResourceRow: import("react").MemoExoticComponent<({ item }: Props) => import("react").JSX.Element>;
6
+ export {};
7
+ //# sourceMappingURL=FileResourceRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileResourceRow.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ResourceCenter/FileResourceRow.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,UAAU,KAAK;IACb,IAAI,EAAE,eAAe,CAAC;CACvB;AAED,eAAO,MAAM,eAAe,iDAAmB,KAAK,iCA6DlD,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { ReactElement } from 'react';
2
+ import type { DThreadResource } from '../../types/chat';
3
+ interface Props {
4
+ items: DThreadResource[];
5
+ onEndReached: () => void;
6
+ isFetchingNextPage: boolean;
7
+ onPressItem: (index: number) => void;
8
+ onRefresh: () => void;
9
+ isRefetching: boolean;
10
+ emptyComponent: ReactElement;
11
+ }
12
+ export declare const GridRenderer: import("react").MemoExoticComponent<({ items, onEndReached, isFetchingNextPage, onPressItem, onRefresh, isRefetching, emptyComponent, }: Props) => import("react").JSX.Element>;
13
+ export {};
14
+ //# sourceMappingURL=GridRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GridRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ResourceCenter/GridRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAS1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAMxD,UAAU,KAAK;IACb,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,YAAY,CAAC;CAC9B;AAED,eAAO,MAAM,YAAY,2IASpB,KAAK,iCAuDT,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { DThreadResource } from '../../types/chat';
2
+ interface Props {
3
+ item: DThreadResource;
4
+ index: number;
5
+ size: number;
6
+ onPress: (index: number) => void;
7
+ }
8
+ export declare const GridThumbnail: import("react").MemoExoticComponent<({ item, index, size, onPress }: Props) => import("react").JSX.Element>;
9
+ export {};
10
+ //# sourceMappingURL=GridThumbnail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GridThumbnail.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ResourceCenter/GridThumbnail.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,UAAU,KAAK;IACb,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC;AAED,eAAO,MAAM,aAAa,uEAAyC,KAAK,iCAyDtE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { DThreadResource } from '../../types/chat';
2
+ interface Props {
3
+ item: DThreadResource;
4
+ onPressUrl?: (url: string) => void;
5
+ }
6
+ export declare const LinkResourceRow: import("react").MemoExoticComponent<({ item, onPressUrl }: Props) => import("react").JSX.Element>;
7
+ export {};
8
+ //# sourceMappingURL=LinkResourceRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinkResourceRow.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ResourceCenter/LinkResourceRow.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,UAAU,KAAK;IACb,IAAI,EAAE,eAAe,CAAC;IACtB,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,eAAO,MAAM,eAAe,6DAA+B,KAAK,iCAwD9D,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { ReactElement } from 'react';
2
+ import { DThreadResourceContentType } from '../../types/chat';
3
+ import type { DThreadResource } from '../../types/chat';
4
+ interface Props {
5
+ items: DThreadResource[];
6
+ contentType: DThreadResourceContentType;
7
+ onEndReached: () => void;
8
+ isFetchingNextPage: boolean;
9
+ onPressUrl?: (url: string) => void;
10
+ onRefresh: () => void;
11
+ isRefetching: boolean;
12
+ emptyComponent: ReactElement;
13
+ }
14
+ export declare const ListRenderer: import("react").MemoExoticComponent<({ items, contentType, onEndReached, isFetchingNextPage, onPressUrl, onRefresh, isRefetching, emptyComponent, }: Props) => import("react").JSX.Element>;
15
+ export {};
16
+ //# sourceMappingURL=ListRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ResourceCenter/ListRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAM1C,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,UAAU,KAAK;IACb,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,WAAW,EAAE,0BAA0B,CAAC;IACxC,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,YAAY,CAAC;CAC9B;AAID,eAAO,MAAM,YAAY,uJAUpB,KAAK,iCAsCT,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { type Route, type TabBarProps } from 'react-native-tab-view';
2
+ export declare function ResourceCenterTabBar<T extends Route>(props: TabBarProps<T>): import("react").JSX.Element;
3
+ //# sourceMappingURL=ResourceCenterTabBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResourceCenterTabBar.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ResourceCenter/ResourceCenterTabBar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,KAAK,EACV,KAAK,WAAW,EAEjB,MAAM,uBAAuB,CAAC;AAwB/B,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,+BA4B1E"}
@@ -0,0 +1,16 @@
1
+ import type { RefObject } from 'react';
2
+ import { DThreadResourceContentType } from '../../types/chat';
3
+ import type { ResourceCenterLayout } from './types';
4
+ import type { MediaViewerModalHandle } from '../../components/MediaViewerModal';
5
+ interface Props {
6
+ recvID: string;
7
+ chatType: 'SINGLE' | 'GROUP';
8
+ contentType: DThreadResourceContentType;
9
+ layout: ResourceCenterLayout;
10
+ emptyKey: string;
11
+ onPressUrl?: (url: string) => void;
12
+ mediaViewerRef: RefObject<MediaViewerModalHandle | null>;
13
+ }
14
+ export declare const ResourceCenterTabScene: import("react").MemoExoticComponent<({ recvID, chatType, contentType, layout, emptyKey, onPressUrl, mediaViewerRef, }: Props) => import("react").JSX.Element>;
15
+ export {};
16
+ //# sourceMappingURL=ResourceCenterTabScene.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResourceCenterTabScene.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ResourceCenter/ResourceCenterTabScene.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAEhF,UAAU,KAAK;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC7B,WAAW,EAAE,0BAA0B,CAAC;IACxC,MAAM,EAAE,oBAAoB,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,cAAc,EAAE,SAAS,CAAC,sBAAsB,GAAG,IAAI,CAAC,CAAC;CAC1D;AAcD,eAAO,MAAM,sBAAsB,yHAS9B,KAAK,iCAqFT,CAAC"}
@@ -0,0 +1,6 @@
1
+ interface Props {
2
+ emptyKey: string;
3
+ }
4
+ export declare const ResourceEmptyState: import("react").MemoExoticComponent<({ emptyKey }: Props) => import("react").JSX.Element>;
5
+ export {};
6
+ //# sourceMappingURL=ResourceEmptyState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResourceEmptyState.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ResourceCenter/ResourceEmptyState.tsx"],"names":[],"mappings":"AAMA,UAAU,KAAK;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,kBAAkB,qDAAuB,KAAK,iCAezD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ResourceCenterScreenProps } from './types';
2
+ declare const ResourceCenterScreen: import("react").MemoExoticComponent<({ conversationId, fallbackGroupID, fallbackUserID, initialTab, onBack, onPressUrl, }: ResourceCenterScreenProps) => import("react").JSX.Element>;
3
+ export default ResourceCenterScreen;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ResourceCenter/index.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,yBAAyB,EAAwB,MAAM,SAAS,CAAC;AAW/E,QAAA,MAAM,oBAAoB,6HAQrB,yBAAyB,iCAoF7B,CAAC;AAIF,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { DThreadResourceContentType } from '../../types/chat';
2
+ export interface ResourceCenterScreenProps {
3
+ conversationId: string;
4
+ /**
5
+ * Fallback groupID/userID for the race-condition window where `conversationId`
6
+ * isn't in the store yet (fresh deep-link / cold nav). Mirrors the route-param
7
+ * fallback pattern host apps already use elsewhere (e.g. `useSendMessage`).
8
+ */
9
+ fallbackGroupID?: string;
10
+ fallbackUserID?: string;
11
+ initialTab?: DThreadResourceContentType;
12
+ onBack?: () => void;
13
+ /**
14
+ * Host-provided link-open handler — mirrors `ChatDetailProps.onPressUrl`. This library does
15
+ * NOT implement in-app-browser/deeplink/external-app logic itself (traced: `ChatDetail.tsx`
16
+ * only normalizes the URL and forwards to this same prop) — the host app supplies it.
17
+ */
18
+ onPressUrl?: (url: string) => void;
19
+ }
20
+ export type ResourceCenterLayout = 'grid' | 'list';
21
+ export interface ResourceTabConfig {
22
+ contentType: DThreadResourceContentType;
23
+ labelKey: string;
24
+ emptyKey: string;
25
+ layout: ResourceCenterLayout;
26
+ }
27
+ export declare const RESOURCE_TABS: ResourceTabConfig[];
28
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/screens/ResourceCenter/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAE9D,MAAM,WAAW,yBAAyB;IACxC,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,0BAA0B,CAAC;IACxC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,MAAM,CAAC;AAEnD,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,0BAA0B,CAAC;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,oBAAoB,CAAC;CAC9B;AAED,eAAO,MAAM,aAAa,EAAE,iBAAiB,EAyB5C,CAAC"}
@@ -4,10 +4,10 @@ import { type DChatPannelAction } from './types';
4
4
  interface ChatComposerInternalProps {
5
5
  isEmptyMessage?: boolean;
6
6
  pannelActions?: DChatPannelAction[];
7
- isDisableCompose?: boolean;
7
+ isComposeDisabled?: boolean;
8
8
  composerRef?: RefObject<View | null>;
9
9
  onComposerLayout?: (event: LayoutChangeEvent) => void;
10
10
  }
11
- export declare const ChatComposer: import("react").MemoExoticComponent<({ isEmptyMessage, pannelActions, isDisableCompose, composerRef, onComposerLayout, }: ChatComposerInternalProps) => import("react").JSX.Element>;
11
+ export declare const ChatComposer: import("react").MemoExoticComponent<({ isEmptyMessage, pannelActions, isComposeDisabled, composerRef, onComposerLayout, }: ChatComposerInternalProps) => import("react").JSX.Element>;
12
12
  export {};
13
13
  //# sourceMappingURL=ChatComposer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChatComposer.d.ts","sourceRoot":"","sources":["../../../../../src/screens/chat-detail/ChatComposer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK,IAAI,EACV,MAAM,cAAc,CAAC;AAwBtB,OAAO,EAA6B,KAAK,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAY5E,UAAU,yBAAyB;IACjC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACpC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;IACrC,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;CACvD;AAED,eAAO,MAAM,YAAY,4HAOpB,yBAAyB,iCAsR7B,CAAC"}
1
+ {"version":3,"file":"ChatComposer.d.ts","sourceRoot":"","sources":["../../../../../src/screens/chat-detail/ChatComposer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAIL,KAAK,iBAAiB,EACtB,KAAK,IAAI,EACV,MAAM,cAAc,CAAC;AA8BtB,OAAO,EAA6B,KAAK,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAa5E,UAAU,yBAAyB;IACjC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACpC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;IACrC,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;CACvD;AAED,eAAO,MAAM,YAAY,6HAOpB,yBAAyB,iCAqW7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChatDetail.d.ts","sourceRoot":"","sources":["../../../../../src/screens/chat-detail/ChatDetail.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAgB/C,QAAA,MAAM,UAAU,qPAeX,eAAe,iCAsKnB,CAAC;AAIF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"ChatDetail.d.ts","sourceRoot":"","sources":["../../../../../src/screens/chat-detail/ChatDetail.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAa/C,QAAA,MAAM,UAAU,qPAeX,eAAe,iCA2JnB,CAAC;AAIF,eAAe,UAAU,CAAC"}
@@ -7,7 +7,8 @@ interface UseChatComposerAnimationReturn {
7
7
  accessorySlotStyle: any;
8
8
  toggleAttachmentVisibility: () => void;
9
9
  openAttachment: () => void;
10
- closeAttachment: (speedUp?: boolean) => void;
10
+ openWithHeight: (height: number) => void;
11
+ closeAttachment: (speedUp?: boolean, immediate?: boolean) => void;
11
12
  }
12
13
  export declare const useChatComposerAnimation: ({ panelHeight, onAttachmentOpenChange, }: UseChatComposerAnimationProps) => UseChatComposerAnimationReturn;
13
14
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"useChatComposerAnimation.d.ts","sourceRoot":"","sources":["../../../../../../src/screens/chat-detail/hooks/useChatComposerAnimation.ts"],"names":[],"mappings":"AAWA,UAAU,6BAA6B;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,sBAAsB,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CACnD;AAED,UAAU,8BAA8B;IACtC,kBAAkB,EAAE,GAAG,CAAC;IACxB,kBAAkB,EAAE,GAAG,CAAC;IACxB,0BAA0B,EAAE,MAAM,IAAI,CAAC;IACvC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,eAAe,EAAE,CAAC,OAAO,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAC9C;AAED,eAAO,MAAM,wBAAwB,GAAI,0CAGtC,6BAA6B,KAAG,8BA6DlC,CAAC"}
1
+ {"version":3,"file":"useChatComposerAnimation.d.ts","sourceRoot":"","sources":["../../../../../../src/screens/chat-detail/hooks/useChatComposerAnimation.ts"],"names":[],"mappings":"AAWA,UAAU,6BAA6B;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,sBAAsB,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CACnD;AAED,UAAU,8BAA8B;IACtC,kBAAkB,EAAE,GAAG,CAAC;IACxB,kBAAkB,EAAE,GAAG,CAAC;IACxB,0BAA0B,EAAE,MAAM,IAAI,CAAC;IACvC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,eAAe,EAAE,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CACnE;AAED,eAAO,MAAM,wBAAwB,GAAI,0CAGtC,6BAA6B,KAAG,8BA4ElC,CAAC"}
@@ -1,4 +1,7 @@
1
+ export type ActivePanelType = 'attachment' | 'sticker' | null;
1
2
  interface UseChatComposerStateReturn {
3
+ activePanelType: ActivePanelType;
4
+ setActivePanelType: (type: ActivePanelType) => void;
2
5
  isAttachmentOpen: boolean;
3
6
  setIsAttachmentOpen: (open: boolean) => void;
4
7
  isInputFocused: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"useChatComposerState.d.ts","sourceRoot":"","sources":["../../../../../../src/screens/chat-detail/hooks/useChatComposerState.ts"],"names":[],"mappings":"AAEA,UAAU,0BAA0B;IAClC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,mBAAmB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9C,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9C,gBAAgB,EAAE,OAAO,CAAC;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;CAChC;AAED,eAAO,MAAM,oBAAoB,GAC/B,OAAO,MAAM,KACZ,0BAwBF,CAAC"}
1
+ {"version":3,"file":"useChatComposerState.d.ts","sourceRoot":"","sources":["../../../../../../src/screens/chat-detail/hooks/useChatComposerState.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG,YAAY,GAAG,SAAS,GAAG,IAAI,CAAC;AAE9D,UAAU,0BAA0B;IAClC,eAAe,EAAE,eAAe,CAAC;IACjC,kBAAkB,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IACpD,gBAAgB,EAAE,OA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,SAAS,CAAC;CAC1D;AAyBD,eAAO,MAAM,iBAAiB,mKAWzB,sBAAsB,wRAsD1B,CAAC"}
1
+ {"version":3,"file":"LegendChatMessage.d.ts","sourceRoot":"","sources":["../../../../../../src/screens/chat-detail/legend/LegendChatMessage.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAoC,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAGjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAmB/D,UAAU,sBAAsB;IAC9B,OAAO,EAAE,WAAW,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5D,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IACzC,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,wBAAwB,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,KAAK,SAAS,CAAC;CAC1D;AAuBD,eAAO,MAAM,iBAAiB,mKAWzB,sBAAsB,wRAsD1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"attachmentOrchestrator.d.ts","sourceRoot":"","sources":["../../../../src/services/attachmentOrchestrator.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,UAAU,EACV,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAW7B,yBAAiB,6BAA6B,CAAC;IAC7C,SAAsB,uBAAuB,CAC3C,WAAW,EAAE,UAAU,EAAE,EACzB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACpC,OAAO,GAAE,qBAAkD,GAC1D,OAAO,CAAC,oBAAoB,CAAC,CA6F/B;CAiNF"}
1
+ {"version":3,"file":"attachmentOrchestrator.d.ts","sourceRoot":"","sources":["../../../../src/services/attachmentOrchestrator.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,UAAU,EACV,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAY7B,yBAAiB,6BAA6B,CAAC;IAC7C,SAAsB,uBAAuB,CAC3C,WAAW,EAAE,UAAU,EAAE,EACzB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACpC,OAAO,GAAE,qBAAkD,GAC1D,OAAO,CAAC,oBAAoB,CAAC,CA8F/B;CA4NF"}
@@ -14,7 +14,10 @@ export declare const ENDPOINTS: {
14
14
  getConversationByBotId: (botId: string) => string;
15
15
  conversationFlowMainMenu: (id: string) => string;
16
16
  getConversationStatusByBotId: (botId: string) => string;
17
- createConversation: () => string;
17
+ getConversationTarget: (conversationId: string) => string;
18
+ stickerCategories: () => string;
19
+ stickersByCategoryId: (id: string) => string;
20
+ stickerHistory: () => string;
18
21
  };
19
22
  uploaderService: {
20
23
  readonly uploadImage: string;
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../../../src/services/endpoints.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,cAAc,EACd,cAAc,EACd,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AAGjC,eAAO,MAAM,SAAS;;;;+BAQK,MAAM;oCACD,MAAM;kCAER,MAAM;wCAEA,MAAM;uCAEP,MAAM;8CAEC,MAAM;;;;;;CAS/C,CAAC;AAGF,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC"}
1
+ {"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../../../src/services/endpoints.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,cAAc,EACd,cAAc,EACd,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AAGjC,eAAO,MAAM,SAAS;;;;+BAQK,MAAM;oCACD,MAAM;kCAER,MAAM;wCAEA,MAAM;uCAEP,MAAM;8CAEC,MAAM;gDAEJ,MAAM;;mCAGnB,MAAM;;;;;;CASpC,CAAC;AAGF,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { type DThreadResource, type DThreadResourceRequest } from '../types/chat';
2
+ export declare namespace ResourceCenterService {
3
+ const fetchThreadResources: (req: DThreadResourceRequest) => Promise<{
4
+ items: DThreadResource[];
5
+ page: number;
6
+ hasMore: boolean;
7
+ }>;
8
+ }
9
+ //# sourceMappingURL=resourceCenter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resourceCenter.d.ts","sourceRoot":"","sources":["../../../../src/services/resourceCenter.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,eAAe,EAGpB,KAAK,sBAAsB,EAC5B,MAAM,eAAe,CAAC;AA+GvB,yBAAiB,qBAAqB,CAAC;IAC9B,MAAM,oBAAoB,GAC/B,KAAK,sBAAsB,KAC1B,OAAO,CAAC;QAAE,KAAK,EAAE,eAAe,EAAE,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,CAWtE,CAAC;CACH"}
@@ -1,12 +1,9 @@
1
1
  import type { ConversationItem } from '@droppii/openim-rn-client-sdk';
2
- import type { CreateConversationParams } from '../types/chat';
3
2
  type ConversationID = string;
4
3
  export interface ConversationStore {
5
4
  currentConversationId?: ConversationID;
6
5
  currentUserId?: string;
7
6
  currentGroupId?: string;
8
- isCreatingConversation?: boolean;
9
- createConversation: (params: CreateConversationParams) => Promise<void>;
10
7
  setCurrentConversation(id?: ConversationID, userId?: string, groupId?: string): void;
11
8
  getCurrentConversation(): ConversationItem | undefined;
12
9
  list: ConversationID[];
@@ -1 +1 @@
1
- {"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../../../src/store/conversation.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EACV,wBAAwB,EAEzB,MAAM,eAAe,CAAC;AAKvB,KAAK,cAAc,GAAG,MAAM,CAAC;AAE7B,MAAM,WAAW,iBAAiB;IAChC,qBAAqB,CAAC,EAAE,cAAc,CAAC;IACvC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,kBAAkB,EAAE,CAAC,MAAM,EAAE,wBAAwB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE,sBAAsB,CACpB,EAAE,CAAC,EAAE,cAAc,EACnB,MAAM,CAAC,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,MAAM,GACf,IAAI,CAAC;IACR,sBAAsB,IAAI,gBAAgB,GAAG,SAAS,CAAC;IACvD,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;IAC9C,6FAA6F;IAC7F,qBAAqB,EAAE,MAAM,CAAC;IAC9B,kBAAkB,CAAC,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAC9E,mBAAmB,CAAC,aAAa,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAAC;IAC7D;;;OAGG;IACH,kBAAkB,CAAC,EAAE,EAAE,cAAc,GAAG,IAAI,CAAC;IAC7C,KAAK,IAAI,IAAI,CAAC;CACf;AAED,eAAO,MAAM,oBAAoB,gFAyE9B,CAAC;AAEJ,eAAO,MAAM,eAAe,GAAI,IAAI,MAAM,KAAG,gBAAgB,GAAG,SAE/D,CAAC"}
1
+ {"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../../../src/store/conversation.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,KAAK,cAAc,GAAG,MAAM,CAAC;AAE7B,MAAM,WAAW,iBAAiB;IAChC,qBAAqB,CAAC,EAAE,cAAc,CAAC;IACvC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CACpB,EAAE,CAAC,EAAE,cAAc,EACnB,MAAM,CAAC,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,MAAM,GACf,IAAI,CAAC;IACR,sBAAsB,IAAI,gBAAgB,GAAG,SAAS,CAAC;IACvD,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;IAC9C,6FAA6F;IAC7F,qBAAqB,EAAE,MAAM,CAAC;IAC9B,kBAAkB,CAAC,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAC9E,mBAAmB,CAAC,aAAa,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAAC;IAC7D;;;OAGG;IACH,kBAAkB,CAAC,EAAE,EAAE,cAAc,GAAG,IAAI,CAAC;IAC7C,KAAK,IAAI,IAAI,CAAC;CACf;AAED,eAAO,MAAM,oBAAoB,gFA0D9B,CAAC;AAEJ,eAAO,MAAM,eAAe,GAAI,IAAI,MAAM,KAAG,gBAAgB,GAAG,SAE/D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../../../src/translation/resources/i18n.ts"],"names":[],"mappings":";;;AA8FA,wBAEE"}
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../../../src/translation/resources/i18n.ts"],"names":[],"mappings":";;;AAwGA,wBAEE"}
@@ -1,3 +1,4 @@
1
+ import type { DChatApplicationType } from './chat';
1
2
  export type AttachmentType = 'image' | 'video' | 'file' | 'audio' | 'document';
2
3
  export interface BaseAttachment {
3
4
  id: string;
@@ -57,6 +58,7 @@ export interface AttachmentUploadStatus {
57
58
  export type BatchStrategy = 'individual' | 'merged' | 'grouped';
58
59
  export interface AttachmentSendOptions {
59
60
  strategy: BatchStrategy;
61
+ applicationType?: DChatApplicationType;
60
62
  includeCaption?: string;
61
63
  uploadConcurrency?: number;
62
64
  retryFailedUploads?: boolean;