@amityco/react-native-social-uikit 4.0.0-42bcb43.0 → 4.0.0-7db12756.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (428) hide show
  1. package/lib/commonjs/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.js +1 -1
  2. package/lib/commonjs/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.js.map +1 -1
  3. package/lib/commonjs/components/MediaSection/index.js +3 -3
  4. package/lib/commonjs/components/MediaSection/index.js.map +1 -1
  5. package/lib/commonjs/components/PostTypeChoiceModal/PostTypeChoiceModal.js +14 -5
  6. package/lib/commonjs/components/PostTypeChoiceModal/PostTypeChoiceModal.js.map +1 -1
  7. package/lib/commonjs/components/PostTypeChoiceModal/style.js +1 -2
  8. package/lib/commonjs/components/PostTypeChoiceModal/style.js.map +1 -1
  9. package/lib/commonjs/components/Social/PostList/index.js +1 -3
  10. package/lib/commonjs/components/Social/PostList/index.js.map +1 -1
  11. package/lib/commonjs/index.js +6 -0
  12. package/lib/commonjs/index.js.map +1 -1
  13. package/lib/commonjs/screens/CategorytList/index.js.map +1 -1
  14. package/lib/commonjs/screens/CreateLivestream/CreateLivestream.js +16 -16
  15. package/lib/commonjs/screens/CreateLivestream/CreateLivestream.js.map +1 -1
  16. package/lib/commonjs/screens/LivestreamPlayer/index.js +3 -6
  17. package/lib/commonjs/screens/LivestreamPlayer/index.js.map +1 -1
  18. package/lib/commonjs/snippet/AmityCommunitySearchResultComponent.js +3 -3
  19. package/lib/commonjs/snippet/AmityCommunitySearchResultComponent.js.map +1 -1
  20. package/lib/commonjs/snippet/AmityCreatePostMenuComponent.js +3 -3
  21. package/lib/commonjs/snippet/AmityCreatePostMenuComponent.js.map +1 -1
  22. package/lib/commonjs/snippet/AmityDetailedMediaAttachmentComponent.js +4 -4
  23. package/lib/commonjs/snippet/AmityDetailedMediaAttachmentComponent.js.map +1 -1
  24. package/lib/commonjs/snippet/AmityEmptyNewsFeedComponent.js +3 -3
  25. package/lib/commonjs/snippet/AmityEmptyNewsFeedComponent.js.map +1 -1
  26. package/lib/commonjs/snippet/AmityGlobalFeedComponent.js +3 -3
  27. package/lib/commonjs/snippet/AmityGlobalFeedComponent.js.map +1 -1
  28. package/lib/commonjs/snippet/AmityMediaAttachmentComponent.js +4 -4
  29. package/lib/commonjs/snippet/AmityMediaAttachmentComponent.js.map +1 -1
  30. package/lib/commonjs/snippet/AmityMyCommunitiesComponent.js +3 -3
  31. package/lib/commonjs/snippet/AmityMyCommunitiesComponent.js.map +1 -1
  32. package/lib/commonjs/snippet/AmityMyCommunitiesSearchPage.js +3 -3
  33. package/lib/commonjs/snippet/AmityMyCommunitiesSearchPage.js.map +1 -1
  34. package/lib/commonjs/snippet/AmityNewsFeedComponent.js +3 -3
  35. package/lib/commonjs/snippet/AmityNewsFeedComponent.js.map +1 -1
  36. package/lib/commonjs/snippet/AmityPostComposerPage.js +4 -4
  37. package/lib/commonjs/snippet/AmityPostComposerPage.js.map +1 -1
  38. package/lib/commonjs/snippet/AmityPostContentComponent.js +3 -3
  39. package/lib/commonjs/snippet/AmityPostContentComponent.js.map +1 -1
  40. package/lib/commonjs/snippet/AmityPostDetailPage.js +3 -3
  41. package/lib/commonjs/snippet/AmityPostDetailPage.js.map +1 -1
  42. package/lib/commonjs/snippet/AmityPostTargetSelectionPage.js +4 -4
  43. package/lib/commonjs/snippet/AmityPostTargetSelectionPage.js.map +1 -1
  44. package/lib/commonjs/snippet/AmityReactionListComponent.js +3 -3
  45. package/lib/commonjs/snippet/AmityReactionListComponent.js.map +1 -1
  46. package/lib/commonjs/snippet/AmitySocialGlobalSearchPage.js +3 -3
  47. package/lib/commonjs/snippet/AmitySocialGlobalSearchPage.js.map +1 -1
  48. package/lib/commonjs/snippet/AmitySocialHomePage.js +3 -3
  49. package/lib/commonjs/snippet/AmitySocialHomePage.js.map +1 -1
  50. package/lib/commonjs/snippet/AmitySocialHomeTopNavigationComponent.js +3 -3
  51. package/lib/commonjs/snippet/AmitySocialHomeTopNavigationComponent.js.map +1 -1
  52. package/lib/commonjs/snippet/AmityStoryTargetSelectionPage.js +3 -3
  53. package/lib/commonjs/snippet/AmityStoryTargetSelectionPage.js.map +1 -1
  54. package/lib/commonjs/snippet/AmityTopSearchBarComponent.js +3 -3
  55. package/lib/commonjs/snippet/AmityTopSearchBarComponent.js.map +1 -1
  56. package/lib/commonjs/snippet/AmityUserSearchResultComponent.js +3 -3
  57. package/lib/commonjs/snippet/AmityUserSearchResultComponent.js.map +1 -1
  58. package/lib/commonjs/svg/svg-xml-list.js +1 -1
  59. package/lib/commonjs/util/postTypeChecker.js.map +1 -1
  60. package/lib/commonjs/v4/PublicApi/Components/AmityCommunityFeedComponent/AmityCommunityFeedComponent.js.map +1 -1
  61. package/lib/commonjs/v4/PublicApi/Components/AmityCommunityProfileTabComponent/AmityCommunityProfileTabComponent.js.map +1 -1
  62. package/lib/commonjs/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.js +11 -9
  63. package/lib/commonjs/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.js.map +1 -1
  64. package/lib/commonjs/v4/PublicApi/Components/AmityGlobalFeedComponent/AmityGlobalFeedComponent.js +4 -3
  65. package/lib/commonjs/v4/PublicApi/Components/AmityGlobalFeedComponent/AmityGlobalFeedComponent.js.map +1 -1
  66. package/lib/commonjs/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.js +0 -1
  67. package/lib/commonjs/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.js.map +1 -1
  68. package/lib/commonjs/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/DetailStyle.js +1 -1
  69. package/lib/commonjs/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/DetailStyle.js.map +1 -1
  70. package/lib/commonjs/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/FeedStyle.js +2 -1
  71. package/lib/commonjs/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/FeedStyle.js.map +1 -1
  72. package/lib/commonjs/v4/PublicApi/Components/AmityReactionListComponent/AmityReactionListComponent.js.map +1 -1
  73. package/lib/commonjs/v4/PublicApi/Elements/ButtonWithIconElement/styles.js +3 -2
  74. package/lib/commonjs/v4/PublicApi/Elements/ButtonWithIconElement/styles.js.map +1 -1
  75. package/lib/commonjs/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.js +28 -25
  76. package/lib/commonjs/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.js.map +1 -1
  77. package/lib/commonjs/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.js +2 -2
  78. package/lib/commonjs/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.js.map +1 -1
  79. package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.js +206 -68
  80. package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.js.map +1 -1
  81. package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.js +50 -0
  82. package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.js.map +1 -0
  83. package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.js +71 -3
  84. package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.js.map +1 -1
  85. package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.js +150 -124
  86. package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.js.map +1 -1
  87. package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.js +2 -1
  88. package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.js.map +1 -1
  89. package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPostTargetSelectionPage/AmityLivestreamPostTargetSelectionPage.js +7 -1
  90. package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPostTargetSelectionPage/AmityLivestreamPostTargetSelectionPage.js.map +1 -1
  91. package/lib/commonjs/v4/PublicApi/Pages/AmityPollTargetSelectionPage/AmityPollTargetSelectionPage.js +7 -1
  92. package/lib/commonjs/v4/PublicApi/Pages/AmityPollTargetSelectionPage/AmityPollTargetSelectionPage.js.map +1 -1
  93. package/lib/commonjs/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.js +9 -2
  94. package/lib/commonjs/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.js.map +1 -1
  95. package/lib/commonjs/v4/PublicApi/Pages/AmityPostTargetSelectionPage/AmityPostTargetSelectionPage.js +7 -1
  96. package/lib/commonjs/v4/PublicApi/Pages/AmityPostTargetSelectionPage/AmityPostTargetSelectionPage.js.map +1 -1
  97. package/lib/commonjs/v4/PublicApi/Pages/AmitySocialHomePage/AmitySocialHomePage.js.map +1 -1
  98. package/lib/commonjs/v4/PublicApi/Pages/AmityStoryTargetSelectionPage/AmityStoryTargetSelectionPage.js +7 -1
  99. package/lib/commonjs/v4/PublicApi/Pages/AmityStoryTargetSelectionPage/AmityStoryTargetSelectionPage.js.map +1 -1
  100. package/lib/commonjs/v4/component/LivestreamContent/index.js +12 -12
  101. package/lib/commonjs/v4/component/LivestreamContent/index.js.map +1 -1
  102. package/lib/commonjs/v4/component/MyStories/StoryCircleItem.js.map +1 -1
  103. package/lib/commonjs/v4/component/PostContent/index.js +4 -4
  104. package/lib/commonjs/v4/component/PostContent/index.js.map +1 -1
  105. package/lib/commonjs/v4/component/PostMenu/index.js +2 -2
  106. package/lib/commonjs/v4/component/PostMenu/index.js.map +1 -1
  107. package/lib/commonjs/v4/component/PreviewLink/LinkPreview.js +3 -3
  108. package/lib/commonjs/v4/component/PreviewLink/LinkPreview.js.map +1 -1
  109. package/lib/commonjs/v4/component/PreviewLink/utils.js +9 -73
  110. package/lib/commonjs/v4/component/PreviewLink/utils.js.map +1 -1
  111. package/lib/commonjs/v4/component/TargetSelectionPage/TargetSelectionPage.js +10 -4
  112. package/lib/commonjs/v4/component/TargetSelectionPage/TargetSelectionPage.js.map +1 -1
  113. package/lib/commonjs/v4/component/Toast/index.js +4 -4
  114. package/lib/commonjs/v4/component/Toast/index.js.map +1 -1
  115. package/lib/commonjs/v4/component/Toast/styles.js +2 -2
  116. package/lib/commonjs/v4/component/Toast/styles.js.map +1 -1
  117. package/lib/commonjs/v4/elements/ActionButton/ActionButton.js.map +1 -1
  118. package/lib/commonjs/v4/elements/ImageViewer/ImageViewer.js.map +1 -1
  119. package/lib/commonjs/v4/elements/VideoViewer/VideoViewer.js.map +1 -1
  120. package/lib/commonjs/v4/enum/roomStatus.js +14 -0
  121. package/lib/commonjs/v4/enum/roomStatus.js.map +1 -0
  122. package/lib/commonjs/v4/features/community/Membership/components/MemberItem/MemberItem.js.map +1 -1
  123. package/lib/commonjs/v4/features/community/shared/components/Privacy/index.js.map +1 -1
  124. package/lib/commonjs/v4/hook/index.js +22 -0
  125. package/lib/commonjs/v4/hook/index.js.map +1 -1
  126. package/lib/commonjs/v4/hook/useCustomRankingGlobalFeed.js +1 -3
  127. package/lib/commonjs/v4/hook/useCustomRankingGlobalFeed.js.map +1 -1
  128. package/lib/commonjs/v4/hook/useImagePicker.js.map +1 -1
  129. package/lib/commonjs/v4/hook/usePostSubscription.js +38 -0
  130. package/lib/commonjs/v4/hook/usePostSubscription.js.map +1 -0
  131. package/lib/commonjs/v4/hook/useRoomSubscription.js +22 -0
  132. package/lib/commonjs/v4/hook/useRoomSubscription.js.map +1 -0
  133. package/lib/commonjs/v4/index.js +7 -0
  134. package/lib/commonjs/v4/index.js.map +1 -1
  135. package/lib/commonjs/v4/providers/BehaviourProvider.js +2 -1
  136. package/lib/commonjs/v4/providers/BehaviourProvider.js.map +1 -1
  137. package/lib/commonjs/v4/stores/slices/toast.js +4 -1
  138. package/lib/commonjs/v4/stores/slices/toast.js.map +1 -1
  139. package/lib/module/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.js +1 -1
  140. package/lib/module/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.js.map +1 -1
  141. package/lib/module/components/MediaSection/index.js +3 -3
  142. package/lib/module/components/MediaSection/index.js.map +1 -1
  143. package/lib/module/components/PostTypeChoiceModal/PostTypeChoiceModal.js +15 -8
  144. package/lib/module/components/PostTypeChoiceModal/PostTypeChoiceModal.js.map +1 -1
  145. package/lib/module/components/PostTypeChoiceModal/style.js +1 -2
  146. package/lib/module/components/PostTypeChoiceModal/style.js.map +1 -1
  147. package/lib/module/components/Social/PostList/index.js +1 -3
  148. package/lib/module/components/Social/PostList/index.js.map +1 -1
  149. package/lib/module/index.js +2 -6
  150. package/lib/module/index.js.map +1 -1
  151. package/lib/module/screens/CategorytList/index.js.map +1 -1
  152. package/lib/module/screens/CreateLivestream/CreateLivestream.js +17 -17
  153. package/lib/module/screens/CreateLivestream/CreateLivestream.js.map +1 -1
  154. package/lib/module/screens/LivestreamPlayer/index.js +4 -8
  155. package/lib/module/screens/LivestreamPlayer/index.js.map +1 -1
  156. package/lib/module/snippet/AmityCommunitySearchResultComponent.js +1 -1
  157. package/lib/module/snippet/AmityCommunitySearchResultComponent.js.map +1 -1
  158. package/lib/module/snippet/AmityCreatePostMenuComponent.js +1 -1
  159. package/lib/module/snippet/AmityCreatePostMenuComponent.js.map +1 -1
  160. package/lib/module/snippet/AmityDetailedMediaAttachmentComponent.js +1 -1
  161. package/lib/module/snippet/AmityDetailedMediaAttachmentComponent.js.map +1 -1
  162. package/lib/module/snippet/AmityEmptyNewsFeedComponent.js +1 -1
  163. package/lib/module/snippet/AmityEmptyNewsFeedComponent.js.map +1 -1
  164. package/lib/module/snippet/AmityGlobalFeedComponent.js +1 -1
  165. package/lib/module/snippet/AmityGlobalFeedComponent.js.map +1 -1
  166. package/lib/module/snippet/AmityMediaAttachmentComponent.js +1 -1
  167. package/lib/module/snippet/AmityMediaAttachmentComponent.js.map +1 -1
  168. package/lib/module/snippet/AmityMyCommunitiesComponent.js +1 -1
  169. package/lib/module/snippet/AmityMyCommunitiesComponent.js.map +1 -1
  170. package/lib/module/snippet/AmityMyCommunitiesSearchPage.js +1 -1
  171. package/lib/module/snippet/AmityMyCommunitiesSearchPage.js.map +1 -1
  172. package/lib/module/snippet/AmityNewsFeedComponent.js +1 -1
  173. package/lib/module/snippet/AmityNewsFeedComponent.js.map +1 -1
  174. package/lib/module/snippet/AmityPostComposerPage.js +1 -1
  175. package/lib/module/snippet/AmityPostComposerPage.js.map +1 -1
  176. package/lib/module/snippet/AmityPostContentComponent.js +1 -1
  177. package/lib/module/snippet/AmityPostContentComponent.js.map +1 -1
  178. package/lib/module/snippet/AmityPostDetailPage.js +1 -1
  179. package/lib/module/snippet/AmityPostDetailPage.js.map +1 -1
  180. package/lib/module/snippet/AmityPostTargetSelectionPage.js +1 -1
  181. package/lib/module/snippet/AmityPostTargetSelectionPage.js.map +1 -1
  182. package/lib/module/snippet/AmityReactionListComponent.js +1 -1
  183. package/lib/module/snippet/AmityReactionListComponent.js.map +1 -1
  184. package/lib/module/snippet/AmitySocialGlobalSearchPage.js +1 -1
  185. package/lib/module/snippet/AmitySocialGlobalSearchPage.js.map +1 -1
  186. package/lib/module/snippet/AmitySocialHomePage.js +1 -1
  187. package/lib/module/snippet/AmitySocialHomePage.js.map +1 -1
  188. package/lib/module/snippet/AmitySocialHomeTopNavigationComponent.js +1 -1
  189. package/lib/module/snippet/AmitySocialHomeTopNavigationComponent.js.map +1 -1
  190. package/lib/module/snippet/AmityStoryTargetSelectionPage.js +1 -1
  191. package/lib/module/snippet/AmityStoryTargetSelectionPage.js.map +1 -1
  192. package/lib/module/snippet/AmityTopSearchBarComponent.js +1 -1
  193. package/lib/module/snippet/AmityTopSearchBarComponent.js.map +1 -1
  194. package/lib/module/snippet/AmityUserSearchResultComponent.js +1 -1
  195. package/lib/module/snippet/AmityUserSearchResultComponent.js.map +1 -1
  196. package/lib/module/svg/svg-xml-list.js +1 -1
  197. package/lib/module/util/postTypeChecker.js.map +1 -1
  198. package/lib/module/v4/PublicApi/Components/AmityCommunityFeedComponent/AmityCommunityFeedComponent.js.map +1 -1
  199. package/lib/module/v4/PublicApi/Components/AmityCommunityProfileTabComponent/AmityCommunityProfileTabComponent.js.map +1 -1
  200. package/lib/module/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.js +11 -9
  201. package/lib/module/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.js.map +1 -1
  202. package/lib/module/v4/PublicApi/Components/AmityGlobalFeedComponent/AmityGlobalFeedComponent.js +5 -4
  203. package/lib/module/v4/PublicApi/Components/AmityGlobalFeedComponent/AmityGlobalFeedComponent.js.map +1 -1
  204. package/lib/module/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.js +0 -1
  205. package/lib/module/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.js.map +1 -1
  206. package/lib/module/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/DetailStyle.js +1 -1
  207. package/lib/module/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/DetailStyle.js.map +1 -1
  208. package/lib/module/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/FeedStyle.js +2 -1
  209. package/lib/module/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/FeedStyle.js.map +1 -1
  210. package/lib/module/v4/PublicApi/Components/AmityReactionListComponent/AmityReactionListComponent.js.map +1 -1
  211. package/lib/module/v4/PublicApi/Elements/ButtonWithIconElement/styles.js +3 -2
  212. package/lib/module/v4/PublicApi/Elements/ButtonWithIconElement/styles.js.map +1 -1
  213. package/lib/module/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.js +29 -26
  214. package/lib/module/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.js.map +1 -1
  215. package/lib/module/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.js +2 -2
  216. package/lib/module/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.js.map +1 -1
  217. package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.js +211 -72
  218. package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.js.map +1 -1
  219. package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.js +42 -0
  220. package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.js.map +1 -0
  221. package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.js +71 -3
  222. package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.js.map +1 -1
  223. package/lib/module/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.js +152 -126
  224. package/lib/module/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.js.map +1 -1
  225. package/lib/module/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.js +2 -1
  226. package/lib/module/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.js.map +1 -1
  227. package/lib/module/v4/PublicApi/Pages/AmityLivestreamPostTargetSelectionPage/AmityLivestreamPostTargetSelectionPage.js +7 -1
  228. package/lib/module/v4/PublicApi/Pages/AmityLivestreamPostTargetSelectionPage/AmityLivestreamPostTargetSelectionPage.js.map +1 -1
  229. package/lib/module/v4/PublicApi/Pages/AmityPollTargetSelectionPage/AmityPollTargetSelectionPage.js +7 -1
  230. package/lib/module/v4/PublicApi/Pages/AmityPollTargetSelectionPage/AmityPollTargetSelectionPage.js.map +1 -1
  231. package/lib/module/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.js +9 -2
  232. package/lib/module/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.js.map +1 -1
  233. package/lib/module/v4/PublicApi/Pages/AmityPostTargetSelectionPage/AmityPostTargetSelectionPage.js +7 -1
  234. package/lib/module/v4/PublicApi/Pages/AmityPostTargetSelectionPage/AmityPostTargetSelectionPage.js.map +1 -1
  235. package/lib/module/v4/PublicApi/Pages/AmitySocialHomePage/AmitySocialHomePage.js.map +1 -1
  236. package/lib/module/v4/PublicApi/Pages/AmityStoryTargetSelectionPage/AmityStoryTargetSelectionPage.js +7 -1
  237. package/lib/module/v4/PublicApi/Pages/AmityStoryTargetSelectionPage/AmityStoryTargetSelectionPage.js.map +1 -1
  238. package/lib/module/v4/component/LivestreamContent/index.js +13 -13
  239. package/lib/module/v4/component/LivestreamContent/index.js.map +1 -1
  240. package/lib/module/v4/component/MyStories/StoryCircleItem.js.map +1 -1
  241. package/lib/module/v4/component/PostContent/index.js +4 -4
  242. package/lib/module/v4/component/PostContent/index.js.map +1 -1
  243. package/lib/module/v4/component/PostMenu/index.js +2 -2
  244. package/lib/module/v4/component/PostMenu/index.js.map +1 -1
  245. package/lib/module/v4/component/PreviewLink/LinkPreview.js +3 -3
  246. package/lib/module/v4/component/PreviewLink/LinkPreview.js.map +1 -1
  247. package/lib/module/v4/component/PreviewLink/utils.js +9 -73
  248. package/lib/module/v4/component/PreviewLink/utils.js.map +1 -1
  249. package/lib/module/v4/component/TargetSelectionPage/TargetSelectionPage.js +10 -4
  250. package/lib/module/v4/component/TargetSelectionPage/TargetSelectionPage.js.map +1 -1
  251. package/lib/module/v4/component/Toast/index.js +4 -4
  252. package/lib/module/v4/component/Toast/index.js.map +1 -1
  253. package/lib/module/v4/component/Toast/styles.js +2 -2
  254. package/lib/module/v4/component/Toast/styles.js.map +1 -1
  255. package/lib/module/v4/elements/ActionButton/ActionButton.js.map +1 -1
  256. package/lib/module/v4/elements/ImageViewer/ImageViewer.js.map +1 -1
  257. package/lib/module/v4/elements/VideoViewer/VideoViewer.js.map +1 -1
  258. package/lib/module/v4/enum/roomStatus.js +8 -0
  259. package/lib/module/v4/enum/roomStatus.js.map +1 -0
  260. package/lib/module/v4/features/community/Membership/components/MemberItem/MemberItem.js.map +1 -1
  261. package/lib/module/v4/features/community/shared/components/Privacy/index.js.map +1 -1
  262. package/lib/module/v4/hook/index.js +2 -0
  263. package/lib/module/v4/hook/index.js.map +1 -1
  264. package/lib/module/v4/hook/useCustomRankingGlobalFeed.js +1 -3
  265. package/lib/module/v4/hook/useCustomRankingGlobalFeed.js.map +1 -1
  266. package/lib/module/v4/hook/useImagePicker.js.map +1 -1
  267. package/lib/module/v4/hook/usePostSubscription.js +31 -0
  268. package/lib/module/v4/hook/usePostSubscription.js.map +1 -0
  269. package/lib/module/v4/hook/useRoomSubscription.js +15 -0
  270. package/lib/module/v4/hook/useRoomSubscription.js.map +1 -0
  271. package/lib/module/v4/index.js +1 -1
  272. package/lib/module/v4/index.js.map +1 -1
  273. package/lib/module/v4/providers/BehaviourProvider.js +2 -1
  274. package/lib/module/v4/providers/BehaviourProvider.js.map +1 -1
  275. package/lib/module/v4/stores/slices/toast.js +4 -1
  276. package/lib/module/v4/stores/slices/toast.js.map +1 -1
  277. package/lib/typescript/src/components/MediaSection/index.d.ts.map +1 -1
  278. package/lib/typescript/src/components/PostTypeChoiceModal/style.d.ts +1 -2
  279. package/lib/typescript/src/components/PostTypeChoiceModal/style.d.ts.map +1 -1
  280. package/lib/typescript/src/components/Social/PostList/index.d.ts +1 -3
  281. package/lib/typescript/src/components/Social/PostList/index.d.ts.map +1 -1
  282. package/lib/typescript/src/index.d.ts +2 -2
  283. package/lib/typescript/src/index.d.ts.map +1 -1
  284. package/lib/typescript/src/screens/CategorytList/index.d.ts.map +1 -1
  285. package/lib/typescript/src/screens/LivestreamPlayer/index.d.ts.map +1 -1
  286. package/lib/typescript/src/util/postTypeChecker.d.ts +1 -1
  287. package/lib/typescript/src/util/postTypeChecker.d.ts.map +1 -1
  288. package/lib/typescript/src/v4/PublicApi/Components/AmityGlobalFeedComponent/AmityGlobalFeedComponent.d.ts +1 -0
  289. package/lib/typescript/src/v4/PublicApi/Components/AmityGlobalFeedComponent/AmityGlobalFeedComponent.d.ts.map +1 -1
  290. package/lib/typescript/src/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.d.ts +1 -3
  291. package/lib/typescript/src/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.d.ts.map +1 -1
  292. package/lib/typescript/src/v4/PublicApi/Elements/ButtonWithIconElement/styles.d.ts +1 -0
  293. package/lib/typescript/src/v4/PublicApi/Elements/ButtonWithIconElement/styles.d.ts.map +1 -1
  294. package/lib/typescript/src/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.d.ts.map +1 -1
  295. package/lib/typescript/src/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.d.ts +1 -1
  296. package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.d.ts.map +1 -1
  297. package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.d.ts +8 -0
  298. package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.d.ts.map +1 -0
  299. package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.d.ts +70 -2
  300. package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.d.ts.map +1 -1
  301. package/lib/typescript/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.d.ts.map +1 -1
  302. package/lib/typescript/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.d.ts +1 -0
  303. package/lib/typescript/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.d.ts.map +1 -1
  304. package/lib/typescript/src/v4/PublicApi/Pages/AmityLivestreamPostTargetSelectionPage/AmityLivestreamPostTargetSelectionPage.d.ts.map +1 -1
  305. package/lib/typescript/src/v4/PublicApi/Pages/AmityPollTargetSelectionPage/AmityPollTargetSelectionPage.d.ts.map +1 -1
  306. package/lib/typescript/src/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.d.ts.map +1 -1
  307. package/lib/typescript/src/v4/PublicApi/Pages/AmityPostTargetSelectionPage/AmityPostTargetSelectionPage.d.ts.map +1 -1
  308. package/lib/typescript/src/v4/PublicApi/Pages/AmitySocialHomePage/AmitySocialHomePage.d.ts.map +1 -1
  309. package/lib/typescript/src/v4/PublicApi/Pages/AmityStoryTargetSelectionPage/AmityStoryTargetSelectionPage.d.ts.map +1 -1
  310. package/lib/typescript/src/v4/component/LivestreamContent/index.d.ts +1 -1
  311. package/lib/typescript/src/v4/component/LivestreamContent/index.d.ts.map +1 -1
  312. package/lib/typescript/src/v4/component/PostContent/index.d.ts.map +1 -1
  313. package/lib/typescript/src/v4/component/PreviewLink/utils.d.ts +6 -1
  314. package/lib/typescript/src/v4/component/PreviewLink/utils.d.ts.map +1 -1
  315. package/lib/typescript/src/v4/component/TargetSelectionPage/TargetSelectionPage.d.ts +2 -1
  316. package/lib/typescript/src/v4/component/TargetSelectionPage/TargetSelectionPage.d.ts.map +1 -1
  317. package/lib/typescript/src/v4/component/Toast/styles.d.ts +1 -1
  318. package/lib/typescript/src/v4/component/Toast/styles.d.ts.map +1 -1
  319. package/lib/typescript/src/v4/elements/ActionButton/ActionButton.d.ts.map +1 -1
  320. package/lib/typescript/src/v4/enum/roomStatus.d.ts +8 -0
  321. package/lib/typescript/src/v4/enum/roomStatus.d.ts.map +1 -0
  322. package/lib/typescript/src/v4/features/community/Membership/components/MemberItem/MemberItem.d.ts.map +1 -1
  323. package/lib/typescript/src/v4/features/community/shared/components/Privacy/index.d.ts.map +1 -1
  324. package/lib/typescript/src/v4/hook/index.d.ts +2 -0
  325. package/lib/typescript/src/v4/hook/index.d.ts.map +1 -1
  326. package/lib/typescript/src/v4/hook/useImagePicker.d.ts.map +1 -1
  327. package/lib/typescript/src/v4/hook/usePendingPostQuery.d.ts +3 -0
  328. package/lib/typescript/src/v4/hook/usePendingPostQuery.d.ts.map +1 -1
  329. package/lib/typescript/src/v4/hook/usePostSubscription.d.ts +4 -0
  330. package/lib/typescript/src/v4/hook/usePostSubscription.d.ts.map +1 -0
  331. package/lib/typescript/src/v4/hook/useRoomSubscription.d.ts +4 -0
  332. package/lib/typescript/src/v4/hook/useRoomSubscription.d.ts.map +1 -0
  333. package/lib/typescript/src/v4/index.d.ts +1 -0
  334. package/lib/typescript/src/v4/index.d.ts.map +1 -1
  335. package/lib/typescript/src/v4/providers/BehaviourProvider.d.ts.map +1 -1
  336. package/lib/typescript/src/v4/routes/RouteParamList.d.ts +1 -1
  337. package/lib/typescript/src/v4/routes/RouteParamList.d.ts.map +1 -1
  338. package/lib/typescript/src/v4/stores/slices/toast.d.ts +1 -0
  339. package/lib/typescript/src/v4/stores/slices/toast.d.ts.map +1 -1
  340. package/lib/typescript/src/v4/types/behaviour.interface.d.ts +7 -0
  341. package/lib/typescript/src/v4/types/behaviour.interface.d.ts.map +1 -1
  342. package/package.json +6 -3
  343. package/src/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.tsx +1 -1
  344. package/src/components/MediaSection/index.tsx +4 -6
  345. package/src/components/PostTypeChoiceModal/PostTypeChoiceModal.tsx +15 -15
  346. package/src/components/PostTypeChoiceModal/style.ts +1 -2
  347. package/src/components/Social/PostList/index.tsx +1 -4
  348. package/src/index.tsx +2 -2
  349. package/src/screens/CategorytList/index.tsx +7 -14
  350. package/src/screens/CreateLivestream/CreateLivestream.tsx +17 -17
  351. package/src/screens/LivestreamPlayer/index.tsx +9 -15
  352. package/src/snippet/AmityCommunitySearchResultComponent.tsx +1 -1
  353. package/src/snippet/AmityCreatePostMenuComponent.tsx +1 -1
  354. package/src/snippet/AmityDetailedMediaAttachmentComponent.tsx +1 -1
  355. package/src/snippet/AmityEmptyNewsFeedComponent.tsx +1 -1
  356. package/src/snippet/AmityGlobalFeedComponent.tsx +1 -1
  357. package/src/snippet/AmityMediaAttachmentComponent.tsx +1 -1
  358. package/src/snippet/AmityMyCommunitiesComponent.tsx +1 -1
  359. package/src/snippet/AmityMyCommunitiesSearchPage.tsx +1 -1
  360. package/src/snippet/AmityNewsFeedComponent.tsx +1 -1
  361. package/src/snippet/AmityPostComposerPage.tsx +1 -1
  362. package/src/snippet/AmityPostContentComponent.tsx +1 -1
  363. package/src/snippet/AmityPostDetailPage.tsx +1 -1
  364. package/src/snippet/AmityPostTargetSelectionPage.tsx +1 -1
  365. package/src/snippet/AmityReactionListComponent.tsx +1 -1
  366. package/src/snippet/AmitySocialGlobalSearchPage.tsx +1 -1
  367. package/src/snippet/AmitySocialHomePage.tsx +1 -1
  368. package/src/snippet/AmitySocialHomeTopNavigationComponent.tsx +1 -1
  369. package/src/snippet/AmityStoryTargetSelectionPage.tsx +1 -1
  370. package/src/snippet/AmityTopSearchBarComponent.tsx +1 -1
  371. package/src/snippet/AmityUserSearchResultComponent.tsx +1 -1
  372. package/src/svg/svg-xml-list.ts +1 -1
  373. package/src/util/postTypeChecker.ts +1 -1
  374. package/src/v4/PublicApi/Components/AmityCommunityFeedComponent/AmityCommunityFeedComponent.tsx +2 -2
  375. package/src/v4/PublicApi/Components/AmityCommunityProfileTabComponent/AmityCommunityProfileTabComponent.tsx +97 -97
  376. package/src/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.tsx +10 -10
  377. package/src/v4/PublicApi/Components/AmityGlobalFeedComponent/AmityGlobalFeedComponent.tsx +12 -7
  378. package/src/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.tsx +1 -3
  379. package/src/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/DetailStyle.tsx +1 -1
  380. package/src/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/FeedStyle.tsx +1 -1
  381. package/src/v4/PublicApi/Components/AmityReactionListComponent/AmityReactionListComponent.tsx +9 -9
  382. package/src/v4/PublicApi/Elements/ButtonWithIconElement/styles.ts +3 -2
  383. package/src/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.tsx +24 -25
  384. package/src/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.ts +2 -2
  385. package/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.tsx +241 -89
  386. package/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.tsx +48 -0
  387. package/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.ts +72 -3
  388. package/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.tsx +200 -154
  389. package/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.ts +2 -0
  390. package/src/v4/PublicApi/Pages/AmityLivestreamPostTargetSelectionPage/AmityLivestreamPostTargetSelectionPage.tsx +6 -0
  391. package/src/v4/PublicApi/Pages/AmityPollTargetSelectionPage/AmityPollTargetSelectionPage.tsx +6 -1
  392. package/src/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.tsx +7 -2
  393. package/src/v4/PublicApi/Pages/AmityPostTargetSelectionPage/AmityPostTargetSelectionPage.tsx +7 -0
  394. package/src/v4/PublicApi/Pages/AmitySocialHomePage/AmitySocialHomePage.tsx +5 -1
  395. package/src/v4/PublicApi/Pages/AmityStoryTargetSelectionPage/AmityStoryTargetSelectionPage.tsx +7 -0
  396. package/src/v4/component/LivestreamContent/index.tsx +21 -22
  397. package/src/v4/component/MyStories/StoryCircleItem.tsx +8 -8
  398. package/src/v4/component/PostContent/index.tsx +6 -8
  399. package/src/v4/component/PostMenu/index.tsx +2 -2
  400. package/src/v4/component/PreviewLink/LinkPreview.tsx +3 -3
  401. package/src/v4/component/PreviewLink/utils.ts +9 -108
  402. package/src/v4/component/TargetSelectionPage/TargetSelectionPage.tsx +12 -4
  403. package/src/v4/component/Toast/index.tsx +1 -1
  404. package/src/v4/component/Toast/styles.ts +2 -2
  405. package/src/v4/elements/ActionButton/ActionButton.tsx +4 -1
  406. package/src/v4/elements/ImageViewer/ImageViewer.tsx +1 -1
  407. package/src/v4/elements/VideoViewer/VideoViewer.tsx +1 -1
  408. package/src/v4/enum/roomStatus.ts +7 -0
  409. package/src/v4/features/community/Membership/components/MemberItem/MemberItem.tsx +11 -2
  410. package/src/v4/features/community/shared/components/Privacy/index.tsx +4 -1
  411. package/src/v4/hook/index.ts +2 -0
  412. package/src/v4/hook/useCustomRankingGlobalFeed.ts +1 -1
  413. package/src/v4/hook/useImagePicker.ts +4 -1
  414. package/src/v4/hook/usePostSubscription.ts +34 -0
  415. package/src/v4/hook/useRoomSubscription.ts +19 -0
  416. package/src/v4/index.tsx +1 -1
  417. package/src/v4/providers/BehaviourProvider.tsx +1 -0
  418. package/src/v4/routes/RouteParamList.tsx +1 -1
  419. package/src/v4/stores/slices/toast.ts +5 -0
  420. package/src/v4/types/behaviour.interface.ts +7 -0
  421. package/uikit.config.json +1 -1
  422. package/lib/commonjs/v4/enum/livestreamStatus.js +0 -13
  423. package/lib/commonjs/v4/enum/livestreamStatus.js.map +0 -1
  424. package/lib/module/v4/enum/livestreamStatus.js +0 -7
  425. package/lib/module/v4/enum/livestreamStatus.js.map +0 -1
  426. package/lib/typescript/src/v4/enum/livestreamStatus.d.ts +0 -7
  427. package/lib/typescript/src/v4/enum/livestreamStatus.d.ts.map +0 -1
  428. package/src/v4/enum/livestreamStatus.ts +0 -6
