@armoyu/ui 1.1.25 → 1.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/Providers.d.ts.map +1 -1
- package/dist/app/Providers.js +19 -21
- package/dist/app/Providers.js.map +1 -1
- package/dist/app/education/[slug]/page.d.ts +2 -0
- package/dist/app/education/[slug]/page.d.ts.map +1 -0
- package/dist/app/education/[slug]/page.js +7 -0
- package/dist/app/education/[slug]/page.js.map +1 -0
- package/dist/app/egitim/[slug]/page.js +4 -7
- package/dist/app/egitim/[slug]/page.js.map +1 -1
- package/dist/app/etkinlikler/[eventId]/page.js +8 -11
- package/dist/app/etkinlikler/[eventId]/page.js.map +1 -1
- package/dist/app/etkinlikler/page.js +14 -17
- package/dist/app/etkinlikler/page.js.map +1 -1
- package/dist/app/events/[eventId]/page.d.ts +2 -0
- package/dist/app/events/[eventId]/page.d.ts.map +1 -0
- package/dist/app/events/[eventId]/page.js +12 -0
- package/dist/app/events/[eventId]/page.js.map +1 -0
- package/dist/app/events/page.d.ts +2 -0
- package/dist/app/events/page.d.ts.map +1 -0
- package/dist/app/events/page.js +32 -0
- package/dist/app/events/page.js.map +1 -0
- package/dist/app/groups/[groupId]/page.d.ts +2 -0
- package/dist/app/groups/[groupId]/page.d.ts.map +1 -0
- package/dist/app/groups/[groupId]/page.js +10 -0
- package/dist/app/groups/[groupId]/page.js.map +1 -0
- package/dist/app/gruplar/[groupId]/page.d.ts.map +1 -1
- package/dist/app/gruplar/[groupId]/page.js +7 -9
- package/dist/app/gruplar/[groupId]/page.js.map +1 -1
- package/dist/app/layout.js +12 -19
- package/dist/app/layout.js.map +1 -1
- package/dist/app/management-panel/layout.d.ts +5 -0
- package/dist/app/management-panel/layout.d.ts.map +1 -0
- package/dist/app/management-panel/layout.js +67 -0
- package/dist/app/management-panel/layout.js.map +1 -0
- package/dist/app/management-panel/page.d.ts +2 -0
- package/dist/app/management-panel/page.d.ts.map +1 -0
- package/dist/app/management-panel/page.js +151 -0
- package/dist/app/management-panel/page.js.map +1 -0
- package/dist/app/page.d.ts.map +1 -1
- package/dist/app/page.js +48 -49
- package/dist/app/page.js.map +1 -1
- package/dist/components/Button.js +6 -42
- package/dist/components/Button.js.map +1 -1
- package/dist/components/GenderStatsBar.js +3 -6
- package/dist/components/GenderStatsBar.js.map +1 -1
- package/dist/components/RollingNumber.d.ts +2 -1
- package/dist/components/RollingNumber.d.ts.map +1 -1
- package/dist/components/RollingNumber.js +15 -14
- package/dist/components/RollingNumber.js.map +1 -1
- package/dist/components/Slider.js +11 -14
- package/dist/components/Slider.js.map +1 -1
- package/dist/components/StatsGrid.js +4 -7
- package/dist/components/StatsGrid.js.map +1 -1
- package/dist/components/ViewModeToggle.js +7 -10
- package/dist/components/ViewModeToggle.js.map +1 -1
- package/dist/components/common/Mentions/HashtagLink.js +4 -11
- package/dist/components/common/Mentions/HashtagLink.js.map +1 -1
- package/dist/components/common/Mentions/MentionLink.js +11 -18
- package/dist/components/common/Mentions/MentionLink.js.map +1 -1
- package/dist/components/common/Mentions/MentionText.js +8 -48
- package/dist/components/common/Mentions/MentionText.js.map +1 -1
- package/dist/components/modules/auth/widgets/AuthJoinCard.js +11 -14
- package/dist/components/modules/auth/widgets/AuthJoinCard.js.map +1 -1
- package/dist/components/modules/auth/widgets/InviteWidget.js +15 -18
- package/dist/components/modules/auth/widgets/InviteWidget.js.map +1 -1
- package/dist/components/modules/auth/widgets/LoginWidget.d.ts.map +1 -1
- package/dist/components/modules/auth/widgets/LoginWidget.js +20 -26
- package/dist/components/modules/auth/widgets/LoginWidget.js.map +1 -1
- package/dist/components/modules/auth/widgets/RegisterWidget.d.ts.map +1 -1
- package/dist/components/modules/auth/widgets/RegisterWidget.js +43 -39
- package/dist/components/modules/auth/widgets/RegisterWidget.js.map +1 -1
- package/dist/components/modules/blog/pages/MyArticlesPage.js +26 -29
- package/dist/components/modules/blog/pages/MyArticlesPage.js.map +1 -1
- package/dist/components/modules/chat/ChatLayout.d.ts.map +1 -1
- package/dist/components/modules/chat/ChatLayout.js +46 -76
- package/dist/components/modules/chat/ChatLayout.js.map +1 -1
- package/dist/components/modules/chat/widgets/ChatInput.js +8 -11
- package/dist/components/modules/chat/widgets/ChatInput.js.map +1 -1
- package/dist/components/modules/chat/widgets/ChatList.js +22 -25
- package/dist/components/modules/chat/widgets/ChatList.js.map +1 -1
- package/dist/components/modules/chat/widgets/ChatMessage.js +5 -8
- package/dist/components/modules/chat/widgets/ChatMessage.js.map +1 -1
- package/dist/components/modules/cloud/CloudModal.js +40 -43
- package/dist/components/modules/cloud/CloudModal.js.map +1 -1
- package/dist/components/modules/cloud/CloudWidget.js +4 -7
- package/dist/components/modules/cloud/CloudWidget.js.map +1 -1
- package/dist/components/modules/community/CommunityLayout.d.ts.map +1 -1
- package/dist/components/modules/community/CommunityLayout.js +37 -40
- package/dist/components/modules/community/CommunityLayout.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupAboutCard.js +4 -7
- package/dist/components/modules/community/widgets/GroupAboutCard.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupFeedSection.js +5 -8
- package/dist/components/modules/community/widgets/GroupFeedSection.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupHeader.js +7 -10
- package/dist/components/modules/community/widgets/GroupHeader.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupMenu.js +5 -11
- package/dist/components/modules/community/widgets/GroupMenu.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupPermissions.js +4 -7
- package/dist/components/modules/community/widgets/GroupPermissions.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupStatsGrid.js +8 -11
- package/dist/components/modules/community/widgets/GroupStatsGrid.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupTopMembers.js +5 -11
- package/dist/components/modules/community/widgets/GroupTopMembers.js.map +1 -1
- package/dist/components/modules/community/widgets/SchoolCard.d.ts.map +1 -1
- package/dist/components/modules/community/widgets/SchoolCard.js +8 -11
- package/dist/components/modules/community/widgets/SchoolCard.js.map +1 -1
- 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.js +11 -14
- package/dist/components/modules/community/widgets/SurveyCard.js.map +1 -1
- package/dist/components/modules/education/pages/EducationPage.js +16 -19
- package/dist/components/modules/education/pages/EducationPage.js.map +1 -1
- package/dist/components/modules/education/pages/SchoolDetailPage.js +29 -32
- package/dist/components/modules/education/pages/SchoolDetailPage.js.map +1 -1
- package/dist/components/modules/events/DetailPage.d.ts +1 -1
- package/dist/components/modules/events/DetailPage.d.ts.map +1 -1
- package/dist/components/modules/events/DetailPage.js +38 -32
- package/dist/components/modules/events/DetailPage.js.map +1 -1
- package/dist/components/modules/events/EventsLayout.d.ts.map +1 -1
- package/dist/components/modules/events/EventsLayout.js +4 -6
- package/dist/components/modules/events/EventsLayout.js.map +1 -1
- package/dist/components/modules/events/EventsPage.d.ts.map +1 -1
- package/dist/components/modules/events/EventsPage.js +30 -33
- package/dist/components/modules/events/EventsPage.js.map +1 -1
- package/dist/components/modules/events/widgets/EventCard.js +6 -12
- package/dist/components/modules/events/widgets/EventCard.js.map +1 -1
- package/dist/components/modules/events/widgets/EventFormModal.js +4 -7
- package/dist/components/modules/events/widgets/EventFormModal.js.map +1 -1
- package/dist/components/modules/events/widgets/EventList.js +10 -16
- package/dist/components/modules/events/widgets/EventList.js.map +1 -1
- package/dist/components/modules/events/widgets/EventShowcase.js +15 -18
- package/dist/components/modules/events/widgets/EventShowcase.js.map +1 -1
- package/dist/components/modules/forum/pages/ForumBoardPage.js +11 -14
- package/dist/components/modules/forum/pages/ForumBoardPage.js.map +1 -1
- package/dist/components/modules/forum/pages/ForumPage.js +11 -14
- package/dist/components/modules/forum/pages/ForumPage.js.map +1 -1
- package/dist/components/modules/forum/pages/ForumTopicPage.js +7 -10
- package/dist/components/modules/forum/pages/ForumTopicPage.js.map +1 -1
- package/dist/components/modules/forum/widgets/ForumBoard.js +4 -10
- package/dist/components/modules/forum/widgets/ForumBoard.js.map +1 -1
- package/dist/components/modules/forum/widgets/ForumCategoryList.js +4 -7
- package/dist/components/modules/forum/widgets/ForumCategoryList.js.map +1 -1
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js +3 -6
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js.map +1 -1
- package/dist/components/modules/forum/widgets/ForumPost.js +3 -6
- package/dist/components/modules/forum/widgets/ForumPost.js.map +1 -1
- package/dist/components/modules/forum/widgets/ForumSidebar.js +3 -6
- package/dist/components/modules/forum/widgets/ForumSidebar.js.map +1 -1
- package/dist/components/modules/forum/widgets/NewTopicModal.js +5 -8
- package/dist/components/modules/forum/widgets/NewTopicModal.js.map +1 -1
- package/dist/components/modules/forum/widgets/TopicItem.js +4 -10
- package/dist/components/modules/forum/widgets/TopicItem.js.map +1 -1
- package/dist/components/modules/galleries/widgets/GalleryCard.js +3 -6
- package/dist/components/modules/galleries/widgets/GalleryCard.js.map +1 -1
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js +3 -6
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js.map +1 -1
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js +3 -6
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js.map +1 -1
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js +3 -6
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js.map +1 -1
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.d.ts.map +1 -1
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js +5 -7
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js.map +1 -1
- package/dist/components/modules/giveaways/pages/GiveawaysPage.js +11 -14
- package/dist/components/modules/giveaways/pages/GiveawaysPage.js.map +1 -1
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts.map +1 -1
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js +3 -6
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js.map +1 -1
- package/dist/components/modules/groups/widgets/ApplicationModal.js +5 -8
- package/dist/components/modules/groups/widgets/ApplicationModal.js.map +1 -1
- package/dist/components/modules/groups/widgets/GroupCard.js +4 -10
- package/dist/components/modules/groups/widgets/GroupCard.js.map +1 -1
- package/dist/components/modules/guest/widgets/Introduction.js +9 -12
- package/dist/components/modules/guest/widgets/Introduction.js.map +1 -1
- package/dist/components/modules/management/ManagementAccessDenied.js +5 -12
- package/dist/components/modules/management/ManagementAccessDenied.js.map +1 -1
- package/dist/components/modules/management/ManagementSidebar.d.ts +6 -0
- package/dist/components/modules/management/ManagementSidebar.d.ts.map +1 -1
- package/dist/components/modules/management/ManagementSidebar.js +45 -19
- package/dist/components/modules/management/ManagementSidebar.js.map +1 -1
- package/dist/components/modules/management/widgets/ManagementCharts.d.ts +15 -0
- package/dist/components/modules/management/widgets/ManagementCharts.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/ManagementCharts.js +10 -0
- package/dist/components/modules/management/widgets/ManagementCharts.js.map +1 -0
- package/dist/components/modules/management/widgets/ManagementDashboard.d.ts +30 -39
- package/dist/components/modules/management/widgets/ManagementDashboard.d.ts.map +1 -1
- package/dist/components/modules/management/widgets/ManagementDashboard.js +18 -25
- package/dist/components/modules/management/widgets/ManagementDashboard.js.map +1 -1
- package/dist/components/modules/management/widgets/MemberManagement.d.ts +16 -0
- package/dist/components/modules/management/widgets/MemberManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/MemberManagement.js +25 -0
- package/dist/components/modules/management/widgets/MemberManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/SystemSettings.d.ts +2 -0
- package/dist/components/modules/management/widgets/SystemSettings.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/SystemSettings.js +7 -0
- package/dist/components/modules/management/widgets/SystemSettings.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.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.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.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.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.js +10 -13
- package/dist/components/modules/mods/pages/ModDetailPage.js.map +1 -1
- package/dist/components/modules/mods/pages/ModsPage.js +8 -12
- package/dist/components/modules/mods/pages/ModsPage.js.map +1 -1
- package/dist/components/modules/news/pages/NewsDetailPage.js +22 -25
- package/dist/components/modules/news/pages/NewsDetailPage.js.map +1 -1
- package/dist/components/modules/news/pages/NewsPage.js +24 -27
- package/dist/components/modules/news/pages/NewsPage.js.map +1 -1
- package/dist/components/modules/news/widgets/NewsCard.js +4 -10
- package/dist/components/modules/news/widgets/NewsCard.js.map +1 -1
- package/dist/components/modules/news/widgets/NewsComments.js +4 -7
- package/dist/components/modules/news/widgets/NewsComments.js.map +1 -1
- package/dist/components/modules/news/widgets/NewsDetailAuthor.js +4 -7
- package/dist/components/modules/news/widgets/NewsDetailAuthor.js.map +1 -1
- package/dist/components/modules/news/widgets/NewsDetailHero.js +4 -7
- package/dist/components/modules/news/widgets/NewsDetailHero.js.map +1 -1
- package/dist/components/modules/news/widgets/NewsDetailSidebar.js +4 -7
- package/dist/components/modules/news/widgets/NewsDetailSidebar.js.map +1 -1
- package/dist/components/modules/news/widgets/NewsHero.js +4 -7
- package/dist/components/modules/news/widgets/NewsHero.js.map +1 -1
- package/dist/components/modules/poll/pages/PollsPage.js +22 -25
- package/dist/components/modules/poll/pages/PollsPage.js.map +1 -1
- package/dist/components/modules/posts/widgets/MediaLightbox.js +17 -20
- package/dist/components/modules/posts/widgets/MediaLightbox.js.map +1 -1
- package/dist/components/modules/posts/widgets/PostCard.d.ts +3 -0
- package/dist/components/modules/posts/widgets/PostCard.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/PostCard.js +61 -97
- package/dist/components/modules/posts/widgets/PostCard.js.map +1 -1
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js +7 -13
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js.map +1 -1
- 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.js +11 -14
- package/dist/components/modules/posts/widgets/RepostModal.js.map +1 -1
- package/dist/components/modules/posts/widgets/SocialFeed.js +28 -31
- package/dist/components/modules/posts/widgets/SocialFeed.js.map +1 -1
- package/dist/components/modules/posts/widgets/reels/ReelCard.js +13 -16
- package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +1 -1
- package/dist/components/modules/profile/ProfileLayout.js +22 -25
- package/dist/components/modules/profile/ProfileLayout.js.map +1 -1
- package/dist/components/modules/profile/tabs/AboutTab.js +6 -9
- package/dist/components/modules/profile/tabs/AboutTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/CareerTab.js +14 -17
- package/dist/components/modules/profile/tabs/CareerTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/FriendsTab.js +16 -22
- package/dist/components/modules/profile/tabs/FriendsTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/GamesTab.js +7 -10
- package/dist/components/modules/profile/tabs/GamesTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/GroupsTab.js +5 -11
- package/dist/components/modules/profile/tabs/GroupsTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/MediaTab.js +18 -21
- package/dist/components/modules/profile/tabs/MediaTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/PostsTab.js +12 -48
- package/dist/components/modules/profile/tabs/PostsTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/QuestionsTab.js +10 -13
- package/dist/components/modules/profile/tabs/QuestionsTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/WallTab.js +12 -48
- package/dist/components/modules/profile/tabs/WallTab.js.map +1 -1
- package/dist/components/modules/profile/widgets/EditProfileModal.js +24 -27
- package/dist/components/modules/profile/widgets/EditProfileModal.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js +9 -12
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js +4 -7
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.js +5 -8
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js +5 -8
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts +2 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.js +23 -14
- package/dist/components/modules/profile/widgets/ProfileHeader.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.js +17 -20
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileStats.js +12 -23
- package/dist/components/modules/profile/widgets/ProfileStats.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js +26 -29
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +1 -1
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js +12 -15
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js.map +1 -1
- package/dist/components/modules/shop/CartLayout.js +5 -8
- package/dist/components/modules/shop/CartLayout.js.map +1 -1
- package/dist/components/modules/shop/CheckoutLayout.js +7 -10
- package/dist/components/modules/shop/CheckoutLayout.js.map +1 -1
- package/dist/components/modules/shop/DetailLayout.js +13 -16
- package/dist/components/modules/shop/DetailLayout.js.map +1 -1
- package/dist/components/modules/shop/OrdersLayout.js +5 -8
- package/dist/components/modules/shop/OrdersLayout.js.map +1 -1
- package/dist/components/modules/shop/widgets/BackToStore.js +10 -16
- package/dist/components/modules/shop/widgets/BackToStore.js.map +1 -1
- package/dist/components/modules/shop/widgets/CategoryWidget.js +14 -17
- package/dist/components/modules/shop/widgets/CategoryWidget.js.map +1 -1
- package/dist/components/modules/shop/widgets/ProductCard.js +3 -6
- package/dist/components/modules/shop/widgets/ProductCard.js.map +1 -1
- package/dist/components/modules/shop/widgets/StoreHeader.js +6 -12
- package/dist/components/modules/shop/widgets/StoreHeader.js.map +1 -1
- package/dist/components/modules/shop/widgets/StoreProductGrid.js +5 -11
- package/dist/components/modules/shop/widgets/StoreProductGrid.js.map +1 -1
- package/dist/components/modules/shop/widgets/StoreSearchBar.js +7 -13
- package/dist/components/modules/shop/widgets/StoreSearchBar.js.map +1 -1
- package/dist/components/modules/shop/widgets/StoreSidebar.js +5 -8
- package/dist/components/modules/shop/widgets/StoreSidebar.js.map +1 -1
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js +8 -11
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js.map +1 -1
- package/dist/components/modules/social/SocialLayout.js +32 -38
- package/dist/components/modules/social/SocialLayout.js.map +1 -1
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +1 -1
- package/dist/components/modules/social/widgets/EconomyWidget.js +17 -19
- package/dist/components/modules/social/widgets/EconomyWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/LeagueWidget.js +13 -16
- package/dist/components/modules/social/widgets/LeagueWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.js +12 -15
- package/dist/components/modules/social/widgets/MinecraftWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/NewMembersWidget.d.ts.map +1 -1
- package/dist/components/modules/social/widgets/NewMembersWidget.js +11 -17
- package/dist/components/modules/social/widgets/NewMembersWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/PostComposer.js +25 -28
- package/dist/components/modules/social/widgets/PostComposer.js.map +1 -1
- package/dist/components/modules/social/widgets/RankingWidget.js +22 -25
- package/dist/components/modules/social/widgets/RankingWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/TrendingWidget.js +11 -18
- package/dist/components/modules/social/widgets/TrendingWidget.js.map +1 -1
- package/dist/components/modules/stations/widgets/StationCard.js +10 -16
- package/dist/components/modules/stations/widgets/StationCard.js.map +1 -1
- package/dist/components/modules/stations/widgets/StationQRModal.js +4 -7
- package/dist/components/modules/stations/widgets/StationQRModal.js.map +1 -1
- package/dist/components/modules/stories/widgets/AddStoryModal.js +6 -9
- package/dist/components/modules/stories/widgets/AddStoryModal.js.map +1 -1
- package/dist/components/modules/stories/widgets/Stories.js +32 -35
- package/dist/components/modules/stories/widgets/Stories.js.map +1 -1
- package/dist/components/modules/stories/widgets/StoryOverlay.js +28 -67
- package/dist/components/modules/stories/widgets/StoryOverlay.js.map +1 -1
- 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/DevTools.js +12 -15
- package/dist/components/shared/DevTools.js.map +1 -1
- package/dist/components/shared/FilterTabs.js +11 -14
- package/dist/components/shared/FilterTabs.js.map +1 -1
- package/dist/components/shared/FloatingChatButton.js +10 -13
- package/dist/components/shared/FloatingChatButton.js.map +1 -1
- package/dist/components/shared/Footer.js +3 -6
- package/dist/components/shared/Footer.js.map +1 -1
- package/dist/components/shared/Header.d.ts.map +1 -1
- package/dist/components/shared/Header.js +80 -69
- package/dist/components/shared/Header.js.map +1 -1
- package/dist/components/shared/ListToolbar.js +6 -9
- package/dist/components/shared/ListToolbar.js.map +1 -1
- package/dist/components/shared/LoginModal.js +7 -10
- package/dist/components/shared/LoginModal.js.map +1 -1
- package/dist/components/shared/MainLayoutWrapper.js +5 -8
- package/dist/components/shared/MainLayoutWrapper.js.map +1 -1
- package/dist/components/shared/NotFound.js +4 -7
- package/dist/components/shared/NotFound.js.map +1 -1
- package/dist/components/shared/PageWidth.js +7 -10
- package/dist/components/shared/PageWidth.js.map +1 -1
- package/dist/components/shared/SearchBar.js +6 -9
- package/dist/components/shared/SearchBar.js.map +1 -1
- package/dist/components/shared/UserDrawer.d.ts +1 -1
- package/dist/components/shared/UserDrawer.d.ts.map +1 -1
- package/dist/components/shared/UserDrawer.js +29 -53
- package/dist/components/shared/UserDrawer.js.map +1 -1
- package/dist/components/showcase/AuthTab.js +11 -14
- package/dist/components/showcase/AuthTab.js.map +1 -1
- package/dist/components/showcase/CommunityTab.js +4 -7
- package/dist/components/showcase/CommunityTab.js.map +1 -1
- package/dist/components/showcase/CorporateTab.js +4 -7
- package/dist/components/showcase/CorporateTab.js.map +1 -1
- package/dist/components/showcase/GeneralTab.js +4 -7
- package/dist/components/showcase/GeneralTab.js.map +1 -1
- package/dist/components/showcase/GroupTab.d.ts.map +1 -1
- package/dist/components/showcase/GroupTab.js +28 -36
- package/dist/components/showcase/GroupTab.js.map +1 -1
- package/dist/components/showcase/MessagesTab.js +10 -13
- package/dist/components/showcase/MessagesTab.js.map +1 -1
- package/dist/components/showcase/MyPostsTab.js +7 -10
- package/dist/components/showcase/MyPostsTab.js.map +1 -1
- package/dist/components/showcase/ReelsTab.js +15 -18
- package/dist/components/showcase/ReelsTab.js.map +1 -1
- 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 +15 -18
- package/dist/components/showcase/ShopTab.js.map +1 -1
- package/dist/components/showcase/ShowcaseNavigation.d.ts.map +1 -1
- package/dist/components/showcase/ShowcaseNavigation.js +59 -54
- package/dist/components/showcase/ShowcaseNavigation.js.map +1 -1
- package/dist/components/showcase/SocialTab.d.ts.map +1 -1
- package/dist/components/showcase/SocialTab.js +16 -53
- package/dist/components/showcase/SocialTab.js.map +1 -1
- package/dist/components/showcase/StoriesTab.js +4 -7
- package/dist/components/showcase/StoriesTab.js.map +1 -1
- package/dist/context/ArmoyuContext.d.ts.map +1 -1
- package/dist/context/ArmoyuContext.js +33 -32
- package/dist/context/ArmoyuContext.js.map +1 -1
- package/dist/context/AuthContext.d.ts.map +1 -1
- package/dist/context/AuthContext.js +27 -32
- package/dist/context/AuthContext.js.map +1 -1
- package/dist/context/CartContext.js +15 -19
- package/dist/context/CartContext.js.map +1 -1
- package/dist/context/ChatContext.d.ts.map +1 -1
- package/dist/context/ChatContext.js +52 -45
- package/dist/context/ChatContext.js.map +1 -1
- package/dist/context/LayoutContext.js +9 -13
- package/dist/context/LayoutContext.js.map +1 -1
- package/dist/context/SocketContext.js +11 -15
- package/dist/context/SocketContext.js.map +1 -1
- package/dist/context/ThemeContext.d.ts +3 -0
- package/dist/context/ThemeContext.d.ts.map +1 -1
- package/dist/context/ThemeContext.js +23 -15
- package/dist/context/ThemeContext.js.map +1 -1
- package/dist/index.d.ts +28 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +170 -274
- package/dist/index.js.map +1 -1
- package/dist/lib/constants/educationData.js +28 -32
- package/dist/lib/constants/educationData.js.map +1 -1
- package/dist/lib/constants/punishmentData.js +6 -12
- package/dist/lib/constants/punishmentData.js.map +1 -1
- package/dist/lib/constants/seedData.d.ts.map +1 -1
- package/dist/lib/constants/seedData.js +258 -263
- package/dist/lib/constants/seedData.js.map +1 -1
- package/dist/lib/constants/stationData.js +32 -35
- package/dist/lib/constants/stationData.js.map +1 -1
- package/dist/lib/constants/surveyData.js +15 -19
- package/dist/lib/constants/surveyData.js.map +1 -1
- package/dist/lib/constants/teamData.js +2 -5
- package/dist/lib/constants/teamData.js.map +1 -1
- package/dist/lib/utils/numberFormat.js +1 -4
- package/dist/lib/utils/numberFormat.js.map +1 -1
- package/dist/lib/utils/odpUtils.js +1 -5
- package/dist/lib/utils/odpUtils.js.map +1 -1
- package/dist/lib/utils/postUtils.d.ts.map +1 -1
- package/dist/lib/utils/postUtils.js +7 -7
- package/dist/lib/utils/postUtils.js.map +1 -1
- package/dist/models/auth/User.d.ts +5 -0
- package/dist/models/auth/User.d.ts.map +1 -1
- package/dist/models/auth/User.js +24 -22
- package/dist/models/auth/User.js.map +1 -1
- package/dist/models/community/ArmoyuEvent.d.ts +12 -2
- package/dist/models/community/ArmoyuEvent.d.ts.map +1 -1
- package/dist/models/community/ArmoyuEvent.js +51 -7
- package/dist/models/community/ArmoyuEvent.js.map +1 -1
- package/dist/models/community/Classroom.d.ts +5 -0
- package/dist/models/community/Classroom.d.ts.map +1 -1
- package/dist/models/community/Faculty.d.ts +5 -0
- package/dist/models/community/Faculty.d.ts.map +1 -1
- package/dist/models/community/Team.js +3 -7
- package/dist/models/community/Team.js.map +1 -1
- package/dist/models/content/News.d.ts +5 -0
- package/dist/models/content/News.d.ts.map +1 -1
- package/dist/models/core/PlatformStats.js +2 -6
- package/dist/models/core/PlatformStats.js.map +1 -1
- package/dist/models/core/SystemSettings.js +2 -6
- package/dist/models/core/SystemSettings.js.map +1 -1
- package/dist/models/social/feed/Post.d.ts +3 -0
- package/dist/models/social/feed/Post.d.ts.map +1 -1
- package/dist/models/social/feed/Post.js +17 -15
- package/dist/models/social/feed/Post.js.map +1 -1
- package/dist/types/index.js +3 -19
- package/dist/types/index.js.map +1 -1
- package/dist/types/stats.js +1 -2
- package/package.json +48 -48
- package/src/globals.css +298 -238
- package/dist/app/api/proxy/[...path]/route.d.ts +0 -23
- package/dist/app/api/proxy/[...path]/route.d.ts.map +0 -1
- package/dist/app/api/proxy/[...path]/route.js +0 -134
- package/dist/app/api/proxy/[...path]/route.js.map +0 -1
- package/dist/app/not-found.js +0 -10
- package/dist/app/not-found.js.map +0 -1
- package/dist/components/modules/chat/widgets/ChatNotes.js +0 -18
- package/dist/components/modules/chat/widgets/ChatNotes.js.map +0 -1
- package/dist/components/modules/events/index.js +0 -17
- package/dist/components/modules/events/index.js.map +0 -1
- package/dist/components/modules/giveaway/pages/GiveawayDetailPage.d.ts +0 -6
- package/dist/components/modules/giveaway/pages/GiveawayDetailPage.d.ts.map +0 -1
- package/dist/components/modules/giveaway/pages/GiveawayDetailPage.js +0 -44
- package/dist/components/modules/giveaway/pages/GiveawayDetailPage.js.map +0 -1
- package/dist/components/modules/giveaway/pages/GiveawaysPage.d.ts +0 -2
- package/dist/components/modules/giveaway/pages/GiveawaysPage.d.ts.map +0 -1
- package/dist/components/modules/giveaway/pages/GiveawaysPage.js +0 -63
- package/dist/components/modules/giveaway/pages/GiveawaysPage.js.map +0 -1
- package/dist/components/modules/management/ManagementLayout.js +0 -17
- package/dist/components/modules/management/ManagementLayout.js.map +0 -1
- package/dist/components/modules/management/ManagementMobileToggle.d.ts +0 -6
- package/dist/components/modules/management/ManagementMobileToggle.d.ts.map +0 -1
- package/dist/components/modules/management/ManagementMobileToggle.js +0 -10
- package/dist/components/modules/management/ManagementMobileToggle.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementActivityFeed.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementActivityFeed.js +0 -14
- package/dist/components/modules/management/widgets/ManagementActivityFeed.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementHeader.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementHeader.js +0 -9
- package/dist/components/modules/management/widgets/ManagementHeader.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementQuickActions.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementQuickActions.js +0 -14
- package/dist/components/modules/management/widgets/ManagementQuickActions.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementStatsGrid.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementStatsGrid.js +0 -10
- package/dist/components/modules/management/widgets/ManagementStatsGrid.js.map +0 -1
- package/dist/components/modules/news/NewsLayout.d.ts +0 -7
- package/dist/components/modules/news/NewsLayout.d.ts.map +0 -1
- package/dist/components/modules/news/NewsLayout.js +0 -10
- package/dist/components/modules/news/NewsLayout.js.map +0 -1
- package/dist/components/modules/news/index.js +0 -22
- package/dist/components/modules/news/index.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailInteraction.d.ts +0 -7
- package/dist/components/modules/news/widgets/NewsDetailInteraction.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailInteraction.js +0 -11
- package/dist/components/modules/news/widgets/NewsDetailInteraction.js.map +0 -1
- package/dist/components/modules/posts/widgets/Stories.d.ts +0 -2
- package/dist/components/modules/posts/widgets/Stories.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/Stories.js +0 -24
- package/dist/components/modules/posts/widgets/Stories.js.map +0 -1
- package/dist/components/modules/posts/widgets/StoryViewer.d.ts +0 -10
- package/dist/components/modules/posts/widgets/StoryViewer.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/StoryViewer.js +0 -54
- package/dist/components/modules/posts/widgets/StoryViewer.js.map +0 -1
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js +0 -27
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js.map +0 -1
- package/dist/components/modules/profile/tabs/TaggedPostsTab.js +0 -12
- package/dist/components/modules/profile/tabs/TaggedPostsTab.js.map +0 -1
- package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts +0 -9
- package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/CloudStorageModal.js +0 -35
- package/dist/components/modules/profile/widgets/CloudStorageModal.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts +0 -6
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js +0 -9
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileSidebar.js +0 -14
- package/dist/components/modules/profile/widgets/ProfileSidebar.js.map +0 -1
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.js +0 -19
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.js.map +0 -1
- package/dist/components/modules/shop/StoreLayout.d.ts +0 -8
- package/dist/components/modules/shop/StoreLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/StoreLayout.js +0 -9
- package/dist/components/modules/shop/StoreLayout.js.map +0 -1
- package/dist/components/modules/social/widgets/SocialSidebar.js +0 -12
- package/dist/components/modules/social/widgets/SocialSidebar.js.map +0 -1
- package/dist/components/shared/ArmoyuPlayer.d.ts +0 -18
- package/dist/components/shared/ArmoyuPlayer.d.ts.map +0 -1
- package/dist/components/shared/ArmoyuPlayer.js +0 -111
- package/dist/components/shared/ArmoyuPlayer.js.map +0 -1
- package/dist/components/shared/Icons.d.ts +0 -8
- package/dist/components/shared/Icons.d.ts.map +0 -1
- package/dist/components/shared/Icons.js +0 -11
- package/dist/components/shared/Icons.js.map +0 -1
- package/dist/components/shared/RegisterModal.js +0 -12
- package/dist/components/shared/RegisterModal.js.map +0 -1
- package/dist/components/showcase/ProfileTab.js +0 -76
- package/dist/components/showcase/ProfileTab.js.map +0 -1
- package/dist/hooks/useDebounce.d.ts +0 -2
- package/dist/hooks/useDebounce.d.ts.map +0 -1
- package/dist/hooks/useDebounce.js +0 -17
- package/dist/hooks/useDebounce.js.map +0 -1
- package/dist/lib/ArmoyuUI.js +0 -29
- package/dist/lib/ArmoyuUI.js.map +0 -1
- package/dist/lib/constants/config.d.ts +0 -9
- package/dist/lib/constants/config.d.ts.map +0 -1
- package/dist/lib/constants/config.js +0 -18
- package/dist/lib/constants/config.js.map +0 -1
- package/dist/models/BaseModel.d.ts +0 -13
- package/dist/models/BaseModel.d.ts.map +0 -1
- package/dist/models/BaseModel.js +0 -17
- package/dist/models/BaseModel.js.map +0 -1
- package/dist/models/auth/RankedUser.d.ts +0 -20
- package/dist/models/auth/RankedUser.d.ts.map +0 -1
- package/dist/models/auth/RankedUser.js +0 -40
- package/dist/models/auth/RankedUser.js.map +0 -1
- package/dist/models/auth/Role.d.ts +0 -16
- package/dist/models/auth/Role.d.ts.map +0 -1
- package/dist/models/auth/Role.js +0 -37
- package/dist/models/auth/Role.js.map +0 -1
- package/dist/models/auth/Session.js +0 -54
- package/dist/models/auth/Session.js.map +0 -1
- package/dist/models/auth/StaffApplication.d.ts +0 -20
- package/dist/models/auth/StaffApplication.d.ts.map +0 -1
- package/dist/models/auth/StaffApplication.js +0 -40
- package/dist/models/auth/StaffApplication.js.map +0 -1
- package/dist/models/auth/TeamMember.d.ts +0 -19
- package/dist/models/auth/TeamMember.d.ts.map +0 -1
- package/dist/models/auth/TeamMember.js +0 -38
- package/dist/models/auth/TeamMember.js.map +0 -1
- package/dist/models/auth/UserBadge.d.ts +0 -18
- package/dist/models/auth/UserBadge.d.ts.map +0 -1
- package/dist/models/auth/UserBadge.js +0 -38
- package/dist/models/auth/UserBadge.js.map +0 -1
- package/dist/models/community/Classroom.js +0 -37
- package/dist/models/community/Classroom.js.map +0 -1
- package/dist/models/community/Faculty.js +0 -33
- package/dist/models/community/Faculty.js.map +0 -1
- package/dist/models/community/Forum.d.ts +0 -26
- package/dist/models/community/Forum.d.ts.map +0 -1
- package/dist/models/community/Forum.js +0 -40
- package/dist/models/community/Forum.js.map +0 -1
- package/dist/models/community/Giveaway.d.ts +0 -22
- package/dist/models/community/Giveaway.d.ts.map +0 -1
- package/dist/models/community/Giveaway.js +0 -42
- package/dist/models/community/Giveaway.js.map +0 -1
- package/dist/models/community/Group.js +0 -119
- package/dist/models/community/Group.js.map +0 -1
- package/dist/models/community/School.js +0 -72
- package/dist/models/community/School.js.map +0 -1
- package/dist/models/community/SchoolTeam.js +0 -45
- package/dist/models/community/SchoolTeam.js.map +0 -1
- package/dist/models/community/Station.js +0 -172
- package/dist/models/community/Station.js.map +0 -1
- package/dist/models/community/Survey.js +0 -60
- package/dist/models/community/Survey.js.map +0 -1
- package/dist/models/community/SurveyAnswer.d.ts +0 -15
- package/dist/models/community/SurveyAnswer.d.ts.map +0 -1
- package/dist/models/community/SurveyAnswer.js +0 -30
- package/dist/models/community/SurveyAnswer.js.map +0 -1
- package/dist/models/community/Workplace.d.ts +0 -18
- package/dist/models/community/Workplace.d.ts.map +0 -1
- package/dist/models/community/Workplace.js +0 -36
- package/dist/models/community/Workplace.js.map +0 -1
- package/dist/models/content/Game.d.ts +0 -20
- package/dist/models/content/Game.d.ts.map +0 -1
- package/dist/models/content/Game.js +0 -44
- package/dist/models/content/Game.js.map +0 -1
- package/dist/models/content/Media.d.ts +0 -17
- package/dist/models/content/Media.d.ts.map +0 -1
- package/dist/models/content/Media.js +0 -34
- package/dist/models/content/Media.js.map +0 -1
- package/dist/models/content/Mod.js +0 -41
- package/dist/models/content/Mod.js.map +0 -1
- package/dist/models/content/News.js +0 -81
- package/dist/models/content/News.js.map +0 -1
- package/dist/models/content/PlatformStation.d.ts +0 -18
- package/dist/models/content/PlatformStation.d.ts.map +0 -1
- package/dist/models/content/PlatformStation.js +0 -36
- package/dist/models/content/PlatformStation.js.map +0 -1
- package/dist/models/content/PlatformTeam.d.ts +0 -14
- package/dist/models/content/PlatformTeam.d.ts.map +0 -1
- package/dist/models/content/PlatformTeam.js +0 -28
- package/dist/models/content/PlatformTeam.js.map +0 -1
- package/dist/models/content/Project.js +0 -47
- package/dist/models/content/Project.js.map +0 -1
- package/dist/models/content/ProjectScore.d.ts +0 -14
- package/dist/models/content/ProjectScore.d.ts.map +0 -1
- package/dist/models/content/ProjectScore.js +0 -28
- package/dist/models/content/ProjectScore.js.map +0 -1
- package/dist/models/content/StationEquipment.d.ts +0 -16
- package/dist/models/content/StationEquipment.d.ts.map +0 -1
- package/dist/models/content/StationEquipment.js +0 -32
- package/dist/models/content/StationEquipment.js.map +0 -1
- package/dist/models/core/Country.d.ts +0 -15
- package/dist/models/core/Country.d.ts.map +0 -1
- package/dist/models/core/Country.js +0 -30
- package/dist/models/core/Country.js.map +0 -1
- package/dist/models/core/Province.d.ts +0 -15
- package/dist/models/core/Province.d.ts.map +0 -1
- package/dist/models/core/Province.js +0 -30
- package/dist/models/core/Province.js.map +0 -1
- package/dist/models/core/Rule.d.ts +0 -16
- package/dist/models/core/Rule.d.ts.map +0 -1
- package/dist/models/core/Rule.js +0 -32
- package/dist/models/core/Rule.js.map +0 -1
- package/dist/models/index.js +0 -88
- package/dist/models/index.js.map +0 -1
- package/dist/models/shop/CartItem.d.ts +0 -20
- package/dist/models/shop/CartItem.d.ts.map +0 -1
- package/dist/models/shop/CartItem.js +0 -40
- package/dist/models/shop/CartItem.js.map +0 -1
- package/dist/models/shop/Invoice.d.ts +0 -18
- package/dist/models/shop/Invoice.d.ts.map +0 -1
- package/dist/models/shop/Invoice.js +0 -36
- package/dist/models/shop/Invoice.js.map +0 -1
- package/dist/models/shop/Order.d.ts +0 -23
- package/dist/models/shop/Order.d.ts.map +0 -1
- package/dist/models/shop/Order.js +0 -52
- package/dist/models/shop/Order.js.map +0 -1
- package/dist/models/shop/Product.d.ts +0 -26
- package/dist/models/shop/Product.d.ts.map +0 -1
- package/dist/models/shop/Product.js +0 -71
- package/dist/models/shop/Product.js.map +0 -1
- package/dist/models/social/chat/Chat.js +0 -84
- package/dist/models/social/chat/Chat.js.map +0 -1
- package/dist/models/social/chat/Message.js +0 -62
- package/dist/models/social/chat/Message.js.map +0 -1
- package/dist/models/social/chat/Note.d.ts +0 -16
- package/dist/models/social/chat/Note.d.ts.map +0 -1
- package/dist/models/social/chat/Note.js +0 -32
- package/dist/models/social/chat/Note.js.map +0 -1
- package/dist/models/social/feed/Comment.js +0 -50
- package/dist/models/social/feed/Comment.js.map +0 -1
- package/dist/models/social/feed/Story.d.ts +0 -31
- package/dist/models/social/feed/Story.d.ts.map +0 -1
- package/dist/models/social/feed/Story.js +0 -67
- package/dist/models/social/feed/Story.js.map +0 -1
- package/dist/models/social/feed/StoryAuthor.d.ts +0 -13
- package/dist/models/social/feed/StoryAuthor.d.ts.map +0 -1
- package/dist/models/social/feed/StoryAuthor.js +0 -29
- package/dist/models/social/feed/StoryAuthor.js.map +0 -1
- package/dist/models/social/gaming/Game.d.ts +0 -26
- package/dist/models/social/gaming/Game.d.ts.map +0 -1
- package/dist/models/social/gaming/Game.js +0 -49
- package/dist/models/social/gaming/Game.js.map +0 -1
- package/dist/models/social/meta/AuthEnums.d.ts +0 -18
- package/dist/models/social/meta/AuthEnums.d.ts.map +0 -1
- package/dist/models/social/meta/AuthEnums.js +0 -23
- package/dist/models/social/meta/AuthEnums.js.map +0 -1
- package/dist/models/social/meta/MediaEnums.d.ts +0 -20
- package/dist/models/social/meta/MediaEnums.d.ts.map +0 -1
- package/dist/models/social/meta/MediaEnums.js +0 -25
- package/dist/models/social/meta/MediaEnums.js.map +0 -1
- package/dist/models/social/notification/Notification.d.ts +0 -23
- package/dist/models/social/notification/Notification.d.ts.map +0 -1
- package/dist/models/social/notification/Notification.js +0 -68
- package/dist/models/social/notification/Notification.js.map +0 -1
- package/dist/models/social/notification/NotificationEnums.d.ts +0 -54
- package/dist/models/social/notification/NotificationEnums.d.ts.map +0 -1
- package/dist/models/social/notification/NotificationEnums.js +0 -62
- package/dist/models/social/notification/NotificationEnums.js.map +0 -1
- package/dist/models/social/notification/NotificationSender.d.ts +0 -16
- package/dist/models/social/notification/NotificationSender.d.ts.map +0 -1
- package/dist/models/social/notification/NotificationSender.js +0 -32
- package/dist/models/social/notification/NotificationSender.js.map +0 -1
- package/dist/models/social/poll/Poll.d.ts +0 -19
- package/dist/models/social/poll/Poll.d.ts.map +0 -1
- package/dist/models/social/poll/Poll.js +0 -37
- package/dist/models/social/poll/Poll.js.map +0 -1
- package/dist/models/social/poll/PollOption.d.ts +0 -15
- package/dist/models/social/poll/PollOption.d.ts.map +0 -1
- package/dist/models/social/poll/PollOption.js +0 -30
- package/dist/models/social/poll/PollOption.js.map +0 -1
- package/dist/models/social/search/SearchEnums.d.ts +0 -22
- package/dist/models/social/search/SearchEnums.d.ts.map +0 -1
- package/dist/models/social/search/SearchEnums.js +0 -27
- package/dist/models/social/search/SearchEnums.js.map +0 -1
- package/dist/models/social/search/SearchResult.d.ts +0 -21
- package/dist/models/social/search/SearchResult.d.ts.map +0 -1
- package/dist/models/social/search/SearchResult.js +0 -76
- package/dist/models/social/search/SearchResult.js.map +0 -1
- package/dist/models/social/stats/Leaderboard.js +0 -55
- package/dist/models/social/stats/Leaderboard.js.map +0 -1
- package/dist/models/social/support/SupportTicket.d.ts +0 -18
- package/dist/models/social/support/SupportTicket.d.ts.map +0 -1
- package/dist/models/social/support/SupportTicket.js +0 -36
- package/dist/models/social/support/SupportTicket.js.map +0 -1
- package/dist/models/social/user/BlockedUser.js +0 -29
- package/dist/models/social/user/BlockedUser.js.map +0 -1
- package/dist/models/store/StoreItem.d.ts +0 -18
- package/dist/models/store/StoreItem.d.ts.map +0 -1
- package/dist/models/store/StoreItem.js +0 -36
- package/dist/models/store/StoreItem.js.map +0 -1
- package/dist/scratch/test_api.d.ts +0 -2
- package/dist/scratch/test_api.d.ts.map +0 -1
- package/dist/scratch/test_api.js +0 -13
- package/dist/scratch/test_api.js.map +0 -1
- package/dist/scratch/test_api_pure.d.ts +0 -2
- package/dist/scratch/test_api_pure.d.ts.map +0 -1
- package/dist/scratch/test_api_pure.js +0 -53
- package/dist/scratch/test_api_pure.js.map +0 -1
- package/dist/scratch/test_api_stats.d.ts +0 -2
- package/dist/scratch/test_api_stats.d.ts.map +0 -1
- package/dist/scratch/test_api_stats.js +0 -31
- package/dist/scratch/test_api_stats.js.map +0 -1
- package/dist/types/navigation.d.ts +0 -6
- package/dist/types/navigation.d.ts.map +0 -1
- package/dist/types/navigation.js +0 -3
- package/dist/types/navigation.js.map +0 -1
- package/dist/types/socket.d.ts +0 -6
- package/dist/types/socket.d.ts.map +0 -1
- package/dist/types/socket.js +0 -3
- package/dist/types/socket.js.map +0 -1
- package/dist/utils/text/MentionUtils.js +0 -30
- package/dist/utils/text/MentionUtils.js.map +0 -1
- /package/dist/components/modules/management/widgets/{ManagementActivityFeed.d.ts → dashboard/ManagementActivityFeed.d.ts} +0 -0
- /package/dist/components/modules/management/widgets/{ManagementHeader.d.ts → dashboard/ManagementHeader.d.ts} +0 -0
- /package/dist/components/modules/management/widgets/{ManagementQuickActions.d.ts → dashboard/ManagementQuickActions.d.ts} +0 -0
- /package/dist/components/modules/management/widgets/{ManagementStatsGrid.d.ts → dashboard/ManagementStatsGrid.d.ts} +0 -0
|
@@ -1,36 +1,31 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
"use client";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const UserDrawer_1 = require("../shared/UserDrawer");
|
|
17
|
-
function ShowcaseNavigation() {
|
|
18
|
-
const { user, logout } = (0, AuthContext_1.useAuth)();
|
|
19
|
-
const router = (0, navigation_1.useRouter)();
|
|
20
|
-
const searchParams = (0, navigation_1.useSearchParams)();
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useRouter, useSearchParams } from 'next/navigation';
|
|
4
|
+
import { useState, useEffect, useRef } from 'react';
|
|
5
|
+
import Link from 'next/link';
|
|
6
|
+
import { Users, MessageSquare, Newspaper, ShoppingBag, ChevronDown, GraduationCap, Zap, LayoutGrid, UserCircle, Image as ImageIcon, Info, Scale, Trophy, MessageCircle, FileText, Gift, Calendar, Camera, Menu, X } from 'lucide-react';
|
|
7
|
+
import { useAuth } from '../../context/AuthContext';
|
|
8
|
+
import { useArmoyu } from '../../context/ArmoyuContext';
|
|
9
|
+
import { useTheme } from '../../context/ThemeContext';
|
|
10
|
+
import { UserDrawer } from '../shared/UserDrawer';
|
|
11
|
+
export function ShowcaseNavigation() {
|
|
12
|
+
const { user, logout, isLoading } = useAuth();
|
|
13
|
+
const router = useRouter();
|
|
14
|
+
const searchParams = useSearchParams();
|
|
21
15
|
const initialTab = searchParams.get('tab') || 'sosyal';
|
|
22
|
-
const [activeTab, setActiveTab] =
|
|
23
|
-
const [activeMenu, setActiveMenu] =
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const {
|
|
27
|
-
const
|
|
28
|
-
const [
|
|
29
|
-
|
|
16
|
+
const [activeTab, setActiveTab] = useState(initialTab);
|
|
17
|
+
const [activeMenu, setActiveMenu] = useState(null);
|
|
18
|
+
const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false);
|
|
19
|
+
const menuTimeoutRef = useRef(null);
|
|
20
|
+
const { api, navigation } = useArmoyu();
|
|
21
|
+
const { theme, toggleTheme } = useTheme();
|
|
22
|
+
const [isUserMenuOpen, setIsUserMenuOpen] = useState(false);
|
|
23
|
+
const [userGroups, setUserGroups] = useState([]);
|
|
24
|
+
useEffect(() => {
|
|
30
25
|
const currentTab = searchParams.get('tab') || 'sosyal';
|
|
31
26
|
setActiveTab(currentTab);
|
|
32
27
|
}, [searchParams]);
|
|
33
|
-
|
|
28
|
+
useEffect(() => {
|
|
34
29
|
if (user) {
|
|
35
30
|
const fetchGroups = async () => {
|
|
36
31
|
try {
|
|
@@ -56,42 +51,47 @@ function ShowcaseNavigation() {
|
|
|
56
51
|
{
|
|
57
52
|
id: 'social',
|
|
58
53
|
label: 'SOSYAL',
|
|
59
|
-
icon: (
|
|
54
|
+
icon: _jsx(MessageSquare, { size: 16 }),
|
|
60
55
|
items: [
|
|
61
|
-
{ id: 'sosyal', label: 'AKIŞ', icon: (
|
|
62
|
-
{ id: 'hikayeler', label: 'HİKAYELER', icon: (
|
|
63
|
-
{ id: 'profil', label: 'PROFİL', icon: (
|
|
64
|
-
{ id: 'sohbet', label: 'SOHBET', icon: (
|
|
65
|
-
{ id: 'reels', label: 'REELS', icon: (
|
|
56
|
+
{ id: 'sosyal', label: 'AKIŞ', icon: _jsx(Newspaper, { size: 16 }), desc: 'Sosyal medya akışı ve paylaşımlar' },
|
|
57
|
+
{ id: 'hikayeler', label: 'HİKAYELER', icon: _jsx(ImageIcon, { size: 16 }), desc: 'Kullanıcı hikayeleri ve etkileşim' },
|
|
58
|
+
{ id: 'profil', label: 'PROFİL', icon: _jsx(UserCircle, { size: 16 }), desc: 'Kullanıcı profili ve istatistikler' },
|
|
59
|
+
{ id: 'sohbet', label: 'SOHBET', icon: _jsx(MessageCircle, { size: 16 }), desc: 'Anlık mesajlaşma ve arkadaşlar' },
|
|
60
|
+
{ id: 'reels', label: 'REELS', icon: _jsx(Camera, { size: 16 }), desc: 'Kısa videolar ve hikayeler' },
|
|
66
61
|
]
|
|
67
62
|
},
|
|
68
63
|
{
|
|
69
64
|
id: 'community',
|
|
70
65
|
label: 'TOPLULUK',
|
|
71
|
-
icon: (
|
|
66
|
+
icon: _jsx(Users, { size: 16 }),
|
|
72
67
|
items: [
|
|
73
|
-
{ id: 'haberler', label: 'HABERLER', icon: (
|
|
74
|
-
{ id: 'gruplar', label: 'GRUPLAR', icon: (
|
|
75
|
-
{ id: 'forum', label: 'FORUM', icon: (
|
|
76
|
-
{ id: 'egitim', label: 'EĞİTİM', icon: (
|
|
77
|
-
{ id: 'anketler', label: 'ANKETLER', icon: (
|
|
78
|
-
{ id: 'cekilisler', label: 'ÇEKİLİŞLER', icon: (
|
|
79
|
-
{ id: 'etkinlikler', label: 'ETKİNLİKLER', icon: (
|
|
68
|
+
{ id: 'haberler', label: 'HABERLER', icon: _jsx(Newspaper, { size: 16 }), desc: 'Platform duyuruları ve güncel haberler' },
|
|
69
|
+
{ id: 'gruplar', label: 'GRUPLAR', icon: _jsx(Users, { size: 16 }), desc: 'Klanlar ve sosyal topluluklar' },
|
|
70
|
+
{ id: 'forum', label: 'FORUM', icon: _jsx(FileText, { size: 16 }), desc: 'Tartışma konuları ve rehberler' },
|
|
71
|
+
{ id: 'egitim', label: 'EĞİTİM', icon: _jsx(GraduationCap, { size: 16 }), desc: 'Okullar ve akademik hayat' },
|
|
72
|
+
{ id: 'anketler', label: 'ANKETLER', icon: _jsx(Zap, { size: 16 }), desc: 'Topluluk kararları ve oylamalar' },
|
|
73
|
+
{ id: 'cekilisler', label: 'ÇEKİLİŞLER', icon: _jsx(Gift, { size: 16 }), desc: 'Ödüllü etkinlikler ve şans' },
|
|
74
|
+
{ id: 'etkinlikler', label: 'ETKİNLİKLER', icon: _jsx(Calendar, { size: 16 }), desc: 'Turnuvalar ve topluluk buluşmaları' },
|
|
80
75
|
]
|
|
81
76
|
},
|
|
82
77
|
{
|
|
83
78
|
id: 'services',
|
|
84
79
|
label: 'HİZMETLER',
|
|
85
|
-
icon: (
|
|
80
|
+
icon: _jsx(LayoutGrid, { size: 16 }),
|
|
86
81
|
items: [
|
|
87
|
-
{ id: 'magaza', label: 'MAĞAZA', icon: (
|
|
88
|
-
{ id: 'kurumsal', label: '
|
|
89
|
-
{ id: '
|
|
90
|
-
{ id: '
|
|
82
|
+
{ id: 'magaza', label: 'MAĞAZA', icon: _jsx(ShoppingBag, { size: 16 }), desc: 'Dijital ürünler ve market' },
|
|
83
|
+
{ id: 'kurumsal', label: 'KURUMSAL', icon: _jsx(Info, { size: 16 }), desc: 'Kurumsal sayfalar ve navigasyon' },
|
|
84
|
+
{ id: 'kurallar', label: 'KURALLAR', icon: _jsx(Scale, { size: 16 }), desc: 'Platform kuralları ve ilkeler' },
|
|
85
|
+
{ id: 'genel', label: 'BİLEŞENLER', icon: _jsx(LayoutGrid, { size: 16 }), desc: 'Temel bileşenler ve atomlar' },
|
|
86
|
+
{ id: 'modlar', label: 'MODLAR', icon: _jsx(Trophy, { size: 16 }), desc: 'Sunucu modları ve eklentiler' },
|
|
91
87
|
]
|
|
92
88
|
}
|
|
93
89
|
];
|
|
94
90
|
const handleTabChange = (id) => {
|
|
91
|
+
if (id === 'management-panel') {
|
|
92
|
+
router.push('/management-panel');
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
95
|
setActiveTab(id);
|
|
96
96
|
setActiveMenu(null);
|
|
97
97
|
router.push(`/?tab=${id}`);
|
|
@@ -106,13 +106,18 @@ function ShowcaseNavigation() {
|
|
|
106
106
|
setActiveMenu(null);
|
|
107
107
|
}, 150);
|
|
108
108
|
};
|
|
109
|
-
return ((
|
|
110
|
-
? 'text-
|
|
111
|
-
: 'text-
|
|
112
|
-
? 'bg-
|
|
113
|
-
: 'hover:bg-white/5 text-
|
|
114
|
-
|
|
115
|
-
|
|
109
|
+
return (_jsxs("nav", { className: "sticky top-0 z-[200] w-full border-b border-armoyu-header-border bg-armoyu-header-bg transition-colors duration-300 shadow-sm shadow-primary/5", children: [_jsxs("div", { className: "w-full px-4 md:px-8 h-16 flex items-center justify-between gap-8", children: [_jsxs(Link, { href: "/", className: "flex items-center gap-4 shrink-0 group", children: [_jsx("div", { className: "w-10 h-10 rounded-2xl bg-armoyu-primary flex items-center justify-center shadow-lg shadow-primary/20 group-hover:scale-105 transition-all duration-500", children: _jsx("span", { className: "text-white font-black text-xs italic", children: "UI" }) }), _jsxs("div", { className: "hidden sm:block", children: [_jsxs("h2", { className: "text-sm font-black text-armoyu-text uppercase tracking-tighter italic leading-none", children: ["ARMOYU ", _jsx("span", { className: "text-armoyu-primary", children: "VITRINI" })] }), _jsx("p", { className: "text-[9px] font-bold text-armoyu-text-muted uppercase tracking-[0.2em] opacity-50 mt-1", children: "Design System V3" })] })] }), _jsx("div", { className: "hidden lg:flex flex-1 items-center gap-2", children: categories.map((cat) => (_jsxs("div", { className: "relative", onMouseEnter: () => handleMenuEnter(cat.id), onMouseLeave: handleMenuLeave, children: [_jsxs("button", { className: `flex items-center gap-2 px-5 py-2.5 rounded-xl text-[10px] font-black uppercase tracking-[0.1em] transition-all ${cat.items.some(i => i.id === activeTab)
|
|
110
|
+
? 'text-armoyu-primary bg-armoyu-primary/10'
|
|
111
|
+
: 'text-armoyu-text-muted hover:text-armoyu-text hover:bg-black/5 dark:hover:bg-white/5'}`, children: [cat.label, _jsx(ChevronDown, { size: 12, className: `transition-transform duration-300 ${activeMenu === cat.id ? 'rotate-180' : ''}` })] }), activeMenu === cat.id && (_jsx("div", { className: "absolute top-full left-0 mt-2 w-64 rounded-3xl border border-armoyu-header-border bg-white dark:bg-[#12121a] shadow-2xl overflow-hidden p-3 animate-in fade-in zoom-in duration-200", children: _jsx("div", { className: "grid gap-1", children: cat.items.map((item) => (_jsxs("button", { onClick: () => handleTabChange(item.id), className: `flex items-start gap-4 p-3 rounded-2xl text-left transition-all group ${activeTab === item.id
|
|
112
|
+
? 'bg-armoyu-primary text-white'
|
|
113
|
+
: 'hover:bg-black/5 dark:hover:bg-white/5 text-armoyu-text-muted hover:text-armoyu-text'}`, children: [_jsx("div", { className: `mt-1 p-2 rounded-lg ${activeTab === item.id ? 'bg-white/20' : 'bg-black/5 dark:bg-white/5 group-hover:bg-armoyu-primary/20 group-hover:text-armoyu-primary'} transition-colors`, children: item.icon }), _jsxs("div", { className: "flex flex-col", children: [_jsx("span", { className: "text-[10px] font-black uppercase tracking-widest", children: item.label }), _jsx("span", { className: `text-[8px] font-bold opacity-60 leading-tight mt-1 ${activeTab === item.id ? 'text-white' : 'text-armoyu-text-muted group-hover:text-armoyu-text'}`, children: item.desc })] })] }, item.id))) }) }))] }, cat.id))) }), _jsxs("div", { className: "flex items-center gap-2 md:gap-4", children: [_jsx("button", { onClick: () => setIsMobileMenuOpen(true), className: "lg:hidden p-2.5 rounded-xl text-armoyu-text-muted hover:text-armoyu-text hover:bg-black/5 dark:hover:bg-white/5 transition-all", children: _jsx(Menu, { size: 24 }) }), isLoading ? (_jsx("div", { className: "w-10 h-10 sm:w-32 rounded-2xl bg-black/5 dark:bg-white/5 animate-pulse border border-armoyu-header-border" })) : user ? (_jsxs("div", { className: "flex items-center gap-3 sm:pl-4 sm:border-l border-armoyu-header-border group relative", children: [_jsxs("div", { className: "flex flex-col items-end hidden sm:flex", children: [_jsx("span", { className: "text-[10px] font-black text-armoyu-text uppercase tracking-tighter italic", children: user.displayName || user.username }), _jsx("span", { className: "text-[8px] font-bold text-armoyu-primary uppercase tracking-widest opacity-80", children: "Online" })] }), _jsx("button", { onClick: () => setIsUserMenuOpen(true), className: "w-10 h-10 rounded-2xl bg-black/5 dark:bg-white/5 border border-armoyu-header-border overflow-hidden hover:border-armoyu-primary/50 transition-all active:scale-95", children: _jsx("img", { src: user.avatar || `https://api.dicebear.com/7.x/avataaars/svg?seed=${user.username}`, alt: "Profile", className: "w-full h-full object-cover" }) })] })) : (_jsxs("button", { onClick: () => handleTabChange('auth'), className: `flex items-center gap-3 px-4 sm:px-6 py-2.5 sm:py-3 rounded-2xl text-[10px] font-black uppercase tracking-[0.1em] transition-all ${activeTab === 'auth'
|
|
114
|
+
? 'bg-armoyu-text text-armoyu-bg shadow-xl shadow-black/10'
|
|
115
|
+
: 'bg-armoyu-primary text-white hover:opacity-90 shadow-xl shadow-primary/20'}`, children: [_jsx(UserCircle, { size: 16, strokeWidth: 2.5 }), _jsx("span", { className: "hidden xs:block", children: "Giri\u015F Yap" })] }))] })] }), isMobileMenuOpen && (_jsxs("div", { className: "fixed inset-0 z-[250] lg:hidden animate-in fade-in duration-300", children: [_jsx("div", { className: "absolute inset-0 bg-black/60 backdrop-blur-md", onClick: () => setIsMobileMenuOpen(false) }), _jsxs("div", { className: "absolute inset-y-0 left-0 w-[300px] bg-armoyu-header-bg border-r border-armoyu-header-border shadow-2xl flex flex-col animate-in slide-in-from-left duration-500", children: [_jsxs("div", { className: "p-6 border-b border-armoyu-header-border flex items-center justify-between", children: [_jsxs("div", { className: "flex items-center gap-3", children: [_jsx("div", { className: "w-8 h-8 rounded-xl bg-armoyu-primary flex items-center justify-center", children: _jsx("span", { className: "text-white font-black text-[10px] italic", children: "UI" }) }), _jsx("span", { className: "text-sm font-black text-armoyu-text italic uppercase", children: "MEN\u00DC" })] }), _jsx("button", { onClick: () => setIsMobileMenuOpen(false), className: "p-2 rounded-xl hover:bg-black/5 dark:hover:bg-white/5 text-armoyu-text-muted", children: _jsx(X, { size: 20 }) })] }), _jsx("div", { className: "flex-1 overflow-y-auto p-4 space-y-6", children: categories.map((cat) => (_jsxs("div", { className: "space-y-3", children: [_jsxs("h4", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-[0.2em] px-3 flex items-center gap-2 opacity-50", children: [cat.icon, " ", cat.label] }), _jsx("div", { className: "grid gap-1", children: cat.items.map((item) => (_jsxs("button", { onClick: () => {
|
|
116
|
+
handleTabChange(item.id);
|
|
117
|
+
setIsMobileMenuOpen(false);
|
|
118
|
+
}, className: `flex items-center gap-4 p-3.5 rounded-xl text-left transition-all ${activeTab === item.id
|
|
119
|
+
? 'bg-armoyu-primary text-white shadow-lg shadow-armoyu-primary/20'
|
|
120
|
+
: 'text-armoyu-text-muted hover:text-armoyu-text hover:bg-black/5 dark:hover:bg-white/5'}`, children: [_jsx("div", { className: `p-2 rounded-lg ${activeTab === item.id ? 'bg-white/20' : 'bg-black/5 dark:bg-white/5'}`, children: item.icon }), _jsx("span", { className: "text-[11px] font-black uppercase tracking-widest", children: item.label })] }, item.id))) })] }, cat.id))) }), _jsx("div", { className: "p-6 border-t border-armoyu-header-border", children: _jsxs("button", { onClick: toggleTheme, className: "w-full flex items-center justify-between p-4 rounded-2xl bg-black/5 dark:bg-white/5 text-armoyu-text-muted font-bold text-xs", children: [_jsx("span", { children: "G\u00F6r\u00FCn\u00FCm" }), theme === 'dark' ? _jsx(Zap, { size: 16, className: "text-yellow-500" }) : _jsx(Zap, { size: 16 })] }) })] })] })), _jsx(UserDrawer, { isOpen: isUserMenuOpen, onClose: () => setIsUserMenuOpen(false), user: user, logout: logout, userGroups: userGroups, navigation: navigation, theme: theme, toggleTheme: toggleTheme, goToMyProfile: goToMyProfile, links: {
|
|
116
121
|
posts: '/?tab=yazilarim',
|
|
117
122
|
comments: '/?tab=yazilarim',
|
|
118
123
|
polls: '/?tab=anketler',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShowcaseNavigation.js","sourceRoot":"","sources":["../../../src/components/showcase/ShowcaseNavigation.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ShowcaseNavigation.js","sourceRoot":"","sources":["../../../src/components/showcase/ShowcaseNavigation.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EACL,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,WAAW,EAC5C,WAAW,EAAE,aAAa,EAAE,GAAG,EAAE,UAAU,EAC3C,UAAU,EAAE,KAAK,IAAI,SAAS,EAAE,IAAI,EAAE,KAAK,EAC3C,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAuB,IAAI,EAAE,CAAC,EACtF,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B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a,CAAC,CAAC,CAAC,4BAA4B,EAAE,YACrG,IAAI,CAAC,IAAI,GACN,EACN,eAAM,SAAS,EAAC,kDAAkD,YAAE,IAAI,CAAC,KAAK,GAAQ,KAbjF,IAAI,CAAC,EAAE,CAcL,CACV,CAAC,GACE,KAvBE,GAAG,CAAC,EAAE,CAwBV,CACP,CAAC,GACE,EAEN,cAAK,SAAS,EAAC,0CAA0C,YACtD,kBACG,OAAO,EAAE,WAAW,EACpB,SAAS,EAAC,8HAA8H,aAExI,oDAAoB,EACnB,KAAK,KAAK,MAAM,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,IAAI,EAAE,EAAE,EAAE,SAAS,EAAC,iBAAiB,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,IAAI,EAAE,EAAE,GAAI,IAC/E,GACN,IACF,IACF,CACP,EAED,KAAC,UAAU,IACT,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,EACvC,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,EACtB,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,aAAa,EAC5B,KAAK,EAAE;oBACL,KAAK,EAAE,iBAAiB;oBACxB,QAAQ,EAAE,iBAAiB;oBAC3B,KAAK,EAAE,gBAAgB;oBACvB,SAAS,EAAE,kBAAkB;oBAC7B,SAAS,EAAE,cAAc;oBACzB,OAAO,EAAE,cAAc;iBACxB,GACD,IACE,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocialTab.d.ts","sourceRoot":"","sources":["../../../src/components/showcase/SocialTab.tsx"],"names":[],"mappings":"AAmBA,wBAAgB,SAAS,
|
|
1
|
+
{"version":3,"file":"SocialTab.d.ts","sourceRoot":"","sources":["../../../src/components/showcase/SocialTab.tsx"],"names":[],"mappings":"AAmBA,wBAAgB,SAAS,4CAwGxB"}
|
|
@@ -1,53 +1,16 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
'use client';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.SocialTab = SocialTab;
|
|
38
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
39
|
-
const react_1 = __importStar(require("react"));
|
|
40
|
-
const index_1 = require("../../index");
|
|
41
|
-
const TrendingWidget_1 = require("../modules/social/widgets/TrendingWidget");
|
|
42
|
-
const ArmoyuContext_1 = require("../../context/ArmoyuContext");
|
|
43
|
-
const lucide_react_1 = require("lucide-react");
|
|
44
|
-
function SocialTab() {
|
|
45
|
-
const { apiKey, api, isMockEnabled, setMockEnabled } = (0, ArmoyuContext_1.useArmoyu)();
|
|
46
|
-
const { user } = (0, index_1.useAuth)();
|
|
47
|
-
const [isPosting, setIsPosting] = (0, react_1.useState)(false);
|
|
48
|
-
const [isCloudOpen, setIsCloudOpen] = (0, react_1.useState)(false);
|
|
49
|
-
const [attachments, setAttachments] = (0, react_1.useState)([]);
|
|
50
|
-
const feedRef = react_1.default.useRef(null);
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import React, { useState } from 'react';
|
|
4
|
+
import { SocialSidebar, NewMembersWidget, Stories, PostCard, postList, SocialFeed, PostComposer, CloudModal, useAuth } from '../../index';
|
|
5
|
+
import { TrendingWidget } from '../modules/social/widgets/TrendingWidget';
|
|
6
|
+
import { useArmoyu } from '../../context/ArmoyuContext';
|
|
7
|
+
export function SocialTab() {
|
|
8
|
+
const { apiKey, api, isMockEnabled, setMockEnabled } = useArmoyu();
|
|
9
|
+
const { user } = useAuth();
|
|
10
|
+
const [isPosting, setIsPosting] = useState(false);
|
|
11
|
+
const [isCloudOpen, setIsCloudOpen] = useState(false);
|
|
12
|
+
const [attachments, setAttachments] = useState([]);
|
|
13
|
+
const feedRef = React.useRef(null);
|
|
51
14
|
// useLive is inverse of isMockEnabled
|
|
52
15
|
const useLive = !isMockEnabled;
|
|
53
16
|
const handleToggleMode = () => {
|
|
@@ -61,11 +24,11 @@ function SocialTab() {
|
|
|
61
24
|
setTimeout(() => feedRef.current?.refresh(), 100);
|
|
62
25
|
}
|
|
63
26
|
};
|
|
64
|
-
const displayPosts = useLive ? [] :
|
|
65
|
-
return ((
|
|
27
|
+
const displayPosts = useLive ? [] : postList.slice(0, 3);
|
|
28
|
+
return (_jsxs("div", { className: "space-y-8 animate-in fade-in duration-700", children: [_jsx(CloudModal, { isOpen: isCloudOpen, onClose: () => setIsCloudOpen(false), isSelectionMode: true, onSelectMedia: (media) => {
|
|
66
29
|
setAttachments(prev => [...prev, media]);
|
|
67
30
|
setIsCloudOpen(false);
|
|
68
|
-
} }), (
|
|
31
|
+
} }), _jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-12 gap-8", children: [_jsx("aside", { className: "lg:col-span-3 hidden lg:block", children: _jsx(SocialSidebar, {}) }), _jsx("div", { className: "lg:col-span-6", children: _jsxs("div", { className: "max-w-3xl mx-auto space-y-8", children: [_jsx(Stories, {}), _jsx(PostComposer, { user: user, isPosting: isPosting, onOpenCloudGallery: () => setIsCloudOpen(true), attachments: attachments, onRemoveAttachment: (index) => setAttachments(prev => prev.filter((_, i) => i !== index)), onPost: async (content, mediaUrls) => {
|
|
69
32
|
if (useLive) {
|
|
70
33
|
setIsPosting(true);
|
|
71
34
|
try {
|
|
@@ -90,7 +53,7 @@ function SocialTab() {
|
|
|
90
53
|
console.log("Mock Post Created:", content, mediaUrls);
|
|
91
54
|
alert("Showcase (Mock): " + content + (mediaUrls?.length ? ` [${mediaUrls.length} Medya]` : ''));
|
|
92
55
|
}
|
|
93
|
-
} }), (
|
|
56
|
+
} }), _jsx("div", { className: "space-y-6", children: useLive ? (_jsx(SocialFeed, { ref: feedRef, emptyMessage: "Hen\u00FCz yay\u0131nlanm\u0131\u015F bir g\u00F6nderi yok." })) : (_jsx("div", { className: "flex flex-col gap-6", children: displayPosts.map((post) => (_jsx(PostCard, { ...post, author: post.owner || post.author }, post.id))) })) })] }) }), _jsxs("aside", { className: "lg:col-span-3 hidden lg:flex flex-col gap-6", children: [_jsx(NewMembersWidget, {}), _jsx(TrendingWidget, {})] })] })] }));
|
|
94
57
|
}
|
|
95
58
|
function cn(...classes) {
|
|
96
59
|
return classes.filter(Boolean).join(' ');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocialTab.js","sourceRoot":"","sources":["../../../src/components/showcase/SocialTab.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SocialTab.js","sourceRoot":"","sources":["../../../src/components/showcase/SocialTab.tsx"],"names":[],"mappings":"AAAA,YA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3D,KAAC,gBAAgB,KAAG,EACpB,KAAC,cAAc,KAAG,IACb,IACJ,IACF,CACP,CAAC;AACJ,CAAC;AAED,SAAS,EAAE,CAAC,GAAG,OAAc;IAC3B,OAAO,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC3C,CAAC"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
'use client';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
function StoriesTab() {
|
|
8
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "max-w-2xl mx-auto space-y-8 animate-in fade-in duration-700", children: [(0, jsx_runtime_1.jsxs)("div", { className: "bg-white/5 backdrop-blur-md p-8 rounded-[2.5rem] border border-white/5", children: [(0, jsx_runtime_1.jsx)("h2", { className: "text-2xl font-black text-white uppercase tracking-tight italic mb-2", children: "H\u0130KAYE MOD\u00DCL\u00DC" }), (0, jsx_runtime_1.jsx)("p", { className: "text-xs font-bold text-armoyu-text-muted uppercase tracking-widest opacity-60", children: "Kullan\u0131c\u0131 hikayelerini, ge\u00E7i\u015F efektlerini ve etkile\u015Fimleri test et." })] }), (0, jsx_runtime_1.jsx)("div", { className: "glass-panel p-1 rounded-[2.5rem] overflow-hidden", children: (0, jsx_runtime_1.jsx)(index_1.Stories, {}) }), (0, jsx_runtime_1.jsxs)("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [(0, jsx_runtime_1.jsxs)("div", { className: "bg-black/20 p-6 rounded-3xl border border-white/5", children: [(0, jsx_runtime_1.jsx)("h4", { className: "text-[10px] font-black text-blue-500 uppercase tracking-widest mb-3", children: "H\u0130KAYE OLU\u015ETURMA" }), (0, jsx_runtime_1.jsx)("p", { className: "text-xs text-armoyu-text-muted leading-relaxed", children: "API entegrasyonu tamamland\u0131\u011F\u0131nda buradan yeni hikaye payla\u015F\u0131m\u0131 yap\u0131labilecek." })] }), (0, jsx_runtime_1.jsxs)("div", { className: "bg-black/20 p-6 rounded-3xl border border-white/5", children: [(0, jsx_runtime_1.jsx)("h4", { className: "text-[10px] font-black text-emerald-500 uppercase tracking-widest mb-3", children: "\u0130STAT\u0130ST\u0130KLER" }), (0, jsx_runtime_1.jsx)("p", { className: "text-xs text-armoyu-text-muted leading-relaxed", children: "Hikaye izlenme ve etkile\u015Fim verileri burada g\u00F6r\u00FCnt\u00FClenecek." })] })] })] }));
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Stories } from '../../index';
|
|
4
|
+
export function StoriesTab() {
|
|
5
|
+
return (_jsxs("div", { className: "max-w-2xl mx-auto space-y-8 animate-in fade-in duration-700", children: [_jsxs("div", { className: "bg-white/5 backdrop-blur-md p-8 rounded-[2.5rem] border border-white/5", children: [_jsx("h2", { className: "text-2xl font-black text-white uppercase tracking-tight italic mb-2", children: "H\u0130KAYE MOD\u00DCL\u00DC" }), _jsx("p", { className: "text-xs font-bold text-armoyu-text-muted uppercase tracking-widest opacity-60", children: "Kullan\u0131c\u0131 hikayelerini, ge\u00E7i\u015F efektlerini ve etkile\u015Fimleri test et." })] }), _jsx("div", { className: "glass-panel p-1 rounded-[2.5rem] overflow-hidden", children: _jsx(Stories, {}) }), _jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [_jsxs("div", { className: "bg-black/20 p-6 rounded-3xl border border-white/5", children: [_jsx("h4", { className: "text-[10px] font-black text-armoyu-primary uppercase tracking-widest mb-3", children: "H\u0130KAYE OLU\u015ETURMA" }), _jsx("p", { className: "text-xs text-armoyu-text-muted leading-relaxed", children: "API entegrasyonu tamamland\u0131\u011F\u0131nda buradan yeni hikaye payla\u015F\u0131m\u0131 yap\u0131labilecek." })] }), _jsxs("div", { className: "bg-black/20 p-6 rounded-3xl border border-white/5", children: [_jsx("h4", { className: "text-[10px] font-black text-emerald-500 uppercase tracking-widest mb-3", children: "\u0130STAT\u0130ST\u0130KLER" }), _jsx("p", { className: "text-xs text-armoyu-text-muted leading-relaxed", children: "Hikaye izlenme ve etkile\u015Fim verileri burada g\u00F6r\u00FCnt\u00FClenecek." })] })] })] }));
|
|
9
6
|
}
|
|
10
7
|
//# sourceMappingURL=StoriesTab.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoriesTab.js","sourceRoot":"","sources":["../../../src/components/showcase/StoriesTab.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StoriesTab.js","sourceRoot":"","sources":["../../../src/components/showcase/StoriesTab.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,MAAM,UAAU,UAAU;IACxB,OAAO,CACL,eAAK,SAAS,EAAC,6DAA6D,aAC1E,eAAK,SAAS,EAAC,wEAAwE,aACrF,aAAI,SAAS,EAAC,qEAAqE,6CAAmB,EACtG,YAAG,SAAS,EAAC,+EAA+E,6GAExF,IACA,EAEN,cAAK,SAAS,EAAC,kDAAkD,YAC/D,KAAC,OAAO,KAAG,GACP,EAEN,eAAK,SAAS,EAAC,uCAAuC,aACpD,eAAK,SAAS,EAAC,mDAAmD,aAChE,aAAI,SAAS,EAAC,2EAA2E,2CAAsB,EAC/G,YAAG,SAAS,EAAC,gDAAgD,iIAEzD,IACA,EACN,eAAK,SAAS,EAAC,mDAAmD,aAChE,aAAI,SAAS,EAAC,wEAAwE,6CAAmB,EACzG,YAAG,SAAS,EAAC,gDAAgD,gGAEzD,IACA,IACF,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArmoyuContext.d.ts","sourceRoot":"","sources":["../../src/context/ArmoyuContext.tsx"],"names":[],"mappings":"AAEA,OAAc,EAA6B,SAAS,EAAoC,MAAM,OAAO,CAAC;AACtG,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAA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EAAE,sBAAsB,CAAC;CACrC;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,mBAAmB,kDAoF/E;AAED;;GAEG;AACH,wBAAgB,SAAS,sBAMxB"}
|
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
'use client';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
-
const react_1 = require("react");
|
|
8
|
-
const ArmoyuContext = (0, react_1.createContext)(undefined);
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { createContext, useContext, useState, useCallback, useEffect } from 'react';
|
|
4
|
+
const ArmoyuContext = createContext(undefined);
|
|
9
5
|
/**
|
|
10
6
|
* ArmoyuProvider provides the global ArmoyuUI instance to all UI components.
|
|
11
7
|
* This is required for any component that interacts with the ARMOYU backend.
|
|
12
8
|
*/
|
|
13
|
-
function ArmoyuProvider({ children, ui, navigation }) {
|
|
14
|
-
const [apiKey, setApiKey] = (
|
|
15
|
-
const [token, setToken] = (
|
|
16
|
-
const [isMockEnabled, setIsMockEnabled] =
|
|
17
|
-
const [isMounted, setIsMounted] =
|
|
9
|
+
export function ArmoyuProvider({ children, ui, navigation }) {
|
|
10
|
+
const [apiKey, setApiKey] = useState(ui.api.apiKey || 'armoyu_showcase_key');
|
|
11
|
+
const [token, setToken] = useState(ui.api.token || '');
|
|
12
|
+
const [isMockEnabled, setIsMockEnabled] = useState(false);
|
|
13
|
+
const [isMounted, setIsMounted] = useState(false);
|
|
18
14
|
// Sadece istemci tarafında localStorage'dan yükle
|
|
19
|
-
|
|
15
|
+
useEffect(() => {
|
|
20
16
|
setIsMounted(true);
|
|
21
17
|
const savedApiKey = localStorage.getItem('armoyu_showcase_apiKey');
|
|
22
18
|
const savedToken = localStorage.getItem('armoyu_token');
|
|
@@ -29,21 +25,26 @@ function ArmoyuProvider({ children, ui, navigation }) {
|
|
|
29
25
|
setToken(savedToken);
|
|
30
26
|
ui.api.setToken(savedToken);
|
|
31
27
|
}
|
|
32
|
-
if (
|
|
28
|
+
// Force mock mode to false if we have a real API key (anything other than showcase)
|
|
29
|
+
if (ui.api.apiKey !== 'armoyu_showcase_key') {
|
|
30
|
+
setIsMockEnabled(false);
|
|
31
|
+
localStorage.setItem('armoyu_use_mock', 'false');
|
|
32
|
+
}
|
|
33
|
+
else if (savedMock !== null) {
|
|
33
34
|
setIsMockEnabled(savedMock === 'true');
|
|
34
35
|
}
|
|
35
36
|
}, [ui]);
|
|
36
|
-
const setGlobalApiKey =
|
|
37
|
+
const setGlobalApiKey = useCallback((key) => {
|
|
37
38
|
setApiKey(key);
|
|
38
39
|
ui.api.setApiKey(key);
|
|
39
40
|
localStorage.setItem('armoyu_showcase_apiKey', key);
|
|
40
41
|
}, [ui]);
|
|
41
|
-
const setGlobalToken =
|
|
42
|
+
const setGlobalToken = useCallback((t) => {
|
|
42
43
|
setToken(t);
|
|
43
44
|
ui.api.setToken(t);
|
|
44
45
|
localStorage.setItem('armoyu_token', t);
|
|
45
46
|
}, [ui]);
|
|
46
|
-
const setMockEnabled =
|
|
47
|
+
const setMockEnabled = useCallback((enabled) => {
|
|
47
48
|
setIsMockEnabled(enabled);
|
|
48
49
|
localStorage.setItem('armoyu_use_mock', enabled ? 'true' : 'false');
|
|
49
50
|
}, []);
|
|
@@ -51,22 +52,22 @@ function ArmoyuProvider({ children, ui, navigation }) {
|
|
|
51
52
|
return null;
|
|
52
53
|
}
|
|
53
54
|
const defaultNavigation = {
|
|
54
|
-
profilePrefix: '/
|
|
55
|
-
groupPrefix: '/
|
|
55
|
+
profilePrefix: '/players',
|
|
56
|
+
groupPrefix: '/groups',
|
|
56
57
|
forumPrefix: '/forum',
|
|
57
|
-
educationPrefix: '/
|
|
58
|
-
newsPrefix: '/
|
|
59
|
-
galleryPrefix: '/
|
|
60
|
-
giveawayPrefix: '/
|
|
61
|
-
projectPrefix: '/
|
|
62
|
-
storePrefix: '/
|
|
63
|
-
managementPrefix: '/
|
|
64
|
-
myArticlesPrefix: '/
|
|
65
|
-
pollPrefix: '/
|
|
66
|
-
supportPrefix: '/
|
|
58
|
+
educationPrefix: '/education',
|
|
59
|
+
newsPrefix: '/news',
|
|
60
|
+
galleryPrefix: '/galleries',
|
|
61
|
+
giveawayPrefix: '/giveaways',
|
|
62
|
+
projectPrefix: '/projects',
|
|
63
|
+
storePrefix: '/store',
|
|
64
|
+
managementPrefix: '/management-panel',
|
|
65
|
+
myArticlesPrefix: '/my-articles',
|
|
66
|
+
pollPrefix: '/polls',
|
|
67
|
+
supportPrefix: '/support',
|
|
67
68
|
...navigation
|
|
68
69
|
};
|
|
69
|
-
return ((
|
|
70
|
+
return (_jsx(ArmoyuContext.Provider, { value: {
|
|
70
71
|
ui,
|
|
71
72
|
api: ui.api,
|
|
72
73
|
apiKey,
|
|
@@ -81,8 +82,8 @@ function ArmoyuProvider({ children, ui, navigation }) {
|
|
|
81
82
|
/**
|
|
82
83
|
* Custom hook to access the ArmoyuApi instance.
|
|
83
84
|
*/
|
|
84
|
-
function useArmoyu() {
|
|
85
|
-
const context =
|
|
85
|
+
export function useArmoyu() {
|
|
86
|
+
const context = useContext(ArmoyuContext);
|
|
86
87
|
if (context === undefined) {
|
|
87
88
|
throw new Error('useArmoyu must be used within an ArmoyuProvider');
|
|
88
89
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArmoyuContext.js","sourceRoot":"","sources":["../../src/context/ArmoyuContext.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ArmoyuContext.js","sourceRoot":"","sources":["../../src/context/ArmoyuContext.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,aAAa,EAAE,UAAU,EAAa,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAgCtG,MAAM,aAAa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