@ethora/chat-component-rn 26.7.5 → 26.7.7

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 (340) hide show
  1. package/CHANGELOG.md +62 -0
  2. package/README.md +31 -8
  3. package/lib/commonjs/assets/icons.js +7 -2
  4. package/lib/commonjs/assets/icons.js.map +1 -1
  5. package/lib/commonjs/components/Header/HeaderRoomList.js +26 -7
  6. package/lib/commonjs/components/Header/HeaderRoomList.js.map +1 -1
  7. package/lib/commonjs/components/MainComponents/ChatHeader.js +5 -2
  8. package/lib/commonjs/components/MainComponents/ChatHeader.js.map +1 -1
  9. package/lib/commonjs/components/MainComponents/ChatRoom.js +36 -14
  10. package/lib/commonjs/components/MainComponents/ChatRoom.js.map +1 -1
  11. package/lib/commonjs/components/MainComponents/ChatWrapper.js +2 -0
  12. package/lib/commonjs/components/MainComponents/ChatWrapper.js.map +1 -1
  13. package/lib/commonjs/components/MainComponents/MessageList.js +7 -23
  14. package/lib/commonjs/components/MainComponents/MessageList.js.map +1 -1
  15. package/lib/commonjs/components/MainComponents/ProfileImagePlaceholder.js +14 -13
  16. package/lib/commonjs/components/MainComponents/ProfileImagePlaceholder.js.map +1 -1
  17. package/lib/commonjs/components/MainComponents/RoomList.js +208 -35
  18. package/lib/commonjs/components/MainComponents/RoomList.js.map +1 -1
  19. package/lib/commonjs/components/Menu/HeaderRoomListMenu.js +317 -98
  20. package/lib/commonjs/components/Menu/HeaderRoomListMenu.js.map +1 -1
  21. package/lib/commonjs/components/Modals/AttachSheet/AttachSheet.js +320 -110
  22. package/lib/commonjs/components/Modals/AttachSheet/AttachSheet.js.map +1 -1
  23. package/lib/commonjs/components/Modals/ChatProfileModal/ChatProfileModal.js +552 -213
  24. package/lib/commonjs/components/Modals/ChatProfileModal/ChatProfileModal.js.map +1 -1
  25. package/lib/commonjs/components/Modals/ChatProfileModal/ReportChatModal.js +226 -0
  26. package/lib/commonjs/components/Modals/ChatProfileModal/ReportChatModal.js.map +1 -0
  27. package/lib/commonjs/components/Modals/FilePreviewModal/FilePreviewModal.js +6 -2
  28. package/lib/commonjs/components/Modals/FilePreviewModal/FilePreviewModal.js.map +1 -1
  29. package/lib/commonjs/components/Modals/Modal/Modal.js +8 -0
  30. package/lib/commonjs/components/Modals/Modal/Modal.js.map +1 -1
  31. package/lib/commonjs/components/Modals/NewChatModal/ModalContent.js +2 -1
  32. package/lib/commonjs/components/Modals/NewChatModal/ModalContent.js.map +1 -1
  33. package/lib/commonjs/components/Modals/NewChatModal/NewChatModal.js +202 -104
  34. package/lib/commonjs/components/Modals/NewChatModal/NewChatModal.js.map +1 -1
  35. package/lib/commonjs/components/Modals/NewChatModal/UpdNewChatModal.js +8 -0
  36. package/lib/commonjs/components/Modals/NewChatModal/UpdNewChatModal.js.map +1 -1
  37. package/lib/commonjs/components/Modals/ProfileHeader/ProfileHeader.js +556 -0
  38. package/lib/commonjs/components/Modals/ProfileHeader/ProfileHeader.js.map +1 -0
  39. package/lib/commonjs/components/Modals/ProfileHeader/ProfileMenu.js +210 -0
  40. package/lib/commonjs/components/Modals/ProfileHeader/ProfileMenu.js.map +1 -0
  41. package/lib/commonjs/components/Modals/SelectUsersModal/SelectUsersModal.js +4 -2
  42. package/lib/commonjs/components/Modals/SelectUsersModal/SelectUsersModal.js.map +1 -1
  43. package/lib/commonjs/components/Modals/UserProfileModal/EditUserModal.js +7 -21
  44. package/lib/commonjs/components/Modals/UserProfileModal/EditUserModal.js.map +1 -1
  45. package/lib/commonjs/components/Modals/UserProfileModal/UserProfileModal.js +507 -244
  46. package/lib/commonjs/components/Modals/UserProfileModal/UserProfileModal.js.map +1 -1
  47. package/lib/commonjs/components/Modals/UserSettingsModal/UserSettingsModal.js +74 -46
  48. package/lib/commonjs/components/Modals/UserSettingsModal/UserSettingsModal.js.map +1 -1
  49. package/lib/commonjs/components/Modals/styledModalComponents.js +9 -2
  50. package/lib/commonjs/components/Modals/styledModalComponents.js.map +1 -1
  51. package/lib/commonjs/components/RoomComponents/ChatRoomItem.js +17 -7
  52. package/lib/commonjs/components/RoomComponents/ChatRoomItem.js.map +1 -1
  53. package/lib/commonjs/components/styled/SendInput.js +80 -11
  54. package/lib/commonjs/components/styled/SendInput.js.map +1 -1
  55. package/lib/commonjs/components/styled/StyledComponents.js +9 -3
  56. package/lib/commonjs/components/styled/StyledComponents.js.map +1 -1
  57. package/lib/commonjs/components/styled/StyledInputComponents/StyledInputComponents.js +11 -4
  58. package/lib/commonjs/components/styled/StyledInputComponents/StyledInputComponents.js.map +1 -1
  59. package/lib/commonjs/context/xmppProvider.js +32 -39
  60. package/lib/commonjs/context/xmppProvider.js.map +1 -1
  61. package/lib/commonjs/helpers/getChatBackground.js +23 -0
  62. package/lib/commonjs/helpers/getChatBackground.js.map +1 -0
  63. package/lib/commonjs/helpers/mediaLibraryRuntime.js +31 -0
  64. package/lib/commonjs/helpers/mediaLibraryRuntime.js.map +1 -0
  65. package/lib/commonjs/helpers/pickImageAsset.js +68 -0
  66. package/lib/commonjs/helpers/pickImageAsset.js.map +1 -0
  67. package/lib/commonjs/helpers/pushPayload.js +71 -0
  68. package/lib/commonjs/helpers/pushPayload.js.map +1 -0
  69. package/lib/commonjs/helpers/sheetGestures.js +32 -0
  70. package/lib/commonjs/helpers/sheetGestures.js.map +1 -0
  71. package/lib/commonjs/helpers/updateMessagesTillLast.js +12 -40
  72. package/lib/commonjs/helpers/updateMessagesTillLast.js.map +1 -1
  73. package/lib/commonjs/hooks/useChatRoomFocus.js +3 -9
  74. package/lib/commonjs/hooks/useChatRoomFocus.js.map +1 -1
  75. package/lib/commonjs/hooks/useLogout.js +0 -5
  76. package/lib/commonjs/hooks/useLogout.js.map +1 -1
  77. package/lib/commonjs/hooks/usePendingNotification.js +8 -11
  78. package/lib/commonjs/hooks/usePendingNotification.js.map +1 -1
  79. package/lib/commonjs/hooks/useSendMessage.js +23 -50
  80. package/lib/commonjs/hooks/useSendMessage.js.map +1 -1
  81. package/lib/commonjs/i18n/strings.js +121 -1
  82. package/lib/commonjs/i18n/strings.js.map +1 -1
  83. package/lib/commonjs/main.js +19 -0
  84. package/lib/commonjs/main.js.map +1 -1
  85. package/lib/commonjs/networking/api-requests/user.api.js +59 -0
  86. package/lib/commonjs/networking/api-requests/user.api.js.map +1 -1
  87. package/lib/commonjs/networking/authRefresh.js +12 -2
  88. package/lib/commonjs/networking/authRefresh.js.map +1 -1
  89. package/lib/commonjs/networking/outboundQueue.js +0 -18
  90. package/lib/commonjs/networking/outboundQueue.js.map +1 -1
  91. package/lib/commonjs/networking/stanzaHandlers.js +1 -10
  92. package/lib/commonjs/networking/stanzaHandlers.js.map +1 -1
  93. package/lib/commonjs/networking/xmpp/presenceInRoom.xmpp.js +8 -1
  94. package/lib/commonjs/networking/xmpp/presenceInRoom.xmpp.js.map +1 -1
  95. package/lib/commonjs/networking/xmpp/subscribeToRoomMessages.xmpp.js +5 -1
  96. package/lib/commonjs/networking/xmpp/subscribeToRoomMessages.xmpp.js.map +1 -1
  97. package/lib/commonjs/networking/xmppClient.js +62 -108
  98. package/lib/commonjs/networking/xmppClient.js.map +1 -1
  99. package/lib/commonjs/roomStore/chatSettingsSlice.js +3 -1
  100. package/lib/commonjs/roomStore/chatSettingsSlice.js.map +1 -1
  101. package/lib/commonjs/roomStore/roomsSlice.js +3 -22
  102. package/lib/commonjs/roomStore/roomsSlice.js.map +1 -1
  103. package/lib/commonjs/services/pushSubscriptionService.js +15 -13
  104. package/lib/commonjs/services/pushSubscriptionService.js.map +1 -1
  105. package/lib/module/assets/icons.js +6 -1
  106. package/lib/module/assets/icons.js.map +1 -1
  107. package/lib/module/components/Header/HeaderRoomList.js +26 -7
  108. package/lib/module/components/Header/HeaderRoomList.js.map +1 -1
  109. package/lib/module/components/MainComponents/ChatHeader.js +5 -2
  110. package/lib/module/components/MainComponents/ChatHeader.js.map +1 -1
  111. package/lib/module/components/MainComponents/ChatRoom.js +36 -14
  112. package/lib/module/components/MainComponents/ChatRoom.js.map +1 -1
  113. package/lib/module/components/MainComponents/ChatWrapper.js +2 -0
  114. package/lib/module/components/MainComponents/ChatWrapper.js.map +1 -1
  115. package/lib/module/components/MainComponents/MessageList.js +8 -24
  116. package/lib/module/components/MainComponents/MessageList.js.map +1 -1
  117. package/lib/module/components/MainComponents/ProfileImagePlaceholder.js +14 -13
  118. package/lib/module/components/MainComponents/ProfileImagePlaceholder.js.map +1 -1
  119. package/lib/module/components/MainComponents/RoomList.js +207 -35
  120. package/lib/module/components/MainComponents/RoomList.js.map +1 -1
  121. package/lib/module/components/Menu/HeaderRoomListMenu.js +319 -101
  122. package/lib/module/components/Menu/HeaderRoomListMenu.js.map +1 -1
  123. package/lib/module/components/Modals/AttachSheet/AttachSheet.js +311 -113
  124. package/lib/module/components/Modals/AttachSheet/AttachSheet.js.map +1 -1
  125. package/lib/module/components/Modals/ChatProfileModal/ChatProfileModal.js +555 -217
  126. package/lib/module/components/Modals/ChatProfileModal/ChatProfileModal.js.map +1 -1
  127. package/lib/module/components/Modals/ChatProfileModal/ReportChatModal.js +223 -0
  128. package/lib/module/components/Modals/ChatProfileModal/ReportChatModal.js.map +1 -0
  129. package/lib/module/components/Modals/FilePreviewModal/FilePreviewModal.js +6 -2
  130. package/lib/module/components/Modals/FilePreviewModal/FilePreviewModal.js.map +1 -1
  131. package/lib/module/components/Modals/Modal/Modal.js +9 -1
  132. package/lib/module/components/Modals/Modal/Modal.js.map +1 -1
  133. package/lib/module/components/Modals/NewChatModal/ModalContent.js +2 -1
  134. package/lib/module/components/Modals/NewChatModal/ModalContent.js.map +1 -1
  135. package/lib/module/components/Modals/NewChatModal/NewChatModal.js +205 -106
  136. package/lib/module/components/Modals/NewChatModal/NewChatModal.js.map +1 -1
  137. package/lib/module/components/Modals/NewChatModal/UpdNewChatModal.js +8 -0
  138. package/lib/module/components/Modals/NewChatModal/UpdNewChatModal.js.map +1 -1
  139. package/lib/module/components/Modals/ProfileHeader/ProfileHeader.js +548 -0
  140. package/lib/module/components/Modals/ProfileHeader/ProfileHeader.js.map +1 -0
  141. package/lib/module/components/Modals/ProfileHeader/ProfileMenu.js +205 -0
  142. package/lib/module/components/Modals/ProfileHeader/ProfileMenu.js.map +1 -0
  143. package/lib/module/components/Modals/SelectUsersModal/SelectUsersModal.js +4 -2
  144. package/lib/module/components/Modals/SelectUsersModal/SelectUsersModal.js.map +1 -1
  145. package/lib/module/components/Modals/UserProfileModal/EditUserModal.js +9 -23
  146. package/lib/module/components/Modals/UserProfileModal/EditUserModal.js.map +1 -1
  147. package/lib/module/components/Modals/UserProfileModal/UserProfileModal.js +509 -248
  148. package/lib/module/components/Modals/UserProfileModal/UserProfileModal.js.map +1 -1
  149. package/lib/module/components/Modals/UserSettingsModal/UserSettingsModal.js +76 -48
  150. package/lib/module/components/Modals/UserSettingsModal/UserSettingsModal.js.map +1 -1
  151. package/lib/module/components/Modals/styledModalComponents.js +9 -2
  152. package/lib/module/components/Modals/styledModalComponents.js.map +1 -1
  153. package/lib/module/components/RoomComponents/ChatRoomItem.js +17 -7
  154. package/lib/module/components/RoomComponents/ChatRoomItem.js.map +1 -1
  155. package/lib/module/components/styled/SendInput.js +81 -12
  156. package/lib/module/components/styled/SendInput.js.map +1 -1
  157. package/lib/module/components/styled/StyledComponents.js +9 -3
  158. package/lib/module/components/styled/StyledComponents.js.map +1 -1
  159. package/lib/module/components/styled/StyledInputComponents/StyledInputComponents.js +11 -4
  160. package/lib/module/components/styled/StyledInputComponents/StyledInputComponents.js.map +1 -1
  161. package/lib/module/context/xmppProvider.js +32 -39
  162. package/lib/module/context/xmppProvider.js.map +1 -1
  163. package/lib/module/helpers/getChatBackground.js +18 -0
  164. package/lib/module/helpers/getChatBackground.js.map +1 -0
  165. package/lib/module/helpers/mediaLibraryRuntime.js +25 -0
  166. package/lib/module/helpers/mediaLibraryRuntime.js.map +1 -0
  167. package/lib/module/helpers/pickImageAsset.js +63 -0
  168. package/lib/module/helpers/pickImageAsset.js.map +1 -0
  169. package/lib/module/helpers/pushPayload.js +63 -0
  170. package/lib/module/helpers/pushPayload.js.map +1 -0
  171. package/lib/module/helpers/sheetGestures.js +26 -0
  172. package/lib/module/helpers/sheetGestures.js.map +1 -0
  173. package/lib/module/helpers/updateMessagesTillLast.js +13 -41
  174. package/lib/module/helpers/updateMessagesTillLast.js.map +1 -1
  175. package/lib/module/hooks/useChatRoomFocus.js +3 -9
  176. package/lib/module/hooks/useChatRoomFocus.js.map +1 -1
  177. package/lib/module/hooks/useLogout.js +0 -5
  178. package/lib/module/hooks/useLogout.js.map +1 -1
  179. package/lib/module/hooks/usePendingNotification.js +8 -11
  180. package/lib/module/hooks/usePendingNotification.js.map +1 -1
  181. package/lib/module/hooks/useSendMessage.js +24 -51
  182. package/lib/module/hooks/useSendMessage.js.map +1 -1
  183. package/lib/module/i18n/strings.js +121 -1
  184. package/lib/module/i18n/strings.js.map +1 -1
  185. package/lib/module/main.js +2 -1
  186. package/lib/module/main.js.map +1 -1
  187. package/lib/module/networking/api-requests/user.api.js +56 -0
  188. package/lib/module/networking/api-requests/user.api.js.map +1 -1
  189. package/lib/module/networking/authRefresh.js +12 -2
  190. package/lib/module/networking/authRefresh.js.map +1 -1
  191. package/lib/module/networking/outboundQueue.js +0 -17
  192. package/lib/module/networking/outboundQueue.js.map +1 -1
  193. package/lib/module/networking/stanzaHandlers.js +1 -10
  194. package/lib/module/networking/stanzaHandlers.js.map +1 -1
  195. package/lib/module/networking/xmpp/presenceInRoom.xmpp.js +8 -1
  196. package/lib/module/networking/xmpp/presenceInRoom.xmpp.js.map +1 -1
  197. package/lib/module/networking/xmpp/subscribeToRoomMessages.xmpp.js +5 -1
  198. package/lib/module/networking/xmpp/subscribeToRoomMessages.xmpp.js.map +1 -1
  199. package/lib/module/networking/xmppClient.js +62 -108
  200. package/lib/module/networking/xmppClient.js.map +1 -1
  201. package/lib/module/roomStore/chatSettingsSlice.js +3 -1
  202. package/lib/module/roomStore/chatSettingsSlice.js.map +1 -1
  203. package/lib/module/roomStore/roomsSlice.js +2 -20
  204. package/lib/module/roomStore/roomsSlice.js.map +1 -1
  205. package/lib/module/services/pushSubscriptionService.js +15 -13
  206. package/lib/module/services/pushSubscriptionService.js.map +1 -1
  207. package/lib/typescript/assets/icons.d.ts +16 -0
  208. package/lib/typescript/assets/icons.d.ts.map +1 -1
  209. package/lib/typescript/components/Header/HeaderRoomList.d.ts.map +1 -1
  210. package/lib/typescript/components/MainComponents/ChatHeader.d.ts.map +1 -1
  211. package/lib/typescript/components/MainComponents/ChatRoom.d.ts.map +1 -1
  212. package/lib/typescript/components/MainComponents/ChatWrapper.d.ts.map +1 -1
  213. package/lib/typescript/components/MainComponents/MessageList.d.ts.map +1 -1
  214. package/lib/typescript/components/MainComponents/ProfileImagePlaceholder.d.ts.map +1 -1
  215. package/lib/typescript/components/MainComponents/RoomList.d.ts +7 -0
  216. package/lib/typescript/components/MainComponents/RoomList.d.ts.map +1 -1
  217. package/lib/typescript/components/Menu/HeaderRoomListMenu.d.ts +3 -0
  218. package/lib/typescript/components/Menu/HeaderRoomListMenu.d.ts.map +1 -1
  219. package/lib/typescript/components/Modals/AttachSheet/AttachSheet.d.ts +9 -0
  220. package/lib/typescript/components/Modals/AttachSheet/AttachSheet.d.ts.map +1 -1
  221. package/lib/typescript/components/Modals/ChatProfileModal/ChatProfileModal.d.ts +10 -0
  222. package/lib/typescript/components/Modals/ChatProfileModal/ChatProfileModal.d.ts.map +1 -1
  223. package/lib/typescript/components/Modals/ChatProfileModal/ReportChatModal.d.ts +9 -0
  224. package/lib/typescript/components/Modals/ChatProfileModal/ReportChatModal.d.ts.map +1 -0
  225. package/lib/typescript/components/Modals/FilePreviewModal/FilePreviewModal.d.ts.map +1 -1
  226. package/lib/typescript/components/Modals/Modal/Modal.d.ts.map +1 -1
  227. package/lib/typescript/components/Modals/NewChatModal/ModalContent.d.ts +4 -2
  228. package/lib/typescript/components/Modals/NewChatModal/ModalContent.d.ts.map +1 -1
  229. package/lib/typescript/components/Modals/NewChatModal/NewChatModal.d.ts +1 -1
  230. package/lib/typescript/components/Modals/NewChatModal/NewChatModal.d.ts.map +1 -1
  231. package/lib/typescript/components/Modals/NewChatModal/UpdNewChatModal.d.ts.map +1 -1
  232. package/lib/typescript/components/Modals/ProfileHeader/ProfileHeader.d.ts +75 -0
  233. package/lib/typescript/components/Modals/ProfileHeader/ProfileHeader.d.ts.map +1 -0
  234. package/lib/typescript/components/Modals/ProfileHeader/ProfileMenu.d.ts +25 -0
  235. package/lib/typescript/components/Modals/ProfileHeader/ProfileMenu.d.ts.map +1 -0
  236. package/lib/typescript/components/Modals/SelectUsersModal/SelectUsersModal.d.ts +6 -1
  237. package/lib/typescript/components/Modals/SelectUsersModal/SelectUsersModal.d.ts.map +1 -1
  238. package/lib/typescript/components/Modals/UserProfileModal/EditUserModal.d.ts.map +1 -1
  239. package/lib/typescript/components/Modals/UserProfileModal/UserProfileModal.d.ts +16 -0
  240. package/lib/typescript/components/Modals/UserProfileModal/UserProfileModal.d.ts.map +1 -1
  241. package/lib/typescript/components/Modals/UserSettingsModal/UserSettingsModal.d.ts +1 -0
  242. package/lib/typescript/components/Modals/UserSettingsModal/UserSettingsModal.d.ts.map +1 -1
  243. package/lib/typescript/components/Modals/styledModalComponents.d.ts.map +1 -1
  244. package/lib/typescript/components/RoomComponents/ChatRoomItem.d.ts.map +1 -1
  245. package/lib/typescript/components/styled/SendInput.d.ts.map +1 -1
  246. package/lib/typescript/components/styled/StyledComponents.d.ts.map +1 -1
  247. package/lib/typescript/components/styled/StyledInputComponents/StyledInputComponents.d.ts.map +1 -1
  248. package/lib/typescript/context/xmppProvider.d.ts.map +1 -1
  249. package/lib/typescript/helpers/getChatBackground.d.ts +15 -0
  250. package/lib/typescript/helpers/getChatBackground.d.ts.map +1 -0
  251. package/lib/typescript/helpers/mediaLibraryRuntime.d.ts +3 -0
  252. package/lib/typescript/helpers/mediaLibraryRuntime.d.ts.map +1 -0
  253. package/lib/typescript/helpers/pickImageAsset.d.ts +27 -0
  254. package/lib/typescript/helpers/pickImageAsset.d.ts.map +1 -0
  255. package/lib/typescript/helpers/pushPayload.d.ts +7 -0
  256. package/lib/typescript/helpers/pushPayload.d.ts.map +1 -0
  257. package/lib/typescript/helpers/sheetGestures.d.ts +20 -0
  258. package/lib/typescript/helpers/sheetGestures.d.ts.map +1 -0
  259. package/lib/typescript/helpers/updateMessagesTillLast.d.ts.map +1 -1
  260. package/lib/typescript/hooks/useChatRoomFocus.d.ts.map +1 -1
  261. package/lib/typescript/hooks/useLogout.d.ts.map +1 -1
  262. package/lib/typescript/hooks/usePendingNotification.d.ts.map +1 -1
  263. package/lib/typescript/hooks/useSendMessage.d.ts.map +1 -1
  264. package/lib/typescript/i18n/strings.d.ts.map +1 -1
  265. package/lib/typescript/main.d.ts +3 -1
  266. package/lib/typescript/main.d.ts.map +1 -1
  267. package/lib/typescript/networking/api-requests/user.api.d.ts +27 -0
  268. package/lib/typescript/networking/api-requests/user.api.d.ts.map +1 -1
  269. package/lib/typescript/networking/authRefresh.d.ts +4 -1
  270. package/lib/typescript/networking/authRefresh.d.ts.map +1 -1
  271. package/lib/typescript/networking/outboundQueue.d.ts +0 -16
  272. package/lib/typescript/networking/outboundQueue.d.ts.map +1 -1
  273. package/lib/typescript/networking/stanzaHandlers.d.ts.map +1 -1
  274. package/lib/typescript/networking/xmpp/presenceInRoom.xmpp.d.ts.map +1 -1
  275. package/lib/typescript/networking/xmpp/subscribeToRoomMessages.xmpp.d.ts.map +1 -1
  276. package/lib/typescript/networking/xmppClient.d.ts +8 -33
  277. package/lib/typescript/networking/xmppClient.d.ts.map +1 -1
  278. package/lib/typescript/roomStore/chatSettingsSlice.d.ts.map +1 -1
  279. package/lib/typescript/roomStore/roomsSlice.d.ts +1 -18
  280. package/lib/typescript/roomStore/roomsSlice.d.ts.map +1 -1
  281. package/lib/typescript/services/pushSubscriptionService.d.ts +1 -1
  282. package/lib/typescript/services/pushSubscriptionService.d.ts.map +1 -1
  283. package/lib/typescript/types/models/room.model.d.ts +0 -15
  284. package/lib/typescript/types/models/room.model.d.ts.map +1 -1
  285. package/lib/typescript/types/types.d.ts +31 -20
  286. package/lib/typescript/types/types.d.ts.map +1 -1
  287. package/package.json +6 -1
  288. package/src/assets/icons.tsx +48 -9
  289. package/src/components/Header/HeaderRoomList.tsx +24 -6
  290. package/src/components/MainComponents/ChatHeader.tsx +5 -2
  291. package/src/components/MainComponents/ChatRoom.tsx +38 -20
  292. package/src/components/MainComponents/ChatWrapper.tsx +3 -0
  293. package/src/components/MainComponents/MessageList.tsx +8 -24
  294. package/src/components/MainComponents/ProfileImagePlaceholder.tsx +21 -14
  295. package/src/components/MainComponents/RoomList.tsx +236 -39
  296. package/src/components/Menu/HeaderRoomListMenu.tsx +328 -75
  297. package/src/components/Modals/AttachSheet/AttachSheet.tsx +331 -97
  298. package/src/components/Modals/ChatProfileModal/ChatProfileModal.tsx +598 -279
  299. package/src/components/Modals/ChatProfileModal/ReportChatModal.tsx +244 -0
  300. package/src/components/Modals/FilePreviewModal/FilePreviewModal.tsx +4 -2
  301. package/src/components/Modals/Modal/Modal.tsx +7 -0
  302. package/src/components/Modals/NewChatModal/ModalContent.tsx +6 -3
  303. package/src/components/Modals/NewChatModal/NewChatModal.tsx +219 -117
  304. package/src/components/Modals/NewChatModal/UpdNewChatModal.tsx +12 -1
  305. package/src/components/Modals/ProfileHeader/ProfileHeader.tsx +615 -0
  306. package/src/components/Modals/ProfileHeader/ProfileMenu.tsx +217 -0
  307. package/src/components/Modals/SelectUsersModal/SelectUsersModal.tsx +14 -4
  308. package/src/components/Modals/UserProfileModal/EditUserModal.tsx +9 -25
  309. package/src/components/Modals/UserProfileModal/UserProfileModal.tsx +617 -307
  310. package/src/components/Modals/UserSettingsModal/UserSettingsModal.tsx +75 -58
  311. package/src/components/Modals/styledModalComponents.tsx +9 -2
  312. package/src/components/RoomComponents/ChatRoomItem.tsx +14 -7
  313. package/src/components/styled/SendInput.tsx +83 -12
  314. package/src/components/styled/StyledComponents.ts +9 -3
  315. package/src/components/styled/StyledInputComponents/StyledInputComponents.tsx +11 -4
  316. package/src/context/xmppProvider.tsx +36 -47
  317. package/src/helpers/getChatBackground.ts +18 -0
  318. package/src/helpers/mediaLibraryRuntime.ts +25 -0
  319. package/src/helpers/pickImageAsset.ts +68 -0
  320. package/src/helpers/pushPayload.ts +62 -0
  321. package/src/helpers/sheetGestures.ts +25 -0
  322. package/src/helpers/updateMessagesTillLast.tsx +17 -42
  323. package/src/hooks/useChatRoomFocus.ts +3 -11
  324. package/src/hooks/useLogout.tsx +0 -7
  325. package/src/hooks/usePendingNotification.ts +5 -11
  326. package/src/hooks/useSendMessage.tsx +24 -60
  327. package/src/i18n/strings.ts +121 -1
  328. package/src/main.ts +4 -1
  329. package/src/networking/api-requests/user.api.ts +71 -0
  330. package/src/networking/authRefresh.ts +25 -4
  331. package/src/networking/outboundQueue.ts +0 -29
  332. package/src/networking/stanzaHandlers.ts +1 -9
  333. package/src/networking/xmpp/presenceInRoom.xmpp.ts +6 -1
  334. package/src/networking/xmpp/subscribeToRoomMessages.xmpp.ts +12 -1
  335. package/src/networking/xmppClient.ts +65 -119
  336. package/src/roomStore/chatSettingsSlice.ts +3 -1
  337. package/src/roomStore/roomsSlice.ts +2 -20
  338. package/src/services/pushSubscriptionService.ts +18 -13
  339. package/src/types/models/room.model.ts +0 -15
  340. package/src/types/types.ts +33 -20