@@ -1 +1 @@
1
- {"version":3,"names":["useState","Alert","Linking","launchImageLibrary","launchCamera","isValidImageType","useCameraPermission","deleteAmityFile","uploadImageFile","useImagePicker","getCameraPermission","progress","setProgress","isLoading","setIsLoading","imageUri","setImageUri","uploadedImage","setUploadedImage","uploadFileToAmity","path","uploadedImages","error","alert","text","openImageGallery","options","result","didCancel","assets","length","_result$assets$","_result$assets$2","type","uri","openCamera","cameraPermission","openSettings","_result$assets$3","_result$assets$4","removeSelectedImage","fileId"],"sourceRoot":"../../../../src","sources":["v4/hook/useImagePicker.ts"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,OAAO;AAChC,SAASC,KAAK,EAAEC,OAAO,QAAQ,cAAc;AAC7C,SACEC,kBAAkB,E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QAAK,CAAC,CACjB,CAAC;MACH;MACA,OAAOL,iBAAiB,EAAAoB,gBAAA,GAACZ,MAAM,CAACE,MAAM,CAAC,CAAC,CAAC,cAAAU,gBAAA,uBAAhBA,gBAAA,CAAkBL,GAAG,CAAC;IACjD;EACF,CAAC;EAED,MAAMM,mBAAmB,GAAGA,CAAA,KAAM;IAChC5B,WAAW,CAAC,CAAC,CAAC;IACdI,WAAW,CAAC,IAAI,CAAC;IACjBE,gBAAgB,CAAC,IAAI,CAAC;IACtBX,eAAe,CAACU,aAAa,aAAbA,aAAa,uBAAbA,aAAa,CAAEwB,MAAM,CAAC;EACxC,CAAC;EAED,OAAO;IACL5B,SAAS;IACTE,QAAQ;IACRJ,QAAQ;IACRM,aAAa;IACbuB,mBAAmB;IACnBf,gBAAgB;IAChBU;EACF,CAAC;AACH,CAAC;AAED,eAAe1B,cAAc","ignoreList":[]}
1
+ {"version":3,"names":["useState","Alert","Linking","launchImageLibrary","launchCamera","isValidImageType","useCameraPermission","deleteAmityFile","uploadImageFile","useImagePicker","getCameraPermission","progress","setProgress","isLoading","setIsLoading","imageUri","setImageUri","uploadedImage","setUploadedImage","uploadFileToAmity","path","uploadedImages","error","alert","text","openImageGallery","options","result","didCancel","assets","length","_result$assets$","_result$assets$2","type","uri","openCamera","cameraPermission","openSettings","_result$assets$3","_result$assets$4","removeSelectedImage","fileId"],"sourceRoot":"../../../../src","sources":["v4/hook/useImagePicker.ts"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,OAAO;AAChC,SAASC,KAAK,EAAEC,OAAO,QAAQ,cAAc;AAC7C,SACEC,kBAAkB,EAElBC,YAAY,QAEP,2BAA2B;AAElC,SAASC,gBAAgB,QAAQ,UAAU;AAC3C,SAASC,mBAAmB,QAAQ,kBAAkB;AACtD,SACEC,eAAe,EACfC,eAAe,QACV,+BAA+B;AActC,MAAMC,cAAc,GAAGA,CAAA,KAA8B;EACnD,MAAM;IAAEC;EAAoB,CAAC,GAAGJ,mBAAmB,CA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,CAAC,CAAC;IACdI,WAAW,CAAC,IAAI,CAAC;IACjBE,gBAAgB,CAAC,IAAI,CAAC;IACtBX,eAAe,CAACU,aAAa,aAAbA,aAAa,uBAAbA,aAAa,CAAEwB,MAAM,CAAC;EACxC,CAAC;EAED,OAAO;IACL5B,SAAS;IACTE,QAAQ;IACRJ,QAAQ;IACRM,aAAa;IACbuB,mBAAmB;IACnBf,gBAAgB;IAChBU;EACF,CAAC;AACH,CAAC;AAED,eAAe1B,cAAc","ignoreList":[]}
@@ -0,0 +1,31 @@
1
+ import { useEffect, useState } from 'react';
2
+ import { getPostTopic, PostRepository, subscribeTopic } from '@amityco/ts-sdk-react-native';
3
+ export const usePostSubscription = postId => {
4
+ const [subscribedPost, setSubscribedPost] = useState(null);
5
+ useEffect(() => {
6
+ let unsubscribe;
7
+ if (postId) {
8
+ unsubscribe = PostRepository.getPost(postId, ({
9
+ data
10
+ }) => {
11
+ setSubscribedPost(data);
12
+ });
13
+ }
14
+ return () => {
15
+ unsubscribe && unsubscribe();
16
+ };
17
+ }, [postId]);
18
+ useEffect(() => {
19
+ let unsubscribe;
20
+ if (subscribedPost) {
21
+ unsubscribe = subscribeTopic(getPostTopic(subscribedPost));
22
+ }
23
+ return () => {
24
+ unsubscribe && unsubscribe();
25
+ };
26
+ }, [subscribedPost]);
27
+ return {
28
+ subscribedPost
29
+ };
30
+ };
31
+ //# sourceMappingURL=usePostSubscription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useEffect","useState","getPostTopic","PostRepository","subscribeTopic","usePostSubscription","postId","subscribedPost","setSubscribedPost","unsubscribe","getPost","data"],"sourceRoot":"../../../../src","sources":["v4/hook/usePostSubscription.ts"],"mappings":"AAAA,SAASA,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAC3C,SACEC,YAAY,EACZC,cAAc,EACdC,cAAc,QACT,8BAA8B;AAErC,OAAO,MAAMC,mBAAmB,GAAIC,MAAc,IAAK;EACrD,MAAM,CAACC,cAAc,EAAEC,iBAAiB,CAAC,GAAGP,QAAQ,CAAa,IAAI,CAAC;EAEtED,SAAS,CAAC,MAAM;IACd,IAAIS,WAAuB;IAC3B,IAAIH,MAAM,EAAE;MACVG,WAAW,GAAGN,cAAc,CAACO,OAAO,CAACJ,MAAM,EAAE,CAAC;QAAEK;MAAK,CAAC,KAAK;QACzDH,iBAAiB,CAACG,IAAI,CAAC;MACzB,CAAC,CAAC;IACJ;IACA,OAAO,MAAM;MACXF,WAAW,IAAIA,WAAW,CAAC,CAAC;IAC9B,CAAC;EACH,CAAC,EAAE,CAACH,MAAM,CAAC,CAAC;EAEZN,SAAS,CAAC,MAAM;IACd,IAAIS,WAAuB;IAC3B,IAAIF,cAAc,EAAE;MAClBE,WAAW,GAAGL,cAAc,CAACF,YAAY,CAACK,cAAc,CAAC,CAAC;IAC5D;IACA,OAAO,MAAM;MACXE,WAAW,IAAIA,WAAW,CAAC,CAAC;IAC9B,CAAC;EACH,CAAC,EAAE,CAACF,cAAc,CAAC,CAAC;EAEpB,OAAO;IAAEA;EAAe,CAAC;AAC3B,CAAC","ignoreList":[]}
@@ -0,0 +1,15 @@
1
+ import { getRoomWatcherTopic, subscribeTopic } from '@amityco/ts-sdk-react-native';
2
+ import { useEffect } from 'react';
3
+ export const useRoomSubscription = ({
4
+ room
5
+ }) => {
6
+ useEffect(() => {
7
+ const unsubscriber = [];
8
+ if (room !== null && room !== void 0 && room.roomId && (room === null || room === void 0 ? void 0 : room.status) !== 'recorded') {
9
+ unsubscriber.push(subscribeTopic(getRoomWatcherTopic(room)));
10
+ }
11
+ return () => unsubscriber.forEach(fn => fn());
12
+ }, [room, room === null || room === void 0 ? void 0 : room.roomId]);
13
+ return null;
14
+ };
15
+ //# sourceMappingURL=useRoomSubscription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["getRoomWatcherTopic","subscribeTopic","useEffect","useRoomSubscription","room","unsubscriber","roomId","status","push","forEach","fn"],"sourceRoot":"../../../../src","sources":["v4/hook/useRoomSubscription.ts"],"mappings":"AAAA,SACEA,mBAAmB,EACnBC,cAAc,QACT,8BAA8B;AACrC,SAASC,SAAS,QAAQ,OAAO;AAEjC,OAAO,MAAMC,mBAAmB,GAAGA,CAAC;EAAEC;AAAmC,CAAC,KAAK;EAC7EF,SAAS,CAAC,MAAM;IACd,MAAMG,YAAkC,GAAG,EAAE;IAE7C,IAAID,IAAI,aAAJA,IAAI,eAAJA,IAAI,CAAEE,MAAM,IAAI,CAAAF,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAEG,MAAM,MAAK,UAAU,EAAE;MAC/CF,YAAY,CAACG,IAAI,CAACP,cAAc,CAACD,mBAAmB,CAACI,IAAI,CAAC,CAAC,CAAC;IAC9D;IAEA,OAAO,MAAMC,YAAY,CAACI,OAAO,CAAEC,EAAE,IAAKA,EAAE,CAAC,CAAC,CAAC;EACjD,CAAC,EAAE,CAACN,IAAI,EAAEA,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAEE,MAAM,CAAC,CAAC;EAExB,OAAO,IAAI;AACb,CAAC","ignoreList":[]}
@@ -11,7 +11,7 @@ export { default as AmityMyCommunitiesSearchPage } from './PublicApi/Pages/Amity
11
11
  export { default as AmityAllCategoriesPage } from './PublicApi/Pages/AmityAllCategoriesPage/AmityAllCategoriesPage';
12
12
  export { default as AmityCommunitiesByCategoryPage } from './PublicApi/Pages/AmityCommunitiesByCategoryPage/AmityCommunitiesByCategoryPage';
13
13
  export { default as AmityCommunityProfilePage } from './PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage';
14
- // export { default as AmityCreateLivestreamPage } from './PublicApi/Pages/AmityCreateLivestreamPage';
14
+ export { default as AmityCreateLivestreamPage } from './PublicApi/Pages/AmityCreateLivestreamPage';
15
15
  export { default as AmityLivestreamPostTargetSelectionPage } from './PublicApi/Pages/AmityLivestreamPostTargetSelectionPage';
16
16
  export { default as AmityLivestreamTerminatedPage } from './PublicApi/Pages/AmityLivestreamTerminatedPage';
17
17
  export { default as AmityLivestreamPlayerPage } from './PublicApi/Pages/AmityLivestreamPlayerPage';
@@ -1 +1 @@
1
- {"version":3,"names":["default","AmityCreateStoryPage","AmityDraftStoryPage","AmityViewStoryPage","AmitySocialHomePage","AmitySocialGlobalSearchPage","AmityPostDetailPage","AmityPostTargetSelectionPage","AmityStoryTargetSelectionPage","AmityPostComposerPage","AmityMyCommunitiesSearchPage","AmityAllCategoriesPage","AmityCommunitiesByCategoryPage","AmityCommunityProfilePage","AmityLivestreamPostTargetSelectionPage","AmityLivestreamTerminatedPage","AmityLivestreamPlayerPage","AmityPollTargetSelectionPage","AmityPollPostComposerPage","AmityUserProfilePage","AmityCommunitySetupPage","AmityCommunityAddCategoryPage","AmityCommunityAddMemberPage","AmityCommunityPendingRequestPage","AmityCommunitySettingPage","AmityCommunityMembershipPage","AmityCommunityPostPermissionPage","AmityCommunityStorySettingPage","AmityCommunityNotificationSettingPage","AmityCommunityPostsNotificationSettingPage","AmityCommunityCommentsNotificationSettingPage","AmityCommunityStoriesNotificationSettingPage","AmityCommunityLivestreamsNotificationSettingPage","AmityStoryTabComponent","AmitySocialHomeTopNavigationComponent","AmityCommunitySearchResultComponent","AmityTopSearchBarComponent","AmityEmptyNewsFeedComponent","AmityGlobalFeedComponent","AmityMyCommunitiesComponent","AmityNewsFeedComponent","AmityPostContentComponent","AmityCreatePostMenuComponent","AmityMediaAttachmentComponent","AmityDetailedMediaAttachmentComponent","AmityPostCommentComponent","AmityPostEngagementActionsComponent","AmityUserSearchResultComponent","AmityReactionListComponent","AmityCommunityFeedComponent","AmityCommunityHeaderComponent","AmityCommunityImageFeedComponent","AmityCommunityVideoFeedComponent","AmityThumbnailActionComponent","AmityExploreComponent","AmityCommunityPinnedPostComponent","AmityPendingPostListComponent","AmityPostTargetSelectionPageType","PostTargetType","AmityPostTargetType","AmityPostEngagementContentComponent"],"sourceRoot":"../../../src","sources":["v4/index.tsx"],"mappings":"AAAA,SAASA,OAAO,IAAIC,oBAAoB,QAAQ,6D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O,IAAIiD,2BAA2B,QAAQ,gFAAgF;AACvI,SAASjD,OAAO,IAAIkD,6BAA6B,QAAQ,oFAAoF;AAC7I,SAASlD,OAAO,IAAImD,gCAAgC,QAAQ,0FAA0F;AACtJ,SAASnD,OAAO,IAAIoD,gCAAgC,QAAQ,0FAA0F;AACtJ,SAASC,6BAA6B,QAAQ,sDAAsD;AAEpG,SAASrD,OAAO,IAAIsD,qBAAqB,QAAQ,oEAAoE;AACrH,SAAStD,OAAO,IAAIuD,iCAAiC,QAAQ,0DAA0D;AACvH,SAASvD,OAAO,IAAIwD,6BAA6B,QAAQ,sDAAsD;AAE/G,SACEC,gCAAgC,EAChCC,cAAc,IAAIC,mBAAmB,QAChC,QAAQ;AAEf,SAAS3D,OAAO,IAAI4D,mCAAmC,QAAQ,4DAA4D","ignoreList":[]}
1
+ {"version":3,"names":["default","AmityCreateStoryPage","AmityDraftStoryPage","AmityViewStoryPage","AmitySocialHomePage","AmitySocialGlobalSearchPage","AmityPostDetailPage","AmityPostTargetSelectionPage","AmityStoryTargetSelectionPage","AmityPostComposerPage","AmityMyCommunitiesSearchPage","AmityAllCategoriesPage","AmityCommunitiesByCategoryPage","AmityCommunityProfilePage","AmityCreateLivestreamPage","AmityLivestreamPostTargetSelectionPage","AmityLivestreamTerminatedPage","AmityLivestreamPlayerPage","AmityPollTargetSelectionPage","AmityPollPostComposerPage","AmityUserProfilePage","AmityCommunitySetupPage","AmityCommunityAddCategoryPage","AmityCommunityAddMemberPage","AmityCommunityPendingRequestPage","AmityCommunitySettingPage","AmityCommunityMembershipPage","AmityCommunityPostPermissionPage","AmityCommunityStorySettingPage","AmityCommunityNotificationSettingPage","AmityCommunityPostsNotificationSettingPage","AmityCommunityCommentsNotificationSettingPage","AmityCommunityStoriesNotificationSettingPage","AmityCommunityLivestreamsNotificationSettingPage","AmityStoryTabComponent","AmitySocialHomeTopNavigationComponent","AmityCommunitySearchResultComponent","AmityTopSearchBarComponent","AmityEmptyNewsFeedComponent","AmityGlobalFeedComponent","AmityMyCommunitiesComponent","AmityNewsFeedComponent","AmityPostContentComponent","AmityCreatePostMenuComponent","AmityMediaAttachmentComponent","AmityDetailedMediaAttachmentComponent","AmityPostCommentComponent","AmityPostEngagementActionsComponent","AmityUserSearchResultComponent","AmityReactionListComponent","AmityCommunityFeedComponent","AmityCommunityHeaderComponent","AmityCommunityImageFeedComponent","AmityCommunityVideoFeedComponent","AmityThumbnailActionComponent","AmityExploreComponent","AmityCommunityPinnedPostComponent","AmityPendingPostListComponent","AmityPostTargetSelectionPageType","PostTargetType","AmityPostTargetType","AmityPostEngagementContentComponent"],"sourceRoot":"../../../src","sources":["v4/index.tsx"],"mappings":"AAAA,SAASA,OAAO,IAAIC,oBAAoB,QAAQ,6DAA6D;AAC7G,SAASD,OAAO,IAAIE,mBAAmB,QAAQ,2DAA2D;AAC1G,SAASF,OAAO,IAAIG,kBAAkB,QAAQ,yDAAyD;AACvG,SAASH,OAAO,IAAII,mBAAmB,QAAQ,2DAA2D;AAC1G,SAASJ,OAAO,IAAIK,2BAA2B,QAAQ,2EAA2E;AAClI,SAASL,OAAO,IAAIM,mBAAmB,QAAQ,2DAA2D;AAC1G,SAASN,OAAO,IAAIO,4BAA4B,QAAQ,6EAA6E;AACrI,SAASP,OAAO,IAAIQ,6BAA6B,QAAQ,+EAA+E;AACxI,SAASR,OAAO,IAAIS,qBAAqB,QAAQ,+DAA+D;AAChH,SAAST,OAAO,IAAIU,4BAA4B,QAAQ,6EAA6E;AACrI,SAASV,OAAO,IAAIW,sBAAsB,QAAQ,iEAAiE;AACnH,SAASX,OAAO,IAAIY,8BAA8B,QAAQ,iFAAiF;AAC3I,SAASZ,OAAO,IAAIa,yBAAyB,QAAQ,uEAAuE;AAC5H,SAASb,OAAO,IAAIc,yBAAyB,QAAQ,6CAA6C;AAClG,SAASd,OAAO,IAAIe,sCAAsC,QAAQ,0DAA0D;AAC5H,SAASf,OAAO,IAAIgB,6BAA6B,QAAQ,iDAAiD;AAC1G,SA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,QAAQ,gFAAgF;AACvI,SAASxC,OAAO,IAAIyC,sBAAsB,QAAQ,sEAAsE;AACxH,SAASzC,OAAO,IAAI0C,yBAAyB,QAAQ,4EAA4E;AACjI,SAAS1C,OAAO,IAAI2C,4BAA4B,QAAQ,kFAAkF;AAC1I,SAAS3C,OAAO,IAAI4C,6BAA6B,QAAQ,oFAAoF;AAC7I,SAAS5C,OAAO,IAAI6C,qCAAqC,QAAQ,oGAAoG;AACrK,SAAS7C,OAAO,IAAI8C,yBAAyB,QAAQ,4EAA4E;AACjI,SAAS9C,OAAO,IAAI+C,mCAAmC,QAAQ,gGAAgG;AAC/J,SAAS/C,OAAO,IAAIgD,8BAA8B,QAAQ,sFAAsF;AAChJ,SAAShD,OAAO,IAAIiD,0BAA0B,QAAQ,8EAA8E;AACpI,SAASjD,OAAO,IAAIkD,2BAA2B,QAAQ,gFAAgF;AACvI,SAASlD,OAAO,IAAImD,6BAA6B,QAAQ,oFAAoF;AAC7I,SAASnD,OAAO,IAAIoD,gCAAgC,QAAQ,0FAA0F;AACtJ,SAASpD,OAAO,IAAIqD,gCAAgC,QAAQ,0FAA0F;AACtJ,SAASC,6BAA6B,QAAQ,sDAAsD;AAEpG,SAAStD,OAAO,IAAIuD,qBAAqB,QAAQ,oEAAoE;AACrH,SAASvD,OAAO,IAAIwD,iCAAiC,QAAQ,0DAA0D;AACvH,SAASxD,OAAO,IAAIyD,6BAA6B,QAAQ,sDAAsD;AAE/G,SACEC,gCAAgC,EAChCC,cAAc,IAAIC,mBAAmB,QAChC,QAAQ;AAEf,SAAS5D,OAAO,IAAI6D,mCAAmC,QAAQ,4DAA4D","ignoreList":[]}
@@ -21,7 +21,8 @@ export const BehaviourProvider = ({
21
21
  AmityCommunitySetupPageBehavior: {},
22
22
  AmityCommunitySettingPageBehavior: {},
23
23
  AmityCommunityMembershipPageBehavior: {},
24
- AmityCommunityNotificationSettingPageBehavior: {}
24
+ AmityCommunityNotificationSettingPageBehavior: {},
25
+ AmityPostComposerPageBehavior: {}
25
26
  }), []);
26
27
  const customBehaviour = useMemo(() => ({
27
28
  ...defaultBehaviour,
@@ -1 +1 @@
1
- {"version":3,"names":["React","createContext","useContext","useMemo","BehaviourContext","undefined","BehaviourProvider","children","behaviour","defaultBehaviour","AmitySocialHomePageBehaviour","AmityGlobalFeedComponentBehavior","AmityPostContentComponentBehavior","AmitySocialHomeTopNavigationComponentBehaviour","AmityCommunitySearchResultComponent","AmityEmptyNewsFeedComponent","AmityMyCommunitiesComponentBehaviour","AmityCreatePostMenuComponentBehavior","AmityPostTargetSelectionPageBehavior","AmityStoryTargetSelectionPageBehavior","AmityLivestreamPostTargetSelectionPageBehavior","AmityCommunityProfilePageBehavior","AmityPollTargetSelectionPageBehavior","AmityCommunitySetupPageBehavior","AmityCommunitySettingPageBehavior","AmityCommunityMembershipPageBehavior","AmityCommunityNotificationSettingPageBehavior","customBehaviour","createElement","Provider","value","useBehaviour","context","Error"],"sourceRoot":"../../../../src","sources":["v4/providers/BehaviourProvider.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAeC,aAAa,EAAEC,UAAU,EAAEC,OAAO,QAAQ,OAAO;AAG5E,MAAMC,gBAAgB,gBAAGH,aAAa,CAAaI,SAAS,CAAC;AAO7D,OAAO,MAAMC,iBAAiB,GAAGA,CAAC;EAChCC,QAAQ;EACRC;AACuB,CAAC,KAAK;EAC7B,MAAMC,gBAAgB,GAAGN,OAAO,CAC9B,OAAO;IACLO,4BAA4B,EAAE,CAAC,CAAC;IAChCC,gCAAgC,EAAE,CAAC,CAAC;IACpCC,iCAAiC,EAAE,CAAC,CAAC;IACrCC,8CAA8C,EAAE,CAAC,CAAC;IAClDC,mCAAmC,EAAE,CAAC,CAAC;IACvCC,2BAA2B,EAAE,CAAC,CAAC;IAC/BC,oCAAoC,EAAE,CAAC,CAAC;IACxCC,oCAAoC,EAAE,CAAC,CAAC;IACxCC,oCAAoC,EAAE,CAAC,CAAC;IACxCC,qCAAqC,EAAE,CAAC,CAAC;IACzCC,8CAA8C,EAAE,CAAC,CAAC;IAClDC,iCAAiC,EAAE,CAAC,CAAC;IACrCC,oCAAoC,EAAE,CAAC,CAAC;IACxCC,+BAA+B,EAAE,CAAC,CAAC;IACnCC,iCAAiC,EAAE,CAAC,CAAC;IACrCC,oCAAoC,EAAE,CAAC,CAAC;IACxCC,6CAA6C,EAAE,CAAC;EAClD,CAAC,CAAC,EACF,EACF,CAAC;EAED,MAAMC,eAAe,GAAGxB,OAAO,CAC7B,OAAO;IACL,GAAGM,gBAAgB;IACnB,GAAGD;EACL,CAAC,CAAC,EACF,CAACA,SAAS,EAAEC,gBAAgB,CAC9B,CAAC;EAED,oBACET,KAAA,CAAA4B,aAAA,CAACxB,gBAAgB,CAACyB,QAAQ;IAACC,KAAK,EAAEH;EAAgB,GAC/CpB,QACwB,CAAC;AAEhC,CAAC;AAED,OAAO,MAAMwB,YAAY,GAAGA,CAAA,KAAM;EAChC,MAAMC,OAAO,GAAG9B,UAAU,CAACE,gBAAgB,CAAC;EAC5C,IAAI,CAAC4B,OAAO,EAAE;IACZ,MAAM,IAAIC,KAAK,CAAC,sDAAsD,CAAC;EACzE;EACA,OAAOD,OAAO;AAChB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","createContext","useContext","useMemo","BehaviourContext","undefined","BehaviourProvider","children","behaviour","defaultBehaviour","AmitySocialHomePageBehaviour","AmityGlobalFeedComponentBehavior","AmityPostContentComponentBehavior","AmitySocialHomeTopNavigationComponentBehaviour","AmityCommunitySearchResultComponent","AmityEmptyNewsFeedComponent","AmityMyCommunitiesComponentBehaviour","AmityCreatePostMenuComponentBehavior","AmityPostTargetSelectionPageBehavior","AmityStoryTargetSelectionPageBehavior","AmityLivestreamPostTargetSelectionPageBehavior","AmityCommunityProfilePageBehavior","AmityPollTargetSelectionPageBehavior","AmityCommunitySetupPageBehavior","AmityCommunitySettingPageBehavior","AmityCommunityMembershipPageBehavior","AmityCommunityNotificationSettingPageBehavior","AmityPostComposerPageBehavior","customBehaviour","createElement","Provider","value","useBehaviour","context","Error"],"sourceRoot":"../../../../src","sources":["v4/providers/BehaviourProvider.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAeC,aAAa,EAAEC,UAAU,EAAEC,OAAO,QAAQ,OAAO;AAG5E,MAAMC,gBAAgB,gBAAGH,aAAa,CAAaI,SAAS,CAAC;AAO7D,OAAO,MAAMC,iBAAiB,GAAGA,CAAC;EAChCC,QAAQ;EACRC;AACuB,CAAC,KAAK;EAC7B,MAAMC,gBAAgB,GAAGN,OAAO,CAC9B,OAAO;IACLO,4BAA4B,EAAE,CAAC,CAAC;IAChCC,gCAAgC,EAAE,CAAC,CAAC;IACpCC,iCAAiC,EAAE,CAAC,CAAC;IACrCC,8CAA8C,EAAE,CAAC,CAAC;IAClDC,mCAAmC,EAAE,CAAC,CAAC;IACvCC,2BAA2B,EAAE,CAAC,CAAC;IAC/BC,oCAAoC,EAAE,CAAC,CAAC;IACxCC,oCAAoC,EAAE,CAAC,CAAC;IACxCC,oCAAoC,EAAE,CAAC,CAAC;IACxCC,qCAAqC,EAAE,CAAC,CAAC;IACzCC,8CAA8C,EAAE,CAAC,CAAC;IAClDC,iCAAiC,EAAE,CAAC,CAAC;IACrCC,oCAAoC,EAAE,CAAC,CAAC;IACxCC,+BAA+B,EAAE,CAAC,CAAC;IACnCC,iCAAiC,EAAE,CAAC,CAAC;IACrCC,oCAAoC,EAAE,CAAC,CAAC;IACxCC,6CAA6C,EAAE,CAAC,CAAC;IACjDC,6BAA6B,EAAE,CAAC;EAClC,CAAC,CAAC,EACF,EACF,CAAC;EAED,MAAMC,eAAe,GAAGzB,OAAO,CAC7B,OAAO;IACL,GAAGM,gBAAgB;IACnB,GAAGD;EACL,CAAC,CAAC,EACF,CAACA,SAAS,EAAEC,gBAAgB,CAC9B,CAAC;EAED,oBACET,KAAA,CAAA6B,aAAA,CAACzB,gBAAgB,CAAC0B,QAAQ;IAACC,KAAK,EAAEH;EAAgB,GAC/CrB,QACwB,CAAC;AAEhC,CAAC;AAED,OAAO,MAAMyB,YAAY,GAAGA,CAAA,KAAM;EAChC,MAAMC,OAAO,GAAG/B,UAAU,CAACE,gBAAgB,CAAC;EAC5C,IAAI,CAAC6B,OAAO,EAAE;IACZ,MAAM,IAAIC,KAAK,CAAC,sDAAsD,CAAC;EACzE;EACA,OAAOD,OAAO;AAChB,CAAC","ignoreList":[]}
@@ -5,7 +5,8 @@ const initialState = {
5
5
  visible: false,
6
6
  message: '',
7
7
  type: 'loading',
8
- duration: 2500
8
+ duration: 2500,
9
+ bottomPosition: 16
9
10
  };
10
11
  const toastSlice = createSlice({
11
12
  name: 'toast',
@@ -16,12 +17,14 @@ const toastSlice = createSlice({
16
17
  state.message = action.payload.message;
17
18
  state.type = action.payload.type;
18
19
  state.duration = action.payload.duration ?? initialState.duration;
20
+ state.bottomPosition = action.payload.bottomPosition ?? initialState.bottomPosition;
19
21
  },
20
22
  hideToast: state => {
21
23
  state.visible = false;
22
24
  state.message = '';
23
25
  state.type = 'loading';
24
26
  state.duration = 2500;
27
+ state.bottomPosition = 16;
25
28
  }
26
29
  }
27
30
  });
@@ -1 +1 @@
1
- {"version":3,"names":["createSlice","useUIKitDispatch","useUIKitSelector","getCommentErrorMessage","initialState","visible","message","type","duration","toastSlice","name","reducers","showToast","state","action","payload","hideToast","useToast","dispatch","toast","$showToast","$hideToast","actions","showCommentErrorToast","error","errorMessage"],"sourceRoot":"../../../../../src","sources":["v4/stores/slices/toast.ts"],"mappings":"AAAA,SAAwBA,WAAW,QAAQ,kBAAkB;AAC7D,SAEEC,gBAAgB,EAChBC,gBAAgB,QACX,sBAAsB;AAC7B,SAASC,sBAAsB,QAAQ,0BAA0B;AAOjE,MAAMC,YAAwB,GAAG;EAC/BC,OAAO,EAAE,KAAK;EACdC,OAAO,EAAE,EAAE;EACXC,IAAI,EAAE,SAAS;EACfC,QAAQ,EAAE;AACZ,CAAC;AAED,MAAMC,UAAU,GAAGT,WAAW,CAAC;EAC7BU,IAA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D,CAAC;EAED,OAAO;IACLY,KAAK;IACLH,SAAS;IACTJ,SAAS;IACTW;EACF,CAAC;AACH,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["createSlice","useUIKitDispatch","useUIKitSelector","getCommentErrorMessage","initialState","visible","message","type","duration","bottomPosition","toastSlice","name","reducers","showToast","state","action","payload","hideToast","useToast","dispatch","toast","$showToast","$hideToast","actions","showCommentErrorToast","error","errorMessage"],"sourceRoot":"../../../../../src","sources":["v4/stores/slices/toast.ts"],"mappings":"AAAA,SAAwBA,WAAW,QAAQ,kBAAkB;AAC7D,SAEEC,gBAAgB,EAChBC,gBAAgB,QACX,sBAAsB;AAC7B,SAASC,sBAAsB,QAAQ,0BAA0B;AAQjE,MAAMC,YAAwB,GAAG;EAC/BC,OAAO,EAAE,KAAK;EACdC,OAAO,EAAE,EAAE;EACXC,IAAI,EAAE,SAAS;EACfC,QAAQ,EAAE,IAAI;EACdC,cAAc,EAAE;AAClB,CAAC;AAED,MAAMC,UAAU,GAAGV,WAAW,CAAC;EAC7BW,IAAI,EAAE,OAAO;EACbP,YAAY;EACZQ,QAAQ,EAAE;IACRC,SAAS,EAAEA,CAACC,KAAK,EAAEC,MAAiC,KAAK;MACvDD,KAAK,CAACT,OAAO,GAAG,IAAI;MACpBS,KAAK,CAACR,OAAO,GAAGS,MAAM,CAACC,OAAO,CAACV,OAAO;MACtCQ,KAAK,CAACP,IAAI,GAAGQ,MAAM,CAACC,OAAO,CAACT,IAAI;MAChCO,KAAK,CAACN,QAAQ,GAAGO,MAAM,CAACC,OAAO,CAACR,QAAQ,IAAIJ,YAAY,CAACI,QAAQ;MACjEM,KAAK,CAACL,cAAc,GAClBM,MAAM,CAACC,OAAO,CAACP,cAAc,IAAIL,YAAY,CAACK,cAAc;IAChE,CAAC;IACDQ,SAAS,EAAGH,KAAK,IAAK;MACpBA,KAAK,CAACT,OAAO,GAAG,KAAK;MACrBS,KAAK,CAACR,OAAO,GAAG,EAAE;MAClBQ,KAAK,CAACP,IAAI,GAAG,SAAS;MACtBO,KAAK,CAACN,QAAQ,GAAG,IAAI;MACrBM,KAAK,CAACL,cAAc,GAAG,EAAE;IAC3B;EACF;AACF,CAAC,CAAC;AAEF,eAAeC,UAAU;AAEzB,OAAO,MAAMQ,QAAQ,GAAGA,CAAA,KAAM;EAC5B,MAAMC,QAAQ,GAAGlB,gBAAgB,CAAC,CAAC;EACnC,MAAMmB,KAAK,GAAGlB,gBAAgB,CAAyBY,KAAK,IAAKA,KAAK,CAACM,KAAK,CAAC;EAC7E,MAAM;IAAEP,SAAS,EAAEQ,UAAU;IAAEJ,SAAS,EAAEK;EAAW,CAAC,GAAGZ,UAAU,CAACa,OAAO;EAE3E,MAAMN,SAAS,GAAGA,CAAA,KAAME,QAAQ,CAACG,UAAU,CAAC,CAAC,CAAC;EAE9C,MAAMT,SAAS,GAAIG,OAAmB,IAAKG,QAAQ,CAACE,UAAU,CAACL,OAAO,CAAC,CAAC;EAExE,MAAMQ,qBAAqB,GAAIC,KAAY,IAAK;IAC9C,MAAMC,YAAY,GAAGvB,sBAAsB,CAACsB,KAAK,CAAC;IAClDZ,SAAS,CAAC;MAAEP,OAAO,EAAEoB,YAAY;MAAEnB,IAAI,EAAE;IAAc,CAAC,CAAC;EAC3D,CAAC;EAED,OAAO;IACLa,KAAK;IACLH,SAAS;IACTJ,SAAS;IACTW;EACF,CAAC;AACH,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/MediaSection/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAmBhE,UAAU,aAAa;IACrB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB;;AAgSD,wBAAwC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/MediaSection/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAmBhE,UAAU,aAAa;IACrB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB;;AA8RD,wBAAwC"}
@@ -30,8 +30,7 @@ export declare const useStyles: () => {
30
30
  modalRow: {
31
31
  flexDirection: "row";
32
32
  alignItems: "center";
33
- padding: number;
34
- marginVertical: number;
33
+ paddingVertical: number;
35
34
  };
36
35
  closeButtonText: {
37
36
  color: string;
@@ -1 +1 @@
1
- {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/components/PostTypeChoiceModal/style.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DrB,CAAC"}
1
+ {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/components/PostTypeChoiceModal/style.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DrB,CAAC"}
@@ -24,9 +24,7 @@ export interface IPost {
24
24
  export interface IPostList {
25
25
  onDelete?: (postId: string) => void;
26
26
  onChange?: (postDetail: Amity.Post<any>) => void;
27
- postDetail: Amity.Post<any> & {
28
- structureType?: string;
29
- };
27
+ postDetail: Amity.Post<any>;
30
28
  postIndex?: number;
31
29
  isGlobalfeed?: boolean;
32
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Social/PostList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAsBxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAgBnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAQ/D,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC1B,QAAQ,EAAE,MAAM,G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I,CAAC;IACjD,UAAU,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AACD,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;CACb;AACD,MAAM,WAAW,UAAU;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE;QACX,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH;AACD,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,UAAU,EACV,SAAS,EACT,QAAQ,EACR,YAAY,GACb,EAAE,SAAS,qBAwdX"}
@@ -4,9 +4,9 @@ import AmityPageRenderer from './v4/routes/AmityPageRenderer';
4
4
  import PostDetail from './v4/screen/PostDetail';
5
5
  import CommunityHome from './v4/screen/CommunityHome';
6
6
  import UserProfile from './v4/screen/UserProfile';
7
- import { AmityStoryTabComponent, AmityCreateStoryPage, AmityDraftStoryPage, AmityViewStoryPage, AmitySocialHomePage, AmitySocialHomeTopNavigationComponent, AmityCommunitySearchResultComponent, AmitySocialGlobalSearchPage, AmityTopSearchBarComponent, AmityEmptyNewsFeedComponent, AmityGlobalFeedComponent, AmityMyCommunitiesComponent, AmityNewsFeedComponent, AmityPostContentComponent, AmityPostDetailPage, AmityPostTargetSelectionPageType, AmityCreatePostMenuComponent, AmityDetailedMediaAttachmentComponent, AmityMediaAttachmentComponent, AmityPostCommentComponent, AmityPostComposerPage, AmityPostEngagementActionsComponent, AmityPostTargetSelectionPage, AmityReactionListComponent, AmityStoryTargetSelectionPage, AmityUserSearchResultComponent, AmityMyCommunitiesSearchPage, AmityExploreComponent, AmityAllCategoriesPage, AmityCommunitiesByCategoryPage, AmityCommunityProfilePage as CommunityProfilePage, AmityLivestreamPostTargetSelectionPage, AmityLivestreamTerminatedPage, AmityLivestreamPlayerPage, AmityPollTargetSelectionPage, AmityPollPostComposerPage, AmityCommunityFeedComponent, AmityCommunityHeaderComponent, AmityCommunityImageFeedComponent, AmityCommunityVideoFeedComponent, AmityThumbnailActionComponent, AmityUserProfilePage, AmityPostEngagementContentComponent, AmityPostTargetType, AmityCommunitySetupPage, AmityCommunityAddCategoryPage, AmityCommunityAddMemberPage, AmityCommunityPendingRequestPage, AmityCommunitySettingPage, AmityCommunityMembershipPage, AmityCommunityPostPermissionPage, AmityCommunityStorySettingPage, AmityCommunityNotificationSettingPage, AmityCommunityPostsNotificationSettingPage, AmityCommunityCommentsNotificationSettingPage, AmityCommunityStoriesNotificationSettingPage, AmityCommunityLivestreamsNotificationSettingPage, AmityCommunityPinnedPostComponent, AmityPendingPostListComponent } from './v4';
7
+ import { AmityStoryTabComponent, AmityCreateStoryPage, AmityDraftStoryPage, AmityViewStoryPage, AmitySocialHomePage, AmitySocialHomeTopNavigationComponent, AmityCommunitySearchResultComponent, AmitySocialGlobalSearchPage, AmityTopSearchBarComponent, AmityEmptyNewsFeedComponent, AmityGlobalFeedComponent, AmityMyCommunitiesComponent, AmityNewsFeedComponent, AmityPostContentComponent, AmityPostDetailPage, AmityPostTargetSelectionPageType, AmityCreatePostMenuComponent, AmityDetailedMediaAttachmentComponent, AmityMediaAttachmentComponent, AmityPostCommentComponent, AmityPostComposerPage, AmityPostEngagementActionsComponent, AmityPostTargetSelectionPage, AmityReactionListComponent, AmityStoryTargetSelectionPage, AmityUserSearchResultComponent, AmityMyCommunitiesSearchPage, AmityExploreComponent, AmityAllCategoriesPage, AmityCommunitiesByCategoryPage, AmityCommunityProfilePage as CommunityProfilePage, AmityCreateLivestreamPage, AmityLivestreamPostTargetSelectionPage, AmityLivestreamTerminatedPage, AmityLivestreamPlayerPage, AmityPollTargetSelectionPage, AmityPollPostComposerPage, AmityCommunityFeedComponent, AmityCommunityHeaderComponent, AmityCommunityImageFeedComponent, AmityCommunityVideoFeedComponent, AmityThumbnailActionComponent, AmityUserProfilePage, AmityPostEngagementContentComponent, AmityPostTargetType, AmityCommunitySetupPage, AmityCommunityAddCategoryPage, AmityCommunityAddMemberPage, AmityCommunityPendingRequestPage, AmityCommunitySettingPage, AmityCommunityMembershipPage, AmityCommunityPostPermissionPage, AmityCommunityStorySettingPage, AmityCommunityNotificationSettingPage, AmityCommunityPostsNotificationSettingPage, AmityCommunityCommentsNotificationSettingPage, AmityCommunityStoriesNotificationSettingPage, AmityCommunityLivestreamsNotificationSettingPage, AmityCommunityPinnedPostComponent, AmityPendingPostListComponent } from './v4';
8
8
  import { AmityStoryTabComponentEnum, AmityPostComposerMode, mediaAttachment } from './v4/PublicApi/types';
9
9
  import { AmityGlobalStoryTabWrapper } from './v4/component/MyStories';
10
10
  export declare function multiply(a: number, b: number): Promise<number>;
11
- export { AmityUiKitProvider, AmityUiKitSocial, AmityStoryTabComponent, AmityStoryTabComponentEnum, AmityCreateStoryPage, AmityDraftStoryPage, AmityViewStoryPage, AmitySocialHomePage, AmitySocialHomeTopNavigationComponent, AmityCommunitySearchResultComponent, AmitySocialGlobalSearchPage, AmityTopSearchBarComponent, AmityEmptyNewsFeedComponent, AmityGlobalFeedComponent, AmityMyCommunitiesComponent, AmityNewsFeedComponent, AmityPostContentComponent, AmityPostDetailPage, AmityPostTargetSelectionPageType, AmityCreatePostMenuComponent, AmityDetailedMediaAttachmentComponent, AmityMediaAttachmentComponent, AmityPostCommentComponent, AmityPostComposerPage, AmityPostEngagementActionsComponent, AmityPostTargetSelectionPage, AmityReactionListComponent, AmityStoryTargetSelectionPage, AmityUserSearchResultComponent, AmityMyCommunitiesSearchPage, AmityPostComposerMode, mediaAttachment, AmityExploreComponent, AmityPageRenderer, PostDetail, CommunityHome, UserProfile, AmityAllCategoriesPage, AmityCommunitiesByCategoryPage, CommunityProfilePage, AmityLivestreamPostTargetSelectionPage, AmityLivestreamTerminatedPage, AmityLivestreamPlayerPage, AmityPollTargetSelectionPage, AmityPollPostComposerPage, AmityCommunityFeedComponent, AmityCommunityHeaderComponent, AmityCommunityImageFeedComponent, AmityCommunityVideoFeedComponent, AmityThumbnailActionComponent, AmityUserProfilePage, AmityPostEngagementContentComponent, AmityPostTargetType, AmityCommunitySetupPage, AmityCommunityAddCategoryPage, AmityCommunityAddMemberPage, AmityCommunityPendingRequestPage, AmityCommunitySettingPage, AmityCommunityMembershipPage, AmityCommunityPostPermissionPage, AmityCommunityStorySettingPage, AmityCommunityNotificationSettingPage, AmityCommunityPostsNotificationSettingPage, AmityCommunityCommentsNotificationSettingPage, AmityCommunityStoriesNotificationSettingPage, AmityCommunityLivestreamsNotificationSettingPage, AmityCommunityPinnedPostComponent, AmityPendingPostListComponent, AmityGlobalStoryTabWrapper, };
11
+ export { AmityUiKitProvider, AmityUiKitSocial, AmityStoryTabComponent, AmityStoryTabComponentEnum, AmityCreateStoryPage, AmityDraftStoryPage, AmityViewStoryPage, AmitySocialHomePage, AmitySocialHomeTopNavigationComponent, AmityCommunitySearchResultComponent, AmitySocialGlobalSearchPage, AmityTopSearchBarComponent, AmityEmptyNewsFeedComponent, AmityGlobalFeedComponent, AmityMyCommunitiesComponent, AmityNewsFeedComponent, AmityPostContentComponent, AmityPostDetailPage, AmityPostTargetSelectionPageType, AmityCreatePostMenuComponent, AmityDetailedMediaAttachmentComponent, AmityMediaAttachmentComponent, AmityPostCommentComponent, AmityPostComposerPage, AmityPostEngagementActionsComponent, AmityPostTargetSelectionPage, AmityReactionListComponent, AmityStoryTargetSelectionPage, AmityUserSearchResultComponent, AmityMyCommunitiesSearchPage, AmityPostComposerMode, mediaAttachment, AmityExploreComponent, AmityPageRenderer, PostDetail, CommunityHome, UserProfile, AmityAllCategoriesPage, AmityCommunitiesByCategoryPage, CommunityProfilePage, AmityCreateLivestreamPage, AmityLivestreamPostTargetSelectionPage, AmityLivestreamTerminatedPage, AmityLivestreamPlayerPage, AmityPollTargetSelectionPage, AmityPollPostComposerPage, AmityCommunityFeedComponent, AmityCommunityHeaderComponent, AmityCommunityImageFeedComponent, AmityCommunityVideoFeedComponent, AmityThumbnailActionComponent, AmityUserProfilePage, AmityPostEngagementContentComponent, AmityPostTargetType, AmityCommunitySetupPage, AmityCommunityAddCategoryPage, AmityCommunityAddMemberPage, AmityCommunityPendingRequestPage, AmityCommunitySettingPage, AmityCommunityMembershipPage, AmityCommunityPostPermissionPage, AmityCommunityStorySettingPage, AmityCommunityNotificationSettingPage, AmityCommunityPostsNotificationSettingPage, AmityCommunityCommentsNotificationSettingPage, AmityCommunityStoriesNotificationSettingPage, AmityCommunityLivestreamsNotificationSettingPage, AmityCommunityPinnedPostComponent, AmityPendingPostListComponent, AmityGlobalStoryTabWrapper, };
12
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AA2BA,OAAO,kBAAkB,MAAM,mCAAmC,CAAC;AACnE,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AACvE,OAAO,iBAAiB,MAAM,+BAA+B,CAAC;AAC9D,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,aAAa,MAAM,2BAA2B,CAAC;AACtD,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,qCAAqC,EACrC,mCAAmC,EACnC,2BAA2B,EAC3B,0BAA0B,EAC1B,2BAA2B,EAC3B,wBAAwB,EACxB,2BAA2B,EAC3B,sBAAsB,EACtB,yBAAyB,EACzB,mBAAmB,EACnB,gCAAgC,EAChC,4BAA4B,EAC5B,qCAAqC,EACrC,6BAA6B,EAC7B,yBAAyB,EACzB,qBAAqB,EACrB,mCAAmC,EACnC,4BAA4B,EAC5B,0BAA0B,EAC1B,6BAA6B,EAC7B,8BAA8B,EAC9B,4BAA4B,EAC5B,qBAAqB,EACrB,sBAAsB,EACtB,8BAA8B,EAC9B,yBAAyB,IAAI,oBAAoB,EAEjD,sCAAsC,EACtC,6BAA6B,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B,iBAAiB,EACjB,UAAU,EACV,aAAa,EACb,WAAW,EACX,sBAAsB,EACtB,8BAA8B,EAC9B,oBAAoB,EACpB,yBAAyB,EACzB,sCAAsC,EACtC,6BAA6B,EAC7B,yBAAyB,EACzB,4BAA4B,EAC5B,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAC7B,gCAAgC,EAChC,gCAAgC,EAChC,6BAA6B,EAC7B,oBAAoB,EACpB,mCAAmC,EACnC,mBAAmB,EACnB,uBAAuB,EACvB,6BAA6B,EAC7B,2BAA2B,EAC3B,gCAAgC,EAChC,yBAAyB,EACzB,4BAA4B,EAC5B,gCAAgC,EAChC,8BAA8B,EAC9B,qCAAqC,EACrC,0CAA0C,EAC1C,6CAA6C,EAC7C,4CAA4C,EAC5C,gDAAgD,EAChD,iCAAiC,EACjC,6BAA6B,EAC7B,0BAA0B,GAC3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/CategorytList/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAY3D,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,UAAU,EAAE,EAAE,GAAG,qBA+EvD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/CategorytList/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAM3D,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,UAAU,EAAE,EAAE,GAAG,qBA8EvD"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/LivestreamPlayer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAkB3D,QAAA,MAAM,gBAAgB,GAAI;;;CAAqB,sBA2I9C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/screens/LivestreamPlayer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAe3D,QAAA,MAAM,gBAAgB,GAAI;;;CAAqB,sBAwI9C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  export declare const isTextPost: (post?: Amity.Post | null) => post is Amity.Post<"text">;
2
- export declare const isStreamPost: (post?: Amity.Post | null) => post is Amity.Post<"liveStream">;
2
+ export declare const isStreamPost: (post?: Amity.Post | null) => post is Amity.Post<"room">;
3
3
  export declare const isFilePost: (post?: Amity.Post | null) => post is Amity.Post<"file">;
4
4
  export declare const isImagePost: (post?: Amity.Post | null) => post is Amity.Post<"image">;
5
5
  export declare const isVideoPost: (post?: Amity.Post | null) => post is Amity.Post<"video">;
@@ -1 +1 @@
1
- {"version":3,"file":"postTypeChecker.d.ts","sourceRoot":"","sources":["../../../../src/util/postTypeChecker.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,GACrB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,CAI3B,CAAC;AAEF,eAAO,MAAM,YAAY,GACvB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,YAAY,CAOjC,CAAC;AAEF,eAAO,MAAM,UAAU,GACrB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,CAO3B,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAQ5B,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAO5B,CAAC;AAEF,eAAO,MAAM,UAAU,GACrB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,CAO3B,CAAC"}
1
+ {"version":3,"file":"postTypeChecker.d.ts","sourceRoot":"","sources":["../../../../src/util/postTypeChecker.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,GACrB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,CAI3B,CAAC;AAEF,eAAO,MAAM,YAAY,GACvB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,CAO3B,CAAC;AAEF,eAAO,MAAM,UAAU,GACrB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,CAO3B,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAQ5B,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAO5B,CAAC;AAEF,eAAO,MAAM,UAAU,GACrB,OAAO,KAAK,CAAC,IAAI,GAAG,IAAI,KACvB,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,CAO3B,CAAC"}
@@ -3,6 +3,7 @@ import { PageID } from '../../../enum/enumUIKitID';
3
3
  type AmityGlobalFeedComponentType = {
4
4
  pageId?: PageID;
5
5
  isShowStoryTab?: boolean;
6
+ GlobalFeedHeaderComponent?: React.ReactElement;
6
7
  };
7
8
  export declare const globalFeedPageLimit = 20;
8
9
  declare const _default: React.NamedExoticComponent<AmityGlobalFeedComponentType>;
@@ -1 +1 @@
1
- {"version":3,"file":"AmityGlobalFeedComponent.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Components/AmityGlobalFeedComponent/AmityGlobalFeedComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAKvE,OAAO,EAAe,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAchE,KAAK,4BAA4B,GAAG;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,mBAAmB,KAAK,CAAC;;AA6FtC,wBAA8C"}
1
+ {"version":3,"file":"AmityGlobalFeedComponent.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Components/AmityGlobalFeedComponent/AmityGlobalFeedComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAKvE,OAAO,EAAe,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAchE,KAAK,4BAA4B,GAAG;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,yBAAyB,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,mBAAmB,KAAK,CAAC;;AAiGtC,wBAA8C"}
@@ -2,9 +2,7 @@ import React from 'react';
2
2
  import { PageID } from '../../../enum';
3
3
  import { AmityPostCategory, AmityPostContentComponentStyleEnum } from '../../../enum/AmityPostContentComponentStyle';
4
4
  type AmityPostContentComponentProps = {
5
- post: Amity.Post & {
6
- structureType?: string;
7
- };
5
+ post: Amity.Post;
8
6
  pageId?: PageID;
9
7
  AmityPostContentComponentStyle?: AmityPostContentComponentStyleEnum;
10
8
  isCommunityNameShown?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"AmityPostContentComponent.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAkB7D,OAAO,EAA0B,MAAM,EAAE,MAAM,eAAe,CAAC;AAK/D,OAAO,EACL,iBAAiB,EACjB,kCAAkC,EACnC,MAAM,8CAA8C,CAAC;AAStD,KAAK,8BAA8B,GAAG;IACpC,IAAI,EAAE,KAAK,CAAC,IAAI,GAAG;QAAE,aAAa,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8BAA8B,CAAC,EAAE,kCAAkC,CAAC;IACpE,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B,CAAC;AACF,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;CACb;AACD,MAAM,WAAW,UAAU;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE;QACX,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH;;AA4OD,wBAA+C"}
1
+ {"version":3,"file":"AmityPostContentComponent.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAkB7D,OAAO,EAA0B,MAAM,EAAE,MAAM,eAAe,CAAC;AAK/D,OAAO,EACL,iBAAiB,EACjB,kCAAkC,EACnC,MAAM,8CAA8C,CAAC;AAStD,KAAK,8BAA8B,GAAG;IACpC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8BAA8B,CAAC,EAAE,kCAAkC,CAAC;IACpE,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B,CAAC;AACF,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;CACb;AACD,MAAM,WAAW,UAAU;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE;QACX,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH;;AA0OD,wBAA+C"}
@@ -3,6 +3,7 @@ export declare const useStyle: (themeStyle: MyMD3Theme) => {
3
3
  container: {
4
4
  display: "flex";
5
5
  flexDirection: "row";
6
+ alignItems: "center";
6
7
  width: number;
7
8
  paddingTop: number;
8
9
  paddingBottom: number;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Elements/ButtonWithIconElement/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEtE,eAAO,MAAM,QAAQ,GAAI,YAAY,UAAU;;;;;;;;;;;;;;;;;;;;;CAwB9C,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Elements/ButtonWithIconElement/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAEtE,eAAO,MAAM,QAAQ,GAAI,YAAY,UAAU;;;;;;;;;;;;;;;;;;;;;;CAyB9C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AmityCommunityProfilePage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.tsx"],"names":[],"mappings":"AAWA,OAAO,KAON,MAAM,OAAO,CAAC;AA2Bf,KAAK,qBAAqB,GAAG;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;;AAkNF,wBAA+C"}
1
+ {"version":3,"file":"AmityCommunityProfilePage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.tsx"],"names":[],"mappings":"AAWA,OAAO,KAON,MAAM,OAAO,CAAC;AA0Bf,KAAK,qBAAqB,GAAG;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;;AAkNF,wBAA+C"}
@@ -35,7 +35,7 @@ export declare const useStyles: (theme: MyMD3Theme) => {
35
35
  backgroundColor: string;
36
36
  borderTopLeftRadius: number;
37
37
  borderTopRightRadius: number;
38
- padding: number;
38
+ paddingHorizontal: number;
39
39
  minHeight: number;
40
40
  paddingBottom: number;
41
41
  };
@@ -1 +1 @@
1
- {"version":3,"file":"AmityCreateLivestreamPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AA0Df,iBAAS,yBAAyB,sBAggBjC;AAED,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"AmityCreateLivestreamPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAiExE,iBAAS,yBAAyB,sBAupBjC;AAED,eAAe,yBAAyB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface RoomViewProps {
3
+ onLocalParticipantReady?: (participant: any) => void;
4
+ isFrontCamera: boolean;
5
+ }
6
+ export declare const RoomView: React.FC<RoomViewProps>;
7
+ export {};
8
+ //# sourceMappingURL=RoomView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RoomView.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAMzC,UAAU,aAAa;IACrB,uBAAuB,CAAC,EAAE,CAAC,WAAW,EAAE,GAAG,KAAK,IAAI,CAAC;IACrD,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAoC5C,CAAC"}
@@ -16,7 +16,6 @@ export declare const useStyles: () => StyleSheet.NamedStyles<any> | StyleSheet.N
16
16
  };
17
17
  overlay: {
18
18
  flex: number;
19
- height: "100%";
20
19
  top: number;
21
20
  bottom: number;
22
21
  left: number;
@@ -154,12 +153,18 @@ export declare const useStyles: () => StyleSheet.NamedStyles<any> | StyleSheet.N
154
153
  text: {
155
154
  color: string;
156
155
  };
157
- timer: {
156
+ closeButton: {
158
157
  left: number;
159
158
  zIndex: number;
160
159
  position: "absolute";
161
160
  top: number;
162
161
  };
162
+ timer: {
163
+ right: number;
164
+ zIndex: number;
165
+ position: "absolute";
166
+ top: number;
167
+ };
163
168
  permission: {
164
169
  flex: number;
165
170
  top: number;
@@ -187,5 +192,68 @@ export declare const useStyles: () => StyleSheet.NamedStyles<any> | StyleSheet.N
187
192
  color: string;
188
193
  textAlign: "center";
189
194
  };
195
+ containerRoom: {
196
+ flex: number;
197
+ alignItems: "stretch";
198
+ justifyContent: "center";
199
+ padding: number;
200
+ };
201
+ participantView: {
202
+ flex: number;
203
+ margin: number;
204
+ height: number;
205
+ backgroundColor: string;
206
+ };
207
+ roomContainer: {
208
+ flex: number;
209
+ width: "100%";
210
+ height: "100%";
211
+ };
212
+ videoTrack: {
213
+ width: "100%";
214
+ height: "100%";
215
+ };
216
+ countdownOverlay: {
217
+ position: "absolute";
218
+ top: number;
219
+ left: number;
220
+ right: number;
221
+ bottom: number;
222
+ justifyContent: "center";
223
+ alignItems: "center";
224
+ backgroundColor: string;
225
+ zIndex: number;
226
+ };
227
+ countdownContainer: {
228
+ alignItems: "center";
229
+ gap: number;
230
+ };
231
+ countdownCircle: {
232
+ position: "relative";
233
+ alignItems: "center";
234
+ justifyContent: "center";
235
+ width: number;
236
+ height: number;
237
+ };
238
+ countdownNumberContainer: {
239
+ position: "absolute";
240
+ top: number;
241
+ left: number;
242
+ right: number;
243
+ bottom: number;
244
+ alignItems: "center";
245
+ justifyContent: "center";
246
+ };
247
+ countdownNumber: {
248
+ fontSize: number;
249
+ fontWeight: "700";
250
+ color: string;
251
+ };
252
+ countdownText: {
253
+ fontSize: number;
254
+ fontWeight: "500";
255
+ color: string;
256
+ textAlign: "center";
257
+ };
190
258
  }>;
191
259
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,UAAU,EAAE,MAAM,cAAc,CAAC;AAKtD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+LrB,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,UAAU,EAAE,MAAM,cAAc,CAAC;AAKtD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoQrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AmityLivestreamPlayerPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAyD3D,iBAAS,yBAAyB,sBA8KjC;AAED,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"AmityLivestreamPlayerPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAuB3D,iBAAS,yBAAyB,sBA8PjC;AAED,eAAe,yBAAyB,CAAC"}
@@ -10,6 +10,7 @@ export declare const useStyles: () => {
10
10
  steamEndContainer: {
11
11
  flex: number;
12
12
  justifyContent: "center";
13
+ backgroundColor: string;
13
14
  };
14
15
  indicator: {
15
16
  left: number;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AAGzE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8ErB,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AAGzE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgFrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AmityLivestreamPostTargetSelectionPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityLivestreamPostTargetSelectionPage/AmityLivestreamPostTargetSelectionPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;;AA+C1B,wBAAkE"}
1
+ {"version":3,"file":"AmityLivestreamPostTargetSelectionPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityLivestreamPostTargetSelectionPage/AmityLivestreamPostTargetSelectionPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;;AAqD1B,wBAAkE"}
@@ -1 +1 @@
1
- {"version":3,"file":"AmityPollTargetSelectionPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityPollTargetSelectionPage/AmityPollTargetSelectionPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;;AAuC1B,wBAAwD"}
1
+ {"version":3,"file":"AmityPollTargetSelectionPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityPollTargetSelectionPage/AmityPollTargetSelectionPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;;AA4C1B,wBAAwD"}
@@ -1 +1 @@
1
- {"version":3,"file":"AmityPostComposerPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAe1E,OAAO,EAAyB,yBAAyB,EAAE,MAAM,aAAa,CAAC;;AAyxB/E,wBAA2C"}
1
+ {"version":3,"file":"AmityPostComposerPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAe1E,OAAO,EAAyB,yBAAyB,EAAE,MAAM,aAAa,CAAC;;AA8xB/E,wBAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"AmityPostTargetSelectionPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityPostTargetSelectionPage/AmityPostTargetSelectionPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAU,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;kEAY5E;IACD,QAAQ,EAAE,gCAAgC,CAAC;CAC5C;AA4ED,wBAAwD"}
1
+ {"version":3,"file":"AmityPostTargetSelectionPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityPostTargetSelectionPage/AmityPostTargetSelectionPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAU,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;kEAY5E;IACD,QAAQ,EAAE,gCAAgC,CAAC;CAC5C;AAmFD,wBAAwD"}
@@ -1 +1 @@
1
- {"version":3,"file":"AmitySocialHomePage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmitySocialHomePage/AmitySocialHomePage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;;AA8G/B,wBAA+C"}
1
+ {"version":3,"file":"AmitySocialHomePage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmitySocialHomePage/AmitySocialHomePage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;;AAkH/B,wBAA+C"}
@@ -1 +1 @@
1
- {"version":3,"file":"AmityStoryTargetSelectionPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityStoryTargetSelectionPage/AmityStoryTargetSelectionPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;;AAmC1B,wBAAyD"}
1
+ {"version":3,"file":"AmityStoryTargetSelectionPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityStoryTargetSelectionPage/AmityStoryTargetSelectionPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;;AA0C1B,wBAAyD"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  interface ILivestreamContent {
3
- streamId: Amity.Stream['streamId'];
3
+ roomId: Amity.Room['roomId'];
4
4
  onPressPost: () => void;
5
5
  post: Amity.Post;
6
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v4/component/LivestreamContent/index.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAe1E,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IACnC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;CAClB;;AAoKD,wBAA6C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v4/component/LivestreamContent/index.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAe1E,UAAU,kBAAkB;IAC1B,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC7B,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;CAClB;;AAmKD,wBAA6C"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v4/component/PostContent/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAoB1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGlD,UAAU,YAAY;IACpB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,kBAAkB,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACzC;;AAiVD,wBAAuC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v4/component/PostContent/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAoB1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGlD,UAAU,YAAY;IACpB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,kBAAkB,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACzC;;AA+UD,wBAAuC"}
@@ -3,7 +3,12 @@ export declare const getActualImageUrl: (baseUrl: string, imageUrl?: string) =>
3
3
  export declare const getHtmlEntitiesDecodedText: (text?: string) => string;
4
4
  export declare const getContent: (left: string, right: string, type: string) => string;
5
5
  export declare const getImageSize: (url: string) => Promise<Size>;
6
- export declare const getPreviewData: (text: string, requestTimeout?: number) => Promise<PreviewData>;
6
+ export declare const getPreviewData: (text: string) => Promise<PreviewData | {
7
+ description: any;
8
+ image: any;
9
+ link: string;
10
+ title: any;
11
+ }>;
7
12
  export declare const getPreviewDataImage: (url?: string) => Promise<PreviewDataImage>;
8
13
  export declare const oneOf: <T extends (...args: A) => any, U, A extends any[]>(truthy: T | undefined, falsy: U) => (...args: Parameters<T>) => ReturnType<T> | U;
9
14
  export declare const REGEX_EMAIL: RegExp;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/v4/component/PreviewLink/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE9D,eAAO,MAAM,iBAAiB,GAAI,SAAS,MAAM,EAAE,WAAW,MAAM,WAkBnE,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,OAAO,MAAM,WAKvD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,MAAM,MAAM,EAAE,OAAO,MAAM,EAAE,MAAM,MAAM,WAOnE,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,kBAWvC,CAAC;AAIF,eAAO,MAAM,cAAc,GAAU,MAAM,MAAM,EAAE,uBAAqB,yBAsIvE,CAAC;AAGF,eAAO,MAAM,mBAAmB,GAAU,MAAM,MAAM,8BAgBrD,CAAC;AAEF,eAAO,MAAM,KAAK,GACf,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,GAAG,EAAE,CAAC,EAAE,CAAC,SAAS,GAAG,EAAE,EAChD,QAAQ,CAAC,GAAG,SAAS,EACrB,OAAO,CAAC,MAET,GAAG,MAAM,UAAU,CAAC,CAAC,CAAC,KAAG,UAAU,CAAC,CAAC,CAAC,GAAG,CAEzC,CAAC;AAEJ,eAAO,MAAM,WAAW,QAC+B,CAAC;AACxD,eAAO,MAAM,wBAAwB,QAAc,CAAC;AAEpD,eAAO,MAAM,eAAe,QAAsC,CAAC;AACnE,eAAO,MAAM,UAAU,QACsE,CAAC;AAE9F,eAAO,MAAM,UAAU,QAC+C,CAAC;AACvE,eAAO,MAAM,WAAW,QAA8B,CAAC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