@planningcenter/chat-react-native 4.5.1-qa-1062.0 → 4.5.1-qa-staging.12

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 (923) hide show
  1. package/build/components/conversation/attachments/attachment_card.d.ts +9 -0
  2. package/build/components/conversation/attachments/attachment_card.d.ts.map +1 -0
  3. package/build/components/conversation/attachments/attachment_deleting_overlay.d.ts +2 -0
  4. package/build/components/conversation/attachments/attachment_deleting_overlay.d.ts.map +1 -0
  5. package/build/components/conversation/attachments/audio_attachment.d.ts +7 -0
  6. package/build/components/conversation/attachments/audio_attachment.d.ts.map +1 -0
  7. package/build/components/conversation/attachments/constants.d.ts +3 -0
  8. package/build/components/conversation/attachments/constants.d.ts.map +1 -0
  9. package/build/components/conversation/attachments/expanded_link.d.ts +6 -0
  10. package/build/components/conversation/attachments/expanded_link.d.ts.map +1 -0
  11. package/build/components/conversation/attachments/generic_file_attachment.d.ts +7 -0
  12. package/build/components/conversation/attachments/generic_file_attachment.d.ts.map +1 -0
  13. package/build/components/conversation/attachments/giphy_attachment.d.ts +6 -0
  14. package/build/components/conversation/attachments/giphy_attachment.d.ts.map +1 -0
  15. package/build/components/conversation/attachments/image_attachment.d.ts +14 -0
  16. package/build/components/conversation/attachments/image_attachment.d.ts.map +1 -0
  17. package/build/components/conversation/attachments/video_attachment.d.ts +7 -0
  18. package/build/components/conversation/attachments/video_attachment.d.ts.map +1 -0
  19. package/build/components/conversation/conversation_start_banner.d.ts +9 -0
  20. package/build/components/conversation/conversation_start_banner.d.ts.map +1 -0
  21. package/build/components/conversation/empty_conversation_blank_state.d.ts +2 -0
  22. package/build/components/conversation/empty_conversation_blank_state.d.ts.map +1 -0
  23. package/build/components/conversation/jump_to_bottom_button.d.ts +7 -0
  24. package/build/components/conversation/jump_to_bottom_button.d.ts.map +1 -0
  25. package/build/components/conversation/message.d.ts +17 -0
  26. package/build/components/conversation/message.d.ts.map +1 -0
  27. package/build/components/conversation/message_attachments.d.ts +9 -0
  28. package/build/components/conversation/message_attachments.d.ts.map +1 -0
  29. package/build/components/conversation/message_form/message_form_attachment_file.d.ts +10 -0
  30. package/build/components/conversation/message_form/message_form_attachment_file.d.ts.map +1 -0
  31. package/build/components/conversation/message_form/message_form_attachment_image.d.ts +12 -0
  32. package/build/components/conversation/message_form/message_form_attachment_image.d.ts.map +1 -0
  33. package/build/components/conversation/message_form/message_form_attachment_video.d.ts +9 -0
  34. package/build/components/conversation/message_form/message_form_attachment_video.d.ts.map +1 -0
  35. package/build/components/conversation/message_form.d.ts +24 -0
  36. package/build/components/conversation/message_form.d.ts.map +1 -0
  37. package/build/components/conversation/message_list.d.ts +24 -0
  38. package/build/components/conversation/message_list.d.ts.map +1 -0
  39. package/build/components/conversation/message_list.js +155 -123
  40. package/build/components/conversation/message_list.js.map +1 -1
  41. package/build/components/conversation/message_markdown.d.ts +6 -0
  42. package/build/components/conversation/message_markdown.d.ts.map +1 -0
  43. package/build/components/conversation/message_reaction.d.ts +34 -0
  44. package/build/components/conversation/message_reaction.d.ts.map +1 -0
  45. package/build/components/conversation/message_read_receipts.d.ts +6 -0
  46. package/build/components/conversation/message_read_receipts.d.ts.map +1 -0
  47. package/build/components/conversation/messages_disabled_banners.d.ts +14 -0
  48. package/build/components/conversation/messages_disabled_banners.d.ts.map +1 -0
  49. package/build/components/conversation/missing_message.d.ts +2 -0
  50. package/build/components/conversation/missing_message.d.ts.map +1 -0
  51. package/build/components/conversation/reply_connectors.d.ts +10 -0
  52. package/build/components/conversation/reply_connectors.d.ts.map +1 -0
  53. package/build/components/conversation/reply_shadow_message.d.ts +12 -0
  54. package/build/components/conversation/reply_shadow_message.d.ts.map +1 -0
  55. package/build/components/conversation/system_message.d.ts +9 -0
  56. package/build/components/conversation/system_message.d.ts.map +1 -0
  57. package/build/components/conversation/typing_indicator.d.ts +6 -0
  58. package/build/components/conversation/typing_indicator.d.ts.map +1 -0
  59. package/build/components/conversations/archived_results_footer.d.ts +6 -0
  60. package/build/components/conversations/archived_results_footer.d.ts.map +1 -0
  61. package/build/components/conversations/conversation_actions.d.ts +11 -0
  62. package/build/components/conversations/conversation_actions.d.ts.map +1 -0
  63. package/build/components/conversations/conversation_preview.d.ts +12 -0
  64. package/build/components/conversations/conversation_preview.d.ts.map +1 -0
  65. package/build/components/conversations/conversations.d.ts +7 -0
  66. package/build/components/conversations/conversations.d.ts.map +1 -0
  67. package/build/components/conversations/conversations.js +1 -0
  68. package/build/components/conversations/conversations.js.map +1 -1
  69. package/build/components/conversations/conversations_blank_state.d.ts +7 -0
  70. package/build/components/conversations/conversations_blank_state.d.ts.map +1 -0
  71. package/build/components/conversations/filtered_results_footer.d.ts +2 -0
  72. package/build/components/conversations/filtered_results_footer.d.ts.map +1 -0
  73. package/build/components/conversations/mute_indicator.d.ts +4 -0
  74. package/build/components/conversations/mute_indicator.d.ts.map +1 -0
  75. package/build/components/conversations/swipeable_toggle_button.d.ts +20 -0
  76. package/build/components/conversations/swipeable_toggle_button.d.ts.map +1 -0
  77. package/build/components/conversations/unread_count_badge.d.ts +6 -0
  78. package/build/components/conversations/unread_count_badge.d.ts.map +1 -0
  79. package/build/components/display/action_button.d.ts +15 -0
  80. package/build/components/display/action_button.d.ts.map +1 -0
  81. package/build/components/display/adult_requirement_notice.d.ts +7 -0
  82. package/build/components/display/adult_requirement_notice.d.ts.map +1 -0
  83. package/build/components/display/avatar.d.ts +15 -0
  84. package/build/components/display/avatar.d.ts.map +1 -0
  85. package/build/components/display/avatar_group.d.ts +14 -0
  86. package/build/components/display/avatar_group.d.ts.map +1 -0
  87. package/build/components/display/badge.d.ts +55 -0
  88. package/build/components/display/badge.d.ts.map +1 -0
  89. package/build/components/display/banner.d.ts +38 -0
  90. package/build/components/display/banner.d.ts.map +1 -0
  91. package/build/components/display/banner_collapsible.d.ts +11 -0
  92. package/build/components/display/banner_collapsible.d.ts.map +1 -0
  93. package/build/components/display/button.d.ts +67 -0
  94. package/build/components/display/button.d.ts.map +1 -0
  95. package/build/components/display/child_notice.d.ts +10 -0
  96. package/build/components/display/child_notice.d.ts.map +1 -0
  97. package/build/components/display/conversation_avatar.d.ts +17 -0
  98. package/build/components/display/conversation_avatar.d.ts.map +1 -0
  99. package/build/components/display/conversation_avatar.js +77 -66
  100. package/build/components/display/conversation_avatar.js.map +1 -1
  101. package/build/components/display/emoji_avatar.d.ts +11 -0
  102. package/build/components/display/emoji_avatar.d.ts.map +1 -0
  103. package/build/components/display/file_attachment_preview.d.ts +11 -0
  104. package/build/components/display/file_attachment_preview.d.ts.map +1 -0
  105. package/build/components/display/filter_dropdown.d.ts +36 -0
  106. package/build/components/display/filter_dropdown.d.ts.map +1 -0
  107. package/build/components/display/heading.d.ts +10 -0
  108. package/build/components/display/heading.d.ts.map +1 -0
  109. package/build/components/display/icon.d.ts +64 -0
  110. package/build/components/display/icon.d.ts.map +1 -0
  111. package/build/components/display/icon_avatar.d.ts +11 -0
  112. package/build/components/display/icon_avatar.d.ts.map +1 -0
  113. package/build/components/display/icon_button.d.ts +56 -0
  114. package/build/components/display/icon_button.d.ts.map +1 -0
  115. package/build/components/display/icon_tile.d.ts +13 -0
  116. package/build/components/display/icon_tile.d.ts.map +1 -0
  117. package/build/components/display/image.d.ts +39 -0
  118. package/build/components/display/image.d.ts.map +1 -0
  119. package/build/components/display/image.js +47 -44
  120. package/build/components/display/image.js.map +1 -1
  121. package/build/components/display/image_attachment_preview.d.ts +13 -0
  122. package/build/components/display/image_attachment_preview.d.ts.map +1 -0
  123. package/build/components/display/index.d.ts +34 -0
  124. package/build/components/display/index.d.ts.map +1 -0
  125. package/build/components/display/keyboard_scroll_view.d.ts +5 -0
  126. package/build/components/display/keyboard_scroll_view.d.ts.map +1 -0
  127. package/build/components/display/keyboard_scroll_view.js +1 -0
  128. package/build/components/display/keyboard_scroll_view.js.map +1 -1
  129. package/build/components/display/keyboard_view.d.ts +5 -0
  130. package/build/components/display/keyboard_view.d.ts.map +1 -0
  131. package/build/components/display/person.d.ts +9 -0
  132. package/build/components/display/person.d.ts.map +1 -0
  133. package/build/components/display/platform_modal_header_buttons.d.ts +61 -0
  134. package/build/components/display/platform_modal_header_buttons.d.ts.map +1 -0
  135. package/build/components/display/popover_menu_view.d.ts +8 -0
  136. package/build/components/display/popover_menu_view.d.ts.map +1 -0
  137. package/build/components/display/pressable_row.d.ts +14 -0
  138. package/build/components/display/pressable_row.d.ts.map +1 -0
  139. package/build/components/display/spinner.d.ts +22 -0
  140. package/build/components/display/spinner.d.ts.map +1 -0
  141. package/build/components/display/switch.d.ts +3 -0
  142. package/build/components/display/switch.d.ts.map +1 -0
  143. package/build/components/display/tabs.d.ts +17 -0
  144. package/build/components/display/tabs.d.ts.map +1 -0
  145. package/build/components/display/text.d.ts +25 -0
  146. package/build/components/display/text.d.ts.map +1 -0
  147. package/build/components/display/text_button.d.ts +39 -0
  148. package/build/components/display/text_button.d.ts.map +1 -0
  149. package/build/components/display/text_inline_button.d.ts +11 -0
  150. package/build/components/display/text_inline_button.d.ts.map +1 -0
  151. package/build/components/display/text_input.d.ts +8 -0
  152. package/build/components/display/text_input.d.ts.map +1 -0
  153. package/build/components/display/toggle_button.d.ts +55 -0
  154. package/build/components/display/toggle_button.d.ts.map +1 -0
  155. package/build/components/display/utils/avatar_gradient_colors.d.ts +17 -0
  156. package/build/components/display/utils/avatar_gradient_colors.d.ts.map +1 -0
  157. package/build/components/display/utils/button_colors.d.ts +39 -0
  158. package/build/components/display/utils/button_colors.d.ts.map +1 -0
  159. package/build/components/display/utils/status_colors.d.ts +17 -0
  160. package/build/components/display/utils/status_colors.d.ts.map +1 -0
  161. package/build/components/display/version_footer.d.ts +2 -0
  162. package/build/components/display/version_footer.d.ts.map +1 -0
  163. package/build/components/display/video_attachment_preview.d.ts +11 -0
  164. package/build/components/display/video_attachment_preview.d.ts.map +1 -0
  165. package/build/components/group_conversation_list.d.ts +23 -0
  166. package/build/components/group_conversation_list.d.ts.map +1 -0
  167. package/build/components/index.d.ts +7 -0
  168. package/build/components/index.d.ts.map +1 -0
  169. package/build/components/page/component_error_boundary.d.ts +4 -0
  170. package/build/components/page/component_error_boundary.d.ts.map +1 -0
  171. package/build/components/page/error_boundary.d.ts +20 -0
  172. package/build/components/page/error_boundary.d.ts.map +1 -0
  173. package/build/components/page/loading.d.ts +2 -0
  174. package/build/components/page/loading.d.ts.map +1 -0
  175. package/build/components/page/page_error_boundary.d.ts +12 -0
  176. package/build/components/page/page_error_boundary.d.ts.map +1 -0
  177. package/build/components/page/page_error_boundary.js +56 -31
  178. package/build/components/page/page_error_boundary.js.map +1 -1
  179. package/build/components/primitive/avatar_primitive.d.ts +51 -0
  180. package/build/components/primitive/avatar_primitive.d.ts.map +1 -0
  181. package/build/components/primitive/banner_primitive.d.ts +48 -0
  182. package/build/components/primitive/banner_primitive.d.ts.map +1 -0
  183. package/build/components/primitive/blank_state_primitive.d.ts +41 -0
  184. package/build/components/primitive/blank_state_primitive.d.ts.map +1 -0
  185. package/build/components/primitive/form_sheet.d.ts +75 -0
  186. package/build/components/primitive/form_sheet.d.ts.map +1 -0
  187. package/build/components/safe_area_modal.d.ts +7 -0
  188. package/build/components/safe_area_modal.d.ts.map +1 -0
  189. package/build/contexts/api_provider.d.ts +7 -0
  190. package/build/contexts/api_provider.d.ts.map +1 -0
  191. package/build/contexts/api_provider.js +11 -5
  192. package/build/contexts/api_provider.js.map +1 -1
  193. package/build/contexts/chat_context.d.ts +37 -0
  194. package/build/contexts/chat_context.d.ts.map +1 -0
  195. package/build/contexts/conversation_context.d.ts +13 -0
  196. package/build/contexts/conversation_context.d.ts.map +1 -0
  197. package/build/contexts/conversations_context.d.ts +16 -0
  198. package/build/contexts/conversations_context.d.ts.map +1 -0
  199. package/build/contexts/session_context.d.ts +44 -0
  200. package/build/contexts/session_context.d.ts.map +1 -0
  201. package/build/hooks/attachments/fallback_chat_configuration.d.ts +5 -0
  202. package/build/hooks/attachments/fallback_chat_configuration.d.ts.map +1 -0
  203. package/build/hooks/direct_messages/find_direct_message_conversation.d.ts +14 -0
  204. package/build/hooks/direct_messages/find_direct_message_conversation.d.ts.map +1 -0
  205. package/build/hooks/direct_messages/resolve_message_available_members_link.d.ts +16 -0
  206. package/build/hooks/direct_messages/resolve_message_available_members_link.d.ts.map +1 -0
  207. package/build/hooks/direct_messages/use_direct_message_affiliations.d.ts +6 -0
  208. package/build/hooks/direct_messages/use_direct_message_affiliations.d.ts.map +1 -0
  209. package/build/hooks/direct_messages/use_direct_message_candidates.d.ts +4 -0
  210. package/build/hooks/direct_messages/use_direct_message_candidates.d.ts.map +1 -0
  211. package/build/hooks/direct_messages/use_direct_message_conversation_validate.d.ts +11 -0
  212. package/build/hooks/direct_messages/use_direct_message_conversation_validate.d.ts.map +1 -0
  213. package/build/hooks/direct_messages/use_find_or_create_direct_message_conversation.d.ts +13 -0
  214. package/build/hooks/direct_messages/use_find_or_create_direct_message_conversation.d.ts.map +1 -0
  215. package/build/hooks/direct_messages/use_message_available_members.d.ts +6 -0
  216. package/build/hooks/direct_messages/use_message_available_members.d.ts.map +1 -0
  217. package/build/hooks/direct_messages/use_message_available_members_action.d.ts +6 -0
  218. package/build/hooks/direct_messages/use_message_available_members_action.d.ts.map +1 -0
  219. package/build/hooks/groups/use_group_chat_conversation_payload.d.ts +168 -0
  220. package/build/hooks/groups/use_group_chat_conversation_payload.d.ts.map +1 -0
  221. package/build/hooks/groups/use_group_members_for_new_conversation.d.ts +232 -0
  222. package/build/hooks/groups/use_group_members_for_new_conversation.d.ts.map +1 -0
  223. package/build/hooks/groups/use_groups_conversation_create.d.ts +10 -0
  224. package/build/hooks/groups/use_groups_conversation_create.d.ts.map +1 -0
  225. package/build/hooks/index.d.ts +34 -0
  226. package/build/hooks/index.d.ts.map +1 -0
  227. package/build/hooks/index.js +1 -0
  228. package/build/hooks/index.js.map +1 -1
  229. package/build/hooks/paginator_meta.d.ts +4 -0
  230. package/build/hooks/paginator_meta.d.ts.map +1 -0
  231. package/build/hooks/services/use_find_or_create_services_conversation.d.ts +138 -0
  232. package/build/hooks/services/use_find_or_create_services_conversation.d.ts.map +1 -0
  233. package/build/hooks/services/use_services_chat_conversation_payload.d.ts +164 -0
  234. package/build/hooks/services/use_services_chat_conversation_payload.d.ts.map +1 -0
  235. package/build/hooks/services/use_services_team.d.ts +4 -0
  236. package/build/hooks/services/use_services_team.d.ts.map +1 -0
  237. package/build/hooks/services/use_team_members_for_new_conversation.d.ts +176 -0
  238. package/build/hooks/services/use_team_members_for_new_conversation.d.ts.map +1 -0
  239. package/build/hooks/services/use_team_plans.d.ts +17 -0
  240. package/build/hooks/services/use_team_plans.d.ts.map +1 -0
  241. package/build/hooks/use_animated_message_background_color.d.ts +9 -0
  242. package/build/hooks/use_animated_message_background_color.d.ts.map +1 -0
  243. package/build/hooks/use_api.d.ts +391 -0
  244. package/build/hooks/use_api.d.ts.map +1 -0
  245. package/build/hooks/use_api_client.d.ts +7 -0
  246. package/build/hooks/use_api_client.d.ts.map +1 -0
  247. package/build/hooks/use_app_name.d.ts +3 -0
  248. package/build/hooks/use_app_name.d.ts.map +1 -0
  249. package/build/hooks/use_app_state.d.ts +2 -0
  250. package/build/hooks/use_app_state.d.ts.map +1 -0
  251. package/build/hooks/use_async_storage.d.ts +4 -0
  252. package/build/hooks/use_async_storage.d.ts.map +1 -0
  253. package/build/hooks/use_at_font_scale_breakpoint.d.ts +2 -0
  254. package/build/hooks/use_at_font_scale_breakpoint.d.ts.map +1 -0
  255. package/build/hooks/use_attachment_uploader.d.ts +22 -0
  256. package/build/hooks/use_attachment_uploader.d.ts.map +1 -0
  257. package/build/hooks/use_broadcast_typing_status.d.ts +9 -0
  258. package/build/hooks/use_broadcast_typing_status.d.ts.map +1 -0
  259. package/build/hooks/use_can_browse_archived_conversations.d.ts +2 -0
  260. package/build/hooks/use_can_browse_archived_conversations.d.ts.map +1 -0
  261. package/build/hooks/use_chat_configuration.d.ts +7 -0
  262. package/build/hooks/use_chat_configuration.d.ts.map +1 -0
  263. package/build/hooks/use_chat_permissions.d.ts +190 -0
  264. package/build/hooks/use_chat_permissions.d.ts.map +1 -0
  265. package/build/hooks/use_clear_conversation_filters.d.ts +2 -0
  266. package/build/hooks/use_clear_conversation_filters.d.ts.map +1 -0
  267. package/build/hooks/use_conversation.d.ts +275 -0
  268. package/build/hooks/use_conversation.d.ts.map +1 -0
  269. package/build/hooks/use_conversation_avatar_update.d.ts +27 -0
  270. package/build/hooks/use_conversation_avatar_update.d.ts.map +1 -0
  271. package/build/hooks/use_conversation_avatar_update.js +146 -48
  272. package/build/hooks/use_conversation_avatar_update.js.map +1 -1
  273. package/build/hooks/use_conversation_jolt_events.d.ts +6 -0
  274. package/build/hooks/use_conversation_jolt_events.d.ts.map +1 -0
  275. package/build/hooks/use_conversation_membership.d.ts +5 -0
  276. package/build/hooks/use_conversation_membership.d.ts.map +1 -0
  277. package/build/hooks/use_conversation_message.d.ts +12 -0
  278. package/build/hooks/use_conversation_message.d.ts.map +1 -0
  279. package/build/hooks/use_conversation_messages.d.ts +23 -0
  280. package/build/hooks/use_conversation_messages.d.ts.map +1 -0
  281. package/build/hooks/use_conversation_messages_jolt_events.d.ts +6 -0
  282. package/build/hooks/use_conversation_messages_jolt_events.d.ts.map +1 -0
  283. package/build/hooks/use_conversation_validate.d.ts +12 -0
  284. package/build/hooks/use_conversation_validate.d.ts.map +1 -0
  285. package/build/hooks/use_conversations.d.ts +12 -0
  286. package/build/hooks/use_conversations.d.ts.map +1 -0
  287. package/build/hooks/use_conversations_actions.d.ts +221 -0
  288. package/build/hooks/use_conversations_actions.d.ts.map +1 -0
  289. package/build/hooks/use_conversations_cache.d.ts +20 -0
  290. package/build/hooks/use_conversations_cache.d.ts.map +1 -0
  291. package/build/hooks/use_conversations_jolt_events.d.ts +2 -0
  292. package/build/hooks/use_conversations_jolt_events.d.ts.map +1 -0
  293. package/build/hooks/use_create_android_ripple_color.d.ts +4 -0
  294. package/build/hooks/use_create_android_ripple_color.d.ts.map +1 -0
  295. package/build/hooks/use_current_person.d.ts +18 -0
  296. package/build/hooks/use_current_person.d.ts.map +1 -0
  297. package/build/hooks/use_debounced_search_term.d.ts +2 -0
  298. package/build/hooks/use_debounced_search_term.d.ts.map +1 -0
  299. package/build/hooks/use_deleting_ids.d.ts +4 -0
  300. package/build/hooks/use_deleting_ids.d.ts.map +1 -0
  301. package/build/hooks/use_direct_message_eligibility.d.ts +14 -0
  302. package/build/hooks/use_direct_message_eligibility.d.ts.map +1 -0
  303. package/build/hooks/use_direct_messages_eligible.d.ts +2 -0
  304. package/build/hooks/use_direct_messages_eligible.d.ts.map +1 -0
  305. package/build/hooks/use_enrich_people.d.ts +13 -0
  306. package/build/hooks/use_enrich_people.d.ts.map +1 -0
  307. package/build/hooks/use_features.d.ts +38 -0
  308. package/build/hooks/use_features.d.ts.map +1 -0
  309. package/build/hooks/use_filter_dropdown_enabled.d.ts +2 -0
  310. package/build/hooks/use_filter_dropdown_enabled.d.ts.map +1 -0
  311. package/build/hooks/use_font_scale.d.ts +5 -0
  312. package/build/hooks/use_font_scale.d.ts.map +1 -0
  313. package/build/hooks/use_giphy.d.ts +9 -0
  314. package/build/hooks/use_giphy.d.ts.map +1 -0
  315. package/build/hooks/use_groups.d.ts +214 -0
  316. package/build/hooks/use_groups.d.ts.map +1 -0
  317. package/build/hooks/use_groups_groups.d.ts +208 -0
  318. package/build/hooks/use_groups_groups.d.ts.map +1 -0
  319. package/build/hooks/use_has_direct_messages.d.ts +2 -0
  320. package/build/hooks/use_has_direct_messages.d.ts.map +1 -0
  321. package/build/hooks/use_interaction_tinted_background_color.d.ts +2 -0
  322. package/build/hooks/use_interaction_tinted_background_color.d.ts.map +1 -0
  323. package/build/hooks/use_jolt.d.ts +11 -0
  324. package/build/hooks/use_jolt.d.ts.map +1 -0
  325. package/build/hooks/use_live_relative_time.d.ts +3 -0
  326. package/build/hooks/use_live_relative_time.d.ts.map +1 -0
  327. package/build/hooks/use_manual_archiving_enabled.d.ts +2 -0
  328. package/build/hooks/use_manual_archiving_enabled.d.ts.map +1 -0
  329. package/build/hooks/use_mark_latest_message_read.d.ts +9 -0
  330. package/build/hooks/use_mark_latest_message_read.d.ts.map +1 -0
  331. package/build/hooks/use_message_create_or_update.d.ts +110 -0
  332. package/build/hooks/use_message_create_or_update.d.ts.map +1 -0
  333. package/build/hooks/use_message_draft.d.ts +13 -0
  334. package/build/hooks/use_message_draft.d.ts.map +1 -0
  335. package/build/hooks/use_message_reaction_toggle.d.ts +21 -0
  336. package/build/hooks/use_message_reaction_toggle.d.ts.map +1 -0
  337. package/build/hooks/use_my_gender.d.ts +7 -0
  338. package/build/hooks/use_my_gender.d.ts.map +1 -0
  339. package/build/hooks/use_new_conversation_entry.d.ts +8 -0
  340. package/build/hooks/use_new_conversation_entry.d.ts.map +1 -0
  341. package/build/hooks/use_new_conversation_from_filter.d.ts +12 -0
  342. package/build/hooks/use_new_conversation_from_filter.d.ts.map +1 -0
  343. package/build/hooks/use_organization.d.ts +39 -0
  344. package/build/hooks/use_organization.d.ts.map +1 -0
  345. package/build/hooks/use_people_person.d.ts +18 -0
  346. package/build/hooks/use_people_person.d.ts.map +1 -0
  347. package/build/hooks/use_person_settings.d.ts +6 -0
  348. package/build/hooks/use_person_settings.d.ts.map +1 -0
  349. package/build/hooks/use_preview_avatar_diameter.d.ts +2 -0
  350. package/build/hooks/use_preview_avatar_diameter.d.ts.map +1 -0
  351. package/build/hooks/use_product_analytics.d.ts +24 -0
  352. package/build/hooks/use_product_analytics.d.ts.map +1 -0
  353. package/build/hooks/use_qualified_by_age.d.ts +2 -0
  354. package/build/hooks/use_qualified_by_age.d.ts.map +1 -0
  355. package/build/hooks/use_read_receipts.d.ts +40 -0
  356. package/build/hooks/use_read_receipts.d.ts.map +1 -0
  357. package/build/hooks/use_reduce_motion.d.ts +2 -0
  358. package/build/hooks/use_reduce_motion.d.ts.map +1 -0
  359. package/build/hooks/use_report_bug_action.d.ts +6 -0
  360. package/build/hooks/use_report_bug_action.d.ts.map +1 -0
  361. package/build/hooks/use_report_message.d.ts +6 -0
  362. package/build/hooks/use_report_message.d.ts.map +1 -0
  363. package/build/hooks/use_rest_away_from_dismiss_edge.d.ts +19 -0
  364. package/build/hooks/use_rest_away_from_dismiss_edge.d.ts.map +1 -0
  365. package/build/hooks/use_scalable_number_of_lines.d.ts +2 -0
  366. package/build/hooks/use_scalable_number_of_lines.d.ts.map +1 -0
  367. package/build/hooks/use_search_enabled.d.ts +2 -0
  368. package/build/hooks/use_search_enabled.d.ts.map +1 -0
  369. package/build/hooks/use_search_results.d.ts +19 -0
  370. package/build/hooks/use_search_results.d.ts.map +1 -0
  371. package/build/hooks/use_selected_chip_background_color.d.ts +2 -0
  372. package/build/hooks/use_selected_chip_background_color.d.ts.map +1 -0
  373. package/build/hooks/use_storage.d.ts +9 -0
  374. package/build/hooks/use_storage.d.ts.map +1 -0
  375. package/build/hooks/use_submit_age_check.d.ts +78 -0
  376. package/build/hooks/use_submit_age_check.d.ts.map +1 -0
  377. package/build/hooks/use_suspense_api.d.ts +86 -0
  378. package/build/hooks/use_suspense_api.d.ts.map +1 -0
  379. package/build/hooks/use_system_message_people.d.ts +14 -0
  380. package/build/hooks/use_system_message_people.d.ts.map +1 -0
  381. package/build/hooks/use_system_message_people.js +101 -0
  382. package/build/hooks/use_system_message_people.js.map +1 -0
  383. package/build/hooks/use_teams.d.ts +207 -0
  384. package/build/hooks/use_teams.d.ts.map +1 -0
  385. package/build/hooks/use_theme.d.ts +3 -0
  386. package/build/hooks/use_theme.d.ts.map +1 -0
  387. package/build/hooks/use_typing_indicators.d.ts +13 -0
  388. package/build/hooks/use_typing_indicators.d.ts.map +1 -0
  389. package/build/hooks/use_typing_status_cache.d.ts +14 -0
  390. package/build/hooks/use_typing_status_cache.d.ts.map +1 -0
  391. package/build/hooks/use_unarchive_conversation_action.d.ts +7 -0
  392. package/build/hooks/use_unarchive_conversation_action.d.ts.map +1 -0
  393. package/build/hooks/use_upload_client.d.ts +32 -0
  394. package/build/hooks/use_upload_client.d.ts.map +1 -0
  395. package/build/hooks/use_video_moderation_jolt_events.d.ts +4 -0
  396. package/build/hooks/use_video_moderation_jolt_events.d.ts.map +1 -0
  397. package/build/icons/font_awesome.d.ts +2 -0
  398. package/build/icons/font_awesome.d.ts.map +1 -0
  399. package/build/index.d.ts +20 -0
  400. package/build/index.d.ts.map +1 -0
  401. package/build/jest.d.ts +18 -0
  402. package/build/jest.d.ts.map +1 -0
  403. package/build/navigation/chat_access_gate.d.ts +3 -0
  404. package/build/navigation/chat_access_gate.d.ts.map +1 -0
  405. package/build/navigation/index.d.ts +392 -0
  406. package/build/navigation/index.d.ts.map +1 -0
  407. package/build/navigation/index.js +3 -1
  408. package/build/navigation/index.js.map +1 -1
  409. package/build/navigation/page_error_fallbacks.d.ts +7 -0
  410. package/build/navigation/page_error_fallbacks.d.ts.map +1 -0
  411. package/build/navigation/page_error_fallbacks.js +7 -0
  412. package/build/navigation/page_error_fallbacks.js.map +1 -0
  413. package/build/navigation/screenLayout.d.ts +8 -0
  414. package/build/navigation/screenLayout.d.ts.map +1 -0
  415. package/build/navigation/screenLayout.js +10 -6
  416. package/build/navigation/screenLayout.js.map +1 -1
  417. package/build/polyfills/events/CustomEvent.d.ts +21 -0
  418. package/build/polyfills/events/CustomEvent.d.ts.map +1 -0
  419. package/build/polyfills/events/Event.d.ts +45 -0
  420. package/build/polyfills/events/Event.d.ts.map +1 -0
  421. package/build/polyfills/events/EventHandlerAttributes.d.ts +8 -0
  422. package/build/polyfills/events/EventHandlerAttributes.d.ts.map +1 -0
  423. package/build/polyfills/events/EventTarget.d.ts +30 -0
  424. package/build/polyfills/events/EventTarget.d.ts.map +1 -0
  425. package/build/polyfills/events/internals/EventInternals.d.ts +30 -0
  426. package/build/polyfills/events/internals/EventInternals.d.ts.map +1 -0
  427. package/build/polyfills/events/internals/EventTargetInternals.d.ts +9 -0
  428. package/build/polyfills/events/internals/EventTargetInternals.d.ts.map +1 -0
  429. package/build/polyfills/webidl/PlatformObjects.d.ts +31 -0
  430. package/build/polyfills/webidl/PlatformObjects.d.ts.map +1 -0
  431. package/build/screens/age_check/age_check_required_screen.d.ts +2 -0
  432. package/build/screens/age_check/age_check_required_screen.d.ts.map +1 -0
  433. package/build/screens/age_check/age_check_required_screen.js +1 -0
  434. package/build/screens/age_check/age_check_required_screen.js.map +1 -1
  435. package/build/screens/age_check/age_check_underage_screen.d.ts +5 -0
  436. package/build/screens/age_check/age_check_underage_screen.d.ts.map +1 -0
  437. package/build/screens/age_check/components/age_check_select_birthdate_modal.d.ts +10 -0
  438. package/build/screens/age_check/components/age_check_select_birthdate_modal.d.ts.map +1 -0
  439. package/build/screens/age_check/index.d.ts +3 -0
  440. package/build/screens/age_check/index.d.ts.map +1 -0
  441. package/build/screens/age_check/screen_props.d.ts +5 -0
  442. package/build/screens/age_check/screen_props.d.ts.map +1 -0
  443. package/build/screens/attachment_actions/attachment_actions_screen.d.ts +12 -0
  444. package/build/screens/attachment_actions/attachment_actions_screen.d.ts.map +1 -0
  445. package/build/screens/attachment_actions/hooks/useDeleteAttachment.d.ts +10 -0
  446. package/build/screens/attachment_actions/hooks/useDeleteAttachment.d.ts.map +1 -0
  447. package/build/screens/avatar_picker/avatar_picker_screen.d.ts +11 -0
  448. package/build/screens/avatar_picker/avatar_picker_screen.d.ts.map +1 -0
  449. package/build/screens/avatar_picker/avatar_picker_screen.js +76 -66
  450. package/build/screens/avatar_picker/avatar_picker_screen.js.map +1 -1
  451. package/build/screens/avatar_picker/avatar_picker_state.d.ts +38 -0
  452. package/build/screens/avatar_picker/avatar_picker_state.d.ts.map +1 -0
  453. package/build/screens/avatar_picker/avatar_preview.d.ts +9 -0
  454. package/build/screens/avatar_picker/avatar_preview.d.ts.map +1 -0
  455. package/build/screens/avatar_picker/color_picker.d.ts +8 -0
  456. package/build/screens/avatar_picker/color_picker.d.ts.map +1 -0
  457. package/build/screens/avatar_picker/constants.d.ts +3 -0
  458. package/build/screens/avatar_picker/constants.d.ts.map +1 -0
  459. package/build/screens/avatar_picker/emoji_tab.d.ts +6 -0
  460. package/build/screens/avatar_picker/emoji_tab.d.ts.map +1 -0
  461. package/build/screens/avatar_picker/icon_grid.d.ts +7 -0
  462. package/build/screens/avatar_picker/icon_grid.d.ts.map +1 -0
  463. package/build/screens/avatar_picker/upload_tab.d.ts +8 -0
  464. package/build/screens/avatar_picker/upload_tab.d.ts.map +1 -0
  465. package/build/screens/bug_report_screen.d.ts +4 -0
  466. package/build/screens/bug_report_screen.d.ts.map +1 -0
  467. package/build/screens/conversation/message_read_receipts_screen.d.ts +8 -0
  468. package/build/screens/conversation/message_read_receipts_screen.d.ts.map +1 -0
  469. package/build/screens/conversation_details_screen.d.ts +6 -0
  470. package/build/screens/conversation_details_screen.d.ts.map +1 -0
  471. package/build/screens/conversation_details_screen.js +1 -0
  472. package/build/screens/conversation_details_screen.js.map +1 -1
  473. package/build/screens/conversation_filter_recipients/components/checkbox_row.d.ts +11 -0
  474. package/build/screens/conversation_filter_recipients/components/checkbox_row.d.ts.map +1 -0
  475. package/build/screens/conversation_filter_recipients/components/header_row.d.ts +11 -0
  476. package/build/screens/conversation_filter_recipients/components/header_row.d.ts.map +1 -0
  477. package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.d.ts +4 -0
  478. package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.d.ts.map +1 -0
  479. package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.d.ts +10 -0
  480. package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.d.ts.map +1 -0
  481. package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.d.ts +176 -0
  482. package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.d.ts.map +1 -0
  483. package/build/screens/conversation_filter_recipients/types.d.ts +48 -0
  484. package/build/screens/conversation_filter_recipients/types.d.ts.map +1 -0
  485. package/build/screens/conversation_filters/components/conversation_filters.d.ts +2 -0
  486. package/build/screens/conversation_filters/components/conversation_filters.d.ts.map +1 -0
  487. package/build/screens/conversation_filters/components/rows.d.ts +42 -0
  488. package/build/screens/conversation_filters/components/rows.d.ts.map +1 -0
  489. package/build/screens/conversation_filters/context/conversation_filter_context.d.ts +27 -0
  490. package/build/screens/conversation_filters/context/conversation_filter_context.d.ts.map +1 -0
  491. package/build/screens/conversation_filters/filter_types.d.ts +9 -0
  492. package/build/screens/conversation_filters/filter_types.d.ts.map +1 -0
  493. package/build/screens/conversation_filters/group_filters.d.ts +5 -0
  494. package/build/screens/conversation_filters/group_filters.d.ts.map +1 -0
  495. package/build/screens/conversation_filters/hooks/filters.d.ts +415 -0
  496. package/build/screens/conversation_filters/hooks/filters.d.ts.map +1 -0
  497. package/build/screens/conversation_filters/screen_props.d.ts +16 -0
  498. package/build/screens/conversation_filters/screen_props.d.ts.map +1 -0
  499. package/build/screens/conversation_filters/team_filters.d.ts +5 -0
  500. package/build/screens/conversation_filters/team_filters.d.ts.map +1 -0
  501. package/build/screens/conversation_filters_screen.d.ts +5 -0
  502. package/build/screens/conversation_filters_screen.d.ts.map +1 -0
  503. package/build/screens/conversation_new/components/avatar_selection_row.d.ts +11 -0
  504. package/build/screens/conversation_new/components/avatar_selection_row.d.ts.map +1 -0
  505. package/build/screens/conversation_new/components/filter_by_plan.d.ts +22 -0
  506. package/build/screens/conversation_new/components/filter_by_plan.d.ts.map +1 -0
  507. package/build/screens/conversation_new/components/form_list.d.ts +13 -0
  508. package/build/screens/conversation_new/components/form_list.d.ts.map +1 -0
  509. package/build/screens/conversation_new/components/form_list.js +1 -0
  510. package/build/screens/conversation_new/components/form_list.js.map +1 -1
  511. package/build/screens/conversation_new/components/gender_filter_toggle.d.ts +9 -0
  512. package/build/screens/conversation_new/components/gender_filter_toggle.d.ts.map +1 -0
  513. package/build/screens/conversation_new/components/groups_form.d.ts +10 -0
  514. package/build/screens/conversation_new/components/groups_form.d.ts.map +1 -0
  515. package/build/screens/conversation_new/components/services_form.d.ts +11 -0
  516. package/build/screens/conversation_new/components/services_form.d.ts.map +1 -0
  517. package/build/screens/conversation_new/components/source_app_error_card.d.ts +2 -0
  518. package/build/screens/conversation_new/components/source_app_error_card.d.ts.map +1 -0
  519. package/build/screens/conversation_new/conversation_new_screen.d.ts +18 -0
  520. package/build/screens/conversation_new/conversation_new_screen.d.ts.map +1 -0
  521. package/build/screens/conversation_notification_level_select_screen.d.ts +7 -0
  522. package/build/screens/conversation_notification_level_select_screen.d.ts.map +1 -0
  523. package/build/screens/conversation_screen.d.ts +28 -0
  524. package/build/screens/conversation_screen.d.ts.map +1 -0
  525. package/build/screens/conversation_select_recipients/components/groups_recipient_row.d.ts +8 -0
  526. package/build/screens/conversation_select_recipients/components/groups_recipient_row.d.ts.map +1 -0
  527. package/build/screens/conversation_select_recipients/components/recipient_link_row.d.ts +11 -0
  528. package/build/screens/conversation_select_recipients/components/recipient_link_row.d.ts.map +1 -0
  529. package/build/screens/conversation_select_recipients/components/restricted_group_row.d.ts +7 -0
  530. package/build/screens/conversation_select_recipients/components/restricted_group_row.d.ts.map +1 -0
  531. package/build/screens/conversation_select_recipients/components/results_heading.d.ts +6 -0
  532. package/build/screens/conversation_select_recipients/components/results_heading.d.ts.map +1 -0
  533. package/build/screens/conversation_select_recipients/components/team_recipient_row.d.ts +8 -0
  534. package/build/screens/conversation_select_recipients/components/team_recipient_row.d.ts.map +1 -0
  535. package/build/screens/conversation_select_recipients/components/view_more_link_row.d.ts +8 -0
  536. package/build/screens/conversation_select_recipients/components/view_more_link_row.d.ts.map +1 -0
  537. package/build/screens/conversation_select_recipients/conversation_new_entry_screen.d.ts +3 -0
  538. package/build/screens/conversation_select_recipients/conversation_new_entry_screen.d.ts.map +1 -0
  539. package/build/screens/conversation_select_recipients/conversation_new_entry_screen.js +1 -0
  540. package/build/screens/conversation_select_recipients/conversation_new_entry_screen.js.map +1 -1
  541. package/build/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.d.ts +3 -0
  542. package/build/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.d.ts.map +1 -0
  543. package/build/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.js +332 -291
  544. package/build/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.js.map +1 -1
  545. package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.d.ts +3 -0
  546. package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.d.ts.map +1 -0
  547. package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.js +1 -0
  548. package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.js.map +1 -1
  549. package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.d.ts +3 -0
  550. package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.d.ts.map +1 -0
  551. package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.js +1 -0
  552. package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.js.map +1 -1
  553. package/build/screens/conversation_select_recipients/types/screen_props.d.ts +11 -0
  554. package/build/screens/conversation_select_recipients/types/screen_props.d.ts.map +1 -0
  555. package/build/screens/conversation_select_type_screen.d.ts +12 -0
  556. package/build/screens/conversation_select_type_screen.d.ts.map +1 -0
  557. package/build/screens/conversations/components/chat_group_badge.d.ts +4 -0
  558. package/build/screens/conversations/components/chat_group_badge.d.ts.map +1 -0
  559. package/build/screens/conversations/components/filter_dropdown_list_header_component.d.ts +2 -0
  560. package/build/screens/conversations/components/filter_dropdown_list_header_component.d.ts.map +1 -0
  561. package/build/screens/conversations/components/list_header_action_button.d.ts +19 -0
  562. package/build/screens/conversations/components/list_header_action_button.d.ts.map +1 -0
  563. package/build/screens/conversations/components/list_header_component.d.ts +2 -0
  564. package/build/screens/conversations/components/list_header_component.d.ts.map +1 -0
  565. package/build/screens/conversations/components/search_list_header_component.d.ts +2 -0
  566. package/build/screens/conversations/components/search_list_header_component.d.ts.map +1 -0
  567. package/build/screens/conversations/conversations_screen.d.ts +13 -0
  568. package/build/screens/conversations/conversations_screen.d.ts.map +1 -0
  569. package/build/screens/design_system_screen.d.ts +2 -0
  570. package/build/screens/design_system_screen.d.ts.map +1 -0
  571. package/build/screens/get_help_screen.d.ts +10 -0
  572. package/build/screens/get_help_screen.d.ts.map +1 -0
  573. package/build/screens/get_help_screen.js +56 -62
  574. package/build/screens/get_help_screen.js.map +1 -1
  575. package/build/screens/group_notification_level_select_screen.d.ts +7 -0
  576. package/build/screens/group_notification_level_select_screen.d.ts.map +1 -0
  577. package/build/screens/group_notification_settings_screen.d.ts +7 -0
  578. package/build/screens/group_notification_settings_screen.d.ts.map +1 -0
  579. package/build/screens/group_notification_settings_screen.js +3 -2
  580. package/build/screens/group_notification_settings_screen.js.map +1 -1
  581. package/build/screens/index.d.ts +25 -0
  582. package/build/screens/index.d.ts.map +1 -0
  583. package/build/screens/message_actions_screen.d.ts +12 -0
  584. package/build/screens/message_actions_screen.d.ts.map +1 -0
  585. package/build/screens/message_report/components/message_preview.d.ts +9 -0
  586. package/build/screens/message_report/components/message_preview.d.ts.map +1 -0
  587. package/build/screens/message_report/components/report_reason_list.d.ts +8 -0
  588. package/build/screens/message_report/components/report_reason_list.d.ts.map +1 -0
  589. package/build/screens/message_report_screen.d.ts +9 -0
  590. package/build/screens/message_report_screen.d.ts.map +1 -0
  591. package/build/screens/not_found.d.ts +2 -0
  592. package/build/screens/not_found.d.ts.map +1 -0
  593. package/build/screens/notification_settings/hooks/groups.d.ts +96 -0
  594. package/build/screens/notification_settings/hooks/groups.d.ts.map +1 -0
  595. package/build/screens/notification_settings_screen.d.ts +4 -0
  596. package/build/screens/notification_settings_screen.d.ts.map +1 -0
  597. package/build/screens/notification_settings_screen.js +1 -0
  598. package/build/screens/notification_settings_screen.js.map +1 -1
  599. package/build/screens/preferred_app/hooks/use_chat_types.d.ts +39 -0
  600. package/build/screens/preferred_app/hooks/use_chat_types.d.ts.map +1 -0
  601. package/build/screens/preferred_app_selection_screen.d.ts +9 -0
  602. package/build/screens/preferred_app_selection_screen.d.ts.map +1 -0
  603. package/build/screens/preferred_app_selection_screen.js +45 -39
  604. package/build/screens/preferred_app_selection_screen.js.map +1 -1
  605. package/build/screens/reactions_screen.d.ts +9 -0
  606. package/build/screens/reactions_screen.d.ts.map +1 -0
  607. package/build/screens/search/components/conversation_result_row.d.ts +8 -0
  608. package/build/screens/search/components/conversation_result_row.d.ts.map +1 -0
  609. package/build/screens/search/components/conversation_results.d.ts +8 -0
  610. package/build/screens/search/components/conversation_results.d.ts.map +1 -0
  611. package/build/screens/search/components/message_result_row.d.ts +8 -0
  612. package/build/screens/search/components/message_result_row.d.ts.map +1 -0
  613. package/build/screens/search/components/result_row.d.ts +10 -0
  614. package/build/screens/search/components/result_row.d.ts.map +1 -0
  615. package/build/screens/search/components/results_section.d.ts +9 -0
  616. package/build/screens/search/components/results_section.d.ts.map +1 -0
  617. package/build/screens/search/components/search_blank_states.d.ts +7 -0
  618. package/build/screens/search/components/search_blank_states.d.ts.map +1 -0
  619. package/build/screens/search/components/search_field.d.ts +7 -0
  620. package/build/screens/search/components/search_field.d.ts.map +1 -0
  621. package/build/screens/search/components/search_results_list.d.ts +16 -0
  622. package/build/screens/search/components/search_results_list.d.ts.map +1 -0
  623. package/build/screens/search/components/search_results_list.js +136 -110
  624. package/build/screens/search/components/search_results_list.js.map +1 -1
  625. package/build/screens/search/components/snippet.d.ts +8 -0
  626. package/build/screens/search/components/snippet.d.ts.map +1 -0
  627. package/build/screens/search/search_screen.d.ts +5 -0
  628. package/build/screens/search/search_screen.d.ts.map +1 -0
  629. package/build/screens/search/search_screen.js +21 -28
  630. package/build/screens/search/search_screen.js.map +1 -1
  631. package/build/screens/send_giphy_screen.d.ts +9 -0
  632. package/build/screens/send_giphy_screen.d.ts.map +1 -0
  633. package/build/screens/settings_screen.d.ts +4 -0
  634. package/build/screens/settings_screen.d.ts.map +1 -0
  635. package/build/screens/settings_screen.js +7 -6
  636. package/build/screens/settings_screen.js.map +1 -1
  637. package/build/screens/system_message_people_screen.d.ts +8 -0
  638. package/build/screens/system_message_people_screen.d.ts.map +1 -0
  639. package/build/screens/system_message_people_screen.js +33 -96
  640. package/build/screens/system_message_people_screen.js.map +1 -1
  641. package/build/screens/team_conversation_screen.d.ts +8 -0
  642. package/build/screens/team_conversation_screen.d.ts.map +1 -0
  643. package/build/types/api_primitives.d.ts +45 -0
  644. package/build/types/api_primitives.d.ts.map +1 -0
  645. package/build/types/index.d.ts +4 -0
  646. package/build/types/index.d.ts.map +1 -0
  647. package/build/types/jolt_events/attachment_events.d.ts +14 -0
  648. package/build/types/jolt_events/attachment_events.d.ts.map +1 -0
  649. package/build/types/jolt_events/conversation_events.d.ts +42 -0
  650. package/build/types/jolt_events/conversation_events.d.ts.map +1 -0
  651. package/build/types/jolt_events/index.d.ts +14 -0
  652. package/build/types/jolt_events/index.d.ts.map +1 -0
  653. package/build/types/jolt_events/message_events.d.ts +44 -0
  654. package/build/types/jolt_events/message_events.d.ts.map +1 -0
  655. package/build/types/jolt_events/reaction_events.d.ts +27 -0
  656. package/build/types/jolt_events/reaction_events.d.ts.map +1 -0
  657. package/build/types/jolt_events/typing_events.d.ts +16 -0
  658. package/build/types/jolt_events/typing_events.d.ts.map +1 -0
  659. package/build/types/product_analytics.d.ts +6 -0
  660. package/build/types/product_analytics.d.ts.map +1 -0
  661. package/build/types/resources/analytics_metadata.d.ts +5 -0
  662. package/build/types/resources/analytics_metadata.d.ts.map +1 -0
  663. package/build/types/resources/app_grant.d.ts +8 -0
  664. package/build/types/resources/app_grant.d.ts.map +1 -0
  665. package/build/types/resources/app_name.d.ts +2 -0
  666. package/build/types/resources/app_name.d.ts.map +1 -0
  667. package/build/types/resources/chat_configuration_resource.d.ts +9 -0
  668. package/build/types/resources/chat_configuration_resource.d.ts.map +1 -0
  669. package/build/types/resources/conversation.d.ts +48 -0
  670. package/build/types/resources/conversation.d.ts.map +1 -0
  671. package/build/types/resources/conversation_badge.d.ts +12 -0
  672. package/build/types/resources/conversation_badge.d.ts.map +1 -0
  673. package/build/types/resources/conversation_membership.d.ts +16 -0
  674. package/build/types/resources/conversation_membership.d.ts.map +1 -0
  675. package/build/types/resources/conversation_validate.d.ts +10 -0
  676. package/build/types/resources/conversation_validate.d.ts.map +1 -0
  677. package/build/types/resources/denormalized_attachment_resource.d.ts +65 -0
  678. package/build/types/resources/denormalized_attachment_resource.d.ts.map +1 -0
  679. package/build/types/resources/denormalized_attachment_resource_for_create.d.ts +53 -0
  680. package/build/types/resources/denormalized_attachment_resource_for_create.d.ts.map +1 -0
  681. package/build/types/resources/direct_message_affiliations.d.ts +9 -0
  682. package/build/types/resources/direct_message_affiliations.d.ts.map +1 -0
  683. package/build/types/resources/direct_message_candidate.d.ts +13 -0
  684. package/build/types/resources/direct_message_candidate.d.ts.map +1 -0
  685. package/build/types/resources/feature_resource.d.ts +7 -0
  686. package/build/types/resources/feature_resource.d.ts.map +1 -0
  687. package/build/types/resources/group_membership.d.ts +13 -0
  688. package/build/types/resources/group_membership.d.ts.map +1 -0
  689. package/build/types/resources/group_resource.d.ts +18 -0
  690. package/build/types/resources/group_resource.d.ts.map +1 -0
  691. package/build/types/resources/groups/groups_group_resource.d.ts +15 -0
  692. package/build/types/resources/groups/groups_group_resource.d.ts.map +1 -0
  693. package/build/types/resources/groups/groups_member_resource_with_person.d.ts +15 -0
  694. package/build/types/resources/groups/groups_member_resource_with_person.d.ts.map +1 -0
  695. package/build/types/resources/groups/index.d.ts +2 -0
  696. package/build/types/resources/groups/index.d.ts.map +1 -0
  697. package/build/types/resources/index.d.ts +18 -0
  698. package/build/types/resources/index.d.ts.map +1 -0
  699. package/build/types/resources/member.d.ts +16 -0
  700. package/build/types/resources/member.d.ts.map +1 -0
  701. package/build/types/resources/member_ability.d.ts +12 -0
  702. package/build/types/resources/member_ability.d.ts.map +1 -0
  703. package/build/types/resources/message.d.ts +44 -0
  704. package/build/types/resources/message.d.ts.map +1 -0
  705. package/build/types/resources/message_report.d.ts +19 -0
  706. package/build/types/resources/message_report.d.ts.map +1 -0
  707. package/build/types/resources/oauth_token.d.ts +9 -0
  708. package/build/types/resources/oauth_token.d.ts.map +1 -0
  709. package/build/types/resources/organization.d.ts +8 -0
  710. package/build/types/resources/organization.d.ts.map +1 -0
  711. package/build/types/resources/person.d.ts +24 -0
  712. package/build/types/resources/person.d.ts.map +1 -0
  713. package/build/types/resources/reaction.d.ts +10 -0
  714. package/build/types/resources/reaction.d.ts.map +1 -0
  715. package/build/types/resources/read_receipt.d.ts +7 -0
  716. package/build/types/resources/read_receipt.d.ts.map +1 -0
  717. package/build/types/resources/search_result.d.ts +29 -0
  718. package/build/types/resources/search_result.d.ts.map +1 -0
  719. package/build/types/resources/services/chat_resource.d.ts +53 -0
  720. package/build/types/resources/services/chat_resource.d.ts.map +1 -0
  721. package/build/types/resources/services/index.d.ts +3 -0
  722. package/build/types/resources/services/index.d.ts.map +1 -0
  723. package/build/types/resources/services/team_resource.d.ts +19 -0
  724. package/build/types/resources/services/team_resource.d.ts.map +1 -0
  725. package/build/types/utils/index.d.ts +5 -0
  726. package/build/types/utils/index.d.ts.map +1 -0
  727. package/build/utils/archived_conversation.d.ts +5 -0
  728. package/build/utils/archived_conversation.d.ts.map +1 -0
  729. package/build/utils/assert_keys_are_numbers.d.ts +2 -0
  730. package/build/utils/assert_keys_are_numbers.d.ts.map +1 -0
  731. package/build/utils/attachment_kind.d.ts +5 -0
  732. package/build/utils/attachment_kind.d.ts.map +1 -0
  733. package/build/utils/auth_events.d.ts +7 -0
  734. package/build/utils/auth_events.d.ts.map +1 -0
  735. package/build/utils/cache/index.d.ts +2 -0
  736. package/build/utils/cache/index.d.ts.map +1 -0
  737. package/build/utils/cache/messages_cache.d.ts +13 -0
  738. package/build/utils/cache/messages_cache.d.ts.map +1 -0
  739. package/build/utils/cache/messages_window.d.ts +11 -0
  740. package/build/utils/cache/messages_window.d.ts.map +1 -0
  741. package/build/utils/cache/optimistically_create_message.d.ts +12 -0
  742. package/build/utils/cache/optimistically_create_message.d.ts.map +1 -0
  743. package/build/utils/cache/optimistically_update_message.d.ts +8 -0
  744. package/build/utils/cache/optimistically_update_message.d.ts.map +1 -0
  745. package/build/utils/cache/page_mutations.d.ts +96 -0
  746. package/build/utils/cache/page_mutations.d.ts.map +1 -0
  747. package/build/utils/can_submit_message.d.ts +10 -0
  748. package/build/utils/can_submit_message.d.ts.map +1 -0
  749. package/build/utils/chat_type_label.d.ts +2 -0
  750. package/build/utils/chat_type_label.d.ts.map +1 -0
  751. package/build/utils/client/client.d.ts +30 -0
  752. package/build/utils/client/client.d.ts.map +1 -0
  753. package/build/utils/client/index.d.ts +3 -0
  754. package/build/utils/client/index.d.ts.map +1 -0
  755. package/build/utils/client/instrumented_fetch.d.ts +2 -0
  756. package/build/utils/client/instrumented_fetch.d.ts.map +1 -0
  757. package/build/utils/client/request_helpers.d.ts +28 -0
  758. package/build/utils/client/request_helpers.d.ts.map +1 -0
  759. package/build/utils/client/transform_request_data.d.ts +13 -0
  760. package/build/utils/client/transform_request_data.d.ts.map +1 -0
  761. package/build/utils/client/transform_response.d.ts +3 -0
  762. package/build/utils/client/transform_response.d.ts.map +1 -0
  763. package/build/utils/client/types.d.ts +62 -0
  764. package/build/utils/client/types.d.ts.map +1 -0
  765. package/build/utils/client/utils.d.ts +5 -0
  766. package/build/utils/client/utils.d.ts.map +1 -0
  767. package/build/utils/conversation_safety_constants.d.ts +2 -0
  768. package/build/utils/conversation_safety_constants.d.ts.map +1 -0
  769. package/build/utils/convert_attachments_for_create.d.ts +12 -0
  770. package/build/utils/convert_attachments_for_create.d.ts.map +1 -0
  771. package/build/utils/date.d.ts +11 -0
  772. package/build/utils/date.d.ts.map +1 -0
  773. package/build/utils/dayjs.d.ts +3 -0
  774. package/build/utils/dayjs.d.ts.map +1 -0
  775. package/build/utils/deepCamelCaseKeys.d.ts +4 -0
  776. package/build/utils/deepCamelCaseKeys.d.ts.map +1 -0
  777. package/build/utils/deep_snake_case_keys.d.ts +4 -0
  778. package/build/utils/deep_snake_case_keys.d.ts.map +1 -0
  779. package/build/utils/destructure_chat_group_graph_id.d.ts +10 -0
  780. package/build/utils/destructure_chat_group_graph_id.d.ts.map +1 -0
  781. package/build/utils/gender_display_label.d.ts +2 -0
  782. package/build/utils/gender_display_label.d.ts.map +1 -0
  783. package/build/utils/generate_placeholder_ulid.d.ts +10 -0
  784. package/build/utils/generate_placeholder_ulid.d.ts.map +1 -0
  785. package/build/utils/group_messages.d.ts +22 -0
  786. package/build/utils/group_messages.d.ts.map +1 -0
  787. package/build/utils/host_bridge.d.ts +20 -0
  788. package/build/utils/host_bridge.d.ts.map +1 -0
  789. package/build/utils/index.d.ts +21 -0
  790. package/build/utils/index.d.ts.map +1 -0
  791. package/build/utils/is_input_editable.d.ts +6 -0
  792. package/build/utils/is_input_editable.d.ts.map +1 -0
  793. package/build/utils/jolt/transform_message_event_data_to_message_resource.d.ts +7 -0
  794. package/build/utils/jolt/transform_message_event_data_to_message_resource.d.ts.map +1 -0
  795. package/build/utils/jolt/transform_reaction_event_data_to_reaction_count_resource.d.ts +12 -0
  796. package/build/utils/jolt/transform_reaction_event_data_to_reaction_count_resource.d.ts.map +1 -0
  797. package/build/utils/liquid_glass.d.ts +3 -0
  798. package/build/utils/liquid_glass.d.ts.map +1 -0
  799. package/build/utils/membership_sync_info_text.d.ts +2 -0
  800. package/build/utils/membership_sync_info_text.d.ts.map +1 -0
  801. package/build/utils/message_text.d.ts +3 -0
  802. package/build/utils/message_text.d.ts.map +1 -0
  803. package/build/utils/native_adapters/audio.d.ts +14 -0
  804. package/build/utils/native_adapters/audio.d.ts.map +1 -0
  805. package/build/utils/native_adapters/clipboard.d.ts +6 -0
  806. package/build/utils/native_adapters/clipboard.d.ts.map +1 -0
  807. package/build/utils/native_adapters/configuration.d.ts +36 -0
  808. package/build/utils/native_adapters/configuration.d.ts.map +1 -0
  809. package/build/utils/native_adapters/document_picker.d.ts +28 -0
  810. package/build/utils/native_adapters/document_picker.d.ts.map +1 -0
  811. package/build/utils/native_adapters/haptic.d.ts +23 -0
  812. package/build/utils/native_adapters/haptic.d.ts.map +1 -0
  813. package/build/utils/native_adapters/image_picker.d.ts +31 -0
  814. package/build/utils/native_adapters/image_picker.d.ts.map +1 -0
  815. package/build/utils/native_adapters/index.d.ts +12 -0
  816. package/build/utils/native_adapters/index.d.ts.map +1 -0
  817. package/build/utils/native_adapters/linking.d.ts +15 -0
  818. package/build/utils/native_adapters/linking.d.ts.map +1 -0
  819. package/build/utils/native_adapters/log.d.ts +26 -0
  820. package/build/utils/native_adapters/log.d.ts.map +1 -0
  821. package/build/utils/native_adapters/menu.d.ts +40 -0
  822. package/build/utils/native_adapters/menu.d.ts.map +1 -0
  823. package/build/utils/native_adapters/storage_adapter.d.ts +17 -0
  824. package/build/utils/native_adapters/storage_adapter.d.ts.map +1 -0
  825. package/build/utils/native_adapters/video.d.ts +22 -0
  826. package/build/utils/native_adapters/video.d.ts.map +1 -0
  827. package/build/utils/package_version.d.ts +2 -0
  828. package/build/utils/package_version.d.ts.map +1 -0
  829. package/build/utils/parse_simple_markdown.d.ts +7 -0
  830. package/build/utils/parse_simple_markdown.d.ts.map +1 -0
  831. package/build/utils/performance_tracking.d.ts +26 -0
  832. package/build/utils/performance_tracking.d.ts.map +1 -0
  833. package/build/utils/pluralize.d.ts +2 -0
  834. package/build/utils/pluralize.d.ts.map +1 -0
  835. package/build/utils/reaction_constants.d.ts +3 -0
  836. package/build/utils/reaction_constants.d.ts.map +1 -0
  837. package/build/utils/replace_equal_by_id.d.ts +6 -0
  838. package/build/utils/replace_equal_by_id.d.ts.map +1 -0
  839. package/build/utils/request/conversation.d.ts +12 -0
  840. package/build/utils/request/conversation.d.ts.map +1 -0
  841. package/build/utils/request/get_chat_configuration.d.ts +10 -0
  842. package/build/utils/request/get_chat_configuration.d.ts.map +1 -0
  843. package/build/utils/request/get_features.d.ts +17 -0
  844. package/build/utils/request/get_features.d.ts.map +1 -0
  845. package/build/utils/request/get_message.d.ts +20 -0
  846. package/build/utils/request/get_message.d.ts.map +1 -0
  847. package/build/utils/request/get_messages.d.ts +21 -0
  848. package/build/utils/request/get_messages.d.ts.map +1 -0
  849. package/build/utils/request/get_search_results.d.ts +13 -0
  850. package/build/utils/request/get_search_results.d.ts.map +1 -0
  851. package/build/utils/request/messages_data_options.d.ts +7 -0
  852. package/build/utils/request/messages_data_options.d.ts.map +1 -0
  853. package/build/utils/response_error.d.ts +11 -0
  854. package/build/utils/response_error.d.ts.map +1 -0
  855. package/build/utils/session.d.ts +38 -0
  856. package/build/utils/session.d.ts.map +1 -0
  857. package/build/utils/session_manager.d.ts +21 -0
  858. package/build/utils/session_manager.d.ts.map +1 -0
  859. package/build/utils/sha_256.d.ts +31 -0
  860. package/build/utils/sha_256.d.ts.map +1 -0
  861. package/build/utils/styles.d.ts +11 -0
  862. package/build/utils/styles.d.ts.map +1 -0
  863. package/build/utils/system_messages.d.ts +17 -0
  864. package/build/utils/system_messages.d.ts.map +1 -0
  865. package/build/utils/theme.d.ts +88 -0
  866. package/build/utils/theme.d.ts.map +1 -0
  867. package/build/utils/time.d.ts +9 -0
  868. package/build/utils/time.d.ts.map +1 -0
  869. package/build/utils/upload_uri.d.ts +24 -0
  870. package/build/utils/upload_uri.d.ts.map +1 -0
  871. package/build/utils/uri.d.ts +29 -0
  872. package/build/utils/uri.d.ts.map +1 -0
  873. package/build/vendor/font_awesome_pro_solid_icons.d.ts +53 -0
  874. package/build/vendor/font_awesome_pro_solid_icons.d.ts.map +1 -0
  875. package/build/vendor/tapestry/alias_tokens_color_map.d.ts +89 -0
  876. package/build/vendor/tapestry/alias_tokens_color_map.d.ts.map +1 -0
  877. package/build/vendor/tapestry/tokens.d.ts +121 -0
  878. package/build/vendor/tapestry/tokens.d.ts.map +1 -0
  879. package/package.json +8 -12
  880. package/src/__tests__/utils/theme.ts +2 -5
  881. package/src/__utils__/render_with_query_client.tsx +13 -0
  882. package/src/components/conversation/__tests__/message_list.test.tsx +4 -0
  883. package/src/components/conversation/message_list.tsx +6 -0
  884. package/src/components/conversations/__tests__/conversation_preview.test.tsx +2 -2
  885. package/src/components/conversations/conversations.tsx +1 -0
  886. package/src/components/display/__tests__/conversation_avatar.test.tsx +94 -0
  887. package/src/components/display/conversation_avatar.tsx +9 -2
  888. package/src/components/display/image.tsx +10 -19
  889. package/src/components/display/keyboard_scroll_view.tsx +1 -0
  890. package/src/components/page/__tests__/page_error_boundary.test.tsx +33 -0
  891. package/src/components/page/page_error_boundary.tsx +43 -12
  892. package/src/contexts/__tests__/configured_retry.test.ts +39 -0
  893. package/src/contexts/api_provider.tsx +12 -5
  894. package/src/hooks/__tests__/use_conversation_avatar_update.test.tsx +40 -0
  895. package/src/hooks/__tests__/use_system_message_people.test.tsx +79 -0
  896. package/src/hooks/index.ts +1 -0
  897. package/src/hooks/use_conversation_avatar_update.ts +67 -11
  898. package/src/hooks/use_system_message_people.ts +55 -0
  899. package/src/navigation/index.tsx +6 -2
  900. package/src/navigation/page_error_fallbacks.ts +14 -0
  901. package/src/navigation/screenLayout.tsx +3 -1
  902. package/src/screens/age_check/age_check_required_screen.tsx +5 -1
  903. package/src/screens/avatar_picker/__tests__/avatar_picker_screen.test.tsx +67 -0
  904. package/src/screens/avatar_picker/avatar_picker_screen.tsx +7 -1
  905. package/src/screens/conversation_details_screen.tsx +1 -0
  906. package/src/screens/conversation_new/components/form_list.tsx +1 -0
  907. package/src/screens/conversation_select_recipients/__tests__/conversation_select_direct_message_recipients_screen.test.tsx +100 -0
  908. package/src/screens/conversation_select_recipients/conversation_new_entry_screen.tsx +4 -1
  909. package/src/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.tsx +78 -68
  910. package/src/screens/conversation_select_recipients/conversation_select_group_recipients_screen.tsx +1 -0
  911. package/src/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.tsx +1 -0
  912. package/src/screens/get_help_screen.tsx +4 -4
  913. package/src/screens/group_notification_settings_screen.tsx +3 -3
  914. package/src/screens/notification_settings_screen.tsx +1 -0
  915. package/src/screens/preferred_app_selection_screen.tsx +4 -4
  916. package/src/screens/search/__tests__/search_screen.test.tsx +11 -12
  917. package/src/screens/search/components/__tests__/conversation_results.test.tsx +14 -5
  918. package/src/screens/search/components/__tests__/message_result_row.test.tsx +5 -4
  919. package/src/screens/search/components/__tests__/search_results_list.test.tsx +10 -5
  920. package/src/screens/search/components/search_results_list.tsx +34 -13
  921. package/src/screens/search/search_screen.tsx +8 -18
  922. package/src/screens/settings_screen.tsx +25 -25
  923. package/src/screens/system_message_people_screen.tsx +6 -20
