@armoyu/ui 1.1.1 → 1.1.4
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 +1 -6
- package/dist/app/Providers.js.map +1 -1
- package/dist/app/page.js +2 -2
- package/dist/app/page.js.map +1 -1
- package/dist/components/Button.d.ts +7 -7
- package/dist/components/Button.js +15 -15
- package/dist/components/GenderStatsBar.d.ts +5 -5
- package/dist/components/GenderStatsBar.js +7 -7
- package/dist/components/RollingNumber.d.ts +6 -6
- package/dist/components/RollingNumber.js +23 -23
- package/dist/components/Slider.d.ts +10 -10
- package/dist/components/Slider.js +35 -35
- package/dist/components/StatsGrid.js +13 -13
- package/dist/components/ViewModeToggle.d.ts +7 -7
- package/dist/components/ViewModeToggle.js +9 -9
- package/dist/components/modules/chat/widgets/ChatList.js +1 -1
- package/dist/components/modules/chat/widgets/ChatList.js.map +1 -1
- package/dist/components/modules/community/CommunityLayout.d.ts.map +1 -1
- package/dist/components/modules/community/CommunityLayout.js +4 -3
- package/dist/components/modules/community/CommunityLayout.js.map +1 -1
- package/dist/components/modules/community/widgets/EventDetailLayout.d.ts +7 -0
- package/dist/components/modules/community/widgets/EventDetailLayout.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/EventDetailLayout.js +54 -0
- package/dist/components/modules/community/widgets/EventDetailLayout.js.map +1 -0
- package/dist/components/modules/events/DetailLayout.d.ts +7 -0
- package/dist/components/modules/events/DetailLayout.d.ts.map +1 -0
- package/dist/components/modules/events/DetailLayout.js +54 -0
- package/dist/components/modules/events/DetailLayout.js.map +1 -0
- package/dist/components/modules/events/DetailPage.d.ts +7 -0
- package/dist/components/modules/events/DetailPage.d.ts.map +1 -0
- package/dist/components/modules/events/DetailPage.js +54 -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 +6 -0
- package/dist/components/modules/events/EventsLayout.js.map +1 -0
- package/dist/components/modules/events/EventsPage.d.ts +8 -0
- package/dist/components/modules/events/EventsPage.d.ts.map +1 -0
- package/dist/components/modules/events/EventsPage.js +75 -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 +11 -0
- package/dist/components/modules/events/widgets/EventCard.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventCard.js +10 -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 +10 -0
- package/dist/components/modules/events/widgets/EventList.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventList.js +29 -0
- package/dist/components/modules/events/widgets/EventList.js.map +1 -0
- package/dist/components/modules/posts/widgets/PostCard.d.ts +9 -1
- package/dist/components/modules/posts/widgets/PostCard.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/PostCard.js +103 -40
- package/dist/components/modules/posts/widgets/PostCard.js.map +1 -1
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts +19 -0
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/SocialFeed.js +117 -0
- package/dist/components/modules/posts/widgets/SocialFeed.js.map +1 -0
- package/dist/components/modules/posts/widgets/Stories.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/Stories.js +4 -1
- package/dist/components/modules/posts/widgets/Stories.js.map +1 -1
- package/dist/components/modules/profile/ProfileLayout.d.ts.map +1 -1
- package/dist/components/modules/profile/ProfileLayout.js +1 -2
- package/dist/components/modules/profile/ProfileLayout.js.map +1 -1
- package/dist/components/modules/profile/tabs/PostsTab.d.ts.map +1 -1
- package/dist/components/modules/profile/tabs/PostsTab.js +5 -63
- package/dist/components/modules/profile/tabs/PostsTab.js.map +1 -1
- package/dist/components/modules/social/SocialLayout.d.ts.map +1 -1
- package/dist/components/modules/social/SocialLayout.js +23 -147
- 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 +8 -1
- package/dist/components/modules/social/widgets/EconomyWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts.map +1 -1
- package/dist/components/modules/social/widgets/LeagueWidget.js +8 -1
- package/dist/components/modules/social/widgets/LeagueWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts.map +1 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.js +8 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +1 -1
- package/dist/components/modules/social/widgets/RankingWidget.js +7 -1
- package/dist/components/modules/social/widgets/RankingWidget.js.map +1 -1
- package/dist/components/shared/Footer.d.ts +1 -1
- package/dist/components/shared/Footer.js +9 -9
- package/dist/components/shared/Header.d.ts.map +1 -1
- package/dist/components/shared/Header.js +33 -10
- package/dist/components/shared/Header.js.map +1 -1
- package/dist/components/shared/PageWidth.d.ts +5 -5
- package/dist/components/shared/PageWidth.js +13 -13
- package/dist/components/showcase/EventsTab.d.ts.map +1 -1
- package/dist/components/showcase/EventsTab.js +22 -7
- package/dist/components/showcase/EventsTab.js.map +1 -1
- package/dist/components/showcase/GroupTab.js +1 -1
- package/dist/components/showcase/GroupTab.js.map +1 -1
- package/dist/components/showcase/SocialTab.d.ts.map +1 -1
- package/dist/components/showcase/SocialTab.js +14 -97
- package/dist/components/showcase/SocialTab.js.map +1 -1
- package/dist/context/ArmoyuContext.js +1 -1
- package/dist/context/ArmoyuContext.js.map +1 -1
- package/dist/context/AuthContext.d.ts.map +1 -1
- package/dist/context/AuthContext.js +4 -7
- package/dist/context/AuthContext.js.map +1 -1
- package/dist/context/CartContext.js +63 -63
- package/dist/context/ChatContext.d.ts.map +1 -1
- package/dist/context/ChatContext.js +3 -2
- package/dist/context/ChatContext.js.map +1 -1
- package/dist/context/LayoutContext.d.ts +10 -10
- package/dist/context/LayoutContext.js +16 -16
- package/dist/context/ThemeContext.d.ts +10 -10
- package/dist/context/ThemeContext.js +39 -39
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/constants/educationData.js +117 -117
- package/dist/lib/constants/punishmentData.d.ts +29 -29
- package/dist/lib/constants/punishmentData.js +183 -183
- package/dist/lib/constants/surveyData.js +49 -49
- package/dist/lib/constants/teamData.js +65 -65
- 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 +49 -0
- package/dist/lib/utils/postUtils.js.map +1 -0
- package/dist/types/stats.d.ts +17 -17
- package/dist/types/stats.js +1 -1
- package/package.json +2 -2
- package/dist/components/modules/auth/Dashboard.d.ts +0 -2
- package/dist/components/modules/auth/Dashboard.d.ts.map +0 -1
- package/dist/components/modules/auth/Dashboard.js +0 -251
- package/dist/components/modules/auth/Dashboard.js.map +0 -1
- package/dist/components/modules/auth/MediaLightbox.d.ts +0 -14
- package/dist/components/modules/auth/MediaLightbox.d.ts.map +0 -1
- package/dist/components/modules/auth/MediaLightbox.js +0 -47
- package/dist/components/modules/auth/MediaLightbox.js.map +0 -1
- package/dist/components/modules/auth/PostCard.d.ts +0 -26
- package/dist/components/modules/auth/PostCard.d.ts.map +0 -1
- package/dist/components/modules/auth/PostCard.js +0 -116
- package/dist/components/modules/auth/PostCard.js.map +0 -1
- package/dist/components/modules/auth/PostInteractionsModal.d.ts +0 -12
- package/dist/components/modules/auth/PostInteractionsModal.d.ts.map +0 -1
- package/dist/components/modules/auth/PostInteractionsModal.js +0 -13
- package/dist/components/modules/auth/PostInteractionsModal.js.map +0 -1
- package/dist/components/modules/auth/RepostModal.d.ts +0 -22
- package/dist/components/modules/auth/RepostModal.d.ts.map +0 -1
- package/dist/components/modules/auth/RepostModal.js +0 -76
- package/dist/components/modules/auth/RepostModal.js.map +0 -1
- package/dist/components/modules/auth/SidebarLeft.d.ts +0 -2
- package/dist/components/modules/auth/SidebarLeft.d.ts.map +0 -1
- package/dist/components/modules/auth/SidebarLeft.js +0 -9
- package/dist/components/modules/auth/SidebarLeft.js.map +0 -1
- package/dist/components/modules/auth/Stories.d.ts +0 -2
- package/dist/components/modules/auth/Stories.d.ts.map +0 -1
- package/dist/components/modules/auth/Stories.js +0 -16
- package/dist/components/modules/auth/Stories.js.map +0 -1
- package/dist/components/modules/auth/StoryViewer.d.ts +0 -10
- package/dist/components/modules/auth/StoryViewer.d.ts.map +0 -1
- package/dist/components/modules/auth/StoryViewer.js +0 -48
- package/dist/components/modules/auth/StoryViewer.js.map +0 -1
- package/dist/components/modules/auth/widgets/EconomyWidget.d.ts +0 -2
- package/dist/components/modules/auth/widgets/EconomyWidget.d.ts.map +0 -1
- package/dist/components/modules/auth/widgets/EconomyWidget.js +0 -38
- package/dist/components/modules/auth/widgets/EconomyWidget.js.map +0 -1
- package/dist/components/modules/auth/widgets/LeagueWidget.d.ts +0 -2
- package/dist/components/modules/auth/widgets/LeagueWidget.d.ts.map +0 -1
- package/dist/components/modules/auth/widgets/LeagueWidget.js +0 -36
- package/dist/components/modules/auth/widgets/LeagueWidget.js.map +0 -1
- package/dist/components/modules/auth/widgets/MinecraftWidget.d.ts +0 -2
- package/dist/components/modules/auth/widgets/MinecraftWidget.d.ts.map +0 -1
- package/dist/components/modules/auth/widgets/MinecraftWidget.js +0 -36
- package/dist/components/modules/auth/widgets/MinecraftWidget.js.map +0 -1
- package/dist/components/modules/auth/widgets/RankingWidget.d.ts +0 -5
- package/dist/components/modules/auth/widgets/RankingWidget.d.ts.map +0 -1
- package/dist/components/modules/auth/widgets/RankingWidget.js +0 -79
- package/dist/components/modules/auth/widgets/RankingWidget.js.map +0 -1
- package/dist/components/modules/chat/ChatContainer.d.ts +0 -2
- package/dist/components/modules/chat/ChatContainer.d.ts.map +0 -1
- package/dist/components/modules/chat/ChatContainer.js +0 -199
- package/dist/components/modules/chat/ChatContainer.js.map +0 -1
- package/dist/components/modules/chat/ChatInput.d.ts +0 -5
- package/dist/components/modules/chat/ChatInput.d.ts.map +0 -1
- package/dist/components/modules/chat/ChatInput.js +0 -31
- package/dist/components/modules/chat/ChatInput.js.map +0 -1
- package/dist/components/modules/chat/ChatList.d.ts +0 -7
- package/dist/components/modules/chat/ChatList.d.ts.map +0 -1
- package/dist/components/modules/chat/ChatList.js +0 -53
- package/dist/components/modules/chat/ChatList.js.map +0 -1
- package/dist/components/modules/chat/ChatMessage.d.ts +0 -12
- package/dist/components/modules/chat/ChatMessage.d.ts.map +0 -1
- package/dist/components/modules/chat/ChatMessage.js +0 -7
- package/dist/components/modules/chat/ChatMessage.js.map +0 -1
- package/dist/components/modules/chat/ChatNotes.d.ts +0 -2
- package/dist/components/modules/chat/ChatNotes.d.ts.map +0 -1
- package/dist/components/modules/chat/ChatNotes.js +0 -12
- package/dist/components/modules/chat/ChatNotes.js.map +0 -1
- package/dist/components/modules/community/GroupHeader.d.ts +0 -11
- package/dist/components/modules/community/GroupHeader.d.ts.map +0 -1
- package/dist/components/modules/community/GroupHeader.js +0 -18
- package/dist/components/modules/community/GroupHeader.js.map +0 -1
- package/dist/components/modules/community/GroupMenu.d.ts +0 -10
- package/dist/components/modules/community/GroupMenu.d.ts.map +0 -1
- package/dist/components/modules/community/GroupMenu.js +0 -17
- package/dist/components/modules/community/GroupMenu.js.map +0 -1
- package/dist/components/modules/community/GroupProfileContent.d.ts +0 -7
- package/dist/components/modules/community/GroupProfileContent.d.ts.map +0 -1
- package/dist/components/modules/community/GroupProfileContent.js +0 -127
- package/dist/components/modules/community/GroupProfileContent.js.map +0 -1
- package/dist/components/modules/community/SchoolCard.d.ts +0 -7
- package/dist/components/modules/community/SchoolCard.d.ts.map +0 -1
- package/dist/components/modules/community/SchoolCard.js +0 -8
- package/dist/components/modules/community/SchoolCard.js.map +0 -1
- package/dist/components/modules/community/SurveyCard.d.ts +0 -7
- package/dist/components/modules/community/SurveyCard.d.ts.map +0 -1
- package/dist/components/modules/community/SurveyCard.js +0 -38
- package/dist/components/modules/community/SurveyCard.js.map +0 -1
- package/dist/components/modules/forum/ForumBoard.d.ts +0 -17
- package/dist/components/modules/forum/ForumBoard.d.ts.map +0 -1
- package/dist/components/modules/forum/ForumBoard.js +0 -7
- package/dist/components/modules/forum/ForumBoard.js.map +0 -1
- package/dist/components/modules/forum/ForumPost.d.ts +0 -14
- package/dist/components/modules/forum/ForumPost.d.ts.map +0 -1
- package/dist/components/modules/forum/ForumPost.js +0 -6
- package/dist/components/modules/forum/ForumPost.js.map +0 -1
- package/dist/components/modules/forum/NewTopicModal.d.ts +0 -8
- package/dist/components/modules/forum/NewTopicModal.d.ts.map +0 -1
- package/dist/components/modules/forum/NewTopicModal.js +0 -27
- package/dist/components/modules/forum/NewTopicModal.js.map +0 -1
- package/dist/components/modules/forum/TopicItem.d.ts +0 -16
- package/dist/components/modules/forum/TopicItem.d.ts.map +0 -1
- package/dist/components/modules/forum/TopicItem.js +0 -7
- package/dist/components/modules/forum/TopicItem.js.map +0 -1
- package/dist/components/modules/galleries/GalleryCard.d.ts +0 -10
- package/dist/components/modules/galleries/GalleryCard.d.ts.map +0 -1
- package/dist/components/modules/galleries/GalleryCard.js +0 -6
- package/dist/components/modules/galleries/GalleryCard.js.map +0 -1
- package/dist/components/modules/giveaways/GiveawayCard.d.ts +0 -10
- package/dist/components/modules/giveaways/GiveawayCard.d.ts.map +0 -1
- package/dist/components/modules/giveaways/GiveawayCard.js +0 -7
- package/dist/components/modules/giveaways/GiveawayCard.js.map +0 -1
- package/dist/components/modules/groups/ApplicationModal.d.ts +0 -8
- package/dist/components/modules/groups/ApplicationModal.d.ts.map +0 -1
- package/dist/components/modules/groups/ApplicationModal.js +0 -28
- package/dist/components/modules/groups/ApplicationModal.js.map +0 -1
- package/dist/components/modules/groups/GroupCard.d.ts +0 -14
- package/dist/components/modules/groups/GroupCard.d.ts.map +0 -1
- package/dist/components/modules/groups/GroupCard.js +0 -8
- package/dist/components/modules/groups/GroupCard.js.map +0 -1
- package/dist/components/modules/guest/Introduction.d.ts +0 -2
- package/dist/components/modules/guest/Introduction.d.ts.map +0 -1
- package/dist/components/modules/guest/Introduction.js +0 -14
- package/dist/components/modules/guest/Introduction.js.map +0 -1
- package/dist/components/modules/magaza/BackToStore.d.ts +0 -2
- package/dist/components/modules/magaza/BackToStore.d.ts.map +0 -1
- package/dist/components/modules/magaza/BackToStore.js +0 -11
- package/dist/components/modules/magaza/BackToStore.js.map +0 -1
- package/dist/components/modules/magaza/StoreHeader.d.ts +0 -6
- package/dist/components/modules/magaza/StoreHeader.d.ts.map +0 -1
- package/dist/components/modules/magaza/StoreHeader.js +0 -9
- package/dist/components/modules/magaza/StoreHeader.js.map +0 -1
- package/dist/components/modules/magaza/widgets/StoreProductGrid.d.ts +0 -7
- package/dist/components/modules/magaza/widgets/StoreProductGrid.d.ts.map +0 -1
- package/dist/components/modules/magaza/widgets/StoreProductGrid.js +0 -13
- package/dist/components/modules/magaza/widgets/StoreProductGrid.js.map +0 -1
- package/dist/components/modules/magaza/widgets/StoreSidebar.d.ts +0 -8
- package/dist/components/modules/magaza/widgets/StoreSidebar.d.ts.map +0 -1
- package/dist/components/modules/magaza/widgets/StoreSidebar.js +0 -8
- package/dist/components/modules/magaza/widgets/StoreSidebar.js.map +0 -1
- package/dist/components/modules/magaza/widgets/StoreTrustBadges.d.ts +0 -2
- package/dist/components/modules/magaza/widgets/StoreTrustBadges.d.ts.map +0 -1
- package/dist/components/modules/magaza/widgets/StoreTrustBadges.js +0 -6
- package/dist/components/modules/magaza/widgets/StoreTrustBadges.js.map +0 -1
- package/dist/components/modules/news/NewsCard.d.ts +0 -12
- package/dist/components/modules/news/NewsCard.d.ts.map +0 -1
- package/dist/components/modules/news/NewsCard.js +0 -7
- package/dist/components/modules/news/NewsCard.js.map +0 -1
- package/dist/components/modules/news/NewsComments.d.ts +0 -2
- package/dist/components/modules/news/NewsComments.d.ts.map +0 -1
- package/dist/components/modules/news/NewsComments.js +0 -53
- package/dist/components/modules/news/NewsComments.js.map +0 -1
- package/dist/components/modules/posts/MediaLightbox.d.ts +0 -14
- package/dist/components/modules/posts/MediaLightbox.d.ts.map +0 -1
- package/dist/components/modules/posts/MediaLightbox.js +0 -47
- package/dist/components/modules/posts/MediaLightbox.js.map +0 -1
- package/dist/components/modules/posts/PostCard.d.ts +0 -26
- package/dist/components/modules/posts/PostCard.d.ts.map +0 -1
- package/dist/components/modules/posts/PostCard.js +0 -116
- package/dist/components/modules/posts/PostCard.js.map +0 -1
- package/dist/components/modules/posts/PostInteractionsModal.d.ts +0 -12
- package/dist/components/modules/posts/PostInteractionsModal.d.ts.map +0 -1
- package/dist/components/modules/posts/PostInteractionsModal.js +0 -13
- package/dist/components/modules/posts/PostInteractionsModal.js.map +0 -1
- package/dist/components/modules/posts/RepostModal.d.ts +0 -22
- package/dist/components/modules/posts/RepostModal.d.ts.map +0 -1
- package/dist/components/modules/posts/RepostModal.js +0 -76
- package/dist/components/modules/posts/RepostModal.js.map +0 -1
- package/dist/components/modules/posts/Stories.d.ts +0 -2
- package/dist/components/modules/posts/Stories.d.ts.map +0 -1
- package/dist/components/modules/posts/Stories.js +0 -16
- package/dist/components/modules/posts/Stories.js.map +0 -1
- package/dist/components/modules/posts/StoryViewer.d.ts +0 -10
- package/dist/components/modules/posts/StoryViewer.d.ts.map +0 -1
- package/dist/components/modules/posts/StoryViewer.js +0 -48
- package/dist/components/modules/posts/StoryViewer.js.map +0 -1
- package/dist/components/modules/posts/reels/ReelCard.d.ts +0 -16
- package/dist/components/modules/posts/reels/ReelCard.d.ts.map +0 -1
- package/dist/components/modules/posts/reels/ReelCard.js +0 -70
- package/dist/components/modules/posts/reels/ReelCard.js.map +0 -1
- package/dist/components/modules/posts/reels/ReelsContainer.d.ts +0 -8
- package/dist/components/modules/posts/reels/ReelsContainer.d.ts.map +0 -1
- package/dist/components/modules/posts/reels/ReelsContainer.js +0 -37
- package/dist/components/modules/posts/reels/ReelsContainer.js.map +0 -1
- package/dist/components/modules/profile/CloudStorageModal.d.ts +0 -9
- package/dist/components/modules/profile/CloudStorageModal.d.ts.map +0 -1
- package/dist/components/modules/profile/CloudStorageModal.js +0 -32
- package/dist/components/modules/profile/CloudStorageModal.js.map +0 -1
- package/dist/components/modules/profile/EditProfileModal.d.ts +0 -9
- package/dist/components/modules/profile/EditProfileModal.d.ts.map +0 -1
- package/dist/components/modules/profile/EditProfileModal.js +0 -28
- package/dist/components/modules/profile/EditProfileModal.js.map +0 -1
- package/dist/components/modules/profile/ProfileContent.d.ts +0 -5
- package/dist/components/modules/profile/ProfileContent.d.ts.map +0 -1
- package/dist/components/modules/profile/ProfileContent.js +0 -117
- package/dist/components/modules/profile/ProfileContent.js.map +0 -1
- package/dist/components/modules/profile/ProfileHeader.d.ts +0 -8
- package/dist/components/modules/profile/ProfileHeader.d.ts.map +0 -1
- package/dist/components/modules/profile/ProfileHeader.js +0 -20
- package/dist/components/modules/profile/ProfileHeader.js.map +0 -1
- package/dist/components/modules/profile/ProfileSidebar.d.ts +0 -11
- package/dist/components/modules/profile/ProfileSidebar.d.ts.map +0 -1
- package/dist/components/modules/profile/ProfileSidebar.js +0 -9
- package/dist/components/modules/profile/ProfileSidebar.js.map +0 -1
- package/dist/components/modules/profile/ProfileStats.d.ts +0 -7
- package/dist/components/modules/profile/ProfileStats.d.ts.map +0 -1
- package/dist/components/modules/profile/ProfileStats.js +0 -20
- package/dist/components/modules/profile/ProfileStats.js.map +0 -1
- package/dist/components/modules/profile/ProfileTabsArea.d.ts +0 -14
- package/dist/components/modules/profile/ProfileTabsArea.d.ts.map +0 -1
- package/dist/components/modules/profile/ProfileTabsArea.js +0 -59
- package/dist/components/modules/profile/ProfileTabsArea.js.map +0 -1
- package/dist/components/modules/profile/TeamSelectorModal.d.ts +0 -11
- package/dist/components/modules/profile/TeamSelectorModal.d.ts.map +0 -1
- package/dist/components/modules/profile/TeamSelectorModal.js +0 -17
- package/dist/components/modules/profile/TeamSelectorModal.js.map +0 -1
- package/dist/components/modules/shop/BackToStore.d.ts +0 -2
- package/dist/components/modules/shop/BackToStore.d.ts.map +0 -1
- package/dist/components/modules/shop/BackToStore.js +0 -11
- package/dist/components/modules/shop/BackToStore.js.map +0 -1
- package/dist/components/modules/shop/ProductCard.d.ts +0 -8
- package/dist/components/modules/shop/ProductCard.d.ts.map +0 -1
- package/dist/components/modules/shop/ProductCard.js +0 -11
- package/dist/components/modules/shop/ProductCard.js.map +0 -1
- package/dist/components/modules/shop/ProductDetailPage.d.ts +0 -8
- package/dist/components/modules/shop/ProductDetailPage.d.ts.map +0 -1
- package/dist/components/modules/shop/ProductDetailPage.js +0 -22
- package/dist/components/modules/shop/ProductDetailPage.js.map +0 -1
- package/dist/components/modules/shop/StoreHeader.d.ts +0 -6
- package/dist/components/modules/shop/StoreHeader.d.ts.map +0 -1
- package/dist/components/modules/shop/StoreHeader.js +0 -9
- package/dist/components/modules/shop/StoreHeader.js.map +0 -1
- package/dist/components/modules/social/Dashboard.d.ts +0 -2
- package/dist/components/modules/social/Dashboard.d.ts.map +0 -1
- package/dist/components/modules/social/Dashboard.js +0 -251
- package/dist/components/modules/social/Dashboard.js.map +0 -1
- package/dist/components/modules/social/SidebarLeft.d.ts +0 -2
- package/dist/components/modules/social/SidebarLeft.d.ts.map +0 -1
- package/dist/components/modules/social/SidebarLeft.js +0 -9
- package/dist/components/modules/social/SidebarLeft.js.map +0 -1
- package/dist/components/modules/stations/StationCard.d.ts +0 -3
- package/dist/components/modules/stations/StationCard.d.ts.map +0 -1
- package/dist/components/modules/stations/StationCard.js +0 -26
- package/dist/components/modules/stations/StationCard.js.map +0 -1
- package/dist/components/modules/stations/StationQRModal.d.ts +0 -10
- package/dist/components/modules/stations/StationQRModal.d.ts.map +0 -1
- package/dist/components/modules/stations/StationQRModal.js +0 -13
- package/dist/components/modules/stations/StationQRModal.js.map +0 -1
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { createContext, useContext, useState, useEffect } from 'react';
|
|
4
|
-
const ThemeContext = createContext(undefined);
|
|
5
|
-
export function ThemeProvider({ children }) {
|
|
6
|
-
const [theme, setTheme] = useState('dark');
|
|
7
|
-
// Tarayıcı hafızasını okuyarak temayı yükleme (Local Storage)
|
|
8
|
-
useEffect(() => {
|
|
9
|
-
const savedTheme = localStorage.getItem('armoyu_theme');
|
|
10
|
-
if (savedTheme === 'light') {
|
|
11
|
-
setTheme('light');
|
|
12
|
-
document.documentElement.classList.remove('dark');
|
|
13
|
-
}
|
|
14
|
-
else {
|
|
15
|
-
setTheme('dark');
|
|
16
|
-
document.documentElement.classList.add('dark');
|
|
17
|
-
// İlk girişte varsayılan olarak depolanır
|
|
18
|
-
localStorage.setItem('armoyu_theme', 'dark');
|
|
19
|
-
}
|
|
20
|
-
}, []);
|
|
21
|
-
const toggleTheme = () => {
|
|
22
|
-
const newTheme = theme === 'dark' ? 'light' : 'dark';
|
|
23
|
-
setTheme(newTheme);
|
|
24
|
-
localStorage.setItem('armoyu_theme', newTheme);
|
|
25
|
-
if (newTheme === 'dark') {
|
|
26
|
-
document.documentElement.classList.add('dark');
|
|
27
|
-
}
|
|
28
|
-
else {
|
|
29
|
-
document.documentElement.classList.remove('dark');
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
return (_jsx(ThemeContext.Provider, { value: { theme, toggleTheme }, children: children }));
|
|
33
|
-
}
|
|
34
|
-
export function useTheme() {
|
|
35
|
-
const context = useContext(ThemeContext);
|
|
36
|
-
if (!context)
|
|
37
|
-
throw new Error('useTheme hooks must be used inside ThemeProvider!');
|
|
38
|
-
return context;
|
|
39
|
-
}
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { createContext, useContext, useState, useEffect } from 'react';
|
|
4
|
+
const ThemeContext = createContext(undefined);
|
|
5
|
+
export function ThemeProvider({ children }) {
|
|
6
|
+
const [theme, setTheme] = useState('dark');
|
|
7
|
+
// Tarayıcı hafızasını okuyarak temayı yükleme (Local Storage)
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
const savedTheme = localStorage.getItem('armoyu_theme');
|
|
10
|
+
if (savedTheme === 'light') {
|
|
11
|
+
setTheme('light');
|
|
12
|
+
document.documentElement.classList.remove('dark');
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
setTheme('dark');
|
|
16
|
+
document.documentElement.classList.add('dark');
|
|
17
|
+
// İlk girişte varsayılan olarak depolanır
|
|
18
|
+
localStorage.setItem('armoyu_theme', 'dark');
|
|
19
|
+
}
|
|
20
|
+
}, []);
|
|
21
|
+
const toggleTheme = () => {
|
|
22
|
+
const newTheme = theme === 'dark' ? 'light' : 'dark';
|
|
23
|
+
setTheme(newTheme);
|
|
24
|
+
localStorage.setItem('armoyu_theme', newTheme);
|
|
25
|
+
if (newTheme === 'dark') {
|
|
26
|
+
document.documentElement.classList.add('dark');
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
document.documentElement.classList.remove('dark');
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
return (_jsx(ThemeContext.Provider, { value: { theme, toggleTheme }, children: children }));
|
|
33
|
+
}
|
|
34
|
+
export function useTheme() {
|
|
35
|
+
const context = useContext(ThemeContext);
|
|
36
|
+
if (!context)
|
|
37
|
+
throw new Error('useTheme hooks must be used inside ThemeProvider!');
|
|
38
|
+
return context;
|
|
39
|
+
}
|
|
40
40
|
//# sourceMappingURL=ThemeContext.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export * from './lib/constants/surveyData';
|
|
|
21
21
|
export * from './lib/constants/teamData';
|
|
22
22
|
export * from './lib/constants/config';
|
|
23
23
|
export * from './lib/utils/odpUtils';
|
|
24
|
+
export * from './lib/utils/postUtils';
|
|
24
25
|
export { Header } from './components/shared/Header';
|
|
25
26
|
export { Footer } from './components/shared/Footer';
|
|
26
27
|
export { LoginModal } from './components/shared/LoginModal';
|
|
@@ -44,6 +45,7 @@ export { StoryViewer } from './components/modules/posts/widgets/StoryViewer';
|
|
|
44
45
|
export { ReelCard } from './components/modules/posts/widgets/reels/ReelCard';
|
|
45
46
|
export { ReelsContainer } from './components/modules/posts/widgets/reels/ReelsContainer';
|
|
46
47
|
export { MediaLightbox, type PostMedia } from './components/modules/posts/widgets/MediaLightbox';
|
|
48
|
+
export { SocialFeed, type SocialFeedProps, type SocialFeedRef } from './components/modules/posts/widgets/SocialFeed';
|
|
47
49
|
export { ChatLayout } from './components/modules/chat/ChatLayout';
|
|
48
50
|
export { ChatInput } from './components/modules/chat/widgets/ChatInput';
|
|
49
51
|
export { ChatList } from './components/modules/chat/widgets/ChatList';
|
|
@@ -54,7 +56,7 @@ export { GroupHeader } from './components/modules/community/widgets/GroupHeader'
|
|
|
54
56
|
export { GroupMenu } from './components/modules/community/widgets/GroupMenu';
|
|
55
57
|
export { GroupStatsGrid } from './components/modules/community/widgets/GroupStatsGrid';
|
|
56
58
|
export { GroupAboutCard } from './components/modules/community/widgets/GroupAboutCard';
|
|
57
|
-
export
|
|
59
|
+
export * from './components/modules/events';
|
|
58
60
|
export { GroupFeedSection } from './components/modules/community/widgets/GroupFeedSection';
|
|
59
61
|
export { GroupTopMembers } from './components/modules/community/widgets/GroupTopMembers';
|
|
60
62
|
export { GroupPermissions } from './components/modules/community/widgets/GroupPermissions';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AAGvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AAGvC,cAAc,gBAAgB,CAAC;AAG/B,cAAc,SAAS,CAAC;AACxB,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AAGvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AAGvC,cAAc,gBAAgB,CAAC;AAG/B,cAAc,SAAS,CAAC;AACxB,cA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AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,MAAM,mDAAmD,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AACrF,OAAO,EAAE,eAAe,EAAE,MAAM,sDAAsD,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,uDAAuD,CAAC;AACzF,OAAO,EAAE,iBAAiB,EAAE,MAAM,wDAAwD,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,MAAM,wDAAwD,CAAC;AAG3F,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,sDAAsD,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -24,6 +24,7 @@ export * from './lib/constants/surveyData';
|
|
|
24
24
|
export * from './lib/constants/teamData';
|
|
25
25
|
export * from './lib/constants/config';
|
|
26
26
|
export * from './lib/utils/odpUtils';
|
|
27
|
+
export * from './lib/utils/postUtils';
|
|
27
28
|
// Shared Components
|
|
28
29
|
export { Header } from './components/shared/Header';
|
|
29
30
|
export { Footer } from './components/shared/Footer';
|
|
@@ -45,6 +46,7 @@ export { StoryViewer } from './components/modules/posts/widgets/StoryViewer';
|
|
|
45
46
|
export { ReelCard } from './components/modules/posts/widgets/reels/ReelCard';
|
|
46
47
|
export { ReelsContainer } from './components/modules/posts/widgets/reels/ReelsContainer';
|
|
47
48
|
export { MediaLightbox } from './components/modules/posts/widgets/MediaLightbox';
|
|
49
|
+
export { SocialFeed } from './components/modules/posts/widgets/SocialFeed';
|
|
48
50
|
// Chat Module
|
|
49
51
|
export { ChatLayout } from './components/modules/chat/ChatLayout';
|
|
50
52
|
export { ChatInput } from './components/modules/chat/widgets/ChatInput';
|
|
@@ -57,7 +59,7 @@ export { GroupHeader } from './components/modules/community/widgets/GroupHeader'
|
|
|
57
59
|
export { GroupMenu } from './components/modules/community/widgets/GroupMenu';
|
|
58
60
|
export { GroupStatsGrid } from './components/modules/community/widgets/GroupStatsGrid';
|
|
59
61
|
export { GroupAboutCard } from './components/modules/community/widgets/GroupAboutCard';
|
|
60
|
-
export
|
|
62
|
+
export * from './components/modules/events';
|
|
61
63
|
export { GroupFeedSection } from './components/modules/community/widgets/GroupFeedSection';
|
|
62
64
|
export { GroupTopMembers } from './components/modules/community/widgets/GroupTopMembers';
|
|
63
65
|
export { GroupPermissions } from './components/modules/community/widgets/GroupPermissions';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AAEvC,WAAW;AACX,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AAEvC,eAAe;AACf,cAAc,gBAAgB,CAAC;AAE/B,oBAAoB;AACpB,cAAc,SAAS,CAAC;AACxB,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc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AAM,oDAAoD,CAAC;AACtF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AAEtF,cAAc;AACd,OAAO,EAAE,QAAQ,EAAE,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,gDAAgD,CAAC;AAE9E,iBAAiB;AACjB,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,MAAM,mDAAmD,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AACrF,OAAO,EAAE,eAAe,EAAE,MAAM,sDAAsD,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,uDAAuD,CAAC;AACzF,OAAO,EAAE,iBAAiB,EAAE,MAAM,wDAAwD,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,MAAM,wDAAwD,CAAC;AAE3F,kBAAkB;AAClB,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,sDAAsD,CAAC"}
|
|
@@ -1,118 +1,118 @@
|
|
|
1
|
-
import { School, Faculty, Classroom, SchoolTeam } from '@armoyu/core';
|
|
2
|
-
export const MOCK_EDUCATION_DATA = (userList) => {
|
|
3
|
-
// 1. School Teams (Traditional & Esports)
|
|
4
|
-
const teams = [
|
|
5
|
-
new SchoolTeam({
|
|
6
|
-
id: 'st1',
|
|
7
|
-
name: 'ARMOYU CS2 Team',
|
|
8
|
-
gameOrSport: 'Counter-Strike 2',
|
|
9
|
-
type: 'ESPORTS',
|
|
10
|
-
schoolId: 'sch1',
|
|
11
|
-
captain: userList[0]
|
|
12
|
-
}),
|
|
13
|
-
new SchoolTeam({
|
|
14
|
-
id: 'st2',
|
|
15
|
-
name: 'UAV Football Varsity',
|
|
16
|
-
gameOrSport: 'Football',
|
|
17
|
-
type: 'TRADITIONAL_SPORTS',
|
|
18
|
-
schoolId: 'sch1',
|
|
19
|
-
captain: userList[11]
|
|
20
|
-
}),
|
|
21
|
-
new SchoolTeam({
|
|
22
|
-
id: 'st3',
|
|
23
|
-
name: 'Code Masters LoL',
|
|
24
|
-
gameOrSport: 'League of Legends',
|
|
25
|
-
type: 'ESPORTS',
|
|
26
|
-
schoolId: 'sch2',
|
|
27
|
-
captain: userList[1]
|
|
28
|
-
})
|
|
29
|
-
];
|
|
30
|
-
// 2. Faculties
|
|
31
|
-
const faculties = [
|
|
32
|
-
new Faculty({ id: 'f1', name: 'Mühendislik Fakültesi', schoolId: 'sch1', representative: userList[14] }),
|
|
33
|
-
new Faculty({ id: 'f2', name: 'İktisadi ve İdari Bilimler Fakültesi', schoolId: 'sch1', representative: userList[12] }),
|
|
34
|
-
new Faculty({ id: 'f3', name: 'Fen Edebiyat Fakültesi', schoolId: 'sch2', representative: userList[3] })
|
|
35
|
-
];
|
|
36
|
-
// 3. Classrooms
|
|
37
|
-
const classrooms = [
|
|
38
|
-
new Classroom({ id: 'c1', name: 'Web Geliştirme 101', schoolId: 'sch1', teacher: userList[0], password: 'armoyu_learn' }),
|
|
39
|
-
new Classroom({ id: 'c2', name: 'Algoritma ve Veri Yapıları', schoolId: 'sch1', teacher: userList[14] }),
|
|
40
|
-
new Classroom({ id: 'c3', name: 'Dijital Tasarım', schoolId: 'sch2', teacher: userList[1] })
|
|
41
|
-
];
|
|
42
|
-
// 4. Schools
|
|
43
|
-
const schools = [
|
|
44
|
-
new School({
|
|
45
|
-
id: 'sch1',
|
|
46
|
-
name: 'İstanbul Teknik Üniversitesi',
|
|
47
|
-
slug: 'itu',
|
|
48
|
-
logo: 'https://upload.wikimedia.org/wikipedia/tr/a/ae/%C4%B0T%C3%9C_Logo.png',
|
|
49
|
-
representative: userList[0],
|
|
50
|
-
faculties: faculties.filter(f => f.schoolId === 'sch1'),
|
|
51
|
-
teams: teams.filter(t => t.schoolId === 'sch1'),
|
|
52
|
-
classrooms: classrooms.filter(cl => cl.schoolId === 'sch1'),
|
|
53
|
-
memberCount: 1250
|
|
54
|
-
}),
|
|
55
|
-
new School({
|
|
56
|
-
id: 'sch2',
|
|
57
|
-
name: 'Boğaziçi Üniversitesi',
|
|
58
|
-
slug: 'bogazici',
|
|
59
|
-
logo: 'https://upload.wikimedia.org/wikipedia/tr/b/b3/Bo%C4%9Fazi%C3%A7i_%C3%9Cniversitesi_Logosu.png',
|
|
60
|
-
representative: userList[1],
|
|
61
|
-
faculties: faculties.filter(f => f.schoolId === 'sch2'),
|
|
62
|
-
teams: teams.filter(t => t.schoolId === 'sch2'),
|
|
63
|
-
classrooms: classrooms.filter(cl => cl.schoolId === 'sch2'),
|
|
64
|
-
memberCount: 890
|
|
65
|
-
}),
|
|
66
|
-
new School({
|
|
67
|
-
id: 'sch3',
|
|
68
|
-
name: 'Sivas Cumhuriyet Üniversitesi',
|
|
69
|
-
slug: 'cumhuriyet',
|
|
70
|
-
logo: 'https://upload.wikimedia.org/wikipedia/tr/a/ac/Cumhuriyet_%C3%9Cniversitesi_Logosu.png',
|
|
71
|
-
representative: userList[2],
|
|
72
|
-
faculties: [
|
|
73
|
-
new Faculty({ id: 'f4', name: 'Tıp Fakültesi', schoolId: 'sch3', representative: userList[4] }),
|
|
74
|
-
new Faculty({ id: 'f5', name: 'Eğitim Fakültesi', schoolId: 'sch3', representative: userList[5] })
|
|
75
|
-
],
|
|
76
|
-
teams: [
|
|
77
|
-
new SchoolTeam({ id: 'st4', name: 'CU Eagles Volleyball', gameOrSport: 'Volleyball', type: 'TRADITIONAL_SPORTS', schoolId: 'sch3', captain: userList[2] }),
|
|
78
|
-
new SchoolTeam({ id: 'st5', name: 'CU Valorant', gameOrSport: 'Valorant', type: 'ESPORTS', schoolId: 'sch3', captain: userList[4] })
|
|
79
|
-
],
|
|
80
|
-
classrooms: [
|
|
81
|
-
new Classroom({ id: 'c4', name: 'Temel Programlama', schoolId: 'sch3', teacher: userList[2] })
|
|
82
|
-
],
|
|
83
|
-
memberCount: 2100
|
|
84
|
-
}),
|
|
85
|
-
new School({
|
|
86
|
-
id: 'sch4',
|
|
87
|
-
name: 'Tokat Gaziosmanpaşa Üniversitesi',
|
|
88
|
-
slug: 'gop',
|
|
89
|
-
logo: 'https://upload.wikimedia.org/wikipedia/tr/5/5e/Tokat_Gaziosmanpa%C5%9Fa_%C3%9Cniversitesi_Logosu.png',
|
|
90
|
-
representative: userList[3],
|
|
91
|
-
faculties: [
|
|
92
|
-
new Faculty({ id: 'f6', name: 'Ziraat Fakültesi', schoolId: 'sch4', representative: userList[3] })
|
|
93
|
-
],
|
|
94
|
-
teams: [
|
|
95
|
-
new SchoolTeam({ id: 'st6', name: 'GOP Football', gameOrSport: 'Football', type: 'TRADITIONAL_SPORTS', schoolId: 'sch4', captain: userList[3] })
|
|
96
|
-
],
|
|
97
|
-
classrooms: [],
|
|
98
|
-
memberCount: 1450
|
|
99
|
-
}),
|
|
100
|
-
new School({
|
|
101
|
-
id: 'sch5',
|
|
102
|
-
name: 'Samsun Ondokuz Mayıs Üniversitesi',
|
|
103
|
-
slug: 'omu',
|
|
104
|
-
logo: 'https://upload.wikimedia.org/wikipedia/tr/6/6d/Ondokuz_May%C4%B1s_%C3%9Cniversitesi_Logosu.png',
|
|
105
|
-
representative: userList[10],
|
|
106
|
-
faculties: [
|
|
107
|
-
new Faculty({ id: 'f7', name: 'Hukuk Fakültesi', schoolId: 'sch5', representative: userList[10] })
|
|
108
|
-
],
|
|
109
|
-
teams: [
|
|
110
|
-
new SchoolTeam({ id: 'st7', name: 'OMU Cyber Sports', gameOrSport: 'DotA 2', type: 'ESPORTS', schoolId: 'sch5', captain: userList[11] })
|
|
111
|
-
],
|
|
112
|
-
classrooms: [],
|
|
113
|
-
memberCount: 3200
|
|
114
|
-
})
|
|
115
|
-
];
|
|
116
|
-
return { schools, faculties, teams, classrooms };
|
|
117
|
-
};
|
|
1
|
+
import { School, Faculty, Classroom, SchoolTeam } from '@armoyu/core';
|
|
2
|
+
export const MOCK_EDUCATION_DATA = (userList) => {
|
|
3
|
+
// 1. School Teams (Traditional & Esports)
|
|
4
|
+
const teams = [
|
|
5
|
+
new SchoolTeam({
|
|
6
|
+
id: 'st1',
|
|
7
|
+
name: 'ARMOYU CS2 Team',
|
|
8
|
+
gameOrSport: 'Counter-Strike 2',
|
|
9
|
+
type: 'ESPORTS',
|
|
10
|
+
schoolId: 'sch1',
|
|
11
|
+
captain: userList[0]
|
|
12
|
+
}),
|
|
13
|
+
new SchoolTeam({
|
|
14
|
+
id: 'st2',
|
|
15
|
+
name: 'UAV Football Varsity',
|
|
16
|
+
gameOrSport: 'Football',
|
|
17
|
+
type: 'TRADITIONAL_SPORTS',
|
|
18
|
+
schoolId: 'sch1',
|
|
19
|
+
captain: userList[11]
|
|
20
|
+
}),
|
|
21
|
+
new SchoolTeam({
|
|
22
|
+
id: 'st3',
|
|
23
|
+
name: 'Code Masters LoL',
|
|
24
|
+
gameOrSport: 'League of Legends',
|
|
25
|
+
type: 'ESPORTS',
|
|
26
|
+
schoolId: 'sch2',
|
|
27
|
+
captain: userList[1]
|
|
28
|
+
})
|
|
29
|
+
];
|
|
30
|
+
// 2. Faculties
|
|
31
|
+
const faculties = [
|
|
32
|
+
new Faculty({ id: 'f1', name: 'Mühendislik Fakültesi', schoolId: 'sch1', representative: userList[14] }),
|
|
33
|
+
new Faculty({ id: 'f2', name: 'İktisadi ve İdari Bilimler Fakültesi', schoolId: 'sch1', representative: userList[12] }),
|
|
34
|
+
new Faculty({ id: 'f3', name: 'Fen Edebiyat Fakültesi', schoolId: 'sch2', representative: userList[3] })
|
|
35
|
+
];
|
|
36
|
+
// 3. Classrooms
|
|
37
|
+
const classrooms = [
|
|
38
|
+
new Classroom({ id: 'c1', name: 'Web Geliştirme 101', schoolId: 'sch1', teacher: userList[0], password: 'armoyu_learn' }),
|
|
39
|
+
new Classroom({ id: 'c2', name: 'Algoritma ve Veri Yapıları', schoolId: 'sch1', teacher: userList[14] }),
|
|
40
|
+
new Classroom({ id: 'c3', name: 'Dijital Tasarım', schoolId: 'sch2', teacher: userList[1] })
|
|
41
|
+
];
|
|
42
|
+
// 4. Schools
|
|
43
|
+
const schools = [
|
|
44
|
+
new School({
|
|
45
|
+
id: 'sch1',
|
|
46
|
+
name: 'İstanbul Teknik Üniversitesi',
|
|
47
|
+
slug: 'itu',
|
|
48
|
+
logo: 'https://upload.wikimedia.org/wikipedia/tr/a/ae/%C4%B0T%C3%9C_Logo.png',
|
|
49
|
+
representative: userList[0],
|
|
50
|
+
faculties: faculties.filter(f => f.schoolId === 'sch1'),
|
|
51
|
+
teams: teams.filter(t => t.schoolId === 'sch1'),
|
|
52
|
+
classrooms: classrooms.filter(cl => cl.schoolId === 'sch1'),
|
|
53
|
+
memberCount: 1250
|
|
54
|
+
}),
|
|
55
|
+
new School({
|
|
56
|
+
id: 'sch2',
|
|
57
|
+
name: 'Boğaziçi Üniversitesi',
|
|
58
|
+
slug: 'bogazici',
|
|
59
|
+
logo: 'https://upload.wikimedia.org/wikipedia/tr/b/b3/Bo%C4%9Fazi%C3%A7i_%C3%9Cniversitesi_Logosu.png',
|
|
60
|
+
representative: userList[1],
|
|
61
|
+
faculties: faculties.filter(f => f.schoolId === 'sch2'),
|
|
62
|
+
teams: teams.filter(t => t.schoolId === 'sch2'),
|
|
63
|
+
classrooms: classrooms.filter(cl => cl.schoolId === 'sch2'),
|
|
64
|
+
memberCount: 890
|
|
65
|
+
}),
|
|
66
|
+
new School({
|
|
67
|
+
id: 'sch3',
|
|
68
|
+
name: 'Sivas Cumhuriyet Üniversitesi',
|
|
69
|
+
slug: 'cumhuriyet',
|
|
70
|
+
logo: 'https://upload.wikimedia.org/wikipedia/tr/a/ac/Cumhuriyet_%C3%9Cniversitesi_Logosu.png',
|
|
71
|
+
representative: userList[2],
|
|
72
|
+
faculties: [
|
|
73
|
+
new Faculty({ id: 'f4', name: 'Tıp Fakültesi', schoolId: 'sch3', representative: userList[4] }),
|
|
74
|
+
new Faculty({ id: 'f5', name: 'Eğitim Fakültesi', schoolId: 'sch3', representative: userList[5] })
|
|
75
|
+
],
|
|
76
|
+
teams: [
|
|
77
|
+
new SchoolTeam({ id: 'st4', name: 'CU Eagles Volleyball', gameOrSport: 'Volleyball', type: 'TRADITIONAL_SPORTS', schoolId: 'sch3', captain: userList[2] }),
|
|
78
|
+
new SchoolTeam({ id: 'st5', name: 'CU Valorant', gameOrSport: 'Valorant', type: 'ESPORTS', schoolId: 'sch3', captain: userList[4] })
|
|
79
|
+
],
|
|
80
|
+
classrooms: [
|
|
81
|
+
new Classroom({ id: 'c4', name: 'Temel Programlama', schoolId: 'sch3', teacher: userList[2] })
|
|
82
|
+
],
|
|
83
|
+
memberCount: 2100
|
|
84
|
+
}),
|
|
85
|
+
new School({
|
|
86
|
+
id: 'sch4',
|
|
87
|
+
name: 'Tokat Gaziosmanpaşa Üniversitesi',
|
|
88
|
+
slug: 'gop',
|
|
89
|
+
logo: 'https://upload.wikimedia.org/wikipedia/tr/5/5e/Tokat_Gaziosmanpa%C5%9Fa_%C3%9Cniversitesi_Logosu.png',
|
|
90
|
+
representative: userList[3],
|
|
91
|
+
faculties: [
|
|
92
|
+
new Faculty({ id: 'f6', name: 'Ziraat Fakültesi', schoolId: 'sch4', representative: userList[3] })
|
|
93
|
+
],
|
|
94
|
+
teams: [
|
|
95
|
+
new SchoolTeam({ id: 'st6', name: 'GOP Football', gameOrSport: 'Football', type: 'TRADITIONAL_SPORTS', schoolId: 'sch4', captain: userList[3] })
|
|
96
|
+
],
|
|
97
|
+
classrooms: [],
|
|
98
|
+
memberCount: 1450
|
|
99
|
+
}),
|
|
100
|
+
new School({
|
|
101
|
+
id: 'sch5',
|
|
102
|
+
name: 'Samsun Ondokuz Mayıs Üniversitesi',
|
|
103
|
+
slug: 'omu',
|
|
104
|
+
logo: 'https://upload.wikimedia.org/wikipedia/tr/6/6d/Ondokuz_May%C4%B1s_%C3%9Cniversitesi_Logosu.png',
|
|
105
|
+
representative: userList[10],
|
|
106
|
+
faculties: [
|
|
107
|
+
new Faculty({ id: 'f7', name: 'Hukuk Fakültesi', schoolId: 'sch5', representative: userList[10] })
|
|
108
|
+
],
|
|
109
|
+
teams: [
|
|
110
|
+
new SchoolTeam({ id: 'st7', name: 'OMU Cyber Sports', gameOrSport: 'DotA 2', type: 'ESPORTS', schoolId: 'sch5', captain: userList[11] })
|
|
111
|
+
],
|
|
112
|
+
classrooms: [],
|
|
113
|
+
memberCount: 3200
|
|
114
|
+
})
|
|
115
|
+
];
|
|
116
|
+
return { schools, faculties, teams, classrooms };
|
|
117
|
+
};
|
|
118
118
|
//# sourceMappingURL=educationData.js.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export type RestrictionType = 'CHAT_BAN' | 'POST_BAN' | 'PROFILE_EDIT_BAN' | 'LOGIN_BAN' | 'PERMANENT_BAN';
|
|
2
|
-
export type RuleCategory = 'SOHBET' | 'GÜVENLİK' | 'İÇERİK' | 'HESAP' | 'ETKİNLİK';
|
|
3
|
-
export interface PunishmentRule {
|
|
4
|
-
id: string;
|
|
5
|
-
article: string;
|
|
6
|
-
name: string;
|
|
7
|
-
category: RuleCategory;
|
|
8
|
-
description: string;
|
|
9
|
-
duration: number;
|
|
10
|
-
restrictions: RestrictionType[];
|
|
11
|
-
severity: 'low' | 'medium' | 'high' | 'critical';
|
|
12
|
-
isMajor?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const PUNISHMENT_RULES: PunishmentRule[];
|
|
15
|
-
export declare const getRestrictionLabel: (type: RestrictionType) => string;
|
|
16
|
-
/**
|
|
17
|
-
* Calculates the escalated duration based on the number of previous punishments.
|
|
18
|
-
* Formula: base * multiplier
|
|
19
|
-
*/
|
|
20
|
-
export declare const calculateEscalatedDuration: (baseDuration: number, punishmentCount: number) => number;
|
|
21
|
-
/**
|
|
22
|
-
* Returns the community compliance level details based on involvement count.
|
|
23
|
-
*/
|
|
24
|
-
export declare const getCommunityComplianceLevel: (count: number) => {
|
|
25
|
-
label: string;
|
|
26
|
-
color: string;
|
|
27
|
-
multiplier: number;
|
|
28
|
-
severity: string;
|
|
29
|
-
};
|
|
1
|
+
export type RestrictionType = 'CHAT_BAN' | 'POST_BAN' | 'PROFILE_EDIT_BAN' | 'LOGIN_BAN' | 'PERMANENT_BAN';
|
|
2
|
+
export type RuleCategory = 'SOHBET' | 'GÜVENLİK' | 'İÇERİK' | 'HESAP' | 'ETKİNLİK';
|
|
3
|
+
export interface PunishmentRule {
|
|
4
|
+
id: string;
|
|
5
|
+
article: string;
|
|
6
|
+
name: string;
|
|
7
|
+
category: RuleCategory;
|
|
8
|
+
description: string;
|
|
9
|
+
duration: number;
|
|
10
|
+
restrictions: RestrictionType[];
|
|
11
|
+
severity: 'low' | 'medium' | 'high' | 'critical';
|
|
12
|
+
isMajor?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const PUNISHMENT_RULES: PunishmentRule[];
|
|
15
|
+
export declare const getRestrictionLabel: (type: RestrictionType) => string;
|
|
16
|
+
/**
|
|
17
|
+
* Calculates the escalated duration based on the number of previous punishments.
|
|
18
|
+
* Formula: base * multiplier
|
|
19
|
+
*/
|
|
20
|
+
export declare const calculateEscalatedDuration: (baseDuration: number, punishmentCount: number) => number;
|
|
21
|
+
/**
|
|
22
|
+
* Returns the community compliance level details based on involvement count.
|
|
23
|
+
*/
|
|
24
|
+
export declare const getCommunityComplianceLevel: (count: number) => {
|
|
25
|
+
label: string;
|
|
26
|
+
color: string;
|
|
27
|
+
multiplier: number;
|
|
28
|
+
severity: string;
|
|
29
|
+
};
|
|
30
30
|
//# sourceMappingURL=punishmentData.d.ts.map
|