@armoyu/ui 1.1.1 → 1.1.2
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/package.json +1 -1
- package/dist/app/Providers.d.ts +0 -6
- package/dist/app/Providers.d.ts.map +0 -1
- package/dist/app/Providers.js +0 -37
- package/dist/app/Providers.js.map +0 -1
- package/dist/app/api/proxy/[...path]/route.d.ts +0 -23
- package/dist/app/api/proxy/[...path]/route.d.ts.map +0 -1
- package/dist/app/api/proxy/[...path]/route.js +0 -133
- package/dist/app/api/proxy/[...path]/route.js.map +0 -1
- package/dist/app/gruplar/[groupId]/page.d.ts +0 -2
- package/dist/app/gruplar/[groupId]/page.d.ts.map +0 -1
- package/dist/app/gruplar/[groupId]/page.js +0 -10
- package/dist/app/gruplar/[groupId]/page.js.map +0 -1
- package/dist/app/layout.d.ts +0 -8
- package/dist/app/layout.d.ts.map +0 -1
- package/dist/app/layout.js +0 -29
- package/dist/app/layout.js.map +0 -1
- package/dist/app/not-found.d.ts +0 -2
- package/dist/app/not-found.d.ts.map +0 -1
- package/dist/app/not-found.js +0 -7
- package/dist/app/not-found.js.map +0 -1
- package/dist/app/page.d.ts +0 -2
- package/dist/app/page.d.ts.map +0 -1
- package/dist/app/page.js +0 -39
- package/dist/app/page.js.map +0 -1
- package/dist/components/Button.d.ts +0 -8
- package/dist/components/Button.d.ts.map +0 -1
- package/dist/components/Button.js +0 -16
- package/dist/components/Button.js.map +0 -1
- package/dist/components/GenderStatsBar.d.ts +0 -6
- package/dist/components/GenderStatsBar.d.ts.map +0 -1
- package/dist/components/GenderStatsBar.js +0 -8
- package/dist/components/GenderStatsBar.js.map +0 -1
- package/dist/components/RollingNumber.d.ts +0 -7
- package/dist/components/RollingNumber.d.ts.map +0 -1
- package/dist/components/RollingNumber.js +0 -24
- package/dist/components/RollingNumber.js.map +0 -1
- package/dist/components/Slider.d.ts +0 -11
- package/dist/components/Slider.d.ts.map +0 -1
- package/dist/components/Slider.js +0 -36
- package/dist/components/Slider.js.map +0 -1
- package/dist/components/StatsGrid.d.ts +0 -6
- package/dist/components/StatsGrid.d.ts.map +0 -1
- package/dist/components/StatsGrid.js +0 -14
- package/dist/components/StatsGrid.js.map +0 -1
- package/dist/components/ViewModeToggle.d.ts +0 -8
- package/dist/components/ViewModeToggle.d.ts.map +0 -1
- package/dist/components/ViewModeToggle.js +0 -10
- package/dist/components/ViewModeToggle.js.map +0 -1
- 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/ChatLayout.d.ts +0 -2
- package/dist/components/modules/chat/ChatLayout.d.ts.map +0 -1
- package/dist/components/modules/chat/ChatLayout.js +0 -198
- package/dist/components/modules/chat/ChatLayout.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/chat/widgets/ChatInput.d.ts +0 -5
- package/dist/components/modules/chat/widgets/ChatInput.d.ts.map +0 -1
- package/dist/components/modules/chat/widgets/ChatInput.js +0 -31
- package/dist/components/modules/chat/widgets/ChatInput.js.map +0 -1
- package/dist/components/modules/chat/widgets/ChatList.d.ts +0 -7
- package/dist/components/modules/chat/widgets/ChatList.d.ts.map +0 -1
- package/dist/components/modules/chat/widgets/ChatList.js +0 -53
- package/dist/components/modules/chat/widgets/ChatList.js.map +0 -1
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts +0 -12
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts.map +0 -1
- package/dist/components/modules/chat/widgets/ChatMessage.js +0 -7
- package/dist/components/modules/chat/widgets/ChatMessage.js.map +0 -1
- package/dist/components/modules/chat/widgets/ChatNotes.d.ts +0 -2
- package/dist/components/modules/chat/widgets/ChatNotes.d.ts.map +0 -1
- package/dist/components/modules/chat/widgets/ChatNotes.js +0 -12
- package/dist/components/modules/chat/widgets/ChatNotes.js.map +0 -1
- package/dist/components/modules/community/CommunityLayout.d.ts +0 -7
- package/dist/components/modules/community/CommunityLayout.d.ts.map +0 -1
- package/dist/components/modules/community/CommunityLayout.js +0 -137
- package/dist/components/modules/community/CommunityLayout.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/community/widgets/GroupAboutCard.d.ts +0 -6
- package/dist/components/modules/community/widgets/GroupAboutCard.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupAboutCard.js +0 -7
- package/dist/components/modules/community/widgets/GroupAboutCard.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupEventsList.d.ts +0 -8
- package/dist/components/modules/community/widgets/GroupEventsList.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupEventsList.js +0 -33
- package/dist/components/modules/community/widgets/GroupEventsList.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts +0 -9
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupFeedSection.js +0 -8
- package/dist/components/modules/community/widgets/GroupFeedSection.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupHeader.d.ts +0 -11
- package/dist/components/modules/community/widgets/GroupHeader.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupHeader.js +0 -18
- package/dist/components/modules/community/widgets/GroupHeader.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupMenu.d.ts +0 -10
- package/dist/components/modules/community/widgets/GroupMenu.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupMenu.js +0 -17
- package/dist/components/modules/community/widgets/GroupMenu.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts +0 -6
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupPermissions.js +0 -7
- package/dist/components/modules/community/widgets/GroupPermissions.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts +0 -11
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupStatsGrid.js +0 -13
- package/dist/components/modules/community/widgets/GroupStatsGrid.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts +0 -7
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupTopMembers.js +0 -8
- package/dist/components/modules/community/widgets/GroupTopMembers.js.map +0 -1
- package/dist/components/modules/community/widgets/SchoolCard.d.ts +0 -7
- package/dist/components/modules/community/widgets/SchoolCard.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/SchoolCard.js +0 -8
- package/dist/components/modules/community/widgets/SchoolCard.js.map +0 -1
- package/dist/components/modules/community/widgets/SurveyCard.d.ts +0 -8
- package/dist/components/modules/community/widgets/SurveyCard.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/SurveyCard.js +0 -25
- package/dist/components/modules/community/widgets/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/forum/widgets/ForumBoard.d.ts +0 -17
- package/dist/components/modules/forum/widgets/ForumBoard.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumBoard.js +0 -7
- package/dist/components/modules/forum/widgets/ForumBoard.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts +0 -6
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumCategoryList.js +0 -7
- package/dist/components/modules/forum/widgets/ForumCategoryList.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts +0 -6
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js +0 -6
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumPost.d.ts +0 -14
- package/dist/components/modules/forum/widgets/ForumPost.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumPost.js +0 -6
- package/dist/components/modules/forum/widgets/ForumPost.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts +0 -2
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumSidebar.js +0 -6
- package/dist/components/modules/forum/widgets/ForumSidebar.js.map +0 -1
- package/dist/components/modules/forum/widgets/NewTopicModal.d.ts +0 -8
- package/dist/components/modules/forum/widgets/NewTopicModal.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/NewTopicModal.js +0 -27
- package/dist/components/modules/forum/widgets/NewTopicModal.js.map +0 -1
- package/dist/components/modules/forum/widgets/TopicItem.d.ts +0 -16
- package/dist/components/modules/forum/widgets/TopicItem.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/TopicItem.js +0 -7
- package/dist/components/modules/forum/widgets/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/galleries/widgets/GalleryCard.d.ts +0 -10
- package/dist/components/modules/galleries/widgets/GalleryCard.d.ts.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryCard.js +0 -6
- package/dist/components/modules/galleries/widgets/GalleryCard.js.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts +0 -8
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js +0 -6
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts +0 -2
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js +0 -6
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts +0 -7
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js +0 -6
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.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/giveaways/widgets/GiveawayCard.d.ts +0 -10
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts.map +0 -1
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js +0 -7
- package/dist/components/modules/giveaways/widgets/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/groups/widgets/ApplicationModal.d.ts +0 -8
- package/dist/components/modules/groups/widgets/ApplicationModal.d.ts.map +0 -1
- package/dist/components/modules/groups/widgets/ApplicationModal.js +0 -28
- package/dist/components/modules/groups/widgets/ApplicationModal.js.map +0 -1
- package/dist/components/modules/groups/widgets/GroupCard.d.ts +0 -14
- package/dist/components/modules/groups/widgets/GroupCard.d.ts.map +0 -1
- package/dist/components/modules/groups/widgets/GroupCard.js +0 -8
- package/dist/components/modules/groups/widgets/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/guest/widgets/Introduction.d.ts +0 -2
- package/dist/components/modules/guest/widgets/Introduction.d.ts.map +0 -1
- package/dist/components/modules/guest/widgets/Introduction.js +0 -15
- package/dist/components/modules/guest/widgets/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/news/widgets/NewsCard.d.ts +0 -12
- package/dist/components/modules/news/widgets/NewsCard.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsCard.js +0 -7
- package/dist/components/modules/news/widgets/NewsCard.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsComments.d.ts +0 -4
- package/dist/components/modules/news/widgets/NewsComments.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsComments.js +0 -6
- package/dist/components/modules/news/widgets/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/posts/widgets/MediaLightbox.d.ts +0 -14
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/MediaLightbox.js +0 -47
- package/dist/components/modules/posts/widgets/MediaLightbox.js.map +0 -1
- package/dist/components/modules/posts/widgets/PostCard.d.ts +0 -26
- package/dist/components/modules/posts/widgets/PostCard.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/PostCard.js +0 -116
- package/dist/components/modules/posts/widgets/PostCard.js.map +0 -1
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts +0 -12
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js +0 -13
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js.map +0 -1
- package/dist/components/modules/posts/widgets/RepostModal.d.ts +0 -22
- package/dist/components/modules/posts/widgets/RepostModal.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/RepostModal.js +0 -76
- package/dist/components/modules/posts/widgets/RepostModal.js.map +0 -1
- package/dist/components/modules/posts/widgets/Stories.d.ts +0 -2
- package/dist/components/modules/posts/widgets/Stories.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/Stories.js +0 -16
- package/dist/components/modules/posts/widgets/Stories.js.map +0 -1
- package/dist/components/modules/posts/widgets/StoryViewer.d.ts +0 -10
- package/dist/components/modules/posts/widgets/StoryViewer.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/StoryViewer.js +0 -48
- package/dist/components/modules/posts/widgets/StoryViewer.js.map +0 -1
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts +0 -16
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/reels/ReelCard.js +0 -55
- package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +0 -1
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts +0 -8
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js +0 -29
- package/dist/components/modules/posts/widgets/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/ProfileLayout.d.ts +0 -5
- package/dist/components/modules/profile/ProfileLayout.d.ts.map +0 -1
- package/dist/components/modules/profile/ProfileLayout.js +0 -71
- package/dist/components/modules/profile/ProfileLayout.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/profile/tabs/AboutTab.d.ts +0 -10
- package/dist/components/modules/profile/tabs/AboutTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/AboutTab.js +0 -9
- package/dist/components/modules/profile/tabs/AboutTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/CareerTab.d.ts +0 -7
- package/dist/components/modules/profile/tabs/CareerTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/CareerTab.js +0 -46
- package/dist/components/modules/profile/tabs/CareerTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts +0 -10
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/FriendsTab.js +0 -8
- package/dist/components/modules/profile/tabs/FriendsTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/GamesTab.d.ts +0 -7
- package/dist/components/modules/profile/tabs/GamesTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/GamesTab.js +0 -37
- package/dist/components/modules/profile/tabs/GamesTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts +0 -6
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/GroupsTab.js +0 -9
- package/dist/components/modules/profile/tabs/GroupsTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/PostsTab.d.ts +0 -7
- package/dist/components/modules/profile/tabs/PostsTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/PostsTab.js +0 -92
- package/dist/components/modules/profile/tabs/PostsTab.js.map +0 -1
- package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts +0 -9
- package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/CloudStorageModal.js +0 -32
- package/dist/components/modules/profile/widgets/CloudStorageModal.js.map +0 -1
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts +0 -9
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/EditProfileModal.js +0 -28
- package/dist/components/modules/profile/widgets/EditProfileModal.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts +0 -2
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js +0 -6
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts +0 -6
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js +0 -6
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts +0 -8
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js +0 -12
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts +0 -8
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.js +0 -20
- package/dist/components/modules/profile/widgets/ProfileHeader.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileSidebar.d.ts +0 -11
- package/dist/components/modules/profile/widgets/ProfileSidebar.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileSidebar.js +0 -9
- package/dist/components/modules/profile/widgets/ProfileSidebar.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts +0 -7
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileStats.js +0 -21
- package/dist/components/modules/profile/widgets/ProfileStats.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileTabsArea.d.ts +0 -14
- package/dist/components/modules/profile/widgets/ProfileTabsArea.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js +0 -59
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +0 -1
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts +0 -11
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js +0 -17
- package/dist/components/modules/profile/widgets/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/DetailLayout.d.ts +0 -8
- package/dist/components/modules/shop/DetailLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/DetailLayout.js +0 -22
- package/dist/components/modules/shop/DetailLayout.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/shop/StoreLayout.d.ts +0 -8
- package/dist/components/modules/shop/StoreLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/StoreLayout.js +0 -6
- package/dist/components/modules/shop/StoreLayout.js.map +0 -1
- package/dist/components/modules/shop/widgets/BackToStore.d.ts +0 -2
- package/dist/components/modules/shop/widgets/BackToStore.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/BackToStore.js +0 -11
- package/dist/components/modules/shop/widgets/BackToStore.js.map +0 -1
- package/dist/components/modules/shop/widgets/CategoryWidget.d.ts +0 -8
- package/dist/components/modules/shop/widgets/CategoryWidget.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/CategoryWidget.js +0 -23
- package/dist/components/modules/shop/widgets/CategoryWidget.js.map +0 -1
- package/dist/components/modules/shop/widgets/ProductCard.d.ts +0 -8
- package/dist/components/modules/shop/widgets/ProductCard.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/ProductCard.js +0 -10
- package/dist/components/modules/shop/widgets/ProductCard.js.map +0 -1
- package/dist/components/modules/shop/widgets/StoreHeader.d.ts +0 -6
- package/dist/components/modules/shop/widgets/StoreHeader.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreHeader.js +0 -9
- package/dist/components/modules/shop/widgets/StoreHeader.js.map +0 -1
- package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts +0 -7
- package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreProductGrid.js +0 -13
- package/dist/components/modules/shop/widgets/StoreProductGrid.js.map +0 -1
- package/dist/components/modules/shop/widgets/StoreSidebar.d.ts +0 -8
- package/dist/components/modules/shop/widgets/StoreSidebar.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreSidebar.js +0 -8
- package/dist/components/modules/shop/widgets/StoreSidebar.js.map +0 -1
- package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts +0 -2
- package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js +0 -29
- package/dist/components/modules/shop/widgets/StoreTrustBadges.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/social/SocialLayout.d.ts +0 -2
- package/dist/components/modules/social/SocialLayout.d.ts.map +0 -1
- package/dist/components/modules/social/SocialLayout.js +0 -249
- package/dist/components/modules/social/SocialLayout.js.map +0 -1
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts +0 -2
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/EconomyWidget.js +0 -38
- package/dist/components/modules/social/widgets/EconomyWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts +0 -2
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/LeagueWidget.js +0 -36
- package/dist/components/modules/social/widgets/LeagueWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts +0 -2
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.js +0 -36
- package/dist/components/modules/social/widgets/MinecraftWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/RankingWidget.d.ts +0 -5
- package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/RankingWidget.js +0 -79
- package/dist/components/modules/social/widgets/RankingWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/SocialSidebar.d.ts +0 -2
- package/dist/components/modules/social/widgets/SocialSidebar.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/SocialSidebar.js +0 -9
- package/dist/components/modules/social/widgets/SocialSidebar.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
- package/dist/components/modules/stations/widgets/StationCard.d.ts +0 -3
- package/dist/components/modules/stations/widgets/StationCard.d.ts.map +0 -1
- package/dist/components/modules/stations/widgets/StationCard.js +0 -26
- package/dist/components/modules/stations/widgets/StationCard.js.map +0 -1
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts +0 -10
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts.map +0 -1
- package/dist/components/modules/stations/widgets/StationQRModal.js +0 -13
- package/dist/components/modules/stations/widgets/StationQRModal.js.map +0 -1
- package/dist/components/shared/DevTools.d.ts +0 -2
- package/dist/components/shared/DevTools.d.ts.map +0 -1
- package/dist/components/shared/DevTools.js +0 -39
- package/dist/components/shared/DevTools.js.map +0 -1
- package/dist/components/shared/FilterTabs.d.ts +0 -16
- package/dist/components/shared/FilterTabs.d.ts.map +0 -1
- package/dist/components/shared/FilterTabs.js +0 -18
- package/dist/components/shared/FilterTabs.js.map +0 -1
- package/dist/components/shared/FloatingChatButton.d.ts +0 -5
- package/dist/components/shared/FloatingChatButton.d.ts.map +0 -1
- package/dist/components/shared/FloatingChatButton.js +0 -21
- package/dist/components/shared/FloatingChatButton.js.map +0 -1
- package/dist/components/shared/Footer.d.ts +0 -2
- package/dist/components/shared/Footer.d.ts.map +0 -1
- package/dist/components/shared/Footer.js +0 -10
- package/dist/components/shared/Footer.js.map +0 -1
- package/dist/components/shared/Header.d.ts +0 -2
- package/dist/components/shared/Header.d.ts.map +0 -1
- package/dist/components/shared/Header.js +0 -109
- package/dist/components/shared/Header.js.map +0 -1
- package/dist/components/shared/ListToolbar.d.ts +0 -32
- package/dist/components/shared/ListToolbar.d.ts.map +0 -1
- package/dist/components/shared/ListToolbar.js +0 -13
- package/dist/components/shared/ListToolbar.js.map +0 -1
- package/dist/components/shared/LoginModal.d.ts +0 -5
- package/dist/components/shared/LoginModal.d.ts.map +0 -1
- package/dist/components/shared/LoginModal.js +0 -66
- package/dist/components/shared/LoginModal.js.map +0 -1
- package/dist/components/shared/MainLayoutWrapper.d.ts +0 -5
- package/dist/components/shared/MainLayoutWrapper.d.ts.map +0 -1
- package/dist/components/shared/MainLayoutWrapper.js +0 -8
- package/dist/components/shared/MainLayoutWrapper.js.map +0 -1
- package/dist/components/shared/NotFound.d.ts +0 -21
- package/dist/components/shared/NotFound.d.ts.map +0 -1
- package/dist/components/shared/NotFound.js +0 -7
- package/dist/components/shared/NotFound.js.map +0 -1
- package/dist/components/shared/PageWidth.d.ts +0 -6
- package/dist/components/shared/PageWidth.d.ts.map +0 -1
- package/dist/components/shared/PageWidth.js +0 -14
- package/dist/components/shared/PageWidth.js.map +0 -1
- package/dist/components/shared/SearchBar.d.ts +0 -14
- package/dist/components/shared/SearchBar.d.ts.map +0 -1
- package/dist/components/shared/SearchBar.js +0 -21
- package/dist/components/shared/SearchBar.js.map +0 -1
- package/dist/components/showcase/CommunityTab.d.ts +0 -2
- package/dist/components/showcase/CommunityTab.d.ts.map +0 -1
- package/dist/components/showcase/CommunityTab.js +0 -6
- package/dist/components/showcase/CommunityTab.js.map +0 -1
- package/dist/components/showcase/CorporateTab.d.ts +0 -2
- package/dist/components/showcase/CorporateTab.d.ts.map +0 -1
- package/dist/components/showcase/CorporateTab.js +0 -6
- package/dist/components/showcase/CorporateTab.js.map +0 -1
- package/dist/components/showcase/EventsTab.d.ts +0 -2
- package/dist/components/showcase/EventsTab.d.ts.map +0 -1
- package/dist/components/showcase/EventsTab.js +0 -80
- package/dist/components/showcase/EventsTab.js.map +0 -1
- package/dist/components/showcase/GeneralTab.d.ts +0 -2
- package/dist/components/showcase/GeneralTab.d.ts.map +0 -1
- package/dist/components/showcase/GeneralTab.js +0 -6
- package/dist/components/showcase/GeneralTab.js.map +0 -1
- package/dist/components/showcase/GroupTab.d.ts +0 -2
- package/dist/components/showcase/GroupTab.d.ts.map +0 -1
- package/dist/components/showcase/GroupTab.js +0 -74
- package/dist/components/showcase/GroupTab.js.map +0 -1
- package/dist/components/showcase/MessagesTab.d.ts +0 -2
- package/dist/components/showcase/MessagesTab.d.ts.map +0 -1
- package/dist/components/showcase/MessagesTab.js +0 -20
- package/dist/components/showcase/MessagesTab.js.map +0 -1
- package/dist/components/showcase/ProfileTab.d.ts +0 -2
- package/dist/components/showcase/ProfileTab.d.ts.map +0 -1
- package/dist/components/showcase/ProfileTab.js +0 -52
- package/dist/components/showcase/ProfileTab.js.map +0 -1
- package/dist/components/showcase/ReelsTab.d.ts +0 -2
- package/dist/components/showcase/ReelsTab.d.ts.map +0 -1
- package/dist/components/showcase/ReelsTab.js +0 -34
- package/dist/components/showcase/ReelsTab.js.map +0 -1
- package/dist/components/showcase/ShopTab.d.ts +0 -2
- package/dist/components/showcase/ShopTab.d.ts.map +0 -1
- package/dist/components/showcase/ShopTab.js +0 -32
- package/dist/components/showcase/ShopTab.js.map +0 -1
- package/dist/components/showcase/ShowcaseNavigation.d.ts +0 -2
- package/dist/components/showcase/ShowcaseNavigation.d.ts.map +0 -1
- package/dist/components/showcase/ShowcaseNavigation.js +0 -29
- package/dist/components/showcase/ShowcaseNavigation.js.map +0 -1
- package/dist/components/showcase/SocialTab.d.ts +0 -2
- package/dist/components/showcase/SocialTab.d.ts.map +0 -1
- package/dist/components/showcase/SocialTab.js +0 -109
- package/dist/components/showcase/SocialTab.js.map +0 -1
- package/dist/context/ArmoyuContext.d.ts +0 -42
- package/dist/context/ArmoyuContext.d.ts.map +0 -1
- package/dist/context/ArmoyuContext.js +0 -76
- package/dist/context/ArmoyuContext.js.map +0 -1
- package/dist/context/AuthContext.d.ts +0 -19
- package/dist/context/AuthContext.d.ts.map +0 -1
- package/dist/context/AuthContext.js +0 -116
- package/dist/context/AuthContext.js.map +0 -1
- package/dist/context/CartContext.d.ts +0 -17
- package/dist/context/CartContext.d.ts.map +0 -1
- package/dist/context/CartContext.js +0 -64
- package/dist/context/CartContext.js.map +0 -1
- package/dist/context/ChatContext.d.ts +0 -22
- package/dist/context/ChatContext.d.ts.map +0 -1
- package/dist/context/ChatContext.js +0 -98
- package/dist/context/ChatContext.js.map +0 -1
- package/dist/context/LayoutContext.d.ts +0 -11
- package/dist/context/LayoutContext.d.ts.map +0 -1
- package/dist/context/LayoutContext.js +0 -17
- package/dist/context/LayoutContext.js.map +0 -1
- package/dist/context/SocketContext.d.ts +0 -13
- package/dist/context/SocketContext.d.ts.map +0 -1
- package/dist/context/SocketContext.js +0 -32
- package/dist/context/SocketContext.js.map +0 -1
- package/dist/context/ThemeContext.d.ts +0 -11
- package/dist/context/ThemeContext.d.ts.map +0 -1
- package/dist/context/ThemeContext.js +0 -40
- package/dist/context/ThemeContext.js.map +0 -1
- package/dist/index.d.ts +0 -98
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -110
- package/dist/index.js.map +0 -1
- package/dist/lib/ArmoyuUI.d.ts +0 -18
- package/dist/lib/ArmoyuUI.d.ts.map +0 -1
- package/dist/lib/ArmoyuUI.js +0 -25
- package/dist/lib/ArmoyuUI.js.map +0 -1
- package/dist/lib/constants/config.d.ts +0 -9
- package/dist/lib/constants/config.d.ts.map +0 -1
- package/dist/lib/constants/config.js +0 -15
- package/dist/lib/constants/config.js.map +0 -1
- package/dist/lib/constants/educationData.d.ts +0 -8
- package/dist/lib/constants/educationData.d.ts.map +0 -1
- package/dist/lib/constants/educationData.js +0 -118
- package/dist/lib/constants/educationData.js.map +0 -1
- package/dist/lib/constants/punishmentData.d.ts +0 -30
- package/dist/lib/constants/punishmentData.d.ts.map +0 -1
- package/dist/lib/constants/punishmentData.js +0 -184
- package/dist/lib/constants/punishmentData.js.map +0 -1
- package/dist/lib/constants/seedData.d.ts +0 -165
- package/dist/lib/constants/seedData.d.ts.map +0 -1
- package/dist/lib/constants/seedData.js +0 -709
- package/dist/lib/constants/seedData.js.map +0 -1
- package/dist/lib/constants/stationData.d.ts +0 -14
- package/dist/lib/constants/stationData.d.ts.map +0 -1
- package/dist/lib/constants/stationData.js +0 -167
- package/dist/lib/constants/stationData.js.map +0 -1
- package/dist/lib/constants/surveyData.d.ts +0 -3
- package/dist/lib/constants/surveyData.d.ts.map +0 -1
- package/dist/lib/constants/surveyData.js +0 -50
- package/dist/lib/constants/surveyData.js.map +0 -1
- package/dist/lib/constants/teamData.d.ts +0 -13
- package/dist/lib/constants/teamData.d.ts.map +0 -1
- package/dist/lib/constants/teamData.js +0 -66
- package/dist/lib/constants/teamData.js.map +0 -1
- package/dist/lib/utils/numberFormat.d.ts +0 -10
- package/dist/lib/utils/numberFormat.d.ts.map +0 -1
- package/dist/lib/utils/numberFormat.js +0 -17
- package/dist/lib/utils/numberFormat.js.map +0 -1
- package/dist/lib/utils/odpUtils.d.ts +0 -16
- package/dist/lib/utils/odpUtils.d.ts.map +0 -1
- package/dist/lib/utils/odpUtils.js +0 -44
- package/dist/lib/utils/odpUtils.js.map +0 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -2
- package/dist/types/index.js.map +0 -1
- package/dist/types/stats.d.ts +0 -18
- package/dist/types/stats.d.ts.map +0 -1
- package/dist/types/stats.js +0 -2
- package/dist/types/stats.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReelCard.js","sourceRoot":"","sources":["../../../../../../src/components/modules/posts/widgets/reels/ReelCard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,IAAI,EAAS,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAChH,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAgB1D,MAAM,UAAU,QAAQ,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAiB;IACtG,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAClD,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC1D,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,C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C,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,cAAc,YAAC,eAAM,CAAC,EAAC,6CAA6C,GAAQ,GAAM,GACpI,CACR,IACG,EACN,gBAAM,SAAS,EAAC,iCAAiC,kBAAG,MAAM,CAAC,QAAQ,IAAQ,IACvE,EACN,iBAAQ,SAAS,EAAC,gLAAgL,8BAEzL,IACL,EAGL,WAAW,IAAI,CACd,YAAG,SAAS,EAAC,8DAA8D,YACxE,WAAW,GACV,CACL,EAGD,eAAK,SAAS,EAAC,uCAAuC,aACpD,cAAK,SAAS,EAAC,mBAAmB,YAChC,KAAC,KAAK,IAAC,IAAI,EAAE,EAAE,GAAI,GACf,EACN,cAAK,SAAS,EAAC,6CAA6C,YAC1D,YAAG,SAAS,EAAC,kFAAkF,YAC5F,QAAQ,IAAI,uBAAuB,GAClC,GACA,IACF,IACF,GACF,EAGN,cAAK,SAAS,EAAC,uDAAuD,YACpE,cACE,SAAS,EAAC,uFAAuF,EACjG,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,QAAQ,GAAG,EAAE,GAChC,GACE,IAEF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type ReelCardProps } from './ReelCard';
|
|
2
|
-
interface ReelsContainerProps {
|
|
3
|
-
reels: Omit<ReelCardProps, 'isActive'>[];
|
|
4
|
-
initialReelId?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare function ReelsContainer({ reels, initialReelId }: ReelsContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=ReelsContainer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReelsContainer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/modules/posts/widgets/reels/ReelsContainer.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAE1D,UAAU,mBAAmB;IAC3B,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,EAAE,CAAC;IACzC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE,mBAAmB,2CA+C3E"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useState, useEffect, useRef } from 'react';
|
|
4
|
-
import { ReelCard } from './ReelCard';
|
|
5
|
-
export function ReelsContainer({ reels, initialReelId }) {
|
|
6
|
-
const [activeId, setActiveId] = useState(initialReelId || reels[0]?.id);
|
|
7
|
-
const containerRef = useRef(null);
|
|
8
|
-
useEffect(() => {
|
|
9
|
-
const observerOptions = {
|
|
10
|
-
root: containerRef.current,
|
|
11
|
-
threshold: 0.8, // Must be 80% visible to be considered active
|
|
12
|
-
};
|
|
13
|
-
const handleIntersection = (entries) => {
|
|
14
|
-
entries.forEach((entry) => {
|
|
15
|
-
if (entry.isIntersecting) {
|
|
16
|
-
const id = entry.target.getAttribute('data-reel-id');
|
|
17
|
-
if (id)
|
|
18
|
-
setActiveId(id);
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
const observer = new IntersectionObserver(handleIntersection, observerOptions);
|
|
23
|
-
const elements = containerRef.current?.querySelectorAll('[data-reel-id]');
|
|
24
|
-
elements?.forEach((el) => observer.observe(el));
|
|
25
|
-
return () => observer.disconnect();
|
|
26
|
-
}, [reels]);
|
|
27
|
-
return (_jsx("div", { ref: containerRef, className: "w-full h-screen bg-black overflow-y-scroll snap-y snap-mandatory scrollbar-hide", children: reels.map((reel) => (_jsx("div", { "data-reel-id": reel.id, className: "w-full h-full snap-start snap-always shrink-0", children: _jsx(ReelCard, { ...reel, isActive: activeId === reel.id }) }, reel.id))) }));
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=ReelsContainer.js.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Q,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC;QAEhD,OAAO,GAAG,EAAE,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC;IACrC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAEZ,OAAO,CACL,cACE,GAAG,EAAE,YAAY,EACjB,SAAS,EAAC,iFAAiF,YAE1F,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACnB,8BAEgB,IAAI,CAAC,EAAE,EACrB,SAAS,EAAC,+CAA+C,YAEzD,KAAC,QAAQ,OACH,IAAI,EACR,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC,EAAE,GAC9B,IAPG,IAAI,CAAC,EAAE,CAQR,CACP,CAAC,GAEE,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface CloudStorageModalProps {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
onClose: () => void;
|
|
5
|
-
onSelectMedia?: (url: string, type: 'image' | 'video') => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function CloudStorageModal({ isOpen, onClose, onSelectMedia }: CloudStorageModalProps): React.ReactPortal | null;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=CloudStorageModal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CloudStorageModal.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/profile/CloudStorageModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,UAAU,sBAAsB;IAC9B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAC,OAAO,KAAK,IAAI,CAAC;CAC9D;AAED,wBAAgB,iBAAiB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,EAAE,sBAAsB,4BA6L3F"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useEffect, useState } from 'react';
|
|
4
|
-
import { createPortal } from 'react-dom';
|
|
5
|
-
export function CloudStorageModal({ isOpen, onClose, onSelectMedia }) {
|
|
6
|
-
const [mounted, setMounted] = useState(false);
|
|
7
|
-
const [activeCategory, setActiveCategory] = useState('all'); // Simplified for mock display
|
|
8
|
-
const [dragActive, setDragActive] = useState(false);
|
|
9
|
-
useEffect(() => setMounted(true), []);
|
|
10
|
-
if (!isOpen || !mounted)
|
|
11
|
-
return null;
|
|
12
|
-
// Mock Cloud Files
|
|
13
|
-
const mockFiles = [
|
|
14
|
-
{ id: '1', type: 'image', url: 'https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=2670&auto=format&fit=crop', name: 'Valorant_Clip_1.jpg', size: '2.4 MB', date: '12 Eki' },
|
|
15
|
-
{ id: '2', type: 'video', url: 'https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/720/Big_Buck_Bunny_720_10s_1MB.mp4', name: 'CS2_Aces.mp4', size: '14.1 MB', date: '05 Eki' },
|
|
16
|
-
{ id: '3', type: 'image', url: 'https://images.unsplash.com/photo-1587831990711-23ca6441447b?q=80&w=2698&auto=format&fit=crop', name: 'Setup_Photo.png', size: '4.8 MB', date: '28 Eyl' },
|
|
17
|
-
{ id: '4', type: 'image', url: 'https://images.unsplash.com/photo-1614680376593-902f74cf0d41?q=80&w=2574&auto=format&fit=crop', name: 'Minecraft_Bas...jpg', size: '1.2 MB', date: '15 Eyl' },
|
|
18
|
-
{ id: '5', type: 'image', url: 'https://images.unsplash.com/photo-1498050108023-c5249f4df085?q=80&w=2672&auto=format&fit=crop', name: 'Coding_Session.jpg', size: '3.5 MB', date: '02 Eyl' }
|
|
19
|
-
];
|
|
20
|
-
const filteredFiles = activeCategory === 'all' ? mockFiles : mockFiles.filter(f => f.type === activeCategory);
|
|
21
|
-
// Mock Storage Math
|
|
22
|
-
const storageData = { total: 5000, used: 2400, photos: 1200, videos: 800, audios: 200, documents: 200 };
|
|
23
|
-
const pPhotos = (storageData.photos / storageData.total) * 100;
|
|
24
|
-
const pVideos = (storageData.videos / storageData.total) * 100;
|
|
25
|
-
const pAudios = (storageData.audios / storageData.total) * 100;
|
|
26
|
-
const pDocs = (storageData.documents / storageData.total) * 100;
|
|
27
|
-
const modalContent = (_jsxs("div", { className: "fixed inset-0 z-[9999] p-4 md:p-8 xl:p-12 flex items-center justify-center animate-in fade-in duration-200", children: [_jsx("div", { className: "absolute inset-0 bg-black/80 backdrop-blur-sm", onClick: onClose }), _jsxs("div", { className: "relative w-full max-w-6xl h-full max-h-[85vh] bg-white dark:bg-[#0a0a0e] border border-gray-200 dark:border-white/10 rounded-[2rem] shadow-2xl flex flex-col md:flex-row overflow-hidden animate-in zoom-in-95 duration-300", children: [_jsxs("div", { className: "w-full md:w-64 border-r border-gray-200 dark:border-white/10 bg-gray-50 dark:bg-[#121216] flex flex-col shrink-0", children: [_jsx("div", { className: "p-6 md:p-8 pb-4", children: _jsxs("h2", { className: "text-2xl font-black text-armoyu-text tracking-tight flex items-center gap-3", children: [_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 24 24", fill: "currentColor", className: "text-blue-500", children: _jsx("path", { d: "M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z" }) }), "Cloud"] }) }), _jsxs("nav", { className: "flex-1 px-4 space-y-1.5 overflow-y-auto hide-scrollbar", children: [_jsxs("button", { onClick: () => setActiveCategory('all'), className: `w-full flex items-center gap-3 px-4 py-3.5 rounded-xl font-bold text-sm transition-all ${activeCategory === 'all' ? 'bg-blue-500 text-white shadow-md shadow-blue-500/20' : 'text-armoyu-text-muted hover:text-armoyu-text hover:bg-black/5 dark:hover:bg-white/5'}`, children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("rect", { x: "3", y: "3", width: "7", height: "7" }), _jsx("rect", { x: "14", y: "3", width: "7", height: "7" }), _jsx("rect", { x: "14", y: "14", width: "7", height: "7" }), _jsx("rect", { x: "3", y: "14", width: "7", height: "7" })] }), "T\u00FCm\u00FC"] }), _jsxs("button", { onClick: () => setActiveCategory('image'), className: `w-full flex items-center gap-3 px-4 py-3.5 rounded-xl font-bold text-sm transition-all ${activeCategory === 'image' ? 'bg-blue-500 text-white shadow-md shadow-blue-500/20' : 'text-armoyu-text-muted hover:text-armoyu-text hover:bg-black/5 dark:hover:bg-white/5'}`, children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }), _jsx("circle", { cx: "8.5", cy: "8.5", r: "1.5" }), _jsx("polyline", { points: "21 15 16 10 5 21" })] }), "Foto\u011Fraflar"] }), _jsxs("button", { onClick: () => setActiveCategory('video'), className: `w-full flex items-center gap-3 px-4 py-3.5 rounded-xl font-bold text-sm transition-all ${activeCategory === 'video' ? 'bg-blue-500 text-white shadow-md shadow-blue-500/20' : 'text-armoyu-text-muted hover:text-armoyu-text hover:bg-black/5 dark:hover:bg-white/5'}`, children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("polygon", { points: "23 7 16 12 23 17 23 7" }), _jsx("rect", { x: "1", y: "5", width: "15", height: "14", rx: "2", ry: "2" })] }), "Videolar"] }), _jsxs("button", { onClick: () => { }, className: `w-full flex items-center gap-3 px-4 py-3.5 rounded-xl font-bold text-sm transition-all text-armoyu-text-muted hover:text-armoyu-text hover:bg-black/5 dark:hover:bg-white/5`, children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M9 18V5l12-2v13" }), _jsx("circle", { cx: "6", cy: "18", r: "3" }), _jsx("circle", { cx: "18", cy: "16", r: "3" })] }), "Sesler"] })] }), _jsxs("div", { className: "p-6 border-t border-gray-200 dark:border-white/10 hidden md:block group", children: [_jsxs("div", { className: "mb-2 flex justify-between items-end", children: [_jsx("span", { className: "text-xs font-bold text-armoyu-text-muted group-hover:text-armoyu-text transition-colors", children: "Depolama" }), _jsxs("span", { className: "text-xs font-black text-armoyu-text", children: [(storageData.used / 1000).toFixed(1), "GB ", _jsxs("span", { className: "text-[10px] text-armoyu-text-muted font-bold", children: ["/ ", (storageData.total / 1000).toFixed(1), "GB"] })] })] }), _jsxs("div", { className: "w-full h-2.5 bg-black/5 dark:bg-white/10 rounded-full overflow-hidden flex gap-0.5 shadow-inner", children: [_jsx("div", { style: { width: `${pPhotos}%` }, className: "bg-blue-500 h-full", title: "Foto\u011Fraflar" }), _jsx("div", { style: { width: `${pVideos}%` }, className: "bg-purple-500 h-full", title: "Videolar" }), _jsx("div", { style: { width: `${pAudios}%` }, className: "bg-emerald-500 h-full", title: "Sesler" }), _jsx("div", { style: { width: `${pDocs}%` }, className: "bg-orange-500 h-full", title: "Belgeler" })] })] })] }), _jsxs("div", { className: "flex-1 flex flex-col min-w-0 bg-white dark:bg-[#0a0a0e]", children: [_jsxs("div", { className: "flex justify-between items-center p-4 md:px-8 border-b border-gray-200 dark:border-white/10 shrink-0", children: [_jsx("h3", { className: "font-extrabold text-armoyu-text text-lg tracking-tight", children: activeCategory === 'all' ? 'Tüm Dosyalar' :
|
|
28
|
-
activeCategory === 'image' ? 'Fotoğraflar' :
|
|
29
|
-
activeCategory === 'video' ? 'Videolar' : 'Dosyalarım' }), _jsx("button", { onClick: onClose, className: "p-2 rounded-full hover:bg-black/5 dark:hover:bg-white/5 text-armoyu-text-muted transition-colors", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), _jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })] }) })] }), _jsx("div", { className: "flex-1 overflow-y-auto px-4 md:px-8 py-6 hide-scrollbar", children: _jsxs("div", { className: "space-y-8 max-w-5xl mx-auto", children: [_jsxs("div", { className: `border-2 border-dashed rounded-[2rem] p-6 lg:p-8 flex flex-col md:flex-row items-center justify-between gap-6 transition-all group ${dragActive ? 'border-blue-500 bg-blue-500/10' : 'border-black/10 dark:border-white/10 hover:border-blue-500/50 bg-black/5 dark:bg-white/5'}`, onDragEnter: () => setDragActive(true), onDragLeave: () => setDragActive(false), onDragOver: (e) => e.preventDefault(), onDrop: (e) => { e.preventDefault(); setDragActive(false); /* file handle logic */ }, children: [_jsxs("div", { className: "flex items-center gap-5", children: [_jsx("div", { className: "w-16 h-16 rounded-[1.25rem] bg-white dark:bg-[#1a1a24] shadow-[0_4px_20px_rgba(0,0,0,0.05)] dark:shadow-[0_4px_20px_rgba(255,255,255,0.03)] flex flex-shrink-0 items-center justify-center group-hover:scale-105 transition-transform", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", className: "text-blue-500", children: [_jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }), _jsx("polyline", { points: "17 8 12 3 7 8" }), _jsx("line", { x1: "12", y1: "3", x2: "12", y2: "15" })] }) }), _jsxs("div", { children: [_jsx("h3", { className: "font-black text-armoyu-text text-lg mb-1", children: "Yeni \u0130\u00E7erik Y\u00FCkle" }), _jsx("p", { className: "text-xs font-bold text-armoyu-text-muted", children: "G\u00F6rsel veya Dosyalar\u0131 S\u00FCr\u00FCkleyin (Maks 100MB)" })] })] }), _jsxs("div", { className: "flex flex-col sm:flex-row gap-3 w-full md:w-auto shrink-0", children: [_jsxs("select", { className: "bg-white dark:bg-[#1a1a24] border border-gray-200 dark:border-white/10 rounded-xl px-4 py-3 text-sm font-bold text-armoyu-text outline-none cursor-pointer focus:border-blue-500 transition-colors shadow-sm", children: [_jsx("option", { value: "image", children: "Foto\u011Fraflar \u0130\u00E7in" }), _jsx("option", { value: "video", children: "Videolar \u0130\u00E7in" }), _jsx("option", { value: "audio", children: "Sesler \u0130\u00E7in" })] }), _jsx("button", { className: "px-6 py-3 bg-gradient-to-r from-blue-600 to-blue-500 hover:from-blue-700 hover:to-blue-600 text-white text-sm font-bold rounded-xl shadow-[0_0_15px_rgba(37,99,235,0.3)] hover:shadow-[0_0_20px_rgba(37,99,235,0.5)] transition-all", children: "Se\u00E7 ve Y\u00FCkle" })] })] }), _jsxs("div", { children: [_jsxs("h4", { className: "text-sm font-bold text-armoyu-text-muted mb-4 uppercase tracking-wider", children: [filteredFiles.length, " \u0130\u00E7erik G\u00F6r\u00FCnt\u00FCleniyor"] }), _jsx("div", { className: "grid grid-cols-2 lg:grid-cols-4 gap-4", children: filteredFiles.map(file => (_jsxs("div", { className: "group relative aspect-square rounded-2xl overflow-hidden bg-black/5 dark:bg-white/5 border border-transparent hover:border-blue-500/50 cursor-pointer shadow-sm hover:shadow-lg transition-all", onClick: () => onSelectMedia && onSelectMedia(file.url, file.type), children: [file.type === 'image' ? (_jsx("img", { src: file.url, alt: file.name, className: "w-full h-full object-cover transition-transform duration-700 group-hover:scale-110" })) : (_jsxs("div", { className: "w-full h-full relative", children: [_jsx("video", { src: file.url, className: "w-full h-full object-cover" }), _jsx("div", { className: "absolute inset-0 flex items-center justify-center bg-black/20", children: _jsx("div", { className: "w-10 h-10 rounded-full bg-black/50 backdrop-blur-md flex items-center justify-center text-white border border-white/20", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 24 24", fill: "currentColor", children: _jsx("polygon", { points: "5 3 19 12 5 21 5 3" }) }) }) })] })), _jsxs("div", { className: "absolute inset-0 bg-gradient-to-t from-black/90 via-black/20 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-end p-4", children: [_jsx("p", { className: "text-white font-bold text-sm truncate mb-0.5", children: file.name }), _jsxs("p", { className: "text-white/70 font-bold text-[10px]", children: [file.size, " \u2022 ", file.date] }), _jsxs("button", { className: "mt-3 w-full py-2 bg-blue-500 hover:bg-blue-600 text-white text-xs font-bold rounded-xl transition-colors shadow-md flex items-center justify-center gap-1.5", onClick: (e) => { e.stopPropagation(); onSelectMedia && onSelectMedia(file.url, file.type); }, children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }), _jsx("polyline", { points: "22 4 12 14.01 9 11.01" })] }), "Payla\u015F\u0131ma Ekle"] })] })] }, file.id))) })] })] }) })] })] })] }));
|
|
30
|
-
return createPortal(modalContent, document.body);
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=CloudStorageModal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CloudStorageModal.js","sourceRoot":"","sources":["../../../../src/components/modules/profile/CloudStorageModal.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAc,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAA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AC,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,aAAC,eAAM,CAAC,EAAC,oCAAoC,GAAQ,EAAA,mBAAU,MAAM,EAAC,uBAAuB,GAAY,IAAM,gCAE3R,IACL,KA5BD,IAAI,CAAC,EAAE,CA6BR,CACP,CAAC,GACE,IACF,IAEF,GACF,IACF,IAEF,IACF,CACP,CAAC;IAEF,OAAO,YAAY,CAAC,YAAY,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;AACnD,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface EditProfileModalProps {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
onClose: () => void;
|
|
5
|
-
user: any;
|
|
6
|
-
}
|
|
7
|
-
export declare function EditProfileModal({ isOpen, onClose, user }: EditProfileModalProps): React.ReactPortal | null;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=EditProfileModal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EditProfileModal.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/profile/EditProfileModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,UAAU,qBAAqB;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE,GAAG,CAAC;CACX;AAED,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,qBAAqB,4BAoLhF"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useState, useEffect } from 'react';
|
|
4
|
-
import { createPortal } from 'react-dom';
|
|
5
|
-
export function EditProfileModal({ isOpen, onClose, user }) {
|
|
6
|
-
const [formData, setFormData] = useState({
|
|
7
|
-
profession: '',
|
|
8
|
-
email: 'kullanici@armoyu.com',
|
|
9
|
-
phone: '',
|
|
10
|
-
birthDate: '',
|
|
11
|
-
country: 'Türkiye',
|
|
12
|
-
city: 'İstanbul',
|
|
13
|
-
});
|
|
14
|
-
const handleChange = (e) => {
|
|
15
|
-
setFormData(prev => ({ ...prev, [e.target.name]: e.target.value }));
|
|
16
|
-
};
|
|
17
|
-
const handleSave = () => {
|
|
18
|
-
// API logic buraya eklenecek
|
|
19
|
-
onClose();
|
|
20
|
-
};
|
|
21
|
-
const [mounted, setMounted] = useState(false);
|
|
22
|
-
useEffect(() => setMounted(true), []);
|
|
23
|
-
if (!isOpen || !mounted)
|
|
24
|
-
return null;
|
|
25
|
-
const modalContent = (_jsxs("div", { className: "fixed inset-0 z-[9999] flex items-center justify-center animate-in fade-in duration-200", children: [_jsx("div", { className: "absolute inset-0 bg-black/60 backdrop-blur-sm", onClick: onClose }), _jsxs("div", { className: "relative w-full max-w-2xl bg-white dark:bg-[#0a0a0e] border border-gray-200 dark:border-white/10 rounded-[2rem] shadow-2xl p-6 md:p-8 animate-in zoom-in-95 duration-300 mx-4 max-h-[90vh] overflow-y-auto hide-scrollbar flex flex-col", children: [_jsxs("div", { className: "flex justify-between items-center mb-6 shrink-0 sticky top-0 bg-white dark:bg-[#0a0a0e] z-10 pt-2 pb-4 border-b border-gray-200 dark:border-white/5", children: [_jsx("h2", { className: "text-xl md:text-2xl font-black text-armoyu-text tracking-tight", children: "Profili D\u00FCzenle" }), _jsx("button", { onClick: onClose, className: "p-2 rounded-full hover:bg-black/5 dark:hover:bg-white/5 text-armoyu-text-muted transition-colors border border-transparent hover:border-armoyu-card-border", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), _jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })] }) })] }), _jsxs("div", { className: "space-y-8 pb-8 flex-1", children: [_jsxs("div", { className: "space-y-5", children: [_jsx("h3", { className: "text-lg font-bold text-armoyu-text border-b border-gray-200 dark:border-white/5 pb-2", children: "Temel Bilgiler" }), _jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-5", children: [_jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-xs font-bold text-armoyu-text-muted uppercase tracking-wider", children: "E-Posta Adresi" }), _jsx("input", { type: "email", name: "email", value: formData.email, onChange: handleChange, className: "w-full bg-black/5 dark:bg-white/5 border border-black/5 dark:border-white/10 rounded-xl px-4 py-3 text-sm text-armoyu-text font-bold outline-none focus:border-blue-500 shadow-inner transition-colors" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-xs font-bold text-armoyu-text-muted uppercase tracking-wider", children: "Cep Numaras\u0131" }), _jsx("input", { type: "tel", name: "phone", value: formData.phone, onChange: handleChange, placeholder: "+90 555 555 55 55", className: "w-full bg-black/5 dark:bg-white/5 border border-black/5 dark:border-white/10 rounded-xl px-4 py-3 text-sm text-armoyu-text font-bold outline-none focus:border-blue-500 shadow-inner transition-colors" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-xs font-bold text-armoyu-text-muted uppercase tracking-wider", children: "Meslek / Unvan" }), _jsxs("select", { name: "profession", value: formData.profession, onChange: handleChange, className: "w-full bg-black/5 dark:bg-white/5 border border-black/5 dark:border-white/10 rounded-xl px-4 py-3 text-sm text-armoyu-text font-bold outline-none focus:border-blue-500 shadow-inner transition-colors appearance-none", children: [_jsx("option", { value: "", children: "Se\u00E7iniz..." }), _jsx("option", { value: "\u00D6\u011Frenci", children: "\u00D6\u011Frenci" }), _jsx("option", { value: "\u00D6\u011Fretmen / E\u011Fitmen", children: "\u00D6\u011Fretmen / E\u011Fitmen" }), _jsx("option", { value: "Yaz\u0131l\u0131m Geli\u015Ftirici", children: "Yaz\u0131l\u0131m Geli\u015Ftirici" }), _jsx("option", { value: "M\u00FChendis", children: "M\u00FChendis" }), _jsx("option", { value: "Tasar\u0131mc\u0131 / Grafiker", children: "Tasar\u0131mc\u0131 / Grafiker" }), _jsx("option", { value: "Mimar", children: "Mimar" }), _jsx("option", { value: "\u0130\u00E7erik \u00DCreticisi (YouTuber/Yay\u0131nc\u0131)", children: "\u0130\u00E7erik \u00DCreticisi (YouTuber/Yay\u0131nc\u0131)" }), _jsx("option", { value: "e-Spor Oyuncusu", children: "e-Spor Oyuncusu" }), _jsx("option", { value: "Doktor / Sa\u011Fl\u0131k \u00C7al\u0131\u015Fan\u0131", children: "Doktor / Sa\u011Fl\u0131k \u00C7al\u0131\u015Fan\u0131" }), _jsx("option", { value: "Avukat / Hukuk\u00E7u", children: "Avukat / Hukuk\u00E7u" }), _jsx("option", { value: "Muhasebeci / Finans", children: "Muhasebeci / Finans" }), _jsx("option", { value: "Sat\u0131\u015F / Pazarlama", children: "Sat\u0131\u015F / Pazarlama" }), _jsx("option", { value: "Serbest \u00C7al\u0131\u015Fan (Freelancer)", children: "Serbest \u00C7al\u0131\u015Fan (Freelancer)" }), _jsx("option", { value: "Giri\u015Fimci / \u0130\u015F \u0130nsan\u0131", children: "Giri\u015Fimci / \u0130\u015F \u0130nsan\u0131" }), _jsx("option", { value: "Di\u011Fer", children: "Di\u011Fer" })] })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-xs font-bold text-armoyu-text-muted uppercase tracking-wider", children: "Do\u011Fum Tarihi" }), _jsx("input", { type: "date", name: "birthDate", value: formData.birthDate, onChange: handleChange, className: "w-full bg-black/5 dark:bg-white/5 border border-black/5 dark:border-white/10 rounded-xl px-4 py-3 text-sm text-armoyu-text font-bold outline-none focus:border-blue-500 shadow-inner transition-colors" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-xs font-bold text-armoyu-text-muted uppercase tracking-wider", children: "\u00DClke" }), _jsxs("select", { name: "country", value: formData.country, onChange: handleChange, className: "w-full bg-black/5 dark:bg-white/5 border border-black/5 dark:border-white/10 rounded-xl px-4 py-3 text-sm text-armoyu-text font-bold outline-none focus:border-blue-500 shadow-inner transition-colors appearance-none", children: [_jsx("option", { value: "T\u00FCrkiye", children: "T\u00FCrkiye" }), _jsx("option", { value: "Azerbaycan", children: "Azerbaycan" }), _jsx("option", { value: "Almanya", children: "Almanya" }), _jsx("option", { value: "Di\u011Fer", children: "Di\u011Fer" })] })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-xs font-bold text-armoyu-text-muted uppercase tracking-wider", children: "\u0130l / \u015Eehir" }), _jsx("input", { type: "text", name: "city", value: formData.city, onChange: handleChange, placeholder: "\u00D6rn: \u0130stanbul", className: "w-full bg-black/5 dark:bg-white/5 border border-black/5 dark:border-white/10 rounded-xl px-4 py-3 text-sm text-armoyu-text font-bold outline-none focus:border-blue-500 shadow-inner transition-colors" })] })] })] }), _jsxs("div", { className: "space-y-5", children: [_jsx("h3", { className: "text-lg font-bold text-armoyu-text border-b border-gray-200 dark:border-white/5 pb-2", children: "Ba\u011Fl\u0131 Hesaplar" }), _jsx("p", { className: "text-xs font-bold text-armoyu-text-muted mb-4 leading-relaxed", children: "Di\u011Fer platformlardaki hesaplar\u0131n\u0131z\u0131 ba\u011Flayarak profilinizde sergileyebilir ve arkada\u015Flar\u0131n\u0131z\u0131n sizi kolayca bulmas\u0131n\u0131 sa\u011Flayabilirsiniz." }), _jsxs("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-4", children: [_jsxs("button", { className: "flex items-center gap-3 w-full p-3.5 rounded-2xl bg-[#5865F2]/5 hover:bg-[#5865F2]/10 dark:bg-[#5865F2]/20 dark:hover:bg-[#5865F2]/30 border border-[#5865F2]/30 transition-all group shadow-sm hover:shadow-md", children: [_jsx("div", { className: "w-12 h-12 rounded-xl bg-[#5865F2] flex items-center justify-center text-white shrink-0 shadow-[0_0_15px_rgba(88,101,242,0.4)]", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "currentColor", children: _jsx("path", { d: "M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2498-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8745-.6177-1.2498a.077.077 0 00-.0788-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z" }) }) }), _jsxs("div", { className: "flex-1 text-left", children: [_jsx("div", { className: "font-bold text-[15px] text-armoyu-text", children: "Discord" }), _jsx("div", { className: "text-[11px] font-bold text-blue-500 uppercase tracking-wider", children: "Ba\u011Fland\u0131" })] }), _jsx("div", { className: "px-3.5 py-2 rounded-xl border border-red-500/20 text-red-500 text-xs font-black bg-red-500/5 hover:bg-red-500/10 transition-colors shadow-sm", children: "\u0130ptal Et" })] }), _jsxs("button", { className: "flex items-center gap-3 w-full p-3.5 rounded-2xl bg-[#171a21]/5 hover:bg-[#171a21]/10 dark:bg-[#171a21]/80 dark:hover:bg-[#171a21] border border-gray-200 dark:border-white/5 transition-all group shadow-sm hover:shadow-md", children: [_jsx("div", { className: "w-12 h-12 rounded-xl bg-[#171a21] flex items-center justify-center text-white shrink-0 shadow-sm", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "currentColor", children: _jsx("path", { d: "M11.97 0C5.35 0 0 5.37 0 12c0 2.87 1.02 5.51 2.71 7.55l3.82-5.59c-.06-.31-.08-.63-.08-.96 0-3.32 2.68-6 6-6s6 2.68 6 6-2.68 6-6 6c-.84 0-1.63-.17-2.36-.5l-3.23 4.74A11.961 11.961 0 0 0 11.97 24c6.62 0 12-5.37 12-12s-5.38-12-12-12m6.25 11.89c0 1.6-1.29 2.89-2.89 2.89a2.89 2.89 0 0 1-2.89-2.89c0-1.6 1.29-2.89 2.89-2.89s2.89 1.29 2.89 2.89M8.38 14.88c-.85.34-1.8.1-2.38-.6a2.031 2.031 0 0 1 .59-2.85c.85-.34 1.8-.1 2.38.6.59.71.26 2.5-.59 2.85" }) }) }), _jsxs("div", { className: "flex-1 text-left", children: [_jsx("div", { className: "font-bold text-[15px] text-armoyu-text", children: "Steam" }), _jsx("div", { className: "text-[11px] font-bold text-armoyu-text-muted uppercase tracking-wider", children: "Ba\u011Flanmad\u0131" })] }), _jsx("div", { className: "px-3.5 py-2 rounded-xl bg-black/5 dark:bg-white/5 text-xs font-black text-armoyu-text group-hover:bg-armoyu-text group-hover:text-white dark:group-hover:text-[#0a0a0e] transition-colors border border-black/5 dark:border-white/10 shadow-sm", children: "Ba\u011Fla" })] }), _jsxs("button", { className: "flex items-center gap-3 w-full p-3.5 rounded-2xl bg-pink-500/5 hover:bg-pink-500/10 dark:bg-pink-500/10 dark:hover:bg-pink-500/15 border border-pink-500/20 transition-all group shadow-sm hover:shadow-md", children: [_jsx("div", { className: "w-12 h-12 rounded-xl bg-gradient-to-tr from-yellow-400 via-pink-500 to-purple-500 flex items-center justify-center text-white shrink-0 shadow-[0_0_15px_rgba(236,72,153,0.4)]", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("rect", { x: "2", y: "2", width: "20", height: "20", rx: "5", ry: "5" }), _jsx("path", { d: "M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z" }), _jsx("line", { x1: "17.5", y1: "6.5", x2: "17.51", y2: "6.5" })] }) }), _jsxs("div", { className: "flex-1 text-left", children: [_jsx("div", { className: "font-bold text-[15px] text-armoyu-text", children: "Instagram" }), _jsx("div", { className: "text-[11px] font-bold text-armoyu-text-muted uppercase tracking-wider", children: "Ba\u011Flanmad\u0131" })] }), _jsx("div", { className: "px-3.5 py-2 rounded-xl bg-black/5 dark:bg-white/5 text-xs font-black text-armoyu-text group-hover:bg-armoyu-text group-hover:text-white dark:group-hover:text-[#0a0a0e] transition-colors border border-black/5 dark:border-white/10 shadow-sm", children: "Ba\u011Fla" })] }), _jsxs("button", { className: "flex items-center gap-3 w-full p-3.5 rounded-2xl bg-[#0077b5]/5 hover:bg-[#0077b5]/10 dark:bg-[#0077b5]/10 dark:hover:bg-[#0077b5]/20 border border-[#0077b5]/20 transition-all group shadow-sm hover:shadow-md", children: [_jsx("div", { className: "w-12 h-12 rounded-xl bg-[#0077b5] flex items-center justify-center text-white shrink-0 shadow-[0_0_15px_rgba(0,119,181,0.4)]", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z" }), _jsx("rect", { x: "2", y: "9", width: "4", height: "12" }), _jsx("circle", { cx: "4", cy: "4", r: "2" })] }) }), _jsxs("div", { className: "flex-1 text-left", children: [_jsx("div", { className: "font-bold text-[15px] text-armoyu-text", children: "LinkedIn" }), _jsx("div", { className: "text-[11px] font-bold text-armoyu-text-muted uppercase tracking-wider", children: "Ba\u011Flanmad\u0131" })] }), _jsx("div", { className: "px-3.5 py-2 rounded-xl bg-black/5 dark:bg-white/5 text-xs font-black text-armoyu-text group-hover:bg-armoyu-text group-hover:text-white dark:group-hover:text-[#0a0a0e] transition-colors border border-black/5 dark:border-white/10 shadow-sm", children: "Ba\u011Fla" })] }), _jsxs("button", { className: "flex items-center gap-3 w-full p-3.5 rounded-2xl bg-[#1877F2]/5 hover:bg-[#1877F2]/10 dark:bg-[#1877F2]/10 dark:hover:bg-[#1877F2]/20 border border-[#1877F2]/20 transition-all group shadow-sm hover:shadow-md", children: [_jsx("div", { className: "w-12 h-12 rounded-xl bg-[#1877F2] flex items-center justify-center text-white shrink-0 shadow-[0_0_15px_rgba(24,119,242,0.4)]", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: _jsx("path", { d: "M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z" }) }) }), _jsxs("div", { className: "flex-1 text-left", children: [_jsx("div", { className: "font-bold text-[15px] text-armoyu-text", children: "Facebook" }), _jsx("div", { className: "text-[11px] font-bold text-armoyu-text-muted uppercase tracking-wider", children: "Ba\u011Flanmad\u0131" })] }), _jsx("div", { className: "px-3.5 py-2 rounded-xl bg-black/5 dark:bg-white/5 text-xs font-black text-armoyu-text group-hover:bg-armoyu-text group-hover:text-white dark:group-hover:text-[#0a0a0e] transition-colors border border-black/5 dark:border-white/10 shadow-sm", children: "Ba\u011Fla" })] })] })] })] }), _jsxs("div", { className: "flex gap-4 pt-6 mt-auto sticky bottom-0 bg-white dark:bg-[#0a0a0e] pb-2 z-10 w-full shrink-0 border-t border-gray-200 dark:border-white/5", children: [_jsx("button", { onClick: onClose, className: "flex-1 py-3.5 text-sm font-black text-armoyu-text bg-black/5 dark:bg-white/5 hover:bg-black/10 dark:hover:bg-white/10 rounded-2xl transition-colors border border-black/5 dark:border-white/5 shadow-sm", children: "\u0130ptal" }), _jsx("button", { onClick: handleSave, className: "flex-1 py-3.5 text-sm font-black text-white bg-gradient-to-r from-blue-600 to-blue-500 hover:from-blue-700 hover:to-blue-600 rounded-2xl transition-all shadow-[0_0_20px_rgba(37,99,235,0.4)]", children: "De\u011Fi\u015Fiklikleri Kaydet" })] })] })] }));
|
|
26
|
-
return createPortal(modalContent, document.body);
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=EditProfileModal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EditProfileModal.js","sourceRoot":"","sources":["../../../../src/components/modules/profile/EditProfileModal.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAQzC,MAAM,UAAU,gBAAgB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAyB;IAC/E,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC;QACvC,UAAU,EAAE,EAAE;QACd,KAAK,EAAE,sBAAsB;QAC7B,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,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EAAuE,qCAAiB,IACnG,EACN,cAAK,SAAS,EAAC,gPAAgP,2BAAY,IACpQ,EAGT,kBAAQ,SAAS,EAAC,iNAAiN,aACjO,cAAK,SAAS,EAAC,+HAA+H,YAC3I,cAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,cAAc,EAAC,WAAW,EAAC,KAAK,EAAC,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,YAAC,eAAM,CAAC,EAAC,mEAAmE,GAAQ,GAAM,GAC1Q,EACN,eAAK,SAAS,EAAC,kBAAkB,aAC/B,cAAK,SAAS,EAAC,wCAAwC,yBAAe,EACtE,cAAK,SAAS,EAAC,uEAAuE,qCAAiB,IACnG,EACN,cAAK,SAAS,EAAC,gPAAgP,2BAAY,IACpQ,IAEN,IACF,IAEH,EAGN,eAAK,SAAS,EAAC,2IAA2I,aACxJ,iBAAQ,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,yMAAyM,2BAEpO,EACT,iBAAQ,OAAO,EAAE,UAAU,EAAE,SAAS,EAAC,+LAA+L,gDAE7N,IACL,IAEF,IACF,CACP,CAAC;IAEF,OAAO,YAAY,CAAC,YAAY,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;AACnD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileContent.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/profile/ProfileContent.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,IAAI,EAAQ,MAAM,cAAc,CAAC;AAK1C,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,IAAI,CAAA;CAAE,2CAkQvD"}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useState, useEffect } from 'react';
|
|
4
|
-
import { ProfileBadgesWidget } from './widgets/ProfileBadgesWidget';
|
|
5
|
-
import { ProfileCloudWidget } from './widgets/ProfileCloudWidget';
|
|
6
|
-
import { ProfileFriendsWidget } from './widgets/ProfileFriendsWidget';
|
|
7
|
-
import { PostsTab } from './tabs/PostsTab';
|
|
8
|
-
import { AboutTab } from './tabs/AboutTab';
|
|
9
|
-
import { CareerTab } from './tabs/CareerTab';
|
|
10
|
-
import { GamesTab } from './tabs/GamesTab';
|
|
11
|
-
import { GroupsTab } from './tabs/GroupsTab';
|
|
12
|
-
import { FriendsTab } from './tabs/FriendsTab';
|
|
13
|
-
import { useAuth } from '../../../context/AuthContext';
|
|
14
|
-
import { useArmoyu } from '../../../context/ArmoyuContext';
|
|
15
|
-
import { User } from '@armoyu/core';
|
|
16
|
-
import { X, Shield } from 'lucide-react';
|
|
17
|
-
import { CloudStorageModal } from './CloudStorageModal';
|
|
18
|
-
import { TeamSelectorModal } from './TeamSelectorModal';
|
|
19
|
-
export function ProfileContent({ user }) {
|
|
20
|
-
const { user: currentUser, updateUser } = useAuth();
|
|
21
|
-
const [activeTab, setActiveTab] = useState('Kariyer');
|
|
22
|
-
const [isCloudModalOpen, setIsCloudModalOpen] = useState(false);
|
|
23
|
-
const [isTeamModalOpen, setIsTeamModalOpen] = useState(false);
|
|
24
|
-
const [isBioModalOpen, setIsBioModalOpen] = useState(false);
|
|
25
|
-
const [showTeamBanner, setShowTeamBanner] = useState(false);
|
|
26
|
-
const [friends, setFriends] = useState([]);
|
|
27
|
-
const [isLoadingFriends, setIsLoadingFriends] = useState(false);
|
|
28
|
-
const [hasFetchedFriends, setHasFetchedFriends] = useState(false);
|
|
29
|
-
const [friendsPage, setFriendsPage] = useState(1);
|
|
30
|
-
const [hasMoreFriends, setHasMoreFriends] = useState(true);
|
|
31
|
-
const { api } = useArmoyu();
|
|
32
|
-
// Use currentUser from context if it's our own profile to ensure reactivity
|
|
33
|
-
const isOwnProfile = currentUser?.username === user?.username;
|
|
34
|
-
const displayUser = isOwnProfile ? currentUser : user;
|
|
35
|
-
const [tempBio, setTempBio] = useState(displayUser?.bio || '');
|
|
36
|
-
const fetchFriends = async (isLoadMore = false) => {
|
|
37
|
-
if (!displayUser?.id)
|
|
38
|
-
return;
|
|
39
|
-
setIsLoadingFriends(true);
|
|
40
|
-
try {
|
|
41
|
-
const targetPage = isLoadMore ? friendsPage + 1 : 1;
|
|
42
|
-
const data = await api.users.getFriendsList({
|
|
43
|
-
userId: Number(displayUser.id),
|
|
44
|
-
page: targetPage,
|
|
45
|
-
limit: 20
|
|
46
|
-
});
|
|
47
|
-
if (data && Array.isArray(data)) {
|
|
48
|
-
const mappedFriends = data.map((u) => User.fromJSON(u));
|
|
49
|
-
if (isLoadMore) {
|
|
50
|
-
setFriends(prev => [...prev, ...mappedFriends]);
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
setFriends(mappedFriends);
|
|
54
|
-
}
|
|
55
|
-
setFriendsPage(targetPage);
|
|
56
|
-
setHasMoreFriends(mappedFriends.length > 0);
|
|
57
|
-
setHasFetchedFriends(true);
|
|
58
|
-
console.log(`[ProfileContent] Fetched ${mappedFriends.length} friends for ${displayUser.username}, Page: ${targetPage}`);
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
setHasMoreFriends(false);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
catch (error) {
|
|
65
|
-
console.error('[ProfileContent] Friends fetch error:', error);
|
|
66
|
-
}
|
|
67
|
-
finally {
|
|
68
|
-
setIsLoadingFriends(false);
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
useEffect(() => {
|
|
72
|
-
if (activeTab === 'Arkadaşlar' && !hasFetchedFriends) {
|
|
73
|
-
fetchFriends(false);
|
|
74
|
-
}
|
|
75
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
76
|
-
}, [activeTab, hasFetchedFriends, displayUser?.id, api]);
|
|
77
|
-
useEffect(() => {
|
|
78
|
-
// Show banner only on own profile and if team is missing and not dismissed
|
|
79
|
-
if (isOwnProfile && !displayUser?.favoriteTeam) {
|
|
80
|
-
const dismissed = localStorage.getItem(`team_prompt_dismissed_${displayUser?.id}`);
|
|
81
|
-
if (!dismissed) {
|
|
82
|
-
setShowTeamBanner(true);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}, [isOwnProfile, user]);
|
|
86
|
-
const handleTeamSelect = (team, zodiac) => {
|
|
87
|
-
if (displayUser) {
|
|
88
|
-
if (isOwnProfile && currentUser) {
|
|
89
|
-
updateUser({
|
|
90
|
-
...currentUser,
|
|
91
|
-
favoriteTeam: team,
|
|
92
|
-
zodiac: zodiac
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
setIsTeamModalOpen(false);
|
|
97
|
-
setShowTeamBanner(false);
|
|
98
|
-
localStorage.setItem(`team_prompt_dismissed_${displayUser?.id}`, 'true');
|
|
99
|
-
};
|
|
100
|
-
const handleBioSave = () => {
|
|
101
|
-
if (isOwnProfile && currentUser) {
|
|
102
|
-
updateUser({
|
|
103
|
-
...currentUser,
|
|
104
|
-
bio: tempBio
|
|
105
|
-
});
|
|
106
|
-
setIsBioModalOpen(false);
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
const tabs = ['Gönderiler', 'Hakkında', 'Kariyer', 'Oynadığı Oyunlar', 'Gruplar', 'Arkadaşlar'];
|
|
110
|
-
return (_jsxs("div", { className: "w-full flex flex-col lg:flex-row gap-6 mt-6", children: [_jsxs("div", { className: "w-full lg:w-80 shrink-0 space-y-6", children: [_jsx(ProfileBadgesWidget, {}), isOwnProfile && (_jsx(ProfileCloudWidget, { onManageCloud: () => setIsCloudModalOpen(true) })), _jsx(ProfileFriendsWidget, { friendsCount: displayUser?.friendCount || friends.length || 0, friendsList: friends.length > 0 ? friends : (displayUser?.friends || []), onSeeAll: () => setActiveTab('Arkadaşlar') })] }), _jsxs("div", { className: "flex-1 min-w-0 flex flex-col gap-6", children: [showTeamBanner && (_jsxs("div", { className: "glass-panel p-6 rounded-[32px] border border-blue-500/30 bg-blue-600/5 relative overflow-hidden group animate-in slide-in-from-top duration-700", children: [_jsx("div", { className: "absolute -right-8 -top-8 w-32 h-32 bg-blue-500/10 blur-3xl rounded-full group-hover:scale-150 transition-transform duration-1000" }), _jsxs("div", { className: "flex flex-col md:flex-row items-center justify-between gap-6 relative z-10", children: [_jsxs("div", { className: "flex items-center gap-5 text-center md:text-left", children: [_jsx("div", { className: "w-16 h-16 rounded-[24px] bg-blue-600 flex items-center justify-center text-white shadow-xl shadow-blue-600/20", children: _jsx(Shield, { size: 32 }) }), _jsxs("div", { children: [_jsx("h3", { className: "text-lg font-black text-armoyu-text uppercase italic tracking-tighter leading-none", children: "TAKIMINI SE\u00C7MED\u0130N!" }), _jsx("p", { className: "text-xs font-bold text-armoyu-text-muted mt-2 max-w-xs leading-relaxed uppercase tracking-wider italic", children: "Favori tak\u0131m\u0131n\u0131 ve burcunu ekleyerek profilini daha renkli hale getir." })] })] }), _jsxs("div", { className: "flex items-center gap-3 w-full md:w-auto", children: [_jsx("button", { onClick: () => setIsTeamModalOpen(true), className: "flex-1 md:flex-none px-8 py-3.5 bg-blue-600 hover:bg-blue-500 text-white font-black rounded-2xl text-[10px] uppercase tracking-widest shadow-xl shadow-blue-600/20 transition-all active:scale-95 italic", children: "\u015E\u0130MD\u0130 SE\u00C7" }), _jsx("button", { onClick: () => {
|
|
111
|
-
setShowTeamBanner(false);
|
|
112
|
-
localStorage.setItem(`team_prompt_dismissed_${user?.id}`, 'true');
|
|
113
|
-
}, className: "p-3.5 text-armoyu-text-muted hover:text-armoyu-text bg-black/5 hover:bg-black/10 rounded-2xl transition-all", children: _jsx(X, { size: 18 }) })] })] })] })), _jsx("div", { className: "bg-armoyu-card-bg border border-armoyu-card-border rounded-2xl p-2 shadow-sm overflow-x-auto hide-scrollbar", children: _jsx("div", { className: "flex gap-2 min-w-max", children: tabs.map((tab) => (_jsx("button", { onClick: () => setActiveTab(tab), className: `px-5 py-2.5 rounded-xl text-sm font-bold transition-all ${activeTab === tab
|
|
114
|
-
? 'bg-blue-500 text-white shadow-[0_0_15px_rgba(37,99,235,0.4)]'
|
|
115
|
-
: 'text-armoyu-text-muted hover:text-armoyu-text hover:bg-black/5 dark:hover:bg-white/5'}`, children: tab }, tab))) }) }), _jsxs("div", { className: "min-h-[400px]", children: [activeTab === 'Gönderiler' && _jsx(PostsTab, { user: displayUser || null }), activeTab === 'Hakkında' && (_jsx(AboutTab, { displayUser: displayUser || null, isOwnProfile: isOwnProfile, onEditBio: () => setIsBioModalOpen(true), onEditTeam: () => setIsTeamModalOpen(true) })), activeTab === 'Kariyer' && _jsx(CareerTab, { displayUser: displayUser || null }), activeTab === 'Oynadığı Oyunlar' && _jsx(GamesTab, { user: displayUser || null }), activeTab === 'Gruplar' && (_jsx(GroupsTab, { groups: displayUser?.groups || [] })), activeTab === 'Arkadaşlar' && (_jsx(FriendsTab, { friends: friends.length > 0 ? friends : (displayUser?.friends || []), totalCount: displayUser?.friendCount, isLoading: isLoadingFriends, hasMore: hasMoreFriends, onLoadMore: () => fetchFriends(true) }))] })] }), _jsx(CloudStorageModal, { isOpen: isCloudModalOpen, onClose: () => setIsCloudModalOpen(false) }), _jsx(TeamSelectorModal, { isOpen: isTeamModalOpen, onClose: () => setIsTeamModalOpen(false), onSelect: handleTeamSelect, initialTeam: displayUser?.favoriteTeam, initialZodiac: displayUser?.zodiac }), isBioModalOpen && (_jsxs("div", { className: "fixed inset-0 z-[200] flex items-center justify-center p-6 text-left", children: [_jsx("div", { className: "absolute inset-0 bg-black/60 backdrop-blur-md", onClick: () => setIsBioModalOpen(false) }), _jsxs("div", { className: "bg-armoyu-card-bg border border-armoyu-card-border rounded-[40px] w-full max-w-lg relative z-10 shadow-2xl animate-in zoom-in-95 duration-300 overflow-hidden", children: [_jsxs("div", { className: "p-8 border-b border-armoyu-card-border flex items-center justify-between bg-black/5", children: [_jsxs("div", { className: "flex items-center gap-4", children: [_jsx("div", { className: "w-12 h-12 rounded-2xl bg-blue-500/10 flex items-center justify-center text-blue-500 text-2xl", children: "\u270D\uFE0F" }), _jsxs("div", { children: [_jsx("h3", { className: "text-xl font-black text-armoyu-text uppercase tracking-tight italic", children: "Biyografini D\u00FCzenle" }), _jsx("p", { className: "text-xs font-medium text-armoyu-text-muted", children: "Kendini ARMOYU \u00FCyelerine tan\u0131t." })] })] }), _jsx("button", { onClick: () => setIsBioModalOpen(false), className: "p-2 text-armoyu-text-muted hover:text-armoyu-text bg-black/10 rounded-xl transition-all", children: _jsx(X, { size: 20 }) })] }), _jsxs("div", { className: "p-8 space-y-6", children: [_jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-widest ml-4", children: "HAKKINDA" }), _jsx("textarea", { className: "w-full bg-black/10 border border-armoyu-card-border rounded-3xl px-6 py-5 text-sm font-bold text-armoyu-text focus:outline-none focus:border-blue-500 transition-all min-h-[150px] resize-none", placeholder: "Kendinden bahset...", value: tempBio, onChange: (e) => setTempBio(e.target.value), autoFocus: true })] }), _jsx("button", { onClick: handleBioSave, className: "w-full py-5 bg-blue-600 hover:bg-blue-500 text-white font-black rounded-[20px] text-xs uppercase tracking-widest shadow-xl shadow-blue-500/20 active:scale-95 transition-all flex items-center justify-center gap-2 italic", children: "DE\u011E\u0130\u015E\u0130KL\u0130KLER\u0130 KAYDET" })] })] })] }))] }));
|
|
116
|
-
}
|
|
117
|
-
//# sourceMappingURL=ProfileContent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileContent.js","sourceRoot":"","sources":["../../../../src/components/modules/profile/ProfileContent.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,mBAAmB,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CAAC,MAAM,CAAC,KAAK,CAAC,EAC3C,SAAS,SACT,IACE,EAEN,iBACE,OAAO,EAAE,aAAa,EACtB,SAAS,EAAC,4NAA4N,oEAG/N,IACL,IACF,IACF,CACP,IACG,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { User } from '@armoyu/core';
|
|
2
|
-
interface ProfileHeaderProps {
|
|
3
|
-
user: User | any;
|
|
4
|
-
isOwnProfile?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare function ProfileHeader({ user, isOwnProfile }: ProfileHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=ProfileHeader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/profile/ProfileHeader.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAIpC,UAAU,kBAAkB;IAC1B,IAAI,EAAE,IAAI,GAAG,GAAG,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,kBAAkB,2CAiHvE"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
-
import { useState } from 'react';
|
|
4
|
-
import { EditProfileModal } from './EditProfileModal';
|
|
5
|
-
import { MOCK_RANKING_POPULARITY } from '../../../lib/constants/seedData';
|
|
6
|
-
export function ProfileHeader({ user, isOwnProfile }) {
|
|
7
|
-
const [isEditModalOpen, setIsEditModalOpen] = useState(false);
|
|
8
|
-
const name = user.displayName || user.name || 'İsimsiz Oyuncu';
|
|
9
|
-
const banner = user.banner || 'https://images.unsplash.com/photo-1614680376593-902f74cf0d41?q=80&w=2574&auto=format&fit=crop';
|
|
10
|
-
const badge = user.badge || user.role?.name || '';
|
|
11
|
-
const socials = user.socials || {};
|
|
12
|
-
// Sıralama Bilgisi
|
|
13
|
-
const rankIndex = MOCK_RANKING_POPULARITY.findIndex((r) => r.username === user.username);
|
|
14
|
-
const rank = rankIndex !== -1 ? rankIndex + 1 : null;
|
|
15
|
-
return (_jsxs("div", { className: "w-full bg-armoyu-card-bg border border-armoyu-card-border rounded-3xl overflow-hidden shadow-sm", children: [_jsxs("div", { className: "h-48 md:h-72 w-full relative", children: [_jsx("img", { src: banner || undefined, alt: "Kapak", className: "w-full h-full object-cover" }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/60 to-transparent" })] }), _jsxs("div", { className: "px-6 md:px-10 pb-6 relative flex flex-col md:flex-row md:justify-between md:items-end", children: [_jsxs("div", { className: "flex flex-col md:flex-row md:items-end gap-4 md:gap-6 -mt-16 md:-mt-20 relative z-10 mb-6 md:mb-0", children: [_jsxs("div", { className: "relative group shrink-0", children: [_jsx("div", { className: "w-32 h-32 md:w-40 md:h-40 rounded-full border-4 border-armoyu-bg overflow-hidden shadow-xl bg-black/5 dark:bg-white/5", children: _jsx("img", { src: user.avatar || undefined, alt: name, className: "w-full h-full object-cover" }) }), rank && (_jsxs("div", { className: `absolute -top-1 -right-1 w-10 h-10 md:w-12 md:h-12 rounded-2xl flex flex-col items-center justify-center shadow-xl border-2 transform rotate-12 group-hover:rotate-0 transition-transform duration-500 z-20 ${rank === 1 ? 'bg-gradient-to-br from-yellow-400 via-yellow-500 to-yellow-600 border-yellow-300' :
|
|
16
|
-
rank === 2 ? 'bg-gradient-to-br from-slate-300 via-slate-400 to-slate-500 border-slate-200' :
|
|
17
|
-
rank === 3 ? 'bg-gradient-to-br from-orange-400 via-orange-500 to-orange-600 border-orange-300' :
|
|
18
|
-
'bg-blue-600 border-blue-400'}`, children: [rank === 1 && (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "currentColor", className: "text-yellow-100 mb-0.5", children: _jsx("path", { d: "M5 21h14a2 2 0 0 0 2-2V5L12 2 3 5v14a2 2 0 0 0 2 2z" }) })), _jsxs("span", { className: "text-[10px] md:text-xs font-black text-white leading-none", children: ["#", rank] }), _jsx("span", { className: "text-[6px] md:text-[8px] font-bold text-white/80 uppercase tracking-tighter", children: "POP" })] }))] }), _jsxs("div", { className: "pb-2 text-center md:text-left", children: [_jsxs("div", { className: "flex flex-col md:flex-row items-center gap-2 md:gap-3", children: [_jsx("h1", { className: "text-2xl md:text-3xl font-black text-armoyu-text tracking-tight", children: name }), badge && (_jsx("span", { className: "bg-blue-500/10 text-blue-600 dark:text-blue-400 text-xs font-bold px-2.5 py-1 rounded-md uppercase tracking-wider border border-blue-500/20 shadow-sm", children: badge }))] }), _jsxs("p", { className: "text-blue-600 dark:text-blue-400 font-extrabold mt-1 text-sm md:text-base mb-3", children: ["@", user.username] }), socials && (_jsxs("div", { className: "flex items-center justify-center md:justify-start gap-4 mt-2", children: [socials.discord && (_jsx("a", { href: socials.discord, target: "_blank", rel: "noopener noreferrer", className: "w-8 h-8 rounded-full bg-[#5865F2]/10 hover:bg-[#5865F2]/20 text-[#5865F2] flex items-center justify-center transition-all hover:scale-110", title: "Discord", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: _jsx("path", { d: "M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2498-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8745-.6177-1.2498a.077.077 0 00-.0788-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z" }) }) })), socials.steam && (_jsx("a", { href: socials.steam, target: "_blank", rel: "noopener noreferrer", className: "w-8 h-8 rounded-full bg-[#171a21]/5 hover:bg-[#171a21]/15 dark:bg-[#171a21]/80 dark:hover:bg-[#171a21] text-[#171a21] dark:text-white flex items-center justify-center transition-all hover:scale-110", title: "Steam", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: _jsx("path", { d: "M11.97 0C5.35 0 0 5.37 0 12c0 2.87 1.02 5.51 2.71 7.55l3.82-5.59c-.06-.31-.08-.63-.08-.96 0-3.32 2.68-6 6-6s6 2.68 6 6-2.68 6-6 6c-.84 0-1.63-.17-2.36-.5l-3.23 4.74A11.961 11.961 0 0 0 11.97 24c6.62 0 12-5.37 12-12s-5.38-12-12-12m6.25 11.89c0 1.6-1.29 2.89-2.89 2.89a2.89 2.89 0 0 1-2.89-2.89c0-1.6 1.29-2.89 2.89-2.89s2.89 1.29 2.89 2.89M8.38 14.88c-.85.34-1.8.1-2.38-.6a2.031 2.031 0 0 1 .59-2.85c.85-.34 1.8-.1 2.38.6.59.71.26 2.5-.59 2.85" }) }) })), socials.instagram && (_jsx("a", { href: socials.instagram, target: "_blank", rel: "noopener noreferrer", className: "w-8 h-8 rounded-full bg-pink-500/10 hover:bg-pink-500/20 text-pink-500 flex items-center justify-center transition-all hover:scale-110", title: "Instagram", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("rect", { x: "2", y: "2", width: "20", height: "20", rx: "5", ry: "5" }), _jsx("path", { d: "M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z" }), _jsx("line", { x1: "17.5", y1: "6.5", x2: "17.51", y2: "6.5" })] }) })), socials.linkedin && (_jsx("a", { href: socials.linkedin, target: "_blank", rel: "noopener noreferrer", className: "w-8 h-8 rounded-full bg-[#0077b5]/10 hover:bg-[#0077b5]/20 text-[#0077b5] flex items-center justify-center transition-all hover:scale-110", title: "LinkedIn", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z" }), _jsx("rect", { x: "2", y: "9", width: "4", height: "12" }), _jsx("circle", { cx: "4", cy: "4", r: "2" })] }) })), socials.facebook && (_jsx("a", { href: socials.facebook, target: "_blank", rel: "noopener noreferrer", className: "w-8 h-8 rounded-full bg-[#1877F2]/10 hover:bg-[#1877F2]/20 text-[#1877F2] flex items-center justify-center transition-all hover:scale-110", title: "Facebook", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: _jsx("path", { d: "M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z" }) }) }))] }))] })] }), _jsx("div", { className: "flex gap-3 pb-2 flex-wrap justify-center md:justify-end w-full md:w-auto", children: isOwnProfile ? (_jsx("button", { onClick: () => setIsEditModalOpen(true), className: "flex-1 md:flex-none px-6 py-2.5 bg-black/5 dark:bg-white/5 hover:bg-black/10 dark:hover:bg-white/10 text-armoyu-text font-bold rounded-xl transition-all border border-armoyu-card-border shadow-sm", children: "Profili D\u00FCzenle" })) : (_jsxs(_Fragment, { children: [_jsx("button", { className: "flex-1 md:flex-none px-8 py-2.5 bg-gradient-to-r from-blue-600 to-blue-500 hover:from-blue-700 hover:to-blue-600 text-white font-bold rounded-xl shadow-[0_0_15px_rgba(37,99,235,0.4)] transition-all", children: "Takip Et" }), _jsx("button", { className: "px-4 py-2.5 bg-black/5 dark:bg-white/5 hover:bg-black/10 dark:hover:bg-white/10 text-armoyu-text rounded-xl transition-all border border-armoyu-card-border", title: "Mesaj G\u00F6nder", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: _jsx("path", { d: "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" }) }) })] })) })] }), _jsx(EditProfileModal, { isOpen: isEditModalOpen, onClose: () => setIsEditModalOpen(false), user: user })] }));
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=ProfileHeader.js.map
|
|
@@ -1 +0,0 @@
|
|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CACL,IACG,CACP,IACG,IACF,EAGN,cAAK,SAAS,EAAC,0EAA0E,YACtF,YAAY,CAAC,CAAC,CAAC,CACd,iBAAQ,OAAO,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,SAAS,EAAC,qMAAqM,qCAEvP,CACV,CAAC,CAAC,CAAC,CACF,8BACE,iBAAQ,SAAS,EAAC,uMAAuM,yBAEhN,EACT,iBAAQ,SAAS,EAAC,6JAA6J,EAAC,KAAK,EAAC,mBAAc,YAClM,cAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,cAAc,EAAC,WAAW,EAAC,KAAK,EAAC,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,YAAC,eAAM,CAAC,EAAC,+DAA+D,GAAQ,GAAM,GAClQ,IACR,CACJ,GACG,IACF,EAEN,KAAC,gBAAgB,IAAC,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,GAAI,IAC/F,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/profile/ProfileLayout.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAQ,MAAM,cAAc,CAAC;AAgB1C,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,IAAI,CAAA;CAAE,kDAkGtD"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useState, useEffect } from 'react';
|
|
4
|
-
import { User } from '@armoyu/core';
|
|
5
|
-
// Shared Contexts from main index
|
|
6
|
-
import { useAuth, useArmoyu } from '../../../index';
|
|
7
|
-
// Module specific widgets
|
|
8
|
-
import { ProfileHeader } from './widgets/ProfileHeader';
|
|
9
|
-
import { ProfileStats } from './widgets/ProfileStats';
|
|
10
|
-
import { ProfileSidebar } from './widgets/ProfileSidebar';
|
|
11
|
-
import { ProfileTabsArea } from './widgets/ProfileTabsArea';
|
|
12
|
-
import { CloudStorageModal } from './widgets/CloudStorageModal';
|
|
13
|
-
export function ProfileLayout({ user }) {
|
|
14
|
-
const { user: currentUser } = useAuth();
|
|
15
|
-
const { api: armoyuApi } = useArmoyu();
|
|
16
|
-
const [activeTab, setActiveTab] = useState('Kariyer');
|
|
17
|
-
const [isCloudModalOpen, setIsCloudModalOpen] = useState(false);
|
|
18
|
-
const [friends, setFriends] = useState([]);
|
|
19
|
-
const [isLoadingFriends, setIsLoadingFriends] = useState(false);
|
|
20
|
-
const [hasFetchedFriends, setHasFetchedFriends] = useState(false);
|
|
21
|
-
const [friendsPage, setFriendsPage] = useState(1);
|
|
22
|
-
const [hasMoreFriends, setHasMoreFriends] = useState(true);
|
|
23
|
-
// Use currentUser from context if it's our own profile to ensure reactivity
|
|
24
|
-
const isOwnProfile = currentUser?.username === user?.username;
|
|
25
|
-
const displayUser = isOwnProfile ? currentUser : user;
|
|
26
|
-
const fetchFriends = async (isLoadMore = false) => {
|
|
27
|
-
if (!displayUser?.id)
|
|
28
|
-
return;
|
|
29
|
-
setIsLoadingFriends(true);
|
|
30
|
-
try {
|
|
31
|
-
const targetPage = isLoadMore ? friendsPage + 1 : 1;
|
|
32
|
-
const data = await armoyuApi.users.getFriendsList({
|
|
33
|
-
userId: Number(displayUser.id),
|
|
34
|
-
page: targetPage,
|
|
35
|
-
limit: 20
|
|
36
|
-
});
|
|
37
|
-
if (data && Array.isArray(data)) {
|
|
38
|
-
const mappedFriends = data.map((u) => User.fromJSON(u));
|
|
39
|
-
if (isLoadMore) {
|
|
40
|
-
setFriends(prev => [...prev, ...mappedFriends]);
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
setFriends(mappedFriends);
|
|
44
|
-
}
|
|
45
|
-
setFriendsPage(targetPage);
|
|
46
|
-
setHasMoreFriends(mappedFriends.length > 0);
|
|
47
|
-
setHasFetchedFriends(true);
|
|
48
|
-
console.log(`[ProfileLayout] Fetched ${mappedFriends.length} friends for ${displayUser.username}, Page: ${targetPage}`);
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
setHasMoreFriends(false);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
catch (error) {
|
|
55
|
-
console.error('[ProfileLayout] Friends fetch error:', error);
|
|
56
|
-
}
|
|
57
|
-
finally {
|
|
58
|
-
setIsLoadingFriends(false);
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
useEffect(() => {
|
|
62
|
-
if (activeTab === 'Arkadaşlar' && !hasFetchedFriends) {
|
|
63
|
-
fetchFriends(false);
|
|
64
|
-
}
|
|
65
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
66
|
-
}, [activeTab, hasFetchedFriends, displayUser?.id, armoyuApi]);
|
|
67
|
-
if (!displayUser)
|
|
68
|
-
return null;
|
|
69
|
-
return (_jsxs("div", { className: "max-w-7xl mx-auto px-4 py-8 space-y-8 animate-in fade-in duration-700", children: [_jsx(ProfileHeader, { user: displayUser, isOwnProfile: isOwnProfile }), _jsx(ProfileStats, { user: displayUser }), _jsxs("div", { className: "w-full flex flex-col lg:flex-row gap-8", children: [_jsx("div", { className: "w-full lg:w-80 shrink-0", children: _jsx(ProfileSidebar, { displayUser: displayUser, isOwnProfile: isOwnProfile, friends: friends.length > 0 ? friends : (displayUser?.friends || []), onSeeAllFriends: () => setActiveTab('Arkadaşlar'), onManageCloud: () => setIsCloudModalOpen(true) }) }), _jsx(ProfileTabsArea, { displayUser: displayUser, isOwnProfile: isOwnProfile, activeTab: activeTab, setActiveTab: setActiveTab, friends: friends, hasMoreFriends: hasMoreFriends, isLoadingFriends: isLoadingFriends, onLoadMoreFriends: () => fetchFriends(true) })] }), _jsx(CloudStorageModal, { isOpen: isCloudModalOpen, onClose: () => setIsCloudModalOpen(false) })] }));
|
|
70
|
-
}
|
|
71
|
-
//# sourceMappingURL=ProfileLayout.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileLayout.js","sourceRoot":"","sources":["../../../../src/components/modules/profile/ProfileLayout.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,IAAI,EAAQ,MAAM,cAAc,CAAC;AAE1C,kCAAkC;AAClC,OAAO,EACH,OAAO,EACP,SAAS,EACZ,MAAM,gBAAgB,CAAC;AAExB,0BAA0B;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAGhE,MAAM,UAAU,aAAa,CAAC,EAAE,IAAI,EAAmB;IACrD,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,OAAO,EAAE,CAAC;IACxC,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,SAAS,EAAE,CAAC;IAEvC,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;IACtD,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEhE,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAS,EAAE,CAAC,CAAC;IACnD,MAA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