@planningcenter/chat-react-native 3.30.0-rc.1 → 3.30.0-rc.2

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 (895) hide show
  1. package/build/components/conversation/attachments/attachment_card.js +3 -3
  2. package/build/components/conversation/attachments/attachment_card.js.map +1 -1
  3. package/build/components/conversation/attachments/attachment_deleting_overlay.js +2 -2
  4. package/build/components/conversation/attachments/attachment_deleting_overlay.js.map +1 -1
  5. package/build/components/conversation/attachments/audio_attachment.d.ts +1 -1
  6. package/build/components/conversation/attachments/audio_attachment.d.ts.map +1 -1
  7. package/build/components/conversation/attachments/audio_attachment.js +3 -3
  8. package/build/components/conversation/attachments/audio_attachment.js.map +1 -1
  9. package/build/components/conversation/attachments/expanded_link.d.ts +1 -1
  10. package/build/components/conversation/attachments/expanded_link.d.ts.map +1 -1
  11. package/build/components/conversation/attachments/expanded_link.js +3 -3
  12. package/build/components/conversation/attachments/expanded_link.js.map +1 -1
  13. package/build/components/conversation/attachments/generic_file_attachment.d.ts +1 -1
  14. package/build/components/conversation/attachments/generic_file_attachment.d.ts.map +1 -1
  15. package/build/components/conversation/attachments/generic_file_attachment.js +4 -4
  16. package/build/components/conversation/attachments/generic_file_attachment.js.map +1 -1
  17. package/build/components/conversation/attachments/giphy_attachment.d.ts +1 -1
  18. package/build/components/conversation/attachments/giphy_attachment.d.ts.map +1 -1
  19. package/build/components/conversation/attachments/giphy_attachment.js +4 -4
  20. package/build/components/conversation/attachments/giphy_attachment.js.map +1 -1
  21. package/build/components/conversation/attachments/image_attachment.d.ts +1 -1
  22. package/build/components/conversation/attachments/image_attachment.d.ts.map +1 -1
  23. package/build/components/conversation/attachments/image_attachment.js +5 -5
  24. package/build/components/conversation/attachments/image_attachment.js.map +1 -1
  25. package/build/components/conversation/attachments/video_attachment.d.ts +1 -1
  26. package/build/components/conversation/attachments/video_attachment.d.ts.map +1 -1
  27. package/build/components/conversation/attachments/video_attachment.js +4 -4
  28. package/build/components/conversation/attachments/video_attachment.js.map +1 -1
  29. package/build/components/conversation/empty_conversation_blank_state.js +1 -1
  30. package/build/components/conversation/empty_conversation_blank_state.js.map +1 -1
  31. package/build/components/conversation/jump_to_bottom_button.js +3 -3
  32. package/build/components/conversation/jump_to_bottom_button.js.map +1 -1
  33. package/build/components/conversation/message.d.ts +1 -1
  34. package/build/components/conversation/message.d.ts.map +1 -1
  35. package/build/components/conversation/message.js +12 -12
  36. package/build/components/conversation/message.js.map +1 -1
  37. package/build/components/conversation/message_attachments.d.ts +1 -1
  38. package/build/components/conversation/message_attachments.d.ts.map +1 -1
  39. package/build/components/conversation/message_attachments.js +1 -1
  40. package/build/components/conversation/message_attachments.js.map +1 -1
  41. package/build/components/conversation/message_form/message_form_attachment_image.d.ts +1 -1
  42. package/build/components/conversation/message_form/message_form_attachment_image.d.ts.map +1 -1
  43. package/build/components/conversation/message_form/message_form_attachment_image.js +1 -1
  44. package/build/components/conversation/message_form/message_form_attachment_image.js.map +1 -1
  45. package/build/components/conversation/message_form/message_form_attachment_video.d.ts +1 -1
  46. package/build/components/conversation/message_form/message_form_attachment_video.d.ts.map +1 -1
  47. package/build/components/conversation/message_form/message_form_attachment_video.js +1 -1
  48. package/build/components/conversation/message_form/message_form_attachment_video.js.map +1 -1
  49. package/build/components/conversation/message_form.d.ts +1 -1
  50. package/build/components/conversation/message_form.d.ts.map +1 -1
  51. package/build/components/conversation/message_form.js +12 -12
  52. package/build/components/conversation/message_form.js.map +1 -1
  53. package/build/components/conversation/message_markdown.js +3 -3
  54. package/build/components/conversation/message_markdown.js.map +1 -1
  55. package/build/components/conversation/message_reaction.d.ts +2 -2
  56. package/build/components/conversation/message_reaction.d.ts.map +1 -1
  57. package/build/components/conversation/message_reaction.js +6 -6
  58. package/build/components/conversation/message_reaction.js.map +1 -1
  59. package/build/components/conversation/message_read_receipts.d.ts +1 -1
  60. package/build/components/conversation/message_read_receipts.d.ts.map +1 -1
  61. package/build/components/conversation/message_read_receipts.js +2 -2
  62. package/build/components/conversation/message_read_receipts.js.map +1 -1
  63. package/build/components/conversation/messages_disabled_banners.js +2 -2
  64. package/build/components/conversation/messages_disabled_banners.js.map +1 -1
  65. package/build/components/conversation/reply_connectors.d.ts +1 -1
  66. package/build/components/conversation/reply_connectors.d.ts.map +1 -1
  67. package/build/components/conversation/reply_connectors.js +2 -2
  68. package/build/components/conversation/reply_connectors.js.map +1 -1
  69. package/build/components/conversation/reply_shadow_message.d.ts +1 -1
  70. package/build/components/conversation/reply_shadow_message.d.ts.map +1 -1
  71. package/build/components/conversation/reply_shadow_message.js +6 -6
  72. package/build/components/conversation/reply_shadow_message.js.map +1 -1
  73. package/build/components/conversation/typing_indicator.js +3 -3
  74. package/build/components/conversation/typing_indicator.js.map +1 -1
  75. package/build/components/conversations/conversation_actions.d.ts +1 -1
  76. package/build/components/conversations/conversation_actions.d.ts.map +1 -1
  77. package/build/components/conversations/conversation_actions.js +5 -5
  78. package/build/components/conversations/conversation_actions.js.map +1 -1
  79. package/build/components/conversations/conversation_preview.d.ts +1 -1
  80. package/build/components/conversations/conversation_preview.d.ts.map +1 -1
  81. package/build/components/conversations/conversation_preview.js +3 -3
  82. package/build/components/conversations/conversation_preview.js.map +1 -1
  83. package/build/components/conversations/conversations.js +5 -5
  84. package/build/components/conversations/conversations.js.map +1 -1
  85. package/build/components/conversations/mute_indicator.js +3 -3
  86. package/build/components/conversations/mute_indicator.js.map +1 -1
  87. package/build/components/conversations/swipeable_toggle_button.d.ts +1 -1
  88. package/build/components/conversations/swipeable_toggle_button.d.ts.map +1 -1
  89. package/build/components/conversations/swipeable_toggle_button.js +5 -5
  90. package/build/components/conversations/swipeable_toggle_button.js.map +1 -1
  91. package/build/components/conversations/unread_count_badge.js +3 -3
  92. package/build/components/conversations/unread_count_badge.js.map +1 -1
  93. package/build/components/display/action_button.d.ts.map +1 -1
  94. package/build/components/display/action_button.js +2 -2
  95. package/build/components/display/action_button.js.map +1 -1
  96. package/build/components/display/avatar.d.ts +1 -1
  97. package/build/components/display/avatar.d.ts.map +1 -1
  98. package/build/components/display/avatar.js +1 -1
  99. package/build/components/display/avatar.js.map +1 -1
  100. package/build/components/display/avatar_group.d.ts +1 -1
  101. package/build/components/display/avatar_group.d.ts.map +1 -1
  102. package/build/components/display/avatar_group.js +1 -1
  103. package/build/components/display/avatar_group.js.map +1 -1
  104. package/build/components/display/badge.d.ts.map +1 -1
  105. package/build/components/display/badge.js +3 -3
  106. package/build/components/display/badge.js.map +1 -1
  107. package/build/components/display/banner.d.ts +1 -1
  108. package/build/components/display/banner.d.ts.map +1 -1
  109. package/build/components/display/banner.js +1 -1
  110. package/build/components/display/banner.js.map +1 -1
  111. package/build/components/display/banner_collapsible.d.ts.map +1 -1
  112. package/build/components/display/banner_collapsible.js +1 -1
  113. package/build/components/display/banner_collapsible.js.map +1 -1
  114. package/build/components/display/button.d.ts.map +1 -1
  115. package/build/components/display/button.js +3 -3
  116. package/build/components/display/button.js.map +1 -1
  117. package/build/components/display/child_notice.d.ts +1 -1
  118. package/build/components/display/child_notice.d.ts.map +1 -1
  119. package/build/components/display/child_notice.js +2 -2
  120. package/build/components/display/child_notice.js.map +1 -1
  121. package/build/components/display/heading.js +3 -3
  122. package/build/components/display/heading.js.map +1 -1
  123. package/build/components/display/icon.js +1 -1
  124. package/build/components/display/icon.js.map +1 -1
  125. package/build/components/display/icon_button.d.ts.map +1 -1
  126. package/build/components/display/icon_button.js +2 -2
  127. package/build/components/display/icon_button.js.map +1 -1
  128. package/build/components/display/image.js +1 -1
  129. package/build/components/display/image.js.map +1 -1
  130. package/build/components/display/image_attachment_preview.js +2 -2
  131. package/build/components/display/image_attachment_preview.js.map +1 -1
  132. package/build/components/display/keyboard_view.js +1 -1
  133. package/build/components/display/keyboard_view.js.map +1 -1
  134. package/build/components/display/person.d.ts +1 -1
  135. package/build/components/display/person.d.ts.map +1 -1
  136. package/build/components/display/person.js +1 -1
  137. package/build/components/display/person.js.map +1 -1
  138. package/build/components/display/platform_modal_header_buttons.js +1 -1
  139. package/build/components/display/platform_modal_header_buttons.js.map +1 -1
  140. package/build/components/display/pressable_row.d.ts.map +1 -1
  141. package/build/components/display/pressable_row.js +1 -1
  142. package/build/components/display/pressable_row.js.map +1 -1
  143. package/build/components/display/spinner.js +1 -1
  144. package/build/components/display/spinner.js.map +1 -1
  145. package/build/components/display/switch.js +1 -1
  146. package/build/components/display/switch.js.map +1 -1
  147. package/build/components/display/tabs.js +1 -1
  148. package/build/components/display/tabs.js.map +1 -1
  149. package/build/components/display/text.js +2 -2
  150. package/build/components/display/text.js.map +1 -1
  151. package/build/components/display/text_button.d.ts.map +1 -1
  152. package/build/components/display/text_button.js +2 -2
  153. package/build/components/display/text_button.js.map +1 -1
  154. package/build/components/display/text_inline_button.d.ts.map +1 -1
  155. package/build/components/display/text_inline_button.js +2 -2
  156. package/build/components/display/text_inline_button.js.map +1 -1
  157. package/build/components/display/toggle_button.d.ts.map +1 -1
  158. package/build/components/display/toggle_button.js +4 -4
  159. package/build/components/display/toggle_button.js.map +1 -1
  160. package/build/components/display/utils/button_colors.js +1 -1
  161. package/build/components/display/utils/button_colors.js.map +1 -1
  162. package/build/components/display/utils/status_colors.js +1 -1
  163. package/build/components/display/utils/status_colors.js.map +1 -1
  164. package/build/components/display/video_attachment_preview.js +3 -3
  165. package/build/components/display/video_attachment_preview.js.map +1 -1
  166. package/build/components/group_conversation_list.d.ts +1 -1
  167. package/build/components/group_conversation_list.d.ts.map +1 -1
  168. package/build/components/group_conversation_list.js +2 -2
  169. package/build/components/group_conversation_list.js.map +1 -1
  170. package/build/components/page/error_boundary.d.ts +1 -1
  171. package/build/components/page/error_boundary.d.ts.map +1 -1
  172. package/build/components/page/error_boundary.js +2 -2
  173. package/build/components/page/error_boundary.js.map +1 -1
  174. package/build/components/page/loading.js +1 -1
  175. package/build/components/page/loading.js.map +1 -1
  176. package/build/components/primitive/avatar_primitive.d.ts +2 -2
  177. package/build/components/primitive/avatar_primitive.d.ts.map +1 -1
  178. package/build/components/primitive/avatar_primitive.js +5 -5
  179. package/build/components/primitive/avatar_primitive.js.map +1 -1
  180. package/build/components/primitive/banner_primitive.d.ts +2 -2
  181. package/build/components/primitive/banner_primitive.d.ts.map +1 -1
  182. package/build/components/primitive/banner_primitive.js +8 -8
  183. package/build/components/primitive/banner_primitive.js.map +1 -1
  184. package/build/components/primitive/blank_state_primitive.d.ts +1 -1
  185. package/build/components/primitive/blank_state_primitive.d.ts.map +1 -1
  186. package/build/components/primitive/blank_state_primitive.js +2 -2
  187. package/build/components/primitive/blank_state_primitive.js.map +1 -1
  188. package/build/components/primitive/form_sheet.d.ts +2 -2
  189. package/build/components/primitive/form_sheet.d.ts.map +1 -1
  190. package/build/components/primitive/form_sheet.js +3 -3
  191. package/build/components/primitive/form_sheet.js.map +1 -1
  192. package/build/components/safe_area_modal.js +1 -1
  193. package/build/components/safe_area_modal.js.map +1 -1
  194. package/build/contexts/api_provider.js +4 -4
  195. package/build/contexts/api_provider.js.map +1 -1
  196. package/build/contexts/chat_context.d.ts +6 -6
  197. package/build/contexts/chat_context.d.ts.map +1 -1
  198. package/build/contexts/chat_context.js +2 -2
  199. package/build/contexts/chat_context.js.map +1 -1
  200. package/build/contexts/conversations_context.d.ts +2 -2
  201. package/build/contexts/conversations_context.d.ts.map +1 -1
  202. package/build/contexts/conversations_context.js +1 -1
  203. package/build/contexts/conversations_context.js.map +1 -1
  204. package/build/contexts/session_context.d.ts +3 -3
  205. package/build/contexts/session_context.d.ts.map +1 -1
  206. package/build/contexts/session_context.js +6 -6
  207. package/build/contexts/session_context.js.map +1 -1
  208. package/build/hooks/groups/use_group_members_for_new_conversation.d.ts +7 -7
  209. package/build/hooks/groups/use_group_members_for_new_conversation.d.ts.map +1 -1
  210. package/build/hooks/groups/use_group_members_for_new_conversation.js +2 -2
  211. package/build/hooks/groups/use_group_members_for_new_conversation.js.map +1 -1
  212. package/build/hooks/groups/use_groups_conversation_create.d.ts +1 -1
  213. package/build/hooks/groups/use_groups_conversation_create.d.ts.map +1 -1
  214. package/build/hooks/groups/use_groups_conversation_create.js +2 -2
  215. package/build/hooks/groups/use_groups_conversation_create.js.map +1 -1
  216. package/build/hooks/services/use_find_or_create_services_conversation.d.ts +2 -2
  217. package/build/hooks/services/use_find_or_create_services_conversation.d.ts.map +1 -1
  218. package/build/hooks/services/use_find_or_create_services_conversation.js +2 -2
  219. package/build/hooks/services/use_find_or_create_services_conversation.js.map +1 -1
  220. package/build/hooks/services/use_services_team.d.ts +1 -1
  221. package/build/hooks/services/use_services_team.d.ts.map +1 -1
  222. package/build/hooks/services/use_services_team.js +1 -1
  223. package/build/hooks/services/use_services_team.js.map +1 -1
  224. package/build/hooks/services/use_team_members_for_new_conversation.d.ts +21 -21
  225. package/build/hooks/services/use_team_members_for_new_conversation.d.ts.map +1 -1
  226. package/build/hooks/services/use_team_members_for_new_conversation.js +1 -1
  227. package/build/hooks/services/use_team_members_for_new_conversation.js.map +1 -1
  228. package/build/hooks/services/use_team_plans.d.ts +1 -1
  229. package/build/hooks/services/use_team_plans.js +1 -1
  230. package/build/hooks/services/use_team_plans.js.map +1 -1
  231. package/build/hooks/use_api.d.ts +2 -2
  232. package/build/hooks/use_api.d.ts.map +1 -1
  233. package/build/hooks/use_api.js.map +1 -1
  234. package/build/hooks/use_api_client.d.ts +1 -1
  235. package/build/hooks/use_api_client.d.ts.map +1 -1
  236. package/build/hooks/use_api_client.js +3 -3
  237. package/build/hooks/use_api_client.js.map +1 -1
  238. package/build/hooks/use_async_storage.js +1 -1
  239. package/build/hooks/use_async_storage.js.map +1 -1
  240. package/build/hooks/use_attachment_uploader.d.ts +1 -1
  241. package/build/hooks/use_attachment_uploader.d.ts.map +1 -1
  242. package/build/hooks/use_attachment_uploader.js.map +1 -1
  243. package/build/hooks/use_broadcast_typing_status.js +1 -1
  244. package/build/hooks/use_broadcast_typing_status.js.map +1 -1
  245. package/build/hooks/use_chat_permissions.d.ts +21 -21
  246. package/build/hooks/use_chat_permissions.d.ts.map +1 -1
  247. package/build/hooks/use_chat_permissions.js.map +1 -1
  248. package/build/hooks/use_conversation.d.ts +5 -5
  249. package/build/hooks/use_conversation.d.ts.map +1 -1
  250. package/build/hooks/use_conversation.js +4 -3
  251. package/build/hooks/use_conversation.js.map +1 -1
  252. package/build/hooks/use_conversation_jolt_events.js +1 -1
  253. package/build/hooks/use_conversation_jolt_events.js.map +1 -1
  254. package/build/hooks/use_conversation_membership.d.ts +1 -1
  255. package/build/hooks/use_conversation_membership.d.ts.map +1 -1
  256. package/build/hooks/use_conversation_membership.js +2 -2
  257. package/build/hooks/use_conversation_membership.js.map +1 -1
  258. package/build/hooks/use_conversation_message.d.ts +1 -1
  259. package/build/hooks/use_conversation_message.d.ts.map +1 -1
  260. package/build/hooks/use_conversation_message.js +1 -1
  261. package/build/hooks/use_conversation_message.js.map +1 -1
  262. package/build/hooks/use_conversation_messages.d.ts +3 -3
  263. package/build/hooks/use_conversation_messages.d.ts.map +1 -1
  264. package/build/hooks/use_conversation_messages.js +1 -1
  265. package/build/hooks/use_conversation_messages.js.map +1 -1
  266. package/build/hooks/use_conversation_messages_jolt_events.js +6 -6
  267. package/build/hooks/use_conversation_messages_jolt_events.js.map +1 -1
  268. package/build/hooks/use_conversations.d.ts +2 -2
  269. package/build/hooks/use_conversations.d.ts.map +1 -1
  270. package/build/hooks/use_conversations.js +1 -1
  271. package/build/hooks/use_conversations.js.map +1 -1
  272. package/build/hooks/use_conversations_actions.d.ts +19 -19
  273. package/build/hooks/use_conversations_actions.d.ts.map +1 -1
  274. package/build/hooks/use_conversations_actions.js +1 -1
  275. package/build/hooks/use_conversations_actions.js.map +1 -1
  276. package/build/hooks/use_conversations_cache.d.ts +2 -2
  277. package/build/hooks/use_conversations_cache.d.ts.map +1 -1
  278. package/build/hooks/use_conversations_cache.js +2 -2
  279. package/build/hooks/use_conversations_cache.js.map +1 -1
  280. package/build/hooks/use_conversations_jolt_events.js +2 -2
  281. package/build/hooks/use_conversations_jolt_events.js.map +1 -1
  282. package/build/hooks/use_current_person.d.ts +1 -1
  283. package/build/hooks/use_current_person.d.ts.map +1 -1
  284. package/build/hooks/use_current_person.js.map +1 -1
  285. package/build/hooks/use_features.d.ts +2 -2
  286. package/build/hooks/use_features.d.ts.map +1 -1
  287. package/build/hooks/use_features.js +2 -2
  288. package/build/hooks/use_features.js.map +1 -1
  289. package/build/hooks/use_giphy.d.ts +1 -1
  290. package/build/hooks/use_giphy.d.ts.map +1 -1
  291. package/build/hooks/use_giphy.js +1 -1
  292. package/build/hooks/use_giphy.js.map +1 -1
  293. package/build/hooks/use_groups.d.ts +2 -2
  294. package/build/hooks/use_groups.d.ts.map +1 -1
  295. package/build/hooks/use_groups.js.map +1 -1
  296. package/build/hooks/use_groups_groups.d.ts +33 -33
  297. package/build/hooks/use_groups_groups.d.ts.map +1 -1
  298. package/build/hooks/use_groups_groups.js.map +1 -1
  299. package/build/hooks/use_jolt.js +2 -2
  300. package/build/hooks/use_jolt.js.map +1 -1
  301. package/build/hooks/use_live_relative_time.d.ts +1 -1
  302. package/build/hooks/use_live_relative_time.d.ts.map +1 -1
  303. package/build/hooks/use_live_relative_time.js +2 -2
  304. package/build/hooks/use_live_relative_time.js.map +1 -1
  305. package/build/hooks/use_mark_latest_message_read.d.ts +1 -1
  306. package/build/hooks/use_mark_latest_message_read.d.ts.map +1 -1
  307. package/build/hooks/use_mark_latest_message_read.js.map +1 -1
  308. package/build/hooks/use_message_create_or_update.d.ts +2 -2
  309. package/build/hooks/use_message_create_or_update.d.ts.map +1 -1
  310. package/build/hooks/use_message_create_or_update.js +7 -7
  311. package/build/hooks/use_message_create_or_update.js.map +1 -1
  312. package/build/hooks/use_message_draft.d.ts +1 -1
  313. package/build/hooks/use_message_draft.d.ts.map +1 -1
  314. package/build/hooks/use_message_draft.js +1 -1
  315. package/build/hooks/use_message_draft.js.map +1 -1
  316. package/build/hooks/use_message_reaction_toggle.d.ts +2 -2
  317. package/build/hooks/use_message_reaction_toggle.d.ts.map +1 -1
  318. package/build/hooks/use_message_reaction_toggle.js +2 -2
  319. package/build/hooks/use_message_reaction_toggle.js.map +1 -1
  320. package/build/hooks/use_my_gender.js.map +1 -1
  321. package/build/hooks/use_organization.d.ts +5 -5
  322. package/build/hooks/use_organization.d.ts.map +1 -1
  323. package/build/hooks/use_organization.js.map +1 -1
  324. package/build/hooks/use_people_person.d.ts +1 -1
  325. package/build/hooks/use_people_person.d.ts.map +1 -1
  326. package/build/hooks/use_people_person.js.map +1 -1
  327. package/build/hooks/use_product_analytics.d.ts +1 -1
  328. package/build/hooks/use_product_analytics.d.ts.map +1 -1
  329. package/build/hooks/use_product_analytics.js +3 -3
  330. package/build/hooks/use_product_analytics.js.map +1 -1
  331. package/build/hooks/use_qualified_by_age.js +1 -1
  332. package/build/hooks/use_qualified_by_age.js.map +1 -1
  333. package/build/hooks/use_read_receipts.d.ts +2 -2
  334. package/build/hooks/use_read_receipts.d.ts.map +1 -1
  335. package/build/hooks/use_read_receipts.js.map +1 -1
  336. package/build/hooks/use_report_message.d.ts +1 -1
  337. package/build/hooks/use_report_message.d.ts.map +1 -1
  338. package/build/hooks/use_report_message.js +1 -1
  339. package/build/hooks/use_report_message.js.map +1 -1
  340. package/build/hooks/use_storage.d.ts +1 -1
  341. package/build/hooks/use_storage.d.ts.map +1 -1
  342. package/build/hooks/use_storage.js.map +1 -1
  343. package/build/hooks/use_submit_age_check.d.ts +1 -1
  344. package/build/hooks/use_submit_age_check.d.ts.map +1 -1
  345. package/build/hooks/use_submit_age_check.js +1 -1
  346. package/build/hooks/use_submit_age_check.js.map +1 -1
  347. package/build/hooks/use_suspense_api.d.ts +5 -5
  348. package/build/hooks/use_suspense_api.d.ts.map +1 -1
  349. package/build/hooks/use_suspense_api.js +2 -2
  350. package/build/hooks/use_suspense_api.js.map +1 -1
  351. package/build/hooks/use_teams.d.ts +1 -1
  352. package/build/hooks/use_teams.d.ts.map +1 -1
  353. package/build/hooks/use_teams.js.map +1 -1
  354. package/build/hooks/use_theme.d.ts +1 -1
  355. package/build/hooks/use_theme.d.ts.map +1 -1
  356. package/build/hooks/use_theme.js +1 -1
  357. package/build/hooks/use_theme.js.map +1 -1
  358. package/build/hooks/use_typing_indicators.d.ts.map +1 -1
  359. package/build/hooks/use_typing_indicators.js +1 -1
  360. package/build/hooks/use_typing_indicators.js.map +1 -1
  361. package/build/hooks/use_typing_status_cache.d.ts +1 -1
  362. package/build/hooks/use_typing_status_cache.d.ts.map +1 -1
  363. package/build/hooks/use_typing_status_cache.js.map +1 -1
  364. package/build/hooks/use_upload_client.d.ts +1 -1
  365. package/build/hooks/use_upload_client.d.ts.map +1 -1
  366. package/build/hooks/use_upload_client.js +3 -3
  367. package/build/hooks/use_upload_client.js.map +1 -1
  368. package/build/navigation/chat_access_gate.js +7 -7
  369. package/build/navigation/chat_access_gate.js.map +1 -1
  370. package/build/navigation/index.d.ts +25 -25
  371. package/build/navigation/index.d.ts.map +1 -1
  372. package/build/navigation/index.js +28 -28
  373. package/build/navigation/index.js.map +1 -1
  374. package/build/navigation/screenLayout.js +2 -2
  375. package/build/navigation/screenLayout.js.map +1 -1
  376. package/build/polyfills/events/Event.d.ts +4 -0
  377. package/build/polyfills/events/Event.d.ts.map +1 -1
  378. package/build/polyfills/events/Event.js +1 -5
  379. package/build/polyfills/events/Event.js.map +1 -1
  380. package/build/polyfills/events/EventTarget.d.ts +3 -0
  381. package/build/polyfills/events/EventTarget.d.ts.map +1 -1
  382. package/build/polyfills/events/EventTarget.js +1 -1
  383. package/build/polyfills/events/EventTarget.js.map +1 -1
  384. package/build/polyfills/events/internals/EventInternals.d.ts +2 -2
  385. package/build/polyfills/events/internals/EventInternals.d.ts.map +1 -1
  386. package/build/polyfills/events/internals/EventInternals.js.map +1 -1
  387. package/build/polyfills/events/internals/EventTargetInternals.d.ts +2 -2
  388. package/build/polyfills/events/internals/EventTargetInternals.d.ts.map +1 -1
  389. package/build/polyfills/events/internals/EventTargetInternals.js.map +1 -1
  390. package/build/screens/age_check/age_check_required_screen.js +8 -8
  391. package/build/screens/age_check/age_check_required_screen.js.map +1 -1
  392. package/build/screens/age_check/age_check_underage_screen.js +3 -3
  393. package/build/screens/age_check/age_check_underage_screen.js.map +1 -1
  394. package/build/screens/age_check/components/age_check_select_birthdate_modal.js +3 -3
  395. package/build/screens/age_check/components/age_check_select_birthdate_modal.js.map +1 -1
  396. package/build/screens/attachment_actions/attachment_actions_screen.js +1 -1
  397. package/build/screens/attachment_actions/attachment_actions_screen.js.map +1 -1
  398. package/build/screens/attachment_actions/hooks/useDeleteAttachment.js +3 -3
  399. package/build/screens/attachment_actions/hooks/useDeleteAttachment.js.map +1 -1
  400. package/build/screens/bug_report_screen.js +11 -11
  401. package/build/screens/bug_report_screen.js.map +1 -1
  402. package/build/screens/conversation/message_read_receipts_screen.js +4 -4
  403. package/build/screens/conversation/message_read_receipts_screen.js.map +1 -1
  404. package/build/screens/conversation_details_screen.d.ts.map +1 -1
  405. package/build/screens/conversation_details_screen.js +37 -9
  406. package/build/screens/conversation_details_screen.js.map +1 -1
  407. package/build/screens/conversation_filter_recipients/components/checkbox_row.d.ts +1 -1
  408. package/build/screens/conversation_filter_recipients/components/checkbox_row.d.ts.map +1 -1
  409. package/build/screens/conversation_filter_recipients/components/checkbox_row.js +3 -3
  410. package/build/screens/conversation_filter_recipients/components/checkbox_row.js.map +1 -1
  411. package/build/screens/conversation_filter_recipients/components/header_row.d.ts +1 -1
  412. package/build/screens/conversation_filter_recipients/components/header_row.d.ts.map +1 -1
  413. package/build/screens/conversation_filter_recipients/components/header_row.js +4 -4
  414. package/build/screens/conversation_filter_recipients/components/header_row.js.map +1 -1
  415. package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.d.ts.map +1 -1
  416. package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.js +6 -6
  417. package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.js.map +1 -1
  418. package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.d.ts +1 -1
  419. package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.d.ts.map +1 -1
  420. package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.js +1 -1
  421. package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.js.map +1 -1
  422. package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.d.ts +22 -22
  423. package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.d.ts.map +1 -1
  424. package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.js +2 -2
  425. package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.js.map +1 -1
  426. package/build/screens/conversation_filter_recipients/types.d.ts +1 -1
  427. package/build/screens/conversation_filter_recipients/types.d.ts.map +1 -1
  428. package/build/screens/conversation_filter_recipients/types.js.map +1 -1
  429. package/build/screens/conversation_filters/components/conversation_filters.d.ts.map +1 -1
  430. package/build/screens/conversation_filters/components/conversation_filters.js +5 -5
  431. package/build/screens/conversation_filters/components/conversation_filters.js.map +1 -1
  432. package/build/screens/conversation_filters/components/rows.d.ts +4 -4
  433. package/build/screens/conversation_filters/components/rows.d.ts.map +1 -1
  434. package/build/screens/conversation_filters/components/rows.js +5 -5
  435. package/build/screens/conversation_filters/components/rows.js.map +1 -1
  436. package/build/screens/conversation_filters/context/conversation_filter_context.d.ts +1 -1
  437. package/build/screens/conversation_filters/context/conversation_filter_context.d.ts.map +1 -1
  438. package/build/screens/conversation_filters/context/conversation_filter_context.js.map +1 -1
  439. package/build/screens/conversation_filters/group_filters.d.ts.map +1 -1
  440. package/build/screens/conversation_filters/group_filters.js +1 -1
  441. package/build/screens/conversation_filters/group_filters.js.map +1 -1
  442. package/build/screens/conversation_filters/hooks/filters.d.ts +54 -54
  443. package/build/screens/conversation_filters/hooks/filters.d.ts.map +1 -1
  444. package/build/screens/conversation_filters/hooks/filters.js +3 -3
  445. package/build/screens/conversation_filters/hooks/filters.js.map +1 -1
  446. package/build/screens/conversation_filters/screen_props.d.ts +1 -1
  447. package/build/screens/conversation_filters/screen_props.d.ts.map +1 -1
  448. package/build/screens/conversation_filters/screen_props.js.map +1 -1
  449. package/build/screens/conversation_filters/team_filters.d.ts.map +1 -1
  450. package/build/screens/conversation_filters/team_filters.js +1 -1
  451. package/build/screens/conversation_filters/team_filters.js.map +1 -1
  452. package/build/screens/conversation_filters_screen.d.ts.map +1 -1
  453. package/build/screens/conversation_filters_screen.js +1 -1
  454. package/build/screens/conversation_filters_screen.js.map +1 -1
  455. package/build/screens/conversation_new/components/filter_by_plan.js +7 -7
  456. package/build/screens/conversation_new/components/filter_by_plan.js.map +1 -1
  457. package/build/screens/conversation_new/components/form_list.d.ts +1 -1
  458. package/build/screens/conversation_new/components/form_list.d.ts.map +1 -1
  459. package/build/screens/conversation_new/components/form_list.js +2 -2
  460. package/build/screens/conversation_new/components/form_list.js.map +1 -1
  461. package/build/screens/conversation_new/components/gender_filter_toggle.js +3 -3
  462. package/build/screens/conversation_new/components/gender_filter_toggle.js.map +1 -1
  463. package/build/screens/conversation_new/components/groups_form.d.ts +1 -1
  464. package/build/screens/conversation_new/components/groups_form.d.ts.map +1 -1
  465. package/build/screens/conversation_new/components/groups_form.js +10 -10
  466. package/build/screens/conversation_new/components/groups_form.js.map +1 -1
  467. package/build/screens/conversation_new/components/services_form.d.ts +1 -1
  468. package/build/screens/conversation_new/components/services_form.d.ts.map +1 -1
  469. package/build/screens/conversation_new/components/services_form.js +8 -8
  470. package/build/screens/conversation_new/components/services_form.js.map +1 -1
  471. package/build/screens/conversation_new/components/source_app_error_card.js +1 -1
  472. package/build/screens/conversation_new/components/source_app_error_card.js.map +1 -1
  473. package/build/screens/conversation_new/conversation_new_screen.d.ts +3 -3
  474. package/build/screens/conversation_new/conversation_new_screen.d.ts.map +1 -1
  475. package/build/screens/conversation_new/conversation_new_screen.js.map +1 -1
  476. package/build/screens/conversation_notification_level_select_screen.js +5 -5
  477. package/build/screens/conversation_notification_level_select_screen.js.map +1 -1
  478. package/build/screens/conversation_screen.d.ts +3 -3
  479. package/build/screens/conversation_screen.d.ts.map +1 -1
  480. package/build/screens/conversation_screen.js +21 -21
  481. package/build/screens/conversation_screen.js.map +1 -1
  482. package/build/screens/conversation_select_recipients/components/groups_recipient_row.d.ts +1 -1
  483. package/build/screens/conversation_select_recipients/components/groups_recipient_row.d.ts.map +1 -1
  484. package/build/screens/conversation_select_recipients/components/groups_recipient_row.js +1 -1
  485. package/build/screens/conversation_select_recipients/components/groups_recipient_row.js.map +1 -1
  486. package/build/screens/conversation_select_recipients/components/recipient_link_row.js +3 -3
  487. package/build/screens/conversation_select_recipients/components/recipient_link_row.js.map +1 -1
  488. package/build/screens/conversation_select_recipients/components/restricted_group_row.d.ts +1 -1
  489. package/build/screens/conversation_select_recipients/components/restricted_group_row.d.ts.map +1 -1
  490. package/build/screens/conversation_select_recipients/components/restricted_group_row.js +3 -3
  491. package/build/screens/conversation_select_recipients/components/restricted_group_row.js.map +1 -1
  492. package/build/screens/conversation_select_recipients/components/team_recipient_row.d.ts +1 -1
  493. package/build/screens/conversation_select_recipients/components/team_recipient_row.d.ts.map +1 -1
  494. package/build/screens/conversation_select_recipients/components/team_recipient_row.js +1 -1
  495. package/build/screens/conversation_select_recipients/components/team_recipient_row.js.map +1 -1
  496. package/build/screens/conversation_select_recipients/components/view_more_link_row.js +1 -1
  497. package/build/screens/conversation_select_recipients/components/view_more_link_row.js.map +1 -1
  498. package/build/screens/conversation_select_recipients/conversation_new_entry_screen.d.ts.map +1 -1
  499. package/build/screens/conversation_select_recipients/conversation_new_entry_screen.js +4 -4
  500. package/build/screens/conversation_select_recipients/conversation_new_entry_screen.js.map +1 -1
  501. package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.d.ts.map +1 -1
  502. package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.js +2 -2
  503. package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.js.map +1 -1
  504. package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.d.ts.map +1 -1
  505. package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.js +4 -4
  506. package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.js.map +1 -1
  507. package/build/screens/conversation_select_recipients/types/screen_props.d.ts +2 -2
  508. package/build/screens/conversation_select_recipients/types/screen_props.d.ts.map +1 -1
  509. package/build/screens/conversation_select_recipients/types/screen_props.js.map +1 -1
  510. package/build/screens/conversation_select_type_screen.d.ts +2 -2
  511. package/build/screens/conversation_select_type_screen.d.ts.map +1 -1
  512. package/build/screens/conversation_select_type_screen.js +2 -2
  513. package/build/screens/conversation_select_type_screen.js.map +1 -1
  514. package/build/screens/conversations/components/chat_group_badge.js +2 -2
  515. package/build/screens/conversations/components/chat_group_badge.js.map +1 -1
  516. package/build/screens/conversations/components/list_header_action_button.d.ts +1 -1
  517. package/build/screens/conversations/components/list_header_action_button.d.ts.map +1 -1
  518. package/build/screens/conversations/components/list_header_action_button.js +4 -4
  519. package/build/screens/conversations/components/list_header_action_button.js.map +1 -1
  520. package/build/screens/conversations/components/list_header_component.js +9 -9
  521. package/build/screens/conversations/components/list_header_component.js.map +1 -1
  522. package/build/screens/conversations/conversations_screen.d.ts +2 -2
  523. package/build/screens/conversations/conversations_screen.d.ts.map +1 -1
  524. package/build/screens/conversations/conversations_screen.js +3 -3
  525. package/build/screens/conversations/conversations_screen.js.map +1 -1
  526. package/build/screens/design_system_screen.js +6 -6
  527. package/build/screens/design_system_screen.js.map +1 -1
  528. package/build/screens/get_help_screen.js +4 -4
  529. package/build/screens/get_help_screen.js.map +1 -1
  530. package/build/screens/group_notification_level_select_screen.js +3 -3
  531. package/build/screens/group_notification_level_select_screen.js.map +1 -1
  532. package/build/screens/group_notification_settings_screen.js +3 -3
  533. package/build/screens/group_notification_settings_screen.js.map +1 -1
  534. package/build/screens/message_actions_screen.js +10 -10
  535. package/build/screens/message_actions_screen.js.map +1 -1
  536. package/build/screens/message_report/components/message_preview.d.ts +1 -1
  537. package/build/screens/message_report/components/message_preview.d.ts.map +1 -1
  538. package/build/screens/message_report/components/message_preview.js +2 -2
  539. package/build/screens/message_report/components/message_preview.js.map +1 -1
  540. package/build/screens/message_report/components/report_reason_list.d.ts +1 -1
  541. package/build/screens/message_report/components/report_reason_list.d.ts.map +1 -1
  542. package/build/screens/message_report/components/report_reason_list.js +4 -4
  543. package/build/screens/message_report/components/report_reason_list.js.map +1 -1
  544. package/build/screens/message_report_screen.js +7 -7
  545. package/build/screens/message_report_screen.js.map +1 -1
  546. package/build/screens/notification_settings/hooks/groups.d.ts +7 -7
  547. package/build/screens/notification_settings/hooks/groups.d.ts.map +1 -1
  548. package/build/screens/notification_settings/hooks/groups.js +4 -4
  549. package/build/screens/notification_settings/hooks/groups.js.map +1 -1
  550. package/build/screens/notification_settings_screen.js +4 -4
  551. package/build/screens/notification_settings_screen.js.map +1 -1
  552. package/build/screens/preferred_app/hooks/use_chat_types.d.ts +5 -5
  553. package/build/screens/preferred_app/hooks/use_chat_types.d.ts.map +1 -1
  554. package/build/screens/preferred_app/hooks/use_chat_types.js +1 -1
  555. package/build/screens/preferred_app/hooks/use_chat_types.js.map +1 -1
  556. package/build/screens/preferred_app_selection_screen.d.ts.map +1 -1
  557. package/build/screens/preferred_app_selection_screen.js +7 -7
  558. package/build/screens/preferred_app_selection_screen.js.map +1 -1
  559. package/build/screens/reactions_screen.js +7 -7
  560. package/build/screens/reactions_screen.js.map +1 -1
  561. package/build/screens/send_giphy_screen.js +8 -8
  562. package/build/screens/send_giphy_screen.js.map +1 -1
  563. package/build/screens/team_conversation_screen.js +3 -3
  564. package/build/screens/team_conversation_screen.js.map +1 -1
  565. package/build/types/jolt_events/message_events.d.ts +1 -1
  566. package/build/types/jolt_events/message_events.d.ts.map +1 -1
  567. package/build/types/jolt_events/message_events.js.map +1 -1
  568. package/build/types/jolt_events/reaction_events.d.ts +1 -1
  569. package/build/types/jolt_events/reaction_events.d.ts.map +1 -1
  570. package/build/types/jolt_events/reaction_events.js.map +1 -1
  571. package/build/types/resources/app_grant.d.ts +1 -1
  572. package/build/types/resources/app_grant.d.ts.map +1 -1
  573. package/build/types/resources/app_grant.js.map +1 -1
  574. package/build/types/resources/conversation.d.ts +1 -0
  575. package/build/types/resources/conversation.d.ts.map +1 -1
  576. package/build/types/resources/conversation.js.map +1 -1
  577. package/build/types/resources/conversation_membership.d.ts +1 -1
  578. package/build/types/resources/conversation_membership.d.ts.map +1 -1
  579. package/build/types/resources/conversation_membership.js.map +1 -1
  580. package/build/types/resources/group_membership.d.ts +1 -1
  581. package/build/types/resources/group_membership.d.ts.map +1 -1
  582. package/build/types/resources/group_membership.js.map +1 -1
  583. package/build/types/resources/groups/groups_group_resource.d.ts +1 -1
  584. package/build/types/resources/groups/groups_group_resource.d.ts.map +1 -1
  585. package/build/types/resources/groups/groups_group_resource.js.map +1 -1
  586. package/build/types/resources/organization.d.ts +1 -1
  587. package/build/types/resources/organization.d.ts.map +1 -1
  588. package/build/types/resources/organization.js.map +1 -1
  589. package/build/types/resources/person.d.ts +1 -1
  590. package/build/types/resources/person.d.ts.map +1 -1
  591. package/build/types/resources/person.js.map +1 -1
  592. package/build/types/resources/services/chat_resource.d.ts +1 -1
  593. package/build/types/resources/services/chat_resource.d.ts.map +1 -1
  594. package/build/types/resources/services/chat_resource.js.map +1 -1
  595. package/build/types/resources/services/team_resource.d.ts +1 -1
  596. package/build/types/resources/services/team_resource.d.ts.map +1 -1
  597. package/build/types/resources/services/team_resource.js.map +1 -1
  598. package/build/utils/cache/messages_cache.d.ts +3 -3
  599. package/build/utils/cache/messages_cache.d.ts.map +1 -1
  600. package/build/utils/cache/messages_cache.js +3 -3
  601. package/build/utils/cache/messages_cache.js.map +1 -1
  602. package/build/utils/cache/optimistically_create_message.d.ts +2 -2
  603. package/build/utils/cache/optimistically_create_message.d.ts.map +1 -1
  604. package/build/utils/cache/optimistically_create_message.js +4 -4
  605. package/build/utils/cache/optimistically_create_message.js.map +1 -1
  606. package/build/utils/cache/optimistically_update_message.d.ts +1 -1
  607. package/build/utils/cache/optimistically_update_message.d.ts.map +1 -1
  608. package/build/utils/cache/optimistically_update_message.js +2 -2
  609. package/build/utils/cache/optimistically_update_message.js.map +1 -1
  610. package/build/utils/cache/page_mutations.d.ts +5 -5
  611. package/build/utils/cache/page_mutations.d.ts.map +1 -1
  612. package/build/utils/cache/page_mutations.js.map +1 -1
  613. package/build/utils/client/client.d.ts +1 -1
  614. package/build/utils/client/client.d.ts.map +1 -1
  615. package/build/utils/client/client.js.map +1 -1
  616. package/build/utils/convert_attachments_for_create.d.ts +2 -2
  617. package/build/utils/convert_attachments_for_create.d.ts.map +1 -1
  618. package/build/utils/convert_attachments_for_create.js.map +1 -1
  619. package/build/utils/destructure_chat_group_graph_id.d.ts +2 -2
  620. package/build/utils/destructure_chat_group_graph_id.d.ts.map +1 -1
  621. package/build/utils/destructure_chat_group_graph_id.js.map +1 -1
  622. package/build/utils/jolt/transform_message_event_data_to_message_resource.d.ts +2 -2
  623. package/build/utils/jolt/transform_message_event_data_to_message_resource.d.ts.map +1 -1
  624. package/build/utils/jolt/transform_message_event_data_to_message_resource.js +1 -1
  625. package/build/utils/jolt/transform_message_event_data_to_message_resource.js.map +1 -1
  626. package/build/utils/jolt/transform_reaction_event_data_to_reaction_count_resource.d.ts +3 -3
  627. package/build/utils/jolt/transform_reaction_event_data_to_reaction_count_resource.d.ts.map +1 -1
  628. package/build/utils/jolt/transform_reaction_event_data_to_reaction_count_resource.js.map +1 -1
  629. package/build/utils/performance_tracking.d.ts +1 -1
  630. package/build/utils/performance_tracking.d.ts.map +1 -1
  631. package/build/utils/performance_tracking.js.map +1 -1
  632. package/build/utils/reaction_constants.d.ts +1 -1
  633. package/build/utils/reaction_constants.d.ts.map +1 -1
  634. package/build/utils/reaction_constants.js.map +1 -1
  635. package/build/utils/request/conversation.d.ts +2 -2
  636. package/build/utils/request/conversation.d.ts.map +1 -1
  637. package/build/utils/request/conversation.js.map +1 -1
  638. package/build/utils/request/get_features.d.ts +1 -1
  639. package/build/utils/request/get_features.d.ts.map +1 -1
  640. package/build/utils/request/get_features.js +1 -1
  641. package/build/utils/request/get_features.js.map +1 -1
  642. package/build/utils/request/get_message.d.ts +1 -1
  643. package/build/utils/request/get_message.d.ts.map +1 -1
  644. package/build/utils/request/get_message.js +1 -1
  645. package/build/utils/request/get_message.js.map +1 -1
  646. package/build/utils/request/get_messages.d.ts +1 -1
  647. package/build/utils/request/get_messages.d.ts.map +1 -1
  648. package/build/utils/request/get_messages.js +1 -1
  649. package/build/utils/request/get_messages.js.map +1 -1
  650. package/build/utils/response_error.d.ts +1 -1
  651. package/build/utils/response_error.d.ts.map +1 -1
  652. package/build/utils/response_error.js.map +1 -1
  653. package/build/utils/session.d.ts +1 -1
  654. package/build/utils/session.d.ts.map +1 -1
  655. package/build/utils/session.js.map +1 -1
  656. package/build/utils/session_manager.d.ts +1 -1
  657. package/build/utils/session_manager.d.ts.map +1 -1
  658. package/build/utils/session_manager.js.map +1 -1
  659. package/build/utils/styles.js +1 -1
  660. package/build/utils/styles.js.map +1 -1
  661. package/build/utils/theme.d.ts +1 -1
  662. package/build/utils/theme.d.ts.map +1 -1
  663. package/build/utils/theme.js +2 -2
  664. package/build/utils/theme.js.map +1 -1
  665. package/package.json +3 -2
  666. package/src/__tests__/contexts/session_context.tsx +5 -5
  667. package/src/__tests__/event-polyfill.test.ts +3 -3
  668. package/src/__tests__/hooks/useTheme.tsx +2 -2
  669. package/src/__tests__/hooks/use_async_storage.test.tsx +1 -1
  670. package/src/__tests__/hooks/use_conversation_messages.ts +2 -2
  671. package/src/__tests__/hooks/use_font_scale.test.ts +1 -1
  672. package/src/__tests__/utils/cache/page_mutations.ts +1 -1
  673. package/src/__tests__/utils/client.ts +5 -5
  674. package/src/__tests__/utils/native_adapters/configuration.ts +4 -4
  675. package/src/__tests__/utils/parse_simple_markdown.ts +1 -1
  676. package/src/__tests__/utils/pluralize.tsx +1 -1
  677. package/src/__tests__/utils/session.ts +2 -2
  678. package/src/__tests__/utils/uri.ts +1 -1
  679. package/src/__utils__/handlers.ts +1 -1
  680. package/src/components/conversation/attachments/attachment_card.tsx +3 -3
  681. package/src/components/conversation/attachments/attachment_deleting_overlay.tsx +2 -2
  682. package/src/components/conversation/attachments/audio_attachment.tsx +4 -4
  683. package/src/components/conversation/attachments/expanded_link.tsx +4 -4
  684. package/src/components/conversation/attachments/generic_file_attachment.tsx +5 -5
  685. package/src/components/conversation/attachments/giphy_attachment.tsx +5 -5
  686. package/src/components/conversation/attachments/image_attachment.tsx +6 -6
  687. package/src/components/conversation/attachments/video_attachment.tsx +5 -5
  688. package/src/components/conversation/empty_conversation_blank_state.tsx +1 -1
  689. package/src/components/conversation/jump_to_bottom_button.tsx +3 -3
  690. package/src/components/conversation/message.tsx +19 -19
  691. package/src/components/conversation/message_attachments.tsx +5 -5
  692. package/src/components/conversation/message_form/message_form_attachment_image.tsx +2 -2
  693. package/src/components/conversation/message_form/message_form_attachment_video.tsx +2 -2
  694. package/src/components/conversation/message_form.tsx +17 -17
  695. package/src/components/conversation/message_markdown.tsx +3 -3
  696. package/src/components/conversation/message_reaction.tsx +8 -8
  697. package/src/components/conversation/message_read_receipts.tsx +3 -3
  698. package/src/components/conversation/messages_disabled_banners.tsx +2 -2
  699. package/src/components/conversation/reply_connectors.tsx +3 -3
  700. package/src/components/conversation/reply_shadow_message.tsx +9 -9
  701. package/src/components/conversation/typing_indicator.tsx +3 -3
  702. package/src/components/conversations/conversation_actions.tsx +6 -9
  703. package/src/components/conversations/conversation_preview.tsx +4 -9
  704. package/src/components/conversations/conversations.tsx +6 -6
  705. package/src/components/conversations/mute_indicator.tsx +3 -3
  706. package/src/components/conversations/swipeable_toggle_button.tsx +5 -5
  707. package/src/components/conversations/unread_count_badge.tsx +3 -3
  708. package/src/components/display/action_button.tsx +2 -2
  709. package/src/components/display/avatar.tsx +2 -2
  710. package/src/components/display/avatar_group.tsx +2 -2
  711. package/src/components/display/badge.tsx +3 -3
  712. package/src/components/display/banner.tsx +1 -1
  713. package/src/components/display/banner_collapsible.tsx +1 -1
  714. package/src/components/display/button.tsx +3 -3
  715. package/src/components/display/child_notice.tsx +3 -3
  716. package/src/components/display/heading.tsx +3 -3
  717. package/src/components/display/icon.tsx +1 -1
  718. package/src/components/display/icon_button.tsx +2 -2
  719. package/src/components/display/image.tsx +1 -1
  720. package/src/components/display/image_attachment_preview.tsx +2 -2
  721. package/src/components/display/keyboard_view.tsx +1 -1
  722. package/src/components/display/person.tsx +2 -2
  723. package/src/components/display/platform_modal_header_buttons.tsx +1 -1
  724. package/src/components/display/pressable_row.tsx +1 -1
  725. package/src/components/display/spinner.tsx +1 -1
  726. package/src/components/display/switch.tsx +1 -1
  727. package/src/components/display/tabs.tsx +1 -1
  728. package/src/components/display/text.tsx +2 -2
  729. package/src/components/display/text_button.tsx +2 -2
  730. package/src/components/display/text_inline_button.tsx +2 -2
  731. package/src/components/display/toggle_button.tsx +6 -6
  732. package/src/components/display/utils/button_colors.ts +1 -1
  733. package/src/components/display/utils/status_colors.ts +1 -1
  734. package/src/components/display/video_attachment_preview.tsx +3 -3
  735. package/src/components/group_conversation_list.tsx +5 -5
  736. package/src/components/page/error_boundary.tsx +2 -2
  737. package/src/components/page/loading.tsx +1 -1
  738. package/src/components/primitive/avatar_primitive.tsx +5 -5
  739. package/src/components/primitive/banner_primitive.tsx +11 -11
  740. package/src/components/primitive/blank_state_primitive.tsx +2 -2
  741. package/src/components/primitive/form_sheet.tsx +4 -4
  742. package/src/components/safe_area_modal.tsx +1 -1
  743. package/src/contexts/api_provider.tsx +4 -4
  744. package/src/contexts/chat_context.tsx +6 -6
  745. package/src/contexts/conversations_context.tsx +3 -3
  746. package/src/contexts/session_context.tsx +9 -9
  747. package/src/hooks/groups/use_group_members_for_new_conversation.ts +4 -4
  748. package/src/hooks/groups/use_groups_conversation_create.ts +3 -3
  749. package/src/hooks/services/use_find_or_create_services_conversation.ts +3 -3
  750. package/src/hooks/services/use_services_team.ts +2 -2
  751. package/src/hooks/services/use_team_members_for_new_conversation.ts +2 -2
  752. package/src/hooks/services/use_team_plans.ts +2 -2
  753. package/src/hooks/use_api.ts +2 -2
  754. package/src/hooks/use_api_client.ts +3 -3
  755. package/src/hooks/use_async_storage.ts +1 -1
  756. package/src/hooks/use_attachment_uploader.ts +5 -5
  757. package/src/hooks/use_broadcast_typing_status.ts +1 -1
  758. package/src/hooks/use_chat_permissions.ts +1 -1
  759. package/src/hooks/use_conversation.ts +5 -4
  760. package/src/hooks/use_conversation_jolt_events.ts +3 -3
  761. package/src/hooks/use_conversation_membership.ts +3 -3
  762. package/src/hooks/use_conversation_message.ts +2 -2
  763. package/src/hooks/use_conversation_messages.ts +2 -2
  764. package/src/hooks/use_conversation_messages_jolt_events.ts +14 -14
  765. package/src/hooks/use_conversations.ts +2 -2
  766. package/src/hooks/use_conversations_actions.ts +2 -2
  767. package/src/hooks/use_conversations_cache.ts +5 -5
  768. package/src/hooks/use_conversations_jolt_events.ts +4 -4
  769. package/src/hooks/use_current_person.ts +2 -2
  770. package/src/hooks/use_features.ts +4 -4
  771. package/src/hooks/use_giphy.ts +2 -2
  772. package/src/hooks/use_groups.ts +2 -2
  773. package/src/hooks/use_groups_groups.ts +1 -1
  774. package/src/hooks/use_jolt.ts +3 -3
  775. package/src/hooks/use_live_relative_time.ts +2 -2
  776. package/src/hooks/use_mark_latest_message_read.ts +1 -1
  777. package/src/hooks/use_message_create_or_update.ts +11 -11
  778. package/src/hooks/use_message_draft.ts +2 -2
  779. package/src/hooks/use_message_reaction_toggle.ts +4 -4
  780. package/src/hooks/use_my_gender.ts +1 -1
  781. package/src/hooks/use_organization.ts +1 -1
  782. package/src/hooks/use_people_person.ts +1 -1
  783. package/src/hooks/use_product_analytics.ts +5 -5
  784. package/src/hooks/use_qualified_by_age.ts +1 -1
  785. package/src/hooks/use_read_receipts.ts +1 -1
  786. package/src/hooks/use_report_message.ts +2 -2
  787. package/src/hooks/use_storage.ts +1 -1
  788. package/src/hooks/use_submit_age_check.ts +2 -2
  789. package/src/hooks/use_suspense_api.ts +5 -5
  790. package/src/hooks/use_teams.ts +1 -1
  791. package/src/hooks/use_theme.tsx +2 -2
  792. package/src/hooks/use_typing_indicators.ts +1 -1
  793. package/src/hooks/use_typing_status_cache.ts +1 -1
  794. package/src/hooks/use_upload_client.ts +3 -3
  795. package/src/navigation/chat_access_gate.tsx +7 -7
  796. package/src/navigation/index.tsx +31 -34
  797. package/src/navigation/screenLayout.tsx +2 -2
  798. package/src/polyfills/events/Event.ts +1 -1
  799. package/src/polyfills/events/EventTarget.ts +1 -1
  800. package/src/polyfills/events/internals/EventInternals.ts +2 -2
  801. package/src/polyfills/events/internals/EventTargetInternals.ts +2 -2
  802. package/src/screens/age_check/age_check_required_screen.tsx +8 -8
  803. package/src/screens/age_check/age_check_underage_screen.tsx +3 -3
  804. package/src/screens/age_check/components/age_check_select_birthdate_modal.tsx +3 -3
  805. package/src/screens/attachment_actions/attachment_actions_screen.tsx +1 -1
  806. package/src/screens/attachment_actions/hooks/useDeleteAttachment.tsx +3 -3
  807. package/src/screens/bug_report_screen.tsx +11 -11
  808. package/src/screens/conversation/message_read_receipts_screen.tsx +5 -5
  809. package/src/screens/conversation_details_screen.tsx +47 -12
  810. package/src/screens/conversation_filter_recipients/components/checkbox_row.tsx +8 -4
  811. package/src/screens/conversation_filter_recipients/components/header_row.tsx +5 -5
  812. package/src/screens/conversation_filter_recipients/conversation_filter_recipients_screen.tsx +6 -6
  813. package/src/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.tsx +5 -1
  814. package/src/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.ts +6 -3
  815. package/src/screens/conversation_filter_recipients/types.tsx +1 -1
  816. package/src/screens/conversation_filters/components/conversation_filters.tsx +8 -5
  817. package/src/screens/conversation_filters/components/rows.tsx +9 -14
  818. package/src/screens/conversation_filters/context/conversation_filter_context.tsx +4 -1
  819. package/src/screens/conversation_filters/group_filters.tsx +1 -1
  820. package/src/screens/conversation_filters/hooks/filters.ts +5 -5
  821. package/src/screens/conversation_filters/screen_props.ts +1 -1
  822. package/src/screens/conversation_filters/team_filters.tsx +1 -1
  823. package/src/screens/conversation_filters_screen.tsx +1 -1
  824. package/src/screens/conversation_new/components/filter_by_plan.tsx +7 -7
  825. package/src/screens/conversation_new/components/form_list.tsx +3 -3
  826. package/src/screens/conversation_new/components/gender_filter_toggle.tsx +3 -3
  827. package/src/screens/conversation_new/components/groups_form.tsx +14 -14
  828. package/src/screens/conversation_new/components/services_form.tsx +10 -10
  829. package/src/screens/conversation_new/components/source_app_error_card.tsx +1 -1
  830. package/src/screens/conversation_new/conversation_new_screen.tsx +3 -3
  831. package/src/screens/conversation_notification_level_select_screen.tsx +6 -6
  832. package/src/screens/conversation_screen.tsx +23 -23
  833. package/src/screens/conversation_select_recipients/components/groups_recipient_row.tsx +2 -2
  834. package/src/screens/conversation_select_recipients/components/recipient_link_row.tsx +3 -3
  835. package/src/screens/conversation_select_recipients/components/restricted_group_row.tsx +4 -4
  836. package/src/screens/conversation_select_recipients/components/team_recipient_row.tsx +2 -2
  837. package/src/screens/conversation_select_recipients/components/view_more_link_row.tsx +1 -1
  838. package/src/screens/conversation_select_recipients/conversation_new_entry_screen.tsx +4 -4
  839. package/src/screens/conversation_select_recipients/conversation_select_group_recipients_screen.tsx +3 -3
  840. package/src/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.tsx +7 -4
  841. package/src/screens/conversation_select_recipients/types/screen_props.tsx +2 -2
  842. package/src/screens/conversation_select_type_screen.tsx +4 -4
  843. package/src/screens/conversations/components/chat_group_badge.tsx +4 -4
  844. package/src/screens/conversations/components/list_header_action_button.tsx +4 -4
  845. package/src/screens/conversations/components/list_header_component.tsx +10 -10
  846. package/src/screens/conversations/conversations_screen.tsx +5 -5
  847. package/src/screens/design_system_screen.tsx +6 -6
  848. package/src/screens/get_help_screen.tsx +5 -5
  849. package/src/screens/group_notification_level_select_screen.tsx +3 -3
  850. package/src/screens/group_notification_settings_screen.tsx +3 -3
  851. package/src/screens/message_actions_screen.tsx +12 -12
  852. package/src/screens/message_report/components/message_preview.tsx +3 -3
  853. package/src/screens/message_report/components/report_reason_list.tsx +4 -7
  854. package/src/screens/message_report_screen.tsx +11 -11
  855. package/src/screens/notification_settings/hooks/groups.ts +6 -6
  856. package/src/screens/notification_settings_screen.tsx +4 -4
  857. package/src/screens/preferred_app/hooks/use_chat_types.ts +2 -2
  858. package/src/screens/preferred_app_selection_screen.tsx +7 -7
  859. package/src/screens/reactions_screen.tsx +9 -9
  860. package/src/screens/send_giphy_screen.tsx +8 -8
  861. package/src/screens/team_conversation_screen.tsx +3 -3
  862. package/src/types/jolt_events/message_events.ts +1 -1
  863. package/src/types/jolt_events/reaction_events.ts +1 -1
  864. package/src/types/resources/app_grant.ts +1 -1
  865. package/src/types/resources/conversation.ts +1 -0
  866. package/src/types/resources/conversation_membership.ts +1 -1
  867. package/src/types/resources/group_membership.ts +1 -1
  868. package/src/types/resources/groups/groups_group_resource.ts +1 -1
  869. package/src/types/resources/organization.ts +1 -1
  870. package/src/types/resources/person.ts +1 -1
  871. package/src/types/resources/services/chat_resource.ts +1 -1
  872. package/src/types/resources/services/team_resource.ts +1 -1
  873. package/src/utils/__tests__/convert_attachments_for_create.test.ts +3 -3
  874. package/src/utils/__tests__/session_manager.test.ts +3 -3
  875. package/src/utils/__tests__/sha_256.test.ts +1 -1
  876. package/src/utils/cache/messages_cache.ts +5 -5
  877. package/src/utils/cache/optimistically_create_message.ts +7 -7
  878. package/src/utils/cache/optimistically_update_message.ts +3 -3
  879. package/src/utils/cache/page_mutations.ts +1 -1
  880. package/src/utils/client/client.ts +1 -1
  881. package/src/utils/convert_attachments_for_create.ts +2 -2
  882. package/src/utils/destructure_chat_group_graph_id.ts +2 -2
  883. package/src/utils/jolt/transform_message_event_data_to_message_resource.ts +4 -4
  884. package/src/utils/jolt/transform_reaction_event_data_to_reaction_count_resource.ts +3 -3
  885. package/src/utils/performance_tracking.ts +1 -1
  886. package/src/utils/reaction_constants.ts +1 -1
  887. package/src/utils/request/conversation.ts +2 -2
  888. package/src/utils/request/get_features.ts +1 -1
  889. package/src/utils/request/get_message.ts +1 -1
  890. package/src/utils/request/get_messages.ts +1 -1
  891. package/src/utils/response_error.ts +1 -1
  892. package/src/utils/session.ts +1 -1
  893. package/src/utils/session_manager.ts +1 -1
  894. package/src/utils/styles.ts +1 -1
  895. package/src/utils/theme.ts +2 -2