@@ -1,13 +1,22 @@
1
1
  /** @format */
2
2
  import React from 'react';
3
+ import { shouldClaimVerticalDrag, shouldDismissOnDrag } from '../../../helpers/sheetGestures';
4
+ export interface PickedMedia {
5
+ uri: string;
6
+ name: string;
7
+ mimeType?: string;
8
+ isVideo: boolean;
9
+ }
3
10
  interface AttachSheetProps {
4
11
  visible: boolean;
5
12
  onClose: () => void;
6
13
  onCamera: () => void;
7
14
  onGallery: () => void;
8
15
  onDocument: () => void;
16
+ onPickMedia?: (media: PickedMedia) => void;
9
17
  primaryColor?: string;
10
18
  }
19
+ export { shouldClaimVerticalDrag, shouldDismissOnDrag };
11
20
  declare const AttachSheet: React.FC<AttachSheetProps>;
12
21
  export default AttachSheet;
13
22
  //# sourceMappingURL=AttachSheet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AttachSheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/AttachSheet/AttachSheet.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAAsC,MAAM,OAAO,CAAC;AAe3D,UAAU,gBAAgB;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAOD,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA+L3C,CAAC;AAmFF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"AttachSheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/AttachSheet/AttachSheet.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAAmD,MAAM,OAAO,CAAC;AAmBxE,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACpB,MAAM,gCAAgC,CAAC;AAQxC,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,UAAU,gBAAgB;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAOD,OAAO,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,CAAC;AAwCxD,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAwV3C,CAAC;AAqGF,eAAe,WAAW,CAAC"}
