@armoyu/ui 1.1.25 → 1.1.32
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/dist/app/Providers.d.ts.map +1 -1
- package/dist/app/gruplar/[groupId]/page.d.ts.map +1 -1
- package/dist/app/management-panel/layout.d.ts +5 -0
- package/dist/app/management-panel/layout.d.ts.map +1 -0
- package/dist/app/management-panel/page.d.ts +2 -0
- package/dist/app/management-panel/page.d.ts.map +1 -0
- package/dist/app/page.d.ts.map +1 -1
- package/dist/components/modules/auth/widgets/LoginWidget.d.ts.map +1 -1
- package/dist/components/modules/auth/widgets/LoginWidget.js +20 -26
- package/dist/components/modules/auth/widgets/LoginWidget.js.map +1 -1
- package/dist/components/modules/auth/widgets/RegisterWidget.d.ts.map +1 -1
- package/dist/components/modules/auth/widgets/RegisterWidget.js +43 -39
- package/dist/components/modules/auth/widgets/RegisterWidget.js.map +1 -1
- package/dist/components/modules/chat/ChatLayout.d.ts.map +1 -1
- package/dist/components/modules/community/CommunityLayout.d.ts.map +1 -1
- package/dist/components/shared/Header.d.ts.map +1 -1
- package/dist/components/shared/Header.js +80 -69
- package/dist/components/shared/Header.js.map +1 -1
- package/dist/components/shared/LoginModal.d.ts.map +1 -1
- package/dist/components/shared/LoginModal.js +7 -10
- package/dist/components/shared/LoginModal.js.map +1 -1
- package/dist/components/showcase/SocialTab.d.ts.map +1 -1
- package/dist/index.d.ts +33 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +175 -274
- package/dist/index.js.map +1 -1
- package/package.json +48 -48
- package/src/globals.css +298 -238
- package/dist/app/Providers.js +0 -36
- package/dist/app/Providers.js.map +0 -1
- package/dist/app/api/proxy/[...path]/route.d.ts +0 -23
- package/dist/app/api/proxy/[...path]/route.d.ts.map +0 -1
- package/dist/app/api/proxy/[...path]/route.js +0 -134
- package/dist/app/api/proxy/[...path]/route.js.map +0 -1
- package/dist/app/egitim/[slug]/page.d.ts +0 -2
- package/dist/app/egitim/[slug]/page.d.ts.map +0 -1
- package/dist/app/egitim/[slug]/page.js +0 -10
- package/dist/app/egitim/[slug]/page.js.map +0 -1
- package/dist/app/etkinlikler/[eventId]/page.d.ts +0 -2
- package/dist/app/etkinlikler/[eventId]/page.d.ts.map +0 -1
- package/dist/app/etkinlikler/[eventId]/page.js +0 -15
- package/dist/app/etkinlikler/[eventId]/page.js.map +0 -1
- package/dist/app/etkinlikler/page.d.ts +0 -2
- package/dist/app/etkinlikler/page.d.ts.map +0 -1
- package/dist/app/etkinlikler/page.js +0 -35
- package/dist/app/etkinlikler/page.js.map +0 -1
- package/dist/app/gruplar/[groupId]/page.js +0 -13
- package/dist/app/gruplar/[groupId]/page.js.map +0 -1
- package/dist/app/layout.js +0 -36
- package/dist/app/layout.js.map +0 -1
- package/dist/app/not-found.d.ts +0 -2
- package/dist/app/not-found.d.ts.map +0 -1
- package/dist/app/not-found.js +0 -10
- package/dist/app/not-found.js.map +0 -1
- package/dist/app/page.js +0 -60
- package/dist/app/page.js.map +0 -1
- package/dist/components/Button.d.ts +0 -8
- package/dist/components/Button.d.ts.map +0 -1
- package/dist/components/Button.js +0 -52
- package/dist/components/Button.js.map +0 -1
- package/dist/components/GenderStatsBar.d.ts +0 -6
- package/dist/components/GenderStatsBar.d.ts.map +0 -1
- package/dist/components/GenderStatsBar.js +0 -11
- package/dist/components/GenderStatsBar.js.map +0 -1
- package/dist/components/RollingNumber.d.ts +0 -7
- package/dist/components/RollingNumber.d.ts.map +0 -1
- package/dist/components/RollingNumber.js +0 -27
- package/dist/components/RollingNumber.js.map +0 -1
- package/dist/components/Slider.d.ts +0 -11
- package/dist/components/Slider.d.ts.map +0 -1
- package/dist/components/Slider.js +0 -39
- package/dist/components/Slider.js.map +0 -1
- package/dist/components/StatsGrid.d.ts +0 -6
- package/dist/components/StatsGrid.d.ts.map +0 -1
- package/dist/components/StatsGrid.js +0 -17
- package/dist/components/StatsGrid.js.map +0 -1
- package/dist/components/ViewModeToggle.d.ts +0 -8
- package/dist/components/ViewModeToggle.d.ts.map +0 -1
- package/dist/components/ViewModeToggle.js +0 -13
- package/dist/components/ViewModeToggle.js.map +0 -1
- package/dist/components/common/Mentions/HashtagLink.d.ts +0 -7
- package/dist/components/common/Mentions/HashtagLink.d.ts.map +0 -1
- package/dist/components/common/Mentions/HashtagLink.js +0 -14
- package/dist/components/common/Mentions/HashtagLink.js.map +0 -1
- package/dist/components/common/Mentions/MentionLink.d.ts +0 -7
- package/dist/components/common/Mentions/MentionLink.d.ts.map +0 -1
- package/dist/components/common/Mentions/MentionLink.js +0 -40
- package/dist/components/common/Mentions/MentionLink.js.map +0 -1
- package/dist/components/common/Mentions/MentionText.d.ts +0 -8
- package/dist/components/common/Mentions/MentionText.d.ts.map +0 -1
- package/dist/components/common/Mentions/MentionText.js +0 -63
- package/dist/components/common/Mentions/MentionText.js.map +0 -1
- package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts +0 -2
- package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts.map +0 -1
- package/dist/components/modules/auth/widgets/AuthJoinCard.js +0 -19
- package/dist/components/modules/auth/widgets/AuthJoinCard.js.map +0 -1
- package/dist/components/modules/auth/widgets/InviteWidget.d.ts +0 -6
- package/dist/components/modules/auth/widgets/InviteWidget.d.ts.map +0 -1
- package/dist/components/modules/auth/widgets/InviteWidget.js +0 -71
- package/dist/components/modules/auth/widgets/InviteWidget.js.map +0 -1
- package/dist/components/modules/blog/pages/MyArticlesPage.d.ts +0 -2
- package/dist/components/modules/blog/pages/MyArticlesPage.d.ts.map +0 -1
- package/dist/components/modules/blog/pages/MyArticlesPage.js +0 -232
- package/dist/components/modules/blog/pages/MyArticlesPage.js.map +0 -1
- package/dist/components/modules/chat/ChatLayout.js +0 -238
- package/dist/components/modules/chat/ChatLayout.js.map +0 -1
- package/dist/components/modules/chat/widgets/ChatInput.d.ts +0 -5
- package/dist/components/modules/chat/widgets/ChatInput.d.ts.map +0 -1
- package/dist/components/modules/chat/widgets/ChatInput.js +0 -34
- package/dist/components/modules/chat/widgets/ChatInput.js.map +0 -1
- package/dist/components/modules/chat/widgets/ChatList.d.ts +0 -7
- package/dist/components/modules/chat/widgets/ChatList.d.ts.map +0 -1
- package/dist/components/modules/chat/widgets/ChatList.js +0 -77
- package/dist/components/modules/chat/widgets/ChatList.js.map +0 -1
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts +0 -12
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts.map +0 -1
- package/dist/components/modules/chat/widgets/ChatMessage.js +0 -34
- package/dist/components/modules/chat/widgets/ChatMessage.js.map +0 -1
- package/dist/components/modules/chat/widgets/ChatNotes.d.ts +0 -2
- package/dist/components/modules/chat/widgets/ChatNotes.d.ts.map +0 -1
- package/dist/components/modules/chat/widgets/ChatNotes.js +0 -18
- package/dist/components/modules/chat/widgets/ChatNotes.js.map +0 -1
- package/dist/components/modules/cloud/CloudModal.d.ts +0 -12
- package/dist/components/modules/cloud/CloudModal.d.ts.map +0 -1
- package/dist/components/modules/cloud/CloudModal.js +0 -254
- package/dist/components/modules/cloud/CloudModal.js.map +0 -1
- package/dist/components/modules/cloud/CloudWidget.d.ts +0 -9
- package/dist/components/modules/cloud/CloudWidget.d.ts.map +0 -1
- package/dist/components/modules/cloud/CloudWidget.js +0 -10
- package/dist/components/modules/cloud/CloudWidget.js.map +0 -1
- package/dist/components/modules/community/CommunityLayout.js +0 -139
- package/dist/components/modules/community/CommunityLayout.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupAboutCard.d.ts +0 -6
- package/dist/components/modules/community/widgets/GroupAboutCard.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupAboutCard.js +0 -10
- package/dist/components/modules/community/widgets/GroupAboutCard.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts +0 -9
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupFeedSection.js +0 -11
- package/dist/components/modules/community/widgets/GroupFeedSection.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupHeader.d.ts +0 -11
- package/dist/components/modules/community/widgets/GroupHeader.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupHeader.js +0 -21
- package/dist/components/modules/community/widgets/GroupHeader.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupMenu.d.ts +0 -10
- package/dist/components/modules/community/widgets/GroupMenu.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupMenu.js +0 -23
- package/dist/components/modules/community/widgets/GroupMenu.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts +0 -6
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupPermissions.js +0 -10
- package/dist/components/modules/community/widgets/GroupPermissions.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts +0 -11
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupStatsGrid.js +0 -16
- package/dist/components/modules/community/widgets/GroupStatsGrid.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts +0 -7
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupTopMembers.js +0 -14
- package/dist/components/modules/community/widgets/GroupTopMembers.js.map +0 -1
- package/dist/components/modules/community/widgets/SchoolCard.d.ts +0 -7
- package/dist/components/modules/community/widgets/SchoolCard.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/SchoolCard.js +0 -14
- package/dist/components/modules/community/widgets/SchoolCard.js.map +0 -1
- package/dist/components/modules/community/widgets/SurveyCard.d.ts +0 -8
- package/dist/components/modules/community/widgets/SurveyCard.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/SurveyCard.js +0 -31
- package/dist/components/modules/community/widgets/SurveyCard.js.map +0 -1
- package/dist/components/modules/education/pages/EducationPage.d.ts +0 -2
- package/dist/components/modules/education/pages/EducationPage.d.ts.map +0 -1
- package/dist/components/modules/education/pages/EducationPage.js +0 -59
- package/dist/components/modules/education/pages/EducationPage.js.map +0 -1
- package/dist/components/modules/education/pages/SchoolDetailPage.d.ts +0 -2
- package/dist/components/modules/education/pages/SchoolDetailPage.d.ts.map +0 -1
- package/dist/components/modules/education/pages/SchoolDetailPage.js +0 -82
- package/dist/components/modules/education/pages/SchoolDetailPage.js.map +0 -1
- package/dist/components/modules/events/DetailPage.d.ts +0 -9
- package/dist/components/modules/events/DetailPage.d.ts.map +0 -1
- package/dist/components/modules/events/DetailPage.js +0 -88
- package/dist/components/modules/events/DetailPage.js.map +0 -1
- package/dist/components/modules/events/EventsLayout.d.ts +0 -8
- package/dist/components/modules/events/EventsLayout.d.ts.map +0 -1
- package/dist/components/modules/events/EventsLayout.js +0 -9
- package/dist/components/modules/events/EventsLayout.js.map +0 -1
- package/dist/components/modules/events/EventsPage.d.ts +0 -11
- package/dist/components/modules/events/EventsPage.d.ts.map +0 -1
- package/dist/components/modules/events/EventsPage.js +0 -94
- package/dist/components/modules/events/EventsPage.js.map +0 -1
- package/dist/components/modules/events/index.d.ts +0 -7
- package/dist/components/modules/events/index.d.ts.map +0 -1
- package/dist/components/modules/events/index.js +0 -17
- package/dist/components/modules/events/index.js.map +0 -1
- package/dist/components/modules/events/widgets/EventCard.d.ts +0 -12
- package/dist/components/modules/events/widgets/EventCard.d.ts.map +0 -1
- package/dist/components/modules/events/widgets/EventCard.js +0 -18
- package/dist/components/modules/events/widgets/EventCard.js.map +0 -1
- package/dist/components/modules/events/widgets/EventFormModal.d.ts +0 -9
- package/dist/components/modules/events/widgets/EventFormModal.d.ts.map +0 -1
- package/dist/components/modules/events/widgets/EventFormModal.js +0 -27
- package/dist/components/modules/events/widgets/EventFormModal.js.map +0 -1
- package/dist/components/modules/events/widgets/EventList.d.ts +0 -12
- package/dist/components/modules/events/widgets/EventList.d.ts.map +0 -1
- package/dist/components/modules/events/widgets/EventList.js +0 -36
- package/dist/components/modules/events/widgets/EventList.js.map +0 -1
- package/dist/components/modules/events/widgets/EventShowcase.d.ts +0 -6
- package/dist/components/modules/events/widgets/EventShowcase.d.ts.map +0 -1
- package/dist/components/modules/events/widgets/EventShowcase.js +0 -83
- package/dist/components/modules/events/widgets/EventShowcase.js.map +0 -1
- package/dist/components/modules/forum/pages/ForumBoardPage.d.ts +0 -8
- package/dist/components/modules/forum/pages/ForumBoardPage.d.ts.map +0 -1
- package/dist/components/modules/forum/pages/ForumBoardPage.js +0 -21
- package/dist/components/modules/forum/pages/ForumBoardPage.js.map +0 -1
- package/dist/components/modules/forum/pages/ForumPage.d.ts +0 -2
- package/dist/components/modules/forum/pages/ForumPage.d.ts.map +0 -1
- package/dist/components/modules/forum/pages/ForumPage.js +0 -17
- package/dist/components/modules/forum/pages/ForumPage.js.map +0 -1
- package/dist/components/modules/forum/pages/ForumTopicPage.d.ts +0 -8
- package/dist/components/modules/forum/pages/ForumTopicPage.d.ts.map +0 -1
- package/dist/components/modules/forum/pages/ForumTopicPage.js +0 -58
- package/dist/components/modules/forum/pages/ForumTopicPage.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumBoard.d.ts +0 -17
- package/dist/components/modules/forum/widgets/ForumBoard.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumBoard.js +0 -13
- package/dist/components/modules/forum/widgets/ForumBoard.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts +0 -6
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumCategoryList.js +0 -10
- package/dist/components/modules/forum/widgets/ForumCategoryList.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts +0 -6
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js +0 -9
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumPost.d.ts +0 -14
- package/dist/components/modules/forum/widgets/ForumPost.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumPost.js +0 -9
- package/dist/components/modules/forum/widgets/ForumPost.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts +0 -2
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumSidebar.js +0 -9
- package/dist/components/modules/forum/widgets/ForumSidebar.js.map +0 -1
- package/dist/components/modules/forum/widgets/NewTopicModal.d.ts +0 -8
- package/dist/components/modules/forum/widgets/NewTopicModal.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/NewTopicModal.js +0 -30
- package/dist/components/modules/forum/widgets/NewTopicModal.js.map +0 -1
- package/dist/components/modules/forum/widgets/TopicItem.d.ts +0 -16
- package/dist/components/modules/forum/widgets/TopicItem.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/TopicItem.js +0 -13
- package/dist/components/modules/forum/widgets/TopicItem.js.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryCard.d.ts +0 -10
- package/dist/components/modules/galleries/widgets/GalleryCard.d.ts.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryCard.js +0 -9
- package/dist/components/modules/galleries/widgets/GalleryCard.js.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts +0 -8
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js +0 -9
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts +0 -2
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js +0 -9
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts +0 -7
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js +0 -9
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js.map +0 -1
- package/dist/components/modules/giveaway/pages/GiveawayDetailPage.d.ts +0 -6
- package/dist/components/modules/giveaway/pages/GiveawayDetailPage.d.ts.map +0 -1
- package/dist/components/modules/giveaway/pages/GiveawayDetailPage.js +0 -44
- package/dist/components/modules/giveaway/pages/GiveawayDetailPage.js.map +0 -1
- package/dist/components/modules/giveaway/pages/GiveawaysPage.d.ts +0 -2
- package/dist/components/modules/giveaway/pages/GiveawaysPage.d.ts.map +0 -1
- package/dist/components/modules/giveaway/pages/GiveawaysPage.js +0 -63
- package/dist/components/modules/giveaway/pages/GiveawaysPage.js.map +0 -1
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.d.ts +0 -6
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.d.ts.map +0 -1
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js +0 -44
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js.map +0 -1
- package/dist/components/modules/giveaways/pages/GiveawaysPage.d.ts +0 -2
- package/dist/components/modules/giveaways/pages/GiveawaysPage.d.ts.map +0 -1
- package/dist/components/modules/giveaways/pages/GiveawaysPage.js +0 -63
- package/dist/components/modules/giveaways/pages/GiveawaysPage.js.map +0 -1
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts +0 -10
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts.map +0 -1
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js +0 -10
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js.map +0 -1
- package/dist/components/modules/groups/widgets/ApplicationModal.d.ts +0 -8
- package/dist/components/modules/groups/widgets/ApplicationModal.d.ts.map +0 -1
- package/dist/components/modules/groups/widgets/ApplicationModal.js +0 -31
- package/dist/components/modules/groups/widgets/ApplicationModal.js.map +0 -1
- package/dist/components/modules/groups/widgets/GroupCard.d.ts +0 -14
- package/dist/components/modules/groups/widgets/GroupCard.d.ts.map +0 -1
- package/dist/components/modules/groups/widgets/GroupCard.js +0 -14
- package/dist/components/modules/groups/widgets/GroupCard.js.map +0 -1
- package/dist/components/modules/guest/widgets/Introduction.d.ts +0 -2
- package/dist/components/modules/guest/widgets/Introduction.d.ts.map +0 -1
- package/dist/components/modules/guest/widgets/Introduction.js +0 -18
- package/dist/components/modules/guest/widgets/Introduction.js.map +0 -1
- package/dist/components/modules/management/ManagementAccessDenied.d.ts +0 -7
- package/dist/components/modules/management/ManagementAccessDenied.d.ts.map +0 -1
- package/dist/components/modules/management/ManagementAccessDenied.js +0 -14
- package/dist/components/modules/management/ManagementAccessDenied.js.map +0 -1
- package/dist/components/modules/management/ManagementLayout.d.ts +0 -14
- package/dist/components/modules/management/ManagementLayout.d.ts.map +0 -1
- package/dist/components/modules/management/ManagementLayout.js +0 -17
- package/dist/components/modules/management/ManagementLayout.js.map +0 -1
- package/dist/components/modules/management/ManagementMobileToggle.d.ts +0 -6
- package/dist/components/modules/management/ManagementMobileToggle.d.ts.map +0 -1
- package/dist/components/modules/management/ManagementMobileToggle.js +0 -10
- package/dist/components/modules/management/ManagementMobileToggle.js.map +0 -1
- package/dist/components/modules/management/ManagementSidebar.d.ts +0 -17
- package/dist/components/modules/management/ManagementSidebar.d.ts.map +0 -1
- package/dist/components/modules/management/ManagementSidebar.js +0 -22
- package/dist/components/modules/management/ManagementSidebar.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementActivityFeed.d.ts +0 -18
- package/dist/components/modules/management/widgets/ManagementActivityFeed.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementActivityFeed.js +0 -14
- package/dist/components/modules/management/widgets/ManagementActivityFeed.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementDashboard.d.ts +0 -45
- package/dist/components/modules/management/widgets/ManagementDashboard.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementDashboard.js +0 -27
- package/dist/components/modules/management/widgets/ManagementDashboard.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementHeader.d.ts +0 -8
- package/dist/components/modules/management/widgets/ManagementHeader.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementHeader.js +0 -9
- package/dist/components/modules/management/widgets/ManagementHeader.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementQuickActions.d.ts +0 -10
- package/dist/components/modules/management/widgets/ManagementQuickActions.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementQuickActions.js +0 -14
- package/dist/components/modules/management/widgets/ManagementQuickActions.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementStatsGrid.d.ts +0 -14
- package/dist/components/modules/management/widgets/ManagementStatsGrid.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementStatsGrid.js +0 -10
- package/dist/components/modules/management/widgets/ManagementStatsGrid.js.map +0 -1
- package/dist/components/modules/mods/pages/ModDetailPage.d.ts +0 -7
- package/dist/components/modules/mods/pages/ModDetailPage.d.ts.map +0 -1
- package/dist/components/modules/mods/pages/ModDetailPage.js +0 -27
- package/dist/components/modules/mods/pages/ModDetailPage.js.map +0 -1
- package/dist/components/modules/mods/pages/ModsPage.d.ts +0 -20
- package/dist/components/modules/mods/pages/ModsPage.d.ts.map +0 -1
- package/dist/components/modules/mods/pages/ModsPage.js +0 -50
- package/dist/components/modules/mods/pages/ModsPage.js.map +0 -1
- package/dist/components/modules/news/NewsLayout.d.ts +0 -7
- package/dist/components/modules/news/NewsLayout.d.ts.map +0 -1
- package/dist/components/modules/news/NewsLayout.js +0 -10
- package/dist/components/modules/news/NewsLayout.js.map +0 -1
- package/dist/components/modules/news/index.d.ts +0 -6
- package/dist/components/modules/news/index.d.ts.map +0 -1
- package/dist/components/modules/news/index.js +0 -22
- package/dist/components/modules/news/index.js.map +0 -1
- package/dist/components/modules/news/pages/NewsDetailPage.d.ts +0 -7
- package/dist/components/modules/news/pages/NewsDetailPage.d.ts.map +0 -1
- package/dist/components/modules/news/pages/NewsDetailPage.js +0 -59
- package/dist/components/modules/news/pages/NewsDetailPage.js.map +0 -1
- package/dist/components/modules/news/pages/NewsPage.d.ts +0 -2
- package/dist/components/modules/news/pages/NewsPage.d.ts.map +0 -1
- package/dist/components/modules/news/pages/NewsPage.js +0 -72
- package/dist/components/modules/news/pages/NewsPage.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsCard.d.ts +0 -13
- package/dist/components/modules/news/widgets/NewsCard.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsCard.js +0 -13
- package/dist/components/modules/news/widgets/NewsCard.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsComments.d.ts +0 -4
- package/dist/components/modules/news/widgets/NewsComments.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsComments.js +0 -10
- package/dist/components/modules/news/widgets/NewsComments.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailAuthor.d.ts +0 -8
- package/dist/components/modules/news/widgets/NewsDetailAuthor.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailAuthor.js +0 -9
- package/dist/components/modules/news/widgets/NewsDetailAuthor.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailHero.d.ts +0 -9
- package/dist/components/modules/news/widgets/NewsDetailHero.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailHero.js +0 -9
- package/dist/components/modules/news/widgets/NewsDetailHero.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailInteraction.d.ts +0 -7
- package/dist/components/modules/news/widgets/NewsDetailInteraction.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailInteraction.js +0 -11
- package/dist/components/modules/news/widgets/NewsDetailInteraction.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailSidebar.d.ts +0 -8
- package/dist/components/modules/news/widgets/NewsDetailSidebar.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailSidebar.js +0 -9
- package/dist/components/modules/news/widgets/NewsDetailSidebar.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsHero.d.ts +0 -2
- package/dist/components/modules/news/widgets/NewsHero.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsHero.js +0 -10
- package/dist/components/modules/news/widgets/NewsHero.js.map +0 -1
- package/dist/components/modules/poll/pages/PollsPage.d.ts +0 -2
- package/dist/components/modules/poll/pages/PollsPage.d.ts.map +0 -1
- package/dist/components/modules/poll/pages/PollsPage.js +0 -60
- package/dist/components/modules/poll/pages/PollsPage.js.map +0 -1
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts +0 -28
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/MediaLightbox.js +0 -93
- package/dist/components/modules/posts/widgets/MediaLightbox.js.map +0 -1
- package/dist/components/modules/posts/widgets/PostCard.d.ts +0 -36
- package/dist/components/modules/posts/widgets/PostCard.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/PostCard.js +0 -296
- package/dist/components/modules/posts/widgets/PostCard.js.map +0 -1
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts +0 -15
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js +0 -19
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js.map +0 -1
- package/dist/components/modules/posts/widgets/RepostModal.d.ts +0 -22
- package/dist/components/modules/posts/widgets/RepostModal.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/RepostModal.js +0 -79
- package/dist/components/modules/posts/widgets/RepostModal.js.map +0 -1
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts +0 -23
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/SocialFeed.js +0 -126
- package/dist/components/modules/posts/widgets/SocialFeed.js.map +0 -1
- package/dist/components/modules/posts/widgets/Stories.d.ts +0 -2
- package/dist/components/modules/posts/widgets/Stories.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/Stories.js +0 -24
- package/dist/components/modules/posts/widgets/Stories.js.map +0 -1
- package/dist/components/modules/posts/widgets/StoryViewer.d.ts +0 -10
- package/dist/components/modules/posts/widgets/StoryViewer.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/StoryViewer.js +0 -54
- package/dist/components/modules/posts/widgets/StoryViewer.js.map +0 -1
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts +0 -16
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/reels/ReelCard.js +0 -58
- package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +0 -1
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts +0 -7
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js +0 -27
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js.map +0 -1
- package/dist/components/modules/profile/ProfileLayout.js +0 -73
- package/dist/components/modules/profile/ProfileLayout.js.map +0 -1
- package/dist/components/modules/profile/tabs/AboutTab.d.ts +0 -10
- package/dist/components/modules/profile/tabs/AboutTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/AboutTab.js +0 -12
- package/dist/components/modules/profile/tabs/AboutTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/CareerTab.d.ts +0 -8
- package/dist/components/modules/profile/tabs/CareerTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/CareerTab.js +0 -60
- package/dist/components/modules/profile/tabs/CareerTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts +0 -7
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/FriendsTab.js +0 -52
- package/dist/components/modules/profile/tabs/FriendsTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/GamesTab.d.ts +0 -7
- package/dist/components/modules/profile/tabs/GamesTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/GamesTab.js +0 -27
- package/dist/components/modules/profile/tabs/GamesTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts +0 -7
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/GroupsTab.js +0 -15
- package/dist/components/modules/profile/tabs/GroupsTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/MediaTab.d.ts +0 -7
- package/dist/components/modules/profile/tabs/MediaTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/MediaTab.js +0 -84
- package/dist/components/modules/profile/tabs/MediaTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/PostsTab.js +0 -70
- package/dist/components/modules/profile/tabs/PostsTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/QuestionsTab.d.ts +0 -6
- package/dist/components/modules/profile/tabs/QuestionsTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/QuestionsTab.js +0 -42
- package/dist/components/modules/profile/tabs/QuestionsTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/TaggedPostsTab.js +0 -12
- package/dist/components/modules/profile/tabs/TaggedPostsTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/WallTab.js +0 -76
- package/dist/components/modules/profile/tabs/WallTab.js.map +0 -1
- package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts +0 -9
- package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/CloudStorageModal.js +0 -35
- package/dist/components/modules/profile/widgets/CloudStorageModal.js.map +0 -1
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts +0 -9
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/EditProfileModal.js +0 -81
- package/dist/components/modules/profile/widgets/EditProfileModal.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts +0 -2
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js +0 -17
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts +0 -6
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js +0 -9
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts +0 -8
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js +0 -15
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.d.ts +0 -7
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.js +0 -14
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.d.ts +0 -7
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js +0 -14
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts +0 -8
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.js +0 -35
- package/dist/components/modules/profile/widgets/ProfileHeader.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.d.ts +0 -10
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.js +0 -44
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileSidebar.js +0 -14
- package/dist/components/modules/profile/widgets/ProfileSidebar.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts +0 -9
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileStats.js +0 -37
- package/dist/components/modules/profile/widgets/ProfileStats.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js +0 -64
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +0 -1
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.d.ts +0 -10
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.js +0 -19
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.js.map +0 -1
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts +0 -11
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js +0 -21
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js.map +0 -1
- package/dist/components/modules/shop/CartLayout.d.ts +0 -12
- package/dist/components/modules/shop/CartLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/CartLayout.js +0 -17
- package/dist/components/modules/shop/CartLayout.js.map +0 -1
- package/dist/components/modules/shop/CheckoutLayout.d.ts +0 -8
- package/dist/components/modules/shop/CheckoutLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/CheckoutLayout.js +0 -26
- package/dist/components/modules/shop/CheckoutLayout.js.map +0 -1
- package/dist/components/modules/shop/DetailLayout.d.ts +0 -8
- package/dist/components/modules/shop/DetailLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/DetailLayout.js +0 -27
- package/dist/components/modules/shop/DetailLayout.js.map +0 -1
- package/dist/components/modules/shop/OrdersLayout.d.ts +0 -15
- package/dist/components/modules/shop/OrdersLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/OrdersLayout.js +0 -11
- package/dist/components/modules/shop/OrdersLayout.js.map +0 -1
- package/dist/components/modules/shop/StoreLayout.d.ts +0 -8
- package/dist/components/modules/shop/StoreLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/StoreLayout.js +0 -9
- package/dist/components/modules/shop/StoreLayout.js.map +0 -1
- package/dist/components/modules/shop/widgets/BackToStore.d.ts +0 -2
- package/dist/components/modules/shop/widgets/BackToStore.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/BackToStore.js +0 -19
- package/dist/components/modules/shop/widgets/BackToStore.js.map +0 -1
- package/dist/components/modules/shop/widgets/CategoryWidget.d.ts +0 -8
- package/dist/components/modules/shop/widgets/CategoryWidget.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/CategoryWidget.js +0 -26
- package/dist/components/modules/shop/widgets/CategoryWidget.js.map +0 -1
- package/dist/components/modules/shop/widgets/ProductCard.d.ts +0 -8
- package/dist/components/modules/shop/widgets/ProductCard.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/ProductCard.js +0 -13
- package/dist/components/modules/shop/widgets/ProductCard.js.map +0 -1
- package/dist/components/modules/shop/widgets/StoreHeader.d.ts +0 -6
- package/dist/components/modules/shop/widgets/StoreHeader.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreHeader.js +0 -15
- package/dist/components/modules/shop/widgets/StoreHeader.js.map +0 -1
- package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts +0 -7
- package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreProductGrid.js +0 -19
- package/dist/components/modules/shop/widgets/StoreProductGrid.js.map +0 -1
- package/dist/components/modules/shop/widgets/StoreSearchBar.d.ts +0 -9
- package/dist/components/modules/shop/widgets/StoreSearchBar.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreSearchBar.js +0 -15
- package/dist/components/modules/shop/widgets/StoreSearchBar.js.map +0 -1
- package/dist/components/modules/shop/widgets/StoreSidebar.d.ts +0 -8
- package/dist/components/modules/shop/widgets/StoreSidebar.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreSidebar.js +0 -11
- package/dist/components/modules/shop/widgets/StoreSidebar.js.map +0 -1
- package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts +0 -2
- package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js +0 -32
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js.map +0 -1
- package/dist/components/modules/social/SocialLayout.js +0 -119
- package/dist/components/modules/social/SocialLayout.js.map +0 -1
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts +0 -2
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/EconomyWidget.js +0 -57
- package/dist/components/modules/social/widgets/EconomyWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts +0 -2
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/LeagueWidget.js +0 -53
- package/dist/components/modules/social/widgets/LeagueWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts +0 -2
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.js +0 -56
- package/dist/components/modules/social/widgets/MinecraftWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/NewMembersWidget.d.ts +0 -2
- package/dist/components/modules/social/widgets/NewMembersWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/NewMembersWidget.js +0 -42
- package/dist/components/modules/social/widgets/NewMembersWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/PostComposer.d.ts +0 -15
- package/dist/components/modules/social/widgets/PostComposer.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/PostComposer.js +0 -167
- package/dist/components/modules/social/widgets/PostComposer.js.map +0 -1
- package/dist/components/modules/social/widgets/RankingWidget.d.ts +0 -5
- package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/RankingWidget.js +0 -81
- package/dist/components/modules/social/widgets/RankingWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/SocialSidebar.d.ts +0 -2
- package/dist/components/modules/social/widgets/SocialSidebar.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/SocialSidebar.js +0 -12
- package/dist/components/modules/social/widgets/SocialSidebar.js.map +0 -1
- package/dist/components/modules/social/widgets/TrendingWidget.d.ts +0 -3
- package/dist/components/modules/social/widgets/TrendingWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/TrendingWidget.js +0 -41
- package/dist/components/modules/social/widgets/TrendingWidget.js.map +0 -1
- package/dist/components/modules/stations/widgets/StationCard.d.ts +0 -3
- package/dist/components/modules/stations/widgets/StationCard.d.ts.map +0 -1
- package/dist/components/modules/stations/widgets/StationCard.js +0 -32
- package/dist/components/modules/stations/widgets/StationCard.js.map +0 -1
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts +0 -10
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts.map +0 -1
- package/dist/components/modules/stations/widgets/StationQRModal.js +0 -16
- package/dist/components/modules/stations/widgets/StationQRModal.js.map +0 -1
- package/dist/components/modules/stories/widgets/AddStoryModal.d.ts +0 -13
- package/dist/components/modules/stories/widgets/AddStoryModal.d.ts.map +0 -1
- package/dist/components/modules/stories/widgets/AddStoryModal.js +0 -14
- package/dist/components/modules/stories/widgets/AddStoryModal.js.map +0 -1
- package/dist/components/modules/stories/widgets/Stories.d.ts +0 -2
- package/dist/components/modules/stories/widgets/Stories.d.ts.map +0 -1
- package/dist/components/modules/stories/widgets/Stories.js +0 -154
- package/dist/components/modules/stories/widgets/Stories.js.map +0 -1
- package/dist/components/modules/stories/widgets/StoryOverlay.d.ts +0 -10
- package/dist/components/modules/stories/widgets/StoryOverlay.d.ts.map +0 -1
- package/dist/components/modules/stories/widgets/StoryOverlay.js +0 -244
- package/dist/components/modules/stories/widgets/StoryOverlay.js.map +0 -1
- package/dist/components/shared/ArmoyuPlayer.d.ts +0 -18
- package/dist/components/shared/ArmoyuPlayer.d.ts.map +0 -1
- package/dist/components/shared/ArmoyuPlayer.js +0 -111
- package/dist/components/shared/ArmoyuPlayer.js.map +0 -1
- package/dist/components/shared/DevTools.d.ts +0 -2
- package/dist/components/shared/DevTools.d.ts.map +0 -1
- package/dist/components/shared/DevTools.js +0 -35
- package/dist/components/shared/DevTools.js.map +0 -1
- package/dist/components/shared/FilterTabs.d.ts +0 -16
- package/dist/components/shared/FilterTabs.d.ts.map +0 -1
- package/dist/components/shared/FilterTabs.js +0 -21
- package/dist/components/shared/FilterTabs.js.map +0 -1
- package/dist/components/shared/FloatingChatButton.js +0 -24
- package/dist/components/shared/FloatingChatButton.js.map +0 -1
- package/dist/components/shared/Footer.d.ts +0 -2
- package/dist/components/shared/Footer.d.ts.map +0 -1
- package/dist/components/shared/Footer.js +0 -13
- package/dist/components/shared/Footer.js.map +0 -1
- package/dist/components/shared/Icons.d.ts +0 -8
- package/dist/components/shared/Icons.d.ts.map +0 -1
- package/dist/components/shared/Icons.js +0 -11
- package/dist/components/shared/Icons.js.map +0 -1
- package/dist/components/shared/ListToolbar.d.ts +0 -32
- package/dist/components/shared/ListToolbar.d.ts.map +0 -1
- package/dist/components/shared/ListToolbar.js +0 -16
- package/dist/components/shared/ListToolbar.js.map +0 -1
- package/dist/components/shared/MainLayoutWrapper.d.ts +0 -5
- package/dist/components/shared/MainLayoutWrapper.d.ts.map +0 -1
- package/dist/components/shared/MainLayoutWrapper.js +0 -11
- package/dist/components/shared/MainLayoutWrapper.js.map +0 -1
- package/dist/components/shared/NotFound.d.ts +0 -21
- package/dist/components/shared/NotFound.d.ts.map +0 -1
- package/dist/components/shared/NotFound.js +0 -10
- package/dist/components/shared/NotFound.js.map +0 -1
- package/dist/components/shared/PageWidth.d.ts +0 -6
- package/dist/components/shared/PageWidth.d.ts.map +0 -1
- package/dist/components/shared/PageWidth.js +0 -17
- package/dist/components/shared/PageWidth.js.map +0 -1
- package/dist/components/shared/RegisterModal.d.ts +0 -7
- package/dist/components/shared/RegisterModal.d.ts.map +0 -1
- package/dist/components/shared/RegisterModal.js +0 -12
- package/dist/components/shared/RegisterModal.js.map +0 -1
- package/dist/components/shared/SearchBar.d.ts +0 -14
- package/dist/components/shared/SearchBar.d.ts.map +0 -1
- package/dist/components/shared/SearchBar.js +0 -24
- package/dist/components/shared/SearchBar.js.map +0 -1
- package/dist/components/shared/UserDrawer.d.ts +0 -23
- package/dist/components/shared/UserDrawer.d.ts.map +0 -1
- package/dist/components/shared/UserDrawer.js +0 -71
- package/dist/components/shared/UserDrawer.js.map +0 -1
- package/dist/components/showcase/AuthTab.js +0 -17
- package/dist/components/showcase/AuthTab.js.map +0 -1
- package/dist/components/showcase/CommunityTab.js +0 -9
- package/dist/components/showcase/CommunityTab.js.map +0 -1
- package/dist/components/showcase/CorporateTab.js +0 -23
- package/dist/components/showcase/CorporateTab.js.map +0 -1
- package/dist/components/showcase/GeneralTab.js +0 -9
- package/dist/components/showcase/GeneralTab.js.map +0 -1
- package/dist/components/showcase/GroupTab.d.ts +0 -2
- package/dist/components/showcase/GroupTab.d.ts.map +0 -1
- package/dist/components/showcase/GroupTab.js +0 -119
- package/dist/components/showcase/GroupTab.js.map +0 -1
- package/dist/components/showcase/MessagesTab.js +0 -28
- package/dist/components/showcase/MessagesTab.js.map +0 -1
- package/dist/components/showcase/MyPostsTab.js +0 -15
- package/dist/components/showcase/MyPostsTab.js.map +0 -1
- package/dist/components/showcase/ProfileTab.js +0 -76
- package/dist/components/showcase/ProfileTab.js.map +0 -1
- package/dist/components/showcase/ReelsTab.d.ts +0 -2
- package/dist/components/showcase/ReelsTab.d.ts.map +0 -1
- package/dist/components/showcase/ReelsTab.js +0 -100
- package/dist/components/showcase/ReelsTab.js.map +0 -1
- package/dist/components/showcase/ShopTab.js +0 -66
- package/dist/components/showcase/ShopTab.js.map +0 -1
- package/dist/components/showcase/ShowcaseNavigation.d.ts +0 -2
- package/dist/components/showcase/ShowcaseNavigation.d.ts.map +0 -1
- package/dist/components/showcase/ShowcaseNavigation.js +0 -124
- package/dist/components/showcase/ShowcaseNavigation.js.map +0 -1
- package/dist/components/showcase/SocialTab.js +0 -98
- package/dist/components/showcase/SocialTab.js.map +0 -1
- package/dist/components/showcase/StoriesTab.js +0 -10
- package/dist/components/showcase/StoriesTab.js.map +0 -1
- package/dist/context/ArmoyuContext.d.ts +0 -45
- package/dist/context/ArmoyuContext.d.ts.map +0 -1
- package/dist/context/ArmoyuContext.js +0 -91
- package/dist/context/ArmoyuContext.js.map +0 -1
- package/dist/context/AuthContext.d.ts +0 -23
- package/dist/context/AuthContext.d.ts.map +0 -1
- package/dist/context/AuthContext.js +0 -159
- package/dist/context/AuthContext.js.map +0 -1
- package/dist/context/CartContext.d.ts +0 -18
- package/dist/context/CartContext.d.ts.map +0 -1
- package/dist/context/CartContext.js +0 -67
- package/dist/context/CartContext.js.map +0 -1
- package/dist/context/ChatContext.d.ts +0 -27
- package/dist/context/ChatContext.d.ts.map +0 -1
- package/dist/context/ChatContext.js +0 -163
- package/dist/context/ChatContext.js.map +0 -1
- package/dist/context/LayoutContext.d.ts +0 -11
- package/dist/context/LayoutContext.d.ts.map +0 -1
- package/dist/context/LayoutContext.js +0 -21
- package/dist/context/LayoutContext.js.map +0 -1
- package/dist/context/SocketContext.d.ts +0 -13
- package/dist/context/SocketContext.d.ts.map +0 -1
- package/dist/context/SocketContext.js +0 -36
- package/dist/context/SocketContext.js.map +0 -1
- package/dist/context/ThemeContext.d.ts +0 -11
- package/dist/context/ThemeContext.d.ts.map +0 -1
- package/dist/context/ThemeContext.js +0 -44
- package/dist/context/ThemeContext.js.map +0 -1
- package/dist/hooks/useDebounce.d.ts +0 -2
- package/dist/hooks/useDebounce.d.ts.map +0 -1
- package/dist/hooks/useDebounce.js +0 -17
- package/dist/hooks/useDebounce.js.map +0 -1
- package/dist/lib/ArmoyuUI.d.ts +0 -18
- package/dist/lib/ArmoyuUI.d.ts.map +0 -1
- package/dist/lib/ArmoyuUI.js +0 -29
- package/dist/lib/ArmoyuUI.js.map +0 -1
- package/dist/lib/constants/config.d.ts +0 -9
- package/dist/lib/constants/config.d.ts.map +0 -1
- package/dist/lib/constants/config.js +0 -18
- package/dist/lib/constants/config.js.map +0 -1
- package/dist/lib/constants/educationData.d.ts +0 -11
- package/dist/lib/constants/educationData.d.ts.map +0 -1
- package/dist/lib/constants/educationData.js +0 -125
- package/dist/lib/constants/educationData.js.map +0 -1
- package/dist/lib/constants/punishmentData.d.ts +0 -30
- package/dist/lib/constants/punishmentData.d.ts.map +0 -1
- package/dist/lib/constants/punishmentData.js +0 -190
- package/dist/lib/constants/punishmentData.js.map +0 -1
- package/dist/lib/constants/seedData.d.ts +0 -182
- package/dist/lib/constants/seedData.d.ts.map +0 -1
- package/dist/lib/constants/seedData.js +0 -748
- package/dist/lib/constants/seedData.js.map +0 -1
- package/dist/lib/constants/stationData.d.ts +0 -16
- package/dist/lib/constants/stationData.d.ts.map +0 -1
- package/dist/lib/constants/stationData.js +0 -209
- package/dist/lib/constants/stationData.js.map +0 -1
- package/dist/lib/constants/surveyData.d.ts +0 -3
- package/dist/lib/constants/surveyData.d.ts.map +0 -1
- package/dist/lib/constants/surveyData.js +0 -55
- package/dist/lib/constants/surveyData.js.map +0 -1
- package/dist/lib/constants/teamData.d.ts +0 -19
- package/dist/lib/constants/teamData.d.ts.map +0 -1
- package/dist/lib/constants/teamData.js +0 -59
- package/dist/lib/constants/teamData.js.map +0 -1
- package/dist/lib/utils/numberFormat.d.ts +0 -10
- package/dist/lib/utils/numberFormat.d.ts.map +0 -1
- package/dist/lib/utils/numberFormat.js +0 -20
- package/dist/lib/utils/numberFormat.js.map +0 -1
- package/dist/lib/utils/odpUtils.d.ts +0 -16
- package/dist/lib/utils/odpUtils.d.ts.map +0 -1
- package/dist/lib/utils/odpUtils.js +0 -48
- package/dist/lib/utils/odpUtils.js.map +0 -1
- package/dist/lib/utils/postUtils.d.ts +0 -7
- package/dist/lib/utils/postUtils.d.ts.map +0 -1
- package/dist/lib/utils/postUtils.js +0 -40
- package/dist/lib/utils/postUtils.js.map +0 -1
- package/dist/models/BaseModel.d.ts +0 -13
- package/dist/models/BaseModel.d.ts.map +0 -1
- package/dist/models/BaseModel.js +0 -17
- package/dist/models/BaseModel.js.map +0 -1
- package/dist/models/auth/RankedUser.d.ts +0 -20
- package/dist/models/auth/RankedUser.d.ts.map +0 -1
- package/dist/models/auth/RankedUser.js +0 -40
- package/dist/models/auth/RankedUser.js.map +0 -1
- package/dist/models/auth/Role.d.ts +0 -16
- package/dist/models/auth/Role.d.ts.map +0 -1
- package/dist/models/auth/Role.js +0 -37
- package/dist/models/auth/Role.js.map +0 -1
- package/dist/models/auth/Session.d.ts +0 -24
- package/dist/models/auth/Session.d.ts.map +0 -1
- package/dist/models/auth/Session.js +0 -54
- package/dist/models/auth/Session.js.map +0 -1
- package/dist/models/auth/StaffApplication.d.ts +0 -20
- package/dist/models/auth/StaffApplication.d.ts.map +0 -1
- package/dist/models/auth/StaffApplication.js +0 -40
- package/dist/models/auth/StaffApplication.js.map +0 -1
- package/dist/models/auth/TeamMember.d.ts +0 -19
- package/dist/models/auth/TeamMember.d.ts.map +0 -1
- package/dist/models/auth/TeamMember.js +0 -38
- package/dist/models/auth/TeamMember.js.map +0 -1
- package/dist/models/auth/User.d.ts +0 -94
- package/dist/models/auth/User.d.ts.map +0 -1
- package/dist/models/auth/User.js +0 -234
- package/dist/models/auth/User.js.map +0 -1
- package/dist/models/auth/UserBadge.d.ts +0 -18
- package/dist/models/auth/UserBadge.d.ts.map +0 -1
- package/dist/models/auth/UserBadge.js +0 -38
- package/dist/models/auth/UserBadge.js.map +0 -1
- package/dist/models/community/ArmoyuEvent.d.ts +0 -52
- package/dist/models/community/ArmoyuEvent.d.ts.map +0 -1
- package/dist/models/community/ArmoyuEvent.js +0 -105
- package/dist/models/community/ArmoyuEvent.js.map +0 -1
- package/dist/models/community/Classroom.d.ts +0 -19
- package/dist/models/community/Classroom.d.ts.map +0 -1
- package/dist/models/community/Classroom.js +0 -37
- package/dist/models/community/Classroom.js.map +0 -1
- package/dist/models/community/Faculty.d.ts +0 -17
- package/dist/models/community/Faculty.d.ts.map +0 -1
- package/dist/models/community/Faculty.js +0 -33
- package/dist/models/community/Faculty.js.map +0 -1
- package/dist/models/community/Forum.d.ts +0 -26
- package/dist/models/community/Forum.d.ts.map +0 -1
- package/dist/models/community/Forum.js +0 -40
- package/dist/models/community/Forum.js.map +0 -1
- package/dist/models/community/Giveaway.d.ts +0 -22
- package/dist/models/community/Giveaway.d.ts.map +0 -1
- package/dist/models/community/Giveaway.js +0 -42
- package/dist/models/community/Giveaway.js.map +0 -1
- package/dist/models/community/Group.d.ts +0 -38
- package/dist/models/community/Group.d.ts.map +0 -1
- package/dist/models/community/Group.js +0 -119
- package/dist/models/community/Group.js.map +0 -1
- package/dist/models/community/School.d.ts +0 -28
- package/dist/models/community/School.d.ts.map +0 -1
- package/dist/models/community/School.js +0 -72
- package/dist/models/community/School.js.map +0 -1
- package/dist/models/community/SchoolTeam.d.ts +0 -27
- package/dist/models/community/SchoolTeam.d.ts.map +0 -1
- package/dist/models/community/SchoolTeam.js +0 -45
- package/dist/models/community/SchoolTeam.js.map +0 -1
- package/dist/models/community/Station.d.ts +0 -81
- package/dist/models/community/Station.d.ts.map +0 -1
- package/dist/models/community/Station.js +0 -172
- package/dist/models/community/Station.js.map +0 -1
- package/dist/models/community/Survey.d.ts +0 -27
- package/dist/models/community/Survey.d.ts.map +0 -1
- package/dist/models/community/Survey.js +0 -60
- package/dist/models/community/Survey.js.map +0 -1
- package/dist/models/community/SurveyAnswer.d.ts +0 -15
- package/dist/models/community/SurveyAnswer.d.ts.map +0 -1
- package/dist/models/community/SurveyAnswer.js +0 -30
- package/dist/models/community/SurveyAnswer.js.map +0 -1
- package/dist/models/community/Team.d.ts +0 -22
- package/dist/models/community/Team.d.ts.map +0 -1
- package/dist/models/community/Team.js +0 -64
- package/dist/models/community/Team.js.map +0 -1
- package/dist/models/community/Workplace.d.ts +0 -18
- package/dist/models/community/Workplace.d.ts.map +0 -1
- package/dist/models/community/Workplace.js +0 -36
- package/dist/models/community/Workplace.js.map +0 -1
- package/dist/models/content/Game.d.ts +0 -20
- package/dist/models/content/Game.d.ts.map +0 -1
- package/dist/models/content/Game.js +0 -44
- package/dist/models/content/Game.js.map +0 -1
- package/dist/models/content/Media.d.ts +0 -17
- package/dist/models/content/Media.d.ts.map +0 -1
- package/dist/models/content/Media.js +0 -34
- package/dist/models/content/Media.js.map +0 -1
- package/dist/models/content/Mod.d.ts +0 -21
- package/dist/models/content/Mod.d.ts.map +0 -1
- package/dist/models/content/Mod.js +0 -41
- package/dist/models/content/Mod.js.map +0 -1
- package/dist/models/content/News.d.ts +0 -36
- package/dist/models/content/News.d.ts.map +0 -1
- package/dist/models/content/News.js +0 -81
- package/dist/models/content/News.js.map +0 -1
- package/dist/models/content/PlatformStation.d.ts +0 -18
- package/dist/models/content/PlatformStation.d.ts.map +0 -1
- package/dist/models/content/PlatformStation.js +0 -36
- package/dist/models/content/PlatformStation.js.map +0 -1
- package/dist/models/content/PlatformTeam.d.ts +0 -14
- package/dist/models/content/PlatformTeam.d.ts.map +0 -1
- package/dist/models/content/PlatformTeam.js +0 -28
- package/dist/models/content/PlatformTeam.js.map +0 -1
- package/dist/models/content/Project.d.ts +0 -27
- package/dist/models/content/Project.d.ts.map +0 -1
- package/dist/models/content/Project.js +0 -47
- package/dist/models/content/Project.js.map +0 -1
- package/dist/models/content/ProjectScore.d.ts +0 -14
- package/dist/models/content/ProjectScore.d.ts.map +0 -1
- package/dist/models/content/ProjectScore.js +0 -28
- package/dist/models/content/ProjectScore.js.map +0 -1
- package/dist/models/content/StationEquipment.d.ts +0 -16
- package/dist/models/content/StationEquipment.d.ts.map +0 -1
- package/dist/models/content/StationEquipment.js +0 -32
- package/dist/models/content/StationEquipment.js.map +0 -1
- package/dist/models/core/Country.d.ts +0 -15
- package/dist/models/core/Country.d.ts.map +0 -1
- package/dist/models/core/Country.js +0 -30
- package/dist/models/core/Country.js.map +0 -1
- package/dist/models/core/PlatformStats.d.ts +0 -46
- package/dist/models/core/PlatformStats.d.ts.map +0 -1
- package/dist/models/core/PlatformStats.js +0 -92
- package/dist/models/core/PlatformStats.js.map +0 -1
- package/dist/models/core/Province.d.ts +0 -15
- package/dist/models/core/Province.d.ts.map +0 -1
- package/dist/models/core/Province.js +0 -30
- package/dist/models/core/Province.js.map +0 -1
- package/dist/models/core/Rule.d.ts +0 -16
- package/dist/models/core/Rule.d.ts.map +0 -1
- package/dist/models/core/Rule.js +0 -32
- package/dist/models/core/Rule.js.map +0 -1
- package/dist/models/core/SystemSettings.d.ts +0 -38
- package/dist/models/core/SystemSettings.d.ts.map +0 -1
- package/dist/models/core/SystemSettings.js +0 -68
- package/dist/models/core/SystemSettings.js.map +0 -1
- package/dist/models/index.d.ts +0 -58
- package/dist/models/index.d.ts.map +0 -1
- package/dist/models/index.js +0 -88
- package/dist/models/index.js.map +0 -1
- package/dist/models/shop/CartItem.d.ts +0 -20
- package/dist/models/shop/CartItem.d.ts.map +0 -1
- package/dist/models/shop/CartItem.js +0 -40
- package/dist/models/shop/CartItem.js.map +0 -1
- package/dist/models/shop/Invoice.d.ts +0 -18
- package/dist/models/shop/Invoice.d.ts.map +0 -1
- package/dist/models/shop/Invoice.js +0 -36
- package/dist/models/shop/Invoice.js.map +0 -1
- package/dist/models/shop/Order.d.ts +0 -23
- package/dist/models/shop/Order.d.ts.map +0 -1
- package/dist/models/shop/Order.js +0 -52
- package/dist/models/shop/Order.js.map +0 -1
- package/dist/models/shop/Product.d.ts +0 -26
- package/dist/models/shop/Product.d.ts.map +0 -1
- package/dist/models/shop/Product.js +0 -71
- package/dist/models/shop/Product.js.map +0 -1
- package/dist/models/social/chat/Chat.d.ts +0 -26
- package/dist/models/social/chat/Chat.d.ts.map +0 -1
- package/dist/models/social/chat/Chat.js +0 -84
- package/dist/models/social/chat/Chat.js.map +0 -1
- package/dist/models/social/chat/Message.d.ts +0 -18
- package/dist/models/social/chat/Message.d.ts.map +0 -1
- package/dist/models/social/chat/Message.js +0 -62
- package/dist/models/social/chat/Message.js.map +0 -1
- package/dist/models/social/chat/Note.d.ts +0 -16
- package/dist/models/social/chat/Note.d.ts.map +0 -1
- package/dist/models/social/chat/Note.js +0 -32
- package/dist/models/social/chat/Note.js.map +0 -1
- package/dist/models/social/feed/Comment.d.ts +0 -21
- package/dist/models/social/feed/Comment.d.ts.map +0 -1
- package/dist/models/social/feed/Comment.js +0 -50
- package/dist/models/social/feed/Comment.js.map +0 -1
- package/dist/models/social/feed/Post.d.ts +0 -26
- package/dist/models/social/feed/Post.d.ts.map +0 -1
- package/dist/models/social/feed/Post.js +0 -55
- package/dist/models/social/feed/Post.js.map +0 -1
- package/dist/models/social/feed/Story.d.ts +0 -31
- package/dist/models/social/feed/Story.d.ts.map +0 -1
- package/dist/models/social/feed/Story.js +0 -67
- package/dist/models/social/feed/Story.js.map +0 -1
- package/dist/models/social/feed/StoryAuthor.d.ts +0 -13
- package/dist/models/social/feed/StoryAuthor.d.ts.map +0 -1
- package/dist/models/social/feed/StoryAuthor.js +0 -29
- package/dist/models/social/feed/StoryAuthor.js.map +0 -1
- package/dist/models/social/gaming/Game.d.ts +0 -26
- package/dist/models/social/gaming/Game.d.ts.map +0 -1
- package/dist/models/social/gaming/Game.js +0 -49
- package/dist/models/social/gaming/Game.js.map +0 -1
- package/dist/models/social/meta/AuthEnums.d.ts +0 -18
- package/dist/models/social/meta/AuthEnums.d.ts.map +0 -1
- package/dist/models/social/meta/AuthEnums.js +0 -23
- package/dist/models/social/meta/AuthEnums.js.map +0 -1
- package/dist/models/social/meta/MediaEnums.d.ts +0 -20
- package/dist/models/social/meta/MediaEnums.d.ts.map +0 -1
- package/dist/models/social/meta/MediaEnums.js +0 -25
- package/dist/models/social/meta/MediaEnums.js.map +0 -1
- package/dist/models/social/notification/Notification.d.ts +0 -23
- package/dist/models/social/notification/Notification.d.ts.map +0 -1
- package/dist/models/social/notification/Notification.js +0 -68
- package/dist/models/social/notification/Notification.js.map +0 -1
- package/dist/models/social/notification/NotificationEnums.d.ts +0 -54
- package/dist/models/social/notification/NotificationEnums.d.ts.map +0 -1
- package/dist/models/social/notification/NotificationEnums.js +0 -62
- package/dist/models/social/notification/NotificationEnums.js.map +0 -1
- package/dist/models/social/notification/NotificationSender.d.ts +0 -16
- package/dist/models/social/notification/NotificationSender.d.ts.map +0 -1
- package/dist/models/social/notification/NotificationSender.js +0 -32
- package/dist/models/social/notification/NotificationSender.js.map +0 -1
- package/dist/models/social/poll/Poll.d.ts +0 -19
- package/dist/models/social/poll/Poll.d.ts.map +0 -1
- package/dist/models/social/poll/Poll.js +0 -37
- package/dist/models/social/poll/Poll.js.map +0 -1
- package/dist/models/social/poll/PollOption.d.ts +0 -15
- package/dist/models/social/poll/PollOption.d.ts.map +0 -1
- package/dist/models/social/poll/PollOption.js +0 -30
- package/dist/models/social/poll/PollOption.js.map +0 -1
- package/dist/models/social/search/SearchEnums.d.ts +0 -22
- package/dist/models/social/search/SearchEnums.d.ts.map +0 -1
- package/dist/models/social/search/SearchEnums.js +0 -27
- package/dist/models/social/search/SearchEnums.js.map +0 -1
- package/dist/models/social/search/SearchResult.d.ts +0 -21
- package/dist/models/social/search/SearchResult.d.ts.map +0 -1
- package/dist/models/social/search/SearchResult.js +0 -76
- package/dist/models/social/search/SearchResult.js.map +0 -1
- package/dist/models/social/stats/Leaderboard.d.ts +0 -29
- package/dist/models/social/stats/Leaderboard.d.ts.map +0 -1
- package/dist/models/social/stats/Leaderboard.js +0 -55
- package/dist/models/social/stats/Leaderboard.js.map +0 -1
- package/dist/models/social/support/SupportTicket.d.ts +0 -18
- package/dist/models/social/support/SupportTicket.d.ts.map +0 -1
- package/dist/models/social/support/SupportTicket.js +0 -36
- package/dist/models/social/support/SupportTicket.js.map +0 -1
- package/dist/models/social/user/BlockedUser.d.ts +0 -15
- package/dist/models/social/user/BlockedUser.d.ts.map +0 -1
- package/dist/models/social/user/BlockedUser.js +0 -29
- package/dist/models/social/user/BlockedUser.js.map +0 -1
- package/dist/models/store/StoreItem.d.ts +0 -18
- package/dist/models/store/StoreItem.d.ts.map +0 -1
- package/dist/models/store/StoreItem.js +0 -36
- package/dist/models/store/StoreItem.js.map +0 -1
- package/dist/scratch/test_api.d.ts +0 -2
- package/dist/scratch/test_api.d.ts.map +0 -1
- package/dist/scratch/test_api.js +0 -13
- package/dist/scratch/test_api.js.map +0 -1
- package/dist/scratch/test_api_pure.d.ts +0 -2
- package/dist/scratch/test_api_pure.d.ts.map +0 -1
- package/dist/scratch/test_api_pure.js +0 -53
- package/dist/scratch/test_api_pure.js.map +0 -1
- package/dist/scratch/test_api_stats.d.ts +0 -2
- package/dist/scratch/test_api_stats.d.ts.map +0 -1
- package/dist/scratch/test_api_stats.js +0 -31
- package/dist/scratch/test_api_stats.js.map +0 -1
- package/dist/types/index.d.ts +0 -4
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -20
- package/dist/types/index.js.map +0 -1
- package/dist/types/navigation.d.ts +0 -6
- package/dist/types/navigation.d.ts.map +0 -1
- package/dist/types/navigation.js +0 -3
- package/dist/types/navigation.js.map +0 -1
- package/dist/types/socket.d.ts +0 -6
- package/dist/types/socket.d.ts.map +0 -1
- package/dist/types/socket.js +0 -3
- package/dist/types/socket.js.map +0 -1
- package/dist/types/stats.d.ts +0 -18
- package/dist/types/stats.d.ts.map +0 -1
- package/dist/types/stats.js +0 -3
- package/dist/types/stats.js.map +0 -1
- package/dist/utils/text/MentionUtils.d.ts +0 -8
- package/dist/utils/text/MentionUtils.d.ts.map +0 -1
- package/dist/utils/text/MentionUtils.js +0 -30
- package/dist/utils/text/MentionUtils.js.map +0 -1
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Stories = Stories;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const react_1 = require("react");
|
|
6
|
-
const seedData_1 = require("../../../../lib/constants/seedData");
|
|
7
|
-
const StoryOverlay_1 = require("./StoryOverlay");
|
|
8
|
-
const CloudModal_1 = require("../../cloud/CloudModal");
|
|
9
|
-
const AddStoryModal_1 = require("./AddStoryModal");
|
|
10
|
-
const Story_1 = require("../../../../models/social/feed/Story");
|
|
11
|
-
const StoryAuthor_1 = require("../../../../models/social/feed/StoryAuthor");
|
|
12
|
-
const AuthContext_1 = require("../../../../context/AuthContext");
|
|
13
|
-
const ArmoyuContext_1 = require("../../../../context/ArmoyuContext");
|
|
14
|
-
function Stories() {
|
|
15
|
-
const { api, isMockEnabled } = (0, ArmoyuContext_1.useArmoyu)();
|
|
16
|
-
const { user: currentUser } = (0, AuthContext_1.useAuth)();
|
|
17
|
-
const [stories, setStories] = (0, react_1.useState)([]);
|
|
18
|
-
const [myStories, setMyStories] = (0, react_1.useState)([]);
|
|
19
|
-
const [loading, setLoading] = (0, react_1.useState)(true);
|
|
20
|
-
const [activeStoryIndex, setActiveStoryIndex] = (0, react_1.useState)(null);
|
|
21
|
-
const [showMyOverlay, setShowMyOverlay] = (0, react_1.useState)(false);
|
|
22
|
-
// Modals state
|
|
23
|
-
const [isCloudOpen, setIsCloudOpen] = (0, react_1.useState)(false);
|
|
24
|
-
const [isShareModalOpen, setIsShareModalOpen] = (0, react_1.useState)(false);
|
|
25
|
-
const [selectedMedia, setSelectedMedia] = (0, react_1.useState)(null);
|
|
26
|
-
const [shareLoading, setShareLoading] = (0, react_1.useState)(false);
|
|
27
|
-
const fetchStories = async () => {
|
|
28
|
-
setLoading(true);
|
|
29
|
-
try {
|
|
30
|
-
if (isMockEnabled) {
|
|
31
|
-
setStories(seedData_1.MOCK_STORIES);
|
|
32
|
-
setMyStories([]);
|
|
33
|
-
setLoading(false);
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
const response = await api.stories.getStories();
|
|
37
|
-
if (response.durum === 1 && response.icerik) {
|
|
38
|
-
const mappedStories = response.icerik.map((s) => Story_1.Story.fromAPI(s));
|
|
39
|
-
// Benim hikayelerimi ve diğerlerini ayır (authorId ile currentUser.id karşılaştır)
|
|
40
|
-
const currentUserId = Number(currentUser?.id || 0);
|
|
41
|
-
const mine = [];
|
|
42
|
-
const others = [];
|
|
43
|
-
for (const s of mappedStories) {
|
|
44
|
-
if ((s.author?.id && s.author.id === currentUserId) ||
|
|
45
|
-
s.author?.isMe === true) {
|
|
46
|
-
mine.push(s);
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
others.push(s);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
setMyStories(mine);
|
|
53
|
-
// "Ben" öğesi: her zaman en başta
|
|
54
|
-
const meItem = new Story_1.Story({
|
|
55
|
-
id: 'me-story',
|
|
56
|
-
author: new StoryAuthor_1.StoryAuthor({
|
|
57
|
-
username: currentUser?.username || '',
|
|
58
|
-
displayName: currentUser?.displayName || '',
|
|
59
|
-
avatar: currentUser?.avatar || '',
|
|
60
|
-
isMe: true
|
|
61
|
-
}),
|
|
62
|
-
isRead: false, // mavi kenarlık için her zaman false
|
|
63
|
-
media: mine.length > 0 ? mine[0].media : '',
|
|
64
|
-
});
|
|
65
|
-
// Ben en başta, sonra diğerleri
|
|
66
|
-
setStories([meItem, ...others]);
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
setStories(seedData_1.MOCK_STORIES);
|
|
70
|
-
setMyStories([]);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
catch (error) {
|
|
74
|
-
console.error('[ARMOYU] Stories fetch error:', error);
|
|
75
|
-
setStories(seedData_1.MOCK_STORIES);
|
|
76
|
-
setMyStories([]);
|
|
77
|
-
}
|
|
78
|
-
finally {
|
|
79
|
-
setLoading(false);
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
(0, react_1.useEffect)(() => {
|
|
83
|
-
if (currentUser || isMockEnabled) {
|
|
84
|
-
fetchStories();
|
|
85
|
-
}
|
|
86
|
-
else {
|
|
87
|
-
setStories([]);
|
|
88
|
-
setLoading(false);
|
|
89
|
-
}
|
|
90
|
-
}, [api, isMockEnabled, currentUser]);
|
|
91
|
-
const handleMediaSelect = (media) => {
|
|
92
|
-
setSelectedMedia(media);
|
|
93
|
-
setIsCloudOpen(false);
|
|
94
|
-
setIsShareModalOpen(true);
|
|
95
|
-
};
|
|
96
|
-
const handleShare = async (text) => {
|
|
97
|
-
if (!selectedMedia)
|
|
98
|
-
return;
|
|
99
|
-
setShareLoading(true);
|
|
100
|
-
try {
|
|
101
|
-
const response = await api.stories.addStory(selectedMedia.url, text);
|
|
102
|
-
if (response.durum === 1) {
|
|
103
|
-
setIsShareModalOpen(false);
|
|
104
|
-
setSelectedMedia(null);
|
|
105
|
-
fetchStories();
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
alert(response.aciklama || 'Paylaşım başarısız.');
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
catch (err) {
|
|
112
|
-
console.error('[Stories] Share error:', err);
|
|
113
|
-
alert('Bir hata oluştu.');
|
|
114
|
-
}
|
|
115
|
-
finally {
|
|
116
|
-
setShareLoading(false);
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
const handleStoryClick = (story, idx) => {
|
|
120
|
-
if (story.id === 'me-story') {
|
|
121
|
-
// "Ben"'e tıklandı
|
|
122
|
-
if (myStories.length > 0) {
|
|
123
|
-
// Benim hikayelerim var → StoryOverlay aç (sadece benim hikayelerimle)
|
|
124
|
-
setShowMyOverlay(true);
|
|
125
|
-
}
|
|
126
|
-
else {
|
|
127
|
-
// Hikayeleri yok → CloudModal aç
|
|
128
|
-
setIsCloudOpen(true);
|
|
129
|
-
}
|
|
130
|
-
return;
|
|
131
|
-
}
|
|
132
|
-
// Diğer kullanıcıların hikayesi → normal overlay
|
|
133
|
-
setActiveStoryIndex(idx);
|
|
134
|
-
};
|
|
135
|
-
const handleAddStoryFromOverlay = () => {
|
|
136
|
-
console.log('[ARMOYU] Transitioning from Overlay to Cloud...');
|
|
137
|
-
setShowMyOverlay(false);
|
|
138
|
-
setActiveStoryIndex(null);
|
|
139
|
-
setIsCloudOpen(true);
|
|
140
|
-
};
|
|
141
|
-
// Diğer kullanıcıların hikayeleri (overlay için)
|
|
142
|
-
const otherStories = stories.filter(s => s.id !== 'me-story');
|
|
143
|
-
if (loading && stories.length === 0) {
|
|
144
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: "w-full bg-armoyu-card-bg border border-armoyu-card-border rounded-3xl p-4 shadow-sm overflow-hidden mb-6 flex gap-4 animate-pulse", children: [1, 2, 3, 4, 5].map((i) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center gap-2 shrink-0", children: [(0, jsx_runtime_1.jsx)("div", { className: "w-14 h-14 rounded-full bg-gray-200 dark:bg-white/5" }), (0, jsx_runtime_1.jsx)("div", { className: "h-2 w-10 bg-gray-200 dark:bg-white/5 rounded" })] }, i))) }));
|
|
145
|
-
}
|
|
146
|
-
if (stories.length === 0)
|
|
147
|
-
return null;
|
|
148
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "w-full bg-armoyu-card-bg border border-armoyu-card-border rounded-3xl p-4 shadow-sm overflow-hidden mb-6", children: [(0, jsx_runtime_1.jsx)("div", { className: "flex gap-4 overflow-x-auto no-scrollbar pb-1 px-1", children: stories.map((story, idx) => ((0, jsx_runtime_1.jsx)(StoryItem, { story: story, onClick: () => handleStoryClick(story, idx) }, story.id || idx))) }), showMyOverlay && myStories.length > 0 && ((0, jsx_runtime_1.jsx)(StoryOverlay_1.StoryOverlay, { stories: myStories, initialStoryIndex: 0, onClose: () => setShowMyOverlay(false), onAddStory: handleAddStoryFromOverlay })), activeStoryIndex !== null && ((0, jsx_runtime_1.jsx)(StoryOverlay_1.StoryOverlay, { stories: otherStories, initialStoryIndex: otherStories.findIndex(s => s.id === stories[activeStoryIndex]?.id), onClose: () => setActiveStoryIndex(null), onAddStory: handleAddStoryFromOverlay })), (0, jsx_runtime_1.jsx)(CloudModal_1.CloudModal, { isOpen: isCloudOpen, onClose: () => setIsCloudOpen(false), isSelectionMode: true, onSelectMedia: handleMediaSelect }), (0, jsx_runtime_1.jsx)(AddStoryModal_1.AddStoryModal, { isOpen: isShareModalOpen, onClose: () => setIsShareModalOpen(false), media: selectedMedia, onShare: handleShare, loading: shareLoading })] }));
|
|
149
|
-
}
|
|
150
|
-
function StoryItem({ story, onClick }) {
|
|
151
|
-
const isMe = story.author?.isMe || false;
|
|
152
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center gap-1.5 shrink-0 cursor-pointer group", onClick: onClick, children: [(0, jsx_runtime_1.jsx)("div", { className: `p-0.5 rounded-full border-2 ${isMe ? 'border-blue-500' : story.isRead ? 'border-gray-300 dark:border-white/10' : 'border-blue-500'} transition-all group-hover:scale-105 active:scale-95`, children: (0, jsx_runtime_1.jsxs)("div", { className: "w-14 h-14 rounded-full border border-white/10 overflow-hidden relative", children: [story.author?.avatar ? ((0, jsx_runtime_1.jsx)("img", { src: story.author.avatar, className: "w-full h-full object-cover", alt: "" })) : ((0, jsx_runtime_1.jsx)("div", { className: "w-full h-full bg-gradient-to-br from-blue-500 to-purple-600 flex items-center justify-center text-white font-bold text-lg", children: (story.author?.displayName || '?')[0] })), isMe && ((0, jsx_runtime_1.jsx)("div", { className: "absolute inset-0 bg-black/10 group-hover:bg-transparent transition-colors flex items-center justify-center", children: (0, jsx_runtime_1.jsx)("div", { className: "absolute bottom-0 right-0 w-5 h-5 bg-blue-500 rounded-full border-2 border-[#121212] flex items-center justify-center shadow-lg transform group-hover:scale-110 transition-transform", children: (0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "white", strokeWidth: "4", strokeLinecap: "round", strokeLinejoin: "round", children: [(0, jsx_runtime_1.jsx)("line", { x1: "12", y1: "5", x2: "12", y2: "19" }), (0, jsx_runtime_1.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" })] }) }) }))] }) }), (0, jsx_runtime_1.jsx)("span", { className: "text-[10px] text-armoyu-text-secondary truncate w-14 text-center", children: isMe ? 'Ben' : story.author?.displayName || story.author?.username })] }));
|
|
153
|
-
}
|
|
154
|
-
//# sourceMappingURL=Stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Stories.js","sourceRoot":"","sources":["../../../../../src/components/modules/stories/widgets/Stories.tsx"],"names":[],"mappings":";;AAUA,0BAuMC;;AAjND,iCAAmD;AACnD,iEAAkE;AAClE,iDAA8C;AAC9C,uDAAoD;AACpD,mDAAgD;AAChD,gEAA6D;AAC7D,4EAAyE;AACzE,iEAA0D;AAC1D,qEAA8D;AAE9D,SAAgB,OAAO;IACrB,MAAM,EAAE,GAAG,EAAE,aAAa,EAAE,GAAG,IAAA,yBAAS,GAAE,CAAC;IAC3C,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,IAAA,qBAAO,GAAE,CAAC;IACxC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAU,EAAE,CAAC,CAAC;IACpD,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAU,EAAE,CAAC,CAAC;IACxD,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAC,IAAI,CAAC,CAAC;IAC7C,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,IAAA,gBAAQ,EAAgB,IAAI,CAAC,CAAC;IAC9E,MAAM,CAAC,aAAa,EAAE,g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AI,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,GAAQ,IAAM,GACtQ,GACH,CACP,IACG,GACF,EACN,iCAAM,SAAS,EAAC,kEAAkE,YAC/E,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,EAAE,WAAW,IAAI,KAAK,CAAC,MAAM,EAAE,QAAQ,GAC9D,IACH,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Story } from '../../../../models/social/feed/Story';
|
|
2
|
-
interface StoryOverlayProps {
|
|
3
|
-
stories: Story[];
|
|
4
|
-
initialStoryIndex: number;
|
|
5
|
-
onClose: () => void;
|
|
6
|
-
onAddStory?: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare function StoryOverlay({ stories, initialStoryIndex, onClose, onAddStory }: StoryOverlayProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=StoryOverlay.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StoryOverlay.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/stories/widgets/StoryOverlay.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAU7D,UAAU,iBAAiB;IACzB,OAAO,EAAE,KAAK,EAAE,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,iBAAiB,kDAyXlG"}
|
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
'use client';
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
|
-
};
|
|
39
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
-
exports.StoryOverlay = StoryOverlay;
|
|
41
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
42
|
-
const react_1 = require("react");
|
|
43
|
-
const ArmoyuContext_1 = require("../../../../context/ArmoyuContext");
|
|
44
|
-
const AuthContext_1 = require("../../../../context/AuthContext");
|
|
45
|
-
const dynamic_1 = __importDefault(require("next/dynamic"));
|
|
46
|
-
const Plyr = (0, dynamic_1.default)(() => Promise.resolve().then(() => __importStar(require('plyr-react'))).then((mod) => mod.Plyr), {
|
|
47
|
-
ssr: false,
|
|
48
|
-
loading: () => (0, jsx_runtime_1.jsx)("div", { className: "w-full h-full bg-black/40 animate-pulse flex items-center justify-center text-white/20 font-black italic", children: "Y\u00DCKLEN\u0130YOR..." })
|
|
49
|
-
});
|
|
50
|
-
function StoryOverlay({ stories, initialStoryIndex, onClose, onAddStory }) {
|
|
51
|
-
const { api } = (0, ArmoyuContext_1.useArmoyu)();
|
|
52
|
-
const { user: currentUser } = (0, AuthContext_1.useAuth)();
|
|
53
|
-
const [currentStoryIdx, setCurrentStoryIdx] = (0, react_1.useState)(initialStoryIndex);
|
|
54
|
-
const [currentItemIdx, setCurrentItemIdx] = (0, react_1.useState)(0);
|
|
55
|
-
const [progress, setProgress] = (0, react_1.useState)(0);
|
|
56
|
-
const [mounted, setMounted] = (0, react_1.useState)(false);
|
|
57
|
-
const [lastUpdate, setLastUpdate] = (0, react_1.useState)(0);
|
|
58
|
-
const [showViewers, setShowViewers] = (0, react_1.useState)(false);
|
|
59
|
-
const [viewers, setViewers] = (0, react_1.useState)([]);
|
|
60
|
-
const [loadingViewers, setLoadingViewers] = (0, react_1.useState)(false);
|
|
61
|
-
const story = stories[currentStoryIdx];
|
|
62
|
-
const isMe = (story?.author?.id && currentUser?.id)
|
|
63
|
-
? String(story.author.id) === String(currentUser.id)
|
|
64
|
-
: (story?.author?.isMe || false);
|
|
65
|
-
const items = story?.items || [];
|
|
66
|
-
const currentItem = items[currentItemIdx];
|
|
67
|
-
const currentMedia = currentItem?.media || story?.media || '';
|
|
68
|
-
const currentTimestamp = currentItem?.timestamp || story?.timestamp || '';
|
|
69
|
-
(0, react_1.useEffect)(() => {
|
|
70
|
-
setMounted(true);
|
|
71
|
-
return () => setMounted(false);
|
|
72
|
-
}, []);
|
|
73
|
-
// Mark story as viewed
|
|
74
|
-
(0, react_1.useEffect)(() => {
|
|
75
|
-
const targetItem = items[currentItemIdx];
|
|
76
|
-
if (mounted && targetItem?.id && !targetItem.isRead) {
|
|
77
|
-
api.stories.viewStory(Number(targetItem.id)).then(() => {
|
|
78
|
-
targetItem.isRead = true;
|
|
79
|
-
setLastUpdate(Date.now());
|
|
80
|
-
}).catch(err => {
|
|
81
|
-
console.error('[ARMOYU] Failed to mark story as viewed:', err);
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
}, [currentStoryIdx, currentItemIdx, mounted]);
|
|
85
|
-
// Handle auto-next with progress
|
|
86
|
-
(0, react_1.useEffect)(() => {
|
|
87
|
-
if (!mounted || showViewers)
|
|
88
|
-
return;
|
|
89
|
-
setProgress(0);
|
|
90
|
-
const duration = 5000;
|
|
91
|
-
const interval = 50;
|
|
92
|
-
const step = (interval / duration) * 100;
|
|
93
|
-
const timer = setInterval(() => {
|
|
94
|
-
setProgress((prev) => {
|
|
95
|
-
if (prev >= 100) {
|
|
96
|
-
return 100; // Stop here, useEffect below will handle transition
|
|
97
|
-
}
|
|
98
|
-
return prev + step;
|
|
99
|
-
});
|
|
100
|
-
}, interval);
|
|
101
|
-
return () => clearInterval(timer);
|
|
102
|
-
}, [currentStoryIdx, currentItemIdx, mounted, showViewers]);
|
|
103
|
-
// Separate effect to handle transitions to avoid "update while rendering" error
|
|
104
|
-
(0, react_1.useEffect)(() => {
|
|
105
|
-
if (progress >= 100) {
|
|
106
|
-
handleNext();
|
|
107
|
-
}
|
|
108
|
-
}, [progress]);
|
|
109
|
-
const handleNext = () => {
|
|
110
|
-
if (currentItemIdx < items.length - 1) {
|
|
111
|
-
setCurrentItemIdx(prev => prev + 1);
|
|
112
|
-
setProgress(0);
|
|
113
|
-
return;
|
|
114
|
-
}
|
|
115
|
-
if (currentStoryIdx < stories.length - 1) {
|
|
116
|
-
setCurrentStoryIdx(prev => prev + 1);
|
|
117
|
-
setCurrentItemIdx(0);
|
|
118
|
-
setProgress(0);
|
|
119
|
-
}
|
|
120
|
-
else {
|
|
121
|
-
onClose();
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
const handlePrev = () => {
|
|
125
|
-
if (currentItemIdx > 0) {
|
|
126
|
-
setCurrentItemIdx(prev => prev - 1);
|
|
127
|
-
setProgress(0);
|
|
128
|
-
return;
|
|
129
|
-
}
|
|
130
|
-
if (currentStoryIdx > 0) {
|
|
131
|
-
const prevStory = stories[currentStoryIdx - 1];
|
|
132
|
-
setCurrentStoryIdx(prev => prev - 1);
|
|
133
|
-
setCurrentItemIdx((prevStory?.items?.length || 1) - 1);
|
|
134
|
-
setProgress(0);
|
|
135
|
-
}
|
|
136
|
-
};
|
|
137
|
-
const handleLike = async (e) => {
|
|
138
|
-
e.stopPropagation();
|
|
139
|
-
if (!currentItem?.id)
|
|
140
|
-
return;
|
|
141
|
-
try {
|
|
142
|
-
const isLiked = currentItem.isLiked;
|
|
143
|
-
const response = await (isLiked
|
|
144
|
-
? api.stories.unlikeStory(Number(currentItem.id))
|
|
145
|
-
: api.stories.likeStory(Number(currentItem.id)));
|
|
146
|
-
if (response.durum === 1) {
|
|
147
|
-
currentItem.isLiked = !isLiked;
|
|
148
|
-
currentItem.likeCount = (currentItem.likeCount || 0) + (currentItem.isLiked ? 1 : -1);
|
|
149
|
-
setLastUpdate(Date.now());
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
catch (err) {
|
|
153
|
-
console.error('[ARMOYU] Toggle like story error:', err);
|
|
154
|
-
}
|
|
155
|
-
};
|
|
156
|
-
const [viewersPage, setViewersPage] = (0, react_1.useState)(1);
|
|
157
|
-
const [hasMoreViewers, setHasMoreViewers] = (0, react_1.useState)(false);
|
|
158
|
-
const fetchViewers = async (loadMore = false) => {
|
|
159
|
-
if (!currentItem?.id)
|
|
160
|
-
return;
|
|
161
|
-
const nextPage = loadMore ? viewersPage + 1 : 1;
|
|
162
|
-
setLoadingViewers(true);
|
|
163
|
-
setShowViewers(true);
|
|
164
|
-
try {
|
|
165
|
-
const response = await api.stories.getStoryViewers(nextPage, Number(currentItem.id));
|
|
166
|
-
if (response.durum === 1) {
|
|
167
|
-
const newViewers = response.icerik || [];
|
|
168
|
-
if (loadMore) {
|
|
169
|
-
setViewers(prev => [...prev, ...newViewers]);
|
|
170
|
-
setViewersPage(nextPage);
|
|
171
|
-
}
|
|
172
|
-
else {
|
|
173
|
-
setViewers(newViewers);
|
|
174
|
-
setViewersPage(1);
|
|
175
|
-
}
|
|
176
|
-
// Eğer gelen veri sayısı 10 ve üzeriyse (varsayılan limit) daha fazlası olabilir
|
|
177
|
-
setHasMoreViewers(newViewers.length >= 10);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
catch (err) {
|
|
181
|
-
console.error('[ARMOYU] Fetch viewers error:', err);
|
|
182
|
-
}
|
|
183
|
-
finally {
|
|
184
|
-
setLoadingViewers(false);
|
|
185
|
-
}
|
|
186
|
-
};
|
|
187
|
-
const handleDelete = async (e) => {
|
|
188
|
-
e.stopPropagation();
|
|
189
|
-
if (!currentItem?.id)
|
|
190
|
-
return;
|
|
191
|
-
if (!confirm('Bu hikayeyi silmek istediğinize emin misiniz?'))
|
|
192
|
-
return;
|
|
193
|
-
try {
|
|
194
|
-
const response = await api.stories.deleteStory(Number(currentItem.id));
|
|
195
|
-
if (response.durum === 1) {
|
|
196
|
-
onClose();
|
|
197
|
-
}
|
|
198
|
-
else {
|
|
199
|
-
alert(response.aciklama || 'Silme işlemi başarısız.');
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
catch (err) {
|
|
203
|
-
console.error('[ARMOYU] Delete story error:', err);
|
|
204
|
-
}
|
|
205
|
-
};
|
|
206
|
-
const handleHide = async (e) => {
|
|
207
|
-
e.stopPropagation();
|
|
208
|
-
if (!currentItem?.id)
|
|
209
|
-
return;
|
|
210
|
-
if (!confirm('Bu hikayeyi gizlemek istediğinize emin misiniz?'))
|
|
211
|
-
return;
|
|
212
|
-
try {
|
|
213
|
-
const response = await api.stories.hideStory(Number(currentItem.id));
|
|
214
|
-
if (response.durum === 1) {
|
|
215
|
-
alert('Hikaye gizlendi.');
|
|
216
|
-
onClose();
|
|
217
|
-
}
|
|
218
|
-
else {
|
|
219
|
-
alert(response.aciklama || 'Gizleme işlemi başarısız.');
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
catch (err) {
|
|
223
|
-
console.error('[ARMOYU] Hide story error:', err);
|
|
224
|
-
}
|
|
225
|
-
};
|
|
226
|
-
if (!mounted || !story)
|
|
227
|
-
return null;
|
|
228
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "fixed inset-0 z-[9999] bg-black flex items-center justify-center animate-in fade-in duration-300", children: [(0, jsx_runtime_1.jsx)("div", { className: "absolute inset-0 overflow-hidden opacity-50", children: (0, jsx_runtime_1.jsx)("img", { src: currentMedia, className: "w-full h-full object-cover blur-3xl scale-110", alt: "" }, currentMedia) }), (0, jsx_runtime_1.jsxs)("div", { className: "relative w-full h-full max-w-[450px] md:h-[90%] md:aspect-[9/16] bg-[#1a1a1a] md:rounded-3xl shadow-2xl overflow-hidden flex flex-col", children: [(0, jsx_runtime_1.jsx)("div", { className: "absolute top-4 left-4 right-4 z-20 flex gap-1", children: items.map((_, idx) => ((0, jsx_runtime_1.jsx)("div", { className: "h-1 flex-1 bg-white/20 rounded-full overflow-hidden", children: (0, jsx_runtime_1.jsx)("div", { className: "h-full bg-white transition-all duration-50", style: {
|
|
229
|
-
width: idx === currentItemIdx ? `${progress}%` : idx < currentItemIdx ? '100%' : '0%'
|
|
230
|
-
} }) }, idx))) }), (0, jsx_runtime_1.jsxs)("div", { className: "absolute top-8 left-4 right-4 z-20 flex items-center justify-between", children: [(0, jsx_runtime_1.jsxs)("div", { className: `flex items-center gap-3 ${isMe ? 'cursor-pointer' : ''} p-1`, onClick: (e) => {
|
|
231
|
-
if (isMe) {
|
|
232
|
-
e.stopPropagation();
|
|
233
|
-
onAddStory?.();
|
|
234
|
-
}
|
|
235
|
-
}, children: [(0, jsx_runtime_1.jsxs)("div", { className: "relative", children: [(0, jsx_runtime_1.jsx)("div", { className: "relative w-11 h-11 rounded-full p-0.5 border-2 border-white/30 overflow-hidden shadow-lg", children: (0, jsx_runtime_1.jsx)("img", { src: story.author?.avatar, className: "w-full h-full rounded-full object-cover", alt: "" }) }), isMe && ((0, jsx_runtime_1.jsx)("div", { className: "absolute -bottom-1 -right-1 w-5 h-5 bg-blue-500 rounded-full flex items-center justify-center border-2 border-[#1a1a1a] text-white shadow-[0_0_10px_rgba(59,130,246,0.5)] z-30", children: (0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "4", strokeLinecap: "round", strokeLinejoin: "round", children: [(0, jsx_runtime_1.jsx)("line", { x1: "12", y1: "5", x2: "12", y2: "19" }), (0, jsx_runtime_1.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" })] }) }))] }), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col", children: [(0, jsx_runtime_1.jsx)("span", { className: "text-white text-sm font-bold shadow-sm", children: isMe ? 'Ben' : story.author?.displayName || story.author?.username }), (0, jsx_runtime_1.jsx)("span", { className: "text-white/60 text-[10px]", children: currentTimestamp || 'Az önce' })] })] }), (0, jsx_runtime_1.jsxs)("div", { className: "flex items-center gap-1", children: [isMe ? ((0, jsx_runtime_1.jsx)("button", { onClick: handleDelete, className: "p-2 text-white/60 hover:text-red-500 hover:bg-white/10 rounded-full transition-all", title: "Hikayeyi Sil", children: (0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [(0, jsx_runtime_1.jsx)("path", { d: "M3 6h18" }), (0, jsx_runtime_1.jsx)("path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" }), (0, jsx_runtime_1.jsx)("path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" }), (0, jsx_runtime_1.jsx)("line", { x1: "10", y1: "11", x2: "10", y2: "17" }), (0, jsx_runtime_1.jsx)("line", { x1: "14", y1: "11", x2: "14", y2: "17" })] }) })) : ((0, jsx_runtime_1.jsx)("button", { onClick: handleHide, className: "p-2 text-white/60 hover:text-amber-500 hover:bg-white/10 rounded-full transition-all", title: "Hikayeyi Gizle", children: (0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [(0, jsx_runtime_1.jsx)("path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24" }), (0, jsx_runtime_1.jsx)("path", { d: "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }), (0, jsx_runtime_1.jsx)("path", { d: "M6.61 6.61A13.52 13.52 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }), (0, jsx_runtime_1.jsx)("line", { x1: "2", y1: "2", x2: "22", y2: "22" })] }) })), (0, jsx_runtime_1.jsx)("button", { onClick: onClose, className: "p-2 text-white hover:bg-white/10 rounded-full transition-colors", children: (0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: [(0, jsx_runtime_1.jsx)("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), (0, jsx_runtime_1.jsx)("line", { x1: "6", y1: "6", x2: "18", y2: "18" })] }) })] })] }), (0, jsx_runtime_1.jsxs)("div", { className: "flex-1 relative group/media overflow-hidden", children: [currentItem?.type === 'video' ? ((0, jsx_runtime_1.jsx)("div", { className: "w-full h-full bg-black flex items-center justify-center [&_.plyr]:h-full [&_.plyr]:w-full [&_.plyr--video]:h-full [&_video]:h-full [&_video]:w-full", children: (0, jsx_runtime_1.jsx)(Plyr, { source: { type: 'video', sources: [{ src: currentMedia }] }, options: {
|
|
236
|
-
autoplay: true,
|
|
237
|
-
controls: [], // Hide controls for stories
|
|
238
|
-
clickToPlay: true,
|
|
239
|
-
hideControls: true,
|
|
240
|
-
settings: [],
|
|
241
|
-
ratio: '9:16'
|
|
242
|
-
} }, currentMedia) })) : ((0, jsx_runtime_1.jsx)("img", { src: currentMedia, className: "w-full h-full object-cover", alt: "Story Content" })), (0, jsx_runtime_1.jsx)("div", { className: "absolute bottom-4 left-4 right-4 z-20 flex items-center justify-between pointer-events-none", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex items-center gap-4", children: [(0, jsx_runtime_1.jsxs)("button", { onClick: handleLike, className: "pointer-events-auto flex flex-col items-center gap-1 group/like", children: [(0, jsx_runtime_1.jsx)("div", { className: `w-10 h-10 rounded-full backdrop-blur-md flex items-center justify-center transition-all active:scale-90 border border-white/10 ${currentItem?.isLiked ? 'bg-red-500 text-white' : 'bg-black/20 text-white hover:bg-white/10'}`, children: (0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: currentItem?.isLiked ? 'currentColor' : 'none', stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: (0, jsx_runtime_1.jsx)("path", { d: "M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" }) }) }), (0, jsx_runtime_1.jsx)("span", { className: "text-[10px] text-white font-medium shadow-sm", children: currentItem?.likeCount || 0 })] }), isMe && ((0, jsx_runtime_1.jsxs)("button", { onClick: (e) => { e.stopPropagation(); fetchViewers(); }, className: "pointer-events-auto flex flex-col items-center gap-1 group/views", children: [(0, jsx_runtime_1.jsx)("div", { className: "w-10 h-10 rounded-full bg-black/20 backdrop-blur-md flex items-center justify-center text-white hover:bg-white/10 transition-all active:scale-90 border border-white/10", children: (0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [(0, jsx_runtime_1.jsx)("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }), (0, jsx_runtime_1.jsx)("circle", { cx: "12", cy: "12", r: "3" })] }) }), (0, jsx_runtime_1.jsx)("span", { className: "text-[10px] text-white font-medium shadow-sm", children: currentItem?.viewCount || 0 })] }))] }) }), (0, jsx_runtime_1.jsxs)("div", { className: "absolute inset-0 flex", children: [(0, jsx_runtime_1.jsx)("div", { className: "w-1/3 h-full cursor-w-resize", onClick: handlePrev }), (0, jsx_runtime_1.jsx)("div", { className: "w-2/3 h-full cursor-e-resize", onClick: handleNext })] })] }), (0, jsx_runtime_1.jsx)("div", { className: "p-4 bg-black/40 backdrop-blur-md flex gap-3 items-center", children: (0, jsx_runtime_1.jsx)("input", { type: "text", placeholder: `@${story.author?.username} kişisine yanıt ver...`, className: "flex-1 bg-white/10 border border-white/10 rounded-full px-5 py-2.5 text-sm text-white placeholder-white/50 focus:outline-none focus:bg-white/20 transition-all shadow-sm" }) }), showViewers && ((0, jsx_runtime_1.jsx)("div", { className: "absolute inset-0 z-50 bg-black/80 backdrop-blur-xl animate-in slide-in-from-bottom duration-300", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col h-full", children: [(0, jsx_runtime_1.jsxs)("div", { className: "p-6 border-b border-white/10 flex items-center justify-between", children: [(0, jsx_runtime_1.jsxs)("h3", { className: "text-white font-bold text-lg", children: ["G\u00F6r\u00FCnt\u00FCleyenler (", currentItem?.viewCount || 0, ")"] }), (0, jsx_runtime_1.jsx)("button", { onClick: () => setShowViewers(false), className: "text-white/60 hover:text-white", children: (0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [(0, jsx_runtime_1.jsx)("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), (0, jsx_runtime_1.jsx)("line", { x1: "6", y1: "6", x2: "18", y2: "18" })] }) })] }), (0, jsx_runtime_1.jsxs)("div", { className: "flex-1 overflow-y-auto p-4 space-y-4", children: [loadingViewers ? ((0, jsx_runtime_1.jsx)("div", { className: "flex items-center justify-center h-40", children: (0, jsx_runtime_1.jsx)("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-white" }) })) : viewers.length > 0 ? (viewers.map((viewer, idx) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center justify-between group", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex items-center gap-3", children: [(0, jsx_runtime_1.jsx)("img", { src: viewer.hgoruntuleyen_avatar, className: "w-12 h-12 rounded-full border border-white/10", alt: "" }), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col", children: [(0, jsx_runtime_1.jsx)("span", { className: "text-white font-medium", children: viewer.hgoruntuleyen_adsoyad }), (0, jsx_runtime_1.jsxs)("span", { className: "text-white/40 text-xs", children: ["@", viewer.hgoruntuleyen_kullaniciad] })] })] }), viewer.hgoruntuleyen_begenme === 1 && ((0, jsx_runtime_1.jsx)("div", { className: "text-red-500", children: (0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: (0, jsx_runtime_1.jsx)("path", { d: "M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" }) }) }))] }, idx)))) : ((0, jsx_runtime_1.jsx)("div", { className: "text-center text-white/40 mt-10", children: "Hen\u00FCz kimse g\u00F6r\u00FCnt\u00FClemedi." })), hasMoreViewers && ((0, jsx_runtime_1.jsx)("div", { className: "pt-4 pb-8 flex justify-center", children: (0, jsx_runtime_1.jsx)("button", { onClick: () => fetchViewers(true), disabled: loadingViewers, className: "px-6 py-2 bg-white/10 hover:bg-white/20 text-white text-sm font-medium rounded-full transition-all disabled:opacity-50", children: loadingViewers ? 'Yükleniyor...' : 'Daha Fazla Yükle' }) }))] })] }) }))] })] }));
|
|
243
|
-
}
|
|
244
|
-
//# sourceMappingURL=StoryOverlay.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StoryOverlay.js","sourceRoot":"","sources":["../../../../../src/components/modules/stories/widgets/StoryOverlay.tsx"],"names":[],"mappings":";AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBb,oCAyXC;;AA3YD,iCAAmD;AAEnD,qEAA8D;AAC9D,iEAA0D;AAC1D,2DAAmC;AAEnC,MAAM,IAAI,GAAG,IAAA,iBAAO,EAAC,GAAG,EAAE,CAAC,kDAAO,YAAY,IAAE,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;IACvE,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,GAAG,EAAE,CAAC,gCAAK,SAAS,EAAC,0GAA0G,wCAAoB;CAC7J,CAAC,CAAC;AASH,SAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,UAAU,EAAqB;IACjG,MAAM,EAAE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;
|
|
6
|
-
type?: string;
|
|
7
|
-
}[];
|
|
8
|
-
};
|
|
9
|
-
options?: any;
|
|
10
|
-
className?: string;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* A robust wrapper for the Plyr media player.
|
|
14
|
-
* Bypasses plyr-react to avoid ESM/CJS interop issues (e.g., "f is not a constructor").
|
|
15
|
-
*/
|
|
16
|
-
export declare function ArmoyuPlayer({ source, options, className }: ArmoyuPlayerProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=ArmoyuPlayer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArmoyuPlayer.d.ts","sourceRoot":"","sources":["../../../src/components/shared/ArmoyuPlayer.tsx"],"names":[],"mappings":"AAGA,UAAU,iBAAiB;IACzB,MAAM,EAAE;QACN,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC;QACxB,OAAO,EAAE;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;KAC3C,CAAC;IACF,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,iBAAiB,2CA0E7E"}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
'use client';
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.ArmoyuPlayer = ArmoyuPlayer;
|
|
38
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
39
|
-
const react_1 = require("react");
|
|
40
|
-
/**
|
|
41
|
-
* A robust wrapper for the Plyr media player.
|
|
42
|
-
* Bypasses plyr-react to avoid ESM/CJS interop issues (e.g., "f is not a constructor").
|
|
43
|
-
*/
|
|
44
|
-
function ArmoyuPlayer({ source, options, className }) {
|
|
45
|
-
const elementRef = (0, react_1.useRef)(null);
|
|
46
|
-
const playerRef = (0, react_1.useRef)(null);
|
|
47
|
-
(0, react_1.useEffect)(() => {
|
|
48
|
-
// Only run on client
|
|
49
|
-
if (typeof window === 'undefined')
|
|
50
|
-
return;
|
|
51
|
-
let isMounted = true;
|
|
52
|
-
async function initPlyr() {
|
|
53
|
-
try {
|
|
54
|
-
if (typeof window === 'undefined')
|
|
55
|
-
return;
|
|
56
|
-
let Plyr;
|
|
57
|
-
try {
|
|
58
|
-
// Use require for more reliable CJS/UMD interop in some Next.js versions
|
|
59
|
-
const mod = require('plyr');
|
|
60
|
-
Plyr = mod.default || mod;
|
|
61
|
-
if (typeof Plyr !== 'function' && Plyr.default) {
|
|
62
|
-
Plyr = Plyr.default;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
catch (e) {
|
|
66
|
-
// Fallback to dynamic import if require fails
|
|
67
|
-
const mod = await Promise.resolve().then(() => __importStar(require('plyr')));
|
|
68
|
-
Plyr = mod.default || mod;
|
|
69
|
-
if (typeof Plyr !== 'function' && Plyr.default) {
|
|
70
|
-
Plyr = Plyr.default;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
// Final validation
|
|
74
|
-
if (typeof Plyr !== 'function') {
|
|
75
|
-
throw new Error('Plyr constructor not found');
|
|
76
|
-
}
|
|
77
|
-
if (!isMounted || !elementRef.current)
|
|
78
|
-
return;
|
|
79
|
-
// Initialize if not already initialized
|
|
80
|
-
if (!playerRef.current) {
|
|
81
|
-
playerRef.current = new Plyr(elementRef.current, {
|
|
82
|
-
...options,
|
|
83
|
-
// Default options if not provided
|
|
84
|
-
hideControls: options?.hideControls ?? true,
|
|
85
|
-
resetOnEnd: options?.resetOnEnd ?? true,
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
// Set source
|
|
89
|
-
if (playerRef.current && source) {
|
|
90
|
-
playerRef.current.source = source;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
catch (error) {
|
|
94
|
-
console.error('[ArmoyuPlayer] Failed to initialize Plyr:', error);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
initPlyr();
|
|
98
|
-
return () => {
|
|
99
|
-
isMounted = false;
|
|
100
|
-
if (playerRef.current) {
|
|
101
|
-
playerRef.current.destroy();
|
|
102
|
-
playerRef.current = null;
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
}, [source, options]);
|
|
106
|
-
if (source.type === 'audio') {
|
|
107
|
-
return (0, jsx_runtime_1.jsx)("audio", { ref: elementRef, className: `plyr-react plyr ${className || ''}` });
|
|
108
|
-
}
|
|
109
|
-
return (0, jsx_runtime_1.jsx)("video", { ref: elementRef, className: `plyr-react plyr ${className || ''}` });
|
|
110
|
-
}
|
|
111
|
-
//# sourceMappingURL=ArmoyuPlayer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArmoyuPlayer.js","sourceRoot":"","sources":["../../../src/components/shared/ArmoyuPlayer.tsx"],"names":[],"mappings":";AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBb,oCA0EC;;AAzFD,iCAAiD;AAWjD;;;GAGG;AACH,SAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAqB;IAC5E,MAAM,UAAU,GAAG,IAAA,cAAM,EAAsC,IAAI,CAAC,CAAC;IACrE,MAAM,SAAS,GAAG,IAAA,cAAM,EAAM,IAAI,CAAC,CAAC;IAEpC,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,qBAAqB;QACrB,IAAI,OAAO,MAAM,KAAK,WAAW;YAAE,OAAO;QAE1C,IAAI,SAAS,GAAG,IAAI,CAAC;QAErB,KAAK,UAAU,QAAQ;YACrB,IAAI,CAAC;gBACH,IAAI,OAAO,MAAM,KAAK,WAAW;oBAAE,OAAO;gBAE1C,IAAI,IAAI,CAAC;gBACT,IAAI,CAAC;oBACH,yEAAyE;oBACzE,MAAM,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;oBAC5B,IAAI,GAAG,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC;oBAE1B,IAAI,OAAO,IA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