@@ -4,27 +4,27 @@ import { CommonActions, useNavigation, useTheme as useNavigationTheme, useRoute,
4
4
  import React, { useCallback, useEffect, useRef, useState } from 'react';
5
5
  import { FlatList, Platform, StyleSheet, View } from 'react-native';
6
6
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
7
- import { Badge, Icon, Text } from '../components';
8
- import { EmptyConversationBlankState } from '../components/conversation/empty_conversation_blank_state';
9
- import { JumpToBottomButton } from '../components/conversation/jump_to_bottom_button';
10
- import { Message } from '../components/conversation/message';
11
- import { MessageForm } from '../components/conversation/message_form';
12
- import { LeaderMessagesDisabledBanner, MemberMessagesDisabledBanner, } from '../components/conversation/messages_disabled_banners';
13
- import { ReplyShadowMessage } from '../components/conversation/reply_shadow_message';
14
- import { TypingIndicator } from '../components/conversation/typing_indicator';
15
- import { KeyboardView } from '../components/display/keyboard_view';
16
- import BlankState from '../components/primitive/blank_state_primitive';
17
- import { ConversationContextProvider } from '../contexts/conversation_context';
18
- import { useTheme } from '../hooks';
19
- import { useConversation } from '../hooks/use_conversation';
20
- import { useConversationJoltEvents } from '../hooks/use_conversation_jolt_events';
21
- import { useConversationMessages } from '../hooks/use_conversation_messages';
22
- import { useConversationMessagesJoltEvents } from '../hooks/use_conversation_messages_jolt_events';
23
- import { useMarkLatestMessageRead } from '../hooks/use_mark_latest_message_read';
24
- import { normalizeAnalyticsMetadata, usePublishProductAnalyticsEvent, } from '../hooks/use_product_analytics';
25
- import { getRelativeDateStatus } from '../utils/date';
26
- import dayjs from '../utils/dayjs';
27
- import { CONVERSATION_MESSAGE_LIST_PADDING_HORIZONTAL } from '../utils/styles';
7
+ import { Badge, Icon, Text } from '@/components';
8
+ import { EmptyConversationBlankState } from '@/components/conversation/empty_conversation_blank_state';
9
+ import { JumpToBottomButton } from '@/components/conversation/jump_to_bottom_button';
10
+ import { Message } from '@/components/conversation/message';
11
+ import { MessageForm } from '@/components/conversation/message_form';
12
+ import { LeaderMessagesDisabledBanner, MemberMessagesDisabledBanner, } from '@/components/conversation/messages_disabled_banners';
13
+ import { ReplyShadowMessage } from '@/components/conversation/reply_shadow_message';
14
+ import { TypingIndicator } from '@/components/conversation/typing_indicator';
15
+ import { KeyboardView } from '@/components/display/keyboard_view';
16
+ import BlankState from '@/components/primitive/blank_state_primitive';
17
+ import { ConversationContextProvider } from '@/contexts/conversation_context';
18
+ import { useTheme } from '@/hooks';
19
+ import { useConversation } from '@/hooks/use_conversation';
20
+ import { useConversationJoltEvents } from '@/hooks/use_conversation_jolt_events';
21
+ import { useConversationMessages } from '@/hooks/use_conversation_messages';
22
+ import { useConversationMessagesJoltEvents } from '@/hooks/use_conversation_messages_jolt_events';
23
+ import { useMarkLatestMessageRead } from '@/hooks/use_mark_latest_message_read';
24
+ import { normalizeAnalyticsMetadata, usePublishProductAnalyticsEvent, } from '@/hooks/use_product_analytics';
25
+ import { getRelativeDateStatus } from '@/utils/date';
26
+ import dayjs from '@/utils/dayjs';
27
+ import { CONVERSATION_MESSAGE_LIST_PADDING_HORIZONTAL } from '@/utils/styles';
28
28
  export function ConversationScreen({ route }) {
29
29
  const { conversation_id, reply_root_id } = route.params;
30
30
  const { data: conversation } = useConversation({ conversation_id });
@@ -1 +1 @@
1
- {"version":3,"file":"conversation_screen.js","sourceRoot":"","sources":["../../src/screens/conversation_screen.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,8BAA8B,CAAA;AACjE,OAAO,EAAE,WAAW,EAAoB,iBAAiB,EAAE,MAAM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BACN,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,EAAE,mBAAmB,EAAE,MAAM,EAAE,mBAAmB,EAAE,EAAE;oBACvF,GAAG,MAAM;iBACV;gBACD,KAAK,EAAE,KAAK,CAAC,KAAK,GAAG,CAAC;aACvB,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;IACJ,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAAA;AAC/C,CAAC,CAAA","sourcesContent":["import { date as formatDate } from '@planningcenter/datetime-fmt'\nimport { HeaderTitle, HeaderTitleProps, PlatformPressable } from '@react-navigation/elements'\nimport {\n CommonActions,\n RouteProp,\n StaticScreenProps,\n useNavigation,\n useTheme as useNavigationTheme,\n useRoute,\n} from '@react-navigation/native'\nimport React, { useCallback, useEffect, useRef, useState } from 'react'\nimport { FlatList, Platform, StyleSheet, View } from 'react-native'\nimport { useSafeAreaInsets } from 'react-native-safe-area-context'\nimport { Badge, Icon, Text } from '../components'\nimport { EmptyConversationBlankState } from '../components/conversation/empty_conversation_blank_state'\nimport { JumpToBottomButton } from '../components/conversation/jump_to_bottom_button'\nimport { Message } from '../components/conversation/message'\nimport { MessageForm } from '../components/conversation/message_form'\nimport {\n LeaderMessagesDisabledBanner,\n MemberMessagesDisabledBanner,\n} from '../components/conversation/messages_disabled_banners'\nimport { ReplyShadowMessage } from '../components/conversation/reply_shadow_message'\nimport { TypingIndicator } from '../components/conversation/typing_indicator'\nimport { KeyboardView } from '../components/display/keyboard_view'\nimport BlankState from '../components/primitive/blank_state_primitive'\nimport { ConversationContextProvider } from '../contexts/conversation_context'\nimport { useTheme } from '../hooks'\nimport { useConversation } from '../hooks/use_conversation'\nimport { useConversationJoltEvents } from '../hooks/use_conversation_jolt_events'\nimport { useConversationMessages } from '../hooks/use_conversation_messages'\nimport { useConversationMessagesJoltEvents } from '../hooks/use_conversation_messages_jolt_events'\nimport { useMarkLatestMessageRead } from '../hooks/use_mark_latest_message_read'\nimport {\n normalizeAnalyticsMetadata,\n usePublishProductAnalyticsEvent,\n} from '../hooks/use_product_analytics'\nimport { MessageResource } from '../types'\nimport { ConversationBadgeResource } from '../types/resources/conversation_badge'\nimport { getRelativeDateStatus } from '../utils/date'\nimport dayjs from '../utils/dayjs'\nimport { CONVERSATION_MESSAGE_LIST_PADDING_HORIZONTAL } from '../utils/styles'\n\nexport type ConversationRouteProps = {\n conversation_id: number\n reply_root_id?: string | null\n reply_root_author_name?: string\n chat_group_graph_id?: string\n clear_input?: boolean\n editing_message_id?: number | null\n title?: string\n subtitle?: string\n badge?: ConversationBadgeResource\n deleted?: boolean\n muted?: boolean\n}\n\nexport type ConversationScreenProps = StaticScreenProps<ConversationRouteProps>\n\nexport function ConversationScreen({ route }: ConversationScreenProps) {\n const { conversation_id, reply_root_id } = route.params\n\n const { data: conversation } = useConversation({ conversation_id })\n\n usePublishProductAnalyticsEvent('chat.mobile.conversations.show.opened', {\n reply_root_id,\n ...normalizeAnalyticsMetadata(conversation),\n })\n\n return (\n <ConversationContextProvider\n conversationId={conversation_id}\n currentPageReplyRootId={reply_root_id ?? null}\n >\n <ConversationScreenContent route={route} />\n </ConversationContextProvider>\n )\n}\n\nfunction ConversationScreenContent({ route }: ConversationScreenProps) {\n const styles = useStyles()\n const navigation = useNavigation()\n const { conversation_id, editing_message_id, reply_root_id, reply_root_author_name } =\n route.params\n const { data: conversation } = useConversation(route.params)\n const { messages, refetch, isRefetching, fetchNextPage } = useConversationMessages({\n conversation_id,\n reply_root_id,\n })\n useConversationJoltEvents({ conversationId: conversation_id })\n useConversationMessagesJoltEvents({ conversationId: conversation_id })\n useEnsureConversationsRouteExists()\n useMarkLatestMessageRead({ conversation, messages })\n const messagesWithSeparators = groupMessages({\n ms: messages,\n inReplyScreen: !!reply_root_id,\n })\n const noMessages = messagesWithSeparators.length === 0\n\n const { repliesDisabled, memberAbility, badges, title } = conversation\n const canReply = memberAbility?.canReply\n const showLeaderDisabledReplyBanner = canReply && repliesDisabled\n const canDeleteNonAuthoredMessages = memberAbility?.canDeleteNonAuthoredMessages ?? false\n const currentlyEditingMessage = messages.find(m => String(m.id) === String(editing_message_id))\n const replyRootAuthorFirstName = reply_root_author_name?.split(' ')[0]\n const replyHeaderTitle = replyRootAuthorFirstName\n ? `Reply to ${replyRootAuthorFirstName}`\n : 'Reply'\n // Prefer the membership for optimistic updates.\n const muted = conversation.conversationMembership?.muted ?? conversation.muted\n\n const listRef = useRef<FlatList>(null)\n const [showJumpToBottomButton, setShowJumpToBottomButton] = useState(false)\n\n const trackScroll = (event: any) => {\n const offsetY = event.nativeEvent.contentOffset.y\n setShowJumpToBottomButton(offsetY > 200)\n }\n\n const handleReturnToBottom = useCallback(() => {\n listRef.current?.scrollToOffset({\n offset: 0,\n })\n }, [])\n\n useEffect(() => {\n if (reply_root_id) {\n navigation.setParams({\n title: replyHeaderTitle,\n })\n } else {\n navigation.setParams({\n title: title,\n badge: badges?.[0],\n deleted: conversation?.deleted,\n muted,\n })\n }\n }, [navigation, title, badges, conversation?.deleted, reply_root_id, replyHeaderTitle, muted])\n\n if (!conversation || conversation.deleted) {\n return (\n <View style={styles.container}>\n <BlankState.Root>\n <BlankState.Imagery name=\"general.outlinedTextMessage\" />\n <BlankState.Content>\n <BlankState.Heading>This conversation has been deleted</BlankState.Heading>\n </BlankState.Content>\n <BlankState.Button\n onPress={navigation.goBack}\n title=\"Back to conversations\"\n accessibilityHint=\"Navigates back to the conversations list\"\n accessibilityRole=\"link\"\n />\n </BlankState.Root>\n </View>\n )\n }\n\n return (\n <View style={styles.container}>\n <KeyboardView>\n {noMessages ? (\n <EmptyConversationBlankState />\n ) : (\n <FlatList\n inverted\n ref={listRef}\n contentContainerStyle={styles.listContainer}\n refreshing={isRefetching}\n onRefresh={refetch}\n data={messagesWithSeparators}\n keyExtractor={item => item.id}\n onScroll={trackScroll}\n scrollEventThrottle={10}\n renderItem={({ item }) => {\n if (item.type === 'DateSeparator') {\n return <InlineDateSeparator {...item} />\n }\n\n if (item.type === 'ReplyShadowMessage') {\n return (\n <ReplyShadowMessage\n {...item}\n conversation_id={conversation_id}\n inReplyScreen={!!reply_root_id}\n />\n )\n }\n\n return (\n <Message\n {...item}\n canDeleteNonAuthoredMessages={canDeleteNonAuthoredMessages}\n conversation_id={conversation_id}\n latestReadMessageSortKey={conversation?.latestReadMessageSortKey}\n inReplyScreen={!!reply_root_id}\n />\n )\n }}\n onEndReached={() => fetchNextPage()}\n ListHeaderComponent={<View style={styles.listHeader} />}\n />\n )}\n <JumpToBottomButton onPress={handleReturnToBottom} visible={showJumpToBottomButton} />\n {!noMessages && <TypingIndicator />}\n {showLeaderDisabledReplyBanner && <LeaderMessagesDisabledBanner />}\n {canReply ? (\n <MessageForm.Root\n replyRootAuthorFirstName={replyRootAuthorFirstName}\n conversation={conversation}\n replyRootId={reply_root_id}\n currentlyEditingMessage={currentlyEditingMessage}\n // We use a separate key so that it remounts component when switching between new\n // and edit message. This simplifies internal state handling.\n key={\n currentlyEditingMessage\n ? `edit-message-form-${currentlyEditingMessage.id}`\n : 'new-message-form'\n }\n >\n <MessageForm.AttachmentPicker />\n <MessageForm.Commands />\n <MessageForm.TextInput />\n <MessageForm.SubmitButton />\n </MessageForm.Root>\n ) : (\n <MemberMessagesDisabledBanner />\n )}\n </KeyboardView>\n </View>\n )\n}\n\nexport type DateSeparator = { type: 'DateSeparator'; id: string; date: string }\n\nfunction InlineDateSeparator({ date }: DateSeparator) {\n const styles = useDateSeparatorStyles()\n const { isThisYear } = getRelativeDateStatus(date)\n const showYear = !isThisYear\n const dateStamp = formatDate(date, { style: 'long', year: showYear })\n\n return (\n <View style={styles.container}>\n <View style={styles.separator} />\n <Text variant=\"footnote\" style={styles.dateText}>\n {dateStamp}\n </Text>\n <View style={styles.separator} />\n </View>\n )\n}\n\nconst useDateSeparatorStyles = () => {\n const theme = useTheme()\n return StyleSheet.create({\n container: {\n alignItems: 'center',\n flexDirection: 'row',\n paddingHorizontal: CONVERSATION_MESSAGE_LIST_PADDING_HORIZONTAL,\n paddingVertical: 16,\n },\n separator: {\n flex: 1,\n height: 1,\n borderTopWidth: 1,\n borderTopColor: theme.colors.borderColorDefaultBase,\n },\n dateText: {\n paddingHorizontal: 8,\n },\n })\n}\n\ntype ReplyShadowMessage = {\n type: 'ReplyShadowMessage'\n id: string\n messageId: string\n isReplyShadowMessage: boolean\n nextRendersAuthor: boolean\n}\n\ninterface GroupMessagesProps {\n ms: MessageResource[]\n inReplyScreen?: boolean\n}\n\nexport const groupMessages = ({ ms, inReplyScreen }: GroupMessagesProps) => {\n let enrichedMessages: (MessageResource | DateSeparator | ReplyShadowMessage)[] = []\n let encounteredOneOfMyMessages = false\n\n ms.forEach((message, i) => {\n const prevMessage = ms[i + 1]\n const nextMessage = ms[i - 1]\n const date = dayjs(message.createdAt).format('YYYY-MM-DD')\n const inThread = message.replyRootId !== null\n const nextMessageInThread = nextMessage?.replyRootId !== null\n const threadRoot = message.replyRootId === message.id\n const nextMessageThreadRoot = nextMessage?.replyRootId === nextMessage?.id\n const prevMessageDifferentThread = message.replyRootId !== prevMessage?.replyRootId\n const nextMessageDifferentThread = message.replyRootId !== nextMessage?.replyRootId\n const prevMessageDifferentAuthor = message.author?.id !== prevMessage?.author?.id\n const nextMessageDifferentAuthor = message.author?.id !== nextMessage?.author?.id\n const prevMessageMoreThan5Minutes =\n prevMessage &&\n new Date(message.createdAt).getTime() - new Date(prevMessage.createdAt).getTime() > 60000 * 5\n const nextMessageMoreThan5Minutes =\n nextMessage &&\n new Date(nextMessage.createdAt).getTime() - new Date(message.createdAt).getTime() > 60000 * 5\n const prevMessageIsDateSeparator =\n prevMessage && date !== dayjs(prevMessage.createdAt).format('YYYY-MM-DD')\n const nextMessageIsDateSeparator =\n nextMessage && date !== dayjs(nextMessage.createdAt).format('YYYY-MM-DD')\n const insertReplyShadowMessage =\n message.replyRootId &&\n !threadRoot &&\n (prevMessageDifferentThread || prevMessageIsDateSeparator)\n const lastInGroup =\n !nextMessage ||\n nextMessageDifferentAuthor ||\n nextMessageMoreThan5Minutes ||\n nextMessageDifferentThread ||\n nextMessageIsDateSeparator\n const renderAuthor =\n !message.mine &&\n (!prevMessage ||\n prevMessageDifferentAuthor ||\n prevMessageMoreThan5Minutes ||\n prevMessageDifferentThread ||\n prevMessageIsDateSeparator)\n const nextIsReplyShadowMessage =\n nextMessageInThread &&\n !nextMessageThreadRoot &&\n (nextMessageDifferentThread || nextMessageIsDateSeparator)\n\n if (message.mine && !encounteredOneOfMyMessages) {\n encounteredOneOfMyMessages = true\n message.myLatestInConversation = true\n } else {\n message.myLatestInConversation = false\n }\n message.lastInGroup = lastInGroup\n message.renderAuthor = renderAuthor\n message.threadPosition = null\n message.nextRendersAuthor = nextMessage?.renderAuthor\n message.isReplyShadowMessage = false\n message.nextIsReplyShadowMessage = nextIsReplyShadowMessage\n\n if (!inReplyScreen && inThread) {\n message.prevIsMyReply = prevMessage?.mine\n message.nextIsMyReply = nextMessage?.mine\n\n const firstInThread = threadRoot\n const lastInThread = nextMessageDifferentThread || nextMessageIsDateSeparator\n\n if (firstInThread && lastInThread)\n message.threadPosition = null // ensures we don't render a connector for root replies that aren't immediately followed up a reply\n else if (firstInThread) message.threadPosition = 'first'\n else if (lastInThread) message.threadPosition = 'last'\n else message.threadPosition = 'center'\n }\n\n enrichedMessages.push(message)\n\n if (insertReplyShadowMessage) {\n enrichedMessages.push({\n type: 'ReplyShadowMessage',\n id: `${message.id}-${message.replyRootId}`,\n messageId: message.replyRootId!,\n isReplyShadowMessage: true,\n nextRendersAuthor: message?.renderAuthor,\n })\n }\n\n if (!prevMessage || date !== dayjs(prevMessage.createdAt).format('YYYY-MM-DD')) {\n enrichedMessages.push({ type: 'DateSeparator', id: `day-divider-${message.id}`, date })\n }\n })\n\n return enrichedMessages\n}\ninterface ConversationScreenTitleProps extends HeaderTitleProps {\n conversation_id: number\n badge?: ConversationBadgeResource\n deleted?: boolean\n muted?: boolean\n}\n\nexport const ConversationScreenTitle = ({\n conversation_id,\n badge,\n children,\n style,\n deleted,\n muted,\n}: ConversationScreenTitleProps) => {\n const styles = usePressableHeaderStyle()\n const navigation = useNavigation()\n const resourceType = badge?.pcoResourceType || ''\n const productName = badge?.appName\n const name = badge?.text || undefined\n\n return (\n <PlatformPressable\n accessibilityHint=\"Opens details about members and settings\"\n style={styles.container}\n onPress={() => {\n if (deleted) return\n\n navigation.navigate('ConversationDetails', { conversation_id })\n }}\n >\n <View style={styles.titleWrapper}>\n <View style={styles.titleTextContainer}>\n <HeaderTitle maxFontSizeMultiplier={1} style={style}>\n {children}\n </HeaderTitle>\n </View>\n {muted && <Icon name=\"general.bellMuted\" size={12} />}\n {!deleted && <Icon name=\"general.downChevron\" size={12} />}\n </View>\n <Badge\n variant=\"metaSubtle\"\n productLogoName={productName}\n label={resourceType}\n metaLabel={name}\n style={styles.badge}\n maxFontSizeMultiplier={1}\n />\n </PlatformPressable>\n )\n}\n\nconst usePressableHeaderStyle = () => {\n return StyleSheet.create({\n container: {\n alignItems: Platform.select({ android: 'flex-start', default: 'center' }),\n marginRight: Platform.select({ ios: 20, default: 16 }),\n flex: 1,\n },\n titleWrapper: {\n alignItems: 'center',\n columnGap: 4,\n flexDirection: 'row',\n flexShrink: 1,\n },\n titleTextContainer: {\n flexShrink: 1,\n minWidth: 0,\n },\n badge: {\n alignSelf: Platform.select({ android: 'flex-start', default: 'center' }),\n marginTop: 2,\n },\n })\n}\n\nconst useStyles = () => {\n const navigationTheme = useNavigationTheme()\n const { bottom } = useSafeAreaInsets()\n\n return StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: 'center',\n backgroundColor: navigationTheme.colors.card,\n paddingBottom: bottom,\n },\n listContainer: {\n paddingVertical: 12,\n },\n listHeader: {\n // Just whitespace to provide space where the typing indicator can be\n height: 16,\n },\n })\n}\n\n/**\n * useEnsureConversationsRouteExists\n */\nconst useEnsureConversationsRouteExists = () => {\n const navigation = useNavigation()\n const { params } = useRoute<RouteProp<ConversationScreenProps['route']>>()\n\n useEffect(() => {\n const navigationState = navigation.getState()\n const routes = navigationState?.routes || []\n const conversationsRoute = routes.find(r => r.name === 'Conversations')\n\n if (conversationsRoute) return\n\n navigation.dispatch(state => {\n return CommonActions.reset({\n ...state,\n routes: [\n { name: 'Conversations', params: { chat_group_graph_id: params?.chat_group_graph_id } },\n ...routes,\n ],\n index: state.index + 1,\n })\n })\n }, [navigation, params?.chat_group_graph_id])\n}\n"]}
1
+ {"version":3,"file":"conversation_screen.js","sourceRoot":"","sources":["../../src/screens/conversation_screen.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,8BAA8B,CAAA;AACjE,OAAO,EAAE,WAAW,EAAoB,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC7F,OAAO,EACL,aAAa,EAGb,aAAa,EACb,QAAQ,IAAI,kBAAkB,EAC9B,QAAQ,GACT,MAAM,0BAA0B,CAAA;AACjC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACvE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAClE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAA;AACtG,OAAO,EAAE,kBAAkB,EAAE,MAAM,iDAAiD,CAAA;AACpF,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAA;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACpE,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,GAC7B,MAAM,qDAAqD,CAAA;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAA;AACnF,OAAO,EAAE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AAE,GAAG,QAAQ,EAA+C,CAAA;IAE1E,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,eAAe,GAAG,UAAU,CAAC,QAAQ,EAAE,CAAA;QAC7C,MAAM,MAAM,GAAG,eAAe,EAAE,MAAM,IAAI,EAAE,CAAA;QAC5C,MAAM,kBAAkB,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,eAAe,CAAC,CAAA;QAEvE,IAAI,kBAAkB;YAAE,OAAM;QAE9B,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;YAC1B,OAAO,aAAa,CAAC,KAAK,CAAC;gBACzB,GAAG,KAAK;gBACR,MAAM,EAAE;oBACN,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,EAAE,mBAAmB,EAAE,MAAM,EAAE,mBAAmB,EAAE,EAAE;oBACvF,GAAG,MAAM;iBACV;gBACD,KAAK,EAAE,KAAK,CAAC,KAAK,GAAG,CAAC;aACvB,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;IACJ,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAAA;AAC/C,CAAC,CAAA","sourcesContent":["import { date as formatDate } from '@planningcenter/datetime-fmt'\nimport { HeaderTitle, HeaderTitleProps, PlatformPressable } from '@react-navigation/elements'\nimport {\n CommonActions,\n RouteProp,\n StaticScreenProps,\n useNavigation,\n useTheme as useNavigationTheme,\n useRoute,\n} from '@react-navigation/native'\nimport React, { useCallback, useEffect, useRef, useState } from 'react'\nimport { FlatList, Platform, StyleSheet, View } from 'react-native'\nimport { useSafeAreaInsets } from 'react-native-safe-area-context'\nimport { Badge, Icon, Text } from '@/components'\nimport { EmptyConversationBlankState } from '@/components/conversation/empty_conversation_blank_state'\nimport { JumpToBottomButton } from '@/components/conversation/jump_to_bottom_button'\nimport { Message } from '@/components/conversation/message'\nimport { MessageForm } from '@/components/conversation/message_form'\nimport {\n LeaderMessagesDisabledBanner,\n MemberMessagesDisabledBanner,\n} from '@/components/conversation/messages_disabled_banners'\nimport { ReplyShadowMessage } from '@/components/conversation/reply_shadow_message'\nimport { TypingIndicator } from '@/components/conversation/typing_indicator'\nimport { KeyboardView } from '@/components/display/keyboard_view'\nimport BlankState from '@/components/primitive/blank_state_primitive'\nimport { ConversationContextProvider } from '@/contexts/conversation_context'\nimport { useTheme } from '@/hooks'\nimport { useConversation } from '@/hooks/use_conversation'\nimport { useConversationJoltEvents } from '@/hooks/use_conversation_jolt_events'\nimport { useConversationMessages } from '@/hooks/use_conversation_messages'\nimport { useConversationMessagesJoltEvents } from '@/hooks/use_conversation_messages_jolt_events'\nimport { useMarkLatestMessageRead } from '@/hooks/use_mark_latest_message_read'\nimport {\n normalizeAnalyticsMetadata,\n usePublishProductAnalyticsEvent,\n} from '@/hooks/use_product_analytics'\nimport { MessageResource } from '@/types'\nimport { ConversationBadgeResource } from '@/types/resources/conversation_badge'\nimport { getRelativeDateStatus } from '@/utils/date'\nimport dayjs from '@/utils/dayjs'\nimport { CONVERSATION_MESSAGE_LIST_PADDING_HORIZONTAL } from '@/utils/styles'\n\nexport type ConversationRouteProps = {\n conversation_id: number\n reply_root_id?: string | null\n reply_root_author_name?: string\n chat_group_graph_id?: string\n clear_input?: boolean\n editing_message_id?: number | null\n title?: string\n subtitle?: string\n badge?: ConversationBadgeResource\n deleted?: boolean\n muted?: boolean\n}\n\nexport type ConversationScreenProps = StaticScreenProps<ConversationRouteProps>\n\nexport function ConversationScreen({ route }: ConversationScreenProps) {\n const { conversation_id, reply_root_id } = route.params\n\n const { data: conversation } = useConversation({ conversation_id })\n\n usePublishProductAnalyticsEvent('chat.mobile.conversations.show.opened', {\n reply_root_id,\n ...normalizeAnalyticsMetadata(conversation),\n })\n\n return (\n <ConversationContextProvider\n conversationId={conversation_id}\n currentPageReplyRootId={reply_root_id ?? null}\n >\n <ConversationScreenContent route={route} />\n </ConversationContextProvider>\n )\n}\n\nfunction ConversationScreenContent({ route }: ConversationScreenProps) {\n const styles = useStyles()\n const navigation = useNavigation()\n const { conversation_id, editing_message_id, reply_root_id, reply_root_author_name } =\n route.params\n const { data: conversation } = useConversation(route.params)\n const { messages, refetch, isRefetching, fetchNextPage } = useConversationMessages({\n conversation_id,\n reply_root_id,\n })\n useConversationJoltEvents({ conversationId: conversation_id })\n useConversationMessagesJoltEvents({ conversationId: conversation_id })\n useEnsureConversationsRouteExists()\n useMarkLatestMessageRead({ conversation, messages })\n const messagesWithSeparators = groupMessages({\n ms: messages,\n inReplyScreen: !!reply_root_id,\n })\n const noMessages = messagesWithSeparators.length === 0\n\n const { repliesDisabled, memberAbility, badges, title } = conversation\n const canReply = memberAbility?.canReply\n const showLeaderDisabledReplyBanner = canReply && repliesDisabled\n const canDeleteNonAuthoredMessages = memberAbility?.canDeleteNonAuthoredMessages ?? false\n const currentlyEditingMessage = messages.find(m => String(m.id) === String(editing_message_id))\n const replyRootAuthorFirstName = reply_root_author_name?.split(' ')[0]\n const replyHeaderTitle = replyRootAuthorFirstName\n ? `Reply to ${replyRootAuthorFirstName}`\n : 'Reply'\n // Prefer the membership for optimistic updates.\n const muted = conversation.conversationMembership?.muted ?? conversation.muted\n\n const listRef = useRef<FlatList>(null)\n const [showJumpToBottomButton, setShowJumpToBottomButton] = useState(false)\n\n const trackScroll = (event: any) => {\n const offsetY = event.nativeEvent.contentOffset.y\n setShowJumpToBottomButton(offsetY > 200)\n }\n\n const handleReturnToBottom = useCallback(() => {\n listRef.current?.scrollToOffset({\n offset: 0,\n })\n }, [])\n\n useEffect(() => {\n if (reply_root_id) {\n navigation.setParams({\n title: replyHeaderTitle,\n })\n } else {\n navigation.setParams({\n title: title,\n badge: badges?.[0],\n deleted: conversation?.deleted,\n muted,\n })\n }\n }, [navigation, title, badges, conversation?.deleted, reply_root_id, replyHeaderTitle, muted])\n\n if (!conversation || conversation.deleted) {\n return (\n <View style={styles.container}>\n <BlankState.Root>\n <BlankState.Imagery name=\"general.outlinedTextMessage\" />\n <BlankState.Content>\n <BlankState.Heading>This conversation has been deleted</BlankState.Heading>\n </BlankState.Content>\n <BlankState.Button\n onPress={navigation.goBack}\n title=\"Back to conversations\"\n accessibilityHint=\"Navigates back to the conversations list\"\n accessibilityRole=\"link\"\n />\n </BlankState.Root>\n </View>\n )\n }\n\n return (\n <View style={styles.container}>\n <KeyboardView>\n {noMessages ? (\n <EmptyConversationBlankState />\n ) : (\n <FlatList\n inverted\n ref={listRef}\n contentContainerStyle={styles.listContainer}\n refreshing={isRefetching}\n onRefresh={refetch}\n data={messagesWithSeparators}\n keyExtractor={item => item.id}\n onScroll={trackScroll}\n scrollEventThrottle={10}\n renderItem={({ item }) => {\n if (item.type === 'DateSeparator') {\n return <InlineDateSeparator {...item} />\n }\n\n if (item.type === 'ReplyShadowMessage') {\n return (\n <ReplyShadowMessage\n {...item}\n conversation_id={conversation_id}\n inReplyScreen={!!reply_root_id}\n />\n )\n }\n\n return (\n <Message\n {...item}\n canDeleteNonAuthoredMessages={canDeleteNonAuthoredMessages}\n conversation_id={conversation_id}\n latestReadMessageSortKey={conversation?.latestReadMessageSortKey}\n inReplyScreen={!!reply_root_id}\n />\n )\n }}\n onEndReached={() => fetchNextPage()}\n ListHeaderComponent={<View style={styles.listHeader} />}\n />\n )}\n <JumpToBottomButton onPress={handleReturnToBottom} visible={showJumpToBottomButton} />\n {!noMessages && <TypingIndicator />}\n {showLeaderDisabledReplyBanner && <LeaderMessagesDisabledBanner />}\n {canReply ? (\n <MessageForm.Root\n replyRootAuthorFirstName={replyRootAuthorFirstName}\n conversation={conversation}\n replyRootId={reply_root_id}\n currentlyEditingMessage={currentlyEditingMessage}\n // We use a separate key so that it remounts component when switching between new\n // and edit message. This simplifies internal state handling.\n key={\n currentlyEditingMessage\n ? `edit-message-form-${currentlyEditingMessage.id}`\n : 'new-message-form'\n }\n >\n <MessageForm.AttachmentPicker />\n <MessageForm.Commands />\n <MessageForm.TextInput />\n <MessageForm.SubmitButton />\n </MessageForm.Root>\n ) : (\n <MemberMessagesDisabledBanner />\n )}\n </KeyboardView>\n </View>\n )\n}\n\nexport type DateSeparator = { type: 'DateSeparator'; id: string; date: string }\n\nfunction InlineDateSeparator({ date }: DateSeparator) {\n const styles = useDateSeparatorStyles()\n const { isThisYear } = getRelativeDateStatus(date)\n const showYear = !isThisYear\n const dateStamp = formatDate(date, { style: 'long', year: showYear })\n\n return (\n <View style={styles.container}>\n <View style={styles.separator} />\n <Text variant=\"footnote\" style={styles.dateText}>\n {dateStamp}\n </Text>\n <View style={styles.separator} />\n </View>\n )\n}\n\nconst useDateSeparatorStyles = () => {\n const theme = useTheme()\n return StyleSheet.create({\n container: {\n alignItems: 'center',\n flexDirection: 'row',\n paddingHorizontal: CONVERSATION_MESSAGE_LIST_PADDING_HORIZONTAL,\n paddingVertical: 16,\n },\n separator: {\n flex: 1,\n height: 1,\n borderTopWidth: 1,\n borderTopColor: theme.colors.borderColorDefaultBase,\n },\n dateText: {\n paddingHorizontal: 8,\n },\n })\n}\n\ntype ReplyShadowMessage = {\n type: 'ReplyShadowMessage'\n id: string\n messageId: string\n isReplyShadowMessage: boolean\n nextRendersAuthor: boolean\n}\n\ninterface GroupMessagesProps {\n ms: MessageResource[]\n inReplyScreen?: boolean\n}\n\nexport const groupMessages = ({ ms, inReplyScreen }: GroupMessagesProps) => {\n let enrichedMessages: (MessageResource | DateSeparator | ReplyShadowMessage)[] = []\n let encounteredOneOfMyMessages = false\n\n ms.forEach((message, i) => {\n const prevMessage = ms[i + 1]\n const nextMessage = ms[i - 1]\n const date = dayjs(message.createdAt).format('YYYY-MM-DD')\n const inThread = message.replyRootId !== null\n const nextMessageInThread = nextMessage?.replyRootId !== null\n const threadRoot = message.replyRootId === message.id\n const nextMessageThreadRoot = nextMessage?.replyRootId === nextMessage?.id\n const prevMessageDifferentThread = message.replyRootId !== prevMessage?.replyRootId\n const nextMessageDifferentThread = message.replyRootId !== nextMessage?.replyRootId\n const prevMessageDifferentAuthor = message.author?.id !== prevMessage?.author?.id\n const nextMessageDifferentAuthor = message.author?.id !== nextMessage?.author?.id\n const prevMessageMoreThan5Minutes =\n prevMessage &&\n new Date(message.createdAt).getTime() - new Date(prevMessage.createdAt).getTime() > 60000 * 5\n const nextMessageMoreThan5Minutes =\n nextMessage &&\n new Date(nextMessage.createdAt).getTime() - new Date(message.createdAt).getTime() > 60000 * 5\n const prevMessageIsDateSeparator =\n prevMessage && date !== dayjs(prevMessage.createdAt).format('YYYY-MM-DD')\n const nextMessageIsDateSeparator =\n nextMessage && date !== dayjs(nextMessage.createdAt).format('YYYY-MM-DD')\n const insertReplyShadowMessage =\n message.replyRootId &&\n !threadRoot &&\n (prevMessageDifferentThread || prevMessageIsDateSeparator)\n const lastInGroup =\n !nextMessage ||\n nextMessageDifferentAuthor ||\n nextMessageMoreThan5Minutes ||\n nextMessageDifferentThread ||\n nextMessageIsDateSeparator\n const renderAuthor =\n !message.mine &&\n (!prevMessage ||\n prevMessageDifferentAuthor ||\n prevMessageMoreThan5Minutes ||\n prevMessageDifferentThread ||\n prevMessageIsDateSeparator)\n const nextIsReplyShadowMessage =\n nextMessageInThread &&\n !nextMessageThreadRoot &&\n (nextMessageDifferentThread || nextMessageIsDateSeparator)\n\n if (message.mine && !encounteredOneOfMyMessages) {\n encounteredOneOfMyMessages = true\n message.myLatestInConversation = true\n } else {\n message.myLatestInConversation = false\n }\n message.lastInGroup = lastInGroup\n message.renderAuthor = renderAuthor\n message.threadPosition = null\n message.nextRendersAuthor = nextMessage?.renderAuthor\n message.isReplyShadowMessage = false\n message.nextIsReplyShadowMessage = nextIsReplyShadowMessage\n\n if (!inReplyScreen && inThread) {\n message.prevIsMyReply = prevMessage?.mine\n message.nextIsMyReply = nextMessage?.mine\n\n const firstInThread = threadRoot\n const lastInThread = nextMessageDifferentThread || nextMessageIsDateSeparator\n\n if (firstInThread && lastInThread)\n message.threadPosition = null // ensures we don't render a connector for root replies that aren't immediately followed up a reply\n else if (firstInThread) message.threadPosition = 'first'\n else if (lastInThread) message.threadPosition = 'last'\n else message.threadPosition = 'center'\n }\n\n enrichedMessages.push(message)\n\n if (insertReplyShadowMessage) {\n enrichedMessages.push({\n type: 'ReplyShadowMessage',\n id: `${message.id}-${message.replyRootId}`,\n messageId: message.replyRootId!,\n isReplyShadowMessage: true,\n nextRendersAuthor: message?.renderAuthor,\n })\n }\n\n if (!prevMessage || date !== dayjs(prevMessage.createdAt).format('YYYY-MM-DD')) {\n enrichedMessages.push({ type: 'DateSeparator', id: `day-divider-${message.id}`, date })\n }\n })\n\n return enrichedMessages\n}\ninterface ConversationScreenTitleProps extends HeaderTitleProps {\n conversation_id: number\n badge?: ConversationBadgeResource\n deleted?: boolean\n muted?: boolean\n}\n\nexport const ConversationScreenTitle = ({\n conversation_id,\n badge,\n children,\n style,\n deleted,\n muted,\n}: ConversationScreenTitleProps) => {\n const styles = usePressableHeaderStyle()\n const navigation = useNavigation()\n const resourceType = badge?.pcoResourceType || ''\n const productName = badge?.appName\n const name = badge?.text || undefined\n\n return (\n <PlatformPressable\n accessibilityHint=\"Opens details about members and settings\"\n style={styles.container}\n onPress={() => {\n if (deleted) return\n\n navigation.navigate('ConversationDetails', { conversation_id })\n }}\n >\n <View style={styles.titleWrapper}>\n <View style={styles.titleTextContainer}>\n <HeaderTitle maxFontSizeMultiplier={1} style={style}>\n {children}\n </HeaderTitle>\n </View>\n {muted && <Icon name=\"general.bellMuted\" size={12} />}\n {!deleted && <Icon name=\"general.downChevron\" size={12} />}\n </View>\n <Badge\n variant=\"metaSubtle\"\n productLogoName={productName}\n label={resourceType}\n metaLabel={name}\n style={styles.badge}\n maxFontSizeMultiplier={1}\n />\n </PlatformPressable>\n )\n}\n\nconst usePressableHeaderStyle = () => {\n return StyleSheet.create({\n container: {\n alignItems: Platform.select({ android: 'flex-start', default: 'center' }),\n marginRight: Platform.select({ ios: 20, default: 16 }),\n flex: 1,\n },\n titleWrapper: {\n alignItems: 'center',\n columnGap: 4,\n flexDirection: 'row',\n flexShrink: 1,\n },\n titleTextContainer: {\n flexShrink: 1,\n minWidth: 0,\n },\n badge: {\n alignSelf: Platform.select({ android: 'flex-start', default: 'center' }),\n marginTop: 2,\n },\n })\n}\n\nconst useStyles = () => {\n const navigationTheme = useNavigationTheme()\n const { bottom } = useSafeAreaInsets()\n\n return StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: 'center',\n backgroundColor: navigationTheme.colors.card,\n paddingBottom: bottom,\n },\n listContainer: {\n paddingVertical: 12,\n },\n listHeader: {\n // Just whitespace to provide space where the typing indicator can be\n height: 16,\n },\n })\n}\n\n/**\n * useEnsureConversationsRouteExists\n */\nconst useEnsureConversationsRouteExists = () => {\n const navigation = useNavigation()\n const { params } = useRoute<RouteProp<ConversationScreenProps['route']>>()\n\n useEffect(() => {\n const navigationState = navigation.getState()\n const routes = navigationState?.routes || []\n const conversationsRoute = routes.find(r => r.name === 'Conversations')\n\n if (conversationsRoute) return\n\n navigation.dispatch(state => {\n return CommonActions.reset({\n ...state,\n routes: [\n { name: 'Conversations', params: { chat_group_graph_id: params?.chat_group_graph_id } },\n ...routes,\n ],\n index: state.index + 1,\n })\n })\n }, [navigation, params?.chat_group_graph_id])\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { GroupsGroupResource } from '../../../types';
1
+ import { GroupsGroupResource } from '@/types';
2
2
  interface GroupsRecipientRowProps {
3
3
  group: GroupsGroupResource;
4
4
  onPress: (group: GroupsGroupResource) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"groups_recipient_row.d.ts","sourceRoot":"","sources":["../../../../src/screens/conversation_select_recipients/components/groups_recipient_row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAIpD,UAAU,uBAAuB;IAC/B,KAAK,EAAE,mBAAmB,CAAA;IAC1B,OAAO,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAA;CAC9C;AAED,eAAO,MAAM,kBAAkB,uBAAwB,uBAAuB,gCAa7E,CAAA"}
1
+ {"version":3,"file":"groups_recipient_row.d.ts","sourceRoot":"","sources":["../../../../src/screens/conversation_select_recipients/components/groups_recipient_row.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAG7C,UAAU,uBAAuB;IAC/B,KAAK,EAAE,mBAAmB,CAAA;IAC1B,OAAO,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAA;CAC9C;AAED,eAAO,MAAM,kBAAkB,uBAAwB,uBAAuB,gCAa7E,CAAA"}
@@ -1,5 +1,5 @@
1
- import { pluralize } from '../../../utils';
2
1
  import { RecipientLinkRow } from './recipient_link_row';
2
+ import { pluralize } from '@/utils';
3
3
  export const GroupsRecipientRow = ({ group, onPress }) => {
4
4
  const groupAccessibilityLabel = `Select ${group.name} with ${pluralize(group.membershipsCount, 'member')}`;
5
5
  return (<RecipientLinkRow imageUri={group.headerImage?.thumbnail} title={group.name} subtitle={`${group.membershipsCount} members`} onPress={() => onPress(group)} accessibilityLabel={groupAccessibilityLabel} accessibilityHint={`Selects group as recipient and navigates to the final screen to finish creating the conversation`}/>);
@@ -1 +1 @@
1
- {"version":3,"file":"groups_recipient_row.js","sourceRoot":"","sources":["../../../../src/screens/conversation_select_recipients/components/groups_recipient_row.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAOvD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EAAE,KAAK,EAAE,OAAO,EAA2B,EAAE,EAAE;IAChF,MAAM,uBAAuB,GAAG,UAAU,KAAK,CAAC,IAAI,SAAS,SAAS,CAAC,KAAK,CAAC,gBAAgB,EAAE,QAAQ,CAAC,EAAE,CAAA;IAE1G,OAAO,CACL,CAAC,gBAAgB,CACf,QAAQ,CAAC,CAAC,KAAK,CAAC,WAAW,EAAE,SAAS,CAAC,CACvC,KAAK,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAClB,QAAQ,CAAC,CAAC,GAAG,KAAK,CAAC,gBAAgB,UAAU,CAAC,CAC9C,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAC9B,kBAAkB,CAAC,CAAC,uBAAuB,CAAC,CAC5C,iBAAiB,CAAC,CAAC,kGAAkG,CAAC,EACtH,CACH,CAAA;AACH,CAAC,CAAA","sourcesContent":["import { GroupsGroupResource } from '../../../types'\nimport { pluralize } from '../../../utils'\nimport { RecipientLinkRow } from './recipient_link_row'\n\ninterface GroupsRecipientRowProps {\n group: GroupsGroupResource\n onPress: (group: GroupsGroupResource) => void\n}\n\nexport const GroupsRecipientRow = ({ group, onPress }: GroupsRecipientRowProps) => {\n const groupAccessibilityLabel = `Select ${group.name} with ${pluralize(group.membershipsCount, 'member')}`\n\n return (\n <RecipientLinkRow\n imageUri={group.headerImage?.thumbnail}\n title={group.name}\n subtitle={`${group.membershipsCount} members`}\n onPress={() => onPress(group)}\n accessibilityLabel={groupAccessibilityLabel}\n accessibilityHint={`Selects group as recipient and navigates to the final screen to finish creating the conversation`}\n />\n )\n}\n"]}
1
+ {"version":3,"file":"groups_recipient_row.js","sourceRoot":"","sources":["../../../../src/screens/conversation_select_recipients/components/groups_recipient_row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAEvD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAOnC,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EAAE,KAAK,EAAE,OAAO,EAA2B,EAAE,EAAE;IAChF,MAAM,uBAAuB,GAAG,UAAU,KAAK,CAAC,IAAI,SAAS,SAAS,CAAC,KAAK,CAAC,gBAAgB,EAAE,QAAQ,CAAC,EAAE,CAAA;IAE1G,OAAO,CACL,CAAC,gBAAgB,CACf,QAAQ,CAAC,CAAC,KAAK,CAAC,WAAW,EAAE,SAAS,CAAC,CACvC,KAAK,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAClB,QAAQ,CAAC,CAAC,GAAG,KAAK,CAAC,gBAAgB,UAAU,CAAC,CAC9C,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAC9B,kBAAkB,CAAC,CAAC,uBAAuB,CAAC,CAC5C,iBAAiB,CAAC,CAAC,kGAAkG,CAAC,EACtH,CACH,CAAA;AACH,CAAC,CAAA","sourcesContent":["import { RecipientLinkRow } from './recipient_link_row'\nimport { GroupsGroupResource } from '@/types'\nimport { pluralize } from '@/utils'\n\ninterface GroupsRecipientRowProps {\n group: GroupsGroupResource\n onPress: (group: GroupsGroupResource) => void\n}\n\nexport const GroupsRecipientRow = ({ group, onPress }: GroupsRecipientRowProps) => {\n const groupAccessibilityLabel = `Select ${group.name} with ${pluralize(group.membershipsCount, 'member')}`\n\n return (\n <RecipientLinkRow\n imageUri={group.headerImage?.thumbnail}\n title={group.name}\n subtitle={`${group.membershipsCount} members`}\n onPress={() => onPress(group)}\n accessibilityLabel={groupAccessibilityLabel}\n accessibilityHint={`Selects group as recipient and navigates to the final screen to finish creating the conversation`}\n />\n )\n}\n"]}
@@ -1,9 +1,9 @@
1
1
  import { PlatformPressable } from '@react-navigation/elements';
2
2
  import React from 'react';
3
3
  import { Platform, StyleSheet, View } from 'react-native';
4
- import { Icon, Image, Text } from '../../../components';
5
- import { useTheme } from '../../../hooks';
6
- import { platformFontWeightMedium } from '../../../utils';
4
+ import { Icon, Image, Text } from '@/components';
5
+ import { useTheme } from '@/hooks';
6
+ import { platformFontWeightMedium } from '@/utils';
7
7
  export const RecipientLinkRow = ({ onPress, accessibilityLabel, accessibilityHint, imageUri, title, subtitle, }) => {
8
8
  const styles = useStyles();
9
9
  return (<PlatformPressable style={styles.row} onPress={onPress} accessibilityRole="link" accessibilityLabel={accessibilityLabel} accessibilityHint={accessibilityHint}>
@@ -1 +1 @@
1
- {"version":3,"file":"recipient_link_row.js","sourceRoot":"","sources":["../../../../src/screens/conversation_select_recipients/components/recipient_link_row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACzD,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AAWzD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAC/B,OAAO,EACP,kBAAkB,EAClB,iBAAiB,EACjB,QAAQ,EACR,KAAK,EACL,QAAQ,GACc,EAAE,EAAE;IAC1B,MAAM,MAAM,GAAG,SAAS,EAAE,CAAA;IAE1B,OAAO,CACL,CAAC,iBAAiB,CAChB,KAAK,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAClB,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,iBAAiB,CAAC,MAAM,CACxB,kBAAkB,CAAC,CAAC,kBAAkB,CAAC,CACvC,iBAAiB,CAAC,CAAC,iBAAiB,CAAC,CAErC;MAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,CACjC;QAAA,CAAC,QAAQ,IAAI,CACX,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,EAAE,EAAG,CACpF,CACD;QAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,OAAO,CA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AU,EAAE,wBAAwB;YACpC,UAAU,EAAE,CAAC;SACd;QACD,OAAO,EAAE;YACP,UAAU,EAAE,CAAC;YACb,GAAG,EAAE,CAAC;SACP;QACD,IAAI,EAAE;YACJ,UAAU,EAAE,MAAM;YAClB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,wBAAwB;SAC7C;KACF,CAAC,CAAA;AACJ,CAAC,CAAA","sourcesContent":["import { PlatformPressable } from '@react-navigation/elements'\nimport React from 'react'\nimport { Platform, StyleSheet, View } from 'react-native'\nimport { Icon, Image, Text } from '../../../components'\nimport { useTheme } from '../../../hooks'\nimport { platformFontWeightMedium } from '../../../utils'\n\ninterface RecipientLinkRowProps {\n onPress: () => void\n accessibilityLabel: string\n accessibilityHint: string\n imageUri?: string\n title: string\n subtitle: string\n}\n\nexport const RecipientLinkRow = ({\n onPress,\n accessibilityLabel,\n accessibilityHint,\n imageUri,\n title,\n subtitle,\n}: RecipientLinkRowProps) => {\n const styles = useStyles()\n\n return (\n <PlatformPressable\n style={styles.row}\n onPress={onPress}\n accessibilityRole=\"link\"\n accessibilityLabel={accessibilityLabel}\n accessibilityHint={accessibilityHint}\n >\n <View style={styles.innerContainer}>\n {imageUri && (\n <Image source={{ uri: imageUri }} resizeMode=\"cover\" style={styles.image} alt=\"\" />\n )}\n <View style={styles.content}>\n <Text style={styles.title} numberOfLines={2}>\n {title}\n </Text>\n <Text variant=\"tertiary\" numberOfLines={1}>\n {subtitle}\n </Text>\n </View>\n {Platform.OS === 'ios' && (\n <Icon name=\"general.rightChevron\" size={16} style={styles.icon} />\n )}\n </View>\n </PlatformPressable>\n )\n}\n\nconst ASPECT_RATIO = 16 / 9\nconst THUMBNAIL_WIDTH = 80\nconst THUMBNAIL_HEIGHT = THUMBNAIL_WIDTH / ASPECT_RATIO\n\nconst useStyles = () => {\n const theme = useTheme()\n\n return StyleSheet.create({\n row: {\n paddingLeft: 16,\n },\n innerContainer: {\n flexDirection: 'row',\n alignItems: 'center',\n gap: 12,\n paddingVertical: 16,\n paddingRight: 16,\n borderBottomWidth: 1,\n borderColor: theme.colors.fillColorNeutral050Base,\n },\n image: {\n width: THUMBNAIL_WIDTH,\n height: THUMBNAIL_HEIGHT,\n borderRadius: 4,\n },\n title: {\n fontWeight: platformFontWeightMedium,\n flexShrink: 1,\n },\n content: {\n flexShrink: 1,\n gap: 2,\n },\n icon: {\n marginLeft: 'auto',\n color: theme.colors.iconColorDefaultDisabled,\n },\n })\n}\n"]}
1
+ {"version":3,"file":"recipient_link_row.js","sourceRoot":"","sources":["../../../../src/screens/conversation_select_recipients/components/recipient_link_row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACzD,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAWlD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAC/B,OAAO,EACP,kBAAkB,EAClB,iBAAiB,EACjB,QAAQ,EACR,KAAK,EACL,QAAQ,GACc,EAAE,EAAE;IAC1B,MAAM,MAAM,GAAG,SAAS,EAAE,CAAA;IAE1B,OAAO,CACL,CAAC,iBAAiB,CAChB,KAAK,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAClB,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,iBAAiB,CAAC,MAAM,CACxB,kBAAkB,CAAC,CAAC,kBAAkB,CAAC,CACvC,iBAAiB,CAAC,CAAC,iBAAiB,CAAC,CAErC;MAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,CACjC;QAAA,CAAC,QAAQ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AAE,EAAE;YACP,eAAe,EAAE,EAAE;YACnB,YAAY,EAAE,EAAE;YAChB,iBAAiB,EAAE,CAAC;YACpB,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,uBAAuB;SAClD;QACD,KAAK,EAAE;YACL,KAAK,EAAE,eAAe;YACtB,MAAM,EAAE,gBAAgB;YACxB,YAAY,EAAE,CAAC;SAChB;QACD,KAAK,EAAE;YACL,UAAU,EAAE,wBAAwB;YACpC,UAAU,EAAE,CAAC;SACd;QACD,OAAO,EAAE;YACP,UAAU,EAAE,CAAC;YACb,GAAG,EAAE,CAAC;SACP;QACD,IAAI,EAAE;YACJ,UAAU,EAAE,MAAM;YAClB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,wBAAwB;SAC7C;KACF,CAAC,CAAA;AACJ,CAAC,CAAA","sourcesContent":["import { PlatformPressable } from '@react-navigation/elements'\nimport React from 'react'\nimport { Platform, StyleSheet, View } from 'react-native'\nimport { Icon, Image, Text } from '@/components'\nimport { useTheme } from '@/hooks'\nimport { platformFontWeightMedium } from '@/utils'\n\ninterface RecipientLinkRowProps {\n onPress: () => void\n accessibilityLabel: string\n accessibilityHint: string\n imageUri?: string\n title: string\n subtitle: string\n}\n\nexport const RecipientLinkRow = ({\n onPress,\n accessibilityLabel,\n accessibilityHint,\n imageUri,\n title,\n subtitle,\n}: RecipientLinkRowProps) => {\n const styles = useStyles()\n\n return (\n <PlatformPressable\n style={styles.row}\n onPress={onPress}\n accessibilityRole=\"link\"\n accessibilityLabel={accessibilityLabel}\n accessibilityHint={accessibilityHint}\n >\n <View style={styles.innerContainer}>\n {imageUri && (\n <Image source={{ uri: imageUri }} resizeMode=\"cover\" style={styles.image} alt=\"\" />\n )}\n <View style={styles.content}>\n <Text style={styles.title} numberOfLines={2}>\n {title}\n </Text>\n <Text variant=\"tertiary\" numberOfLines={1}>\n {subtitle}\n </Text>\n </View>\n {Platform.OS === 'ios' && (\n <Icon name=\"general.rightChevron\" size={16} style={styles.icon} />\n )}\n </View>\n </PlatformPressable>\n )\n}\n\nconst ASPECT_RATIO = 16 / 9\nconst THUMBNAIL_WIDTH = 80\nconst THUMBNAIL_HEIGHT = THUMBNAIL_WIDTH / ASPECT_RATIO\n\nconst useStyles = () => {\n const theme = useTheme()\n\n return StyleSheet.create({\n row: {\n paddingLeft: 16,\n },\n innerContainer: {\n flexDirection: 'row',\n alignItems: 'center',\n gap: 12,\n paddingVertical: 16,\n paddingRight: 16,\n borderBottomWidth: 1,\n borderColor: theme.colors.fillColorNeutral050Base,\n },\n image: {\n width: THUMBNAIL_WIDTH,\n height: THUMBNAIL_HEIGHT,\n borderRadius: 4,\n },\n title: {\n fontWeight: platformFontWeightMedium,\n flexShrink: 1,\n },\n content: {\n flexShrink: 1,\n gap: 2,\n },\n icon: {\n marginLeft: 'auto',\n color: theme.colors.iconColorDefaultDisabled,\n },\n })\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { GroupsGroupResource } from '../../../types';
2
+ import { GroupsGroupResource } from '@/types';
3
3
  interface RestrictedGroupRowProps {
4
4
  group: GroupsGroupResource;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"restricted_group_row.d.ts","sourceRoot":"","sources":["../../../../src/screens/conversation_select_recipients/components/restricted_group_row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAGpD,UAAU,uBAAuB;IAC/B,KAAK,EAAE,mBAAmB,CAAA;CAC3B;AAaD,eAAO,MAAM,kBAAkB,cAAe,uBAAuB,sBA4BpE,CAAA"}
1
+ {"version":3,"file":"restricted_group_row.d.ts","sourceRoot":"","sources":["../../../../src/screens/conversation_select_recipients/components/restricted_group_row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAG7C,UAAU,uBAAuB;IAC/B,KAAK,EAAE,mBAAmB,CAAA;CAC3B;AAaD,eAAO,MAAM,kBAAkB,cAAe,uBAAuB,sBA4BpE,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import { StyleSheet, View } from 'react-native';
3
- import { Image, Text } from '../../../components';
4
- import { useTheme } from '../../../hooks';
5
- import { platformFontWeightMedium } from '../../../utils';
3
+ import { Image, Text } from '@/components';
4
+ import { useTheme } from '@/hooks';
5
+ import { platformFontWeightMedium } from '@/utils';
6
6
  const DEFAULT_REASON = 'Chat is not enabled for this group';
7
7
  const REASON_DISPLAY_TEXT = {
8
8
  leaders_only: 'Only leaders can start conversations',
@@ -1 +1 @@
1
- {"version":3,"file":"restricted_group_row.js","sourceRoot":"","sources":["../../../../src/screens/conversation_select_recipients/components/restricted_group_row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AAMzD,MAAM,cAAc,GAAG,oCAAoC,CAAA;AAC3D,MAAM,mBAAmB,GAA2B;IAClD,YAAY,EAAE,sCAAsC;IACpD,aAAa,EAAE,cAAc;CAC9B,CAAA;AAED,SAAS,UAAU,CAAC,UAAyB;IAC3C,IAAI,CAAC,UAAU;QAAE,OAAO,cAAc,CAAA;IACtC,OAAO,mBAAmB,CAAC,UAAU,CAAC,IAAI,cAAc,CAAA;AAC1D,CAAC;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EAAE,KAAK,EAA2B,EAAE,EAAE;IACvE,MAAM,MAAM,GAAG,SAAS,EAAE,CAAA;IAE1B,OAAO,CACL,CAAC,IAAI,CACH,KA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MAAM,CAAC;QACvB,GAAG,EAAE;YACH,WAAW,EAAE,EAAE;YACf,OAAO,EAAE,GAAG;SACb;QACD,cAAc,EAAE;YACd,aAAa,EAAE,KAAK;YACpB,UAAU,EAAE,QAAQ;YACpB,GAAG,EAAE,EAAE;YACP,eAAe,EAAE,EAAE;YACnB,YAAY,EAAE,EAAE;YAChB,iBAAiB,EAAE,CAAC;YACpB,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,uBAAuB;SAClD;QACD,KAAK,EAAE;YACL,KAAK,EAAE,eAAe;YACtB,MAAM,EAAE,gBAAgB;YACxB,YAAY,EAAE,CAAC;SAChB;QACD,KAAK,EAAE;YACL,UAAU,EAAE,wBAAwB;YACpC,UAAU,EAAE,CAAC;SACd;QACD,OAAO,EAAE;YACP,UAAU,EAAE,CAAC;YACb,GAAG,EAAE,CAAC;SACP;KACF,CAAC,CAAA;AACJ,CAAC,CAAA","sourcesContent":["import React from 'react'\nimport { StyleSheet, View } from 'react-native'\nimport { Image, Text } from '../../../components'\nimport { useTheme } from '../../../hooks'\nimport { GroupsGroupResource } from '../../../types'\nimport { platformFontWeightMedium } from '../../../utils'\n\ninterface RestrictedGroupRowProps {\n group: GroupsGroupResource\n}\n\nconst DEFAULT_REASON = 'Chat is not enabled for this group'\nconst REASON_DISPLAY_TEXT: Record<string, string> = {\n leaders_only: 'Only leaders can start conversations',\n chat_disabled: DEFAULT_REASON,\n}\n\nfunction reasonText(reasonCode: string | null): string {\n if (!reasonCode) return DEFAULT_REASON\n return REASON_DISPLAY_TEXT[reasonCode] || DEFAULT_REASON\n}\n\nexport const RestrictedGroupRow = ({ group }: RestrictedGroupRowProps) => {\n const styles = useStyles()\n\n return (\n <View\n style={styles.row}\n accessibilityLabel={`${group.name} — ${reasonText(group.canCreateConversationReasonCode)}`}\n >\n <View style={styles.innerContainer}>\n {group.headerImage?.thumbnail && (\n <Image\n source={{ uri: group.headerImage.thumbnail }}\n resizeMode=\"cover\"\n style={styles.image}\n alt=\"\"\n />\n )}\n <View style={styles.content}>\n <Text style={styles.title} numberOfLines={2}>\n {group.name}\n </Text>\n <Text variant=\"tertiary\" numberOfLines={1}>\n {reasonText(group.canCreateConversationReasonCode)}\n </Text>\n </View>\n </View>\n </View>\n )\n}\n\nconst ASPECT_RATIO = 16 / 9\nconst THUMBNAIL_WIDTH = 80\nconst THUMBNAIL_HEIGHT = THUMBNAIL_WIDTH / ASPECT_RATIO\n\nconst useStyles = () => {\n const theme = useTheme()\n\n return StyleSheet.create({\n row: {\n paddingLeft: 16,\n opacity: 0.5,\n },\n innerContainer: {\n flexDirection: 'row',\n alignItems: 'center',\n gap: 12,\n paddingVertical: 16,\n paddingRight: 16,\n borderBottomWidth: 1,\n borderColor: theme.colors.fillColorNeutral050Base,\n },\n image: {\n width: THUMBNAIL_WIDTH,\n height: THUMBNAIL_HEIGHT,\n borderRadius: 4,\n },\n title: {\n fontWeight: platformFontWeightMedium,\n flexShrink: 1,\n },\n content: {\n flexShrink: 1,\n gap: 2,\n },\n })\n}\n"]}
1
+ {"version":3,"file":"restricted_group_row.js","sourceRoot":"","sources":["../../../../src/screens/conversation_select_recipients/components/restricted_group_row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAMlD,MAAM,cAAc,GAAG,oCAAoC,CAAA;AAC3D,MAAM,mBAAmB,GAA2B;IAClD,YAAY,EAAE,sCAAsC;IACpD,aAAa,EAAE,cAAc;CAC9B,CAAA;AAED,SAAS,UAAU,CAAC,UAAyB;IAC3C,IAAI,CAAC,UAAU;QAAE,OAAO,cAAc,CAAA;IACtC,OAAO,mBAAmB,CA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,CAAA;AAC3B,MAAM,eAAe,GAAG,EAAE,CAAA;AAC1B,MAAM,gBAAgB,GAAG,eAAe,GAAG,YAAY,CAAA;AAEvD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAA;IAExB,OAAO,UAAU,CAAC,MAAM,CAAC;QACvB,GAAG,EAAE;YACH,WAAW,EAAE,EAAE;YACf,OAAO,EAAE,GAAG;SACb;QACD,cAAc,EAAE;YACd,aAAa,EAAE,KAAK;YACpB,UAAU,EAAE,QAAQ;YACpB,GAAG,EAAE,EAAE;YACP,eAAe,EAAE,EAAE;YACnB,YAAY,EAAE,EAAE;YAChB,iBAAiB,EAAE,CAAC;YACpB,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,uBAAuB;SAClD;QACD,KAAK,EAAE;YACL,KAAK,EAAE,eAAe;YACtB,MAAM,EAAE,gBAAgB;YACxB,YAAY,EAAE,CAAC;SAChB;QACD,KAAK,EAAE;YACL,UAAU,EAAE,wBAAwB;YACpC,UAAU,EAAE,CAAC;SACd;QACD,OAAO,EAAE;YACP,UAAU,EAAE,CAAC;YACb,GAAG,EAAE,CAAC;SACP;KACF,CAAC,CAAA;AACJ,CAAC,CAAA","sourcesContent":["import React from 'react'\nimport { StyleSheet, View } from 'react-native'\nimport { Image, Text } from '@/components'\nimport { useTheme } from '@/hooks'\nimport { GroupsGroupResource } from '@/types'\nimport { platformFontWeightMedium } from '@/utils'\n\ninterface RestrictedGroupRowProps {\n group: GroupsGroupResource\n}\n\nconst DEFAULT_REASON = 'Chat is not enabled for this group'\nconst REASON_DISPLAY_TEXT: Record<string, string> = {\n leaders_only: 'Only leaders can start conversations',\n chat_disabled: DEFAULT_REASON,\n}\n\nfunction reasonText(reasonCode: string | null): string {\n if (!reasonCode) return DEFAULT_REASON\n return REASON_DISPLAY_TEXT[reasonCode] || DEFAULT_REASON\n}\n\nexport const RestrictedGroupRow = ({ group }: RestrictedGroupRowProps) => {\n const styles = useStyles()\n\n return (\n <View\n style={styles.row}\n accessibilityLabel={`${group.name} — ${reasonText(group.canCreateConversationReasonCode)}`}\n >\n <View style={styles.innerContainer}>\n {group.headerImage?.thumbnail && (\n <Image\n source={{ uri: group.headerImage.thumbnail }}\n resizeMode=\"cover\"\n style={styles.image}\n alt=\"\"\n />\n )}\n <View style={styles.content}>\n <Text style={styles.title} numberOfLines={2}>\n {group.name}\n </Text>\n <Text variant=\"tertiary\" numberOfLines={1}>\n {reasonText(group.canCreateConversationReasonCode)}\n </Text>\n </View>\n </View>\n </View>\n )\n}\n\nconst ASPECT_RATIO = 16 / 9\nconst THUMBNAIL_WIDTH = 80\nconst THUMBNAIL_HEIGHT = THUMBNAIL_WIDTH / ASPECT_RATIO\n\nconst useStyles = () => {\n const theme = useTheme()\n\n return StyleSheet.create({\n row: {\n paddingLeft: 16,\n opacity: 0.5,\n },\n innerContainer: {\n flexDirection: 'row',\n alignItems: 'center',\n gap: 12,\n paddingVertical: 16,\n paddingRight: 16,\n borderBottomWidth: 1,\n borderColor: theme.colors.fillColorNeutral050Base,\n },\n image: {\n width: THUMBNAIL_WIDTH,\n height: THUMBNAIL_HEIGHT,\n borderRadius: 4,\n },\n title: {\n fontWeight: platformFontWeightMedium,\n flexShrink: 1,\n },\n content: {\n flexShrink: 1,\n gap: 2,\n },\n })\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { ServiceTypeWithTeams } from '../../conversation_filter_recipients/types';
1
+ import { ServiceTypeWithTeams } from '@/screens/conversation_filter_recipients/types';
2
2
  interface TeamRecipientRowProps {
3
3
  serviceType: ServiceTypeWithTeams;
4
4
  onPress: (teams: ServiceTypeWithTeams['teams']) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"team_recipient_row.d.ts","sourceRoot":"","sources":["../../../../src/screens/conversation_select_recipients/components/team_recipient_row.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAA;AAGjF,UAAU,qBAAqB;IAC7B,WAAW,EAAE,oBAAoB,CAAA;IACjC,OAAO,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,OAAO,CAAC,KAAK,IAAI,CAAA;CACxD;AAED,eAAO,MAAM,gBAAgB,6BAA8B,qBAAqB,gCAa/E,CAAA"}
1
+ {"version":3,"file":"team_recipient_row.d.ts","sourceRoot":"","sources":["../../../../src/screens/conversation_select_recipients/components/team_recipient_row.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAA;AAGrF,UAAU,qBAAqB;IAC7B,WAAW,EAAE,oBAAoB,CAAA;IACjC,OAAO,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,OAAO,CAAC,KAAK,IAAI,CAAA;CACxD;AAED,eAAO,MAAM,gBAAgB,6BAA8B,qBAAqB,gCAa/E,CAAA"}
@@ -1,5 +1,5 @@
1
- import { pluralize } from '../../../utils';
2
1
  import { RecipientLinkRow } from './recipient_link_row';
2
+ import { pluralize } from '@/utils';
3
3
  export const TeamRecipientRow = ({ serviceType, onPress }) => {
4
4
  const serviceTypeAccessibilityLabel = `Select ${pluralize(serviceType.teams.length, 'team')} for ${serviceType.name}`;
5
5
  const teamNames = serviceType.teams.map(team => team.name).join(', ');
@@ -1 +1 @@
1
- {"version":3,"file":"team_recipient_row.js","sourceRoot":"","sources":["../../../../src/screens/conversation_select_recipients/components/team_recipient_row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAOvD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAE,WAAW,EAAE,OAAO,EAAyB,EAAE,EAAE;IAClF,MAAM,6BAA6B,GAAG,UAAU,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,QAAQ,WAAW,CAAC,IAAI,EAAE,CAAA;IACrH,MAAM,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAErE,OAAO,CACL,CAAC,gBAAgB,CACf,KAAK,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CACxB,QAAQ,CAAC,CAAC,SAAS,CAAC,CACpB,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAC1C,kBAAkB,CAAC,CAAC,6BAA6B,CAAC,CAClD,iBAAiB,CAAC,CAAC,kHAAkH,CAAC,EACtI,CACH,CAAA;AACH,CAAC,CAAA","sourcesContent":["import { pluralize } from '../../../utils'\nimport { ServiceTypeWithTeams } from '../../conversation_filter_recipients/types'\nimport { RecipientLinkRow } from './recipient_link_row'\n\ninterface TeamRecipientRowProps {\n serviceType: ServiceTypeWithTeams\n onPress: (teams: ServiceTypeWithTeams['teams']) => void\n}\n\nexport const TeamRecipientRow = ({ serviceType, onPress }: TeamRecipientRowProps) => {\n const serviceTypeAccessibilityLabel = `Select ${pluralize(serviceType.teams.length, 'team')} for ${serviceType.name}`\n const teamNames = serviceType.teams.map(team => team.name).join(', ')\n\n return (\n <RecipientLinkRow\n title={serviceType.name}\n subtitle={teamNames}\n onPress={() => onPress(serviceType.teams)}\n accessibilityLabel={serviceTypeAccessibilityLabel}\n accessibilityHint={`Selects Service Type's teams as recipients and navigates to the final screen to finish creating the conversation`}\n />\n )\n}\n"]}
1
+ {"version":3,"file":"team_recipient_row.js","sourceRoot":"","sources":["../../../../src/screens/conversation_select_recipients/components/team_recipient_row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAEvD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAOnC,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAE,WAAW,EAAE,OAAO,EAAyB,EAAE,EAAE;IAClF,MAAM,6BAA6B,GAAG,UAAU,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,QAAQ,WAAW,CAAC,IAAI,EAAE,CAAA;IACrH,MAAM,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAErE,OAAO,CACL,CAAC,gBAAgB,CACf,KAAK,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CACxB,QAAQ,CAAC,CAAC,SAAS,CAAC,CACpB,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAC1C,kBAAkB,CAAC,CAAC,6BAA6B,CAAC,CAClD,iBAAiB,CAAC,CAAC,kHAAkH,CAAC,EACtI,CACH,CAAA;AACH,CAAC,CAAA","sourcesContent":["import { RecipientLinkRow } from './recipient_link_row'\nimport { ServiceTypeWithTeams } from '@/screens/conversation_filter_recipients/types'\nimport { pluralize } from '@/utils'\n\ninterface TeamRecipientRowProps {\n serviceType: ServiceTypeWithTeams\n onPress: (teams: ServiceTypeWithTeams['teams']) => void\n}\n\nexport const TeamRecipientRow = ({ serviceType, onPress }: TeamRecipientRowProps) => {\n const serviceTypeAccessibilityLabel = `Select ${pluralize(serviceType.teams.length, 'team')} for ${serviceType.name}`\n const teamNames = serviceType.teams.map(team => team.name).join(', ')\n\n return (\n <RecipientLinkRow\n title={serviceType.name}\n subtitle={teamNames}\n onPress={() => onPress(serviceType.teams)}\n accessibilityLabel={serviceTypeAccessibilityLabel}\n accessibilityHint={`Selects Service Type's teams as recipients and navigates to the final screen to finish creating the conversation`}\n />\n )\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { StyleSheet, View } from 'react-native';
2
- import { TextButton } from '../../../components';
2
+ import { TextButton } from '@/components';
3
3
  export const ViewMoreLinkRow = ({ accessibilityHint, onPress }) => {
4
4
  const styles = useRowStyles();
5
5
  return (<View style={[styles.row]}>
@@ -1 +1 @@
1
- {"version":3,"file":"view_more_link_row.js","sourceRoot":"","sources":["../../../../src/screens/conversation_select_recipients/components/view_more_link_row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAOhD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAE,iBAAiB,EAAE,OAAO,EAAwB,EAAE,EAAE;IACtF,MAAM,MAAM,GAAG,YAAY,EAAE,CAAA;IAE7B,OAAO,CACL,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CACxB;MAAA,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,iBAAiB,CAAC,CAAC,iBAAiB,CAAC,CAAC,iBAAiB,CAAC,MAAM,CAC1F;;MACF,EAAE,UAAU,CACd;IAAA,EAAE,IAAI,CAAC,CACR,CAAA;AACH,CAAC,CAAA;AAED,MAAM,YAAY,GAAG,GAAG,EAAE;IACxB,OAAO,UAAU,CAAC,MAAM,CAAC;QACvB,GAAG,EAAE;YACH,aAAa,EAAE,KAAK;YACpB,UAAU,EAAE,QAAQ;YACpB,eAAe,EAAE,EAAE;YACnB,iBAAiB,EAAE,EAAE;SACtB;KACF,CAAC,CAAA;AACJ,CAAC,CAAA","sourcesContent":["import { StyleSheet, View } from 'react-native'\nimport { TextButton } from '../../../components'\n\ninterface ViewMoreLinkRowProps {\n onPress: () => void\n accessibilityHint: string\n}\n\nexport const ViewMoreLinkRow = ({ accessibilityHint, onPress }: ViewMoreLinkRowProps) => {\n const styles = useRowStyles()\n\n return (\n <View style={[styles.row]}>\n <TextButton onPress={onPress} accessibilityHint={accessibilityHint} accessibilityRole=\"link\">\n View more\n </TextButton>\n </View>\n )\n}\n\nconst useRowStyles = () => {\n return StyleSheet.create({\n row: {\n flexDirection: 'row',\n alignItems: 'center',\n paddingVertical: 12,\n paddingHorizontal: 16,\n },\n })\n}\n"]}
1
+ {"version":3,"file":"view_more_link_row.js","sourceRoot":"","sources":["../../../../src/screens/conversation_select_recipients/components/view_more_link_row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAOzC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAE,iBAAiB,EAAE,OAAO,EAAwB,EAAE,EAAE;IACtF,MAAM,MAAM,GAAG,YAAY,EAAE,CAAA;IAE7B,OAAO,CACL,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CACxB;MAAA,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,iBAAiB,CAAC,CAAC,iBAAiB,CAAC,CAAC,iBAAiB,CAAC,MAAM,CAC1F;;MACF,EAAE,UAAU,CACd;IAAA,EAAE,IAAI,CAAC,CACR,CAAA;AACH,CAAC,CAAA;AAED,MAAM,YAAY,GAAG,GAAG,EAAE;IACxB,OAAO,UAAU,CAAC,MAAM,CAAC;QACvB,GAAG,EAAE;YACH,aAAa,EAAE,KAAK;YACpB,UAAU,EAAE,QAAQ;YACpB,eAAe,EAAE,EAAE;YACnB,iBAAiB,EAAE,EAAE;SACtB;KACF,CAAC,CAAA;AACJ,CAAC,CAAA","sourcesContent":["import { StyleSheet, View } from 'react-native'\nimport { TextButton } from '@/components'\n\ninterface ViewMoreLinkRowProps {\n onPress: () => void\n accessibilityHint: string\n}\n\nexport const ViewMoreLinkRow = ({ accessibilityHint, onPress }: ViewMoreLinkRowProps) => {\n const styles = useRowStyles()\n\n return (\n <View style={[styles.row]}>\n <TextButton onPress={onPress} accessibilityHint={accessibilityHint} accessibilityRole=\"link\">\n View more\n </TextButton>\n </View>\n )\n}\n\nconst useRowStyles = () => {\n return StyleSheet.create({\n row: {\n flexDirection: 'row',\n alignItems: 'center',\n paddingVertical: 12,\n paddingHorizontal: 16,\n },\n })\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"conversation_new_entry_screen.d.ts","sourceRoot":"","sources":["../../../src/screens/conversation_select_recipients/conversation_new_entry_screen.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAoB,MAAM,OAAO,CAAA;AAOxC,OAAO,KAAK,EAEV,uCAAuC,EACxC,MAAM,sBAAsB,CAAA;AAQ7B,eAAO,MAAM,0BAA0B,cAAe,uCAAuC,sBAyD5F,CAAA"}
1
+ {"version":3,"file":"conversation_new_entry_screen.d.ts","sourceRoot":"","sources":["../../../src/screens/conversation_select_recipients/conversation_new_entry_screen.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAoB,MAAM,OAAO,CAAA;AAGxC,OAAO,KAAK,EAEV,uCAAuC,EACxC,MAAM,sBAAsB,CAAA;AAY7B,eAAO,MAAM,0BAA0B,cAAe,uCAAuC,sBAyD5F,CAAA"}
@@ -2,10 +2,10 @@ import { useNavigation } from '@react-navigation/native';
2
2
  import React, { useEffect } from 'react';
3
3
  import { ScrollView, StyleSheet, View } from 'react-native';
4
4
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
5
- import { Button, Heading } from '../../components';
6
- import { DefaultLoading } from '../../components/page/loading';
7
- import { useNewConversationEntry } from '../../hooks/use_new_conversation_entry';
8
- import { Haptic } from '../../utils/native_adapters';
5
+ import { Button, Heading } from '@/components';
6
+ import { DefaultLoading } from '@/components/page/loading';
7
+ import { useNewConversationEntry } from '@/hooks/use_new_conversation_entry';
8
+ import { Haptic } from '@/utils/native_adapters';
9
9
  export const ConversationNewEntryScreen = ({ route }) => {
10
10
  const styles = useStyles();
11
11
  const navigation = useNavigation();
@@ -1 +1 @@
1
- {"version":3,"file":"conversation_new_entry_screen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CAAA;IAEtC,OAAO,UAAU,CAAC,MAAM,CAAC;QACvB,gBAAgB,EAAE;YAChB,QAAQ,EAAE,CAAC;YACX,OAAO,EAAE,EAAE;YACX,aAAa,EAAE,EAAE,GAAG,MAAM;YAC1B,cAAc,EAAE,QAAQ;SACzB;QACD,MAAM,EAAE;YACN,YAAY,EAAE,EAAE;YAChB,UAAU,EAAE,QAAQ;SACrB;QACD,OAAO,EAAE;YACP,GAAG,EAAE,EAAE;YACP,aAAa,EAAE,KAAK;YACpB,cAAc,EAAE,QAAQ;SACzB;KACF,CAAC,CAAA;AACJ,CAAC,CAAA","sourcesContent":["import { useNavigation } from '@react-navigation/native'\nimport type { NativeStackNavigationProp } from '@react-navigation/native-stack'\nimport React, { useEffect } from 'react'\nimport { ScrollView, StyleSheet, View } from 'react-native'\nimport { useSafeAreaInsets } from 'react-native-safe-area-context'\nimport { Button, Heading } from '../../components'\nimport { DefaultLoading } from '../../components/page/loading'\nimport { useNewConversationEntry } from '../../hooks/use_new_conversation_entry'\nimport { Haptic } from '../../utils/native_adapters'\nimport type {\n ConversationSelectRecipientsParams,\n ConversationSelectRecipientsScreenProps,\n} from './types/screen_props'\n\ntype NewConversationStackParamList = {\n ConversationNewEntry: ConversationSelectRecipientsParams | undefined\n ConversationSelectGroupRecipients: ConversationSelectRecipientsParams | undefined\n ConversationSelectTeamsILeadRecipients: ConversationSelectRecipientsParams | undefined\n}\n\nexport const ConversationNewEntryScreen = ({ route }: ConversationSelectRecipientsScreenProps) => {\n const styles = useStyles()\n const navigation = useNavigation<NativeStackNavigationProp<NewConversationStackParamList>>()\n const entryMode = useNewConversationEntry()\n\n useEffect(() => {\n if (entryMode === 'groups') {\n navigation.replace('ConversationSelectGroupRecipients', route.params)\n return\n }\n\n if (entryMode === 'teams') {\n navigation.replace('ConversationSelectTeamsILeadRecipients', route.params)\n return\n }\n\n if (entryMode === 'none') {\n navigation.goBack()\n return\n }\n }, [entryMode, navigation, route.params])\n\n if (entryMode !== 'select_type') return <DefaultLoading />\n\n const handleGroupPress = () => {\n Haptic.impactLight()\n navigation.navigate('ConversationSelectGroupRecipients', route.params)\n }\n\n const handleTeamPress = () => {\n Haptic.impactLight()\n navigation.navigate('ConversationSelectTeamsILeadRecipients', route.params)\n }\n\n return (\n <ScrollView contentContainerStyle={styles.contentContainer}>\n <View style={styles.header}>\n <Heading variant=\"h2\">Start a conversation by</Heading>\n </View>\n <View style={styles.actions}>\n <Button\n title=\"Group\"\n onPress={handleGroupPress}\n size=\"lg\"\n variant=\"outline\"\n accessibilityHint=\"Opens group selection screen\"\n />\n <Button\n title=\"Team\"\n onPress={handleTeamPress}\n size=\"lg\"\n variant=\"outline\"\n accessibilityHint=\"Opens team selection screen\"\n />\n </View>\n </ScrollView>\n )\n}\n\nconst useStyles = () => {\n const { bottom } = useSafeAreaInsets()\n\n return StyleSheet.create({\n contentContainer: {\n flexGrow: 1,\n padding: 16,\n paddingBottom: 16 + bottom,\n justifyContent: 'center',\n },\n header: {\n marginBottom: 24,\n alignItems: 'center',\n },\n actions: {\n gap: 12,\n flexDirection: 'row',\n justifyContent: 'center',\n },\n })\n}\n"]}
1
+ {"version":3,"file":"conversation_new_entry_screen.js","sourceRoot":"","sources":["../../../src/screens/conversation_select_recipients/conversation_new_entry_screen.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAExD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAKlE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAC5E,OAAO,EAAE,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AAC,CACzD;MAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CACzB;QAAA,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,OAAO,CACxD;MAAA,EAAE,IAAI,CACN;MAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAC1B;QAAA,CAAC,MAAM,CACL,KAAK,CAAC,OAAO,CACb,OAAO,CAAC,CAAC,gBAAgB,CAAC,CAC1B,IAAI,CAAC,IAAI,CACT,OAAO,CAAC,SAAS,CACjB,iBAAiB,CAAC,8BAA8B,EAElD;QAAA,CAAC,MAAM,CACL,KAAK,CAAC,MAAM,CACZ,OAAO,CAAC,CAAC,eAAe,CAAC,CACzB,IAAI,CAAC,IAAI,CACT,OAAO,CAAC,SAAS,CACjB,iBAAiB,CAAC,6BAA6B,EAEnD;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,UAAU,CAAC,CACd,CAAA;AACH,CAAC,CAAA;AAED,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IAEtC,OAAO,UAAU,CAAC,MAAM,CAAC;QACvB,gBAAgB,EAAE;YAChB,QAAQ,EAAE,CAAC;YACX,OAAO,EAAE,EAAE;YACX,aAAa,EAAE,EAAE,GAAG,MAAM;YAC1B,cAAc,EAAE,QAAQ;SACzB;QACD,MAAM,EAAE;YACN,YAAY,EAAE,EAAE;YAChB,UAAU,EAAE,QAAQ;SACrB;QACD,OAAO,EAAE;YACP,GAAG,EAAE,EAAE;YACP,aAAa,EAAE,KAAK;YACpB,cAAc,EAAE,QAAQ;SACzB;KACF,CAAC,CAAA;AACJ,CAAC,CAAA","sourcesContent":["import { useNavigation } from '@react-navigation/native'\nimport type { NativeStackNavigationProp } from '@react-navigation/native-stack'\nimport React, { useEffect } from 'react'\nimport { ScrollView, StyleSheet, View } from 'react-native'\nimport { useSafeAreaInsets } from 'react-native-safe-area-context'\nimport type {\n ConversationSelectRecipientsParams,\n ConversationSelectRecipientsScreenProps,\n} from './types/screen_props'\nimport { Button, Heading } from '@/components'\nimport { DefaultLoading } from '@/components/page/loading'\nimport { useNewConversationEntry } from '@/hooks/use_new_conversation_entry'\nimport { Haptic } from '@/utils/native_adapters'\n\ntype NewConversationStackParamList = {\n ConversationNewEntry: ConversationSelectRecipientsParams | undefined\n ConversationSelectGroupRecipients: ConversationSelectRecipientsParams | undefined\n ConversationSelectTeamsILeadRecipients: ConversationSelectRecipientsParams | undefined\n}\n\nexport const ConversationNewEntryScreen = ({ route }: ConversationSelectRecipientsScreenProps) => {\n const styles = useStyles()\n const navigation = useNavigation<NativeStackNavigationProp<NewConversationStackParamList>>()\n const entryMode = useNewConversationEntry()\n\n useEffect(() => {\n if (entryMode === 'groups') {\n navigation.replace('ConversationSelectGroupRecipients', route.params)\n return\n }\n\n if (entryMode === 'teams') {\n navigation.replace('ConversationSelectTeamsILeadRecipients', route.params)\n return\n }\n\n if (entryMode === 'none') {\n navigation.goBack()\n return\n }\n }, [entryMode, navigation, route.params])\n\n if (entryMode !== 'select_type') return <DefaultLoading />\n\n const handleGroupPress = () => {\n Haptic.impactLight()\n navigation.navigate('ConversationSelectGroupRecipients', route.params)\n }\n\n const handleTeamPress = () => {\n Haptic.impactLight()\n navigation.navigate('ConversationSelectTeamsILeadRecipients', route.params)\n }\n\n return (\n <ScrollView contentContainerStyle={styles.contentContainer}>\n <View style={styles.header}>\n <Heading variant=\"h2\">Start a conversation by</Heading>\n </View>\n <View style={styles.actions}>\n <Button\n title=\"Group\"\n onPress={handleGroupPress}\n size=\"lg\"\n variant=\"outline\"\n accessibilityHint=\"Opens group selection screen\"\n />\n <Button\n title=\"Team\"\n onPress={handleTeamPress}\n size=\"lg\"\n variant=\"outline\"\n accessibilityHint=\"Opens team selection screen\"\n />\n </View>\n </ScrollView>\n )\n}\n\nconst useStyles = () => {\n const { bottom } = useSafeAreaInsets()\n\n return StyleSheet.create({\n contentContainer: {\n flexGrow: 1,\n padding: 16,\n paddingBottom: 16 + bottom,\n justifyContent: 'center',\n },\n header: {\n marginBottom: 24,\n alignItems: 'center',\n },\n actions: {\n gap: 12,\n flexDirection: 'row',\n justifyContent: 'center',\n },\n })\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"conversation_select_group_recipients_screen.d.ts","sourceRoot":"","sources":["../../../src/screens/conversation_select_recipients/conversation_select_group_recipients_screen.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,OAAO,EAAE,uCAAuC,EAAE,MAAM,sBAAsB,CAAA;AAyB9E,eAAO,MAAM,uCAAuC,eAEjD,uCAAuC,sBAuDzC,CAAA"}
1
+ {"version":3,"file":"conversation_select_group_recipients_screen.d.ts","sourceRoot":"","sources":["../../../src/screens/conversation_select_recipients/conversation_select_group_recipients_screen.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,EAAE,uCAAuC,EAAE,MAAM,sBAAsB,CAAA;AA4B9E,eAAO,MAAM,uCAAuC,eAEjD,uCAAuC,sBAuDzC,CAAA"}
@@ -3,10 +3,10 @@ import { partition } from 'lodash';
3
3
  import React from 'react';
4
4
  import { SectionList, StyleSheet, View } from 'react-native';
5
5
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
6
- import { Heading, Text } from '../../components';
7
- import { useGroupsGroups } from '../../hooks/use_groups_groups';
8
6
  import { GroupsRecipientRow } from './components/groups_recipient_row';
9
7
  import { RestrictedGroupRow } from './components/restricted_group_row';
8
+ import { Heading, Text } from '@/components';
9
+ import { useGroupsGroups } from '@/hooks/use_groups_groups';
10
10
  const SectionKey = {
11
11
  my: 'my',
12
12
  more: 'more',
@@ -1 +1 @@
1
- {"version":3,"file":"conversation_select_group_recipients_screen.js","sourceRoot":"","sources":["../../../src/screens/conversation_select_recipients/conversation_select_group_recipients_screen.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C,EAAE,OAAO,CACtC;cAAA,CAAC,QAAQ,IAAI,CACX,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,eAAe,CAAC,CACrD;kBAAA,CAAC,QAAQ,CACX;gBAAA,EAAE,IAAI,CAAC,CACR,CACH;YAAA,EAAE,IAAI,CACR;UAAA,EAAE,IAAI,CAAC,CACR,CAAA;QACH,CAAC,CAAC,CACF,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE;YACvC,MAAM,EAAE,iBAAiB,EAAE,GAAG,cAAc,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;YACzD,OAAO,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,+BAA+B,CAAC,EAAG,CAAA;QACtF,CAAC,CAAC,EACF,CACH,CAAA;AACH,CAAC,CAAA;AAED,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IAEtC,OAAO,UAAU,CAAC,MAAM,CAAC;QACvB,gBAAgB,EAAE;YAChB,aAAa,EAAE,MAAM;SACtB;QACD,aAAa,EAAE;YACb,aAAa,EAAE,KAAK;YACpB,cAAc,EAAE,eAAe;YAC/B,OAAO,EAAE,EAAE;YACX,aAAa,EAAE,CAAC;SACjB;QACD,mBAAmB,EAAE;YACnB,SAAS,EAAE,EAAE;SACd;QACD,eAAe,EAAE;YACf,SAAS,EAAE,CAAC;SACb;KACF,CAAC,CAAA;AACJ,CAAC,CAAA","sourcesContent":["import { useNavigation } from '@react-navigation/native'\nimport { partition } from 'lodash'\nimport React from 'react'\nimport { SectionList, StyleSheet, View } from 'react-native'\nimport { useSafeAreaInsets } from 'react-native-safe-area-context'\nimport { Heading, Text } from '../../components'\nimport { useGroupsGroups } from '../../hooks/use_groups_groups'\nimport { GroupsGroupResource } from '../../types'\nimport { GroupsRecipientRow } from './components/groups_recipient_row'\nimport { RestrictedGroupRow } from './components/restricted_group_row'\nimport { ConversationSelectRecipientsScreenProps } from './types/screen_props'\n\nconst SectionKey = {\n my: 'my',\n more: 'more',\n} as const\n\nconst SECTION_CONFIG = {\n [SectionKey.my]: {\n title: 'My groups',\n subtitle: null,\n ListItemComponent: GroupsRecipientRow,\n },\n [SectionKey.more]: {\n title: 'More groups',\n subtitle: 'You can not start a new conversation in these groups',\n ListItemComponent: RestrictedGroupRow,\n },\n}\n\ninterface GroupsSection {\n key: keyof typeof SectionKey\n data: GroupsGroupResource[]\n}\n\nexport const ConversationSelectGroupRecipientsScreen = ({\n route,\n}: ConversationSelectRecipientsScreenProps) => {\n const styles = useStyles()\n const navigation = useNavigation()\n const { data: groups = [] } = useGroupsGroups()\n\n const [myGroups, moreGroups] = partition(groups, g => g.canCreateConversation)\n\n const sections: GroupsSection[] = [\n { key: SectionKey.my, data: myGroups },\n { key: SectionKey.more, data: moreGroups },\n ].filter(({ data }) => data.length > 0)\n\n const handleNavigateToConversationNew = (group: GroupsGroupResource) => {\n navigation.navigate('New', {\n screen: 'ConversationNew',\n params: {\n ...route.params,\n group_id: group.id,\n source_app_name: 'Groups',\n },\n })\n }\n\n return (\n <SectionList<GroupsGroupResource, GroupsSection>\n sections={sections}\n keyExtractor={item => item.id.toString()}\n stickySectionHeadersEnabled={false}\n contentContainerStyle={styles.contentContainer}\n renderSectionHeader={({ section }) => {\n const { title, subtitle } = SECTION_CONFIG[section.key]\n return (\n <View\n style={[\n styles.sectionHeader,\n section.key === SectionKey.more && styles.sectionHeaderSpaced,\n ]}\n >\n <View>\n <Heading variant=\"h3\">{title}</Heading>\n {subtitle && (\n <Text variant=\"tertiary\" style={styles.sectionSubtitle}>\n {subtitle}\n </Text>\n )}\n </View>\n </View>\n )\n }}\n renderItem={({ item: group, section }) => {\n const { ListItemComponent } = SECTION_CONFIG[section.key]\n return <ListItemComponent group={group} onPress={handleNavigateToConversationNew} />\n }}\n />\n )\n}\n\nconst useStyles = () => {\n const { bottom } = useSafeAreaInsets()\n\n return StyleSheet.create({\n contentContainer: {\n paddingBottom: bottom,\n },\n sectionHeader: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n padding: 16,\n paddingBottom: 4,\n },\n sectionHeaderSpaced: {\n marginTop: 16,\n },\n sectionSubtitle: {\n marginTop: 4,\n },\n })\n}\n"]}
1
+ {"version":3,"file":"conversation_select_group_recipients_screen.js","sourceRoot":"","sources":["../../../src/screens/conversation_select_recipients/conversation_select_group_recipients_screen.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAClC,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAEtE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAG3D,MAAM,UAAU,GAAG;IACjB,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;CACJ,CAAA;AAEV,MAAM,cAAc,GAAG;IACrB,CAAC,UAAU,CAAC,EAAE,CAAC,EAAE;QACf,KAAK,EAAE,WAAW;QAClB,QAAQ,EAAE,IAAI;QACd,iBAAiB,EAAE,kBAAkB;KACtC;IACD,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE;QACjB,KAAK,EAAE,aAAa;QACpB,QAAQ,EAAE,sDAAsD;QAChE,iBAAiB,EAAE,kBAAkB;KACtC;CACF,CAAA;AAOD,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Aa,EAAE,CAAC;SACjB;QACD,mBAAmB,EAAE;YACnB,SAAS,EAAE,EAAE;SACd;QACD,eAAe,EAAE;YACf,SAAS,EAAE,CAAC;SACb;KACF,CAAC,CAAA;AACJ,CAAC,CAAA","sourcesContent":["import { useNavigation } from '@react-navigation/native'\nimport { partition } from 'lodash'\nimport React from 'react'\nimport { SectionList, StyleSheet, View } from 'react-native'\nimport { useSafeAreaInsets } from 'react-native-safe-area-context'\nimport { GroupsRecipientRow } from './components/groups_recipient_row'\nimport { RestrictedGroupRow } from './components/restricted_group_row'\nimport { ConversationSelectRecipientsScreenProps } from './types/screen_props'\nimport { Heading, Text } from '@/components'\nimport { useGroupsGroups } from '@/hooks/use_groups_groups'\nimport { GroupsGroupResource } from '@/types'\n\nconst SectionKey = {\n my: 'my',\n more: 'more',\n} as const\n\nconst SECTION_CONFIG = {\n [SectionKey.my]: {\n title: 'My groups',\n subtitle: null,\n ListItemComponent: GroupsRecipientRow,\n },\n [SectionKey.more]: {\n title: 'More groups',\n subtitle: 'You can not start a new conversation in these groups',\n ListItemComponent: RestrictedGroupRow,\n },\n}\n\ninterface GroupsSection {\n key: keyof typeof SectionKey\n data: GroupsGroupResource[]\n}\n\nexport const ConversationSelectGroupRecipientsScreen = ({\n route,\n}: ConversationSelectRecipientsScreenProps) => {\n const styles = useStyles()\n const navigation = useNavigation()\n const { data: groups = [] } = useGroupsGroups()\n\n const [myGroups, moreGroups] = partition(groups, g => g.canCreateConversation)\n\n const sections: GroupsSection[] = [\n { key: SectionKey.my, data: myGroups },\n { key: SectionKey.more, data: moreGroups },\n ].filter(({ data }) => data.length > 0)\n\n const handleNavigateToConversationNew = (group: GroupsGroupResource) => {\n navigation.navigate('New', {\n screen: 'ConversationNew',\n params: {\n ...route.params,\n group_id: group.id,\n source_app_name: 'Groups',\n },\n })\n }\n\n return (\n <SectionList<GroupsGroupResource, GroupsSection>\n sections={sections}\n keyExtractor={item => item.id.toString()}\n stickySectionHeadersEnabled={false}\n contentContainerStyle={styles.contentContainer}\n renderSectionHeader={({ section }) => {\n const { title, subtitle } = SECTION_CONFIG[section.key]\n return (\n <View\n style={[\n styles.sectionHeader,\n section.key === SectionKey.more && styles.sectionHeaderSpaced,\n ]}\n >\n <View>\n <Heading variant=\"h3\">{title}</Heading>\n {subtitle && (\n <Text variant=\"tertiary\" style={styles.sectionSubtitle}>\n {subtitle}\n </Text>\n )}\n </View>\n </View>\n )\n }}\n renderItem={({ item: group, section }) => {\n const { ListItemComponent } = SECTION_CONFIG[section.key]\n return <ListItemComponent group={group} onPress={handleNavigateToConversationNew} />\n }}\n />\n )\n}\n\nconst useStyles = () => {\n const { bottom } = useSafeAreaInsets()\n\n return StyleSheet.create({\n contentContainer: {\n paddingBottom: bottom,\n },\n sectionHeader: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n padding: 16,\n paddingBottom: 4,\n },\n sectionHeaderSpaced: {\n marginTop: 16,\n },\n sectionSubtitle: {\n marginTop: 4,\n },\n })\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"conversation_select_teams_i_lead_recipients_screen.d.ts","sourceRoot":"","sources":["../../../src/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,OAAO,EAAE,uCAAuC,EAAE,MAAM,sBAAsB,CAAA;AAE9E,eAAO,MAAM,4CAA4C,eAEtD,uCAAuC,sBA0DzC,CAAA"}
1
+ {"version":3,"file":"conversation_select_teams_i_lead_recipients_screen.d.ts","sourceRoot":"","sources":["../../../src/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,uCAAuC,EAAE,MAAM,sBAAsB,CAAA;AAS9E,eAAO,MAAM,4CAA4C,eAEtD,uCAAuC,sBA0DzC,CAAA"}
@@ -2,11 +2,11 @@ import { useNavigation } from '@react-navigation/native';
2
2
  import React from 'react';
3
3
  import { FlatList, StyleSheet, View } from 'react-native';
4
4
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
5
- import { Button, Heading } from '../../components';
6
- import { Haptic } from '../../utils/native_adapters';
7
- import { useServiceTypesWithTeams } from '../conversation_filter_recipients/hooks/use_service_types_with_teams';
8
- import { TeamFilterTypes } from '../conversation_filter_recipients/types';
9
5
  import { TeamRecipientRow } from './components/team_recipient_row';
6
+ import { Button, Heading } from '@/components';
7
+ import { useServiceTypesWithTeams } from '@/screens/conversation_filter_recipients/hooks/use_service_types_with_teams';
8
+ import { TeamFilterTypes, } from '@/screens/conversation_filter_recipients/types';
9
+ import { Haptic } from '@/utils/native_adapters';
10
10
  export const ConversationSelectTeamsILeadRecipientsScreen = ({ route, }) => {
11
11
  const styles = useStyles();
12
12
  const navigation = useNavigation();
@@ -1 +1 @@
1
- {"version":3,"file":"conversation_select_teams_i_lead_recipients_screen.js","sourceRoot":"","sources":["../../../src/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAClE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AACpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,sEAAsE,CAAA;AAC/G,OAAO,EAAwB,eAAe,EAAE,MAAM,yCAAyC,CAAA;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AAGlE,MAAM,CAAC,MAAM,4CAA4C,GAAG,CAAC,EAC3D,KAAK,GACmC,EAAE,EAAE;IAC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AAC,eAAe,CAAC,GAAG;qBACxB;iBACF,CAAC,CAAA;YACJ,CAAC,CAAC,CACF,KAAK,CAAC,cAAc,CACpB,OAAO,CAAC,SAAS,CACjB,YAAY,CAAC,gBAAgB,CAC7B,IAAI,CAAC,IAAI,EAEb;QAAA,EAAE,IAAI,CACR,CAAC,CACD,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,WAAW,EAAkC,EAAE,EAAE;YACpE,OAAO,CACL,CAAC,gBAAgB,CACf,GAAG,CAAC,CAAC,WAAW,CAAC,EAAE,CAAC,CACpB,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,OAAO,CAAC,CAAC,+BAA+B,CAAC,EACzC,CACH,CAAA;QACH,CAAC,CAAC,EACF,CACH,CAAA;AACH,CAAC,CAAA;AAED,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IAEtC,OAAO,UAAU,CAAC,MAAM,CAAC;QACvB,gBAAgB,EAAE;YAChB,aAAa,EAAE,MAAM;SACtB;QACD,aAAa,EAAE;YACb,aAAa,EAAE,KAAK;YACpB,cAAc,EAAE,eAAe;YAC/B,OAAO,EAAE,EAAE;YACX,aAAa,EAAE,CAAC;SACjB;KACF,CAAC,CAAA;AACJ,CAAC,CAAA","sourcesContent":["import { useNavigation } from '@react-navigation/native'\nimport React from 'react'\nimport { FlatList, StyleSheet, View } from 'react-native'\nimport { useSafeAreaInsets } from 'react-native-safe-area-context'\nimport { Button, Heading } from '../../components'\nimport { Haptic } from '../../utils/native_adapters'\nimport { useServiceTypesWithTeams } from '../conversation_filter_recipients/hooks/use_service_types_with_teams'\nimport { ServiceTypeWithTeams, TeamFilterTypes } from '../conversation_filter_recipients/types'\nimport { TeamRecipientRow } from './components/team_recipient_row'\nimport { ConversationSelectRecipientsScreenProps } from './types/screen_props'\n\nexport const ConversationSelectTeamsILeadRecipientsScreen = ({\n route,\n}: ConversationSelectRecipientsScreenProps) => {\n const styles = useStyles()\n const navigation = useNavigation()\n const { serviceTypes } = useServiceTypesWithTeams()\n const hasServiceTypes = serviceTypes.length > 0\n\n const handleNavigateToConversationNew = (teams: ServiceTypeWithTeams['teams']) => {\n const teamIds = teams.map(team => team.id)\n\n navigation.navigate('New', {\n screen: 'ConversationNew',\n params: {\n ...route.params,\n team_ids: teamIds,\n source_app_name: 'Services',\n },\n })\n }\n\n return (\n <FlatList\n data={serviceTypes}\n keyExtractor={item => item.id.toString()}\n contentContainerStyle={styles.contentContainer}\n ListHeaderComponent={\n <View style={styles.sectionHeader}>\n <Heading variant=\"h3\">Teams I lead</Heading>\n <Button\n onPress={() => {\n Haptic.impactLight()\n navigation.navigate('New', {\n screen: 'ConversationFilterRecipients',\n params: {\n source_app_name: 'Services',\n team_filter_type: hasServiceTypes\n ? TeamFilterTypes.TeamsIlead\n : TeamFilterTypes.All,\n },\n })\n }}\n title=\"Select teams\"\n variant=\"outline\"\n iconNameLeft=\"general.search\"\n size=\"sm\"\n />\n </View>\n }\n renderItem={({ item: serviceType }: { item: ServiceTypeWithTeams }) => {\n return (\n <TeamRecipientRow\n key={serviceType.id}\n serviceType={serviceType}\n onPress={handleNavigateToConversationNew}\n />\n )\n }}\n />\n )\n}\n\nconst useStyles = () => {\n const { bottom } = useSafeAreaInsets()\n\n return StyleSheet.create({\n contentContainer: {\n paddingBottom: bottom,\n },\n sectionHeader: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n padding: 16,\n paddingBottom: 4,\n },\n })\n}\n"]}
1
+ {"version":3,"file":"conversation_select_teams_i_lead_recipients_screen.js","sourceRoot":"","sources":["../../../src/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA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ent":["import { useNavigation } from '@react-navigation/native'\nimport React from 'react'\nimport { FlatList, StyleSheet, View } from 'react-native'\nimport { useSafeAreaInsets } from 'react-native-safe-area-context'\nimport { TeamRecipientRow } from './components/team_recipient_row'\nimport { ConversationSelectRecipientsScreenProps } from './types/screen_props'\nimport { Button, Heading } from '@/components'\nimport { useServiceTypesWithTeams } from '@/screens/conversation_filter_recipients/hooks/use_service_types_with_teams'\nimport {\n ServiceTypeWithTeams,\n TeamFilterTypes,\n} from '@/screens/conversation_filter_recipients/types'\nimport { Haptic } from '@/utils/native_adapters'\n\nexport const ConversationSelectTeamsILeadRecipientsScreen = ({\n route,\n}: ConversationSelectRecipientsScreenProps) => {\n const styles = useStyles()\n const navigation = useNavigation()\n const { serviceTypes } = useServiceTypesWithTeams()\n const hasServiceTypes = serviceTypes.length > 0\n\n const handleNavigateToConversationNew = (teams: ServiceTypeWithTeams['teams']) => {\n const teamIds = teams.map(team => team.id)\n\n navigation.navigate('New', {\n screen: 'ConversationNew',\n params: {\n ...route.params,\n team_ids: teamIds,\n source_app_name: 'Services',\n },\n })\n }\n\n return (\n <FlatList\n data={serviceTypes}\n keyExtractor={item => item.id.toString()}\n contentContainerStyle={styles.contentContainer}\n ListHeaderComponent={\n <View style={styles.sectionHeader}>\n <Heading variant=\"h3\">Teams I lead</Heading>\n <Button\n onPress={() => {\n Haptic.impactLight()\n navigation.navigate('New', {\n screen: 'ConversationFilterRecipients',\n params: {\n source_app_name: 'Services',\n team_filter_type: hasServiceTypes\n ? TeamFilterTypes.TeamsIlead\n : TeamFilterTypes.All,\n },\n })\n }}\n title=\"Select teams\"\n variant=\"outline\"\n iconNameLeft=\"general.search\"\n size=\"sm\"\n />\n </View>\n }\n renderItem={({ item: serviceType }: { item: ServiceTypeWithTeams }) => {\n return (\n <TeamRecipientRow\n key={serviceType.id}\n serviceType={serviceType}\n onPress={handleNavigateToConversationNew}\n />\n )\n }}\n />\n )\n}\n\nconst useStyles = () => {\n const { bottom } = useSafeAreaInsets()\n\n return StyleSheet.create({\n contentContainer: {\n paddingBottom: bottom,\n },\n sectionHeader: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n padding: 16,\n paddingBottom: 4,\n },\n })\n}\n"]}
@@ -1,6 +1,6 @@
1
1
  import { StaticScreenProps } from '@react-navigation/native';
2
- import { AppName } from '../../../types/resources/app_name';
3
- import { GraphId } from '../../../types/resources/group_resource';
2
+ import { AppName } from '@/types/resources/app_name';
3
+ import { GraphId } from '@/types/resources/group_resource';
4
4
  export type ConversationSelectRecipientsParams = {
5
5
  chat_group_graph_id?: GraphId;
6
6
  group_source_app_name?: AppName;
@@ -1 +1 @@
1
- {"version":3,"file":"screen_props.d.ts","sourceRoot":"","sources":["../../../../src/screens/conversation_select_recipients/types/screen_props.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAA;AAEjE,MAAM,MAAM,kCAAkC,GAAG;IAC/C,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,qBAAqB,CAAC,EAAE,OAAO,CAAA;CAChC,CAAA;AAED,MAAM,MAAM,uCAAuC,GACjD,iBAAiB,CAAC,kCAAkC,CAAC,CAAA"}
1
+ {"version":3,"file":"screen_props.d.ts","sourceRoot":"","sources":["../../../../src/screens/conversation_select_recipients/types/screen_props.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAA;AAE1D,MAAM,MAAM,kCAAkC,GAAG;IAC/C,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,qBAAqB,CAAC,EAAE,OAAO,CAAA;CAChC,CAAA;AAED,MAAM,MAAM,uCAAuC,GACjD,iBAAiB,CAAC,kCAAkC,CAAC,CAAA"}