@armoyu/ui 1.1.32 → 1.1.34
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.js +34 -0
- package/dist/app/Providers.js.map +1 -0
- package/dist/app/api/proxy/[...path]/route.d.ts +23 -0
- package/dist/app/api/proxy/[...path]/route.d.ts.map +1 -0
- package/dist/app/api/proxy/[...path]/route.js +127 -0
- package/dist/app/api/proxy/[...path]/route.js.map +1 -0
- package/dist/app/egitim/[slug]/page.d.ts +2 -0
- package/dist/app/egitim/[slug]/page.d.ts.map +1 -0
- package/dist/app/egitim/[slug]/page.js +7 -0
- package/dist/app/egitim/[slug]/page.js.map +1 -0
- package/dist/app/etkinlikler/[eventId]/page.d.ts +2 -0
- package/dist/app/etkinlikler/[eventId]/page.d.ts.map +1 -0
- package/dist/app/etkinlikler/[eventId]/page.js +12 -0
- package/dist/app/etkinlikler/[eventId]/page.js.map +1 -0
- package/dist/app/etkinlikler/page.d.ts +2 -0
- package/dist/app/etkinlikler/page.d.ts.map +1 -0
- package/dist/app/etkinlikler/page.js +32 -0
- package/dist/app/etkinlikler/page.js.map +1 -0
- package/dist/app/gruplar/[groupId]/page.js +11 -0
- package/dist/app/gruplar/[groupId]/page.js.map +1 -0
- package/dist/app/layout.js +29 -0
- package/dist/app/layout.js.map +1 -0
- package/dist/app/management-panel/layout.js +67 -0
- package/dist/app/management-panel/layout.js.map +1 -0
- package/dist/app/management-panel/page.js +151 -0
- package/dist/app/management-panel/page.js.map +1 -0
- package/dist/app/not-found.d.ts +2 -0
- package/dist/app/not-found.d.ts.map +1 -0
- package/dist/app/not-found.js +7 -0
- package/dist/app/not-found.js.map +1 -0
- package/dist/app/page.js +59 -0
- package/dist/app/page.js.map +1 -0
- package/dist/components/Button.d.ts +8 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/Button.js +16 -0
- package/dist/components/Button.js.map +1 -0
- package/dist/components/GenderStatsBar.d.ts +6 -0
- package/dist/components/GenderStatsBar.d.ts.map +1 -0
- package/dist/components/GenderStatsBar.js +8 -0
- package/dist/components/GenderStatsBar.js.map +1 -0
- package/dist/components/RollingNumber.d.ts +8 -0
- package/dist/components/RollingNumber.d.ts.map +1 -0
- package/dist/components/RollingNumber.js +28 -0
- package/dist/components/RollingNumber.js.map +1 -0
- package/dist/components/Slider.d.ts +11 -0
- package/dist/components/Slider.d.ts.map +1 -0
- package/dist/components/Slider.js +36 -0
- package/dist/components/Slider.js.map +1 -0
- package/dist/components/StatsGrid.d.ts +6 -0
- package/dist/components/StatsGrid.d.ts.map +1 -0
- package/dist/components/StatsGrid.js +14 -0
- package/dist/components/StatsGrid.js.map +1 -0
- package/dist/components/ViewModeToggle.d.ts +8 -0
- package/dist/components/ViewModeToggle.d.ts.map +1 -0
- package/dist/components/ViewModeToggle.js +10 -0
- package/dist/components/ViewModeToggle.js.map +1 -0
- package/dist/components/common/Mentions/HashtagLink.d.ts +7 -0
- package/dist/components/common/Mentions/HashtagLink.d.ts.map +1 -0
- package/dist/components/common/Mentions/HashtagLink.js +7 -0
- package/dist/components/common/Mentions/HashtagLink.js.map +1 -0
- package/dist/components/common/Mentions/MentionLink.d.ts +7 -0
- package/dist/components/common/Mentions/MentionLink.d.ts.map +1 -0
- package/dist/components/common/Mentions/MentionLink.js +33 -0
- package/dist/components/common/Mentions/MentionLink.js.map +1 -0
- package/dist/components/common/Mentions/MentionText.d.ts +8 -0
- package/dist/components/common/Mentions/MentionText.d.ts.map +1 -0
- package/dist/components/common/Mentions/MentionText.js +23 -0
- package/dist/components/common/Mentions/MentionText.js.map +1 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts +2 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.js +16 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.js.map +1 -0
- package/dist/components/modules/auth/widgets/InviteWidget.d.ts +6 -0
- package/dist/components/modules/auth/widgets/InviteWidget.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/InviteWidget.js +68 -0
- package/dist/components/modules/auth/widgets/InviteWidget.js.map +1 -0
- package/dist/components/modules/auth/widgets/LoginWidget.js +1 -1
- package/dist/components/modules/auth/widgets/LoginWidget.js.map +1 -1
- package/dist/components/modules/auth/widgets/RegisterWidget.js +1 -1
- package/dist/components/modules/auth/widgets/RegisterWidget.js.map +1 -1
- package/dist/components/modules/blog/pages/MyArticlesPage.d.ts +2 -0
- package/dist/components/modules/blog/pages/MyArticlesPage.d.ts.map +1 -0
- package/dist/components/modules/blog/pages/MyArticlesPage.js +229 -0
- package/dist/components/modules/blog/pages/MyArticlesPage.js.map +1 -0
- package/dist/components/modules/chat/ChatLayout.js +208 -0
- package/dist/components/modules/chat/ChatLayout.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatInput.d.ts +5 -0
- package/dist/components/modules/chat/widgets/ChatInput.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatInput.js +31 -0
- package/dist/components/modules/chat/widgets/ChatInput.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatList.d.ts +7 -0
- package/dist/components/modules/chat/widgets/ChatList.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatList.js +74 -0
- package/dist/components/modules/chat/widgets/ChatList.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts +12 -0
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatMessage.js +31 -0
- package/dist/components/modules/chat/widgets/ChatMessage.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatNotes.d.ts +2 -0
- package/dist/components/modules/chat/widgets/ChatNotes.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatNotes.js +15 -0
- package/dist/components/modules/chat/widgets/ChatNotes.js.map +1 -0
- package/dist/components/modules/cloud/CloudModal.d.ts +12 -0
- package/dist/components/modules/cloud/CloudModal.d.ts.map +1 -0
- package/dist/components/modules/cloud/CloudModal.js +251 -0
- package/dist/components/modules/cloud/CloudModal.js.map +1 -0
- package/dist/components/modules/cloud/CloudWidget.d.ts +9 -0
- package/dist/components/modules/cloud/CloudWidget.d.ts.map +1 -0
- package/dist/components/modules/cloud/CloudWidget.js +7 -0
- package/dist/components/modules/cloud/CloudWidget.js.map +1 -0
- package/dist/components/modules/community/CommunityLayout.js +136 -0
- package/dist/components/modules/community/CommunityLayout.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.d.ts +6 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.js +7 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts +9 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.js +8 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupHeader.d.ts +11 -0
- package/dist/components/modules/community/widgets/GroupHeader.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupHeader.js +18 -0
- package/dist/components/modules/community/widgets/GroupHeader.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupMenu.d.ts +10 -0
- package/dist/components/modules/community/widgets/GroupMenu.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupMenu.js +17 -0
- package/dist/components/modules/community/widgets/GroupMenu.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts +6 -0
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupPermissions.js +7 -0
- package/dist/components/modules/community/widgets/GroupPermissions.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts +11 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.js +13 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts +7 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.js +8 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.js.map +1 -0
- package/dist/components/modules/community/widgets/SchoolCard.d.ts +7 -0
- package/dist/components/modules/community/widgets/SchoolCard.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/SchoolCard.js +11 -0
- package/dist/components/modules/community/widgets/SchoolCard.js.map +1 -0
- package/dist/components/modules/community/widgets/SchoolJoinModal.d.ts +8 -0
- package/dist/components/modules/community/widgets/SchoolJoinModal.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/SchoolJoinModal.js +36 -0
- package/dist/components/modules/community/widgets/SchoolJoinModal.js.map +1 -0
- package/dist/components/modules/community/widgets/SurveyCard.d.ts +8 -0
- package/dist/components/modules/community/widgets/SurveyCard.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/SurveyCard.js +28 -0
- package/dist/components/modules/community/widgets/SurveyCard.js.map +1 -0
- package/dist/components/modules/education/pages/EducationPage.d.ts +2 -0
- package/dist/components/modules/education/pages/EducationPage.d.ts.map +1 -0
- package/dist/components/modules/education/pages/EducationPage.js +56 -0
- package/dist/components/modules/education/pages/EducationPage.js.map +1 -0
- package/dist/components/modules/education/pages/SchoolDetailPage.d.ts +2 -0
- package/dist/components/modules/education/pages/SchoolDetailPage.d.ts.map +1 -0
- package/dist/components/modules/education/pages/SchoolDetailPage.js +79 -0
- package/dist/components/modules/education/pages/SchoolDetailPage.js.map +1 -0
- package/dist/components/modules/events/DetailPage.d.ts +9 -0
- package/dist/components/modules/events/DetailPage.d.ts.map +1 -0
- package/dist/components/modules/events/DetailPage.js +94 -0
- package/dist/components/modules/events/DetailPage.js.map +1 -0
- package/dist/components/modules/events/EventsLayout.d.ts +8 -0
- package/dist/components/modules/events/EventsLayout.d.ts.map +1 -0
- package/dist/components/modules/events/EventsLayout.js +7 -0
- package/dist/components/modules/events/EventsLayout.js.map +1 -0
- package/dist/components/modules/events/EventsPage.d.ts +11 -0
- package/dist/components/modules/events/EventsPage.d.ts.map +1 -0
- package/dist/components/modules/events/EventsPage.js +91 -0
- package/dist/components/modules/events/EventsPage.js.map +1 -0
- package/dist/components/modules/events/index.d.ts +7 -0
- package/dist/components/modules/events/index.d.ts.map +1 -0
- package/dist/components/modules/events/index.js +7 -0
- package/dist/components/modules/events/index.js.map +1 -0
- package/dist/components/modules/events/widgets/EventCard.d.ts +12 -0
- package/dist/components/modules/events/widgets/EventCard.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventCard.js +12 -0
- package/dist/components/modules/events/widgets/EventCard.js.map +1 -0
- package/dist/components/modules/events/widgets/EventFormModal.d.ts +9 -0
- package/dist/components/modules/events/widgets/EventFormModal.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventFormModal.js +24 -0
- package/dist/components/modules/events/widgets/EventFormModal.js.map +1 -0
- package/dist/components/modules/events/widgets/EventList.d.ts +12 -0
- package/dist/components/modules/events/widgets/EventList.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventList.js +30 -0
- package/dist/components/modules/events/widgets/EventList.js.map +1 -0
- package/dist/components/modules/events/widgets/EventShowcase.d.ts +6 -0
- package/dist/components/modules/events/widgets/EventShowcase.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventShowcase.js +80 -0
- package/dist/components/modules/events/widgets/EventShowcase.js.map +1 -0
- package/dist/components/modules/forum/pages/ForumBoardPage.d.ts +8 -0
- package/dist/components/modules/forum/pages/ForumBoardPage.d.ts.map +1 -0
- package/dist/components/modules/forum/pages/ForumBoardPage.js +18 -0
- package/dist/components/modules/forum/pages/ForumBoardPage.js.map +1 -0
- package/dist/components/modules/forum/pages/ForumPage.d.ts +2 -0
- package/dist/components/modules/forum/pages/ForumPage.d.ts.map +1 -0
- package/dist/components/modules/forum/pages/ForumPage.js +14 -0
- package/dist/components/modules/forum/pages/ForumPage.js.map +1 -0
- package/dist/components/modules/forum/pages/ForumTopicPage.d.ts +8 -0
- package/dist/components/modules/forum/pages/ForumTopicPage.d.ts.map +1 -0
- package/dist/components/modules/forum/pages/ForumTopicPage.js +55 -0
- package/dist/components/modules/forum/pages/ForumTopicPage.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumBoard.d.ts +17 -0
- package/dist/components/modules/forum/widgets/ForumBoard.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumBoard.js +7 -0
- package/dist/components/modules/forum/widgets/ForumBoard.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts +6 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.js +7 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts +6 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js +6 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumPost.d.ts +14 -0
- package/dist/components/modules/forum/widgets/ForumPost.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumPost.js +6 -0
- package/dist/components/modules/forum/widgets/ForumPost.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts +2 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.js +6 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.js.map +1 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.d.ts +8 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.js +27 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.js.map +1 -0
- package/dist/components/modules/forum/widgets/TopicItem.d.ts +16 -0
- package/dist/components/modules/forum/widgets/TopicItem.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/TopicItem.js +7 -0
- package/dist/components/modules/forum/widgets/TopicItem.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.d.ts +10 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.js +6 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts +8 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js +6 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts +2 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js +6 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts +7 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js +6 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js.map +1 -0
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.d.ts +6 -0
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.d.ts.map +1 -0
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js +42 -0
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js.map +1 -0
- package/dist/components/modules/giveaways/pages/GiveawaysPage.d.ts +2 -0
- package/dist/components/modules/giveaways/pages/GiveawaysPage.d.ts.map +1 -0
- package/dist/components/modules/giveaways/pages/GiveawaysPage.js +60 -0
- package/dist/components/modules/giveaways/pages/GiveawaysPage.js.map +1 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts +10 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts.map +1 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js +7 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js.map +1 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.d.ts +8 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.d.ts.map +1 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.js +28 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.js.map +1 -0
- package/dist/components/modules/groups/widgets/GroupCard.d.ts +14 -0
- package/dist/components/modules/groups/widgets/GroupCard.d.ts.map +1 -0
- package/dist/components/modules/groups/widgets/GroupCard.js +8 -0
- package/dist/components/modules/groups/widgets/GroupCard.js.map +1 -0
- package/dist/components/modules/guest/widgets/Introduction.d.ts +2 -0
- package/dist/components/modules/guest/widgets/Introduction.d.ts.map +1 -0
- package/dist/components/modules/guest/widgets/Introduction.js +15 -0
- package/dist/components/modules/guest/widgets/Introduction.js.map +1 -0
- package/dist/components/modules/management/ManagementAccessDenied.d.ts +7 -0
- package/dist/components/modules/management/ManagementAccessDenied.d.ts.map +1 -0
- package/dist/components/modules/management/ManagementAccessDenied.js +7 -0
- package/dist/components/modules/management/ManagementAccessDenied.js.map +1 -0
- package/dist/components/modules/management/ManagementLayout.d.ts +14 -0
- package/dist/components/modules/management/ManagementLayout.d.ts.map +1 -0
- package/dist/components/modules/management/ManagementLayout.js +13 -0
- package/dist/components/modules/management/ManagementLayout.js.map +1 -0
- package/dist/components/modules/management/ManagementMobileToggle.d.ts +6 -0
- package/dist/components/modules/management/ManagementMobileToggle.d.ts.map +1 -0
- package/dist/components/modules/management/ManagementMobileToggle.js +6 -0
- package/dist/components/modules/management/ManagementMobileToggle.js.map +1 -0
- package/dist/components/modules/management/ManagementSidebar.d.ts +23 -0
- package/dist/components/modules/management/ManagementSidebar.d.ts.map +1 -0
- package/dist/components/modules/management/ManagementSidebar.js +48 -0
- package/dist/components/modules/management/ManagementSidebar.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.d.ts +6 -0
- package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.js +16 -0
- package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.d.ts +18 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.js +7 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementCharts.d.ts +15 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementCharts.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementCharts.js +10 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementCharts.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.d.ts +36 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.js +14 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementHeader.d.ts +8 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementHeader.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementHeader.js +5 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementHeader.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementOverview.d.ts +27 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementOverview.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementOverview.js +11 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementOverview.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.d.ts +10 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.js +7 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.d.ts +14 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.js +7 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.d.ts +4 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.js +23 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/RegistryManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/dashboard/RegistryManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/RegistryManagement.js +36 -0
- package/dist/components/modules/management/widgets/dashboard/RegistryManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.js +74 -0
- package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/SystemSettings.d.ts +2 -0
- package/dist/components/modules/management/widgets/dashboard/SystemSettings.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/SystemSettings.js +20 -0
- package/dist/components/modules/management/widgets/dashboard/SystemSettings.js.map +1 -0
- package/dist/components/modules/management/widgets/editor/GiveawaysManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/editor/GiveawaysManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/editor/GiveawaysManagement.js +12 -0
- package/dist/components/modules/management/widgets/editor/GiveawaysManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/editor/GroupsManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/editor/GroupsManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/editor/GroupsManagement.js +12 -0
- package/dist/components/modules/management/widgets/editor/GroupsManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/editor/NewsManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/editor/NewsManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/editor/NewsManagement.js +13 -0
- package/dist/components/modules/management/widgets/editor/NewsManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/editor/SchoolsManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/editor/SchoolsManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/editor/SchoolsManagement.js +12 -0
- package/dist/components/modules/management/widgets/editor/SchoolsManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/editor/StationsManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/editor/StationsManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/editor/StationsManagement.js +15 -0
- package/dist/components/modules/management/widgets/editor/StationsManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/events/EventManagement.d.ts +13 -0
- package/dist/components/modules/management/widgets/events/EventManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/events/EventManagement.js +13 -0
- package/dist/components/modules/management/widgets/events/EventManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/events/EventSummaryWidget.d.ts +2 -0
- package/dist/components/modules/management/widgets/events/EventSummaryWidget.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/events/EventSummaryWidget.js +11 -0
- package/dist/components/modules/management/widgets/events/EventSummaryWidget.js.map +1 -0
- package/dist/components/modules/management/widgets/support/SupportManagement.d.ts +14 -0
- package/dist/components/modules/management/widgets/support/SupportManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/support/SupportManagement.js +17 -0
- package/dist/components/modules/management/widgets/support/SupportManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/support/SupportSummaryWidget.d.ts +2 -0
- package/dist/components/modules/management/widgets/support/SupportSummaryWidget.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/support/SupportSummaryWidget.js +11 -0
- package/dist/components/modules/management/widgets/support/SupportSummaryWidget.js.map +1 -0
- package/dist/components/modules/management/widgets/users/MemberManagement.d.ts +16 -0
- package/dist/components/modules/management/widgets/users/MemberManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/users/MemberManagement.js +37 -0
- package/dist/components/modules/management/widgets/users/MemberManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/users/MemberSummaryWidget.d.ts +2 -0
- package/dist/components/modules/management/widgets/users/MemberSummaryWidget.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/users/MemberSummaryWidget.js +12 -0
- package/dist/components/modules/management/widgets/users/MemberSummaryWidget.js.map +1 -0
- package/dist/components/modules/mods/pages/ModDetailPage.d.ts +7 -0
- package/dist/components/modules/mods/pages/ModDetailPage.d.ts.map +1 -0
- package/dist/components/modules/mods/pages/ModDetailPage.js +24 -0
- package/dist/components/modules/mods/pages/ModDetailPage.js.map +1 -0
- package/dist/components/modules/mods/pages/ModsPage.d.ts +20 -0
- package/dist/components/modules/mods/pages/ModsPage.d.ts.map +1 -0
- package/dist/components/modules/mods/pages/ModsPage.js +46 -0
- package/dist/components/modules/mods/pages/ModsPage.js.map +1 -0
- package/dist/components/modules/news/NewsLayout.d.ts +7 -0
- package/dist/components/modules/news/NewsLayout.d.ts.map +1 -0
- package/dist/components/modules/news/NewsLayout.js +7 -0
- package/dist/components/modules/news/NewsLayout.js.map +1 -0
- package/dist/components/modules/news/index.d.ts +6 -0
- package/dist/components/modules/news/index.d.ts.map +1 -0
- package/dist/components/modules/news/index.js +6 -0
- package/dist/components/modules/news/index.js.map +1 -0
- package/dist/components/modules/news/pages/NewsDetailPage.d.ts +7 -0
- package/dist/components/modules/news/pages/NewsDetailPage.d.ts.map +1 -0
- package/dist/components/modules/news/pages/NewsDetailPage.js +56 -0
- package/dist/components/modules/news/pages/NewsDetailPage.js.map +1 -0
- package/dist/components/modules/news/pages/NewsPage.d.ts +2 -0
- package/dist/components/modules/news/pages/NewsPage.d.ts.map +1 -0
- package/dist/components/modules/news/pages/NewsPage.js +69 -0
- package/dist/components/modules/news/pages/NewsPage.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsCard.d.ts +13 -0
- package/dist/components/modules/news/widgets/NewsCard.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsCard.js +7 -0
- package/dist/components/modules/news/widgets/NewsCard.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsComments.d.ts +4 -0
- package/dist/components/modules/news/widgets/NewsComments.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsComments.js +7 -0
- package/dist/components/modules/news/widgets/NewsComments.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailAuthor.d.ts +8 -0
- package/dist/components/modules/news/widgets/NewsDetailAuthor.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailAuthor.js +6 -0
- package/dist/components/modules/news/widgets/NewsDetailAuthor.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailHero.d.ts +9 -0
- package/dist/components/modules/news/widgets/NewsDetailHero.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailHero.js +6 -0
- package/dist/components/modules/news/widgets/NewsDetailHero.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailInteraction.d.ts +7 -0
- package/dist/components/modules/news/widgets/NewsDetailInteraction.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailInteraction.js +8 -0
- package/dist/components/modules/news/widgets/NewsDetailInteraction.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailSidebar.d.ts +8 -0
- package/dist/components/modules/news/widgets/NewsDetailSidebar.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailSidebar.js +6 -0
- package/dist/components/modules/news/widgets/NewsDetailSidebar.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsHero.d.ts +2 -0
- package/dist/components/modules/news/widgets/NewsHero.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsHero.js +7 -0
- package/dist/components/modules/news/widgets/NewsHero.js.map +1 -0
- package/dist/components/modules/poll/pages/PollsPage.d.ts +2 -0
- package/dist/components/modules/poll/pages/PollsPage.d.ts.map +1 -0
- package/dist/components/modules/poll/pages/PollsPage.js +57 -0
- package/dist/components/modules/poll/pages/PollsPage.js.map +1 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts +28 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.js +90 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.js.map +1 -0
- package/dist/components/modules/posts/widgets/PostCard.d.ts +39 -0
- package/dist/components/modules/posts/widgets/PostCard.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/PostCard.js +260 -0
- package/dist/components/modules/posts/widgets/PostCard.js.map +1 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts +15 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js +13 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js.map +1 -0
- package/dist/components/modules/posts/widgets/PostShareModal.d.ts +9 -0
- package/dist/components/modules/posts/widgets/PostShareModal.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/PostShareModal.js +45 -0
- package/dist/components/modules/posts/widgets/PostShareModal.js.map +1 -0
- package/dist/components/modules/posts/widgets/RepostModal.d.ts +22 -0
- package/dist/components/modules/posts/widgets/RepostModal.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/RepostModal.js +76 -0
- package/dist/components/modules/posts/widgets/RepostModal.js.map +1 -0
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts +23 -0
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/SocialFeed.js +123 -0
- package/dist/components/modules/posts/widgets/SocialFeed.js.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts +16 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.js +55 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts +7 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js +24 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js.map +1 -0
- package/dist/components/modules/profile/ProfileLayout.js +70 -0
- package/dist/components/modules/profile/ProfileLayout.js.map +1 -0
- package/dist/components/modules/profile/tabs/CareerTab.d.ts +8 -0
- package/dist/components/modules/profile/tabs/CareerTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/CareerTab.js +57 -0
- package/dist/components/modules/profile/tabs/CareerTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/FriendsTab.js +46 -0
- package/dist/components/modules/profile/tabs/FriendsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/GamesTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/GamesTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/GamesTab.js +24 -0
- package/dist/components/modules/profile/tabs/GamesTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/GroupsTab.js +9 -0
- package/dist/components/modules/profile/tabs/GroupsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/MediaTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/MediaTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/MediaTab.js +81 -0
- package/dist/components/modules/profile/tabs/MediaTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/PostsTab.js +34 -0
- package/dist/components/modules/profile/tabs/PostsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/QuestionsTab.d.ts +6 -0
- package/dist/components/modules/profile/tabs/QuestionsTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/QuestionsTab.js +39 -0
- package/dist/components/modules/profile/tabs/QuestionsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/TaggedPostsTab.js +9 -0
- package/dist/components/modules/profile/tabs/TaggedPostsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/WallTab.js +40 -0
- package/dist/components/modules/profile/tabs/WallTab.js.map +1 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts +9 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.js +78 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts +2 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js +14 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts +8 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js +12 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.d.ts +7 -0
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.js +11 -0
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.d.ts +7 -0
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js +11 -0
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts +9 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.js +44 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.d.ts +10 -0
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.js +41 -0
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileSidebar.js +11 -0
- package/dist/components/modules/profile/widgets/ProfileSidebar.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts +9 -0
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileStats.js +26 -0
- package/dist/components/modules/profile/widgets/ProfileStats.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js +61 -0
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +1 -0
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.d.ts +10 -0
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.js +16 -0
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.js.map +1 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts +11 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js +18 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js.map +1 -0
- package/dist/components/modules/shop/CartLayout.d.ts +12 -0
- package/dist/components/modules/shop/CartLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/CartLayout.js +14 -0
- package/dist/components/modules/shop/CartLayout.js.map +1 -0
- package/dist/components/modules/shop/CheckoutLayout.d.ts +8 -0
- package/dist/components/modules/shop/CheckoutLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/CheckoutLayout.js +23 -0
- package/dist/components/modules/shop/CheckoutLayout.js.map +1 -0
- package/dist/components/modules/shop/DetailLayout.d.ts +8 -0
- package/dist/components/modules/shop/DetailLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/DetailLayout.js +24 -0
- package/dist/components/modules/shop/DetailLayout.js.map +1 -0
- package/dist/components/modules/shop/OrdersLayout.d.ts +15 -0
- package/dist/components/modules/shop/OrdersLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/OrdersLayout.js +8 -0
- package/dist/components/modules/shop/OrdersLayout.js.map +1 -0
- package/dist/components/modules/shop/StoreLayout.d.ts +8 -0
- package/dist/components/modules/shop/StoreLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/StoreLayout.js +6 -0
- package/dist/components/modules/shop/StoreLayout.js.map +1 -0
- package/dist/components/modules/shop/widgets/BackToStore.d.ts +2 -0
- package/dist/components/modules/shop/widgets/BackToStore.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/BackToStore.js +13 -0
- package/dist/components/modules/shop/widgets/BackToStore.js.map +1 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.d.ts +8 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.js +23 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.js.map +1 -0
- package/dist/components/modules/shop/widgets/ProductCard.d.ts +8 -0
- package/dist/components/modules/shop/widgets/ProductCard.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/ProductCard.js +10 -0
- package/dist/components/modules/shop/widgets/ProductCard.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreHeader.d.ts +6 -0
- package/dist/components/modules/shop/widgets/StoreHeader.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreHeader.js +9 -0
- package/dist/components/modules/shop/widgets/StoreHeader.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts +7 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.js +13 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreSearchBar.d.ts +9 -0
- package/dist/components/modules/shop/widgets/StoreSearchBar.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreSearchBar.js +9 -0
- package/dist/components/modules/shop/widgets/StoreSearchBar.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.d.ts +8 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.js +8 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts +2 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js +29 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js.map +1 -0
- package/dist/components/modules/social/SocialLayout.js +113 -0
- package/dist/components/modules/social/SocialLayout.js.map +1 -0
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/EconomyWidget.js +55 -0
- package/dist/components/modules/social/widgets/EconomyWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/LeagueWidget.js +50 -0
- package/dist/components/modules/social/widgets/LeagueWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.js +53 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/NewMembersWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/NewMembersWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/NewMembersWidget.js +36 -0
- package/dist/components/modules/social/widgets/NewMembersWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/PostComposer.d.ts +15 -0
- package/dist/components/modules/social/widgets/PostComposer.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/PostComposer.js +164 -0
- package/dist/components/modules/social/widgets/PostComposer.js.map +1 -0
- package/dist/components/modules/social/widgets/RankingWidget.d.ts +5 -0
- package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/RankingWidget.js +78 -0
- package/dist/components/modules/social/widgets/RankingWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/SocialSidebar.d.ts +2 -0
- package/dist/components/modules/social/widgets/SocialSidebar.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/SocialSidebar.js +9 -0
- package/dist/components/modules/social/widgets/SocialSidebar.js.map +1 -0
- package/dist/components/modules/social/widgets/TrendingWidget.d.ts +3 -0
- package/dist/components/modules/social/widgets/TrendingWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/TrendingWidget.js +34 -0
- package/dist/components/modules/social/widgets/TrendingWidget.js.map +1 -0
- package/dist/components/modules/stations/widgets/StationCard.d.ts +3 -0
- package/dist/components/modules/stations/widgets/StationCard.d.ts.map +1 -0
- package/dist/components/modules/stations/widgets/StationCard.js +26 -0
- package/dist/components/modules/stations/widgets/StationCard.js.map +1 -0
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts +10 -0
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts.map +1 -0
- package/dist/components/modules/stations/widgets/StationQRModal.js +13 -0
- package/dist/components/modules/stations/widgets/StationQRModal.js.map +1 -0
- package/dist/components/modules/stories/widgets/AddStoryModal.d.ts +13 -0
- package/dist/components/modules/stories/widgets/AddStoryModal.d.ts.map +1 -0
- package/dist/components/modules/stories/widgets/AddStoryModal.js +11 -0
- package/dist/components/modules/stories/widgets/AddStoryModal.js.map +1 -0
- package/dist/components/modules/stories/widgets/Stories.d.ts +2 -0
- package/dist/components/modules/stories/widgets/Stories.d.ts.map +1 -0
- package/dist/components/modules/stories/widgets/Stories.js +151 -0
- package/dist/components/modules/stories/widgets/Stories.js.map +1 -0
- package/dist/components/modules/stories/widgets/StoryOverlay.d.ts +10 -0
- package/dist/components/modules/stories/widgets/StoryOverlay.d.ts.map +1 -0
- package/dist/components/modules/stories/widgets/StoryOverlay.js +205 -0
- package/dist/components/modules/stories/widgets/StoryOverlay.js.map +1 -0
- package/dist/components/modules/support/pages/SupportPage.d.ts +2 -0
- package/dist/components/modules/support/pages/SupportPage.d.ts.map +1 -0
- package/dist/components/modules/support/pages/SupportPage.js +47 -0
- package/dist/components/modules/support/pages/SupportPage.js.map +1 -0
- package/dist/components/shared/AnimatedStat.d.ts +13 -0
- package/dist/components/shared/AnimatedStat.d.ts.map +1 -0
- package/dist/components/shared/AnimatedStat.js +20 -0
- package/dist/components/shared/AnimatedStat.js.map +1 -0
- package/dist/components/shared/ArmoyuPlayer.d.ts +18 -0
- package/dist/components/shared/ArmoyuPlayer.d.ts.map +1 -0
- package/dist/components/shared/ArmoyuPlayer.js +69 -0
- package/dist/components/shared/ArmoyuPlayer.js.map +1 -0
- package/dist/components/shared/DevTools.d.ts +2 -0
- package/dist/components/shared/DevTools.d.ts.map +1 -0
- package/dist/components/shared/DevTools.js +32 -0
- package/dist/components/shared/DevTools.js.map +1 -0
- package/dist/components/shared/FilterTabs.d.ts +16 -0
- package/dist/components/shared/FilterTabs.d.ts.map +1 -0
- package/dist/components/shared/FilterTabs.js +18 -0
- package/dist/components/shared/FilterTabs.js.map +1 -0
- package/dist/components/shared/FloatingChatButton.js +21 -0
- package/dist/components/shared/FloatingChatButton.js.map +1 -0
- package/dist/components/shared/Footer.d.ts +2 -0
- package/dist/components/shared/Footer.d.ts.map +1 -0
- package/dist/components/shared/Footer.js +10 -0
- package/dist/components/shared/Footer.js.map +1 -0
- package/dist/components/shared/Icons.d.ts +8 -0
- package/dist/components/shared/Icons.d.ts.map +1 -0
- package/dist/components/shared/Icons.js +5 -0
- package/dist/components/shared/Icons.js.map +1 -0
- package/dist/components/shared/ListToolbar.d.ts +32 -0
- package/dist/components/shared/ListToolbar.d.ts.map +1 -0
- package/dist/components/shared/ListToolbar.js +13 -0
- package/dist/components/shared/ListToolbar.js.map +1 -0
- package/dist/components/shared/MainLayoutWrapper.d.ts +5 -0
- package/dist/components/shared/MainLayoutWrapper.d.ts.map +1 -0
- package/dist/components/shared/MainLayoutWrapper.js +8 -0
- package/dist/components/shared/MainLayoutWrapper.js.map +1 -0
- package/dist/components/shared/NotFound.d.ts +21 -0
- package/dist/components/shared/NotFound.d.ts.map +1 -0
- package/dist/components/shared/NotFound.js +7 -0
- package/dist/components/shared/NotFound.js.map +1 -0
- package/dist/components/shared/PageWidth.d.ts +6 -0
- package/dist/components/shared/PageWidth.d.ts.map +1 -0
- package/dist/components/shared/PageWidth.js +14 -0
- package/dist/components/shared/PageWidth.js.map +1 -0
- package/dist/components/shared/RegisterModal.d.ts +7 -0
- package/dist/components/shared/RegisterModal.d.ts.map +1 -0
- package/dist/components/shared/RegisterModal.js +9 -0
- package/dist/components/shared/RegisterModal.js.map +1 -0
- package/dist/components/shared/SearchBar.d.ts +14 -0
- package/dist/components/shared/SearchBar.d.ts.map +1 -0
- package/dist/components/shared/SearchBar.js +21 -0
- package/dist/components/shared/SearchBar.js.map +1 -0
- package/dist/components/shared/UserDrawer.d.ts +23 -0
- package/dist/components/shared/UserDrawer.d.ts.map +1 -0
- package/dist/components/shared/UserDrawer.js +47 -0
- package/dist/components/shared/UserDrawer.js.map +1 -0
- package/dist/components/showcase/AuthTab.js +14 -0
- package/dist/components/showcase/AuthTab.js.map +1 -0
- package/dist/components/showcase/CommunityTab.js +6 -0
- package/dist/components/showcase/CommunityTab.js.map +1 -0
- package/dist/components/showcase/CorporateTab.js +20 -0
- package/dist/components/showcase/CorporateTab.js.map +1 -0
- package/dist/components/showcase/GeneralTab.js +6 -0
- package/dist/components/showcase/GeneralTab.js.map +1 -0
- package/dist/components/showcase/GroupTab.d.ts +2 -0
- package/dist/components/showcase/GroupTab.d.ts.map +1 -0
- package/dist/components/showcase/GroupTab.js +111 -0
- package/dist/components/showcase/GroupTab.js.map +1 -0
- package/dist/components/showcase/MessagesTab.js +25 -0
- package/dist/components/showcase/MessagesTab.js.map +1 -0
- package/dist/components/showcase/MyPostsTab.js +12 -0
- package/dist/components/showcase/MyPostsTab.js.map +1 -0
- package/dist/components/showcase/ProfileTab.js +73 -0
- package/dist/components/showcase/ProfileTab.js.map +1 -0
- package/dist/components/showcase/ReelsTab.d.ts +2 -0
- package/dist/components/showcase/ReelsTab.d.ts.map +1 -0
- package/dist/components/showcase/ReelsTab.js +97 -0
- package/dist/components/showcase/ReelsTab.js.map +1 -0
- package/dist/components/showcase/RulesTab.d.ts +2 -0
- package/dist/components/showcase/RulesTab.d.ts.map +1 -0
- package/dist/components/showcase/RulesTab.js +18 -0
- package/dist/components/showcase/RulesTab.js.map +1 -0
- package/dist/components/showcase/ShopTab.js +63 -0
- package/dist/components/showcase/ShopTab.js.map +1 -0
- package/dist/components/showcase/ShowcaseNavigation.d.ts +2 -0
- package/dist/components/showcase/ShowcaseNavigation.d.ts.map +1 -0
- package/dist/components/showcase/ShowcaseNavigation.js +129 -0
- package/dist/components/showcase/ShowcaseNavigation.js.map +1 -0
- package/dist/components/showcase/SocialTab.js +61 -0
- package/dist/components/showcase/SocialTab.js.map +1 -0
- package/dist/components/showcase/StoriesTab.js +7 -0
- package/dist/components/showcase/StoriesTab.js.map +1 -0
- package/dist/context/ArmoyuContext.d.ts +45 -0
- package/dist/context/ArmoyuContext.d.ts.map +1 -0
- package/dist/context/ArmoyuContext.js +92 -0
- package/dist/context/ArmoyuContext.js.map +1 -0
- package/dist/context/AuthContext.d.ts +23 -0
- package/dist/context/AuthContext.d.ts.map +1 -0
- package/dist/context/AuthContext.js +154 -0
- package/dist/context/AuthContext.js.map +1 -0
- package/dist/context/CartContext.d.ts +18 -0
- package/dist/context/CartContext.d.ts.map +1 -0
- package/dist/context/CartContext.js +63 -0
- package/dist/context/CartContext.js.map +1 -0
- package/dist/context/ChatContext.d.ts +27 -0
- package/dist/context/ChatContext.d.ts.map +1 -0
- package/dist/context/ChatContext.js +170 -0
- package/dist/context/ChatContext.js.map +1 -0
- package/dist/context/LayoutContext.d.ts +11 -0
- package/dist/context/LayoutContext.d.ts.map +1 -0
- package/dist/context/LayoutContext.js +17 -0
- package/dist/context/LayoutContext.js.map +1 -0
- package/dist/context/SocketContext.d.ts +13 -0
- package/dist/context/SocketContext.d.ts.map +1 -0
- package/dist/context/SocketContext.js +32 -0
- package/dist/context/SocketContext.js.map +1 -0
- package/dist/context/ThemeContext.d.ts +14 -0
- package/dist/context/ThemeContext.d.ts.map +1 -0
- package/dist/context/ThemeContext.js +52 -0
- package/dist/context/ThemeContext.js.map +1 -0
- package/dist/hooks/useDebounce.d.ts +2 -0
- package/dist/hooks/useDebounce.d.ts.map +1 -0
- package/dist/hooks/useDebounce.js +14 -0
- package/dist/hooks/useDebounce.js.map +1 -0
- package/dist/index.d.ts +21 -24
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +25 -25
- package/dist/index.js.map +1 -1
- package/dist/lib/ArmoyuUI.d.ts +18 -0
- package/dist/lib/ArmoyuUI.d.ts.map +1 -0
- package/dist/lib/ArmoyuUI.js +25 -0
- package/dist/lib/ArmoyuUI.js.map +1 -0
- package/dist/lib/constants/config.d.ts +9 -0
- package/dist/lib/constants/config.d.ts.map +1 -0
- package/dist/lib/constants/config.js +15 -0
- package/dist/lib/constants/config.js.map +1 -0
- package/dist/lib/constants/educationData.d.ts +11 -0
- package/dist/lib/constants/educationData.d.ts.map +1 -0
- package/dist/lib/constants/educationData.js +121 -0
- package/dist/lib/constants/educationData.js.map +1 -0
- package/dist/lib/constants/punishmentData.d.ts +30 -0
- package/dist/lib/constants/punishmentData.d.ts.map +1 -0
- package/dist/lib/constants/punishmentData.js +184 -0
- package/dist/lib/constants/punishmentData.js.map +1 -0
- package/dist/lib/constants/seedData.d.ts +182 -0
- package/dist/lib/constants/seedData.d.ts.map +1 -0
- package/dist/lib/constants/seedData.js +743 -0
- package/dist/lib/constants/seedData.js.map +1 -0
- package/dist/lib/constants/stationData.d.ts +16 -0
- package/dist/lib/constants/stationData.d.ts.map +1 -0
- package/dist/lib/constants/stationData.js +206 -0
- package/dist/lib/constants/stationData.js.map +1 -0
- package/dist/lib/constants/surveyData.d.ts +3 -0
- package/dist/lib/constants/surveyData.d.ts.map +1 -0
- package/dist/lib/constants/surveyData.js +51 -0
- package/dist/lib/constants/surveyData.js.map +1 -0
- package/dist/lib/constants/teamData.d.ts +19 -0
- package/dist/lib/constants/teamData.d.ts.map +1 -0
- package/dist/lib/constants/teamData.js +56 -0
- package/dist/lib/constants/teamData.js.map +1 -0
- package/dist/lib/utils/numberFormat.d.ts +10 -0
- package/dist/lib/utils/numberFormat.d.ts.map +1 -0
- package/dist/lib/utils/numberFormat.js +17 -0
- package/dist/lib/utils/numberFormat.js.map +1 -0
- package/dist/lib/utils/odpUtils.d.ts +16 -0
- package/dist/lib/utils/odpUtils.d.ts.map +1 -0
- package/dist/lib/utils/odpUtils.js +44 -0
- package/dist/lib/utils/odpUtils.js.map +1 -0
- package/dist/lib/utils/postUtils.d.ts +7 -0
- package/dist/lib/utils/postUtils.d.ts.map +1 -0
- package/dist/lib/utils/postUtils.js +40 -0
- package/dist/lib/utils/postUtils.js.map +1 -0
- package/dist/models/auth/RankedUser.d.ts +20 -0
- package/dist/models/auth/RankedUser.d.ts.map +1 -0
- package/dist/models/auth/RankedUser.js +36 -0
- package/dist/models/auth/RankedUser.js.map +1 -0
- package/dist/models/auth/Role.d.ts +16 -0
- package/dist/models/auth/Role.d.ts.map +1 -0
- package/dist/models/auth/Role.js +33 -0
- package/dist/models/auth/Role.js.map +1 -0
- package/dist/models/auth/Session.d.ts +24 -0
- package/dist/models/auth/Session.d.ts.map +1 -0
- package/dist/models/auth/Session.js +50 -0
- package/dist/models/auth/Session.js.map +1 -0
- package/dist/models/auth/StaffApplication.d.ts +20 -0
- package/dist/models/auth/StaffApplication.d.ts.map +1 -0
- package/dist/models/auth/StaffApplication.js +36 -0
- package/dist/models/auth/StaffApplication.js.map +1 -0
- package/dist/models/auth/TeamMember.d.ts +19 -0
- package/dist/models/auth/TeamMember.d.ts.map +1 -0
- package/dist/models/auth/TeamMember.js +34 -0
- package/dist/models/auth/TeamMember.js.map +1 -0
- package/dist/models/auth/User.d.ts +99 -0
- package/dist/models/auth/User.d.ts.map +1 -0
- package/dist/models/auth/User.js +236 -0
- package/dist/models/auth/User.js.map +1 -0
- package/dist/models/auth/UserBadge.d.ts +18 -0
- package/dist/models/auth/UserBadge.d.ts.map +1 -0
- package/dist/models/auth/UserBadge.js +33 -0
- package/dist/models/auth/UserBadge.js.map +1 -0
- package/dist/models/community/ArmoyuEvent.d.ts +62 -0
- package/dist/models/community/ArmoyuEvent.d.ts.map +1 -0
- package/dist/models/community/ArmoyuEvent.js +149 -0
- package/dist/models/community/ArmoyuEvent.js.map +1 -0
- package/dist/models/community/Classroom.d.ts +24 -0
- package/dist/models/community/Classroom.d.ts.map +1 -0
- package/dist/models/community/Classroom.js +45 -0
- package/dist/models/community/Classroom.js.map +1 -0
- package/dist/models/community/Faculty.d.ts +22 -0
- package/dist/models/community/Faculty.d.ts.map +1 -0
- package/dist/models/community/Faculty.js +41 -0
- package/dist/models/community/Faculty.js.map +1 -0
- package/dist/models/community/Forum.d.ts +26 -0
- package/dist/models/community/Forum.d.ts.map +1 -0
- package/dist/models/community/Forum.js +36 -0
- package/dist/models/community/Forum.js.map +1 -0
- package/dist/models/community/Giveaway.d.ts +22 -0
- package/dist/models/community/Giveaway.d.ts.map +1 -0
- package/dist/models/community/Giveaway.js +38 -0
- package/dist/models/community/Giveaway.js.map +1 -0
- package/dist/models/community/Group.d.ts +38 -0
- package/dist/models/community/Group.d.ts.map +1 -0
- package/dist/models/community/Group.js +115 -0
- package/dist/models/community/Group.js.map +1 -0
- package/dist/models/community/School.d.ts +28 -0
- package/dist/models/community/School.d.ts.map +1 -0
- package/dist/models/community/School.js +68 -0
- package/dist/models/community/School.js.map +1 -0
- package/dist/models/community/SchoolTeam.d.ts +27 -0
- package/dist/models/community/SchoolTeam.d.ts.map +1 -0
- package/dist/models/community/SchoolTeam.js +41 -0
- package/dist/models/community/SchoolTeam.js.map +1 -0
- package/dist/models/community/Station.d.ts +81 -0
- package/dist/models/community/Station.d.ts.map +1 -0
- package/dist/models/community/Station.js +165 -0
- package/dist/models/community/Station.js.map +1 -0
- package/dist/models/community/Survey.d.ts +27 -0
- package/dist/models/community/Survey.d.ts.map +1 -0
- package/dist/models/community/Survey.js +56 -0
- package/dist/models/community/Survey.js.map +1 -0
- package/dist/models/community/SurveyAnswer.d.ts +15 -0
- package/dist/models/community/SurveyAnswer.d.ts.map +1 -0
- package/dist/models/community/SurveyAnswer.js +26 -0
- package/dist/models/community/SurveyAnswer.js.map +1 -0
- package/dist/models/community/Team.d.ts +22 -0
- package/dist/models/community/Team.d.ts.map +1 -0
- package/dist/models/community/Team.js +60 -0
- package/dist/models/community/Team.js.map +1 -0
- package/dist/models/community/Workplace.d.ts +18 -0
- package/dist/models/community/Workplace.d.ts.map +1 -0
- package/dist/models/community/Workplace.js +32 -0
- package/dist/models/community/Workplace.js.map +1 -0
- package/dist/models/content/Game.d.ts +20 -0
- package/dist/models/content/Game.d.ts.map +1 -0
- package/dist/models/content/Game.js +40 -0
- package/dist/models/content/Game.js.map +1 -0
- package/dist/models/content/Media.d.ts +17 -0
- package/dist/models/content/Media.d.ts.map +1 -0
- package/dist/models/content/Media.js +30 -0
- package/dist/models/content/Media.js.map +1 -0
- package/dist/models/content/Mod.d.ts +21 -0
- package/dist/models/content/Mod.d.ts.map +1 -0
- package/dist/models/content/Mod.js +37 -0
- package/dist/models/content/Mod.js.map +1 -0
- package/dist/models/content/News.d.ts +41 -0
- package/dist/models/content/News.d.ts.map +1 -0
- package/dist/models/content/News.js +86 -0
- package/dist/models/content/News.js.map +1 -0
- package/dist/models/content/PlatformStation.d.ts +18 -0
- package/dist/models/content/PlatformStation.d.ts.map +1 -0
- package/dist/models/content/PlatformStation.js +32 -0
- package/dist/models/content/PlatformStation.js.map +1 -0
- package/dist/models/content/PlatformTeam.d.ts +14 -0
- package/dist/models/content/PlatformTeam.d.ts.map +1 -0
- package/dist/models/content/PlatformTeam.js +24 -0
- package/dist/models/content/PlatformTeam.js.map +1 -0
- package/dist/models/content/Project.d.ts +27 -0
- package/dist/models/content/Project.d.ts.map +1 -0
- package/dist/models/content/Project.js +43 -0
- package/dist/models/content/Project.js.map +1 -0
- package/dist/models/content/ProjectScore.d.ts +14 -0
- package/dist/models/content/ProjectScore.d.ts.map +1 -0
- package/dist/models/content/ProjectScore.js +24 -0
- package/dist/models/content/ProjectScore.js.map +1 -0
- package/dist/models/content/StationEquipment.d.ts +16 -0
- package/dist/models/content/StationEquipment.d.ts.map +1 -0
- package/dist/models/content/StationEquipment.js +28 -0
- package/dist/models/content/StationEquipment.js.map +1 -0
- package/dist/models/core/Country.d.ts +15 -0
- package/dist/models/core/Country.d.ts.map +1 -0
- package/dist/models/core/Country.js +26 -0
- package/dist/models/core/Country.js.map +1 -0
- package/dist/models/core/PlatformStats.d.ts +46 -0
- package/dist/models/core/PlatformStats.d.ts.map +1 -0
- package/dist/models/core/PlatformStats.js +88 -0
- package/dist/models/core/PlatformStats.js.map +1 -0
- package/dist/models/core/Province.d.ts +15 -0
- package/dist/models/core/Province.d.ts.map +1 -0
- package/dist/models/core/Province.js +26 -0
- package/dist/models/core/Province.js.map +1 -0
- package/dist/models/core/Rule.d.ts +16 -0
- package/dist/models/core/Rule.d.ts.map +1 -0
- package/dist/models/core/Rule.js +28 -0
- package/dist/models/core/Rule.js.map +1 -0
- package/dist/models/core/SystemSettings.d.ts +38 -0
- package/dist/models/core/SystemSettings.d.ts.map +1 -0
- package/dist/models/core/SystemSettings.js +64 -0
- package/dist/models/core/SystemSettings.js.map +1 -0
- package/dist/models/index.d.ts +58 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +72 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models/shop/CartItem.d.ts +20 -0
- package/dist/models/shop/CartItem.d.ts.map +1 -0
- package/dist/models/shop/CartItem.js +36 -0
- package/dist/models/shop/CartItem.js.map +1 -0
- package/dist/models/shop/Invoice.d.ts +18 -0
- package/dist/models/shop/Invoice.d.ts.map +1 -0
- package/dist/models/shop/Invoice.js +32 -0
- package/dist/models/shop/Invoice.js.map +1 -0
- package/dist/models/shop/Order.d.ts +23 -0
- package/dist/models/shop/Order.d.ts.map +1 -0
- package/dist/models/shop/Order.js +48 -0
- package/dist/models/shop/Order.js.map +1 -0
- package/dist/models/shop/Product.d.ts +26 -0
- package/dist/models/shop/Product.d.ts.map +1 -0
- package/dist/models/shop/Product.js +67 -0
- package/dist/models/shop/Product.js.map +1 -0
- package/dist/models/social/chat/Chat.d.ts +26 -0
- package/dist/models/social/chat/Chat.d.ts.map +1 -0
- package/dist/models/social/chat/Chat.js +80 -0
- package/dist/models/social/chat/Chat.js.map +1 -0
- package/dist/models/social/chat/Message.d.ts +18 -0
- package/dist/models/social/chat/Message.d.ts.map +1 -0
- package/dist/models/social/chat/Message.js +58 -0
- package/dist/models/social/chat/Message.js.map +1 -0
- package/dist/models/social/chat/Note.d.ts +16 -0
- package/dist/models/social/chat/Note.d.ts.map +1 -0
- package/dist/models/social/chat/Note.js +28 -0
- package/dist/models/social/chat/Note.js.map +1 -0
- package/dist/models/social/feed/Comment.d.ts +21 -0
- package/dist/models/social/feed/Comment.d.ts.map +1 -0
- package/dist/models/social/feed/Comment.js +46 -0
- package/dist/models/social/feed/Comment.js.map +1 -0
- package/dist/models/social/feed/Post.d.ts +29 -0
- package/dist/models/social/feed/Post.d.ts.map +1 -0
- package/dist/models/social/feed/Post.js +57 -0
- package/dist/models/social/feed/Post.js.map +1 -0
- package/dist/models/social/feed/Story.d.ts +31 -0
- package/dist/models/social/feed/Story.d.ts.map +1 -0
- package/dist/models/social/feed/Story.js +63 -0
- package/dist/models/social/feed/Story.js.map +1 -0
- package/dist/models/social/feed/StoryAuthor.d.ts +13 -0
- package/dist/models/social/feed/StoryAuthor.d.ts.map +1 -0
- package/dist/models/social/feed/StoryAuthor.js +25 -0
- package/dist/models/social/feed/StoryAuthor.js.map +1 -0
- package/dist/models/social/gaming/Game.d.ts +26 -0
- package/dist/models/social/gaming/Game.d.ts.map +1 -0
- package/dist/models/social/gaming/Game.js +45 -0
- package/dist/models/social/gaming/Game.js.map +1 -0
- package/dist/models/social/meta/AuthEnums.d.ts +18 -0
- package/dist/models/social/meta/AuthEnums.d.ts.map +1 -0
- package/dist/models/social/meta/AuthEnums.js +20 -0
- package/dist/models/social/meta/AuthEnums.js.map +1 -0
- package/dist/models/social/meta/MediaEnums.d.ts +20 -0
- package/dist/models/social/meta/MediaEnums.d.ts.map +1 -0
- package/dist/models/social/meta/MediaEnums.js +22 -0
- package/dist/models/social/meta/MediaEnums.js.map +1 -0
- package/dist/models/social/notification/Notification.d.ts +23 -0
- package/dist/models/social/notification/Notification.d.ts.map +1 -0
- package/dist/models/social/notification/Notification.js +64 -0
- package/dist/models/social/notification/Notification.js.map +1 -0
- package/dist/models/social/notification/NotificationEnums.d.ts +54 -0
- package/dist/models/social/notification/NotificationEnums.d.ts.map +1 -0
- package/dist/models/social/notification/NotificationEnums.js +59 -0
- package/dist/models/social/notification/NotificationEnums.js.map +1 -0
- package/dist/models/social/notification/NotificationSender.d.ts +16 -0
- package/dist/models/social/notification/NotificationSender.d.ts.map +1 -0
- package/dist/models/social/notification/NotificationSender.js +28 -0
- package/dist/models/social/notification/NotificationSender.js.map +1 -0
- package/dist/models/social/poll/Poll.d.ts +19 -0
- package/dist/models/social/poll/Poll.d.ts.map +1 -0
- package/dist/models/social/poll/Poll.js +33 -0
- package/dist/models/social/poll/Poll.js.map +1 -0
- package/dist/models/social/poll/PollOption.d.ts +15 -0
- package/dist/models/social/poll/PollOption.d.ts.map +1 -0
- package/dist/models/social/poll/PollOption.js +26 -0
- package/dist/models/social/poll/PollOption.js.map +1 -0
- package/dist/models/social/search/SearchEnums.d.ts +22 -0
- package/dist/models/social/search/SearchEnums.d.ts.map +1 -0
- package/dist/models/social/search/SearchEnums.js +24 -0
- package/dist/models/social/search/SearchEnums.js.map +1 -0
- package/dist/models/social/search/SearchResult.d.ts +21 -0
- package/dist/models/social/search/SearchResult.d.ts.map +1 -0
- package/dist/models/social/search/SearchResult.js +72 -0
- package/dist/models/social/search/SearchResult.js.map +1 -0
- package/dist/models/social/stats/Leaderboard.d.ts +29 -0
- package/dist/models/social/stats/Leaderboard.d.ts.map +1 -0
- package/dist/models/social/stats/Leaderboard.js +50 -0
- package/dist/models/social/stats/Leaderboard.js.map +1 -0
- package/dist/models/social/support/SupportTicket.d.ts +18 -0
- package/dist/models/social/support/SupportTicket.d.ts.map +1 -0
- package/dist/models/social/support/SupportTicket.js +32 -0
- package/dist/models/social/support/SupportTicket.js.map +1 -0
- package/dist/models/social/user/BlockedUser.d.ts +15 -0
- package/dist/models/social/user/BlockedUser.d.ts.map +1 -0
- package/dist/models/social/user/BlockedUser.js +25 -0
- package/dist/models/social/user/BlockedUser.js.map +1 -0
- package/dist/models/store/StoreItem.d.ts +18 -0
- package/dist/models/store/StoreItem.d.ts.map +1 -0
- package/dist/models/store/StoreItem.js +32 -0
- package/dist/models/store/StoreItem.js.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +4 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/navigation.d.ts +6 -0
- package/dist/types/navigation.d.ts.map +1 -0
- package/dist/types/navigation.js +2 -0
- package/dist/types/navigation.js.map +1 -0
- package/dist/types/socket.d.ts +6 -0
- package/dist/types/socket.d.ts.map +1 -0
- package/dist/types/socket.js +2 -0
- package/dist/types/socket.js.map +1 -0
- package/dist/types/stats.d.ts +18 -0
- package/dist/types/stats.d.ts.map +1 -0
- package/dist/types/stats.js +2 -0
- package/dist/types/stats.js.map +1 -0
- package/dist/utils/text/MentionUtils.d.ts +8 -0
- package/dist/utils/text/MentionUtils.d.ts.map +1 -0
- package/dist/utils/text/MentionUtils.js +23 -0
- package/dist/utils/text/MentionUtils.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StationProduct } from '../../../../models/community/Station';
|
|
2
|
+
interface StationQRModalProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
stationName: string;
|
|
6
|
+
item: StationProduct | null;
|
|
7
|
+
}
|
|
8
|
+
export declare function StationQRModal({ isOpen, onClose, stationName, item }: StationQRModalProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=StationQRModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StationQRModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/stations/widgets/StationQRModal.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAEtE,UAAU,mBAAmB;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,cAAc,GAAG,IAAI,CAAC;CAC7B;AAED,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,mBAAmB,kDAsFzF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { X } from 'lucide-react';
|
|
4
|
+
export function StationQRModal({ isOpen, onClose, stationName, item }) {
|
|
5
|
+
if (!isOpen || !item)
|
|
6
|
+
return null;
|
|
7
|
+
// Mock username - normally would come from auth context
|
|
8
|
+
const username = 'berkaytikeno';
|
|
9
|
+
const qrData = encodeURIComponent(`${stationName} | ${item.name} | ${item.discountRate || 'No Discount'} | User: ${username}`);
|
|
10
|
+
const qrUrl = `https://api.qrserver.com/v1/create-qr-code/?size=250x250&data=${qrData}&bgcolor=ffffff&color=000000&margin=10`;
|
|
11
|
+
return (_jsxs("div", { className: "fixed inset-0 z-[100] flex items-center justify-center p-6 animate-in fade-in duration-300", children: [_jsx("div", { className: "absolute inset-0 bg-black/80 backdrop-blur-md", onClick: onClose }), _jsxs("div", { className: "relative w-full max-w-md bg-white dark:bg-zinc-900 rounded-[48px] overflow-hidden shadow-[0_0_100px_rgba(0,0,0,0.5)] border border-white/10 animate-in zoom-in slide-in-from-bottom-12 duration-500", children: [_jsx("div", { className: "p-8 pb-0 flex justify-end", children: _jsx("button", { onClick: onClose, className: "w-10 h-10 rounded-full bg-black/5 dark:bg-white/5 flex items-center justify-center hover:bg-red-500 hover:text-white transition-all active:scale-90", children: _jsx(X, { size: 20 }) }) }), _jsxs("div", { className: "p-10 pt-4 text-center", children: [_jsxs("div", { className: "mb-6", children: [_jsx("span", { className: "px-4 py-1.5 bg-armoyu-primary/10 text-armoyu-primary rounded-full text-[10px] font-black uppercase tracking-[0.2em] mb-4 inline-block", children: "ARMOYU AVANTAJ KODU" }), _jsx("h3", { className: "text-2xl font-black text-armoyu-text uppercase tracking-tighter italic leading-tight", children: item.name }), _jsx("p", { className: "text-armoyu-text-muted text-xs font-bold uppercase tracking-widest mt-1 opacity-60", children: stationName })] }), _jsxs("div", { className: "relative p-6 bg-white rounded-[40px] shadow-inner mb-8 inline-block mx-auto group", children: [_jsx("div", { className: "absolute inset-0 bg-armoyu-primary/5 blur-3xl rounded-full scale-150 group-hover:bg-armoyu-primary/10 transition-colors" }), _jsx("img", { src: qrUrl, alt: "QR Code", className: "relative z-10 w-48 h-48 md:w-56 md:h-56 object-contain mix-blend-multiply dark:mix-blend-normal" }), _jsx("div", { className: "absolute top-0 left-0 w-8 h-8 border-t-4 border-l-4 border-armoyu-primary rounded-tl-2xl" }), _jsx("div", { className: "absolute top-0 right-0 w-8 h-8 border-t-4 border-r-4 border-armoyu-primary rounded-tr-2xl" }), _jsx("div", { className: "absolute bottom-0 left-0 w-8 h-8 border-b-4 border-l-4 border-armoyu-primary rounded-bl-2xl" }), _jsx("div", { className: "absolute bottom-0 right-0 w-8 h-8 border-b-4 border-r-4 border-armoyu-primary rounded-br-2xl" })] }), _jsxs("div", { className: "space-y-4", children: [_jsxs("div", { className: "p-5 bg-black/5 dark:bg-white/5 rounded-3xl border border-black/5 dark:border-white/5", children: [_jsxs("div", { className: "flex justify-between items-center mb-1", children: [_jsx("span", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-widest leading-none", children: "\u0130ND\u0130R\u0130M ORANI" }), _jsx("span", { className: "text-xl font-black text-emerald-500 italic", children: item.discountRate || 'Özel Fiyat' })] }), _jsxs("div", { className: "flex justify-between items-center", children: [_jsx("span", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-widest leading-none", children: "\u00DCCRET" }), _jsxs("span", { className: "text-xl font-black text-armoyu-text", children: [item.price, " \u20BA"] })] })] }), _jsx("p", { className: "text-[10px] font-bold text-armoyu-text-muted uppercase tracking-widest leading-relaxed opacity-60 max-w-[280px] mx-auto", children: "BU KODU KASADAK\u0130 G\u00D6REVL\u0130YE OKUTARAK \u0130ND\u0130R\u0130M\u0130N\u0130Z\u0130 ANINDA UYGALAYAB\u0130L\u0130RS\u0130N\u0130Z." })] })] }), _jsx("div", { className: "p-8 bg-armoyu-primary text-white text-center", children: _jsx("button", { onClick: onClose, className: "w-full py-4 bg-white text-armoyu-primary rounded-2xl font-black text-xs uppercase tracking-widest shadow-xl active:scale-95 transition-all", children: "KAPAT" }) })] })] }));
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=StationQRModal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StationQRModal.js","sourceRoot":"","sources":["../../../../../src/components/modules/stations/widgets/StationQRModal.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAUjC,MAAM,UAAU,cAAc,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAuB;IACxF,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI;QAAE,OAAO,IAAI,CAAC;IAElC,wDAAwD;IACxD,MAAM,QAAQ,GAAG,cAAc,CAAC;IAChC,MAAM,MAAM,GAAG,kBAAkB,CAAC,GAAG,WAAW,MAAM,IAAI,CAAC,IAAI,MAAM,IAAI,CAAC,YAAY,IAAI,aAAa,YAAY,QAAQ,EAAE,CAAC,CAAC;IAC/H,MAAM,KAAK,GAAG,iEAAiE,MAAM,wCAAwC,CAAC;IAE9H,OAAO,CACL,eAAK,SAAS,EAAC,4FAA4F,aAEzG,cACE,SAAS,EAAC,+CAA+C,EACzD,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SAAS,EAAC,4IAA4I,sBAG/I,GACN,IACF,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface AddStoryModalProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
media: {
|
|
5
|
+
url: string;
|
|
6
|
+
type: 'image' | 'video' | 'audio';
|
|
7
|
+
} | null;
|
|
8
|
+
onShare: (text: string) => void;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare function AddStoryModal({ isOpen, onClose, media, onShare, loading }: AddStoryModalProps): import("react/jsx-runtime").JSX.Element | null;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=AddStoryModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddStoryModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/stories/widgets/AddStoryModal.tsx"],"names":[],"mappings":"AAIA,UAAU,kBAAkB;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,CAAA;KAAE,GAAG,IAAI,CAAC;IACjE,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,kBAAkB,kDA2E7F"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
import { X, Send, Type } from 'lucide-react';
|
|
5
|
+
export function AddStoryModal({ isOpen, onClose, media, onShare, loading }) {
|
|
6
|
+
const [text, setText] = useState('');
|
|
7
|
+
if (!isOpen || !media)
|
|
8
|
+
return null;
|
|
9
|
+
return (_jsxs("div", { className: "fixed inset-0 z-[99999] flex items-center justify-center p-4", children: [_jsx("div", { className: "absolute inset-0 bg-black/90 backdrop-blur-md", onClick: onClose }), _jsxs("div", { className: "relative w-full max-w-lg bg-[#1a1a1a] rounded-[2.5rem] overflow-hidden shadow-2xl border border-white/10 animate-in zoom-in-95 duration-300 flex flex-col max-h-[90vh]", children: [_jsxs("div", { className: "p-6 flex items-center justify-between border-b border-white/10", children: [_jsx("h3", { className: "text-white font-black uppercase tracking-widest italic text-sm", children: "Hikaye Payla\u015F" }), _jsx("button", { onClick: onClose, className: "p-2 hover:bg-white/10 rounded-full text-white/50 hover:text-white transition-all", children: _jsx(X, { size: 20 }) })] }), _jsxs("div", { className: "flex-1 relative bg-black flex items-center justify-center min-h-[300px]", children: [media.type === 'image' ? (_jsx("img", { src: media.url, className: "max-w-full max-h-[50vh] object-contain", alt: "Preview" })) : media.type === 'video' ? (_jsx("video", { src: media.url, className: "max-w-full max-h-[50vh]", controls: true })) : (_jsxs("div", { className: "flex flex-col items-center gap-4", children: [_jsx("div", { className: "w-20 h-20 bg-armoyu-primary rounded-3xl flex items-center justify-center text-white shadow-xl shadow-armoyu-primary/20", children: _jsx(Type, { size: 40 }) }), _jsx("span", { className: "text-white/50 text-xs font-bold uppercase tracking-widest", children: "Ses Dosyas\u0131" })] })), text && (_jsx("div", { className: "absolute inset-0 flex items-center justify-center p-8 pointer-events-none", children: _jsx("p", { className: "text-white text-2xl font-black text-center drop-shadow-[0_2px_10px_rgba(0,0,0,0.8)] break-words w-full", children: text }) }))] }), _jsxs("div", { className: "p-6 space-y-4 bg-[#121212]", children: [_jsxs("div", { className: "relative", children: [_jsx("textarea", { placeholder: "Hikayene bir \u015Feyler yaz...", className: "w-full bg-white/5 border border-white/10 rounded-2xl px-5 py-4 text-white placeholder-white/20 focus:outline-none focus:border-armoyu-primary/50 transition-all resize-none h-24 text-sm font-medium", value: text, onChange: (e) => setText(e.target.value) }), _jsx("div", { className: "absolute top-4 right-4 text-white/20", children: _jsx(Type, { size: 18 }) })] }), _jsx("button", { onClick: () => onShare(text), disabled: loading, className: "w-full py-4 bg-armoyu-primary hover:bg-armoyu-primary disabled:opacity-50 text-white font-black uppercase tracking-[0.2em] rounded-2xl shadow-xl shadow-armoyu-primary/20 transition-all active:scale-95 flex items-center justify-center gap-3 italic", children: loading ? (_jsx("div", { className: "w-5 h-5 border-2 border-white/30 border-t-white rounded-full animate-spin" })) : (_jsxs(_Fragment, { children: [_jsx(Send, { size: 18 }), "\u015E\u0130MD\u0130 PAYLA\u015E"] })) })] })] })] }));
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=AddStoryModal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddStoryModal.js","sourceRoot":"","sources":["../../../../../src/components/modules/stories/widgets/AddStoryModal.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAU7C,MAAM,UAAU,aAAa,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAsB;IAC5F,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAErC,IAAI,CAAC,MAAM,IAAI,CAAC,KAAK;QAAE,OAAO,IAAI,CAAC;IAEnC,OAAO,CACL,eAAK,SAAS,EAAC,8DAA8D,aAC3E,cAAK,SAAS,EAAC,+CAA+C,EAAC,OAAO,EAAE,OAAO,GAAI,EAEnF,eAAK,SAAS,EAAC,wKAAwK,aAErL,eAAK,SAAS,EAAC,gEAAgE,aAC7E,aAAI,SAAS,E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AS,EAAC,wPAAwP,YAEjQ,OAAO,CAAC,CAAC,CAAC,CACT,cAAK,SAAS,EAAC,2EAA2E,GAAG,CAC9F,CAAC,CAAC,CAAC,CACF,8BACE,KAAC,IAAI,IAAC,IAAI,EAAE,EAAE,GAAI,wCAEjB,CACJ,GACM,IACL,IACF,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/stories/widgets/Stories.tsx"],"names":[],"mappings":"AAUA,wBAAgB,OAAO,mDAuMtB"}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useState, useEffect } from 'react';
|
|
3
|
+
import { MOCK_STORIES } from '../../../../lib/constants/seedData';
|
|
4
|
+
import { StoryOverlay } from './StoryOverlay';
|
|
5
|
+
import { CloudModal } from '../../cloud/CloudModal';
|
|
6
|
+
import { AddStoryModal } from './AddStoryModal';
|
|
7
|
+
import { Story } from '../../../../models/social/feed/Story';
|
|
8
|
+
import { StoryAuthor } from '../../../../models/social/feed/StoryAuthor';
|
|
9
|
+
import { useAuth } from '../../../../context/AuthContext';
|
|
10
|
+
import { useArmoyu } from '../../../../context/ArmoyuContext';
|
|
11
|
+
export function Stories() {
|
|
12
|
+
const { api, isMockEnabled } = useArmoyu();
|
|
13
|
+
const { user: currentUser } = useAuth();
|
|
14
|
+
const [stories, setStories] = useState([]);
|
|
15
|
+
const [myStories, setMyStories] = useState([]);
|
|
16
|
+
const [loading, setLoading] = useState(true);
|
|
17
|
+
const [activeStoryIndex, setActiveStoryIndex] = useState(null);
|
|
18
|
+
const [showMyOverlay, setShowMyOverlay] = useState(false);
|
|
19
|
+
// Modals state
|
|
20
|
+
const [isCloudOpen, setIsCloudOpen] = useState(false);
|
|
21
|
+
const [isShareModalOpen, setIsShareModalOpen] = useState(false);
|
|
22
|
+
const [selectedMedia, setSelectedMedia] = useState(null);
|
|
23
|
+
const [shareLoading, setShareLoading] = useState(false);
|
|
24
|
+
const fetchStories = async () => {
|
|
25
|
+
setLoading(true);
|
|
26
|
+
try {
|
|
27
|
+
if (isMockEnabled) {
|
|
28
|
+
setStories(MOCK_STORIES);
|
|
29
|
+
setMyStories([]);
|
|
30
|
+
setLoading(false);
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
const response = await api.stories.getStories();
|
|
34
|
+
if (response.durum === 1 && response.icerik) {
|
|
35
|
+
const mappedStories = response.icerik.map((s) => Story.fromAPI(s));
|
|
36
|
+
// Benim hikayelerimi ve diğerlerini ayır (authorId ile currentUser.id karşılaştır)
|
|
37
|
+
const currentUserId = Number(currentUser?.id || 0);
|
|
38
|
+
const mine = [];
|
|
39
|
+
const others = [];
|
|
40
|
+
for (const s of mappedStories) {
|
|
41
|
+
if ((s.author?.id && s.author.id === currentUserId) ||
|
|
42
|
+
s.author?.isMe === true) {
|
|
43
|
+
mine.push(s);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
others.push(s);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
setMyStories(mine);
|
|
50
|
+
// "Ben" öğesi: her zaman en başta
|
|
51
|
+
const meItem = new Story({
|
|
52
|
+
id: 'me-story',
|
|
53
|
+
author: new StoryAuthor({
|
|
54
|
+
username: currentUser?.username || '',
|
|
55
|
+
displayName: currentUser?.displayName || '',
|
|
56
|
+
avatar: currentUser?.avatar || '',
|
|
57
|
+
isMe: true
|
|
58
|
+
}),
|
|
59
|
+
isRead: false, // mavi kenarlık için her zaman false
|
|
60
|
+
media: mine.length > 0 ? mine[0].media : '',
|
|
61
|
+
});
|
|
62
|
+
// Ben en başta, sonra diğerleri
|
|
63
|
+
setStories([meItem, ...others]);
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
setStories(MOCK_STORIES);
|
|
67
|
+
setMyStories([]);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
catch (error) {
|
|
71
|
+
console.error('[ARMOYU] Stories fetch error:', error);
|
|
72
|
+
setStories(MOCK_STORIES);
|
|
73
|
+
setMyStories([]);
|
|
74
|
+
}
|
|
75
|
+
finally {
|
|
76
|
+
setLoading(false);
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
useEffect(() => {
|
|
80
|
+
if (currentUser || isMockEnabled) {
|
|
81
|
+
fetchStories();
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
setStories([]);
|
|
85
|
+
setLoading(false);
|
|
86
|
+
}
|
|
87
|
+
}, [api, isMockEnabled, currentUser]);
|
|
88
|
+
const handleMediaSelect = (media) => {
|
|
89
|
+
setSelectedMedia(media);
|
|
90
|
+
setIsCloudOpen(false);
|
|
91
|
+
setIsShareModalOpen(true);
|
|
92
|
+
};
|
|
93
|
+
const handleShare = async (text) => {
|
|
94
|
+
if (!selectedMedia)
|
|
95
|
+
return;
|
|
96
|
+
setShareLoading(true);
|
|
97
|
+
try {
|
|
98
|
+
const response = await api.stories.addStory(selectedMedia.url, text);
|
|
99
|
+
if (response.durum === 1) {
|
|
100
|
+
setIsShareModalOpen(false);
|
|
101
|
+
setSelectedMedia(null);
|
|
102
|
+
fetchStories();
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
alert(response.aciklama || 'Paylaşım başarısız.');
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
catch (err) {
|
|
109
|
+
console.error('[Stories] Share error:', err);
|
|
110
|
+
alert('Bir hata oluştu.');
|
|
111
|
+
}
|
|
112
|
+
finally {
|
|
113
|
+
setShareLoading(false);
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
const handleStoryClick = (story, idx) => {
|
|
117
|
+
if (story.id === 'me-story') {
|
|
118
|
+
// "Ben"'e tıklandı
|
|
119
|
+
if (myStories.length > 0) {
|
|
120
|
+
// Benim hikayelerim var → StoryOverlay aç (sadece benim hikayelerimle)
|
|
121
|
+
setShowMyOverlay(true);
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
// Hikayeleri yok → CloudModal aç
|
|
125
|
+
setIsCloudOpen(true);
|
|
126
|
+
}
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
// Diğer kullanıcıların hikayesi → normal overlay
|
|
130
|
+
setActiveStoryIndex(idx);
|
|
131
|
+
};
|
|
132
|
+
const handleAddStoryFromOverlay = () => {
|
|
133
|
+
console.log('[ARMOYU] Transitioning from Overlay to Cloud...');
|
|
134
|
+
setShowMyOverlay(false);
|
|
135
|
+
setActiveStoryIndex(null);
|
|
136
|
+
setIsCloudOpen(true);
|
|
137
|
+
};
|
|
138
|
+
// Diğer kullanıcıların hikayeleri (overlay için)
|
|
139
|
+
const otherStories = stories.filter(s => s.id !== 'me-story');
|
|
140
|
+
if (loading && stories.length === 0) {
|
|
141
|
+
return (_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) => (_jsxs("div", { className: "flex flex-col items-center gap-2 shrink-0", children: [_jsx("div", { className: "w-14 h-14 rounded-full bg-gray-200 dark:bg-white/5" }), _jsx("div", { className: "h-2 w-10 bg-gray-200 dark:bg-white/5 rounded" })] }, i))) }));
|
|
142
|
+
}
|
|
143
|
+
if (stories.length === 0)
|
|
144
|
+
return null;
|
|
145
|
+
return (_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: [_jsx("div", { className: "flex gap-4 overflow-x-auto no-scrollbar pb-1 px-1", children: stories.map((story, idx) => (_jsx(StoryItem, { story: story, onClick: () => handleStoryClick(story, idx) }, story.id || idx))) }), showMyOverlay && myStories.length > 0 && (_jsx(StoryOverlay, { stories: myStories, initialStoryIndex: 0, onClose: () => setShowMyOverlay(false), onAddStory: handleAddStoryFromOverlay })), activeStoryIndex !== null && (_jsx(StoryOverlay, { stories: otherStories, initialStoryIndex: otherStories.findIndex(s => s.id === stories[activeStoryIndex]?.id), onClose: () => setActiveStoryIndex(null), onAddStory: handleAddStoryFromOverlay })), _jsx(CloudModal, { isOpen: isCloudOpen, onClose: () => setIsCloudOpen(false), isSelectionMode: true, onSelectMedia: handleMediaSelect }), _jsx(AddStoryModal, { isOpen: isShareModalOpen, onClose: () => setIsShareModalOpen(false), media: selectedMedia, onShare: handleShare, loading: shareLoading })] }));
|
|
146
|
+
}
|
|
147
|
+
function StoryItem({ story, onClick }) {
|
|
148
|
+
const isMe = story.author?.isMe || false;
|
|
149
|
+
return (_jsxs("div", { className: "flex flex-col items-center gap-1.5 shrink-0 cursor-pointer group", onClick: onClick, children: [_jsx("div", { className: `p-0.5 rounded-full border-2 ${isMe ? 'border-armoyu-primary' : story.isRead ? 'border-gray-300 dark:border-white/10' : 'border-armoyu-primary'} transition-all group-hover:scale-105 active:scale-95`, children: _jsxs("div", { className: "w-14 h-14 rounded-full border border-white/10 overflow-hidden relative", children: [story.author?.avatar ? (_jsx("img", { src: story.author.avatar, className: "w-full h-full object-cover", alt: "" })) : (_jsx("div", { className: "w-full h-full bg-gradient-to-br from-armoyu-primary to-purple-600 flex items-center justify-center text-white font-bold text-lg", children: (story.author?.displayName || '?')[0] })), isMe && (_jsx("div", { className: "absolute inset-0 bg-black/10 group-hover:bg-transparent transition-colors flex items-center justify-center", children: _jsx("div", { className: "absolute bottom-0 right-0 w-5 h-5 bg-armoyu-primary rounded-full border-2 border-[#121212] flex items-center justify-center shadow-lg transform group-hover:scale-110 transition-transform", children: _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: [_jsx("line", { x1: "12", y1: "5", x2: "12", y2: "19" }), _jsx("line", { x1: "5", y1: "12", x2: "19", y2: "12" })] }) }) }))] }) }), _jsx("span", { className: "text-[10px] text-armoyu-text-secondary truncate w-14 text-center", children: isMe ? 'Ben' : story.author?.displayName || story.author?.username })] }));
|
|
150
|
+
}
|
|
151
|
+
//# sourceMappingURL=Stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stories.js","sourceRoot":"","sources":["../../../../../src/components/modules/stories/widgets/Stories.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAE9D,MAAM,UAAU,OAAO;IACrB,MAAM,EAAE,GAAG,EAAE,aAAa,EAAE,GAAG,SAAS,EAAE,CAAC;IAC3C,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,OAAO,EAAE,CAAC;IACxC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAU,EAAE,CAAC,CAAC;IACpD,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAU,EAAE,CAAC,CAAC;IACxD,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC7C,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAAgB,IAAI,CAAC,CAAC;IAC9E,MAAM,CAAC,aAAa,EAAE,gBAAg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IACG,GACF,EACN,eAAM,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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useState, useEffect } from 'react';
|
|
4
|
+
import { useArmoyu } from '../../../../context/ArmoyuContext';
|
|
5
|
+
import { useAuth } from '../../../../context/AuthContext';
|
|
6
|
+
import dynamic from 'next/dynamic';
|
|
7
|
+
const Plyr = dynamic(() => import('plyr-react').then((mod) => mod.Plyr), {
|
|
8
|
+
ssr: false,
|
|
9
|
+
loading: () => _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..." })
|
|
10
|
+
});
|
|
11
|
+
export function StoryOverlay({ stories, initialStoryIndex, onClose, onAddStory }) {
|
|
12
|
+
const { api } = useArmoyu();
|
|
13
|
+
const { user: currentUser } = useAuth();
|
|
14
|
+
const [currentStoryIdx, setCurrentStoryIdx] = useState(initialStoryIndex);
|
|
15
|
+
const [currentItemIdx, setCurrentItemIdx] = useState(0);
|
|
16
|
+
const [progress, setProgress] = useState(0);
|
|
17
|
+
const [mounted, setMounted] = useState(false);
|
|
18
|
+
const [lastUpdate, setLastUpdate] = useState(0);
|
|
19
|
+
const [showViewers, setShowViewers] = useState(false);
|
|
20
|
+
const [viewers, setViewers] = useState([]);
|
|
21
|
+
const [loadingViewers, setLoadingViewers] = useState(false);
|
|
22
|
+
const story = stories[currentStoryIdx];
|
|
23
|
+
const isMe = (story?.author?.id && currentUser?.id)
|
|
24
|
+
? String(story.author.id) === String(currentUser.id)
|
|
25
|
+
: (story?.author?.isMe || false);
|
|
26
|
+
const items = story?.items || [];
|
|
27
|
+
const currentItem = items[currentItemIdx];
|
|
28
|
+
const currentMedia = currentItem?.media || story?.media || '';
|
|
29
|
+
const currentTimestamp = currentItem?.timestamp || story?.timestamp || '';
|
|
30
|
+
useEffect(() => {
|
|
31
|
+
setMounted(true);
|
|
32
|
+
return () => setMounted(false);
|
|
33
|
+
}, []);
|
|
34
|
+
// Mark story as viewed
|
|
35
|
+
useEffect(() => {
|
|
36
|
+
const targetItem = items[currentItemIdx];
|
|
37
|
+
if (mounted && targetItem?.id && !targetItem.isRead) {
|
|
38
|
+
api.stories.viewStory(Number(targetItem.id)).then(() => {
|
|
39
|
+
targetItem.isRead = true;
|
|
40
|
+
setLastUpdate(Date.now());
|
|
41
|
+
}).catch(err => {
|
|
42
|
+
console.error('[ARMOYU] Failed to mark story as viewed:', err);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
}, [currentStoryIdx, currentItemIdx, mounted]);
|
|
46
|
+
// Handle auto-next with progress
|
|
47
|
+
useEffect(() => {
|
|
48
|
+
if (!mounted || showViewers)
|
|
49
|
+
return;
|
|
50
|
+
setProgress(0);
|
|
51
|
+
const duration = 5000;
|
|
52
|
+
const interval = 50;
|
|
53
|
+
const step = (interval / duration) * 100;
|
|
54
|
+
const timer = setInterval(() => {
|
|
55
|
+
setProgress((prev) => {
|
|
56
|
+
if (prev >= 100) {
|
|
57
|
+
return 100; // Stop here, useEffect below will handle transition
|
|
58
|
+
}
|
|
59
|
+
return prev + step;
|
|
60
|
+
});
|
|
61
|
+
}, interval);
|
|
62
|
+
return () => clearInterval(timer);
|
|
63
|
+
}, [currentStoryIdx, currentItemIdx, mounted, showViewers]);
|
|
64
|
+
// Separate effect to handle transitions to avoid "update while rendering" error
|
|
65
|
+
useEffect(() => {
|
|
66
|
+
if (progress >= 100) {
|
|
67
|
+
handleNext();
|
|
68
|
+
}
|
|
69
|
+
}, [progress]);
|
|
70
|
+
const handleNext = () => {
|
|
71
|
+
if (currentItemIdx < items.length - 1) {
|
|
72
|
+
setCurrentItemIdx(prev => prev + 1);
|
|
73
|
+
setProgress(0);
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
if (currentStoryIdx < stories.length - 1) {
|
|
77
|
+
setCurrentStoryIdx(prev => prev + 1);
|
|
78
|
+
setCurrentItemIdx(0);
|
|
79
|
+
setProgress(0);
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
onClose();
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
const handlePrev = () => {
|
|
86
|
+
if (currentItemIdx > 0) {
|
|
87
|
+
setCurrentItemIdx(prev => prev - 1);
|
|
88
|
+
setProgress(0);
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
if (currentStoryIdx > 0) {
|
|
92
|
+
const prevStory = stories[currentStoryIdx - 1];
|
|
93
|
+
setCurrentStoryIdx(prev => prev - 1);
|
|
94
|
+
setCurrentItemIdx((prevStory?.items?.length || 1) - 1);
|
|
95
|
+
setProgress(0);
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
const handleLike = async (e) => {
|
|
99
|
+
e.stopPropagation();
|
|
100
|
+
if (!currentItem?.id)
|
|
101
|
+
return;
|
|
102
|
+
try {
|
|
103
|
+
const isLiked = currentItem.isLiked;
|
|
104
|
+
const response = await (isLiked
|
|
105
|
+
? api.stories.unlikeStory(Number(currentItem.id))
|
|
106
|
+
: api.stories.likeStory(Number(currentItem.id)));
|
|
107
|
+
if (response.durum === 1) {
|
|
108
|
+
currentItem.isLiked = !isLiked;
|
|
109
|
+
currentItem.likeCount = (currentItem.likeCount || 0) + (currentItem.isLiked ? 1 : -1);
|
|
110
|
+
setLastUpdate(Date.now());
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
catch (err) {
|
|
114
|
+
console.error('[ARMOYU] Toggle like story error:', err);
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
const [viewersPage, setViewersPage] = useState(1);
|
|
118
|
+
const [hasMoreViewers, setHasMoreViewers] = useState(false);
|
|
119
|
+
const fetchViewers = async (loadMore = false) => {
|
|
120
|
+
if (!currentItem?.id)
|
|
121
|
+
return;
|
|
122
|
+
const nextPage = loadMore ? viewersPage + 1 : 1;
|
|
123
|
+
setLoadingViewers(true);
|
|
124
|
+
setShowViewers(true);
|
|
125
|
+
try {
|
|
126
|
+
const response = await api.stories.getStoryViewers(nextPage, Number(currentItem.id));
|
|
127
|
+
if (response.durum === 1) {
|
|
128
|
+
const newViewers = response.icerik || [];
|
|
129
|
+
if (loadMore) {
|
|
130
|
+
setViewers(prev => [...prev, ...newViewers]);
|
|
131
|
+
setViewersPage(nextPage);
|
|
132
|
+
}
|
|
133
|
+
else {
|
|
134
|
+
setViewers(newViewers);
|
|
135
|
+
setViewersPage(1);
|
|
136
|
+
}
|
|
137
|
+
// Eğer gelen veri sayısı 10 ve üzeriyse (varsayılan limit) daha fazlası olabilir
|
|
138
|
+
setHasMoreViewers(newViewers.length >= 10);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
catch (err) {
|
|
142
|
+
console.error('[ARMOYU] Fetch viewers error:', err);
|
|
143
|
+
}
|
|
144
|
+
finally {
|
|
145
|
+
setLoadingViewers(false);
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
const handleDelete = async (e) => {
|
|
149
|
+
e.stopPropagation();
|
|
150
|
+
if (!currentItem?.id)
|
|
151
|
+
return;
|
|
152
|
+
if (!confirm('Bu hikayeyi silmek istediğinize emin misiniz?'))
|
|
153
|
+
return;
|
|
154
|
+
try {
|
|
155
|
+
const response = await api.stories.deleteStory(Number(currentItem.id));
|
|
156
|
+
if (response.durum === 1) {
|
|
157
|
+
onClose();
|
|
158
|
+
}
|
|
159
|
+
else {
|
|
160
|
+
alert(response.aciklama || 'Silme işlemi başarısız.');
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
catch (err) {
|
|
164
|
+
console.error('[ARMOYU] Delete story error:', err);
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
const handleHide = async (e) => {
|
|
168
|
+
e.stopPropagation();
|
|
169
|
+
if (!currentItem?.id)
|
|
170
|
+
return;
|
|
171
|
+
if (!confirm('Bu hikayeyi gizlemek istediğinize emin misiniz?'))
|
|
172
|
+
return;
|
|
173
|
+
try {
|
|
174
|
+
const response = await api.stories.hideStory(Number(currentItem.id));
|
|
175
|
+
if (response.durum === 1) {
|
|
176
|
+
alert('Hikaye gizlendi.');
|
|
177
|
+
onClose();
|
|
178
|
+
}
|
|
179
|
+
else {
|
|
180
|
+
alert(response.aciklama || 'Gizleme işlemi başarısız.');
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
catch (err) {
|
|
184
|
+
console.error('[ARMOYU] Hide story error:', err);
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
if (!mounted || !story)
|
|
188
|
+
return null;
|
|
189
|
+
return (_jsxs("div", { className: "fixed inset-0 z-[9999] bg-black flex items-center justify-center animate-in fade-in duration-300", children: [_jsx("div", { className: "absolute inset-0 overflow-hidden opacity-50", children: _jsx("img", { src: currentMedia, className: "w-full h-full object-cover blur-3xl scale-110", alt: "" }, currentMedia) }), _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: [_jsx("div", { className: "absolute top-4 left-4 right-4 z-20 flex gap-1", children: items.map((_, idx) => (_jsx("div", { className: "h-1 flex-1 bg-white/20 rounded-full overflow-hidden", children: _jsx("div", { className: "h-full bg-white transition-all duration-50", style: {
|
|
190
|
+
width: idx === currentItemIdx ? `${progress}%` : idx < currentItemIdx ? '100%' : '0%'
|
|
191
|
+
} }) }, idx))) }), _jsxs("div", { className: "absolute top-8 left-4 right-4 z-20 flex items-center justify-between", children: [_jsxs("div", { className: `flex items-center gap-3 ${isMe ? 'cursor-pointer' : ''} p-1`, onClick: (e) => {
|
|
192
|
+
if (isMe) {
|
|
193
|
+
e.stopPropagation();
|
|
194
|
+
onAddStory?.();
|
|
195
|
+
}
|
|
196
|
+
}, children: [_jsxs("div", { className: "relative", children: [_jsx("div", { className: "relative w-11 h-11 rounded-full p-0.5 border-2 border-white/30 overflow-hidden shadow-lg", children: _jsx("img", { src: story.author?.avatar, className: "w-full h-full rounded-full object-cover", alt: "" }) }), isMe && (_jsx("div", { className: "absolute -bottom-1 -right-1 w-5 h-5 bg-armoyu-primary rounded-full flex items-center justify-center border-2 border-[#1a1a1a] text-white shadow-[0_0_10px_rgba(var(--armoyu-primary-rgb),0.5)] z-30", children: _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: [_jsx("line", { x1: "12", y1: "5", x2: "12", y2: "19" }), _jsx("line", { x1: "5", y1: "12", x2: "19", y2: "12" })] }) }))] }), _jsxs("div", { className: "flex flex-col", children: [_jsx("span", { className: "text-white text-sm font-bold shadow-sm", children: isMe ? 'Ben' : story.author?.displayName || story.author?.username }), _jsx("span", { className: "text-white/60 text-[10px]", children: currentTimestamp || 'Az önce' })] })] }), _jsxs("div", { className: "flex items-center gap-1", children: [isMe ? (_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: _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: [_jsx("path", { d: "M3 6h18" }), _jsx("path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" }), _jsx("path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" }), _jsx("line", { x1: "10", y1: "11", x2: "10", y2: "17" }), _jsx("line", { x1: "14", y1: "11", x2: "14", y2: "17" })] }) })) : (_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: _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: [_jsx("path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24" }), _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" }), _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" }), _jsx("line", { x1: "2", y1: "2", x2: "22", y2: "22" })] }) })), _jsx("button", { onClick: onClose, className: "p-2 text-white hover:bg-white/10 rounded-full transition-colors", children: _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: [_jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), _jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })] }) })] })] }), _jsxs("div", { className: "flex-1 relative group/media overflow-hidden", children: [currentItem?.type === 'video' ? (_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: _jsx(Plyr, { source: { type: 'video', sources: [{ src: currentMedia }] }, options: {
|
|
197
|
+
autoplay: true,
|
|
198
|
+
controls: [], // Hide controls for stories
|
|
199
|
+
clickToPlay: true,
|
|
200
|
+
hideControls: true,
|
|
201
|
+
settings: [],
|
|
202
|
+
ratio: '9:16'
|
|
203
|
+
} }, currentMedia) })) : (_jsx("img", { src: currentMedia, className: "w-full h-full object-cover", alt: "Story Content" })), _jsx("div", { className: "absolute bottom-4 left-4 right-4 z-20 flex items-center justify-between pointer-events-none", children: _jsxs("div", { className: "flex items-center gap-4", children: [_jsxs("button", { onClick: handleLike, className: "pointer-events-auto flex flex-col items-center gap-1 group/like", children: [_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: _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: _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" }) }) }), _jsx("span", { className: "text-[10px] text-white font-medium shadow-sm", children: currentItem?.likeCount || 0 })] }), isMe && (_jsxs("button", { onClick: (e) => { e.stopPropagation(); fetchViewers(); }, className: "pointer-events-auto flex flex-col items-center gap-1 group/views", children: [_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: _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: [_jsx("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }), _jsx("circle", { cx: "12", cy: "12", r: "3" })] }) }), _jsx("span", { className: "text-[10px] text-white font-medium shadow-sm", children: currentItem?.viewCount || 0 })] }))] }) }), _jsxs("div", { className: "absolute inset-0 flex", children: [_jsx("div", { className: "w-1/3 h-full cursor-w-resize", onClick: handlePrev }), _jsx("div", { className: "w-2/3 h-full cursor-e-resize", onClick: handleNext })] })] }), _jsx("div", { className: "p-4 bg-black/40 backdrop-blur-md flex gap-3 items-center", children: _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 && (_jsx("div", { className: "absolute inset-0 z-50 bg-black/80 backdrop-blur-xl animate-in slide-in-from-bottom duration-300", children: _jsxs("div", { className: "flex flex-col h-full", children: [_jsxs("div", { className: "p-6 border-b border-white/10 flex items-center justify-between", children: [_jsxs("h3", { className: "text-white font-bold text-lg", children: ["G\u00F6r\u00FCnt\u00FCleyenler (", currentItem?.viewCount || 0, ")"] }), _jsx("button", { onClick: () => setShowViewers(false), className: "text-white/60 hover:text-white", children: _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: [_jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), _jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })] }) })] }), _jsxs("div", { className: "flex-1 overflow-y-auto p-4 space-y-4", children: [loadingViewers ? (_jsx("div", { className: "flex items-center justify-center h-40", children: _jsx("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-white" }) })) : viewers.length > 0 ? (viewers.map((viewer, idx) => (_jsxs("div", { className: "flex items-center justify-between group", children: [_jsxs("div", { className: "flex items-center gap-3", children: [_jsx("img", { src: viewer.hgoruntuleyen_avatar, className: "w-12 h-12 rounded-full border border-white/10", alt: "" }), _jsxs("div", { className: "flex flex-col", children: [_jsx("span", { className: "text-white font-medium", children: viewer.hgoruntuleyen_adsoyad }), _jsxs("span", { className: "text-white/40 text-xs", children: ["@", viewer.hgoruntuleyen_kullaniciad] })] })] }), viewer.hgoruntuleyen_begenme === 1 && (_jsx("div", { className: "text-red-500", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: _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)))) : (_jsx("div", { className: "text-center text-white/40 mt-10", children: "Hen\u00FCz kimse g\u00F6r\u00FCnt\u00FClemedi." })), hasMoreViewers && (_jsx("div", { className: "pt-4 pb-8 flex justify-center", children: _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' }) }))] })] }) }))] })] }));
|
|
204
|
+
}
|
|
205
|
+
//# sourceMappingURL=StoryOverlay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoryOverlay.js","sourceRoot":"","sources":["../../../../../src/components/modules/stories/widgets/StoryOverlay.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,OAAO,OAAO,MAAM,cAAc,CAAC;AAEnC,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;IACvE,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,GAAG,EAAE,CAAC,cAAK,SAAS,EAAC,0GAA0G,wCAAoB;CAC7J,CAAC,CAAC;AASH,MAAM,UAAU,YAAY,CAAC,EAAE,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,UAAU,EAAqB;IACjG,MAAM,EAAE,GAAG,EAAE,GAAG,SAAS,EAAE,CAAC;IAC5B,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,OAAO,EAAE,CAAC;IACxC,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IAC1E,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IACxD,MA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cAAK,SAAS,EAAC,cAAc,YAC3B,cAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,cAAc,YAAC,eAAM,CAAC,EAAC,0IAA0I,GAAE,GAAM,GAC7P,CACP,KAZO,GAAG,CAaP,CACP,CAAC,CACH,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAC,iCAAiC,+DAAiC,CAClF,EAEA,cAAc,IAAI,CACjB,cAAK,SAAS,EAAC,+BAA+B,YAC5C,iBACE,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,EACjC,QAAQ,EAAE,cAAc,EACxB,SAAS,EAAC,wHAAwH,YAEjI,cAAc,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,kBAAkB,GAC/C,GACL,CACP,IACG,IACF,GACF,CACP,IACG,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SupportPage.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/support/pages/SupportPage.tsx"],"names":[],"mappings":"AA6CA,wBAAgB,WAAW,4CAoI1B"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
import { PageWidth } from '../../../shared/PageWidth';
|
|
5
|
+
import { Plus, MessageCircle, Clock, CheckCircle2, AlertCircle, Search, ChevronRight, Filter } from 'lucide-react';
|
|
6
|
+
const MOCK_TICKETS = [
|
|
7
|
+
{
|
|
8
|
+
id: 'T-1042',
|
|
9
|
+
subject: 'Hesap Doğrulama Hatası',
|
|
10
|
+
status: 'Açık',
|
|
11
|
+
priority: 'Yüksek',
|
|
12
|
+
date: '2 saat önce',
|
|
13
|
+
lastMessage: 'Belgeleriniz inceleniyor, lütfen bekleyiniz.',
|
|
14
|
+
category: 'Hesap İşlemleri'
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
id: 'T-1039',
|
|
18
|
+
subject: 'Market Alışverişi Hakkında',
|
|
19
|
+
status: 'Yanıtlandı',
|
|
20
|
+
priority: 'Normal',
|
|
21
|
+
date: '1 gün önce',
|
|
22
|
+
lastMessage: 'Ödemeniz onaylandı, teşekkür ederiz.',
|
|
23
|
+
category: 'Mağaza'
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
id: 'T-1025',
|
|
27
|
+
subject: 'Sunucu Bağlantı Sorunu',
|
|
28
|
+
status: 'Kapalı',
|
|
29
|
+
priority: 'Kritik',
|
|
30
|
+
date: '3 gün önce',
|
|
31
|
+
lastMessage: 'Sorun çözüldü, iyi oyunlar dileriz.',
|
|
32
|
+
category: 'Teknik Destek'
|
|
33
|
+
}
|
|
34
|
+
];
|
|
35
|
+
export function SupportPage() {
|
|
36
|
+
const [activeTab, setActiveTab] = useState('Tümü');
|
|
37
|
+
const getStatusStyles = (status) => {
|
|
38
|
+
switch (status) {
|
|
39
|
+
case 'Açık': return 'bg-armoyu-primary/10 text-armoyu-primary border-armoyu-primary/20';
|
|
40
|
+
case 'Yanıtlandı': return 'bg-armoyu-success/10 text-armoyu-success border-armoyu-success/20';
|
|
41
|
+
case 'Kapalı': return 'bg-armoyu-secondary/10 text-armoyu-secondary border-armoyu-secondary/20';
|
|
42
|
+
default: return 'bg-white/5 text-armoyu-text-muted border-white/5';
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
return (_jsxs("div", { className: "pb-32 animate-in fade-in duration-700 bg-armoyu-bg min-h-screen", children: [_jsx(PageWidth, { width: "max-w-[1280px]" }), _jsxs("div", { className: "max-w-[1280px] mx-auto px-6 md:px-12", children: [_jsxs("div", { className: "flex flex-col md:flex-row items-center justify-between gap-8 mb-16 pt-12", children: [_jsxs("div", { className: "flex-1 text-center md:text-left", children: [_jsxs("h1", { className: "text-4xl md:text-6xl font-black text-armoyu-text uppercase tracking-tighter italic leading-none mb-4 drop-shadow-xl", children: ["DESTEK ", _jsx("span", { className: "text-armoyu-primary", children: "B\u0130LD\u0130R\u0130MLER\u0130" })] }), _jsx("p", { className: "text-armoyu-text-muted text-sm md:text-base font-medium opacity-80 max-w-2xl leading-relaxed mx-auto md:mx-0", children: "Ya\u015Fad\u0131\u011F\u0131n sorunlar\u0131 bize ilet, ARMOYU ekibi olarak en k\u0131sa s\u00FCrede yard\u0131mc\u0131 olal\u0131m. T\u00FCm taleplerin burada saklan\u0131r." })] }), _jsxs("button", { className: "px-8 py-5 bg-armoyu-primary text-white rounded-[25px] font-black text-xs uppercase tracking-[0.2em] shadow-2xl shadow-armoyu-primary/30 hover:scale-105 active:scale-95 transition-all flex items-center gap-3 italic", children: [_jsx(Plus, { size: 20, strokeWidth: 3 }), " YEN\u0130 DESTEK TALEB\u0130"] })] }), _jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-12 gap-12", children: [_jsxs("div", { className: "lg:col-span-3 space-y-8", children: [_jsx("div", { className: "glass-panel p-2 rounded-[32px] border border-armoyu-card-border bg-armoyu-card-bg", children: ['Tümü', 'Açık', 'Kapalı'].map((tab) => (_jsxs("button", { onClick: () => setActiveTab(tab), className: `w-full flex items-center justify-between px-6 py-4 rounded-3xl text-[10px] font-black uppercase tracking-widest transition-all ${activeTab === tab ? 'bg-armoyu-primary text-white shadow-xl shadow-armoyu-primary/20' : 'text-armoyu-text-muted hover:text-armoyu-text hover:bg-black/5 dark:hover:bg-white/5'}`, children: [_jsxs("div", { className: "flex items-center gap-3", children: [tab === 'Tümü' && _jsx(Filter, { size: 14 }), tab === 'Açık' && _jsx(Clock, { size: 14 }), tab === 'Kapalı' && _jsx(CheckCircle2, { size: 14 }), tab] }), _jsx("span", { className: `text-[10px] opacity-60 ${activeTab === tab ? 'text-white' : 'text-armoyu-primary'}`, children: tab === 'Tümü' ? '3' : tab === 'Açık' ? '2' : '1' })] }, tab))) }), _jsxs("div", { className: "glass-panel p-8 rounded-[40px] border border-armoyu-card-border bg-armoyu-card-bg shadow-xl overflow-hidden relative group", children: [_jsx("div", { className: "absolute -top-10 -right-10 w-32 h-32 bg-armoyu-primary/5 rounded-full blur-3xl group-hover:bg-armoyu-primary/10 transition-all" }), _jsx("h4", { className: "text-[10px] font-black text-armoyu-primary uppercase tracking-widest mb-4 relative z-10", children: "Ortalama Yan\u0131t S\u00FCresi" }), _jsxs("div", { className: "flex items-end gap-2 relative z-10", children: [_jsx("span", { className: "text-3xl font-black text-armoyu-text italic", children: "14" }), _jsx("span", { className: "text-xs font-bold text-armoyu-text-muted mb-1 uppercase", children: "Dakika" })] }), _jsx("p", { className: "text-[9px] font-bold text-armoyu-text-muted mt-4 uppercase tracking-widest opacity-60", children: "Son 24 saatteki verilerdir." })] })] }), _jsxs("div", { className: "lg:col-span-9 space-y-6", children: [_jsxs("div", { className: "relative group", children: [_jsx("input", { type: "text", placeholder: "B\u0130LD\u0130R\u0130M ARA (ID, KONU...)", className: "w-full h-16 pl-14 pr-6 bg-armoyu-card-bg border border-armoyu-card-border rounded-3xl text-[10px] font-black uppercase tracking-[0.15em] focus:border-armoyu-primary outline-none transition-all placeholder:text-armoyu-text-muted/40 shadow-sm" }), _jsx(Search, { size: 20, className: "absolute left-5 top-1/2 -translate-y-1/2 text-armoyu-text-muted group-focus-within:text-armoyu-primary transition-colors opacity-50" })] }), _jsx("div", { className: "space-y-4", children: MOCK_TICKETS.map((ticket) => (_jsxs("div", { className: "group glass-panel p-6 md:p-8 rounded-[40px] border border-armoyu-card-border bg-armoyu-card-bg hover:shadow-2xl transition-all cursor-pointer flex flex-col md:flex-row items-center gap-6", children: [_jsx("div", { className: `w-14 h-14 rounded-2xl flex items-center justify-center shrink-0 border ${getStatusStyles(ticket.status)}`, children: ticket.status === 'Yanıtlandı' ? _jsx(MessageCircle, { size: 24 }) : ticket.status === 'Açık' ? _jsx(Clock, { size: 24 }) : _jsx(CheckCircle2, { size: 24 }) }), _jsxs("div", { className: "flex-1 text-center md:text-left min-w-0", children: [_jsxs("div", { className: "flex flex-wrap items-center justify-center md:justify-start gap-3 mb-2", children: [_jsx("span", { className: "text-[10px] font-black text-armoyu-primary uppercase tracking-widest", children: ticket.id }), _jsx("span", { className: "text-[10px] font-black text-armoyu-text-muted opacity-40 uppercase tracking-widest", children: "\u2022" }), _jsx("span", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-widest", children: ticket.category })] }), _jsx("h3", { className: "text-xl font-black text-armoyu-text uppercase tracking-tight italic group-hover:text-armoyu-primary transition-colors mb-2 truncate", children: ticket.subject }), _jsx("p", { className: "text-sm text-armoyu-text-muted font-medium opacity-60 truncate", children: ticket.lastMessage })] }), _jsxs("div", { className: "flex flex-col items-center md:items-end gap-3 shrink-0", children: [_jsx("div", { className: `px-4 py-1.5 rounded-full text-[9px] font-black uppercase tracking-widest border ${getStatusStyles(ticket.status)}`, children: ticket.status }), _jsx("span", { className: "text-[10px] font-bold text-armoyu-text-muted uppercase tracking-widest opacity-40 italic", children: ticket.date })] }), _jsx("div", { className: "hidden md:flex w-10 h-10 rounded-full bg-black/5 dark:bg-white/5 items-center justify-center text-armoyu-text-muted group-hover:bg-armoyu-primary group-hover:text-white transition-all", children: _jsx(ChevronRight, { size: 20, strokeWidth: 3 }) })] }, ticket.id))) }), _jsxs("div", { className: "py-12 flex flex-col items-center justify-center text-center", children: [_jsx("div", { className: "w-12 h-12 rounded-full bg-white/5 flex items-center justify-center text-armoyu-text-muted mb-4", children: _jsx(AlertCircle, { size: 24 }) }), _jsx("h4", { className: "text-[10px] font-black text-armoyu-text uppercase tracking-widest mb-2", children: "Ba\u015Fka Bir Sorun mu Var?" }), _jsx("p", { className: "text-[11px] font-medium text-armoyu-text-muted max-w-xs leading-relaxed uppercase opacity-60", children: "E\u011Fer arad\u0131\u011F\u0131n\u0131 bulamad\u0131ysan Discord sunucumuz \u00FCzerinden de bize ula\u015Fabilirsin." })] })] })] })] })] }));
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=SupportPage.js.map
|