@armoyu/ui 1.0.0
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/layout.d.ts +7 -0
- package/dist/app/layout.d.ts.map +1 -0
- package/dist/app/layout.js +31 -0
- package/dist/app/layout.js.map +1 -0
- package/dist/app/page.d.ts +2 -0
- package/dist/app/page.d.ts.map +1 -0
- package/dist/app/page.js +40 -0
- package/dist/app/page.js.map +1 -0
- package/dist/components/Button.d.ts +8 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/Button.js +16 -0
- package/dist/components/Button.js.map +1 -0
- package/dist/components/GenderStatsBar.d.ts +6 -0
- package/dist/components/GenderStatsBar.d.ts.map +1 -0
- package/dist/components/GenderStatsBar.js +8 -0
- package/dist/components/GenderStatsBar.js.map +1 -0
- package/dist/components/RollingNumber.d.ts +7 -0
- package/dist/components/RollingNumber.d.ts.map +1 -0
- package/dist/components/RollingNumber.js +24 -0
- package/dist/components/RollingNumber.js.map +1 -0
- package/dist/components/Slider.d.ts +11 -0
- package/dist/components/Slider.d.ts.map +1 -0
- package/dist/components/Slider.js +36 -0
- package/dist/components/Slider.js.map +1 -0
- package/dist/components/StatsGrid.d.ts +6 -0
- package/dist/components/StatsGrid.d.ts.map +1 -0
- package/dist/components/StatsGrid.js +14 -0
- package/dist/components/StatsGrid.js.map +1 -0
- package/dist/components/ViewModeToggle.d.ts +8 -0
- package/dist/components/ViewModeToggle.d.ts.map +1 -0
- package/dist/components/ViewModeToggle.js +10 -0
- package/dist/components/ViewModeToggle.js.map +1 -0
- package/dist/components/modules/auth/Dashboard.d.ts +2 -0
- package/dist/components/modules/auth/Dashboard.d.ts.map +1 -0
- package/dist/components/modules/auth/Dashboard.js +251 -0
- package/dist/components/modules/auth/Dashboard.js.map +1 -0
- package/dist/components/modules/auth/MediaLightbox.d.ts +14 -0
- package/dist/components/modules/auth/MediaLightbox.d.ts.map +1 -0
- package/dist/components/modules/auth/MediaLightbox.js +47 -0
- package/dist/components/modules/auth/MediaLightbox.js.map +1 -0
- package/dist/components/modules/auth/PostCard.d.ts +25 -0
- package/dist/components/modules/auth/PostCard.d.ts.map +1 -0
- package/dist/components/modules/auth/PostCard.js +113 -0
- package/dist/components/modules/auth/PostCard.js.map +1 -0
- package/dist/components/modules/auth/PostInteractionsModal.d.ts +12 -0
- package/dist/components/modules/auth/PostInteractionsModal.d.ts.map +1 -0
- package/dist/components/modules/auth/PostInteractionsModal.js +13 -0
- package/dist/components/modules/auth/PostInteractionsModal.js.map +1 -0
- package/dist/components/modules/auth/RepostModal.d.ts +22 -0
- package/dist/components/modules/auth/RepostModal.d.ts.map +1 -0
- package/dist/components/modules/auth/RepostModal.js +76 -0
- package/dist/components/modules/auth/RepostModal.js.map +1 -0
- package/dist/components/modules/auth/SidebarLeft.d.ts +2 -0
- package/dist/components/modules/auth/SidebarLeft.d.ts.map +1 -0
- package/dist/components/modules/auth/SidebarLeft.js +41 -0
- package/dist/components/modules/auth/SidebarLeft.js.map +1 -0
- package/dist/components/modules/auth/Stories.d.ts +2 -0
- package/dist/components/modules/auth/Stories.d.ts.map +1 -0
- package/dist/components/modules/auth/Stories.js +16 -0
- package/dist/components/modules/auth/Stories.js.map +1 -0
- package/dist/components/modules/auth/StoryViewer.d.ts +10 -0
- package/dist/components/modules/auth/StoryViewer.d.ts.map +1 -0
- package/dist/components/modules/auth/StoryViewer.js +48 -0
- package/dist/components/modules/auth/StoryViewer.js.map +1 -0
- package/dist/components/modules/chat/ChatContainer.d.ts +2 -0
- package/dist/components/modules/chat/ChatContainer.d.ts.map +1 -0
- package/dist/components/modules/chat/ChatContainer.js +197 -0
- package/dist/components/modules/chat/ChatContainer.js.map +1 -0
- package/dist/components/modules/chat/ChatInput.d.ts +5 -0
- package/dist/components/modules/chat/ChatInput.d.ts.map +1 -0
- package/dist/components/modules/chat/ChatInput.js +31 -0
- package/dist/components/modules/chat/ChatInput.js.map +1 -0
- package/dist/components/modules/chat/ChatList.d.ts +7 -0
- package/dist/components/modules/chat/ChatList.d.ts.map +1 -0
- package/dist/components/modules/chat/ChatList.js +52 -0
- package/dist/components/modules/chat/ChatList.js.map +1 -0
- package/dist/components/modules/chat/ChatMessage.d.ts +12 -0
- package/dist/components/modules/chat/ChatMessage.d.ts.map +1 -0
- package/dist/components/modules/chat/ChatMessage.js +7 -0
- package/dist/components/modules/chat/ChatMessage.js.map +1 -0
- package/dist/components/modules/chat/ChatNotes.d.ts +2 -0
- package/dist/components/modules/chat/ChatNotes.d.ts.map +1 -0
- package/dist/components/modules/chat/ChatNotes.js +12 -0
- package/dist/components/modules/chat/ChatNotes.js.map +1 -0
- package/dist/components/modules/community/GroupHeader.d.ts +11 -0
- package/dist/components/modules/community/GroupHeader.d.ts.map +1 -0
- package/dist/components/modules/community/GroupHeader.js +18 -0
- package/dist/components/modules/community/GroupHeader.js.map +1 -0
- package/dist/components/modules/community/GroupMenu.d.ts +10 -0
- package/dist/components/modules/community/GroupMenu.d.ts.map +1 -0
- package/dist/components/modules/community/GroupMenu.js +17 -0
- package/dist/components/modules/community/GroupMenu.js.map +1 -0
- package/dist/components/modules/community/SchoolCard.d.ts +7 -0
- package/dist/components/modules/community/SchoolCard.d.ts.map +1 -0
- package/dist/components/modules/community/SchoolCard.js +8 -0
- package/dist/components/modules/community/SchoolCard.js.map +1 -0
- package/dist/components/modules/community/SurveyCard.d.ts +7 -0
- package/dist/components/modules/community/SurveyCard.d.ts.map +1 -0
- package/dist/components/modules/community/SurveyCard.js +38 -0
- package/dist/components/modules/community/SurveyCard.js.map +1 -0
- package/dist/components/modules/forum/ForumBoard.d.ts +17 -0
- package/dist/components/modules/forum/ForumBoard.d.ts.map +1 -0
- package/dist/components/modules/forum/ForumBoard.js +7 -0
- package/dist/components/modules/forum/ForumBoard.js.map +1 -0
- package/dist/components/modules/forum/ForumPost.d.ts +14 -0
- package/dist/components/modules/forum/ForumPost.d.ts.map +1 -0
- package/dist/components/modules/forum/ForumPost.js +6 -0
- package/dist/components/modules/forum/ForumPost.js.map +1 -0
- package/dist/components/modules/forum/NewTopicModal.d.ts +8 -0
- package/dist/components/modules/forum/NewTopicModal.d.ts.map +1 -0
- package/dist/components/modules/forum/NewTopicModal.js +27 -0
- package/dist/components/modules/forum/NewTopicModal.js.map +1 -0
- package/dist/components/modules/forum/TopicItem.d.ts +16 -0
- package/dist/components/modules/forum/TopicItem.d.ts.map +1 -0
- package/dist/components/modules/forum/TopicItem.js +7 -0
- package/dist/components/modules/forum/TopicItem.js.map +1 -0
- package/dist/components/modules/galleries/GalleryCard.d.ts +10 -0
- package/dist/components/modules/galleries/GalleryCard.d.ts.map +1 -0
- package/dist/components/modules/galleries/GalleryCard.js +6 -0
- package/dist/components/modules/galleries/GalleryCard.js.map +1 -0
- package/dist/components/modules/giveaways/GiveawayCard.d.ts +10 -0
- package/dist/components/modules/giveaways/GiveawayCard.d.ts.map +1 -0
- package/dist/components/modules/giveaways/GiveawayCard.js +7 -0
- package/dist/components/modules/giveaways/GiveawayCard.js.map +1 -0
- package/dist/components/modules/groups/ApplicationModal.d.ts +8 -0
- package/dist/components/modules/groups/ApplicationModal.d.ts.map +1 -0
- package/dist/components/modules/groups/ApplicationModal.js +28 -0
- package/dist/components/modules/groups/ApplicationModal.js.map +1 -0
- package/dist/components/modules/groups/GroupCard.d.ts +13 -0
- package/dist/components/modules/groups/GroupCard.d.ts.map +1 -0
- package/dist/components/modules/groups/GroupCard.js +7 -0
- package/dist/components/modules/groups/GroupCard.js.map +1 -0
- package/dist/components/modules/guest/Introduction.d.ts +2 -0
- package/dist/components/modules/guest/Introduction.d.ts.map +1 -0
- package/dist/components/modules/guest/Introduction.js +14 -0
- package/dist/components/modules/guest/Introduction.js.map +1 -0
- package/dist/components/modules/magaza/BackToStore.d.ts +2 -0
- package/dist/components/modules/magaza/BackToStore.d.ts.map +1 -0
- package/dist/components/modules/magaza/BackToStore.js +11 -0
- package/dist/components/modules/magaza/BackToStore.js.map +1 -0
- package/dist/components/modules/magaza/StoreHeader.d.ts +6 -0
- package/dist/components/modules/magaza/StoreHeader.d.ts.map +1 -0
- package/dist/components/modules/magaza/StoreHeader.js +9 -0
- package/dist/components/modules/magaza/StoreHeader.js.map +1 -0
- package/dist/components/modules/news/NewsCard.d.ts +12 -0
- package/dist/components/modules/news/NewsCard.d.ts.map +1 -0
- package/dist/components/modules/news/NewsCard.js +7 -0
- package/dist/components/modules/news/NewsCard.js.map +1 -0
- package/dist/components/modules/news/NewsComments.d.ts +2 -0
- package/dist/components/modules/news/NewsComments.d.ts.map +1 -0
- package/dist/components/modules/news/NewsComments.js +53 -0
- package/dist/components/modules/news/NewsComments.js.map +1 -0
- package/dist/components/modules/profile/CloudStorageModal.d.ts +9 -0
- package/dist/components/modules/profile/CloudStorageModal.d.ts.map +1 -0
- package/dist/components/modules/profile/CloudStorageModal.js +32 -0
- package/dist/components/modules/profile/CloudStorageModal.js.map +1 -0
- package/dist/components/modules/profile/EditProfileModal.d.ts +9 -0
- package/dist/components/modules/profile/EditProfileModal.d.ts.map +1 -0
- package/dist/components/modules/profile/EditProfileModal.js +28 -0
- package/dist/components/modules/profile/EditProfileModal.js.map +1 -0
- package/dist/components/modules/profile/ProfileContent.d.ts +5 -0
- package/dist/components/modules/profile/ProfileContent.d.ts.map +1 -0
- package/dist/components/modules/profile/ProfileContent.js +71 -0
- package/dist/components/modules/profile/ProfileContent.js.map +1 -0
- package/dist/components/modules/profile/ProfileHeader.d.ts +8 -0
- package/dist/components/modules/profile/ProfileHeader.d.ts.map +1 -0
- package/dist/components/modules/profile/ProfileHeader.js +20 -0
- package/dist/components/modules/profile/ProfileHeader.js.map +1 -0
- package/dist/components/modules/profile/ProfileStats.d.ts +2 -0
- package/dist/components/modules/profile/ProfileStats.d.ts.map +1 -0
- package/dist/components/modules/profile/ProfileStats.js +15 -0
- package/dist/components/modules/profile/ProfileStats.js.map +1 -0
- package/dist/components/modules/profile/TeamSelectorModal.d.ts +11 -0
- package/dist/components/modules/profile/TeamSelectorModal.d.ts.map +1 -0
- package/dist/components/modules/profile/TeamSelectorModal.js +17 -0
- package/dist/components/modules/profile/TeamSelectorModal.js.map +1 -0
- package/dist/components/modules/stations/StationCard.d.ts +3 -0
- package/dist/components/modules/stations/StationCard.d.ts.map +1 -0
- package/dist/components/modules/stations/StationCard.js +26 -0
- package/dist/components/modules/stations/StationCard.js.map +1 -0
- package/dist/components/modules/stations/StationQRModal.d.ts +10 -0
- package/dist/components/modules/stations/StationQRModal.d.ts.map +1 -0
- package/dist/components/modules/stations/StationQRModal.js +13 -0
- package/dist/components/modules/stations/StationQRModal.js.map +1 -0
- package/dist/components/shared/FloatingChatButton.d.ts +5 -0
- package/dist/components/shared/FloatingChatButton.d.ts.map +1 -0
- package/dist/components/shared/FloatingChatButton.js +21 -0
- package/dist/components/shared/FloatingChatButton.js.map +1 -0
- package/dist/components/shared/Footer.d.ts +2 -0
- package/dist/components/shared/Footer.d.ts.map +1 -0
- package/dist/components/shared/Footer.js +10 -0
- package/dist/components/shared/Footer.js.map +1 -0
- package/dist/components/shared/Header.d.ts +2 -0
- package/dist/components/shared/Header.d.ts.map +1 -0
- package/dist/components/shared/Header.js +98 -0
- package/dist/components/shared/Header.js.map +1 -0
- package/dist/components/shared/LoginModal.d.ts +5 -0
- package/dist/components/shared/LoginModal.d.ts.map +1 -0
- package/dist/components/shared/LoginModal.js +70 -0
- package/dist/components/shared/LoginModal.js.map +1 -0
- package/dist/components/shared/MainLayoutWrapper.d.ts +4 -0
- package/dist/components/shared/MainLayoutWrapper.d.ts.map +1 -0
- package/dist/components/shared/MainLayoutWrapper.js +8 -0
- package/dist/components/shared/MainLayoutWrapper.js.map +1 -0
- package/dist/components/shared/PageWidth.d.ts +6 -0
- package/dist/components/shared/PageWidth.d.ts.map +1 -0
- package/dist/components/shared/PageWidth.js +14 -0
- package/dist/components/shared/PageWidth.js.map +1 -0
- package/dist/components/showcase/CommunityTab.d.ts +2 -0
- package/dist/components/showcase/CommunityTab.d.ts.map +1 -0
- package/dist/components/showcase/CommunityTab.js +6 -0
- package/dist/components/showcase/CommunityTab.js.map +1 -0
- package/dist/components/showcase/CorporateTab.d.ts +2 -0
- package/dist/components/showcase/CorporateTab.d.ts.map +1 -0
- package/dist/components/showcase/CorporateTab.js +6 -0
- package/dist/components/showcase/CorporateTab.js.map +1 -0
- package/dist/components/showcase/GeneralTab.d.ts +2 -0
- package/dist/components/showcase/GeneralTab.d.ts.map +1 -0
- package/dist/components/showcase/GeneralTab.js +6 -0
- package/dist/components/showcase/GeneralTab.js.map +1 -0
- package/dist/components/showcase/MessagesTab.d.ts +2 -0
- package/dist/components/showcase/MessagesTab.d.ts.map +1 -0
- package/dist/components/showcase/MessagesTab.js +6 -0
- package/dist/components/showcase/MessagesTab.js.map +1 -0
- package/dist/components/showcase/ProfileTab.d.ts +2 -0
- package/dist/components/showcase/ProfileTab.d.ts.map +1 -0
- package/dist/components/showcase/ProfileTab.js +7 -0
- package/dist/components/showcase/ProfileTab.js.map +1 -0
- package/dist/components/showcase/ShopTab.d.ts +2 -0
- package/dist/components/showcase/ShopTab.d.ts.map +1 -0
- package/dist/components/showcase/ShopTab.js +6 -0
- package/dist/components/showcase/ShopTab.js.map +1 -0
- package/dist/components/showcase/SocialTab.d.ts +2 -0
- package/dist/components/showcase/SocialTab.d.ts.map +1 -0
- package/dist/components/showcase/SocialTab.js +7 -0
- package/dist/components/showcase/SocialTab.js.map +1 -0
- package/dist/context/AuthContext.d.ts +19 -0
- package/dist/context/AuthContext.d.ts.map +1 -0
- package/dist/context/AuthContext.js +75 -0
- package/dist/context/AuthContext.js.map +1 -0
- package/dist/context/CartContext.d.ts +17 -0
- package/dist/context/CartContext.d.ts.map +1 -0
- package/dist/context/CartContext.js +64 -0
- package/dist/context/CartContext.js.map +1 -0
- package/dist/context/ChatContext.d.ts +13 -0
- package/dist/context/ChatContext.d.ts.map +1 -0
- package/dist/context/ChatContext.js +18 -0
- package/dist/context/ChatContext.js.map +1 -0
- package/dist/context/LayoutContext.d.ts +11 -0
- package/dist/context/LayoutContext.d.ts.map +1 -0
- package/dist/context/LayoutContext.js +17 -0
- package/dist/context/LayoutContext.js.map +1 -0
- package/dist/context/SocketContext.d.ts +13 -0
- package/dist/context/SocketContext.d.ts.map +1 -0
- package/dist/context/SocketContext.js +31 -0
- package/dist/context/SocketContext.js.map +1 -0
- package/dist/context/ThemeContext.d.ts +11 -0
- package/dist/context/ThemeContext.d.ts.map +1 -0
- package/dist/context/ThemeContext.js +40 -0
- package/dist/context/ThemeContext.js.map +1 -0
- package/dist/index.d.ts +66 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +81 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/constants/educationData.d.ts +8 -0
- package/dist/lib/constants/educationData.d.ts.map +1 -0
- package/dist/lib/constants/educationData.js +118 -0
- package/dist/lib/constants/educationData.js.map +1 -0
- package/dist/lib/constants/punishmentData.d.ts +30 -0
- package/dist/lib/constants/punishmentData.d.ts.map +1 -0
- package/dist/lib/constants/punishmentData.js +184 -0
- package/dist/lib/constants/punishmentData.js.map +1 -0
- package/dist/lib/constants/seedData.d.ts +165 -0
- package/dist/lib/constants/seedData.d.ts.map +1 -0
- package/dist/lib/constants/seedData.js +709 -0
- package/dist/lib/constants/seedData.js.map +1 -0
- package/dist/lib/constants/stationData.d.ts +14 -0
- package/dist/lib/constants/stationData.d.ts.map +1 -0
- package/dist/lib/constants/stationData.js +167 -0
- package/dist/lib/constants/stationData.js.map +1 -0
- package/dist/lib/constants/surveyData.d.ts +3 -0
- package/dist/lib/constants/surveyData.d.ts.map +1 -0
- package/dist/lib/constants/surveyData.js +50 -0
- package/dist/lib/constants/surveyData.js.map +1 -0
- package/dist/lib/constants/teamData.d.ts +13 -0
- package/dist/lib/constants/teamData.d.ts.map +1 -0
- package/dist/lib/constants/teamData.js +66 -0
- package/dist/lib/constants/teamData.js.map +1 -0
- package/dist/lib/utils/numberFormat.d.ts +10 -0
- package/dist/lib/utils/numberFormat.d.ts.map +1 -0
- package/dist/lib/utils/numberFormat.js +17 -0
- package/dist/lib/utils/numberFormat.js.map +1 -0
- package/dist/lib/utils/odpUtils.d.ts +16 -0
- package/dist/lib/utils/odpUtils.d.ts.map +1 -0
- package/dist/lib/utils/odpUtils.js +44 -0
- package/dist/lib/utils/odpUtils.js.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/stats.d.ts +18 -0
- package/dist/types/stats.d.ts.map +1 -0
- package/dist/types/stats.js +2 -0
- package/dist/types/stats.js.map +1 -0
- package/next.config.ts +13 -0
- package/package.json +46 -0
- package/postcss.config.js +6 -0
- package/src/app/layout.tsx +64 -0
- package/src/app/page.tsx +101 -0
- package/src/components/Button.tsx +41 -0
- package/src/components/GenderStatsBar.tsx +66 -0
- package/src/components/RollingNumber.tsx +50 -0
- package/src/components/Slider.tsx +114 -0
- package/src/components/StatsGrid.tsx +35 -0
- package/src/components/ViewModeToggle.tsx +39 -0
- package/src/components/modules/auth/Dashboard.tsx +649 -0
- package/src/components/modules/auth/MediaLightbox.tsx +112 -0
- package/src/components/modules/auth/PostCard.tsx +556 -0
- package/src/components/modules/auth/PostInteractionsModal.tsx +138 -0
- package/src/components/modules/auth/RepostModal.tsx +167 -0
- package/src/components/modules/auth/SidebarLeft.tsx +237 -0
- package/src/components/modules/auth/Stories.tsx +69 -0
- package/src/components/modules/auth/StoryViewer.tsx +146 -0
- package/src/components/modules/chat/ChatContainer.tsx +332 -0
- package/src/components/modules/chat/ChatInput.tsx +57 -0
- package/src/components/modules/chat/ChatList.tsx +179 -0
- package/src/components/modules/chat/ChatMessage.tsx +43 -0
- package/src/components/modules/chat/ChatNotes.tsx +58 -0
- package/src/components/modules/community/GroupHeader.tsx +111 -0
- package/src/components/modules/community/GroupMenu.tsx +82 -0
- package/src/components/modules/community/SchoolCard.tsx +104 -0
- package/src/components/modules/community/SurveyCard.tsx +149 -0
- package/src/components/modules/forum/ForumBoard.tsx +78 -0
- package/src/components/modules/forum/ForumPost.tsx +71 -0
- package/src/components/modules/forum/NewTopicModal.tsx +112 -0
- package/src/components/modules/forum/TopicItem.tsx +72 -0
- package/src/components/modules/galleries/GalleryCard.tsx +66 -0
- package/src/components/modules/giveaways/GiveawayCard.tsx +76 -0
- package/src/components/modules/groups/ApplicationModal.tsx +133 -0
- package/src/components/modules/groups/GroupCard.tsx +96 -0
- package/src/components/modules/guest/Introduction.tsx +60 -0
- package/src/components/modules/magaza/BackToStore.tsx +53 -0
- package/src/components/modules/magaza/StoreHeader.tsx +74 -0
- package/src/components/modules/news/NewsCard.tsx +66 -0
- package/src/components/modules/news/NewsComments.tsx +141 -0
- package/src/components/modules/profile/CloudStorageModal.tsx +200 -0
- package/src/components/modules/profile/EditProfileModal.tsx +191 -0
- package/src/components/modules/profile/ProfileContent.tsx +491 -0
- package/src/components/modules/profile/ProfileHeader.tsx +128 -0
- package/src/components/modules/profile/ProfileStats.tsx +72 -0
- package/src/components/modules/profile/TeamSelectorModal.tsx +129 -0
- package/src/components/modules/stations/StationCard.tsx +95 -0
- package/src/components/modules/stations/StationQRModal.tsx +102 -0
- package/src/components/shared/FloatingChatButton.tsx +57 -0
- package/src/components/shared/Footer.tsx +77 -0
- package/src/components/shared/Header.tsx +799 -0
- package/src/components/shared/LoginModal.tsx +208 -0
- package/src/components/shared/MainLayoutWrapper.tsx +15 -0
- package/src/components/shared/PageWidth.tsx +22 -0
- package/src/components/showcase/CommunityTab.tsx +22 -0
- package/src/components/showcase/CorporateTab.tsx +38 -0
- package/src/components/showcase/GeneralTab.tsx +41 -0
- package/src/components/showcase/MessagesTab.tsx +26 -0
- package/src/components/showcase/ProfileTab.tsx +20 -0
- package/src/components/showcase/ShopTab.tsx +24 -0
- package/src/components/showcase/SocialTab.tsx +28 -0
- package/src/context/AuthContext.tsx +104 -0
- package/src/context/CartContext.tsx +93 -0
- package/src/context/ChatContext.tsx +32 -0
- package/src/context/LayoutContext.tsx +29 -0
- package/src/context/SocketContext.tsx +50 -0
- package/src/context/ThemeContext.tsx +52 -0
- package/src/globals.css +187 -0
- package/src/index.ts +96 -0
- package/src/lib/constants/educationData.ts +124 -0
- package/src/lib/constants/punishmentData.ts +201 -0
- package/src/lib/constants/seedData.ts +758 -0
- package/src/lib/constants/stationData.ts +170 -0
- package/src/lib/constants/surveyData.ts +53 -0
- package/src/lib/constants/teamData.ts +69 -0
- package/src/lib/utils/numberFormat.ts +16 -0
- package/src/lib/utils/odpUtils.ts +51 -0
- package/src/types/index.ts +1 -0
- package/src/types/stats.ts +17 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatContext.d.ts","sourceRoot":"","sources":["../../src/context/ChatContext.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8C,MAAM,OAAO,CAAC;AAEnE,UAAU,eAAe;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAID,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAYvE;AAED,wBAAgB,OAAO,oBAItB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { createContext, useContext, useState } from 'react';
|
|
4
|
+
const ChatContext = createContext(undefined);
|
|
5
|
+
export function ChatProvider({ children }) {
|
|
6
|
+
const [isChatOpen, setIsChatOpen] = useState(false);
|
|
7
|
+
const toggleChat = () => setIsChatOpen(!isChatOpen);
|
|
8
|
+
const openChat = () => setIsChatOpen(true);
|
|
9
|
+
const closeChat = () => setIsChatOpen(false);
|
|
10
|
+
return (_jsx(ChatContext.Provider, { value: { isChatOpen, toggleChat, openChat, closeChat }, children: children }));
|
|
11
|
+
}
|
|
12
|
+
export function useChat() {
|
|
13
|
+
const context = useContext(ChatContext);
|
|
14
|
+
if (!context)
|
|
15
|
+
throw new Error('useChat must be used within ChatProvider');
|
|
16
|
+
return context;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=ChatContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatContext.js","sourceRoot":"","sources":["../../src/context/ChatContext.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,aAAa,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AASnE,MAAM,WAAW,GAAG,aAAa,CAA8B,SAAS,CAAC,CAAC;AAE1E,MAAM,UAAU,YAAY,CAAC,EAAE,QAAQ,EAAiC;IACtE,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEpD,MAAM,UAAU,GAAG,GAAG,EAAE,CAAC,aAAa,CAAC,CAAC,UAAU,CAAC,CAAC;IACpD,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAC3C,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAE7C,OAAO,CACL,KAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,YACzE,QAAQ,GACY,CACxB,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,OAAO;IACrB,MAAM,OAAO,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC;IACxC,IAAI,CAAC,OAAO;QAAE,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;IAC1E,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
type LayoutContextType = {
|
|
3
|
+
pageWidth: string;
|
|
4
|
+
setPageWidth: (width: string) => void;
|
|
5
|
+
};
|
|
6
|
+
export declare function LayoutProvider({ children }: {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function useLayout(): LayoutContextType;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=LayoutContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LayoutContext.d.ts","sourceRoot":"","sources":["../../src/context/LayoutContext.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAuC,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9E,KAAK,iBAAiB,GAAG;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC,CAAC;AAIF,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,2CASnE;AAED,wBAAgB,SAAS,sBAMxB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { createContext, useContext, useState } from 'react';
|
|
4
|
+
const LayoutContext = createContext(undefined);
|
|
5
|
+
export function LayoutProvider({ children }) {
|
|
6
|
+
// Varsayılan masaüstü değeri %80 olarak ayarlanmıştır.
|
|
7
|
+
const [pageWidth, setPageWidth] = useState('max-w-[80%]');
|
|
8
|
+
return (_jsx(LayoutContext.Provider, { value: { pageWidth, setPageWidth }, children: children }));
|
|
9
|
+
}
|
|
10
|
+
export function useLayout() {
|
|
11
|
+
const context = useContext(LayoutContext);
|
|
12
|
+
if (!context) {
|
|
13
|
+
throw new Error('useLayout must be used within a LayoutProvider');
|
|
14
|
+
}
|
|
15
|
+
return context;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=LayoutContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LayoutContext.js","sourceRoot":"","sources":["../../src/context/LayoutContext.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,aAAa,EAAE,UAAU,EAAE,QAAQ,EAAa,MAAM,OAAO,CAAC;AAO9E,MAAM,aAAa,GAAG,aAAa,CAAgC,SAAS,CAAC,CAAC;AAE9E,MAAM,UAAU,cAAc,CAAC,EAAE,QAAQ,EAA2B;IAClE,uDAAuD;IACvD,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAC;IAE1D,OAAO,CACL,KAAC,aAAa,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,SAAS,EAAE,YAAY,EAAE,YACvD,QAAQ,GACc,CAC1B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,SAAS;IACvB,MAAM,OAAO,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;IAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;IACpE,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SocketEvent } from '@armoyu/core';
|
|
3
|
+
interface SocketContextType {
|
|
4
|
+
isConnected: boolean;
|
|
5
|
+
emit: (event: SocketEvent, data: any) => void;
|
|
6
|
+
on: (event: SocketEvent, callback: (data: any) => void) => () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function SocketProvider({ children }: {
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare function useSocket(): SocketContextType;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=SocketContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SocketContext.d.ts","sourceRoot":"","sources":["../../src/context/SocketContext.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAyD,MAAM,OAAO,CAAC;AAC9E,OAAO,EAAiB,WAAW,EAAE,MAAM,cAAc,CAAC;AAG1D,UAAU,iBAAiB;IACzB,WAAW,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IAE9C,EAAE,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,KAAK,MAAM,IAAI,CAAC;CACvE;AAID,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAyBzE;AAED,wBAAgB,SAAS,sBAMxB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { createContext, useContext, useState, useEffect } from 'react';
|
|
4
|
+
import { socketService } from '@armoyu/core';
|
|
5
|
+
const SocketContext = createContext(undefined);
|
|
6
|
+
export function SocketProvider({ children }) {
|
|
7
|
+
const [isConnected, setIsConnected] = useState(socketService.isConnected);
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
const handleConnect = () => setIsConnected(true);
|
|
10
|
+
const handleDisconnect = () => setIsConnected(false);
|
|
11
|
+
const offConnect = socketService.on('connect', handleConnect);
|
|
12
|
+
const offDisconnect = socketService.on('disconnect', handleDisconnect);
|
|
13
|
+
return () => {
|
|
14
|
+
offConnect();
|
|
15
|
+
offDisconnect();
|
|
16
|
+
};
|
|
17
|
+
}, []);
|
|
18
|
+
return (_jsx(SocketContext.Provider, { value: {
|
|
19
|
+
isConnected,
|
|
20
|
+
emit: socketService.emit.bind(socketService),
|
|
21
|
+
on: socketService.on.bind(socketService)
|
|
22
|
+
}, children: children }));
|
|
23
|
+
}
|
|
24
|
+
export function useSocket() {
|
|
25
|
+
const context = useContext(SocketContext);
|
|
26
|
+
if (context === undefined) {
|
|
27
|
+
throw new Error('useSocket must be used within a SocketProvider');
|
|
28
|
+
}
|
|
29
|
+
return context;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=SocketContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SocketContext.js","sourceRoot":"","sources":["../../src/context/SocketContext.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,aAAa,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAe,MAAM,cAAc,CAAC;AAU1D,MAAM,aAAa,GAAG,aAAa,CAAgC,SAAS,CAAC,CAAC;AAE9E,MAAM,UAAU,cAAc,CAAC,EAAE,QAAQ,EAAiC;IACxE,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;IAE1E,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,aAAa,GAAG,GAAG,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QACjD,MAAM,gBAAgB,GAAG,GAAG,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QAErD,MAAM,UAAU,GAAG,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;QAC9D,MAAM,aAAa,GAAG,aAAa,CAAC,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC,CAAC;QAEvE,OAAO,GAAG,EAAE;YACV,UAAU,EAAE,CAAC;YACb,aAAa,EAAE,CAAC;QAClB,CAAC,CAAC;IACJ,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,KAAC,aAAa,CAAC,QAAQ,IAAC,KAAK,EAAE;YAC7B,WAAW;YACX,IAAI,EAAE,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC;YAC5C,EAAE,EAAE,aAAa,CAAC,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC;SACzC,YACE,QAAQ,GACc,CAC1B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,SAAS;IACvB,MAAM,OAAO,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;IAC1C,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;IACpE,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ThemeContextType {
|
|
3
|
+
theme: 'dark' | 'light';
|
|
4
|
+
toggleTheme: () => void;
|
|
5
|
+
}
|
|
6
|
+
export declare function ThemeProvider({ children }: {
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function useTheme(): ThemeContextType;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=ThemeContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeContext.d.ts","sourceRoot":"","sources":["../../src/context/ThemeContext.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAyD,MAAM,OAAO,CAAC;AAE9E,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AAID,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAkCxE;AAED,wBAAgB,QAAQ,qBAIvB"}
|
|
@@ -0,0 +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
|
+
}
|
|
40
|
+
//# sourceMappingURL=ThemeContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeContext.js","sourceRoot":"","sources":["../../src/context/ThemeContext.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,aAAa,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAA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AAC,YAAY,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,YACjD,QAAQ,GACa,CACzB,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,QAAQ;IACtB,MAAM,OAAO,GAAG,UAAU,CAAC,YAAY,CAAC,CAAC;IACzC,IAAI,CAAC,OAAO;QAAE,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAC;IACnF,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export * from './components/Button';
|
|
2
|
+
export * from './components/Slider';
|
|
3
|
+
export * from './components/RollingNumber';
|
|
4
|
+
export * from './components/ViewModeToggle';
|
|
5
|
+
export * from './components/GenderStatsBar';
|
|
6
|
+
export * from './components/StatsGrid';
|
|
7
|
+
export * from './context/AuthContext';
|
|
8
|
+
export * from './context/CartContext';
|
|
9
|
+
export * from './context/ChatContext';
|
|
10
|
+
export * from './context/LayoutContext';
|
|
11
|
+
export * from './context/SocketContext';
|
|
12
|
+
export * from './context/ThemeContext';
|
|
13
|
+
export * from './types';
|
|
14
|
+
export * from './lib/constants/seedData';
|
|
15
|
+
export * from './lib/constants/educationData';
|
|
16
|
+
export * from './lib/constants/punishmentData';
|
|
17
|
+
export * from './lib/constants/stationData';
|
|
18
|
+
export * from './lib/constants/surveyData';
|
|
19
|
+
export * from './lib/constants/teamData';
|
|
20
|
+
export * from './lib/utils/odpUtils';
|
|
21
|
+
export { Header } from './components/shared/Header';
|
|
22
|
+
export { Footer } from './components/shared/Footer';
|
|
23
|
+
export { LoginModal } from './components/shared/LoginModal';
|
|
24
|
+
export { FloatingChatButton } from './components/shared/FloatingChatButton';
|
|
25
|
+
export { MainLayoutWrapper } from './components/shared/MainLayoutWrapper';
|
|
26
|
+
export { PageWidth } from './components/shared/PageWidth';
|
|
27
|
+
export { Dashboard as AuthDashboard } from './components/modules/auth/Dashboard';
|
|
28
|
+
export { Dashboard } from './components/modules/auth/Dashboard';
|
|
29
|
+
export { PostCard } from './components/modules/auth/PostCard';
|
|
30
|
+
export { PostInteractionsModal } from './components/modules/auth/PostInteractionsModal';
|
|
31
|
+
export { RepostModal } from './components/modules/auth/RepostModal';
|
|
32
|
+
export { SidebarLeft as AuthSidebarLeft } from './components/modules/auth/SidebarLeft';
|
|
33
|
+
export { Stories } from './components/modules/auth/Stories';
|
|
34
|
+
export { StoryViewer } from './components/modules/auth/StoryViewer';
|
|
35
|
+
export { MediaLightbox, type PostMedia } from './components/modules/auth/MediaLightbox';
|
|
36
|
+
export { ChatContainer } from './components/modules/chat/ChatContainer';
|
|
37
|
+
export { ChatInput } from './components/modules/chat/ChatInput';
|
|
38
|
+
export { ChatList } from './components/modules/chat/ChatList';
|
|
39
|
+
export { ChatMessage } from './components/modules/chat/ChatMessage';
|
|
40
|
+
export { ChatNotes } from './components/modules/chat/ChatNotes';
|
|
41
|
+
export { GroupHeader } from './components/modules/community/GroupHeader';
|
|
42
|
+
export { GroupMenu } from './components/modules/community/GroupMenu';
|
|
43
|
+
export { SchoolCard } from './components/modules/community/SchoolCard';
|
|
44
|
+
export { SurveyCard } from './components/modules/community/SurveyCard';
|
|
45
|
+
export { ForumBoard } from './components/modules/forum/ForumBoard';
|
|
46
|
+
export { ForumPost } from './components/modules/forum/ForumPost';
|
|
47
|
+
export { NewTopicModal } from './components/modules/forum/NewTopicModal';
|
|
48
|
+
export { TopicItem } from './components/modules/forum/TopicItem';
|
|
49
|
+
export { GalleryCard } from './components/modules/galleries/GalleryCard';
|
|
50
|
+
export { GiveawayCard } from './components/modules/giveaways/GiveawayCard';
|
|
51
|
+
export { GroupCard } from './components/modules/groups/GroupCard';
|
|
52
|
+
export { ApplicationModal as GroupApplicationModal } from './components/modules/groups/ApplicationModal';
|
|
53
|
+
export { Introduction } from './components/modules/guest/Introduction';
|
|
54
|
+
export { BackToStore } from './components/modules/magaza/BackToStore';
|
|
55
|
+
export { StoreHeader } from './components/modules/magaza/StoreHeader';
|
|
56
|
+
export { NewsCard } from './components/modules/news/NewsCard';
|
|
57
|
+
export { NewsComments } from './components/modules/news/NewsComments';
|
|
58
|
+
export { ProfileHeader } from './components/modules/profile/ProfileHeader';
|
|
59
|
+
export { ProfileStats } from './components/modules/profile/ProfileStats';
|
|
60
|
+
export { ProfileContent } from './components/modules/profile/ProfileContent';
|
|
61
|
+
export { EditProfileModal } from './components/modules/profile/EditProfileModal';
|
|
62
|
+
export { TeamSelectorModal } from './components/modules/profile/TeamSelectorModal';
|
|
63
|
+
export { CloudStorageModal } from './components/modules/profile/CloudStorageModal';
|
|
64
|
+
export { StationCard } from './components/modules/stations/StationCard';
|
|
65
|
+
export { StationQRModal } from './components/modules/stations/StationQRModal';
|
|
66
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AAGvC,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,sBAAsB,CAAC;AAIrC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,C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ACnE,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAGjE,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAGzE,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAG3E,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,gBAAgB,IAAI,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AAGzG,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAGvE,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAGtE,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAGtE,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AACnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAGnF,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
export * from './components/Button';
|
|
2
|
+
export * from './components/Slider';
|
|
3
|
+
export * from './components/RollingNumber';
|
|
4
|
+
export * from './components/ViewModeToggle';
|
|
5
|
+
export * from './components/GenderStatsBar';
|
|
6
|
+
export * from './components/StatsGrid';
|
|
7
|
+
// Contexts
|
|
8
|
+
export * from './context/AuthContext';
|
|
9
|
+
export * from './context/CartContext';
|
|
10
|
+
export * from './context/ChatContext';
|
|
11
|
+
export * from './context/LayoutContext';
|
|
12
|
+
export * from './context/SocketContext';
|
|
13
|
+
export * from './context/ThemeContext';
|
|
14
|
+
// Types & Constants
|
|
15
|
+
export * from './types';
|
|
16
|
+
export * from './lib/constants/seedData';
|
|
17
|
+
export * from './lib/constants/educationData';
|
|
18
|
+
export * from './lib/constants/punishmentData';
|
|
19
|
+
export * from './lib/constants/stationData';
|
|
20
|
+
export * from './lib/constants/surveyData';
|
|
21
|
+
export * from './lib/constants/teamData';
|
|
22
|
+
export * from './lib/utils/odpUtils';
|
|
23
|
+
// Shared Components
|
|
24
|
+
export { Header } from './components/shared/Header';
|
|
25
|
+
export { Footer } from './components/shared/Footer';
|
|
26
|
+
export { LoginModal } from './components/shared/LoginModal';
|
|
27
|
+
export { FloatingChatButton } from './components/shared/FloatingChatButton';
|
|
28
|
+
export { MainLayoutWrapper } from './components/shared/MainLayoutWrapper';
|
|
29
|
+
export { PageWidth } from './components/shared/PageWidth';
|
|
30
|
+
// Auth Module
|
|
31
|
+
export { Dashboard as AuthDashboard } from './components/modules/auth/Dashboard';
|
|
32
|
+
export { Dashboard } from './components/modules/auth/Dashboard';
|
|
33
|
+
export { PostCard } from './components/modules/auth/PostCard';
|
|
34
|
+
export { PostInteractionsModal } from './components/modules/auth/PostInteractionsModal';
|
|
35
|
+
export { RepostModal } from './components/modules/auth/RepostModal';
|
|
36
|
+
export { SidebarLeft as AuthSidebarLeft } from './components/modules/auth/SidebarLeft';
|
|
37
|
+
export { Stories } from './components/modules/auth/Stories';
|
|
38
|
+
export { StoryViewer } from './components/modules/auth/StoryViewer';
|
|
39
|
+
export { MediaLightbox } from './components/modules/auth/MediaLightbox';
|
|
40
|
+
// Chat Module
|
|
41
|
+
export { ChatContainer } from './components/modules/chat/ChatContainer';
|
|
42
|
+
export { ChatInput } from './components/modules/chat/ChatInput';
|
|
43
|
+
export { ChatList } from './components/modules/chat/ChatList';
|
|
44
|
+
export { ChatMessage } from './components/modules/chat/ChatMessage';
|
|
45
|
+
export { ChatNotes } from './components/modules/chat/ChatNotes';
|
|
46
|
+
// Community Module
|
|
47
|
+
export { GroupHeader } from './components/modules/community/GroupHeader';
|
|
48
|
+
export { GroupMenu } from './components/modules/community/GroupMenu';
|
|
49
|
+
export { SchoolCard } from './components/modules/community/SchoolCard';
|
|
50
|
+
export { SurveyCard } from './components/modules/community/SurveyCard';
|
|
51
|
+
// Forum Module
|
|
52
|
+
export { ForumBoard } from './components/modules/forum/ForumBoard';
|
|
53
|
+
export { ForumPost } from './components/modules/forum/ForumPost';
|
|
54
|
+
export { NewTopicModal } from './components/modules/forum/NewTopicModal';
|
|
55
|
+
export { TopicItem } from './components/modules/forum/TopicItem';
|
|
56
|
+
// Galleries Module
|
|
57
|
+
export { GalleryCard } from './components/modules/galleries/GalleryCard';
|
|
58
|
+
// Giveaways Module
|
|
59
|
+
export { GiveawayCard } from './components/modules/giveaways/GiveawayCard';
|
|
60
|
+
// Groups Module
|
|
61
|
+
export { GroupCard } from './components/modules/groups/GroupCard';
|
|
62
|
+
export { ApplicationModal as GroupApplicationModal } from './components/modules/groups/ApplicationModal';
|
|
63
|
+
// Guest Module
|
|
64
|
+
export { Introduction } from './components/modules/guest/Introduction';
|
|
65
|
+
// Magaza Module
|
|
66
|
+
export { BackToStore } from './components/modules/magaza/BackToStore';
|
|
67
|
+
export { StoreHeader } from './components/modules/magaza/StoreHeader';
|
|
68
|
+
// News Module
|
|
69
|
+
export { NewsCard } from './components/modules/news/NewsCard';
|
|
70
|
+
export { NewsComments } from './components/modules/news/NewsComments';
|
|
71
|
+
// Profile Module
|
|
72
|
+
export { ProfileHeader } from './components/modules/profile/ProfileHeader';
|
|
73
|
+
export { ProfileStats } from './components/modules/profile/ProfileStats';
|
|
74
|
+
export { ProfileContent } from './components/modules/profile/ProfileContent';
|
|
75
|
+
export { EditProfileModal } from './components/modules/profile/EditProfileModal';
|
|
76
|
+
export { TeamSelectorModal } from './components/modules/profile/TeamSelectorModal';
|
|
77
|
+
export { CloudStorageModal } from './components/modules/profile/CloudStorageModal';
|
|
78
|
+
// Stations Module
|
|
79
|
+
export { StationCard } from './components/modules/stations/StationCard';
|
|
80
|
+
export { StationQRModal } from './components/modules/stations/StationQRModal';
|
|
81
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +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,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AAEvC,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,sBAAsB,CAAC;AAGrC,oBAAoB;AACpB,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,C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MAAM,sCAAsC,CAAC;AAEjE,mBAAmB;AACnB,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAEzE,mBAAmB;AACnB,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAE3E,gBAAgB;AAChB,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,gBAAgB,IAAI,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AAEzG,eAAe;AACf,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAEvE,gBAAgB;AAChB,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAEtE,cAAc;AACd,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAEtE,iBAAiB;AACjB,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AACnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAEnF,kBAAkB;AAClB,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { School, Faculty, Classroom, SchoolTeam } from '@armoyu/core';
|
|
2
|
+
export declare const MOCK_EDUCATION_DATA: (userList: any[]) => {
|
|
3
|
+
schools: School[];
|
|
4
|
+
faculties: Faculty[];
|
|
5
|
+
teams: SchoolTeam[];
|
|
6
|
+
classrooms: Classroom[];
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=educationData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"educationData.d.ts","sourceRoot":"","sources":["../../../src/lib/constants/educationData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAQ,MAAM,cAAc,CAAC;AAG5E,eAAO,MAAM,mBAAmB,GAAI,UAAU,GAAG,EAAE;;;;;CAuHlD,CAAC"}
|
|
@@ -0,0 +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
|
+
};
|
|
118
|
+
//# sourceMappingURL=educationData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"educationData.js","sourceRoot":"","sources":["../../../src/lib/constants/educationData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAQ,MAAM,cAAc,CAAC;AAG5E,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,QAAe,EAAE,EAAE;IACrD,0CAA0C;IAC1C,MAAM,KAAK,GAAG;QACZ,IAAI,UAAU,CAAC;YACb,EAAE,EAAE,KAAK;YACT,IAAI,EAAE,iBAAiB;YACvB,WAAW,EAAE,kBAAkB;YAC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EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAC;aAC1I;YACD,UAAU,EAAE,EAAE;YACd,WAAW,EAAE,IAAI;SAClB,CAAC;KACH,CAAC;IAEF,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC;AACnD,CAAC,CAAC"}
|
|
@@ -0,0 +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
|
+
};
|
|
30
|
+
//# sourceMappingURL=punishmentData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"punishmentData.d.ts","sourceRoot":"","sources":["../../../src/lib/constants/punishmentData.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,UAAU,GAAG,kBAAkB,GAAG,WAAW,GAAG,eAAe,CAAC;AAE3G,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,CAAC;AAEnF,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,YAAY,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,eAAe,EAAE,CAAC;IAChC,QAAQ,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,CAAC;IACjD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,gBAAgB,EAAE,cAAc,EAuJ5C,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,MAAM,eAAe,KAAG,MAS3D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,0BAA0B,GAAI,cAAc,MAAM,EAAE,iBAAiB,MAAM,KAAG,MAK1F,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B,GAAI,OAAO,MAAM;;;;;CAMxD,CAAC"}
|