@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,184 +1,184 @@
|
|
|
1
|
-
export const PUNISHMENT_RULES = [
|
|
2
|
-
// SOHBET (M1.X)
|
|
3
|
-
{
|
|
4
|
-
id: 'spam-flood',
|
|
5
|
-
article: 'M1.1',
|
|
6
|
-
category: 'SOHBET',
|
|
7
|
-
name: 'Spam / Flood',
|
|
8
|
-
description: 'Sohbet veya yorum alanlarında tekrarlayıcı ve rahatsız edici içerik paylaşımı.',
|
|
9
|
-
duration: 24,
|
|
10
|
-
restrictions: ['CHAT_BAN'],
|
|
11
|
-
severity: 'low',
|
|
12
|
-
isMajor: false
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
id: 'inappropriate-lang',
|
|
16
|
-
article: 'M1.2',
|
|
17
|
-
category: 'SOHBET',
|
|
18
|
-
name: 'Uygunsuz Dil / Küfür',
|
|
19
|
-
description: 'Diğer kullanıcılara yönelik hakaret, küfür veya aşağılayıcı ifadeler.',
|
|
20
|
-
duration: 72,
|
|
21
|
-
restrictions: ['CHAT_BAN'],
|
|
22
|
-
severity: 'medium',
|
|
23
|
-
isMajor: true
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
id: 'toxic-behavior',
|
|
27
|
-
article: 'M1.3',
|
|
28
|
-
category: 'SOHBET',
|
|
29
|
-
name: 'Toksik Davranış / Kışkırtma',
|
|
30
|
-
description: 'Topluluk huzurunu bozmaya yönelik kışkırtmalar ve huzursuzluk çıkarma.',
|
|
31
|
-
duration: 48,
|
|
32
|
-
restrictions: ['CHAT_BAN'],
|
|
33
|
-
severity: 'low',
|
|
34
|
-
isMajor: false
|
|
35
|
-
},
|
|
36
|
-
// İÇERİK (M2.X)
|
|
37
|
-
{
|
|
38
|
-
id: 'misleading-content',
|
|
39
|
-
article: 'M2.1',
|
|
40
|
-
category: 'İÇERİK',
|
|
41
|
-
name: 'Hatalı Paylaşım / Clickbait',
|
|
42
|
-
description: 'Topluluğu yanıltıcı veya gereksiz (çöp) içerik üretimi.',
|
|
43
|
-
duration: 48,
|
|
44
|
-
restrictions: ['POST_BAN'],
|
|
45
|
-
severity: 'low',
|
|
46
|
-
isMajor: false
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
id: 'illegal-content',
|
|
50
|
-
article: 'M2.2',
|
|
51
|
-
category: 'İÇERİK',
|
|
52
|
-
name: 'İllegal / Uygunsuz Paylaşım',
|
|
53
|
-
description: 'Yasal olmayan içeriklerin, korsan yazılım veya uygunsuz medyanın paylaşımı.',
|
|
54
|
-
duration: 0,
|
|
55
|
-
restrictions: ['PERMANENT_BAN'],
|
|
56
|
-
severity: 'critical',
|
|
57
|
-
isMajor: true
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
id: 'ad-sharing',
|
|
61
|
-
article: 'M2.3',
|
|
62
|
-
category: 'İÇERİK',
|
|
63
|
-
name: 'İzinsiz Reklam / Tanıtım',
|
|
64
|
-
description: 'Yönetimden izin almadan yapılan topluluk, yayıncı veya ürün reklamları.',
|
|
65
|
-
duration: 168,
|
|
66
|
-
restrictions: ['POST_BAN', 'CHAT_BAN'],
|
|
67
|
-
severity: 'medium',
|
|
68
|
-
isMajor: false
|
|
69
|
-
},
|
|
70
|
-
// GÜVENLİK (M3.X)
|
|
71
|
-
{
|
|
72
|
-
id: 'harassment',
|
|
73
|
-
article: 'M3.1',
|
|
74
|
-
category: 'GÜVENLİK',
|
|
75
|
-
name: 'Kullanıcı Taciz / Rahatsızlık',
|
|
76
|
-
description: 'Kullanıcıları sistematik olarak rahatsız etme veya taciz etme.',
|
|
77
|
-
duration: 168,
|
|
78
|
-
restrictions: ['CHAT_BAN', 'POST_BAN', 'PROFILE_EDIT_BAN'],
|
|
79
|
-
severity: 'high',
|
|
80
|
-
isMajor: true
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
id: 'doxxing',
|
|
84
|
-
article: 'M3.2',
|
|
85
|
-
category: 'GÜVENLİK',
|
|
86
|
-
name: 'Kişisel Veri İhlali / Doxxing',
|
|
87
|
-
description: 'Bir kullanıcının gerçek hayat verilerini, adresini veya telefonunu izinsiz paylaşma.',
|
|
88
|
-
duration: 0,
|
|
89
|
-
restrictions: ['PERMANENT_BAN'],
|
|
90
|
-
severity: 'critical',
|
|
91
|
-
isMajor: true
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
id: 'bug-abuse',
|
|
95
|
-
article: 'M3.3',
|
|
96
|
-
category: 'GÜVENLİK',
|
|
97
|
-
name: 'Sistem Odaklı Hata Kullanımı',
|
|
98
|
-
description: 'Platformdaki hataları (bug) bildirmek yerine kendi çıkarı için kullanma.',
|
|
99
|
-
duration: 720, // 1 month
|
|
100
|
-
restrictions: ['LOGIN_BAN', 'POST_BAN'],
|
|
101
|
-
severity: 'high',
|
|
102
|
-
isMajor: true
|
|
103
|
-
},
|
|
104
|
-
// HESAP (M4.X)
|
|
105
|
-
{
|
|
106
|
-
id: 'fake-identity',
|
|
107
|
-
article: 'M4.1',
|
|
108
|
-
category: 'HESAP',
|
|
109
|
-
name: 'Sahte Kimlik / Taklit',
|
|
110
|
-
description: 'Başka bir kullanıcıyı veya yetkiliyi taklit etme.',
|
|
111
|
-
duration: 0,
|
|
112
|
-
restrictions: ['PERMANENT_BAN'],
|
|
113
|
-
severity: 'critical',
|
|
114
|
-
isMajor: true
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
id: 'hate-speech',
|
|
118
|
-
article: 'M4.2',
|
|
119
|
-
category: 'HESAP',
|
|
120
|
-
name: 'Nefret Söylemi / Değerlere Hakaret',
|
|
121
|
-
description: 'Dini, milli veya manevi değerlere yönelik ağır hakaret ve saldırı.',
|
|
122
|
-
duration: 0,
|
|
123
|
-
restrictions: ['PERMANENT_BAN'],
|
|
124
|
-
severity: 'critical',
|
|
125
|
-
isMajor: true
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
id: 'fraud',
|
|
129
|
-
article: 'M4.3',
|
|
130
|
-
category: 'HESAP',
|
|
131
|
-
name: 'Dolandırıcılık / Sahtekarlık',
|
|
132
|
-
description: 'Hizmet veya ürün alımlarında kullanıcıları veya sistemi dolandırma girişimi.',
|
|
133
|
-
duration: 0,
|
|
134
|
-
restrictions: ['PERMANENT_BAN'],
|
|
135
|
-
severity: 'critical',
|
|
136
|
-
isMajor: true
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
id: 'multi-account',
|
|
140
|
-
article: 'M4.4',
|
|
141
|
-
category: 'HESAP',
|
|
142
|
-
name: 'Çoklu Hesap / Multi Account',
|
|
143
|
-
description: 'Yasaklandığı halde farklı hesaplarla sisteme tekrar dahil olma girişimi.',
|
|
144
|
-
duration: 0,
|
|
145
|
-
restrictions: ['PERMANENT_BAN'],
|
|
146
|
-
severity: 'critical',
|
|
147
|
-
isMajor: true
|
|
148
|
-
}
|
|
149
|
-
];
|
|
150
|
-
export const getRestrictionLabel = (type) => {
|
|
151
|
-
switch (type) {
|
|
152
|
-
case 'CHAT_BAN': return 'Sohbet Yasağı';
|
|
153
|
-
case 'POST_BAN': return 'Paylaşım Yasağı';
|
|
154
|
-
case 'PROFILE_EDIT_BAN': return 'Profil Düzenleme Yasağı';
|
|
155
|
-
case 'LOGIN_BAN': return 'Giriş Yasağı';
|
|
156
|
-
case 'PERMANENT_BAN': return 'Kalıcı Yasaklama (Ban)';
|
|
157
|
-
default: return 'Bilinmeyen Kısıtlama';
|
|
158
|
-
}
|
|
159
|
-
};
|
|
160
|
-
/**
|
|
161
|
-
* Calculates the escalated duration based on the number of previous punishments.
|
|
162
|
-
* Formula: base * multiplier
|
|
163
|
-
*/
|
|
164
|
-
export const calculateEscalatedDuration = (baseDuration, punishmentCount) => {
|
|
165
|
-
if (baseDuration === 0)
|
|
166
|
-
return 0; // Permanent stays permanent
|
|
167
|
-
const level = getCommunityComplianceLevel(punishmentCount);
|
|
168
|
-
return Math.round(baseDuration * level.multiplier);
|
|
169
|
-
};
|
|
170
|
-
/**
|
|
171
|
-
* Returns the community compliance level details based on involvement count.
|
|
172
|
-
*/
|
|
173
|
-
export const getCommunityComplianceLevel = (count) => {
|
|
174
|
-
if (count === 0)
|
|
175
|
-
return { label: 'Tam Uyumlu', color: '#10b981', multiplier: 1.0, severity: 'safe' };
|
|
176
|
-
if (count < 3)
|
|
177
|
-
return { label: 'Biliyor', color: '#3b82f6', multiplier: 1.1, severity: 'low' };
|
|
178
|
-
if (count < 6)
|
|
179
|
-
return { label: 'Dikkat Etmeli', color: '#eab308', multiplier: 1.3, severity: 'medium' };
|
|
180
|
-
if (count < 9)
|
|
181
|
-
return { label: 'Rehberlik Gerekli', color: '#f97316', multiplier: 1.6, severity: 'high' };
|
|
182
|
-
return { label: 'İnceleme Altında', color: '#ef4444', multiplier: 2.0, severity: 'critical' };
|
|
183
|
-
};
|
|
1
|
+
export const PUNISHMENT_RULES = [
|
|
2
|
+
// SOHBET (M1.X)
|
|
3
|
+
{
|
|
4
|
+
id: 'spam-flood',
|
|
5
|
+
article: 'M1.1',
|
|
6
|
+
category: 'SOHBET',
|
|
7
|
+
name: 'Spam / Flood',
|
|
8
|
+
description: 'Sohbet veya yorum alanlarında tekrarlayıcı ve rahatsız edici içerik paylaşımı.',
|
|
9
|
+
duration: 24,
|
|
10
|
+
restrictions: ['CHAT_BAN'],
|
|
11
|
+
severity: 'low',
|
|
12
|
+
isMajor: false
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
id: 'inappropriate-lang',
|
|
16
|
+
article: 'M1.2',
|
|
17
|
+
category: 'SOHBET',
|
|
18
|
+
name: 'Uygunsuz Dil / Küfür',
|
|
19
|
+
description: 'Diğer kullanıcılara yönelik hakaret, küfür veya aşağılayıcı ifadeler.',
|
|
20
|
+
duration: 72,
|
|
21
|
+
restrictions: ['CHAT_BAN'],
|
|
22
|
+
severity: 'medium',
|
|
23
|
+
isMajor: true
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
id: 'toxic-behavior',
|
|
27
|
+
article: 'M1.3',
|
|
28
|
+
category: 'SOHBET',
|
|
29
|
+
name: 'Toksik Davranış / Kışkırtma',
|
|
30
|
+
description: 'Topluluk huzurunu bozmaya yönelik kışkırtmalar ve huzursuzluk çıkarma.',
|
|
31
|
+
duration: 48,
|
|
32
|
+
restrictions: ['CHAT_BAN'],
|
|
33
|
+
severity: 'low',
|
|
34
|
+
isMajor: false
|
|
35
|
+
},
|
|
36
|
+
// İÇERİK (M2.X)
|
|
37
|
+
{
|
|
38
|
+
id: 'misleading-content',
|
|
39
|
+
article: 'M2.1',
|
|
40
|
+
category: 'İÇERİK',
|
|
41
|
+
name: 'Hatalı Paylaşım / Clickbait',
|
|
42
|
+
description: 'Topluluğu yanıltıcı veya gereksiz (çöp) içerik üretimi.',
|
|
43
|
+
duration: 48,
|
|
44
|
+
restrictions: ['POST_BAN'],
|
|
45
|
+
severity: 'low',
|
|
46
|
+
isMajor: false
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: 'illegal-content',
|
|
50
|
+
article: 'M2.2',
|
|
51
|
+
category: 'İÇERİK',
|
|
52
|
+
name: 'İllegal / Uygunsuz Paylaşım',
|
|
53
|
+
description: 'Yasal olmayan içeriklerin, korsan yazılım veya uygunsuz medyanın paylaşımı.',
|
|
54
|
+
duration: 0,
|
|
55
|
+
restrictions: ['PERMANENT_BAN'],
|
|
56
|
+
severity: 'critical',
|
|
57
|
+
isMajor: true
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
id: 'ad-sharing',
|
|
61
|
+
article: 'M2.3',
|
|
62
|
+
category: 'İÇERİK',
|
|
63
|
+
name: 'İzinsiz Reklam / Tanıtım',
|
|
64
|
+
description: 'Yönetimden izin almadan yapılan topluluk, yayıncı veya ürün reklamları.',
|
|
65
|
+
duration: 168,
|
|
66
|
+
restrictions: ['POST_BAN', 'CHAT_BAN'],
|
|
67
|
+
severity: 'medium',
|
|
68
|
+
isMajor: false
|
|
69
|
+
},
|
|
70
|
+
// GÜVENLİK (M3.X)
|
|
71
|
+
{
|
|
72
|
+
id: 'harassment',
|
|
73
|
+
article: 'M3.1',
|
|
74
|
+
category: 'GÜVENLİK',
|
|
75
|
+
name: 'Kullanıcı Taciz / Rahatsızlık',
|
|
76
|
+
description: 'Kullanıcıları sistematik olarak rahatsız etme veya taciz etme.',
|
|
77
|
+
duration: 168,
|
|
78
|
+
restrictions: ['CHAT_BAN', 'POST_BAN', 'PROFILE_EDIT_BAN'],
|
|
79
|
+
severity: 'high',
|
|
80
|
+
isMajor: true
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
id: 'doxxing',
|
|
84
|
+
article: 'M3.2',
|
|
85
|
+
category: 'GÜVENLİK',
|
|
86
|
+
name: 'Kişisel Veri İhlali / Doxxing',
|
|
87
|
+
description: 'Bir kullanıcının gerçek hayat verilerini, adresini veya telefonunu izinsiz paylaşma.',
|
|
88
|
+
duration: 0,
|
|
89
|
+
restrictions: ['PERMANENT_BAN'],
|
|
90
|
+
severity: 'critical',
|
|
91
|
+
isMajor: true
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
id: 'bug-abuse',
|
|
95
|
+
article: 'M3.3',
|
|
96
|
+
category: 'GÜVENLİK',
|
|
97
|
+
name: 'Sistem Odaklı Hata Kullanımı',
|
|
98
|
+
description: 'Platformdaki hataları (bug) bildirmek yerine kendi çıkarı için kullanma.',
|
|
99
|
+
duration: 720, // 1 month
|
|
100
|
+
restrictions: ['LOGIN_BAN', 'POST_BAN'],
|
|
101
|
+
severity: 'high',
|
|
102
|
+
isMajor: true
|
|
103
|
+
},
|
|
104
|
+
// HESAP (M4.X)
|
|
105
|
+
{
|
|
106
|
+
id: 'fake-identity',
|
|
107
|
+
article: 'M4.1',
|
|
108
|
+
category: 'HESAP',
|
|
109
|
+
name: 'Sahte Kimlik / Taklit',
|
|
110
|
+
description: 'Başka bir kullanıcıyı veya yetkiliyi taklit etme.',
|
|
111
|
+
duration: 0,
|
|
112
|
+
restrictions: ['PERMANENT_BAN'],
|
|
113
|
+
severity: 'critical',
|
|
114
|
+
isMajor: true
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
id: 'hate-speech',
|
|
118
|
+
article: 'M4.2',
|
|
119
|
+
category: 'HESAP',
|
|
120
|
+
name: 'Nefret Söylemi / Değerlere Hakaret',
|
|
121
|
+
description: 'Dini, milli veya manevi değerlere yönelik ağır hakaret ve saldırı.',
|
|
122
|
+
duration: 0,
|
|
123
|
+
restrictions: ['PERMANENT_BAN'],
|
|
124
|
+
severity: 'critical',
|
|
125
|
+
isMajor: true
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
id: 'fraud',
|
|
129
|
+
article: 'M4.3',
|
|
130
|
+
category: 'HESAP',
|
|
131
|
+
name: 'Dolandırıcılık / Sahtekarlık',
|
|
132
|
+
description: 'Hizmet veya ürün alımlarında kullanıcıları veya sistemi dolandırma girişimi.',
|
|
133
|
+
duration: 0,
|
|
134
|
+
restrictions: ['PERMANENT_BAN'],
|
|
135
|
+
severity: 'critical',
|
|
136
|
+
isMajor: true
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
id: 'multi-account',
|
|
140
|
+
article: 'M4.4',
|
|
141
|
+
category: 'HESAP',
|
|
142
|
+
name: 'Çoklu Hesap / Multi Account',
|
|
143
|
+
description: 'Yasaklandığı halde farklı hesaplarla sisteme tekrar dahil olma girişimi.',
|
|
144
|
+
duration: 0,
|
|
145
|
+
restrictions: ['PERMANENT_BAN'],
|
|
146
|
+
severity: 'critical',
|
|
147
|
+
isMajor: true
|
|
148
|
+
}
|
|
149
|
+
];
|
|
150
|
+
export const getRestrictionLabel = (type) => {
|
|
151
|
+
switch (type) {
|
|
152
|
+
case 'CHAT_BAN': return 'Sohbet Yasağı';
|
|
153
|
+
case 'POST_BAN': return 'Paylaşım Yasağı';
|
|
154
|
+
case 'PROFILE_EDIT_BAN': return 'Profil Düzenleme Yasağı';
|
|
155
|
+
case 'LOGIN_BAN': return 'Giriş Yasağı';
|
|
156
|
+
case 'PERMANENT_BAN': return 'Kalıcı Yasaklama (Ban)';
|
|
157
|
+
default: return 'Bilinmeyen Kısıtlama';
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* Calculates the escalated duration based on the number of previous punishments.
|
|
162
|
+
* Formula: base * multiplier
|
|
163
|
+
*/
|
|
164
|
+
export const calculateEscalatedDuration = (baseDuration, punishmentCount) => {
|
|
165
|
+
if (baseDuration === 0)
|
|
166
|
+
return 0; // Permanent stays permanent
|
|
167
|
+
const level = getCommunityComplianceLevel(punishmentCount);
|
|
168
|
+
return Math.round(baseDuration * level.multiplier);
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Returns the community compliance level details based on involvement count.
|
|
172
|
+
*/
|
|
173
|
+
export const getCommunityComplianceLevel = (count) => {
|
|
174
|
+
if (count === 0)
|
|
175
|
+
return { label: 'Tam Uyumlu', color: '#10b981', multiplier: 1.0, severity: 'safe' };
|
|
176
|
+
if (count < 3)
|
|
177
|
+
return { label: 'Biliyor', color: '#3b82f6', multiplier: 1.1, severity: 'low' };
|
|
178
|
+
if (count < 6)
|
|
179
|
+
return { label: 'Dikkat Etmeli', color: '#eab308', multiplier: 1.3, severity: 'medium' };
|
|
180
|
+
if (count < 9)
|
|
181
|
+
return { label: 'Rehberlik Gerekli', color: '#f97316', multiplier: 1.6, severity: 'high' };
|
|
182
|
+
return { label: 'İnceleme Altında', color: '#ef4444', multiplier: 2.0, severity: 'critical' };
|
|
183
|
+
};
|
|
184
184
|
//# sourceMappingURL=punishmentData.js.map
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { Survey, SurveyAnswer } from '@armoyu/core';
|
|
2
|
-
// Assuming we need userList from seedData, but let's define some IDs locally
|
|
3
|
-
// to avoid circular dependencies if we move it.
|
|
4
|
-
// For now, let's just use the existing author objects from what we know.
|
|
5
|
-
export const MOCK_SURVEYS_DATA = (userList) => [
|
|
6
|
-
new Survey({
|
|
7
|
-
id: 's1',
|
|
8
|
-
question: 'Bir sonraki turnuva hangi oyunda olmalı?',
|
|
9
|
-
description: 'Topluluk haftalık turnuvaları için oyun seçimi yapıyoruz. Oyununuzu kullanın!',
|
|
10
|
-
createdAt: '2 gün önce',
|
|
11
|
-
expiresAt: '2024-05-10',
|
|
12
|
-
author: userList[0],
|
|
13
|
-
options: [
|
|
14
|
-
new SurveyAnswer({ id: 'o1', text: 'Counter-Strike 2', votes: 145 }),
|
|
15
|
-
new SurveyAnswer({ id: 'o2', text: 'League of Legends', votes: 89 }),
|
|
16
|
-
new SurveyAnswer({ id: 'o3', text: 'Valorant', votes: 210 }),
|
|
17
|
-
new SurveyAnswer({ id: 'o4', text: 'Rocket League', votes: 42 }),
|
|
18
|
-
],
|
|
19
|
-
hasVoted: true,
|
|
20
|
-
myVoteId: 'o3'
|
|
21
|
-
}),
|
|
22
|
-
new Survey({
|
|
23
|
-
id: 's2',
|
|
24
|
-
question: 'ARMOYU V3 tasarımı hakkında ne düşünüyorsunuz?',
|
|
25
|
-
description: 'Yeni nesil arayüzümüz hakkındaki görüşleriniz bizim için çok değerli. Lütfen puan verin!',
|
|
26
|
-
createdAt: '5 saat önce',
|
|
27
|
-
author: userList[0],
|
|
28
|
-
options: [
|
|
29
|
-
new SurveyAnswer({ id: 'o1', text: 'Mükemmel, çok modern!', votes: 450 }),
|
|
30
|
-
new SurveyAnswer({ id: 'o2', text: 'Güzel ama gelişmesi gereken yerler var.', votes: 65 }),
|
|
31
|
-
new SurveyAnswer({ id: 'o3', text: 'Eskisi daha iyiydi.', votes: 12 }),
|
|
32
|
-
],
|
|
33
|
-
hasVoted: false
|
|
34
|
-
}),
|
|
35
|
-
new Survey({
|
|
36
|
-
id: 's3',
|
|
37
|
-
question: 'Yazılım ekibimize yeni üyeler katılmalı mı?',
|
|
38
|
-
description: 'Genişleyen projelerimiz için yeni yetenekler arıyoruz.',
|
|
39
|
-
createdAt: '1 gün önce',
|
|
40
|
-
expiresAt: '2024-04-30',
|
|
41
|
-
author: userList[1],
|
|
42
|
-
options: [
|
|
43
|
-
new SurveyAnswer({ id: 'o1', text: 'Evet, daha hızlı ilerleriz.', votes: 210 }),
|
|
44
|
-
new SurveyAnswer({ id: 'o2', text: 'Hayır, şu anki ekip yeterli.', votes: 45 }),
|
|
45
|
-
],
|
|
46
|
-
hasVoted: true,
|
|
47
|
-
myVoteId: 'o1'
|
|
48
|
-
})
|
|
49
|
-
];
|
|
1
|
+
import { Survey, SurveyAnswer } from '@armoyu/core';
|
|
2
|
+
// Assuming we need userList from seedData, but let's define some IDs locally
|
|
3
|
+
// to avoid circular dependencies if we move it.
|
|
4
|
+
// For now, let's just use the existing author objects from what we know.
|
|
5
|
+
export const MOCK_SURVEYS_DATA = (userList) => [
|
|
6
|
+
new Survey({
|
|
7
|
+
id: 's1',
|
|
8
|
+
question: 'Bir sonraki turnuva hangi oyunda olmalı?',
|
|
9
|
+
description: 'Topluluk haftalık turnuvaları için oyun seçimi yapıyoruz. Oyununuzu kullanın!',
|
|
10
|
+
createdAt: '2 gün önce',
|
|
11
|
+
expiresAt: '2024-05-10',
|
|
12
|
+
author: userList[0],
|
|
13
|
+
options: [
|
|
14
|
+
new SurveyAnswer({ id: 'o1', text: 'Counter-Strike 2', votes: 145 }),
|
|
15
|
+
new SurveyAnswer({ id: 'o2', text: 'League of Legends', votes: 89 }),
|
|
16
|
+
new SurveyAnswer({ id: 'o3', text: 'Valorant', votes: 210 }),
|
|
17
|
+
new SurveyAnswer({ id: 'o4', text: 'Rocket League', votes: 42 }),
|
|
18
|
+
],
|
|
19
|
+
hasVoted: true,
|
|
20
|
+
myVoteId: 'o3'
|
|
21
|
+
}),
|
|
22
|
+
new Survey({
|
|
23
|
+
id: 's2',
|
|
24
|
+
question: 'ARMOYU V3 tasarımı hakkında ne düşünüyorsunuz?',
|
|
25
|
+
description: 'Yeni nesil arayüzümüz hakkındaki görüşleriniz bizim için çok değerli. Lütfen puan verin!',
|
|
26
|
+
createdAt: '5 saat önce',
|
|
27
|
+
author: userList[0],
|
|
28
|
+
options: [
|
|
29
|
+
new SurveyAnswer({ id: 'o1', text: 'Mükemmel, çok modern!', votes: 450 }),
|
|
30
|
+
new SurveyAnswer({ id: 'o2', text: 'Güzel ama gelişmesi gereken yerler var.', votes: 65 }),
|
|
31
|
+
new SurveyAnswer({ id: 'o3', text: 'Eskisi daha iyiydi.', votes: 12 }),
|
|
32
|
+
],
|
|
33
|
+
hasVoted: false
|
|
34
|
+
}),
|
|
35
|
+
new Survey({
|
|
36
|
+
id: 's3',
|
|
37
|
+
question: 'Yazılım ekibimize yeni üyeler katılmalı mı?',
|
|
38
|
+
description: 'Genişleyen projelerimiz için yeni yetenekler arıyoruz.',
|
|
39
|
+
createdAt: '1 gün önce',
|
|
40
|
+
expiresAt: '2024-04-30',
|
|
41
|
+
author: userList[1],
|
|
42
|
+
options: [
|
|
43
|
+
new SurveyAnswer({ id: 'o1', text: 'Evet, daha hızlı ilerleriz.', votes: 210 }),
|
|
44
|
+
new SurveyAnswer({ id: 'o2', text: 'Hayır, şu anki ekip yeterli.', votes: 45 }),
|
|
45
|
+
],
|
|
46
|
+
hasVoted: true,
|
|
47
|
+
myVoteId: 'o1'
|
|
48
|
+
})
|
|
49
|
+
];
|
|
50
50
|
//# sourceMappingURL=surveyData.js.map
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import { Team } from '@armoyu/core';
|
|
2
|
-
/**
|
|
3
|
-
* Super League Teams Data
|
|
4
|
-
*/
|
|
5
|
-
export const SUPER_LEAGUE_TEAMS = [
|
|
6
|
-
new Team({
|
|
7
|
-
id: 't1',
|
|
8
|
-
name: 'Galatasaray',
|
|
9
|
-
shortName: 'GS',
|
|
10
|
-
logo: 'https://upload.wikimedia.org/wikipedia/commons/thumb/3/37/Galatasaray_Star_Logo.png/600px-Galatasaray_Star_Logo.png',
|
|
11
|
-
primaryColor: '#ef4444'
|
|
12
|
-
}),
|
|
13
|
-
new Team({
|
|
14
|
-
id: 't2',
|
|
15
|
-
name: 'Fenerbahçe',
|
|
16
|
-
shortName: 'FB',
|
|
17
|
-
logo: 'https://upload.wikimedia.org/wikipedia/tr/thumb/8/86/Fenerbah%C3%A7e_SK.png/600px-Fenerbah%C3%A7e_SK.png',
|
|
18
|
-
primaryColor: '#fbbf24'
|
|
19
|
-
}),
|
|
20
|
-
new Team({
|
|
21
|
-
id: 't3',
|
|
22
|
-
name: 'Beşiktaş',
|
|
23
|
-
shortName: 'BJK',
|
|
24
|
-
logo: 'https://upload.wikimedia.org/wikipedia/commons/thumb/2/20/Logo_of_Be%C5%9Fikta%C5%9F_JK.svg/600px-Logo_of_Be%C5%9Fikta%C5%9F_JK.svg.png',
|
|
25
|
-
primaryColor: '#000000'
|
|
26
|
-
}),
|
|
27
|
-
new Team({
|
|
28
|
-
id: 't4',
|
|
29
|
-
name: 'Trabzonspor',
|
|
30
|
-
shortName: 'TS',
|
|
31
|
-
logo: 'https://upload.wikimedia.org/wikipedia/tr/thumb/a/ab/Trabzonspor_Logo.png/600px-Trabzonspor_Logo.png',
|
|
32
|
-
primaryColor: '#9d174d'
|
|
33
|
-
}),
|
|
34
|
-
new Team({
|
|
35
|
-
id: 't5',
|
|
36
|
-
name: 'Başakşehir',
|
|
37
|
-
shortName: 'IBFK',
|
|
38
|
-
logo: 'https://upload.wikimedia.org/wikipedia/tr/thumb/c/c6/Istanbul_Basaksehir_FK.png/600px-Istanbul_Basaksehir_FK.png',
|
|
39
|
-
primaryColor: '#f97316'
|
|
40
|
-
}),
|
|
41
|
-
new Team({
|
|
42
|
-
id: 'none',
|
|
43
|
-
name: 'Takım Tutmuyorum',
|
|
44
|
-
shortName: 'NONE',
|
|
45
|
-
logo: '',
|
|
46
|
-
primaryColor: '#808080'
|
|
47
|
-
})
|
|
48
|
-
];
|
|
49
|
-
/**
|
|
50
|
-
* Zodiac Signs Data
|
|
51
|
-
*/
|
|
52
|
-
export const ZODIAC_SIGNS = [
|
|
53
|
-
{ name: 'Koç', icon: '♈' },
|
|
54
|
-
{ name: 'Boğa', icon: '♉' },
|
|
55
|
-
{ name: 'İkizler', icon: '♊' },
|
|
56
|
-
{ name: 'Yengeç', icon: '♋' },
|
|
57
|
-
{ name: 'Aslan', icon: '♌' },
|
|
58
|
-
{ name: 'Başak', icon: '♍' },
|
|
59
|
-
{ name: 'Terazi', icon: '♎' },
|
|
60
|
-
{ name: 'Akrep', icon: '♏' },
|
|
61
|
-
{ name: 'Yay', icon: '♐' },
|
|
62
|
-
{ name: 'Oğlak', icon: '♑' },
|
|
63
|
-
{ name: 'Kova', icon: '♒' },
|
|
64
|
-
{ name: 'Balık', icon: '♓' }
|
|
65
|
-
];
|
|
1
|
+
import { Team } from '@armoyu/core';
|
|
2
|
+
/**
|
|
3
|
+
* Super League Teams Data
|
|
4
|
+
*/
|
|
5
|
+
export const SUPER_LEAGUE_TEAMS = [
|
|
6
|
+
new Team({
|
|
7
|
+
id: 't1',
|
|
8
|
+
name: 'Galatasaray',
|
|
9
|
+
shortName: 'GS',
|
|
10
|
+
logo: 'https://upload.wikimedia.org/wikipedia/commons/thumb/3/37/Galatasaray_Star_Logo.png/600px-Galatasaray_Star_Logo.png',
|
|
11
|
+
primaryColor: '#ef4444'
|
|
12
|
+
}),
|
|
13
|
+
new Team({
|
|
14
|
+
id: 't2',
|
|
15
|
+
name: 'Fenerbahçe',
|
|
16
|
+
shortName: 'FB',
|
|
17
|
+
logo: 'https://upload.wikimedia.org/wikipedia/tr/thumb/8/86/Fenerbah%C3%A7e_SK.png/600px-Fenerbah%C3%A7e_SK.png',
|
|
18
|
+
primaryColor: '#fbbf24'
|
|
19
|
+
}),
|
|
20
|
+
new Team({
|
|
21
|
+
id: 't3',
|
|
22
|
+
name: 'Beşiktaş',
|
|
23
|
+
shortName: 'BJK',
|
|
24
|
+
logo: 'https://upload.wikimedia.org/wikipedia/commons/thumb/2/20/Logo_of_Be%C5%9Fikta%C5%9F_JK.svg/600px-Logo_of_Be%C5%9Fikta%C5%9F_JK.svg.png',
|
|
25
|
+
primaryColor: '#000000'
|
|
26
|
+
}),
|
|
27
|
+
new Team({
|
|
28
|
+
id: 't4',
|
|
29
|
+
name: 'Trabzonspor',
|
|
30
|
+
shortName: 'TS',
|
|
31
|
+
logo: 'https://upload.wikimedia.org/wikipedia/tr/thumb/a/ab/Trabzonspor_Logo.png/600px-Trabzonspor_Logo.png',
|
|
32
|
+
primaryColor: '#9d174d'
|
|
33
|
+
}),
|
|
34
|
+
new Team({
|
|
35
|
+
id: 't5',
|
|
36
|
+
name: 'Başakşehir',
|
|
37
|
+
shortName: 'IBFK',
|
|
38
|
+
logo: 'https://upload.wikimedia.org/wikipedia/tr/thumb/c/c6/Istanbul_Basaksehir_FK.png/600px-Istanbul_Basaksehir_FK.png',
|
|
39
|
+
primaryColor: '#f97316'
|
|
40
|
+
}),
|
|
41
|
+
new Team({
|
|
42
|
+
id: 'none',
|
|
43
|
+
name: 'Takım Tutmuyorum',
|
|
44
|
+
shortName: 'NONE',
|
|
45
|
+
logo: '',
|
|
46
|
+
primaryColor: '#808080'
|
|
47
|
+
})
|
|
48
|
+
];
|
|
49
|
+
/**
|
|
50
|
+
* Zodiac Signs Data
|
|
51
|
+
*/
|
|
52
|
+
export const ZODIAC_SIGNS = [
|
|
53
|
+
{ name: 'Koç', icon: '♈' },
|
|
54
|
+
{ name: 'Boğa', icon: '♉' },
|
|
55
|
+
{ name: 'İkizler', icon: '♊' },
|
|
56
|
+
{ name: 'Yengeç', icon: '♋' },
|
|
57
|
+
{ name: 'Aslan', icon: '♌' },
|
|
58
|
+
{ name: 'Başak', icon: '♍' },
|
|
59
|
+
{ name: 'Terazi', icon: '♎' },
|
|
60
|
+
{ name: 'Akrep', icon: '♏' },
|
|
61
|
+
{ name: 'Yay', icon: '♐' },
|
|
62
|
+
{ name: 'Oğlak', icon: '♑' },
|
|
63
|
+
{ name: 'Kova', icon: '♒' },
|
|
64
|
+
{ name: 'Balık', icon: '♓' }
|
|
65
|
+
];
|
|
66
66
|
//# sourceMappingURL=teamData.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PostCardProps } from '../../components/modules/posts/widgets/PostCard';
|
|
2
|
+
/**
|
|
3
|
+
* Standardizes API post objects into PostCardProps for UI components.
|
|
4
|
+
* Handles different field naming conventions across ARMOYU API versions.
|
|
5
|
+
*/
|
|
6
|
+
export declare function mapApiPostToCardProps(p: any): PostCardProps;
|
|
7
|
+
//# sourceMappingURL=postUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postUtils.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/postUtils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAEhF;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,GAAG,GAAG,aAAa,CA0C3D"}
|