@@ -1,4 +1,14 @@
1
+ /** @format */
1
2
  import React from 'react';
3
+ /**
4
+ * Where the header should sit when search opens: tucked away at the
5
+ * collapsed offset when the picture is still expanded, and left exactly
6
+ * where it is when the user already scrolled it away.
7
+ */
8
+ export declare const searchScrollTarget: (isCollapsed: boolean, collapseDistance: number) => number | null;
9
+ /** Two uppercase letters for a chat without a picture, same rule the
10
+ * avatar placeholder uses for people. */
11
+ export declare const chatInitials: (name?: string | null) => string;
2
12
  interface ChatProfileModalProps {
3
13
  handleCloseModal: any;
4
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ChatProfileModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/ChatProfileModal/ChatProfileModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAyC5D,UAAU,qBAAqB;IAC7B,gBAAgB,EAAE,GAAG,CAAC;CACvB;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAgcrD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"ChatProfileModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/ChatProfileModal/ChatProfileModal.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAA+C,MAAM,OAAO,CAAC;AAqDpE;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAC7B,aAAa,OAAO,EACpB,kBAAkB,MAAM,KACvB,MAAM,GAAG,IAA+C,CAAC;AAE5D;yCACyC;AACzC,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,GAAG,IAAI,KAAG,MAOnD,CAAC;AAEF,UAAU,qBAAqB;IAC7B,gBAAgB,EAAE,GAAG,CAAC;CACvB;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA+lBrD,CAAC;AA+HF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /** @format */
2
+ import React from 'react';
3
+ interface ReportChatModalProps {
4
+ visible: boolean;
5
+ onClose: () => void;
6
+ }
7
+ declare const ReportChatModal: React.FC<ReportChatModalProps>;
8
+ export default ReportChatModal;
9
+ //# sourceMappingURL=ReportChatModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportChatModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/ChatProfileModal/ReportChatModal.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAAmB,MAAM,OAAO,CAAC;AAiCxC,UAAU,oBAAoB;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA+HnD,CAAC;AA4EF,eAAe,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FilePreviewModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/FilePreviewModal/FilePreviewModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AA6G3D,UAAU,qBAAqB;IAC7B,gBAAgB,EAAE,GAAG,CAAC;CACvB;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA2TrD,CAAC;AAkBF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"FilePreviewModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/FilePreviewModal/FilePreviewModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AA6G3D,UAAU,qBAAqB;IAC7B,gBAAgB,EAAE,GAAG,CAAC;CACvB;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA6TrD,CAAC;AAkBF,eAAe,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAMjD,UAAU,UAAU;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,CAAC,KAAK,CAAC,EAAE,SAAS,KAAK,GAAG,CAAC;CAC1C;AAED,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAoC/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAMjD,UAAU,UAAU;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,CAAC,KAAK,CAAC,EAAE,SAAS,KAAK,GAAG,CAAC;CAC1C;AAED,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA2C/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -1,16 +1,18 @@
1
1
  import React from 'react';
2
+ import { PickedImage } from '../../../helpers/pickImageAsset';
2
3
  import { ChatAccessOption } from '../../../types/types';
3
4
  type ModalContentProps = {
4
5
  activeTab: '0' | '1' | null;
5
6
  roomName: string;
6
7
  roomDescription: string;
7
8
  chatType: ChatAccessOption;
8
- profileImage: string | File | null;
9
+ profileImage: string | PickedImage | null;
9
10
  setActiveTab: (tab: '0' | '1' | null) => void;
10
11
  handleRoomNameChange: (e: string) => void;
11
12
  setRoomDescription: (description: string) => void;
12
13
  setChatType: (type: ChatAccessOption) => void;
13
- setProfileImage: (image: string | File | null) => void;
14
+ setProfileImage: (image: string | PickedImage | null) => void;
15
+ onUploadImage: () => void;
14
16
  selectedUsers: any[];
15
17
  setSelectedUsers: (users: any[]) => void;
16
18
  handleCreateRoom: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"ModalContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/NewChatModal/ModalContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAIxD,KAAK,iBAAiB,GAAG;IACvB,SAAS,EAAE,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,YAAY,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IACnC,YAAY,EAAE,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,oBAAoB,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,kBAAkB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD,WAAW,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC9C,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IACvD,aAAa,EAAE,GAAG,EAAE,CAAC;IACrB,gBAAgB,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,IA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K,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9D,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,aAAa,EAAE,GAAG,EAAE,CAAC;IACrB,gBAAgB,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;IACzC,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,SAAS,EAAE,CAAC,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACnE,OAAO,EAAE,gBAAgB,EAAE,CAAC;CAC7B,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAiH7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  interface NewChatModalProps {
3
- handleCloseModal?: any;
3
+ handleCloseModal?: () => void;
4
4
  }
5
5
  declare const NewChatModal: React.FC<NewChatModalProps>;
6
6
  export default NewChatModal;
@@ -1 +1 @@
1
- {"version":3,"file":"NewChatModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/NewChatModal/NewChatModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAyB5D,UAAU,iBAAiB;IACzB,gBAAgB,CAAC,EAAE,GAAG,CAAC;CACxB;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA2U7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"NewChatModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/NewChatModal/NewChatModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AA6BjD,UAAU,iBAAiB;IACzB,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;CAC/B;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAqV7C,CAAC;AA0FF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UpdNewChatModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/NewChatModal/UpdNewChatModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAgBjD,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAqHzB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"UpdNewChatModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/NewChatModal/UpdNewChatModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAiBjD,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EA+HzB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,75 @@
1
+ /** @format */
2
+ import React from 'react';
3
+ import { Animated, StyleProp, TextStyle } from 'react-native';
4
+ /** Height of the expanded photo hero. */
5
+ export declare const HERO_HEIGHT = 320;
6
+ /** Back / "…" row, directly below the status-bar inset. */
7
+ export declare const TOP_BAR_BUTTONS = 60;
8
+ /**
9
+ * Avatar + name row underneath it, revealed as the header collapses.
10
+ * Taller than the 48pt avatar it holds, so the row breathes: the extra
11
+ * height splits evenly above and below (the row centres its content),
12
+ * putting real space between the avatar and both the buttons above and
13
+ * the content below.
14
+ */
15
+ export declare const TOP_BAR_NAME = 92;
16
+ /** Content band of the collapsed bar, below the status-bar inset. */
17
+ export declare const TOP_BAR_BAND: number;
18
+ /** True when the frosted-glass layer is the real thing, not the dim. */
19
+ export declare const hasNativeBlur: () => boolean;
20
+ export interface HeroAction {
21
+ key: string;
22
+ label: string;
23
+ /** Rendered inside a circle tinted for the current background. */
24
+ icon: (color: string) => React.ReactNode;
25
+ onPress: () => void;
26
+ }
27
+ interface CommonProps {
28
+ title: string;
29
+ subtitle?: string;
30
+ imageUri?: string | null;
31
+ /** Background when the chat has no picture — one flat colour, no scrims. */
32
+ fallbackColor: string;
33
+ /** Two uppercase letters shown on that background. */
34
+ initials: string;
35
+ scrollY: Animated.Value;
36
+ /** Prefixes every testID, so each screen's tests address their own. */
37
+ testIDPrefix?: string;
38
+ }
39
+ /** Everything the screen needs to line its scroll content up with the bar. */
40
+ export declare const useHeaderMetrics: () => {
41
+ insets: import("react-native-safe-area-context").EdgeInsets;
42
+ barHeight: number;
43
+ /** Scroll distance between the expanded hero and the collapsed bar. */
44
+ collapseDistance: number;
45
+ };
46
+ /**
47
+ * The chat picture, blown up to a full-bleed hero with the name, member
48
+ * count and the round action buttons on top of it.
49
+ *
50
+ * It lives INSIDE the ScrollView (rather than behind it) so the action
51
+ * buttons stay tappable — an absolutely-positioned hero would sit under a
52
+ * full-screen scroll surface that swallows every touch. Parallax is done
53
+ * on the inner image instead: the wrapper keeps its layout height while
54
+ * the picture drifts at ~⅓ of the scroll speed, and over-scrolling
55
+ * upwards scales it up the way iOS profile headers do.
56
+ */
57
+ export declare const ProfileHero: React.FC<CommonProps & {
58
+ actions: HeroAction[];
59
+ /** Rendered to the right of the name (the profile's Leave button). */
60
+ titleAccessory?: React.ReactNode;
61
+ titleStyle?: StyleProp<TextStyle>;
62
+ subtitleStyle?: StyleProp<TextStyle>;
63
+ }>;
64
+ /**
65
+ * The bar pinned over the hero: back button and the "…" menu are always
66
+ * there, while the frosted picture, small avatar and name fade in as the
67
+ * hero scrolls away — the collapsed state from the design's third screen.
68
+ */
69
+ export declare const ProfileTopBar: React.FC<CommonProps & {
70
+ onBack: () => void;
71
+ menu?: React.ReactNode;
72
+ titleStyle?: StyleProp<TextStyle>;
73
+ }>;
74
+ export {};
75
+ //# sourceMappingURL=ProfileHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProfileHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/ProfileHeader/ProfileHeader.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,QAAQ,EAER,SAAS,EAGT,SAAS,EAGV,MAAM,cAAc,CAAC;AAKtB,yCAAyC;AACzC,eAAO,MAAM,WAAW,MAAM,CAAC;AAC/B,2DAA2D;AAC3D,eAAO,MAAM,eAAe,KAAK,CAAC;AAClC;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,qEAAqE;AACrE,eAAO,MAAM,YAAY,QAAiC,CAAC;AAyC3D,wEAAwE;AACxE,eAAO,MAAM,aAAa,eAAmB,CAAC;AAyC9C,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IACzC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,UAAU,WAAW;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,4EAA4E;IAC5E,aAAa,EAAE,MAAM,CAAC;IACtB,sDAAsD;IACtD,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC;IACxB,uEAAuE;IACvE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,8EAA8E;AAC9E,eAAO,MAAM,gBAAgB;;;IAMzB,uEAAuE;;CAG1E,CAAC;AAYF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAChC,WAAW,GAAG;IACZ,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,sEAAsE;IACtE,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,aAAa,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACtC,CAoKF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAClC,WAAW,GAAG;IACZ,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACnC,CAyGF,CAAC"}
@@ -0,0 +1,25 @@
1
+ /** @format */
2
+ import React from 'react';
3
+ export interface ProfileMenuItem {
4
+ key: string;
5
+ label: string;
6
+ icon: React.ReactNode;
7
+ destructive?: boolean;
8
+ onPress: () => void;
9
+ }
10
+ /**
11
+ * The "…" overflow menu shared by the chat and user profile screens.
12
+ *
13
+ * The shared `DropdownMenu` pins its card at a hard-coded `top: 95`, which
14
+ * on this screen landed it over the host's own tab bar, unanchored to the
15
+ * button. This one measures the button and grows the card out of it: the
16
+ * card scales up from its top-right corner (translate → scale → translate
17
+ * back, which is how you fake a transform-origin in React Native) so the
18
+ * menu visibly unfolds from the three dots.
19
+ */
20
+ declare const ProfileMenu: React.FC<{
21
+ items: ProfileMenuItem[];
22
+ testIDPrefix?: string;
23
+ }>;
24
+ export default ProfileMenu;
25
+ //# sourceMappingURL=ProfileMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProfileMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/ProfileHeader/ProfileMenu.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAA2B,MAAM,OAAO,CAAC;AAchD,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAUD;;;;;;;;;GASG;AACH,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC;IAC1B,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CA2HA,CAAC;AAgDF,eAAe,WAAW,CAAC"}
@@ -1,4 +1,9 @@
1
1
  import React from 'react';
2
- declare const SelectUsersModal: React.FC;
2
+ interface SelectUsersModalProps {
3
+ /** Render the opener yourself (the chat profile uses an "Add Members"
4
+ * row). Falls back to the plain "Add more Users" button. */
5
+ trigger?: (open: () => void) => React.ReactNode;
6
+ }
7
+ declare const SelectUsersModal: React.FC<SelectUsersModalProps>;
3
8
  export default SelectUsersModal;
4
9
  //# sourceMappingURL=SelectUsersModal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectUsersModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/SelectUsersModal/SelectUsersModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAmBxC,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAgH7B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"SelectUsersModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/SelectUsersModal/SelectUsersModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAmBxC,UAAU,qBAAqB;IAC7B;gEAC4D;IAC5D,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,IAAI,KAAK,KAAK,CAAC,SAAS,CAAC;CACjD;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAoHrD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"EditUserModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/UserProfileModal/EditUserModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AA2BxC,UAAU,kBAAkB;IAC1B,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC5D,SAAS,EAAE,GAAG,CAAC;IACf,MAAM,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA+H/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"EditUserModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/UserProfileModal/EditUserModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAcxC,UAAU,kBAAkB;IAC1B,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC5D,SAAS,EAAE,GAAG,CAAC;IACf,MAAM,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA4H/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,4 +1,20 @@
1
+ /** @format */
1
2
  import React from 'react';
3
+ type TabKey = 'language' | 'media' | 'documents';
4
+ /** Two uppercase letters for a person without a picture. */
5
+ export declare const userInitials: (name?: string | null) => string;
6
+ /**
7
+ * Which tabs a profile shows. Only the signed-in user has tabs at all:
8
+ * `GET /v2/files/` returns the JWT owner's files, so there is nothing to
9
+ * put under Media/Documents for anybody else, and the language picker is
10
+ * a personal setting.
11
+ */
12
+ export declare const profileTabs: (opts: {
13
+ isOwnProfile: boolean;
14
+ translatesEnabled: boolean;
15
+ hasMedia: boolean;
16
+ hasDocuments: boolean;
17
+ }) => TabKey[];
2
18
  interface UserProfileModalProps {
3
19
  handleCloseModal: any;
4
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"UserProfileModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/UserProfileModal/UserProfileModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AA8CzE,UAAU,qBAAqB;IAC7B,gBAAgB,EAAE,GAAG,CAAC;CACvB;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA0WrD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"UserProfileModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/UserProfileModal/UserProfileModal.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAA4D,MAAM,OAAO,CAAC;AA8DjF,KAAK,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,WAAW,CAAC;AAEjD,4DAA4D;AAC5D,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,GAAG,IAAI,KAAG,MAOnD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAI,MAAM;IAChC,YAAY,EAAE,OAAO,CAAC;IACtB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;CACvB,KAAG,MAAM,EAOT,CAAC;AAEF,UAAU,qBAAqB;IAC7B,gBAAgB,EAAE,GAAG,CAAC;CACvB;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA2erD,CAAC;AAqIF,eAAe,gBAAgB,CAAC"}
@@ -1,3 +1,4 @@
1
+ /** @format */
1
2
  import React from 'react';
2
3
  interface UserSettingsModalProps {
3
4
  handleCloseModal: any;
@@ -1 +1 @@
1
- {"version":3,"file":"UserSettingsModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/UserSettingsModal/UserSettingsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAgBpD,UAAU,sBAAsB;IAC9B,gBAAgB,EAAE,GAAG,CAAC;CACvB;AAED,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA8DvD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"UserSettingsModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/UserSettingsModal/UserSettingsModal.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAA+B,MAAM,OAAO,CAAC;AAYpD,UAAU,sBAAsB;IAC9B,gBAAgB,EAAE,GAAG,CAAC;CACvB;AAED,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAgDvD,CAAC;AAmCF,eAAe,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"styledModalComponents.d.ts","sourceRoot":"","sources":["../../../../src/components/Modals/styledModalComponents.tsx"],"names":[],"mappings":"AAAA,cAAc;AAKd,eAAO,MAAM,eAAe,iPAQ3B,CAAC;AAEF,eAAO,MAAM,WAAW,mYAQvB,CAAC;AAEF,eAAO,MAAM,cAAc,iPAa1B,CAAC;AAEF,eAAO,MAAM,UAAU,iPAItB,CAAC;AAEF,eAAO,MAAM,gBAAgB,iPAI5B,CAAC;AAEF,eAAO,MAAM,cAAc,iPAK1B,CAAC;AAEF,eAAO,MAAM,wBAAwB,iPASpC,CAAC;AAEF,eAAO,MAAM,eAAe,iPAwB3B,CAAC;AAEF,eAAO,MAAM,UAAU,iPAItB,CAAC;AAEF,eAAO,MAAM,WAAW,iPAIvB,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;oBAK3B,CAAC;AAEF,eAAO,MAAM,YAAY,iPAKxB,CAAC;AAEF,eAAO,MAAM,QAAQ,iPAMpB,CAAC;AAEF,eAAO,MAAM,QAAQ;eACR,MAAM;iBACJ,MAAM;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,6PAExB,CAAC;AAEF,eAAO,MAAM,YAAY,iPAMxB,CAAC;AAEF,eAAO,MAAM,QAAQ,iPAIpB,CAAC;AAEF,eAAO,MAAM,OAAO,iPAInB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChatRoomItem.d.ts","sourceRoot":"","sources":["../../../../src/components/RoomComponents/ChatRoomItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAcnD,UAAU,iBAAiB;IACzB,IAAI,EAAE,KAAK,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAwM7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ChatRoomItem.d.ts","sourceRoot":"","sources":["../../../../src/components/RoomComponents/ChatRoomItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAcnD,UAAU,iBAAiB;IACzB,IAAI,EAAE,KAAK,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA+M7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SendInput.d.ts","sourceRoot":"","sources":["../../../../src/components/styled/SendInput.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAAmD,MAAM,OAAO,CAAC;AAMxE,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AAO,MAAM,YAAY,mYAUxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,iPAI5B,CAAC;AAEF,eAAO,MAAM,YAAY;WAAwB,MAAM;YAAU,MAAM;;WAAtB,MAAM;YAAU,MAAM;oBAItE,CAAC;AAEF,eAAO,MAAM,OAAO,iPAWnB,CAAC;AAEF,eAAO,MAAM,iBAAiB;aACnB,OAAO;YACR,MAAM;eACH,MAAM;;aAFR,OAAO;YACR,MAAM;eACH,MAAM;oBAKlB,CAAC;AAEF,eAAO,MAAM,SAAS,2PAErB,CAAC;AAEF,eAAO,MAAM,mBAAmB,iPAK/B,CAAC;AAEF,eAAO,MAAM,WAAW,iPAKvB,CAAC;AAEF,eAAO,MAAM,eAAe,iPAG3B,CAAC;AAEF,eAAO,MAAM,IAAI,iPAIhB,CAAC;AAEF,eAAO,MAAM,YAAY;iBAA8B,MAAM;;iBAAN,MAAM;oBAK5D,CAAC;AAEF,eAAO,MAAM,aAAa,mYAQzB,CAAC;AAEF,eAAO,MAAM,OAAO;cACR,MAAM;WACT,MAAM;iBACA,OAAO;;cAFV,MAAM;WACT,MAAM;iBACA,OAAO;oBAWrB,CAAC;AAEF,eAAO,MAAM,mBAAmB,iPAS/B,CAAC;AAEF,eAAO,MAAM,aAAa;YAAyB,OAAO;;YAAP,OAAO;oBAazD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"StyledInputComponents.d.ts","sourceRoot":"","sources":["../../../../../src/components/styled/StyledInputComponents/StyledInputComponents.tsx"],"names":[],"mappings":"AAAA,cAAc;AAad,eAAO,MAAM,cAAc;aAA0B,OAAO;;aAAP,OAAO;oBAU3D,CAAC;AAEF,eAAO,MAAM,cAAc,iPAI1B,CAAC;AAEF,eAAO,MAAM,UAAU,mPAItB,CAAC;AAEF,eAAO,MAAM,qBAAqB,iPAKjC,CAAC;AAEF,eAAO,MAAM,YAAY;gBACX,OAAO;YACX,MAAM;eACH,MAAM;iBACJ,MAAM;;gBAHP,OAAO;YACX,MAAM;eACH,MAAM;iBACJ,MAAM;oBAmBpB,CAAC;AAEF,eAAO,MAAM,eAAe,iPAAgB,CAAC;AAE7C,eAAO,MAAM,KAAK,iPAIjB,CAAC;AAEF,eAAO,MAAM,SAAS,iPAIrB,CAAC;AAEF,eAAO,MAAM,iBAAiB,iPAI7B,CAAC;AAEF,eAAO,MAAM,eAAe,iPAK3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,iPAKhC,CAAC;AAEF,eAAO,MAAM,WAAW,iPAUvB,CAAC;AAEF,eAAO,MAAM,QAAQ,mPAGpB,CAAC;AAEF,eAAO,MAAM,YAAY,iPAGxB,CAAC;AAEF,eAAO,MAAM,WAAW,2PAKvB,CAAC;AAEF,eAAO,MAAM,aAAa,2PAMzB,CAAC"}
1
+ {"version":3,"file":"StyledInputComponents.d.ts","sourceRoot":"","sources":["../../../../../src/components/styled/StyledInputComponents/StyledInputComponents.tsx"],"names":[],"mappings":"AAAA,cAAc;AAad,eAAO,MAAM,cAAc;aAA0B,OAAO;;aAAP,OAAO;oBAiB3D,CAAC;AAEF,eAAO,MAAM,cAAc,iPAI1B,CAAC;AAEF,eAAO,MAAM,UAAU,mPAItB,CAAC;AAEF,eAAO,MAAM,qBAAqB,iPAKjC,CAAC;AAEF,eAAO,MAAM,YAAY;gBACX,OAAO;YACX,MAAM;eACH,MAAM;iBACJ,MAAM;;gBAHP,OAAO;YACX,MAAM;eACH,MAAM;iBACJ,MAAM;oBAmBpB,CAAC;AAEF,eAAO,MAAM,eAAe,iPAAgB,CAAC;AAE7C,eAAO,MAAM,KAAK,iPAIjB,CAAC;AAEF,eAAO,MAAM,SAAS,iPAIrB,CAAC;AAEF,eAAO,MAAM,iBAAiB,iPAI7B,CAAC;AAEF,eAAO,MAAM,eAAe,iPAK3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,iPAKhC,CAAC;AAEF,eAAO,MAAM,WAAW,iPAUvB,CAAC;AAEF,eAAO,MAAM,QAAQ,mPAGpB,CAAC;AAEF,eAAO,MAAM,YAAY,iPAGxB,CAAC;AAEF,eAAO,MAAM,WAAW,2PAKvB,CAAC;AAEF,eAAO,MAAM,aAAa,2PAMzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"xmppProvider.d.ts","sourceRoot":"","sources":["../../../src/context/xmppProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,SAAS,EAQV,MAAM,OAAO,CAAC;AAIf,OAAO,UAEN,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACL,OAAO,EACP,uBAAuB,EAEvB,qBAAqB,EACtB,MAAM,gBAAgB,CAAC;AAkCxB,UAAU,QAAQ;IAChB,OAAO,EAAE,UAAU,GAAG,MAAM,CAAC;CAC9B;AAED,UAAU,eAAe;IACvB,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;IAC1B,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,QAAQ,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC;IAC9B,SAAS,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/C,gBAAgB,EAAE,CAChB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,YAAY,CAAC,EAAE,qBAAqB,KACjC,OAAO,CAAC,UAAU,CAAC,CAAC;CAC1B;AAID,UAAU,iBAAiB;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IAIjB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAID,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAqwBpD,CAAC;AAEF,eAAO,MAAM,aAAa,uBAkBzB,CAAC;AAEF,iFAAiF;AACjF,wBAAgB,cAAc,SAE7B"}
1
+ {"version":3,"file":"xmppProvider.d.ts","sourceRoot":"","sources":["../../../src/context/xmppProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,SAAS,EAQV,MAAM,OAAO,CAAC;AAIf,OAAO,UAEN,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACL,OAAO,EACP,uBAAuB,EAEvB,qBAAqB,EACtB,MAAM,gBAAgB,CAAC;AAmCxB,UAAU,QAAQ;IAChB,OAAO,EAAE,UAAU,GAAG,MAAM,CAAC;CAC9B;AAED,UAAU,eAAe;IACvB,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;IAC1B,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,QAAQ,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC;IAC9B,SAAS,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/C,gBAAgB,EAAE,CAChB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,YAAY,CAAC,EAAE,qBAAqB,KACjC,OAAO,CAAC,UAAU,CAAC,CAAC;CAC1B;AAID,UAAU,iBAAiB;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IAIjB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAcD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA+uBpD,CAAC;AAEF,eAAO,MAAM,aAAa,uBAkBzB,CAAC;AAEF,iFAAiF;AACjF,wBAAgB,cAAc,SAE7B"}
@@ -0,0 +1,15 @@
1
+ /** @format */
2
+ import type { IConfig } from '../types/types';
3
+ /** Ground behind the conversation, and behind the rounded corners of the
4
+ * header and the composer that sit over it. */
5
+ export declare const DEFAULT_CHAT_BACKGROUND = "#F3F6FC";
6
+ /**
7
+ * One place for the conversation's background colour.
8
+ *
9
+ * The message list has always painted it; the chat container behind it was
10
+ * plain white, which is what made the header's rounded bottom corners and
11
+ * the composer's rounded top corners invisible — the corners revealed the
12
+ * white parent, not the conversation.
13
+ */
14
+ export declare const getChatBackgroundColor: (config?: IConfig) => string;
15
+ //# sourceMappingURL=getChatBackground.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getChatBackground.d.ts","sourceRoot":"","sources":["../../../src/helpers/getChatBackground.ts"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAE9C;+CAC+C;AAC/C,eAAO,MAAM,uBAAuB,YAAY,CAAC;AAEjD;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,GAAI,SAAS,OAAO,KAAG,MACA,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const getMediaLibrary: () => any | null;
2
+ export declare const __resetMediaLibraryCache: () => void;
3
+ //# sourceMappingURL=mediaLibraryRuntime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mediaLibraryRuntime.d.ts","sourceRoot":"","sources":["../../../src/helpers/mediaLibraryRuntime.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,QAAO,GAAG,GAAG,IAkBxC,CAAC;AAEF,eAAO,MAAM,wBAAwB,YAEpC,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * A picked image in the shape React Native's FormData understands.
3
+ *
4
+ * NOT a web `File`: RN streams a multipart part straight from a `file://`
5
+ * uri and has no usable Blob/File/atob path. Screens ported from the web
6
+ * client used to carry base64 -> Blob -> File helpers that could never
7
+ * have run here.
8
+ */
9
+ export interface PickedImage {
10
+ uri: string;
11
+ type: string;
12
+ name: string;
13
+ }
14
+ /**
15
+ * Ask for library permission, open the picker, and normalise the result.
16
+ *
17
+ * Returns `null` for every non-error outcome — permission refused, user
18
+ * cancelled — so call sites can simply keep their current value.
19
+ *
20
+ * Exists because the avatar pickers are wired to `onPress`, which hands
21
+ * the callback a SyntheticEvent. Storing that event as "the image" (what
22
+ * two screens used to do) rendered a pooled event as an <Image source>
23
+ * and then crashed with "Property is not configurable" when React tried
24
+ * to release it — on top of never letting the user pick anything.
25
+ */
26
+ export declare const pickImageAsset: () => Promise<PickedImage | null>;
27
+ //# sourceMappingURL=pickImageAsset.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pickImageAsset.d.ts","sourceRoot":"","sources":["../../../src/helpers/pickImageAsset.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,QAAa,OAAO,CAAC,WAAW,GAAG,IAAI,CAsCjE,CAAC"}
@@ -0,0 +1,7 @@
1
+ export type PushPayloadOutcome = 'call' | 'room' | 'pending' | 'unknown';
2
+ export declare const PENDING_NOTIFICATION_JID_KEY = "ethora_pending_notification_jid";
3
+ export declare const PENDING_NOTIFICATION_TTL_MS: number;
4
+ export declare const readPendingJid: () => Promise<string | null>;
5
+ export declare const openRoomFromPush: (jid: string) => "room" | "pending";
6
+ export declare const handlePushPayload: (data: Record<string, unknown> | null | undefined) => PushPayloadOutcome;
7
+ //# sourceMappingURL=pushPayload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pushPayload.d.ts","sourceRoot":"","sources":["../../../src/helpers/pushPayload.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AAEzE,eAAO,MAAM,4BAA4B,oCAAoC,CAAC;AAC9E,eAAO,MAAM,2BAA2B,QAAgB,CAAC;AAEzD,eAAO,MAAM,cAAc,QAAa,OAAO,CAAC,MAAM,GAAG,IAAI,CAgB5D,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,KAAK,MAAM,KAAG,MAAM,GAAG,SAgBvD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,KAC/C,kBAQF,CAAC"}
@@ -0,0 +1,20 @@
1
+ /** @format */
2
+ /**
3
+ * Shared thresholds for the drag-to-dismiss gesture on bottom sheets (the
4
+ * attach sheet, the profile headers, the room-list menu). Kept in one
5
+ * place so a pull feels identical wherever the user does it — and so the
6
+ * numbers are unit-testable without a touch event.
7
+ */
8
+ /** Drag past this many points and letting go dismisses the sheet. */
9
+ export declare const DISMISS_DISTANCE = 90;
10
+ /** …or flick faster than this, however short the drag. */
11
+ export declare const DISMISS_VELOCITY = 0.8;
12
+ /**
13
+ * Claim a drag only once it is clearly a downward pull, so a tap on a row
14
+ * still registers and a horizontal swipe stays with whatever scrolls
15
+ * sideways inside the sheet.
16
+ */
17
+ export declare const shouldClaimVerticalDrag: (dy: number, dx: number) => boolean;
18
+ /** Far enough / fast enough to let go of the sheet. */
19
+ export declare const shouldDismissOnDrag: (dy: number, vy: number) => boolean;
20
+ //# sourceMappingURL=sheetGestures.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sheetGestures.d.ts","sourceRoot":"","sources":["../../../src/helpers/sheetGestures.ts"],"names":[],"mappings":"AAAA,cAAc;AAEd;;;;;GAKG;AAEH,qEAAqE;AACrE,eAAO,MAAM,gBAAgB,KAAK,CAAC;AACnC,0DAA0D;AAC1D,eAAO,MAAM,gBAAgB,MAAM,CAAC;AAEpC;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,GAAI,IAAI,MAAM,EAAE,IAAI,MAAM,YACjB,CAAC;AAE9C,uDAAuD;AACvD,eAAO,MAAM,mBAAmB,GAAI,IAAI,MAAM,EAAE,IAAI,MAAM,YACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"updateMessagesTillLast.d.ts","sourceRoot":"","sources":["../../../src/helpers/updateMessagesTillLast.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAGlD,OAAO,EAAY,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAWjD,eAAO,MAAM,sBAAsB,GACjC,OAAO;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC;CACtB,EACD,QAAQ,UAAU,EAClB,kBAAa,EACb,yBAAoB,EACpB,yBAAoB,kBA8GrB,CAAC"}
1
+ {"version":3,"file":"updateMessagesTillLast.d.ts","sourceRoot":"","sources":["../../../src/helpers/updateMessagesTillLast.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAGlD,OAAO,EAAY,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAWjD,eAAO,MAAM,sBAAsB,GACjC,OAAO;IACL,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC;CACtB,EACD,QAAQ,UAAU,EAClB,kBAAa,EACb,yBAAoB,EACpB,yBAAoB,kBAqFrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useChatRoomFocus.d.ts","sourceRoot":"","sources":["../../../src/hooks/useChatRoomFocus.ts"],"names":[],"mappings":"AAUA,UAAU,uBAAuB;IAC/B,wEAAwE;IACxE,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC;;;;;;;OAOG;IACH,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,gBAAgB,GAAI,yBAG9B,uBAAuB,SA+CzB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"useChatRoomFocus.d.ts","sourceRoot":"","sources":["../../../src/hooks/useChatRoomFocus.ts"],"names":[],"mappings":"AAUA,UAAU,uBAAuB;IAC/B,wEAAwE;IACxE,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC;;;;;;;OAOG;IACH,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,gBAAgB,GAAI,yBAG9B,uBAAuB,SAuCzB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useLogout.d.ts","sourceRoot":"","sources":["../../../src/hooks/useLogout.tsx"],"names":[],"mappings":"AA0BA,QAAA,MAAM,aAAa;IACjB;;;;;;;;;;;;;;;;;;;;OAoBG;yBACsB,OAAO,CAAC,IAAI,CAAC;CAmGvC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,SAAS,QAAO,CAAC,MAAM,OAAO,CAAC,IAAI,CAAC,CAahD,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"useLogout.d.ts","sourceRoot":"","sources":["../../../src/hooks/useLogout.tsx"],"names":[],"mappings":"AA0BA,QAAA,MAAM,aAAa;IACjB;;;;;;;;;;;;;;;;;;;;OAoBG;yBACsB,OAAO,CAAC,IAAI,CAAC;CA4FvC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,SAAS,QAAO,CAAC,MAAM,OAAO,CAAC,IAAI,CAAC,CAahD,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"usePendingNotification.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePendingNotification.ts"],"names":[],"mappings":"AAQA,wBAAgB,sBAAsB;;EAsCrC;AAED,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"usePendingNotification.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePendingNotification.ts"],"names":[],"mappings":"AAQA,wBAAgB,sBAAsB;;EAgCrC;AAED,eAAe,sBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSendMessage.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSendMessage.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,OAAO,EAAY,MAAM,gBAAgB,CAAC;AAwCxD,eAAO,MAAM,cAAc,GAAI,kBAAkB,OAAO;2BAwCzC,MAAM,iBACA,MAAM,YACX,OAAO,cACL,OAAO,gBACL,MAAM,eAOP,MAAM;sBAkQb,GAAG,QACH,MAAM,iBACG,MAAM,YACZ,OAAO,cACL,OAAO,gBACL,MAAM,eACN,MAAM;+BAsYL,MAAM,mBAAmB,MAAM;6BAvD9B,MAAM;kDAwFb,MAAM,KAAG,OAAO;CAoB7B,CAAC"}
1
+ {"version":3,"file":"useSendMessage.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSendMessage.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,OAAO,EAAY,MAAM,gBAAgB,CAAC;AAwCxD,eAAO,MAAM,cAAc,GAAI,kBAAkB,OAAO;2BAwCzC,MAAM,iBACA,MAAM,YACX,OAAO,cACL,OAAO,gBACL,MAAM,eAOP,MAAM;sBA6Ob,GAAG,QACH,MAAM,iBACG,MAAM,YACZ,OAAO,cACL,OAAO,gBACL,MAAM,eACN,MAAM;+BA2XL,MAAM,mBAAmB,MAAM;6BAvD9B,MAAM;kDAwFb,MAAM,KAAG,OAAO;CAoB7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"strings.d.ts","sourceRoot":"","sources":["../../../src/i18n/strings.ts"],"names":[],"mappings":"AAaA,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAouCnD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAOzD,CAAC;AAEF,eAAO,MAAM,mBAAmB,OAAO,CAAC;AAExC,gFAAgF;AAChF,eAAO,MAAM,cAAc,GAAI,SAAS,MAAM,GAAG,IAAI,KAAG,MAIf,CAAC;AAE1C;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAC7B,SAAS,MAAM,GAAG,IAAI,EACtB,YAAY,aAAa,GAAG,IAAI,KAC/B,aAQF,CAAC;AAEF,6DAA6D;AAC7D,eAAO,MAAM,WAAW,GACtB,UAAU,MAAM,EAChB,OAAO,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KACrC,MAKF,CAAC;AAEF,uDAAuD;AACvD,eAAO,MAAM,YAAY,GACvB,KAAK,MAAM,EACX,SAAS,MAAM,GAAG,IAAI,EACtB,YAAY,aAAa,GAAG,IAAI,EAChC,OAAO,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KACrC,MAGF,CAAC"}
1
+ {"version":3,"file":"strings.d.ts","sourceRoot":"","sources":["../../../src/i18n/strings.ts"],"names":[],"mappings":"AAaA,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AA41CnD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAOzD,CAAC;AAEF,eAAO,MAAM,mBAAmB,OAAO,CAAC;AAExC,gFAAgF;AAChF,eAAO,MAAM,cAAc,GAAI,SAAS,MAAM,GAAG,IAAI,KAAG,MAIf,CAAC;AAE1C;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAC7B,SAAS,MAAM,GAAG,IAAI,EACtB,YAAY,aAAa,GAAG,IAAI,KAC/B,aAQF,CAAC;AAEF,6DAA6D;AAC7D,eAAO,MAAM,WAAW,GACtB,UAAU,MAAM,EAChB,OAAO,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KACrC,MAKF,CAAC;AAEF,uDAAuD;AACvD,eAAO,MAAM,YAAY,GACvB,KAAK,MAAM,EACX,SAAS,MAAM,GAAG,IAAI,EACtB,YAAY,aAAa,GAAG,IAAI,EAChC,OAAO,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KACrC,MAGF,CAAC"}
@@ -26,8 +26,10 @@ import 'react-native-get-random-values';
26
26
  export { ReduxWrapper as Chat } from './components/MainComponents/ReduxWrapper';
27
27
  export { XmppProvider } from './context/xmppProvider';
28
28
  export { useUnread } from './hooks/useUnreadMessagesCounter';
29
+ export { handlePushPayload, openRoomFromPush } from './helpers/pushPayload';
30
+ export type { PushPayloadOutcome } from './helpers/pushPayload';
29
31
  export { useChatRoomFocus } from './hooks/useChatRoomFocus';
30
- export { logoutService } from './hooks/useLogout';
32
+ export { logoutService, useLogout } from './hooks/useLogout';
31
33
  export { useQRCodeChat, handleQRChatId } from './hooks/useQRCodeChatHandler';
32
34
  export { resendMessage } from './utils/resendMessage';
33
35
  export { useChatFonts } from './hooks/useChatFonts';
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,gCAAgC,CAAC;AAGxC,OAAO,EAAE,YAAY,IAAI,IAAI,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAGtD,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAKpD,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,YAAY,GACb,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAIpD,YAAY,EACV,OAAO,EACP,KAAK,EACL,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,cAAc,GACf,MAAM,eAAe,C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,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,cAAc,GACf,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,YAAY,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAQjE,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAClC,YAAY,EACV,gBAAgB,EAChB,aAAa,EACb,cAAc,GACf,MAAM,0BAA0B,CAAC"}
@@ -12,5 +12,32 @@ export declare function updateMe(data: any): Promise<import("axios").AxiosRespon
12
12
  export declare function updateProfile(fd: FormData): Promise<{
13
13
  user: User;
14
14
  }>;
15
+ /** One entry of `GET /v2/files/`, normalised for the UI. */
16
+ export interface UserFile {
17
+ id: string;
18
+ name: string;
19
+ url: string;
20
+ mimetype: string;
21
+ createdAt?: string;
22
+ size?: number;
23
+ }
24
+ /**
25
+ * Files uploaded by the signed-in user (the JWT owner) — the profile
26
+ * screen's Media and Documents tabs.
27
+ *
28
+ * v2 answers `{ results, pagination }` and, for backward compatibility,
29
+ * also `{ limit, offset, total, items }`; older deployments only have the
30
+ * legacy shape. Read whichever is there instead of betting on one. Field
31
+ * names vary the same way between deployments (`location` vs `locations[]`,
32
+ * `originalname` vs `filename`), so each one falls through its aliases and
33
+ * anything without a usable URL is dropped rather than rendered as a dead
34
+ * row.
35
+ */
36
+ export declare function getUserFiles(options?: {
37
+ limit?: number;
38
+ offset?: number;
39
+ }): Promise<UserFile[]>;
40
+ /** Images and video go to the Media tab, everything else to Documents. */
41
+ export declare const isMediaFile: (file: UserFile) => boolean;
15
42
  export {};
16
43
  //# sourceMappingURL=user.api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.api.d.ts","sourceRoot":"","sources":["../../../../src/networking/api-requests/user.api.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,UAAU,gBAAgB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAsB,SAAS,CAAC,OAAO,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAazE;AAED,wBAAgB,YAAY,CAAC,aAAa,EAAE,MAAM,wDAOjD;AAED,wBAAgB,eAAe,yDAQ9B;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,wDAO5C;AAED,wBAAgB,QAAQ,yDAEvB;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,GAAG,wDAEjC;AAED,wBAAsB,aAAa,CAAC,EAAE,EAAE,QAAQ,GAAG,OAAO,CAAC;IAAE,IAAI,EAAE,IAAI,CAAA;CAAE,CAAC,CAczE"}
1
+ {"version":3,"file":"user.api.d.ts","sourceRoot":"","sources":["../../../../src/networking/api-requests/user.api.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,UAAU,gBAAgB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAsB,SAAS,CAAC,OAAO,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAazE;AAED,wBAAgB,YAAY,CAAC,aAAa,EAAE,MAAM,wDAOjD;AAED,wBAAgB,eAAe,yDAQ9B;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,wDAO5C;AAED,wBAAgB,QAAQ,yDAEvB;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,GAAG,wDAEjC;AAED,wBAAsB,aAAa,CAAC,EAAE,EAAE,QAAQ,GAAG,OAAO,CAAC;IAAE,IAAI,EAAE,IAAI,CAAA;CAAE,CAAC,CAczE;AAED,4DAA4D;AAC5D,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,YAAY,CAAC,OAAO,CAAC,EAAE;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC,CAiCtB;AAED,0EAA0E;AAC1E,eAAO,MAAM,WAAW,GAAI,MAAM,QAAQ,KAAG,OAQ5C,CAAC"}
@@ -86,7 +86,10 @@ export declare function refreshAuthTokens(options?: RefreshOptions): Promise<Ref
86
86
  * tokens are fresh" and have no meaningful error handling — chat
87
87
  * bootstrap, XMPP reconnect. Never rejects.
88
88
  */
89
- export declare function refreshAuthTokensQuietly(): Promise<RefreshResult | null>;
89
+ export interface QuietRefreshOptions {
90
+ force?: boolean;
91
+ }
92
+ export declare function refreshAuthTokensQuietly(options?: QuietRefreshOptions): Promise<RefreshResult | null>;
90
93
  /** Test seam — drops any shared in-flight promise between cases. */
91
94
  export declare function __resetAuthRefreshStateForTests(): void;
92
95
  //# sourceMappingURL=authRefresh.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"authRefresh.d.ts","sourceRoot":"","sources":["../../../src/networking/authRefresh.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,MAAM,MAAM,gBAAgB,GACxB,qBAAqB,GACrB,+BAA+B,GAC/B,8BAA8B,GAC9B,yBAAyB,CAAC;AAE9B,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB;;;;;OAKG;IACH,OAAO,C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