@@ -1,11 +1,13 @@
1
1
  import { c as _c } from "react/compiler-runtime";
2
2
  import { date as formatDate } from '@planningcenter/datetime-fmt';
3
+ import { useHeaderHeight } from '@react-navigation/elements';
3
4
  import { noop } from 'lodash';
4
5
  import React, { useCallback, useEffect, useRef, useState } from 'react';
5
6
  import { FlatList, StyleSheet, View } from 'react-native';
6
7
  import { useTheme } from '../../hooks';
7
8
  import { getRelativeDateStatus } from '../../utils/date';
8
9
  import { groupMessages } from '../../utils/group_messages';
10
+ import { isLiquidGlassEnabled } from '../../utils/liquid_glass';
9
11
  import { CONVERSATION_MESSAGE_LIST_PADDING_HORIZONTAL } from '../../utils/styles';
10
12
  import { isSystemMessage } from '../../utils/system_messages';
11
13
  import { Text } from '../display';
@@ -34,7 +36,7 @@ const ANCHOR_VIEWABILITY = {
34
36
  * The inverted list of messages, reply previews, and date separators for a conversation
35
37
  */
36
38
  export function MessageList(t0) {
37
- const $ = _c(51);
39
+ const $ = _c(58);
38
40
  const {
39
41
  listRef,
40
42
  conversation,
@@ -55,28 +57,38 @@ export function MessageList(t0) {
55
57
  } = t0;
56
58
  const behind = t1 === undefined ? false : t1;
57
59
  const styles = useStyles();
60
+ const headerHeight = useHeaderHeight();
61
+ let t2;
62
+ if ($[0] !== headerHeight) {
63
+ t2 = isLiquidGlassEnabled() ? headerHeight : 0;
64
+ $[0] = headerHeight;
65
+ $[1] = t2;
66
+ } else {
67
+ t2 = $[1];
68
+ }
69
+ const glassHeaderInset = t2;
58
70
  const inReplyScreen = !!replyRootId;
59
71
  const canDeleteNonAuthoredMessages = conversation.memberAbility?.canDeleteNonAuthoredMessages ?? false;
60
72
  const conversationDisabled = conversation.disabled ?? false;
61
73
  const latestRead = conversation.latestReadMessageSortKey;
62
74
  let messagesWithSeparators;
63
- let t2;
64
- if ($[0] !== anchorMessageId || $[1] !== inReplyScreen || $[2] !== messages) {
75
+ let t3;
76
+ if ($[2] !== anchorMessageId || $[3] !== inReplyScreen || $[4] !== messages) {
65
77
  messagesWithSeparators = groupMessages({
66
78
  ms: messages,
67
79
  inReplyScreen
68
80
  });
69
- t2 = anchorMessageId ? messagesWithSeparators.findIndex(item => item.id === anchorMessageId) : -1;
70
- $[0] = anchorMessageId;
71
- $[1] = inReplyScreen;
72
- $[2] = messages;
73
- $[3] = messagesWithSeparators;
74
- $[4] = t2;
81
+ t3 = anchorMessageId ? messagesWithSeparators.findIndex(item => item.id === anchorMessageId) : -1;
82
+ $[2] = anchorMessageId;
83
+ $[3] = inReplyScreen;
84
+ $[4] = messages;
85
+ $[5] = messagesWithSeparators;
86
+ $[6] = t3;
75
87
  } else {
76
- messagesWithSeparators = $[3];
77
- t2 = $[4];
88
+ messagesWithSeparators = $[5];
89
+ t3 = $[6];
78
90
  }
79
- const anchorIndex = t2;
91
+ const anchorIndex = t3;
80
92
  const layoutHeight = useRef(0);
81
93
  const contentHeight = useRef(0);
82
94
  const userHasScrolled = useRef(false);
@@ -84,24 +96,24 @@ export function MessageList(t0) {
84
96
  const latestAnchorMessageId = useRef(anchorMessageId);
85
97
  const flashedAnchorId = useRef(null);
86
98
  const [highlightedMessageId, setHighlightedMessageId] = useState(null);
87
- let t3;
88
99
  let t4;
89
- if ($[5] !== anchorMessageId) {
90
- t3 = () => {
100
+ let t5;
101
+ if ($[7] !== anchorMessageId) {
102
+ t4 = () => {
91
103
  latestAnchorMessageId.current = anchorMessageId;
92
104
  };
93
- t4 = [anchorMessageId];
94
- $[5] = anchorMessageId;
95
- $[6] = t3;
96
- $[7] = t4;
105
+ t5 = [anchorMessageId];
106
+ $[7] = anchorMessageId;
107
+ $[8] = t4;
108
+ $[9] = t5;
97
109
  } else {
98
- t3 = $[6];
99
- t4 = $[7];
110
+ t4 = $[8];
111
+ t5 = $[9];
100
112
  }
101
- useEffect(t3, t4);
102
- let t5;
103
- if ($[8] !== anchorIndex || $[9] !== listRef) {
104
- t5 = () => {
113
+ useEffect(t4, t5);
114
+ let t6;
115
+ if ($[10] !== anchorIndex || $[11] !== listRef) {
116
+ t6 = () => {
105
117
  const anchorIsLoaded = anchorIndex >= 0;
106
118
  if (!anchorIsLoaded || userHasScrolled.current) {
107
119
  return;
@@ -117,60 +129,60 @@ export function MessageList(t0) {
117
129
  animated: false
118
130
  });
119
131
  };
120
- $[8] = anchorIndex;
121
- $[9] = listRef;
122
- $[10] = t5;
132
+ $[10] = anchorIndex;
133
+ $[11] = listRef;
134
+ $[12] = t6;
123
135
  } else {
124
- t5 = $[10];
136
+ t6 = $[12];
125
137
  }
126
- const pinAnchorToBottomEdge = t5;
127
- let t6;
128
- if ($[11] !== onLayout || $[12] !== pinAnchorToBottomEdge) {
129
- t6 = event => {
138
+ const pinAnchorToBottomEdge = t6;
139
+ let t7;
140
+ if ($[13] !== onLayout || $[14] !== pinAnchorToBottomEdge) {
141
+ t7 = event => {
130
142
  onLayout?.(event);
131
143
  layoutHeight.current = event.nativeEvent.layout.height;
132
144
  pinAnchorToBottomEdge();
133
145
  };
134
- $[11] = onLayout;
135
- $[12] = pinAnchorToBottomEdge;
136
- $[13] = t6;
146
+ $[13] = onLayout;
147
+ $[14] = pinAnchorToBottomEdge;
148
+ $[15] = t7;
137
149
  } else {
138
- t6 = $[13];
150
+ t7 = $[15];
139
151
  }
140
- const handleLayout = t6;
141
- let t7;
142
- if ($[14] !== onContentSizeChange || $[15] !== pinAnchorToBottomEdge) {
143
- t7 = (width, height) => {
152
+ const handleLayout = t7;
153
+ let t8;
154
+ if ($[16] !== onContentSizeChange || $[17] !== pinAnchorToBottomEdge) {
155
+ t8 = (width, height) => {
144
156
  onContentSizeChange?.(width, height);
145
157
  contentHeight.current = height;
146
158
  pinAnchorToBottomEdge();
147
159
  };
148
- $[14] = onContentSizeChange;
149
- $[15] = pinAnchorToBottomEdge;
150
- $[16] = t7;
160
+ $[16] = onContentSizeChange;
161
+ $[17] = pinAnchorToBottomEdge;
162
+ $[18] = t8;
151
163
  } else {
152
- t7 = $[16];
164
+ t8 = $[18];
153
165
  }
154
- const handleContentSizeChange = t7;
155
- let t8;
156
- if ($[17] !== onScrollBeginDrag) {
157
- t8 = event_0 => {
166
+ const handleContentSizeChange = t8;
167
+ let t9;
168
+ if ($[19] !== onScrollBeginDrag) {
169
+ t9 = event_0 => {
158
170
  userHasScrolled.current = true;
159
171
  draggedSinceStartReached.current = true;
160
172
  onScrollBeginDrag?.(event_0);
161
173
  };
162
- $[17] = onScrollBeginDrag;
163
- $[18] = t8;
174
+ $[19] = onScrollBeginDrag;
175
+ $[20] = t9;
164
176
  } else {
165
- t8 = $[18];
177
+ t9 = $[20];
166
178
  }
167
- const handleScrollBeginDrag = t8;
168
- let t9;
169
- if ($[19] === Symbol.for("react.memo_cache_sentinel")) {
170
- t9 = t10 => {
179
+ const handleScrollBeginDrag = t9;
180
+ let t10;
181
+ if ($[21] === Symbol.for("react.memo_cache_sentinel")) {
182
+ t10 = t11 => {
171
183
  const {
172
184
  viewableItems
173
- } = t10;
185
+ } = t11;
174
186
  const anchorId = latestAnchorMessageId.current;
175
187
  if (!anchorId || anchorId === flashedAnchorId.current) {
176
188
  return;
@@ -181,53 +193,69 @@ export function MessageList(t0) {
181
193
  flashedAnchorId.current = anchorId;
182
194
  setHighlightedMessageId(anchorId);
183
195
  };
184
- $[19] = t9;
196
+ $[21] = t10;
185
197
  } else {
186
- t9 = $[19];
198
+ t10 = $[21];
187
199
  }
188
- const flashAnchorOnceViewable = t9;
189
- let t10;
190
- if ($[20] === Symbol.for("react.memo_cache_sentinel")) {
191
- t10 = () => setHighlightedMessageId(null);
192
- $[20] = t10;
200
+ const flashAnchorOnceViewable = t10;
201
+ let t11;
202
+ if ($[22] === Symbol.for("react.memo_cache_sentinel")) {
203
+ t11 = () => setHighlightedMessageId(null);
204
+ $[22] = t11;
193
205
  } else {
194
- t10 = $[20];
206
+ t11 = $[22];
195
207
  }
196
- const clearHighlight = t10;
197
- let t11;
198
- if ($[21] !== onStartReached) {
199
- t11 = () => {
208
+ const clearHighlight = t11;
209
+ let t12;
210
+ if ($[23] !== onStartReached) {
211
+ t12 = () => {
200
212
  if (!draggedSinceStartReached.current) {
201
213
  return;
202
214
  }
203
215
  draggedSinceStartReached.current = false;
204
216
  onStartReached?.();
205
217
  };
206
- $[21] = onStartReached;
207
- $[22] = t11;
218
+ $[23] = onStartReached;
219
+ $[24] = t12;
208
220
  } else {
209
- t11 = $[22];
221
+ t12 = $[24];
210
222
  }
211
- const handleStartReached = t11;
212
- const t12 = behind ? HOLD_ONLY : HOLD_AND_FOLLOW;
223
+ const handleStartReached = t12;
213
224
  let t13;
214
- if ($[23] !== conversation || $[24] !== hasNextPage) {
215
- t13 = hasNextPage ? null : /*#__PURE__*/_jsx(ConversationStartBanner, {
225
+ let t14;
226
+ if ($[25] !== glassHeaderInset) {
227
+ t13 = {
228
+ bottom: glassHeaderInset
229
+ };
230
+ t14 = {
231
+ bottom: glassHeaderInset
232
+ };
233
+ $[25] = glassHeaderInset;
234
+ $[26] = t13;
235
+ $[27] = t14;
236
+ } else {
237
+ t13 = $[26];
238
+ t14 = $[27];
239
+ }
240
+ const t15 = behind ? HOLD_ONLY : HOLD_AND_FOLLOW;
241
+ let t16;
242
+ if ($[28] !== conversation || $[29] !== hasNextPage) {
243
+ t16 = hasNextPage ? null : /*#__PURE__*/_jsx(ConversationStartBanner, {
216
244
  conversation: conversation,
217
245
  hasMessages: true
218
246
  });
219
- $[23] = conversation;
220
- $[24] = hasNextPage;
221
- $[25] = t13;
247
+ $[28] = conversation;
248
+ $[29] = hasNextPage;
249
+ $[30] = t16;
222
250
  } else {
223
- t13 = $[25];
251
+ t16 = $[30];
224
252
  }
225
- let t14;
226
- if ($[26] !== canDeleteNonAuthoredMessages || $[27] !== conversationDisabled || $[28] !== conversationId || $[29] !== highlightedMessageId || $[30] !== inReplyScreen || $[31] !== latestRead) {
227
- t14 = t15 => {
253
+ let t17;
254
+ if ($[31] !== canDeleteNonAuthoredMessages || $[32] !== conversationDisabled || $[33] !== conversationId || $[34] !== highlightedMessageId || $[35] !== inReplyScreen || $[36] !== latestRead) {
255
+ t17 = t18 => {
228
256
  const {
229
257
  item: item_1
230
- } = t15;
258
+ } = t18;
231
259
  if (item_1.type === "DateSeparator") {
232
260
  return /*#__PURE__*/_jsx(InlineDateSeparator, {
233
261
  ...item_1
@@ -262,32 +290,34 @@ export function MessageList(t0) {
262
290
  onHighlightShown: clearHighlight
263
291
  });
264
292
  };
265
- $[26] = canDeleteNonAuthoredMessages;
266
- $[27] = conversationDisabled;
267
- $[28] = conversationId;
268
- $[29] = highlightedMessageId;
269
- $[30] = inReplyScreen;
270
- $[31] = latestRead;
271
- $[32] = t14;
293
+ $[31] = canDeleteNonAuthoredMessages;
294
+ $[32] = conversationDisabled;
295
+ $[33] = conversationId;
296
+ $[34] = highlightedMessageId;
297
+ $[35] = inReplyScreen;
298
+ $[36] = latestRead;
299
+ $[37] = t17;
272
300
  } else {
273
- t14 = $[32];
301
+ t17 = $[37];
274
302
  }
275
- let t15;
276
- if ($[33] !== styles.listHeader) {
277
- t15 = /*#__PURE__*/_jsx(View, {
303
+ let t18;
304
+ if ($[38] !== styles.listHeader) {
305
+ t18 = /*#__PURE__*/_jsx(View, {
278
306
  style: styles.listHeader
279
307
  });
280
- $[33] = styles.listHeader;
281
- $[34] = t15;
308
+ $[38] = styles.listHeader;
309
+ $[39] = t18;
282
310
  } else {
283
- t15 = $[34];
311
+ t18 = $[39];
284
312
  }
285
- let t16;
286
- if ($[35] !== handleContentSizeChange || $[36] !== handleLayout || $[37] !== handleScrollBeginDrag || $[38] !== handleStartReached || $[39] !== listRef || $[40] !== messagesWithSeparators || $[41] !== onEndReached || $[42] !== onMomentumScrollEnd || $[43] !== onScroll || $[44] !== onScrollEndDrag || $[45] !== styles.listContainer || $[46] !== t12 || $[47] !== t13 || $[48] !== t14 || $[49] !== t15) {
287
- t16 = /*#__PURE__*/_jsx(FlatList, {
313
+ let t19;
314
+ if ($[40] !== handleContentSizeChange || $[41] !== handleLayout || $[42] !== handleScrollBeginDrag || $[43] !== handleStartReached || $[44] !== listRef || $[45] !== messagesWithSeparators || $[46] !== onEndReached || $[47] !== onMomentumScrollEnd || $[48] !== onScroll || $[49] !== onScrollEndDrag || $[50] !== styles.listContainer || $[51] !== t13 || $[52] !== t14 || $[53] !== t15 || $[54] !== t16 || $[55] !== t17 || $[56] !== t18) {
315
+ t19 = /*#__PURE__*/_jsx(FlatList, {
288
316
  inverted: true,
289
317
  ref: listRef,
290
318
  contentContainerStyle: styles.listContainer,
319
+ contentInset: t13,
320
+ scrollIndicatorInsets: t14,
291
321
  data: messagesWithSeparators,
292
322
  keyExtractor: _temp,
293
323
  onScroll: onScroll,
@@ -300,33 +330,35 @@ export function MessageList(t0) {
300
330
  onViewableItemsChanged: flashAnchorOnceViewable,
301
331
  viewabilityConfig: ANCHOR_VIEWABILITY,
302
332
  scrollEventThrottle: 10,
303
- maintainVisibleContentPosition: t12,
304
- ListFooterComponent: t13,
305
- renderItem: t14,
333
+ maintainVisibleContentPosition: t15,
334
+ ListFooterComponent: t16,
335
+ renderItem: t17,
306
336
  onEndReached: onEndReached,
307
337
  onStartReached: handleStartReached,
308
- ListHeaderComponent: t15
338
+ ListHeaderComponent: t18
309
339
  });
310
- $[35] = handleContentSizeChange;
311
- $[36] = handleLayout;
312
- $[37] = handleScrollBeginDrag;
313
- $[38] = handleStartReached;
314
- $[39] = listRef;
315
- $[40] = messagesWithSeparators;
316
- $[41] = onEndReached;
317
- $[42] = onMomentumScrollEnd;
318
- $[43] = onScroll;
319
- $[44] = onScrollEndDrag;
320
- $[45] = styles.listContainer;
321
- $[46] = t12;
322
- $[47] = t13;
323
- $[48] = t14;
324
- $[49] = t15;
325
- $[50] = t16;
340
+ $[40] = handleContentSizeChange;
341
+ $[41] = handleLayout;
342
+ $[42] = handleScrollBeginDrag;
343
+ $[43] = handleStartReached;
344
+ $[44] = listRef;
345
+ $[45] = messagesWithSeparators;
346
+ $[46] = onEndReached;
347
+ $[47] = onMomentumScrollEnd;
348
+ $[48] = onScroll;
349
+ $[49] = onScrollEndDrag;
350
+ $[50] = styles.listContainer;
351
+ $[51] = t13;
352
+ $[52] = t14;
353
+ $[53] = t15;
354
+ $[54] = t16;
355
+ $[55] = t17;
356
+ $[56] = t18;
357
+ $[57] = t19;
326
358
  } else {
327
- t16 = $[50];
359
+ t19 = $[57];
328
360
  }
329
- return t16;
361
+ return t19;
330
362
  }
331
363
  function _temp(item_0) {
332
364
  return item_0.id;
@@ -1 +1 @@
1
- {"version":3,"file":"message_list.js","names":["date","formatDate","noop","React","useCallback","useEffect","useRef","useState","FlatList","StyleSheet","View","useTheme","getRelativeDateStatus","groupMessages","CONVERSATION_MESSAGE_LIST_PADDING_HORIZONTAL","isSystemMessage","Text","ConversationStartBanner","Message","MissingMessage","ReplyShadowMessage","SystemMessage","jsx","_jsx","jsxs","_jsxs","HOLD_AND_FOLLOW","minIndexForVisible","autoscrollToTopThreshold","HOLD_ONLY","ANCHOR_CLEARS_JUMP_BUTTON","ANCHOR_VIEWABILITY","itemVisiblePercentThreshold","MessageList","t0","$","_c","listRef","conversation","conversationId","messages","replyRootId","anchorMessageId","behind","t1","hasNextPage","onEndReached","onStartReached","onScroll","onLayout","onContentSizeChange","onScrollBeginDrag","onScrollEndDrag","onMomentumScrollEnd","undefined","styles","useStyles","inReplyScreen","canDeleteNonAuthoredMessages","memberAbility","conversationDisabled","disabled","latestRead","latestReadMessageSortKey","messagesWithSeparators","t2","ms","findIndex","item","id","anchorIndex","layoutHeight","contentHeight","userHasScrolled","draggedSinceStartReached","latestAnchorMessageId","flashedAnchorId","highlightedMessageId","setHighlightedMessageId","t3","t4","current","t5","anchorIsLoaded","scrollable","scrollToIndex","index","viewPosition","viewOffset","animated","pinAnchorToBottomEdge","t6","event","nativeEvent","layout","height","handleLayout","t7","width","handleContentSizeChange","t8","event_0","handleScrollBeginDrag","t9","Symbol","for","t10","viewableItems","anchorId","some","token","flashAnchorOnceViewable","clearHighlight","t11","handleStartReached","t12","t13","hasMessages","t14","t15","item_1","type","InlineDateSeparator","deletedAt","readByOthers","mine","highlighted","listHeader","style","t16","listContainer","inverted","contentContainerStyle","keyExtractor","_temp","scrollEventThrottle","maintainVisibleContentPosition","ListFooterComponent","renderItem","ListHeaderComponent","item_0","useDateSeparatorStyles","isThisYear","showYear","year","dateStamp","separator","dateText","variant","children","container","theme","colors","borderColorDefaultBase","create","alignItems","flexDirection","paddingHorizontal","paddingVertical","flex","borderTopWidth","borderTopColor"],"sources":["../../../src/components/conversation/message_list.tsx"],"sourcesContent":["import { date as formatDate } from '@planningcenter/datetime-fmt'\nimport { noop } from 'lodash'\nimport React, { RefObject, useCallback, useEffect, useRef, useState } from 'react'\nimport { FlatList, FlatListProps, StyleSheet, View } from 'react-native'\nimport { useTheme } from '../../hooks'\nimport { ConversationResource } from '../../types/resources/conversation'\nimport { MessageResource } from '../../types/resources/message'\nimport { getRelativeDateStatus } from '../../utils/date'\nimport { groupMessages, type DateSeparator, type EnrichedMessage } from '../../utils/group_messages'\nimport { CONVERSATION_MESSAGE_LIST_PADDING_HORIZONTAL } from '../../utils/styles'\nimport { isSystemMessage } from '../../utils/system_messages'\nimport { Text } from '../display'\nimport { ConversationStartBanner } from './conversation_start_banner'\nimport { Message } from './message'\nimport { MissingMessage } from './missing_message'\nimport { ReplyShadowMessage } from './reply_shadow_message'\nimport { SystemMessage } from './system_message'\n\n// While behind, the bottom of the window isn't the live edge. Following there pulls\n// each newly paged-in page into view and chains the next fetch.\nconst HOLD_AND_FOLLOW = { minIndexForVisible: 0, autoscrollToTopThreshold: 100 }\nconst HOLD_ONLY = { minIndexForVisible: 0 }\n\ntype ScrollHandlers = Pick<\n FlatListProps<EnrichedMessage>,\n | 'onScroll'\n | 'onLayout'\n | 'onContentSizeChange'\n | 'onScrollBeginDrag'\n | 'onScrollEndDrag'\n | 'onMomentumScrollEnd'\n>\n\ninterface MessageListProps extends ScrollHandlers {\n listRef: RefObject<FlatList | null>\n conversation: ConversationResource\n conversationId: number\n messages: MessageResource[]\n replyRootId?: string | null\n anchorMessageId?: string | null\n behind?: boolean\n hasNextPage: boolean\n onEndReached: () => void\n onStartReached?: () => void\n}\n\nconst ANCHOR_CLEARS_JUMP_BUTTON = 56\nconst ANCHOR_VIEWABILITY = { itemVisiblePercentThreshold: 50 }\n\n/** MessageList\n * The inverted list of messages, reply previews, and date separators for a conversation\n */\nexport function MessageList({\n listRef,\n conversation,\n conversationId,\n messages,\n replyRootId,\n anchorMessageId,\n behind = false,\n hasNextPage,\n onEndReached,\n onStartReached,\n onScroll,\n onLayout,\n onContentSizeChange,\n onScrollBeginDrag,\n onScrollEndDrag,\n onMomentumScrollEnd,\n}: MessageListProps) {\n const styles = useStyles()\n const inReplyScreen = !!replyRootId\n const canDeleteNonAuthoredMessages =\n conversation.memberAbility?.canDeleteNonAuthoredMessages ?? false\n const conversationDisabled = conversation.disabled ?? false\n const latestRead = conversation.latestReadMessageSortKey\n const messagesWithSeparators = groupMessages({ ms: messages, inReplyScreen })\n const anchorIndex = anchorMessageId\n ? messagesWithSeparators.findIndex(item => item.id === anchorMessageId)\n : -1\n const layoutHeight = useRef(0)\n const contentHeight = useRef(0)\n const userHasScrolled = useRef(false)\n const draggedSinceStartReached = useRef(false)\n const latestAnchorMessageId = useRef(anchorMessageId)\n const flashedAnchorId = useRef<string | null>(null)\n const [highlightedMessageId, setHighlightedMessageId] = useState<string | null>(null)\n\n useEffect(() => {\n latestAnchorMessageId.current = anchorMessageId\n }, [anchorMessageId])\n\n // Row heights keep settling after the first layout (images, attachments), so we\n // re-pin on every layout pass until the reader takes over with a drag.\n const pinAnchorToBottomEdge = () => {\n const anchorIsLoaded = anchorIndex >= 0\n if (!anchorIsLoaded || userHasScrolled.current) return\n\n const scrollable = layoutHeight.current > 0 && contentHeight.current > layoutHeight.current\n if (!scrollable) return\n\n listRef.current?.scrollToIndex({\n index: anchorIndex,\n viewPosition: 0,\n viewOffset: ANCHOR_CLEARS_JUMP_BUTTON,\n animated: false,\n })\n }\n\n const handleLayout: FlatListProps<EnrichedMessage>['onLayout'] = event => {\n onLayout?.(event)\n layoutHeight.current = event.nativeEvent.layout.height\n pinAnchorToBottomEdge()\n }\n\n const handleContentSizeChange: FlatListProps<EnrichedMessage>['onContentSizeChange'] = (\n width,\n height\n ) => {\n onContentSizeChange?.(width, height)\n contentHeight.current = height\n pinAnchorToBottomEdge()\n }\n\n const handleScrollBeginDrag: FlatListProps<EnrichedMessage>['onScrollBeginDrag'] = event => {\n userHasScrolled.current = true\n draggedSinceStartReached.current = true\n onScrollBeginDrag?.(event)\n }\n\n const flashAnchorOnceViewable: FlatListProps<EnrichedMessage>['onViewableItemsChanged'] = ({\n viewableItems,\n }) => {\n const anchorId = latestAnchorMessageId.current\n if (!anchorId || anchorId === flashedAnchorId.current) return\n if (!viewableItems.some(token => token.item.id === anchorId)) return\n\n flashedAnchorId.current = anchorId\n setHighlightedMessageId(anchorId)\n }\n\n const clearHighlight = useCallback(() => setHighlightedMessageId(null), [])\n\n // VirtualizedList re-checks its edges on every content size change using a JS offset\n // the native hold never updates, so without this each merged page re-fires it.\n const handleStartReached = () => {\n if (!draggedSinceStartReached.current) return\n\n draggedSinceStartReached.current = false\n onStartReached?.()\n }\n\n return (\n <FlatList\n inverted\n ref={listRef}\n contentContainerStyle={styles.listContainer}\n data={messagesWithSeparators}\n keyExtractor={item => item.id}\n onScroll={onScroll}\n onLayout={handleLayout}\n onContentSizeChange={handleContentSizeChange}\n onScrollBeginDrag={handleScrollBeginDrag}\n // Expected while rows are still measuring; the next layout pass pins again.\n onScrollToIndexFailed={noop}\n onScrollEndDrag={onScrollEndDrag}\n onMomentumScrollEnd={onMomentumScrollEnd}\n onViewableItemsChanged={flashAnchorOnceViewable}\n viewabilityConfig={ANCHOR_VIEWABILITY}\n scrollEventThrottle={10}\n maintainVisibleContentPosition={behind ? HOLD_ONLY : HOLD_AND_FOLLOW}\n ListFooterComponent={\n hasNextPage ? null : (\n <ConversationStartBanner conversation={conversation} hasMessages={true} />\n )\n }\n renderItem={({ item }) => {\n if (item.type === 'DateSeparator') {\n return <InlineDateSeparator {...item} />\n }\n\n if (item.type === 'Message' && item.deletedAt && !item.replyRootId) {\n return <MissingMessage />\n }\n\n if (item.type === 'ReplyShadowMessage') {\n return (\n <ReplyShadowMessage\n {...(item as any)}\n conversation_id={conversationId}\n inReplyScreen={inReplyScreen}\n />\n )\n }\n\n if (isSystemMessage(item)) {\n return (\n <SystemMessage\n message={item}\n conversationId={conversationId}\n conversationDisabled={conversationDisabled}\n />\n )\n }\n\n const readByOthers = item.mine && !!latestRead && item.id <= latestRead\n return (\n <Message\n {...item}\n canDeleteNonAuthoredMessages={canDeleteNonAuthoredMessages}\n conversationDisabled={conversationDisabled}\n conversation_id={conversationId}\n readByOthers={readByOthers}\n inReplyScreen={inReplyScreen}\n highlighted={item.id === highlightedMessageId}\n onHighlightShown={clearHighlight}\n />\n )\n }}\n onEndReached={onEndReached}\n onStartReached={handleStartReached}\n ListHeaderComponent={<View style={styles.listHeader} />}\n />\n )\n}\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\nconst useStyles = () =>\n StyleSheet.create({\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"],"mappings":";AAAA,SAASA,IAAI,IAAIC,UAAU,QAAQ,8BAA8B;AACjE,SAASC,IAAI,QAAQ,QAAQ;AAC7B,OAAOC,KAAK,IAAeC,WAAW,EAAEC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AAClF,SAASC,QAAQ,EAAiBC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACxE,SAASC,QAAQ,QAAQ,aAAa;AAGtC,SAASC,qBAAqB,QAAQ,kBAAkB;AACxD,SAASC,aAAa,QAAkD,4BAA4B;AACpG,SAASC,4CAA4C,QAAQ,oBAAoB;AACjF,SAASC,eAAe,QAAQ,6BAA6B;AAC7D,SAASC,IAAI,QAAQ,YAAY;AACjC,SAASC,uBAAuB,QAAQ,6BAA6B;AACrE,SAASC,OAAO,QAAQ,WAAW;AACnC,SAASC,cAAc,QAAQ,mBAAmB;AAClD,SAASC,kBAAkB,QAAQ,wBAAwB;AAC3D,SAASC,aAAa,QAAQ,kBAAkB;;AAEhD;AACA;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AACA,MAAMC,eAAe,GAAG;EAAEC,kBAAkB,EAAE,CAAC;EAAEC,wBAAwB,EAAE;AAAI,CAAC;AAChF,MAAMC,SAAS,GAAG;EAAEF,kBAAkB,EAAE;AAAE,CAAC;AAyB3C,MAAMG,yBAAyB,GAAG,EAAE;AACpC,MAAMC,kBAAkB,GAAG;EAAEC,2BAA2B,EAAE;AAAG,CAAC;;AAE9D;AAC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AAU,CAACiJ,MAAM,CAAC;EAChBxB,aAAa,EAAE;IACb4B,eAAe,EAAE;EACnB,CAAC;EACD/B,UAAU,EAAE;IACV;IACAhC,MAAM,EAAE;EACV;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"message_list.js","names":["date","formatDate","useHeaderHeight","noop","React","useCallback","useEffect","useRef","useState","FlatList","StyleSheet","View","useTheme","getRelativeDateStatus","groupMessages","isLiquidGlassEnabled","CONVERSATION_MESSAGE_LIST_PADDING_HORIZONTAL","isSystemMessage","Text","ConversationStartBanner","Message","MissingMessage","ReplyShadowMessage","SystemMessage","jsx","_jsx","jsxs","_jsxs","HOLD_AND_FOLLOW","minIndexForVisible","autoscrollToTopThreshold","HOLD_ONLY","ANCHOR_CLEARS_JUMP_BUTTON","ANCHOR_VIEWABILITY","itemVisiblePercentThreshold","MessageList","t0","$","_c","listRef","conversation","conversationId","messages","replyRootId","anchorMessageId","behind","t1","hasNextPage","onEndReached","onStartReached","onScroll","onLayout","onContentSizeChange","onScrollBeginDrag","onScrollEndDrag","onMomentumScrollEnd","undefined","styles","useStyles","headerHeight","t2","glassHeaderInset","inReplyScreen","canDeleteNonAuthoredMessages","memberAbility","conversationDisabled","disabled","latestRead","latestReadMessageSortKey","messagesWithSeparators","t3","ms","findIndex","item","id","anchorIndex","layoutHeight","contentHeight","userHasScrolled","draggedSinceStartReached","latestAnchorMessageId","flashedAnchorId","highlightedMessageId","setHighlightedMessageId","t4","t5","current","t6","anchorIsLoaded","scrollable","scrollToIndex","index","viewPosition","viewOffset","animated","pinAnchorToBottomEdge","t7","event","nativeEvent","layout","height","handleLayout","t8","width","handleContentSizeChange","t9","event_0","handleScrollBeginDrag","t10","Symbol","for","t11","viewableItems","anchorId","some","token","flashAnchorOnceViewable","clearHighlight","t12","handleStartReached","t13","t14","bottom","t15","t16","hasMessages","t17","t18","item_1","type","InlineDateSeparator","deletedAt","readByOthers","mine","highlighted","listHeader","style","t19","listContainer","inverted","contentContainerStyle","contentInset","scrollIndicatorInsets","keyExtractor","_temp","scrollEventThrottle","maintainVisibleContentPosition","ListFooterComponent","renderItem","ListHeaderComponent","item_0","useDateSeparatorStyles","isThisYear","showYear","year","dateStamp","separator","dateText","variant","children","container","theme","colors","borderColorDefaultBase","create","alignItems","flexDirection","paddingHorizontal","paddingVertical","flex","borderTopWidth","borderTopColor"],"sources":["../../../src/components/conversation/message_list.tsx"],"sourcesContent":["import { date as formatDate } from '@planningcenter/datetime-fmt'\nimport { useHeaderHeight } from '@react-navigation/elements'\nimport { noop } from 'lodash'\nimport React, { RefObject, useCallback, useEffect, useRef, useState } from 'react'\nimport { FlatList, FlatListProps, StyleSheet, View } from 'react-native'\nimport { useTheme } from '../../hooks'\nimport { ConversationResource } from '../../types/resources/conversation'\nimport { MessageResource } from '../../types/resources/message'\nimport { getRelativeDateStatus } from '../../utils/date'\nimport { groupMessages, type DateSeparator, type EnrichedMessage } from '../../utils/group_messages'\nimport { isLiquidGlassEnabled } from '../../utils/liquid_glass'\nimport { CONVERSATION_MESSAGE_LIST_PADDING_HORIZONTAL } from '../../utils/styles'\nimport { isSystemMessage } from '../../utils/system_messages'\nimport { Text } from '../display'\nimport { ConversationStartBanner } from './conversation_start_banner'\nimport { Message } from './message'\nimport { MissingMessage } from './missing_message'\nimport { ReplyShadowMessage } from './reply_shadow_message'\nimport { SystemMessage } from './system_message'\n\n// While behind, the bottom of the window isn't the live edge. Following there pulls\n// each newly paged-in page into view and chains the next fetch.\nconst HOLD_AND_FOLLOW = { minIndexForVisible: 0, autoscrollToTopThreshold: 100 }\nconst HOLD_ONLY = { minIndexForVisible: 0 }\n\ntype ScrollHandlers = Pick<\n FlatListProps<EnrichedMessage>,\n | 'onScroll'\n | 'onLayout'\n | 'onContentSizeChange'\n | 'onScrollBeginDrag'\n | 'onScrollEndDrag'\n | 'onMomentumScrollEnd'\n>\n\ninterface MessageListProps extends ScrollHandlers {\n listRef: RefObject<FlatList | null>\n conversation: ConversationResource\n conversationId: number\n messages: MessageResource[]\n replyRootId?: string | null\n anchorMessageId?: string | null\n behind?: boolean\n hasNextPage: boolean\n onEndReached: () => void\n onStartReached?: () => void\n}\n\nconst ANCHOR_CLEARS_JUMP_BUTTON = 56\nconst ANCHOR_VIEWABILITY = { itemVisiblePercentThreshold: 50 }\n\n/** MessageList\n * The inverted list of messages, reply previews, and date separators for a conversation\n */\nexport function MessageList({\n listRef,\n conversation,\n conversationId,\n messages,\n replyRootId,\n anchorMessageId,\n behind = false,\n hasNextPage,\n onEndReached,\n onStartReached,\n onScroll,\n onLayout,\n onContentSizeChange,\n onScrollBeginDrag,\n onScrollEndDrag,\n onMomentumScrollEnd,\n}: MessageListProps) {\n const styles = useStyles()\n const headerHeight = useHeaderHeight()\n const glassHeaderInset = isLiquidGlassEnabled() ? headerHeight : 0\n const inReplyScreen = !!replyRootId\n const canDeleteNonAuthoredMessages =\n conversation.memberAbility?.canDeleteNonAuthoredMessages ?? false\n const conversationDisabled = conversation.disabled ?? false\n const latestRead = conversation.latestReadMessageSortKey\n const messagesWithSeparators = groupMessages({ ms: messages, inReplyScreen })\n const anchorIndex = anchorMessageId\n ? messagesWithSeparators.findIndex(item => item.id === anchorMessageId)\n : -1\n const layoutHeight = useRef(0)\n const contentHeight = useRef(0)\n const userHasScrolled = useRef(false)\n const draggedSinceStartReached = useRef(false)\n const latestAnchorMessageId = useRef(anchorMessageId)\n const flashedAnchorId = useRef<string | null>(null)\n const [highlightedMessageId, setHighlightedMessageId] = useState<string | null>(null)\n\n useEffect(() => {\n latestAnchorMessageId.current = anchorMessageId\n }, [anchorMessageId])\n\n // Row heights keep settling after the first layout (images, attachments), so we\n // re-pin on every layout pass until the reader takes over with a drag.\n const pinAnchorToBottomEdge = () => {\n const anchorIsLoaded = anchorIndex >= 0\n if (!anchorIsLoaded || userHasScrolled.current) return\n\n const scrollable = layoutHeight.current > 0 && contentHeight.current > layoutHeight.current\n if (!scrollable) return\n\n listRef.current?.scrollToIndex({\n index: anchorIndex,\n viewPosition: 0,\n viewOffset: ANCHOR_CLEARS_JUMP_BUTTON,\n animated: false,\n })\n }\n\n const handleLayout: FlatListProps<EnrichedMessage>['onLayout'] = event => {\n onLayout?.(event)\n layoutHeight.current = event.nativeEvent.layout.height\n pinAnchorToBottomEdge()\n }\n\n const handleContentSizeChange: FlatListProps<EnrichedMessage>['onContentSizeChange'] = (\n width,\n height\n ) => {\n onContentSizeChange?.(width, height)\n contentHeight.current = height\n pinAnchorToBottomEdge()\n }\n\n const handleScrollBeginDrag: FlatListProps<EnrichedMessage>['onScrollBeginDrag'] = event => {\n userHasScrolled.current = true\n draggedSinceStartReached.current = true\n onScrollBeginDrag?.(event)\n }\n\n const flashAnchorOnceViewable: FlatListProps<EnrichedMessage>['onViewableItemsChanged'] = ({\n viewableItems,\n }) => {\n const anchorId = latestAnchorMessageId.current\n if (!anchorId || anchorId === flashedAnchorId.current) return\n if (!viewableItems.some(token => token.item.id === anchorId)) return\n\n flashedAnchorId.current = anchorId\n setHighlightedMessageId(anchorId)\n }\n\n const clearHighlight = useCallback(() => setHighlightedMessageId(null), [])\n\n // VirtualizedList re-checks its edges on every content size change using a JS offset\n // the native hold never updates, so without this each merged page re-fires it.\n const handleStartReached = () => {\n if (!draggedSinceStartReached.current) return\n\n draggedSinceStartReached.current = false\n onStartReached?.()\n }\n\n return (\n <FlatList\n inverted\n ref={listRef}\n contentContainerStyle={styles.listContainer}\n contentInset={{ bottom: glassHeaderInset }}\n scrollIndicatorInsets={{ bottom: glassHeaderInset }}\n data={messagesWithSeparators}\n keyExtractor={item => item.id}\n onScroll={onScroll}\n onLayout={handleLayout}\n onContentSizeChange={handleContentSizeChange}\n onScrollBeginDrag={handleScrollBeginDrag}\n // Expected while rows are still measuring; the next layout pass pins again.\n onScrollToIndexFailed={noop}\n onScrollEndDrag={onScrollEndDrag}\n onMomentumScrollEnd={onMomentumScrollEnd}\n onViewableItemsChanged={flashAnchorOnceViewable}\n viewabilityConfig={ANCHOR_VIEWABILITY}\n scrollEventThrottle={10}\n maintainVisibleContentPosition={behind ? HOLD_ONLY : HOLD_AND_FOLLOW}\n ListFooterComponent={\n hasNextPage ? null : (\n <ConversationStartBanner conversation={conversation} hasMessages={true} />\n )\n }\n renderItem={({ item }) => {\n if (item.type === 'DateSeparator') {\n return <InlineDateSeparator {...item} />\n }\n\n if (item.type === 'Message' && item.deletedAt && !item.replyRootId) {\n return <MissingMessage />\n }\n\n if (item.type === 'ReplyShadowMessage') {\n return (\n <ReplyShadowMessage\n {...(item as any)}\n conversation_id={conversationId}\n inReplyScreen={inReplyScreen}\n />\n )\n }\n\n if (isSystemMessage(item)) {\n return (\n <SystemMessage\n message={item}\n conversationId={conversationId}\n conversationDisabled={conversationDisabled}\n />\n )\n }\n\n const readByOthers = item.mine && !!latestRead && item.id <= latestRead\n return (\n <Message\n {...item}\n canDeleteNonAuthoredMessages={canDeleteNonAuthoredMessages}\n conversationDisabled={conversationDisabled}\n conversation_id={conversationId}\n readByOthers={readByOthers}\n inReplyScreen={inReplyScreen}\n highlighted={item.id === highlightedMessageId}\n onHighlightShown={clearHighlight}\n />\n )\n }}\n onEndReached={onEndReached}\n onStartReached={handleStartReached}\n ListHeaderComponent={<View style={styles.listHeader} />}\n />\n )\n}\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\nconst useStyles = () =>\n StyleSheet.create({\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"],"mappings":";AAAA,SAASA,IAAI,IAAIC,UAAU,QAAQ,8BAA8B;AACjE,SAASC,eAAe,QAAQ,4BAA4B;AAC5D,SAASC,IAAI,QAAQ,QAAQ;AAC7B,OAAOC,KAAK,IAAeC,WAAW,EAAEC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AAClF,SAASC,QAAQ,EAAiBC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACxE,SAASC,QAAQ,QAAQ,aAAa;AAGtC,SAASC,qBAAqB,QAAQ,kBAAkB;AACxD,SAASC,aAAa,QAAkD,4BAA4B;AACpG,SAASC,oBAAoB,QAAQ,0BAA0B;AAC/D,SAASC,4CAA4C,QAAQ,oBAAoB;AACjF,SAASC,eAAe,QAAQ,6BAA6B;AAC7D,SAASC,IAAI,QAAQ,YAAY;AACjC,SAASC,uBAAuB,QAAQ,6BAA6B;AACrE,SAASC,OAAO,QAAQ,WAAW;AACnC,SAASC,cAAc,QAAQ,mBAAmB;AAClD,SAASC,kBAAkB,QAAQ,wBAAwB;AAC3D,SAASC,aAAa,QAAQ,kBAAkB;;AAEhD;AACA;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AACA,MAAMC,eAAe,GAAG;EAAEC,kBAAkB,EAAE,CAAC;EAAEC,wBAAwB,EAAE;AAAI,CAAC;AAChF,MAAMC,SAAS,GAAG;EAAEF,kBAAkB,EAAE;AAAE,CAAC;AAyB3C,MAAMG,yBAAyB,GAAG,EAAE;AACpC,MAAMC,kBAAkB,GAAG;EAAEC,2BAA2B,EAAE;AAAG,CAAC;;AAE9D;AACA;AACA;AACA,OAAO,SAAAC,YAAAC,EAAA;EAAA,MAAAC,CAA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A,CAAA;EAAA,MAAAlH,CAAA,GAAAC,EAAA;EAC7B,MAAA2H,KAAA,GAAcrJ,QAAQ,CAAC,CAAC;EAAA,IAAAwB,EAAA;EAAA,IAAAC,CAAA,QAAA4H,KAAA,CAAAC,MAAA,CAAAC,sBAAA;IACjB/H,EAAA,GAAA1B,UAAU,CAAA0J,MAAO,CAAC;MAAAJ,SAAA,EACZ;QAAAK,UAAA,EACG,QAAQ;QAAAC,aAAA,EACL,KAAK;QAAAC,iBAAA,EACDvJ,4CAA4C;QAAAwJ,eAAA,EAC9C;MACnB,CAAC;MAAAZ,SAAA,EACU;QAAAa,IAAA,EACH,CAAC;QAAArE,MAAA,EACC,CAAC;QAAAsE,cAAA,EACO,CAAC;QAAAC,cAAA,EACDV,KAAK,CAAAC,MAAO,CAAAC;MAC9B,CAAC;MAAAN,QAAA,EACS;QAAAU,iBAAA,EACW;MACrB;IACF,CAAC,CAAC;IAAAlI,CAAA,MAAA4H,KAAA,CAAAC,MAAA,CAAAC,sBAAA;IAAA9H,CAAA,MAAAD,EAAA;EAAA;IAAAA,EAAA,GAAAC,CAAA;EAAA;EAAA,OAhBKD,EAgBL;AAAA,CACH;AAED,MAAMsB,SAAS,GAAGA,CAAA,KAChBhD,UAAU,CAAC0J,MAAM,CAAC;EAChB1B,aAAa,EAAE;IACb8B,eAAe,EAAE;EACnB,CAAC;EACDjC,UAAU,EAAE;IACV;IACAnC,MAAM,EAAE;EACV;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ interface Props {
2
+ text: string;
3
+ }
4
+ export declare function MessageMarkdown({ text }: Props): import("react/jsx-runtime").JSX.Element | null;
5
+ export {};
6
+ //# sourceMappingURL=message_markdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message_markdown.d.ts","sourceRoot":"","sources":["../../../src/components/conversation/message_markdown.tsx"],"names":[],"mappings":"AAMA,UAAU,KAAK;IACb,IAAI,EAAE,MAAM,CAAA;CACb;AAED,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,kDAyC9C"}
@@ -0,0 +1,34 @@
1
+ import { MessageResource } from '../../types';
2
+ import { ReactionCountResource } from '../../types/resources/reaction';
3
+ export declare function MessageReaction({ reaction, onLongPress, message, conversationId, disabled, }: {
4
+ reaction: ReactionCountResource;
5
+ onLongPress: (_reaction: ReactionCountResource) => void;
6
+ message: MessageResource;
7
+ conversationId: number;
8
+ disabled?: boolean;
9
+ }): import("react/jsx-runtime").JSX.Element | null;
10
+ export declare const useReactionStyles: ({ mine }: {
11
+ mine: number;
12
+ }) => {
13
+ reaction: {
14
+ borderWidth: number;
15
+ borderColor: string;
16
+ backgroundColor: string;
17
+ borderRadius: number;
18
+ overflow: "hidden";
19
+ paddingVertical: number;
20
+ paddingHorizontal: number;
21
+ flexDirection: "row";
22
+ alignItems: "center";
23
+ gap: number;
24
+ };
25
+ reactionEmoji: {
26
+ fontSize: number;
27
+ paddingTop: number;
28
+ };
29
+ reactionText: {
30
+ fontSize: number;
31
+ color: string;
32
+ };
33
+ };
34
+ //# sourceMappingURL=message_reaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message_reaction.d.ts","sourceRoot":"","sources":["../../../src/components/conversation/message_reaction.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAA;AAItE,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,WAAW,EACX,OAAO,EACP,cAAc,EACd,QAAgB,GACjB,EAAE;IACD,QAAQ,EAAE,qBAAqB,CAAA;IAC/B,WAAW,EAAE,CAAC,SAAS,EAAE,qBAAqB,KAAK,IAAI,CAAA;IACvD,OAAO,EAAE,eAAe,CAAA;IACxB,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,kDAmCA;AAED,eAAO,MAAM,iBAAiB,GAAI,UAAU;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;CA0B3D,CAAA"}
@@ -0,0 +1,6 @@
1
+ interface Props {
2
+ read?: boolean;
3
+ }
4
+ export declare function MessageReadReceipts({ read }: Props): import("react/jsx-runtime").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=message_read_receipts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message_read_receipts.d.ts","sourceRoot":"","sources":["../../../src/components/conversation/message_read_receipts.tsx"],"names":[],"mappings":"AAKA,UAAU,KAAK;IACb,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AAED,wBAAgB,mBAAmB,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,2CAqBlD"}
@@ -0,0 +1,14 @@
1
+ export declare const LeaderMessagesDisabledBanner: () => import("react/jsx-runtime").JSX.Element;
2
+ export declare const MemberMessagesDisabledBanner: () => import("react/jsx-runtime").JSX.Element;
3
+ interface BannerAction {
4
+ label: string;
5
+ onPress: () => void;
6
+ loading?: boolean;
7
+ }
8
+ interface ConversationDisabledBannerProps {
9
+ message: string | null;
10
+ action?: BannerAction;
11
+ }
12
+ export declare const ConversationDisabledBanner: ({ message, action, }: ConversationDisabledBannerProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
14
+ //# sourceMappingURL=messages_disabled_banners.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages_disabled_banners.d.ts","sourceRoot":"","sources":["../../../src/components/conversation/messages_disabled_banners.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,4BAA4B,+CAIxC,CAAA;AAED,eAAO,MAAM,4BAA4B,+CASxC,CAAA;AAID,UAAU,YAAY;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,UAAU,+BAA+B;IACvC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,MAAM,CAAC,EAAE,YAAY,CAAA;CACtB;AAED,eAAO,MAAM,0BAA0B,GAAI,sBAGxC,+BAA+B,4CAOjC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare function MissingMessage(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=missing_message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"missing_message.d.ts","sourceRoot":"","sources":["../../../src/components/conversation/missing_message.tsx"],"names":[],"mappings":"AAOA,wBAAgB,cAAc,4CAuB7B"}
@@ -0,0 +1,10 @@
1
+ import { MessageResource } from '../../types';
2
+ export declare const AVATAR_CONNECTOR_SPACING = 8;
3
+ interface ReplyConnectorProps {
4
+ message: MessageResource;
5
+ messageBubbleHeight: number;
6
+ }
7
+ export declare function TheirReplyConnector({ message, messageBubbleHeight }: ReplyConnectorProps): import("react/jsx-runtime").JSX.Element | null;
8
+ export declare function MyReplyConnector({ message, messageBubbleHeight }: ReplyConnectorProps): import("react/jsx-runtime").JSX.Element | null;
9
+ export {};
10
+ //# sourceMappingURL=reply_connectors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reply_connectors.d.ts","sourceRoot":"","sources":["../../../src/components/conversation/reply_connectors.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAS7C,eAAO,MAAM,wBAAwB,IAAI,CAAA;AAEzC,UAAU,mBAAmB;IAC3B,OAAO,EAAE,eAAe,CAAA;IACxB,mBAAmB,EAAE,MAAM,CAAA;CAC5B;AAED,wBAAgB,mBAAmB,CAAC,EAAE,OAAO,EAAE,mBAAmB,EAAE,EAAE,mBAAmB,kDAiCxF;AAED,wBAAgB,gBAAgB,CAAC,EAAE,OAAO,EAAE,mBAAmB,EAAE,EAAE,mBAAmB,kDA4CrF"}