@amityco/react-native-social-uikit 4.0.0-dc7783d.0 → 4.0.0-eaa97a5.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.
- package/README.md +14 -14
- package/lib/commonjs/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.js +1 -1
- package/lib/commonjs/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.js.map +1 -1
- package/lib/commonjs/components/MediaSection/index.js +3 -3
- package/lib/commonjs/components/MediaSection/index.js.map +1 -1
- package/lib/commonjs/components/PostTypeChoiceModal/PostTypeChoiceModal.js +14 -5
- package/lib/commonjs/components/PostTypeChoiceModal/PostTypeChoiceModal.js.map +1 -1
- package/lib/commonjs/components/PostTypeChoiceModal/style.js +1 -2
- package/lib/commonjs/components/PostTypeChoiceModal/style.js.map +1 -1
- package/lib/commonjs/components/Social/PostList/index.js +1 -3
- package/lib/commonjs/components/Social/PostList/index.js.map +1 -1
- package/lib/commonjs/index.js +6 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/screens/CategorytList/index.js.map +1 -1
- package/lib/commonjs/screens/CreateLivestream/CreateLivestream.js +16 -16
- package/lib/commonjs/screens/CreateLivestream/CreateLivestream.js.map +1 -1
- package/lib/commonjs/screens/LivestreamPlayer/index.js +3 -6
- package/lib/commonjs/screens/LivestreamPlayer/index.js.map +1 -1
- package/lib/commonjs/snippet/AmityCommunitySearchResultComponent.js +3 -3
- package/lib/commonjs/snippet/AmityCommunitySearchResultComponent.js.map +1 -1
- package/lib/commonjs/snippet/AmityCreatePostMenuComponent.js +3 -3
- package/lib/commonjs/snippet/AmityCreatePostMenuComponent.js.map +1 -1
- package/lib/commonjs/snippet/AmityDetailedMediaAttachmentComponent.js +4 -4
- package/lib/commonjs/snippet/AmityDetailedMediaAttachmentComponent.js.map +1 -1
- package/lib/commonjs/snippet/AmityEmptyNewsFeedComponent.js +3 -3
- package/lib/commonjs/snippet/AmityEmptyNewsFeedComponent.js.map +1 -1
- package/lib/commonjs/snippet/AmityGlobalFeedComponent.js +3 -3
- package/lib/commonjs/snippet/AmityGlobalFeedComponent.js.map +1 -1
- package/lib/commonjs/snippet/AmityMediaAttachmentComponent.js +4 -4
- package/lib/commonjs/snippet/AmityMediaAttachmentComponent.js.map +1 -1
- package/lib/commonjs/snippet/AmityMyCommunitiesComponent.js +3 -3
- package/lib/commonjs/snippet/AmityMyCommunitiesComponent.js.map +1 -1
- package/lib/commonjs/snippet/AmityMyCommunitiesSearchPage.js +3 -3
- package/lib/commonjs/snippet/AmityMyCommunitiesSearchPage.js.map +1 -1
- package/lib/commonjs/snippet/AmityNewsFeedComponent.js +3 -3
- package/lib/commonjs/snippet/AmityNewsFeedComponent.js.map +1 -1
- package/lib/commonjs/snippet/AmityPostComposerPage.js +4 -4
- package/lib/commonjs/snippet/AmityPostComposerPage.js.map +1 -1
- package/lib/commonjs/snippet/AmityPostContentComponent.js +3 -3
- package/lib/commonjs/snippet/AmityPostContentComponent.js.map +1 -1
- package/lib/commonjs/snippet/AmityPostDetailPage.js +3 -3
- package/lib/commonjs/snippet/AmityPostDetailPage.js.map +1 -1
- package/lib/commonjs/snippet/AmityPostTargetSelectionPage.js +4 -4
- package/lib/commonjs/snippet/AmityPostTargetSelectionPage.js.map +1 -1
- package/lib/commonjs/snippet/AmityReactionListComponent.js +3 -3
- package/lib/commonjs/snippet/AmityReactionListComponent.js.map +1 -1
- package/lib/commonjs/snippet/AmitySocialGlobalSearchPage.js +3 -3
- package/lib/commonjs/snippet/AmitySocialGlobalSearchPage.js.map +1 -1
- package/lib/commonjs/snippet/AmitySocialHomePage.js +3 -3
- package/lib/commonjs/snippet/AmitySocialHomePage.js.map +1 -1
- package/lib/commonjs/snippet/AmitySocialHomeTopNavigationComponent.js +3 -3
- package/lib/commonjs/snippet/AmitySocialHomeTopNavigationComponent.js.map +1 -1
- package/lib/commonjs/snippet/AmityStoryTargetSelectionPage.js +3 -3
- package/lib/commonjs/snippet/AmityStoryTargetSelectionPage.js.map +1 -1
- package/lib/commonjs/snippet/AmityTopSearchBarComponent.js +3 -3
- package/lib/commonjs/snippet/AmityTopSearchBarComponent.js.map +1 -1
- package/lib/commonjs/snippet/AmityUserSearchResultComponent.js +3 -3
- package/lib/commonjs/snippet/AmityUserSearchResultComponent.js.map +1 -1
- package/lib/commonjs/svg/svg-xml-list.js +1 -1
- package/lib/commonjs/util/postTypeChecker.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Components/AmityCommunityFeedComponent/AmityCommunityFeedComponent.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Components/AmityCommunityProfileTabComponent/AmityCommunityProfileTabComponent.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.js +11 -9
- package/lib/commonjs/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Components/AmityGlobalFeedComponent/AmityGlobalFeedComponent.js +4 -3
- package/lib/commonjs/v4/PublicApi/Components/AmityGlobalFeedComponent/AmityGlobalFeedComponent.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.js +0 -1
- package/lib/commonjs/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/DetailStyle.js +1 -1
- package/lib/commonjs/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/DetailStyle.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/FeedStyle.js +2 -1
- package/lib/commonjs/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/FeedStyle.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Components/AmityReactionListComponent/AmityReactionListComponent.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Elements/ButtonWithIconElement/styles.js +3 -2
- package/lib/commonjs/v4/PublicApi/Elements/ButtonWithIconElement/styles.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.js +28 -25
- package/lib/commonjs/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.js +2 -2
- package/lib/commonjs/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.js +206 -68
- package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.js +50 -0
- package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.js.map +1 -0
- package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.js +71 -3
- package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.js +150 -124
- package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.js +2 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPostTargetSelectionPage/AmityLivestreamPostTargetSelectionPage.js +7 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPostTargetSelectionPage/AmityLivestreamPostTargetSelectionPage.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityPollTargetSelectionPage/AmityPollTargetSelectionPage.js +7 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityPollTargetSelectionPage/AmityPollTargetSelectionPage.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.js +9 -2
- package/lib/commonjs/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityPostTargetSelectionPage/AmityPostTargetSelectionPage.js +7 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityPostTargetSelectionPage/AmityPostTargetSelectionPage.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmitySocialHomePage/AmitySocialHomePage.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityStoryTargetSelectionPage/AmityStoryTargetSelectionPage.js +7 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityStoryTargetSelectionPage/AmityStoryTargetSelectionPage.js.map +1 -1
- package/lib/commonjs/v4/component/LivestreamContent/index.js +12 -12
- package/lib/commonjs/v4/component/LivestreamContent/index.js.map +1 -1
- package/lib/commonjs/v4/component/MyStories/StoryCircleItem.js.map +1 -1
- package/lib/commonjs/v4/component/PostContent/index.js +4 -4
- package/lib/commonjs/v4/component/PostContent/index.js.map +1 -1
- package/lib/commonjs/v4/component/PostMenu/index.js +2 -2
- package/lib/commonjs/v4/component/PostMenu/index.js.map +1 -1
- package/lib/commonjs/v4/component/PreviewLink/LinkPreview.js +3 -3
- package/lib/commonjs/v4/component/PreviewLink/LinkPreview.js.map +1 -1
- package/lib/commonjs/v4/component/PreviewLink/utils.js +9 -73
- package/lib/commonjs/v4/component/PreviewLink/utils.js.map +1 -1
- package/lib/commonjs/v4/component/TargetSelectionPage/TargetSelectionPage.js +10 -4
- package/lib/commonjs/v4/component/TargetSelectionPage/TargetSelectionPage.js.map +1 -1
- package/lib/commonjs/v4/component/Toast/index.js +4 -4
- package/lib/commonjs/v4/component/Toast/index.js.map +1 -1
- package/lib/commonjs/v4/component/Toast/styles.js +2 -2
- package/lib/commonjs/v4/component/Toast/styles.js.map +1 -1
- package/lib/commonjs/v4/elements/ActionButton/ActionButton.js.map +1 -1
- package/lib/commonjs/v4/elements/ImageViewer/ImageViewer.js.map +1 -1
- package/lib/commonjs/v4/elements/VideoViewer/VideoViewer.js.map +1 -1
- package/lib/commonjs/v4/enum/roomStatus.js +14 -0
- package/lib/commonjs/v4/enum/roomStatus.js.map +1 -0
- package/lib/commonjs/v4/features/community/Membership/components/MemberItem/MemberItem.js.map +1 -1
- package/lib/commonjs/v4/features/community/shared/components/Privacy/index.js.map +1 -1
- package/lib/commonjs/v4/hook/index.js +22 -0
- package/lib/commonjs/v4/hook/index.js.map +1 -1
- package/lib/commonjs/v4/hook/useCustomRankingGlobalFeed.js +1 -3
- package/lib/commonjs/v4/hook/useCustomRankingGlobalFeed.js.map +1 -1
- package/lib/commonjs/v4/hook/useImagePicker.js.map +1 -1
- package/lib/commonjs/v4/hook/usePostSubscription.js +38 -0
- package/lib/commonjs/v4/hook/usePostSubscription.js.map +1 -0
- package/lib/commonjs/v4/hook/useRoomSubscription.js +22 -0
- package/lib/commonjs/v4/hook/useRoomSubscription.js.map +1 -0
- package/lib/commonjs/v4/index.js +7 -0
- package/lib/commonjs/v4/index.js.map +1 -1
- package/lib/commonjs/v4/providers/BehaviourProvider.js +2 -1
- package/lib/commonjs/v4/providers/BehaviourProvider.js.map +1 -1
- package/lib/commonjs/v4/stores/slices/toast.js +4 -1
- package/lib/commonjs/v4/stores/slices/toast.js.map +1 -1
- package/lib/module/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.js +1 -1
- package/lib/module/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.js.map +1 -1
- package/lib/module/components/MediaSection/index.js +3 -3
- package/lib/module/components/MediaSection/index.js.map +1 -1
- package/lib/module/components/PostTypeChoiceModal/PostTypeChoiceModal.js +15 -8
- package/lib/module/components/PostTypeChoiceModal/PostTypeChoiceModal.js.map +1 -1
- package/lib/module/components/PostTypeChoiceModal/style.js +1 -2
- package/lib/module/components/PostTypeChoiceModal/style.js.map +1 -1
- package/lib/module/components/Social/PostList/index.js +1 -3
- package/lib/module/components/Social/PostList/index.js.map +1 -1
- package/lib/module/index.js +2 -6
- package/lib/module/index.js.map +1 -1
- package/lib/module/screens/CategorytList/index.js.map +1 -1
- package/lib/module/screens/CreateLivestream/CreateLivestream.js +17 -17
- package/lib/module/screens/CreateLivestream/CreateLivestream.js.map +1 -1
- package/lib/module/screens/LivestreamPlayer/index.js +4 -8
- package/lib/module/screens/LivestreamPlayer/index.js.map +1 -1
- package/lib/module/snippet/AmityCommunitySearchResultComponent.js +1 -1
- package/lib/module/snippet/AmityCommunitySearchResultComponent.js.map +1 -1
- package/lib/module/snippet/AmityCreatePostMenuComponent.js +1 -1
- package/lib/module/snippet/AmityCreatePostMenuComponent.js.map +1 -1
- package/lib/module/snippet/AmityDetailedMediaAttachmentComponent.js +1 -1
- package/lib/module/snippet/AmityDetailedMediaAttachmentComponent.js.map +1 -1
- package/lib/module/snippet/AmityEmptyNewsFeedComponent.js +1 -1
- package/lib/module/snippet/AmityEmptyNewsFeedComponent.js.map +1 -1
- package/lib/module/snippet/AmityGlobalFeedComponent.js +1 -1
- package/lib/module/snippet/AmityGlobalFeedComponent.js.map +1 -1
- package/lib/module/snippet/AmityMediaAttachmentComponent.js +1 -1
- package/lib/module/snippet/AmityMediaAttachmentComponent.js.map +1 -1
- package/lib/module/snippet/AmityMyCommunitiesComponent.js +1 -1
- package/lib/module/snippet/AmityMyCommunitiesComponent.js.map +1 -1
- package/lib/module/snippet/AmityMyCommunitiesSearchPage.js +1 -1
- package/lib/module/snippet/AmityMyCommunitiesSearchPage.js.map +1 -1
- package/lib/module/snippet/AmityNewsFeedComponent.js +1 -1
- package/lib/module/snippet/AmityNewsFeedComponent.js.map +1 -1
- package/lib/module/snippet/AmityPostComposerPage.js +1 -1
- package/lib/module/snippet/AmityPostComposerPage.js.map +1 -1
- package/lib/module/snippet/AmityPostContentComponent.js +1 -1
- package/lib/module/snippet/AmityPostContentComponent.js.map +1 -1
- package/lib/module/snippet/AmityPostDetailPage.js +1 -1
- package/lib/module/snippet/AmityPostDetailPage.js.map +1 -1
- package/lib/module/snippet/AmityPostTargetSelectionPage.js +1 -1
- package/lib/module/snippet/AmityPostTargetSelectionPage.js.map +1 -1
- package/lib/module/snippet/AmityReactionListComponent.js +1 -1
- package/lib/module/snippet/AmityReactionListComponent.js.map +1 -1
- package/lib/module/snippet/AmitySocialGlobalSearchPage.js +1 -1
- package/lib/module/snippet/AmitySocialGlobalSearchPage.js.map +1 -1
- package/lib/module/snippet/AmitySocialHomePage.js +1 -1
- package/lib/module/snippet/AmitySocialHomePage.js.map +1 -1
- package/lib/module/snippet/AmitySocialHomeTopNavigationComponent.js +1 -1
- package/lib/module/snippet/AmitySocialHomeTopNavigationComponent.js.map +1 -1
- package/lib/module/snippet/AmityStoryTargetSelectionPage.js +1 -1
- package/lib/module/snippet/AmityStoryTargetSelectionPage.js.map +1 -1
- package/lib/module/snippet/AmityTopSearchBarComponent.js +1 -1
- package/lib/module/snippet/AmityTopSearchBarComponent.js.map +1 -1
- package/lib/module/snippet/AmityUserSearchResultComponent.js +1 -1
- package/lib/module/snippet/AmityUserSearchResultComponent.js.map +1 -1
- package/lib/module/svg/svg-xml-list.js +1 -1
- package/lib/module/util/postTypeChecker.js.map +1 -1
- package/lib/module/v4/PublicApi/Components/AmityCommunityFeedComponent/AmityCommunityFeedComponent.js.map +1 -1
- package/lib/module/v4/PublicApi/Components/AmityCommunityProfileTabComponent/AmityCommunityProfileTabComponent.js.map +1 -1
- package/lib/module/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.js +11 -9
- package/lib/module/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.js.map +1 -1
- package/lib/module/v4/PublicApi/Components/AmityGlobalFeedComponent/AmityGlobalFeedComponent.js +5 -4
- package/lib/module/v4/PublicApi/Components/AmityGlobalFeedComponent/AmityGlobalFeedComponent.js.map +1 -1
- package/lib/module/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.js +0 -1
- package/lib/module/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.js.map +1 -1
- package/lib/module/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/DetailStyle.js +1 -1
- package/lib/module/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/DetailStyle.js.map +1 -1
- package/lib/module/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/FeedStyle.js +2 -1
- package/lib/module/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/FeedStyle.js.map +1 -1
- package/lib/module/v4/PublicApi/Components/AmityReactionListComponent/AmityReactionListComponent.js.map +1 -1
- package/lib/module/v4/PublicApi/Elements/ButtonWithIconElement/styles.js +3 -2
- package/lib/module/v4/PublicApi/Elements/ButtonWithIconElement/styles.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.js +29 -26
- package/lib/module/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.js +2 -2
- package/lib/module/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.js +211 -72
- package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.js +42 -0
- package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.js.map +1 -0
- package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.js +71 -3
- package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.js +152 -126
- package/lib/module/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.js +2 -1
- package/lib/module/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityLivestreamPostTargetSelectionPage/AmityLivestreamPostTargetSelectionPage.js +7 -1
- package/lib/module/v4/PublicApi/Pages/AmityLivestreamPostTargetSelectionPage/AmityLivestreamPostTargetSelectionPage.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityPollTargetSelectionPage/AmityPollTargetSelectionPage.js +7 -1
- package/lib/module/v4/PublicApi/Pages/AmityPollTargetSelectionPage/AmityPollTargetSelectionPage.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.js +9 -2
- package/lib/module/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityPostTargetSelectionPage/AmityPostTargetSelectionPage.js +7 -1
- package/lib/module/v4/PublicApi/Pages/AmityPostTargetSelectionPage/AmityPostTargetSelectionPage.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmitySocialHomePage/AmitySocialHomePage.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityStoryTargetSelectionPage/AmityStoryTargetSelectionPage.js +7 -1
- package/lib/module/v4/PublicApi/Pages/AmityStoryTargetSelectionPage/AmityStoryTargetSelectionPage.js.map +1 -1
- package/lib/module/v4/component/LivestreamContent/index.js +13 -13
- package/lib/module/v4/component/LivestreamContent/index.js.map +1 -1
- package/lib/module/v4/component/MyStories/StoryCircleItem.js.map +1 -1
- package/lib/module/v4/component/PostContent/index.js +4 -4
- package/lib/module/v4/component/PostContent/index.js.map +1 -1
- package/lib/module/v4/component/PostMenu/index.js +2 -2
- package/lib/module/v4/component/PostMenu/index.js.map +1 -1
- package/lib/module/v4/component/PreviewLink/LinkPreview.js +3 -3
- package/lib/module/v4/component/PreviewLink/LinkPreview.js.map +1 -1
- package/lib/module/v4/component/PreviewLink/utils.js +9 -73
- package/lib/module/v4/component/PreviewLink/utils.js.map +1 -1
- package/lib/module/v4/component/TargetSelectionPage/TargetSelectionPage.js +10 -4
- package/lib/module/v4/component/TargetSelectionPage/TargetSelectionPage.js.map +1 -1
- package/lib/module/v4/component/Toast/index.js +4 -4
- package/lib/module/v4/component/Toast/index.js.map +1 -1
- package/lib/module/v4/component/Toast/styles.js +2 -2
- package/lib/module/v4/component/Toast/styles.js.map +1 -1
- package/lib/module/v4/elements/ActionButton/ActionButton.js.map +1 -1
- package/lib/module/v4/elements/ImageViewer/ImageViewer.js.map +1 -1
- package/lib/module/v4/elements/VideoViewer/VideoViewer.js.map +1 -1
- package/lib/module/v4/enum/roomStatus.js +8 -0
- package/lib/module/v4/enum/roomStatus.js.map +1 -0
- package/lib/module/v4/features/community/Membership/components/MemberItem/MemberItem.js.map +1 -1
- package/lib/module/v4/features/community/shared/components/Privacy/index.js.map +1 -1
- package/lib/module/v4/hook/index.js +2 -0
- package/lib/module/v4/hook/index.js.map +1 -1
- package/lib/module/v4/hook/useCustomRankingGlobalFeed.js +1 -3
- package/lib/module/v4/hook/useCustomRankingGlobalFeed.js.map +1 -1
- package/lib/module/v4/hook/useImagePicker.js.map +1 -1
- package/lib/module/v4/hook/usePostSubscription.js +31 -0
- package/lib/module/v4/hook/usePostSubscription.js.map +1 -0
- package/lib/module/v4/hook/useRoomSubscription.js +15 -0
- package/lib/module/v4/hook/useRoomSubscription.js.map +1 -0
- package/lib/module/v4/index.js +1 -1
- package/lib/module/v4/index.js.map +1 -1
- package/lib/module/v4/providers/BehaviourProvider.js +2 -1
- package/lib/module/v4/providers/BehaviourProvider.js.map +1 -1
- package/lib/module/v4/stores/slices/toast.js +4 -1
- package/lib/module/v4/stores/slices/toast.js.map +1 -1
- package/lib/typescript/src/components/MediaSection/index.d.ts.map +1 -1
- package/lib/typescript/src/components/PostTypeChoiceModal/style.d.ts +1 -2
- package/lib/typescript/src/components/PostTypeChoiceModal/style.d.ts.map +1 -1
- package/lib/typescript/src/components/Social/PostList/index.d.ts +1 -3
- package/lib/typescript/src/components/Social/PostList/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +2 -2
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/CategorytList/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/LivestreamPlayer/index.d.ts.map +1 -1
- package/lib/typescript/src/util/postTypeChecker.d.ts +1 -1
- package/lib/typescript/src/util/postTypeChecker.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Components/AmityGlobalFeedComponent/AmityGlobalFeedComponent.d.ts +1 -0
- package/lib/typescript/src/v4/PublicApi/Components/AmityGlobalFeedComponent/AmityGlobalFeedComponent.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.d.ts +1 -3
- package/lib/typescript/src/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Elements/ButtonWithIconElement/styles.d.ts +1 -0
- package/lib/typescript/src/v4/PublicApi/Elements/ButtonWithIconElement/styles.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.d.ts +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.d.ts +8 -0
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.d.ts.map +1 -0
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.d.ts +70 -2
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.d.ts +1 -0
- package/lib/typescript/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityLivestreamPostTargetSelectionPage/AmityLivestreamPostTargetSelectionPage.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityPollTargetSelectionPage/AmityPollTargetSelectionPage.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityPostTargetSelectionPage/AmityPostTargetSelectionPage.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmitySocialHomePage/AmitySocialHomePage.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityStoryTargetSelectionPage/AmityStoryTargetSelectionPage.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/LivestreamContent/index.d.ts +1 -1
- package/lib/typescript/src/v4/component/LivestreamContent/index.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/PostContent/index.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/PreviewLink/utils.d.ts +6 -1
- package/lib/typescript/src/v4/component/PreviewLink/utils.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/TargetSelectionPage/TargetSelectionPage.d.ts +2 -1
- package/lib/typescript/src/v4/component/TargetSelectionPage/TargetSelectionPage.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/Toast/styles.d.ts +1 -1
- package/lib/typescript/src/v4/component/Toast/styles.d.ts.map +1 -1
- package/lib/typescript/src/v4/elements/ActionButton/ActionButton.d.ts.map +1 -1
- package/lib/typescript/src/v4/enum/roomStatus.d.ts +8 -0
- package/lib/typescript/src/v4/enum/roomStatus.d.ts.map +1 -0
- package/lib/typescript/src/v4/features/community/Membership/components/MemberItem/MemberItem.d.ts.map +1 -1
- package/lib/typescript/src/v4/features/community/shared/components/Privacy/index.d.ts.map +1 -1
- package/lib/typescript/src/v4/hook/index.d.ts +2 -0
- package/lib/typescript/src/v4/hook/index.d.ts.map +1 -1
- package/lib/typescript/src/v4/hook/useImagePicker.d.ts.map +1 -1
- package/lib/typescript/src/v4/hook/usePendingPostQuery.d.ts +3 -0
- package/lib/typescript/src/v4/hook/usePendingPostQuery.d.ts.map +1 -1
- package/lib/typescript/src/v4/hook/usePostSubscription.d.ts +4 -0
- package/lib/typescript/src/v4/hook/usePostSubscription.d.ts.map +1 -0
- package/lib/typescript/src/v4/hook/useRoomSubscription.d.ts +4 -0
- package/lib/typescript/src/v4/hook/useRoomSubscription.d.ts.map +1 -0
- package/lib/typescript/src/v4/index.d.ts +1 -0
- package/lib/typescript/src/v4/index.d.ts.map +1 -1
- package/lib/typescript/src/v4/providers/BehaviourProvider.d.ts.map +1 -1
- package/lib/typescript/src/v4/routes/RouteParamList.d.ts +1 -1
- package/lib/typescript/src/v4/routes/RouteParamList.d.ts.map +1 -1
- package/lib/typescript/src/v4/stores/slices/toast.d.ts +1 -0
- package/lib/typescript/src/v4/stores/slices/toast.d.ts.map +1 -1
- package/lib/typescript/src/v4/types/behaviour.interface.d.ts +7 -0
- package/lib/typescript/src/v4/types/behaviour.interface.d.ts.map +1 -1
- package/package.json +6 -3
- package/src/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.tsx +1 -1
- package/src/components/MediaSection/index.tsx +4 -6
- package/src/components/PostTypeChoiceModal/PostTypeChoiceModal.tsx +15 -15
- package/src/components/PostTypeChoiceModal/style.ts +1 -2
- package/src/components/Social/PostList/index.tsx +1 -4
- package/src/index.tsx +2 -2
- package/src/screens/CategorytList/index.tsx +7 -14
- package/src/screens/CreateLivestream/CreateLivestream.tsx +17 -17
- package/src/screens/LivestreamPlayer/index.tsx +9 -15
- package/src/snippet/AmityCommunitySearchResultComponent.tsx +1 -1
- package/src/snippet/AmityCreatePostMenuComponent.tsx +1 -1
- package/src/snippet/AmityDetailedMediaAttachmentComponent.tsx +1 -1
- package/src/snippet/AmityEmptyNewsFeedComponent.tsx +1 -1
- package/src/snippet/AmityGlobalFeedComponent.tsx +1 -1
- package/src/snippet/AmityMediaAttachmentComponent.tsx +1 -1
- package/src/snippet/AmityMyCommunitiesComponent.tsx +1 -1
- package/src/snippet/AmityMyCommunitiesSearchPage.tsx +1 -1
- package/src/snippet/AmityNewsFeedComponent.tsx +1 -1
- package/src/snippet/AmityPostComposerPage.tsx +1 -1
- package/src/snippet/AmityPostContentComponent.tsx +1 -1
- package/src/snippet/AmityPostDetailPage.tsx +1 -1
- package/src/snippet/AmityPostTargetSelectionPage.tsx +1 -1
- package/src/snippet/AmityReactionListComponent.tsx +1 -1
- package/src/snippet/AmitySocialGlobalSearchPage.tsx +1 -1
- package/src/snippet/AmitySocialHomePage.tsx +1 -1
- package/src/snippet/AmitySocialHomeTopNavigationComponent.tsx +1 -1
- package/src/snippet/AmityStoryTargetSelectionPage.tsx +1 -1
- package/src/snippet/AmityTopSearchBarComponent.tsx +1 -1
- package/src/snippet/AmityUserSearchResultComponent.tsx +1 -1
- package/src/svg/svg-xml-list.ts +1 -1
- package/src/util/postTypeChecker.ts +1 -1
- package/src/v4/PublicApi/Components/AmityCommunityFeedComponent/AmityCommunityFeedComponent.tsx +2 -2
- package/src/v4/PublicApi/Components/AmityCommunityProfileTabComponent/AmityCommunityProfileTabComponent.tsx +97 -97
- package/src/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.tsx +10 -10
- package/src/v4/PublicApi/Components/AmityGlobalFeedComponent/AmityGlobalFeedComponent.tsx +12 -7
- package/src/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.tsx +1 -3
- package/src/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/DetailStyle.tsx +1 -1
- package/src/v4/PublicApi/Components/AmityPostEngagementActionsComponent/Components/FeedStyle.tsx +1 -1
- package/src/v4/PublicApi/Components/AmityReactionListComponent/AmityReactionListComponent.tsx +9 -9
- package/src/v4/PublicApi/Elements/ButtonWithIconElement/styles.ts +3 -2
- package/src/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.tsx +24 -25
- package/src/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.ts +2 -2
- package/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.tsx +241 -89
- package/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.tsx +48 -0
- package/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.ts +72 -3
- package/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.tsx +201 -154
- package/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.ts +2 -0
- package/src/v4/PublicApi/Pages/AmityLivestreamPostTargetSelectionPage/AmityLivestreamPostTargetSelectionPage.tsx +6 -0
- package/src/v4/PublicApi/Pages/AmityPollTargetSelectionPage/AmityPollTargetSelectionPage.tsx +6 -1
- package/src/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.tsx +7 -2
- package/src/v4/PublicApi/Pages/AmityPostTargetSelectionPage/AmityPostTargetSelectionPage.tsx +7 -0
- package/src/v4/PublicApi/Pages/AmitySocialHomePage/AmitySocialHomePage.tsx +5 -1
- package/src/v4/PublicApi/Pages/AmityStoryTargetSelectionPage/AmityStoryTargetSelectionPage.tsx +7 -0
- package/src/v4/component/LivestreamContent/index.tsx +21 -22
- package/src/v4/component/MyStories/StoryCircleItem.tsx +8 -8
- package/src/v4/component/PostContent/index.tsx +6 -8
- package/src/v4/component/PostMenu/index.tsx +2 -2
- package/src/v4/component/PreviewLink/LinkPreview.tsx +3 -3
- package/src/v4/component/PreviewLink/utils.ts +9 -108
- package/src/v4/component/TargetSelectionPage/TargetSelectionPage.tsx +12 -4
- package/src/v4/component/Toast/index.tsx +1 -1
- package/src/v4/component/Toast/styles.ts +2 -2
- package/src/v4/elements/ActionButton/ActionButton.tsx +4 -1
- package/src/v4/elements/ImageViewer/ImageViewer.tsx +1 -1
- package/src/v4/elements/VideoViewer/VideoViewer.tsx +1 -1
- package/src/v4/enum/roomStatus.ts +7 -0
- package/src/v4/features/community/Membership/components/MemberItem/MemberItem.tsx +11 -2
- package/src/v4/features/community/shared/components/Privacy/index.tsx +4 -1
- package/src/v4/hook/index.ts +2 -0
- package/src/v4/hook/useCustomRankingGlobalFeed.ts +1 -1
- package/src/v4/hook/useImagePicker.ts +4 -1
- package/src/v4/hook/usePostSubscription.ts +34 -0
- package/src/v4/hook/useRoomSubscription.ts +19 -0
- package/src/v4/index.tsx +1 -1
- package/src/v4/providers/BehaviourProvider.tsx +1 -0
- package/src/v4/routes/RouteParamList.tsx +1 -1
- package/src/v4/stores/slices/toast.ts +5 -0
- package/src/v4/types/behaviour.interface.ts +7 -0
- package/uikit.config.json +1 -1
- package/lib/commonjs/v4/enum/livestreamStatus.js +0 -13
- package/lib/commonjs/v4/enum/livestreamStatus.js.map +0 -1
- package/lib/module/v4/enum/livestreamStatus.js +0 -7
- package/lib/module/v4/enum/livestreamStatus.js.map +0 -1
- package/lib/typescript/src/v4/enum/livestreamStatus.d.ts +0 -7
- package/lib/typescript/src/v4/enum/livestreamStatus.d.ts.map +0 -1
- 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,EAElBC,YAAY,QAEP,2BAA2B;AAElC,SAASC,gBAAgB,QAAQ,UAAU;AAC3C,SAASC,mBAAmB,QAAQ,kBAAkB;AACtD,
|
|
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,CAAC,CAAC;EACrD,MAAM,CAACK,QAAQ,EAAEC,WAAW,CAAC,GAAGZ,QAAQ,CAAS,CAAC,CAAC;EACnD,MAAM,CAACa,SAAS,EAAEC,YAAY,CAAC,GAAGd,QAAQ,CAAU,KAAK,CAAC;EAC1D,MAAM,CAACe,QAAQ,EAAEC,WAAW,CAAC,GAAGhB,QAAQ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Aa;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":[]}
|
package/lib/module/v4/index.js
CHANGED
|
@@ -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
|
-
|
|
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,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
|
|
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,SA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c,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;
|
|
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,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AAC6B,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;
|
|
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;;
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/components/PostTypeChoiceModal/style.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS
|
|
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,GAAG,SAAS,CAAC;IAC7B,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,aAAa,GAAG,SAAS,CAAC;IAChC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,UAA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CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,eAAe,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;CACpC;AACD,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,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;A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BAA8B,EAC9B,4BAA4B,EAC5B,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,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;
|
|
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;
|
|
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<"
|
|
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,
|
|
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;
|
|
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,
|
|
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"}
|
|
@@ -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
|
|
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;
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmityCreateLivestreamPage.d.ts","sourceRoot":"","sources":["../../../../../../../src/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
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 @@
|
|
|
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
|
-
|
|
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
|
|
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;
|
|
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,sBA+PjC;AAED,eAAe,yBAAyB,CAAC"}
|
|
@@ -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
|
|
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;;
|
|
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;;
|
|
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"}
|
package/lib/typescript/src/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.d.ts.map
CHANGED
|
@@ -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;;
|
|
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;
|
|
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"}
|
package/lib/typescript/src/v4/PublicApi/Pages/AmitySocialHomePage/AmitySocialHomePage.d.ts.map
CHANGED
|
@@ -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;;
|
|
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;;
|
|
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 +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,
|
|
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;;
|
|
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
|
|
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;
|
|
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;AAG9D,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;;;;;EAkChD,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"}
|