@armoyu/ui 1.1.31 → 1.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/modules/auth/widgets/LoginWidget.d.ts.map +1 -1
- package/dist/components/modules/auth/widgets/LoginWidget.js +1 -1
- package/dist/components/modules/auth/widgets/LoginWidget.js.map +1 -1
- package/dist/components/modules/auth/widgets/RegisterWidget.js +1 -1
- package/dist/components/modules/auth/widgets/RegisterWidget.js.map +1 -1
- package/dist/components/shared/Header.js +1 -1
- package/dist/components/shared/Header.js.map +1 -1
- package/dist/components/shared/LoginModal.d.ts.map +1 -1
- package/dist/components/shared/LoginModal.js +1 -1
- package/dist/components/shared/LoginModal.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/globals.css +1 -1
- package/dist/app/Providers.js +0 -34
- package/dist/app/Providers.js.map +0 -1
- package/dist/app/education/[slug]/page.d.ts +0 -2
- package/dist/app/education/[slug]/page.d.ts.map +0 -1
- package/dist/app/education/[slug]/page.js +0 -7
- package/dist/app/education/[slug]/page.js.map +0 -1
- package/dist/app/egitim/[slug]/page.d.ts +0 -2
- package/dist/app/egitim/[slug]/page.d.ts.map +0 -1
- package/dist/app/egitim/[slug]/page.js +0 -7
- package/dist/app/egitim/[slug]/page.js.map +0 -1
- package/dist/app/etkinlikler/[eventId]/page.d.ts +0 -2
- package/dist/app/etkinlikler/[eventId]/page.d.ts.map +0 -1
- package/dist/app/etkinlikler/[eventId]/page.js +0 -12
- package/dist/app/etkinlikler/[eventId]/page.js.map +0 -1
- package/dist/app/etkinlikler/page.d.ts +0 -2
- package/dist/app/etkinlikler/page.d.ts.map +0 -1
- package/dist/app/etkinlikler/page.js +0 -32
- package/dist/app/etkinlikler/page.js.map +0 -1
- package/dist/app/events/[eventId]/page.d.ts +0 -2
- package/dist/app/events/[eventId]/page.d.ts.map +0 -1
- package/dist/app/events/[eventId]/page.js +0 -12
- package/dist/app/events/[eventId]/page.js.map +0 -1
- package/dist/app/events/page.d.ts +0 -2
- package/dist/app/events/page.d.ts.map +0 -1
- package/dist/app/events/page.js +0 -32
- package/dist/app/events/page.js.map +0 -1
- package/dist/app/groups/[groupId]/page.d.ts +0 -2
- package/dist/app/groups/[groupId]/page.d.ts.map +0 -1
- package/dist/app/groups/[groupId]/page.js +0 -10
- package/dist/app/groups/[groupId]/page.js.map +0 -1
- package/dist/app/gruplar/[groupId]/page.js +0 -11
- package/dist/app/gruplar/[groupId]/page.js.map +0 -1
- package/dist/app/layout.js +0 -29
- package/dist/app/layout.js.map +0 -1
- package/dist/app/management-panel/layout.js +0 -67
- package/dist/app/management-panel/layout.js.map +0 -1
- package/dist/app/management-panel/page.js +0 -151
- package/dist/app/management-panel/page.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/page.js +0 -59
- 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 -8
- package/dist/components/RollingNumber.d.ts.map +0 -1
- package/dist/components/RollingNumber.js +0 -28
- 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/common/Mentions/HashtagLink.d.ts +0 -7
- package/dist/components/common/Mentions/HashtagLink.d.ts.map +0 -1
- package/dist/components/common/Mentions/HashtagLink.js +0 -7
- package/dist/components/common/Mentions/HashtagLink.js.map +0 -1
- package/dist/components/common/Mentions/MentionLink.d.ts +0 -7
- package/dist/components/common/Mentions/MentionLink.d.ts.map +0 -1
- package/dist/components/common/Mentions/MentionLink.js +0 -33
- package/dist/components/common/Mentions/MentionLink.js.map +0 -1
- package/dist/components/common/Mentions/MentionText.d.ts +0 -8
- package/dist/components/common/Mentions/MentionText.d.ts.map +0 -1
- package/dist/components/common/Mentions/MentionText.js +0 -23
- package/dist/components/common/Mentions/MentionText.js.map +0 -1
- package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts +0 -2
- package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts.map +0 -1
- package/dist/components/modules/auth/widgets/AuthJoinCard.js +0 -16
- package/dist/components/modules/auth/widgets/AuthJoinCard.js.map +0 -1
- package/dist/components/modules/auth/widgets/InviteWidget.d.ts +0 -6
- package/dist/components/modules/auth/widgets/InviteWidget.d.ts.map +0 -1
- package/dist/components/modules/auth/widgets/InviteWidget.js +0 -68
- package/dist/components/modules/auth/widgets/InviteWidget.js.map +0 -1
- package/dist/components/modules/blog/pages/MyArticlesPage.d.ts +0 -2
- package/dist/components/modules/blog/pages/MyArticlesPage.d.ts.map +0 -1
- package/dist/components/modules/blog/pages/MyArticlesPage.js +0 -229
- package/dist/components/modules/blog/pages/MyArticlesPage.js.map +0 -1
- package/dist/components/modules/chat/ChatLayout.js +0 -208
- package/dist/components/modules/chat/ChatLayout.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 -74
- 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 -31
- 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/cloud/CloudModal.d.ts +0 -12
- package/dist/components/modules/cloud/CloudModal.d.ts.map +0 -1
- package/dist/components/modules/cloud/CloudModal.js +0 -251
- package/dist/components/modules/cloud/CloudModal.js.map +0 -1
- package/dist/components/modules/cloud/CloudWidget.d.ts +0 -9
- package/dist/components/modules/cloud/CloudWidget.d.ts.map +0 -1
- package/dist/components/modules/cloud/CloudWidget.js +0 -7
- package/dist/components/modules/cloud/CloudWidget.js.map +0 -1
- package/dist/components/modules/community/CommunityLayout.js +0 -136
- package/dist/components/modules/community/CommunityLayout.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/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 -11
- package/dist/components/modules/community/widgets/SchoolCard.js.map +0 -1
- package/dist/components/modules/community/widgets/SchoolJoinModal.d.ts +0 -8
- package/dist/components/modules/community/widgets/SchoolJoinModal.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/SchoolJoinModal.js +0 -36
- package/dist/components/modules/community/widgets/SchoolJoinModal.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 -28
- package/dist/components/modules/community/widgets/SurveyCard.js.map +0 -1
- package/dist/components/modules/education/pages/EducationPage.d.ts +0 -2
- package/dist/components/modules/education/pages/EducationPage.d.ts.map +0 -1
- package/dist/components/modules/education/pages/EducationPage.js +0 -56
- package/dist/components/modules/education/pages/EducationPage.js.map +0 -1
- package/dist/components/modules/education/pages/SchoolDetailPage.d.ts +0 -2
- package/dist/components/modules/education/pages/SchoolDetailPage.d.ts.map +0 -1
- package/dist/components/modules/education/pages/SchoolDetailPage.js +0 -79
- package/dist/components/modules/education/pages/SchoolDetailPage.js.map +0 -1
- package/dist/components/modules/events/DetailPage.d.ts +0 -9
- package/dist/components/modules/events/DetailPage.d.ts.map +0 -1
- package/dist/components/modules/events/DetailPage.js +0 -94
- package/dist/components/modules/events/DetailPage.js.map +0 -1
- package/dist/components/modules/events/EventsLayout.d.ts +0 -8
- package/dist/components/modules/events/EventsLayout.d.ts.map +0 -1
- package/dist/components/modules/events/EventsLayout.js +0 -7
- package/dist/components/modules/events/EventsLayout.js.map +0 -1
- package/dist/components/modules/events/EventsPage.d.ts +0 -11
- package/dist/components/modules/events/EventsPage.d.ts.map +0 -1
- package/dist/components/modules/events/EventsPage.js +0 -91
- package/dist/components/modules/events/EventsPage.js.map +0 -1
- package/dist/components/modules/events/index.d.ts +0 -7
- package/dist/components/modules/events/index.d.ts.map +0 -1
- package/dist/components/modules/events/widgets/EventCard.d.ts +0 -12
- package/dist/components/modules/events/widgets/EventCard.d.ts.map +0 -1
- package/dist/components/modules/events/widgets/EventCard.js +0 -12
- package/dist/components/modules/events/widgets/EventCard.js.map +0 -1
- package/dist/components/modules/events/widgets/EventFormModal.d.ts +0 -9
- package/dist/components/modules/events/widgets/EventFormModal.d.ts.map +0 -1
- package/dist/components/modules/events/widgets/EventFormModal.js +0 -24
- package/dist/components/modules/events/widgets/EventFormModal.js.map +0 -1
- package/dist/components/modules/events/widgets/EventList.d.ts +0 -12
- package/dist/components/modules/events/widgets/EventList.d.ts.map +0 -1
- package/dist/components/modules/events/widgets/EventList.js +0 -30
- package/dist/components/modules/events/widgets/EventList.js.map +0 -1
- package/dist/components/modules/events/widgets/EventShowcase.d.ts +0 -6
- package/dist/components/modules/events/widgets/EventShowcase.d.ts.map +0 -1
- package/dist/components/modules/events/widgets/EventShowcase.js +0 -80
- package/dist/components/modules/events/widgets/EventShowcase.js.map +0 -1
- package/dist/components/modules/forum/pages/ForumBoardPage.d.ts +0 -8
- package/dist/components/modules/forum/pages/ForumBoardPage.d.ts.map +0 -1
- package/dist/components/modules/forum/pages/ForumBoardPage.js +0 -18
- package/dist/components/modules/forum/pages/ForumBoardPage.js.map +0 -1
- package/dist/components/modules/forum/pages/ForumPage.d.ts +0 -2
- package/dist/components/modules/forum/pages/ForumPage.d.ts.map +0 -1
- package/dist/components/modules/forum/pages/ForumPage.js +0 -14
- package/dist/components/modules/forum/pages/ForumPage.js.map +0 -1
- package/dist/components/modules/forum/pages/ForumTopicPage.d.ts +0 -8
- package/dist/components/modules/forum/pages/ForumTopicPage.d.ts.map +0 -1
- package/dist/components/modules/forum/pages/ForumTopicPage.js +0 -55
- package/dist/components/modules/forum/pages/ForumTopicPage.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/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/pages/GiveawayDetailPage.d.ts +0 -6
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.d.ts.map +0 -1
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js +0 -42
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js.map +0 -1
- package/dist/components/modules/giveaways/pages/GiveawaysPage.d.ts +0 -2
- package/dist/components/modules/giveaways/pages/GiveawaysPage.d.ts.map +0 -1
- package/dist/components/modules/giveaways/pages/GiveawaysPage.js +0 -60
- package/dist/components/modules/giveaways/pages/GiveawaysPage.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/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/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/management/ManagementAccessDenied.d.ts +0 -7
- package/dist/components/modules/management/ManagementAccessDenied.d.ts.map +0 -1
- package/dist/components/modules/management/ManagementAccessDenied.js +0 -7
- package/dist/components/modules/management/ManagementAccessDenied.js.map +0 -1
- package/dist/components/modules/management/ManagementLayout.d.ts +0 -14
- package/dist/components/modules/management/ManagementLayout.d.ts.map +0 -1
- package/dist/components/modules/management/ManagementSidebar.d.ts +0 -23
- package/dist/components/modules/management/ManagementSidebar.d.ts.map +0 -1
- package/dist/components/modules/management/ManagementSidebar.js +0 -48
- package/dist/components/modules/management/ManagementSidebar.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementCharts.d.ts +0 -15
- package/dist/components/modules/management/widgets/ManagementCharts.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementCharts.js +0 -10
- package/dist/components/modules/management/widgets/ManagementCharts.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementDashboard.d.ts +0 -36
- package/dist/components/modules/management/widgets/ManagementDashboard.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementDashboard.js +0 -20
- package/dist/components/modules/management/widgets/ManagementDashboard.js.map +0 -1
- package/dist/components/modules/management/widgets/MemberManagement.d.ts +0 -16
- package/dist/components/modules/management/widgets/MemberManagement.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/MemberManagement.js +0 -25
- package/dist/components/modules/management/widgets/MemberManagement.js.map +0 -1
- package/dist/components/modules/management/widgets/SystemSettings.d.ts +0 -2
- package/dist/components/modules/management/widgets/SystemSettings.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/SystemSettings.js +0 -7
- package/dist/components/modules/management/widgets/SystemSettings.js.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.d.ts +0 -6
- package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.js +0 -16
- package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.js.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.d.ts +0 -18
- package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.js +0 -7
- package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.js.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/ManagementCharts.d.ts +0 -15
- package/dist/components/modules/management/widgets/dashboard/ManagementCharts.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/ManagementCharts.js +0 -10
- package/dist/components/modules/management/widgets/dashboard/ManagementCharts.js.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.d.ts +0 -36
- package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.js +0 -14
- package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.js.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/ManagementHeader.d.ts +0 -8
- package/dist/components/modules/management/widgets/dashboard/ManagementHeader.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/ManagementHeader.js +0 -5
- package/dist/components/modules/management/widgets/dashboard/ManagementHeader.js.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/ManagementOverview.d.ts +0 -27
- package/dist/components/modules/management/widgets/dashboard/ManagementOverview.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/ManagementOverview.js +0 -11
- package/dist/components/modules/management/widgets/dashboard/ManagementOverview.js.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.d.ts +0 -10
- package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.js +0 -7
- package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.js.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.d.ts +0 -14
- package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.js +0 -7
- package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.js.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.d.ts +0 -4
- package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.js +0 -23
- package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.js.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/RegistryManagement.d.ts +0 -2
- package/dist/components/modules/management/widgets/dashboard/RegistryManagement.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/RegistryManagement.js +0 -36
- package/dist/components/modules/management/widgets/dashboard/RegistryManagement.js.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.d.ts +0 -2
- package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.js +0 -74
- package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.js.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/SystemSettings.d.ts +0 -2
- package/dist/components/modules/management/widgets/dashboard/SystemSettings.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/dashboard/SystemSettings.js +0 -20
- package/dist/components/modules/management/widgets/dashboard/SystemSettings.js.map +0 -1
- package/dist/components/modules/management/widgets/editor/GiveawaysManagement.d.ts +0 -2
- package/dist/components/modules/management/widgets/editor/GiveawaysManagement.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/editor/GiveawaysManagement.js +0 -12
- package/dist/components/modules/management/widgets/editor/GiveawaysManagement.js.map +0 -1
- package/dist/components/modules/management/widgets/editor/GroupsManagement.d.ts +0 -2
- package/dist/components/modules/management/widgets/editor/GroupsManagement.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/editor/GroupsManagement.js +0 -12
- package/dist/components/modules/management/widgets/editor/GroupsManagement.js.map +0 -1
- package/dist/components/modules/management/widgets/editor/NewsManagement.d.ts +0 -2
- package/dist/components/modules/management/widgets/editor/NewsManagement.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/editor/NewsManagement.js +0 -13
- package/dist/components/modules/management/widgets/editor/NewsManagement.js.map +0 -1
- package/dist/components/modules/management/widgets/editor/SchoolsManagement.d.ts +0 -2
- package/dist/components/modules/management/widgets/editor/SchoolsManagement.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/editor/SchoolsManagement.js +0 -12
- package/dist/components/modules/management/widgets/editor/SchoolsManagement.js.map +0 -1
- package/dist/components/modules/management/widgets/editor/StationsManagement.d.ts +0 -2
- package/dist/components/modules/management/widgets/editor/StationsManagement.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/editor/StationsManagement.js +0 -15
- package/dist/components/modules/management/widgets/editor/StationsManagement.js.map +0 -1
- package/dist/components/modules/management/widgets/events/EventManagement.d.ts +0 -13
- package/dist/components/modules/management/widgets/events/EventManagement.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/events/EventManagement.js +0 -13
- package/dist/components/modules/management/widgets/events/EventManagement.js.map +0 -1
- package/dist/components/modules/management/widgets/events/EventSummaryWidget.d.ts +0 -2
- package/dist/components/modules/management/widgets/events/EventSummaryWidget.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/events/EventSummaryWidget.js +0 -11
- package/dist/components/modules/management/widgets/events/EventSummaryWidget.js.map +0 -1
- package/dist/components/modules/management/widgets/support/SupportManagement.d.ts +0 -14
- package/dist/components/modules/management/widgets/support/SupportManagement.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/support/SupportManagement.js +0 -17
- package/dist/components/modules/management/widgets/support/SupportManagement.js.map +0 -1
- package/dist/components/modules/management/widgets/support/SupportSummaryWidget.d.ts +0 -2
- package/dist/components/modules/management/widgets/support/SupportSummaryWidget.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/support/SupportSummaryWidget.js +0 -11
- package/dist/components/modules/management/widgets/support/SupportSummaryWidget.js.map +0 -1
- package/dist/components/modules/management/widgets/users/MemberManagement.d.ts +0 -16
- package/dist/components/modules/management/widgets/users/MemberManagement.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/users/MemberManagement.js +0 -37
- package/dist/components/modules/management/widgets/users/MemberManagement.js.map +0 -1
- package/dist/components/modules/management/widgets/users/MemberSummaryWidget.d.ts +0 -2
- package/dist/components/modules/management/widgets/users/MemberSummaryWidget.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/users/MemberSummaryWidget.js +0 -12
- package/dist/components/modules/management/widgets/users/MemberSummaryWidget.js.map +0 -1
- package/dist/components/modules/mods/pages/ModDetailPage.d.ts +0 -7
- package/dist/components/modules/mods/pages/ModDetailPage.d.ts.map +0 -1
- package/dist/components/modules/mods/pages/ModDetailPage.js +0 -24
- package/dist/components/modules/mods/pages/ModDetailPage.js.map +0 -1
- package/dist/components/modules/mods/pages/ModsPage.d.ts +0 -20
- package/dist/components/modules/mods/pages/ModsPage.d.ts.map +0 -1
- package/dist/components/modules/mods/pages/ModsPage.js +0 -46
- package/dist/components/modules/mods/pages/ModsPage.js.map +0 -1
- package/dist/components/modules/news/index.d.ts +0 -6
- package/dist/components/modules/news/index.d.ts.map +0 -1
- package/dist/components/modules/news/pages/NewsDetailPage.d.ts +0 -7
- package/dist/components/modules/news/pages/NewsDetailPage.d.ts.map +0 -1
- package/dist/components/modules/news/pages/NewsDetailPage.js +0 -56
- package/dist/components/modules/news/pages/NewsDetailPage.js.map +0 -1
- package/dist/components/modules/news/pages/NewsPage.d.ts +0 -2
- package/dist/components/modules/news/pages/NewsPage.d.ts.map +0 -1
- package/dist/components/modules/news/pages/NewsPage.js +0 -69
- package/dist/components/modules/news/pages/NewsPage.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsCard.d.ts +0 -13
- 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 -7
- package/dist/components/modules/news/widgets/NewsComments.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailAuthor.d.ts +0 -8
- package/dist/components/modules/news/widgets/NewsDetailAuthor.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailAuthor.js +0 -6
- package/dist/components/modules/news/widgets/NewsDetailAuthor.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailHero.d.ts +0 -9
- package/dist/components/modules/news/widgets/NewsDetailHero.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailHero.js +0 -6
- package/dist/components/modules/news/widgets/NewsDetailHero.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailSidebar.d.ts +0 -8
- package/dist/components/modules/news/widgets/NewsDetailSidebar.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailSidebar.js +0 -6
- package/dist/components/modules/news/widgets/NewsDetailSidebar.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsHero.d.ts +0 -2
- package/dist/components/modules/news/widgets/NewsHero.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsHero.js +0 -7
- package/dist/components/modules/news/widgets/NewsHero.js.map +0 -1
- package/dist/components/modules/poll/pages/PollsPage.d.ts +0 -2
- package/dist/components/modules/poll/pages/PollsPage.d.ts.map +0 -1
- package/dist/components/modules/poll/pages/PollsPage.js +0 -57
- package/dist/components/modules/poll/pages/PollsPage.js.map +0 -1
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts +0 -28
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/MediaLightbox.js +0 -90
- package/dist/components/modules/posts/widgets/MediaLightbox.js.map +0 -1
- package/dist/components/modules/posts/widgets/PostCard.d.ts +0 -39
- package/dist/components/modules/posts/widgets/PostCard.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/PostCard.js +0 -260
- package/dist/components/modules/posts/widgets/PostCard.js.map +0 -1
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts +0 -15
- 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/PostShareModal.d.ts +0 -9
- package/dist/components/modules/posts/widgets/PostShareModal.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/PostShareModal.js +0 -45
- package/dist/components/modules/posts/widgets/PostShareModal.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/SocialFeed.d.ts +0 -23
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/SocialFeed.js +0 -123
- package/dist/components/modules/posts/widgets/SocialFeed.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 -7
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts.map +0 -1
- package/dist/components/modules/profile/ProfileLayout.js +0 -70
- package/dist/components/modules/profile/ProfileLayout.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 -8
- package/dist/components/modules/profile/tabs/CareerTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/CareerTab.js +0 -57
- package/dist/components/modules/profile/tabs/CareerTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts +0 -7
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/FriendsTab.js +0 -46
- 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 -24
- package/dist/components/modules/profile/tabs/GamesTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts +0 -7
- 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/MediaTab.d.ts +0 -7
- package/dist/components/modules/profile/tabs/MediaTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/MediaTab.js +0 -81
- package/dist/components/modules/profile/tabs/MediaTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/PostsTab.js +0 -34
- package/dist/components/modules/profile/tabs/PostsTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/QuestionsTab.d.ts +0 -6
- package/dist/components/modules/profile/tabs/QuestionsTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/QuestionsTab.js +0 -39
- package/dist/components/modules/profile/tabs/QuestionsTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/WallTab.js +0 -40
- package/dist/components/modules/profile/tabs/WallTab.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 -78
- 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 -14
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.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/ProfileGamesWidget.d.ts +0 -7
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.js +0 -11
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.d.ts +0 -7
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js +0 -11
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts +0 -9
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.js +0 -44
- package/dist/components/modules/profile/widgets/ProfileHeader.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.d.ts +0 -10
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.js +0 -41
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts +0 -9
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileStats.js +0 -26
- package/dist/components/modules/profile/widgets/ProfileStats.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js +0 -61
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +0 -1
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.d.ts +0 -10
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.d.ts.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 -18
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js.map +0 -1
- package/dist/components/modules/shop/CartLayout.d.ts +0 -12
- package/dist/components/modules/shop/CartLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/CartLayout.js +0 -14
- package/dist/components/modules/shop/CartLayout.js.map +0 -1
- package/dist/components/modules/shop/CheckoutLayout.d.ts +0 -8
- package/dist/components/modules/shop/CheckoutLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/CheckoutLayout.js +0 -23
- package/dist/components/modules/shop/CheckoutLayout.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 -24
- package/dist/components/modules/shop/DetailLayout.js.map +0 -1
- package/dist/components/modules/shop/OrdersLayout.d.ts +0 -15
- package/dist/components/modules/shop/OrdersLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/OrdersLayout.js +0 -8
- package/dist/components/modules/shop/OrdersLayout.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 -13
- 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/StoreSearchBar.d.ts +0 -9
- package/dist/components/modules/shop/widgets/StoreSearchBar.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreSearchBar.js +0 -9
- package/dist/components/modules/shop/widgets/StoreSearchBar.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/SocialLayout.js +0 -113
- 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 -55
- 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 -50
- 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 -53
- package/dist/components/modules/social/widgets/MinecraftWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/NewMembersWidget.d.ts +0 -2
- package/dist/components/modules/social/widgets/NewMembersWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/NewMembersWidget.js +0 -36
- package/dist/components/modules/social/widgets/NewMembersWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/PostComposer.d.ts +0 -15
- package/dist/components/modules/social/widgets/PostComposer.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/PostComposer.js +0 -164
- package/dist/components/modules/social/widgets/PostComposer.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 -78
- 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/TrendingWidget.d.ts +0 -3
- package/dist/components/modules/social/widgets/TrendingWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/TrendingWidget.js +0 -34
- package/dist/components/modules/social/widgets/TrendingWidget.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/modules/stories/widgets/AddStoryModal.d.ts +0 -13
- package/dist/components/modules/stories/widgets/AddStoryModal.d.ts.map +0 -1
- package/dist/components/modules/stories/widgets/AddStoryModal.js +0 -11
- package/dist/components/modules/stories/widgets/AddStoryModal.js.map +0 -1
- package/dist/components/modules/stories/widgets/Stories.d.ts +0 -2
- package/dist/components/modules/stories/widgets/Stories.d.ts.map +0 -1
- package/dist/components/modules/stories/widgets/Stories.js +0 -151
- package/dist/components/modules/stories/widgets/Stories.js.map +0 -1
- package/dist/components/modules/stories/widgets/StoryOverlay.d.ts +0 -10
- package/dist/components/modules/stories/widgets/StoryOverlay.d.ts.map +0 -1
- package/dist/components/modules/stories/widgets/StoryOverlay.js +0 -205
- package/dist/components/modules/stories/widgets/StoryOverlay.js.map +0 -1
- package/dist/components/modules/support/pages/SupportPage.d.ts +0 -2
- package/dist/components/modules/support/pages/SupportPage.d.ts.map +0 -1
- package/dist/components/modules/support/pages/SupportPage.js +0 -47
- package/dist/components/modules/support/pages/SupportPage.js.map +0 -1
- package/dist/components/shared/AnimatedStat.d.ts +0 -13
- package/dist/components/shared/AnimatedStat.d.ts.map +0 -1
- package/dist/components/shared/AnimatedStat.js +0 -20
- package/dist/components/shared/AnimatedStat.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 -32
- 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.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/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/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/RegisterModal.d.ts +0 -7
- package/dist/components/shared/RegisterModal.d.ts.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/shared/UserDrawer.d.ts +0 -23
- package/dist/components/shared/UserDrawer.d.ts.map +0 -1
- package/dist/components/shared/UserDrawer.js +0 -47
- package/dist/components/shared/UserDrawer.js.map +0 -1
- package/dist/components/showcase/AuthTab.js +0 -14
- package/dist/components/showcase/AuthTab.js.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.js +0 -20
- package/dist/components/showcase/CorporateTab.js.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 -111
- package/dist/components/showcase/GroupTab.js.map +0 -1
- package/dist/components/showcase/MessagesTab.js +0 -25
- package/dist/components/showcase/MessagesTab.js.map +0 -1
- package/dist/components/showcase/MyPostsTab.js +0 -12
- package/dist/components/showcase/MyPostsTab.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 -97
- package/dist/components/showcase/ReelsTab.js.map +0 -1
- package/dist/components/showcase/RulesTab.d.ts +0 -2
- package/dist/components/showcase/RulesTab.d.ts.map +0 -1
- package/dist/components/showcase/RulesTab.js +0 -18
- package/dist/components/showcase/RulesTab.js.map +0 -1
- package/dist/components/showcase/ShopTab.js +0 -63
- 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 -129
- package/dist/components/showcase/ShowcaseNavigation.js.map +0 -1
- package/dist/components/showcase/SocialTab.js +0 -61
- package/dist/components/showcase/SocialTab.js.map +0 -1
- package/dist/components/showcase/StoriesTab.js +0 -7
- package/dist/components/showcase/StoriesTab.js.map +0 -1
- package/dist/context/ArmoyuContext.d.ts +0 -45
- package/dist/context/ArmoyuContext.d.ts.map +0 -1
- package/dist/context/ArmoyuContext.js +0 -92
- package/dist/context/ArmoyuContext.js.map +0 -1
- package/dist/context/AuthContext.d.ts +0 -23
- package/dist/context/AuthContext.d.ts.map +0 -1
- package/dist/context/AuthContext.js +0 -154
- package/dist/context/AuthContext.js.map +0 -1
- package/dist/context/CartContext.d.ts +0 -18
- package/dist/context/CartContext.d.ts.map +0 -1
- package/dist/context/CartContext.js +0 -63
- package/dist/context/CartContext.js.map +0 -1
- package/dist/context/ChatContext.d.ts +0 -27
- package/dist/context/ChatContext.d.ts.map +0 -1
- package/dist/context/ChatContext.js +0 -170
- 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 -14
- package/dist/context/ThemeContext.d.ts.map +0 -1
- package/dist/context/ThemeContext.js +0 -52
- package/dist/context/ThemeContext.js.map +0 -1
- package/dist/lib/ArmoyuUI.d.ts +0 -18
- package/dist/lib/ArmoyuUI.d.ts.map +0 -1
- package/dist/lib/constants/educationData.d.ts +0 -11
- package/dist/lib/constants/educationData.d.ts.map +0 -1
- package/dist/lib/constants/educationData.js +0 -121
- 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 -182
- package/dist/lib/constants/seedData.d.ts.map +0 -1
- package/dist/lib/constants/seedData.js +0 -743
- package/dist/lib/constants/seedData.js.map +0 -1
- package/dist/lib/constants/stationData.d.ts +0 -16
- package/dist/lib/constants/stationData.d.ts.map +0 -1
- package/dist/lib/constants/stationData.js +0 -206
- 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 -51
- package/dist/lib/constants/surveyData.js.map +0 -1
- package/dist/lib/constants/teamData.d.ts +0 -19
- package/dist/lib/constants/teamData.d.ts.map +0 -1
- package/dist/lib/constants/teamData.js +0 -56
- 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/lib/utils/postUtils.d.ts +0 -7
- package/dist/lib/utils/postUtils.d.ts.map +0 -1
- package/dist/lib/utils/postUtils.js +0 -40
- package/dist/lib/utils/postUtils.js.map +0 -1
- package/dist/models/auth/Session.d.ts +0 -24
- package/dist/models/auth/Session.d.ts.map +0 -1
- package/dist/models/auth/User.d.ts +0 -99
- package/dist/models/auth/User.d.ts.map +0 -1
- package/dist/models/auth/User.js +0 -236
- package/dist/models/auth/User.js.map +0 -1
- package/dist/models/community/ArmoyuEvent.d.ts +0 -62
- package/dist/models/community/ArmoyuEvent.d.ts.map +0 -1
- package/dist/models/community/ArmoyuEvent.js +0 -149
- package/dist/models/community/ArmoyuEvent.js.map +0 -1
- package/dist/models/community/Classroom.d.ts +0 -24
- package/dist/models/community/Classroom.d.ts.map +0 -1
- package/dist/models/community/Faculty.d.ts +0 -22
- package/dist/models/community/Faculty.d.ts.map +0 -1
- package/dist/models/community/Group.d.ts +0 -38
- package/dist/models/community/Group.d.ts.map +0 -1
- package/dist/models/community/School.d.ts +0 -28
- package/dist/models/community/School.d.ts.map +0 -1
- package/dist/models/community/SchoolTeam.d.ts +0 -27
- package/dist/models/community/SchoolTeam.d.ts.map +0 -1
- package/dist/models/community/Station.d.ts +0 -81
- package/dist/models/community/Station.d.ts.map +0 -1
- package/dist/models/community/Survey.d.ts +0 -27
- package/dist/models/community/Survey.d.ts.map +0 -1
- package/dist/models/community/Team.d.ts +0 -22
- package/dist/models/community/Team.d.ts.map +0 -1
- package/dist/models/community/Team.js +0 -60
- package/dist/models/community/Team.js.map +0 -1
- package/dist/models/content/Mod.d.ts +0 -21
- package/dist/models/content/Mod.d.ts.map +0 -1
- package/dist/models/content/News.d.ts +0 -41
- package/dist/models/content/News.d.ts.map +0 -1
- package/dist/models/content/Project.d.ts +0 -27
- package/dist/models/content/Project.d.ts.map +0 -1
- package/dist/models/core/PlatformStats.d.ts +0 -46
- package/dist/models/core/PlatformStats.d.ts.map +0 -1
- package/dist/models/core/PlatformStats.js +0 -88
- package/dist/models/core/PlatformStats.js.map +0 -1
- package/dist/models/core/SystemSettings.d.ts +0 -38
- package/dist/models/core/SystemSettings.d.ts.map +0 -1
- package/dist/models/core/SystemSettings.js +0 -64
- package/dist/models/core/SystemSettings.js.map +0 -1
- package/dist/models/index.d.ts +0 -58
- package/dist/models/index.d.ts.map +0 -1
- package/dist/models/social/chat/Chat.d.ts +0 -26
- package/dist/models/social/chat/Chat.d.ts.map +0 -1
- package/dist/models/social/chat/Message.d.ts +0 -18
- package/dist/models/social/chat/Message.d.ts.map +0 -1
- package/dist/models/social/feed/Comment.d.ts +0 -21
- package/dist/models/social/feed/Comment.d.ts.map +0 -1
- package/dist/models/social/feed/Post.d.ts +0 -29
- package/dist/models/social/feed/Post.d.ts.map +0 -1
- package/dist/models/social/feed/Post.js +0 -57
- package/dist/models/social/feed/Post.js.map +0 -1
- package/dist/models/social/stats/Leaderboard.d.ts +0 -29
- package/dist/models/social/stats/Leaderboard.d.ts.map +0 -1
- package/dist/models/social/user/BlockedUser.d.ts +0 -15
- package/dist/models/social/user/BlockedUser.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -4
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -4
- 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
- package/dist/utils/text/MentionUtils.d.ts +0 -8
- package/dist/utils/text/MentionUtils.d.ts.map +0 -1
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useState, useEffect } from 'react';
|
|
3
|
-
import { useChat } from '../../../../context/ChatContext';
|
|
4
|
-
import { useSocket } from '../../../../context/SocketContext';
|
|
5
|
-
import { ChatNotes } from './ChatNotes';
|
|
6
|
-
import { userList } from '../../../../lib/constants/seedData';
|
|
7
|
-
import { useAuth } from '../../../../context/AuthContext';
|
|
8
|
-
export function ChatList({ contacts: mockContacts, activeId, onSelect }) {
|
|
9
|
-
const { user } = useAuth();
|
|
10
|
-
const { closeChat, isLiveMode, chatList: liveContacts, hasMoreChat, chatPage, fetchChatList, isLoading, searchFriends, searchResults } = useChat();
|
|
11
|
-
const { isConnected } = useSocket();
|
|
12
|
-
const [searchQuery, setSearchQuery] = useState('');
|
|
13
|
-
const [activeFilter, setActiveFilter] = useState('all');
|
|
14
|
-
const currentContacts = isLiveMode ? liveContacts : mockContacts;
|
|
15
|
-
const filteredActiveContacts = currentContacts
|
|
16
|
-
.filter(c => {
|
|
17
|
-
// 1. Search Query Filter
|
|
18
|
-
const matchesSearch = c.name.toLowerCase().includes(searchQuery.toLowerCase()) ||
|
|
19
|
-
(c.lastMessage?.content || '').toLowerCase().includes(searchQuery.toLowerCase());
|
|
20
|
-
if (!matchesSearch)
|
|
21
|
-
return false;
|
|
22
|
-
// 2. Category Filter
|
|
23
|
-
if (activeFilter === 'unread')
|
|
24
|
-
return c.unreadCount > 0;
|
|
25
|
-
if (activeFilter === 'favorites')
|
|
26
|
-
return c.isFavorite;
|
|
27
|
-
if (activeFilter === 'groups')
|
|
28
|
-
return c.isGroup;
|
|
29
|
-
return true; // 'all'
|
|
30
|
-
})
|
|
31
|
-
.sort((a, b) => (b.updatedAt || 0) - (a.updatedAt || 0));
|
|
32
|
-
// 3. New Contact Search (API or Mock)
|
|
33
|
-
useEffect(() => {
|
|
34
|
-
if (isLiveMode && searchQuery.length >= 2) {
|
|
35
|
-
searchFriends(searchQuery);
|
|
36
|
-
}
|
|
37
|
-
}, [searchQuery, isLiveMode, searchFriends]);
|
|
38
|
-
const displayAdditionalContacts = isLiveMode
|
|
39
|
-
? searchResults.filter(r => !currentContacts.some(c => c.id === r.id))
|
|
40
|
-
: (searchQuery.length >= 2
|
|
41
|
-
? userList.filter((u) => {
|
|
42
|
-
const matchesSearch = u.displayName.toLowerCase().includes(searchQuery.toLowerCase()) ||
|
|
43
|
-
u.username.toLowerCase().includes(searchQuery.toLowerCase());
|
|
44
|
-
const isNotSelf = u.username !== user?.username;
|
|
45
|
-
const notInContacts = !currentContacts.some(c => c.id === u.username);
|
|
46
|
-
return matchesSearch && isNotSelf && notInContacts;
|
|
47
|
-
}).slice(0, 10)
|
|
48
|
-
: []);
|
|
49
|
-
// 4. Infinite Scroll Logic
|
|
50
|
-
useEffect(() => {
|
|
51
|
-
if (!isLiveMode || !hasMoreChat || isLoading)
|
|
52
|
-
return;
|
|
53
|
-
const observer = new IntersectionObserver((entries) => {
|
|
54
|
-
if (entries[0].isIntersecting) {
|
|
55
|
-
fetchChatList(chatPage + 1);
|
|
56
|
-
}
|
|
57
|
-
}, { threshold: 0.1 });
|
|
58
|
-
const sentinel = document.getElementById('chat-list-sentinel');
|
|
59
|
-
if (sentinel)
|
|
60
|
-
observer.observe(sentinel);
|
|
61
|
-
return () => observer.disconnect();
|
|
62
|
-
}, [isLiveMode, hasMoreChat, isLoading, chatPage, fetchChatList]);
|
|
63
|
-
return (_jsxs("div", { className: "w-full h-full flex flex-col bg-armoyu-bg border-r border-gray-200 dark:border-white/5", children: [_jsxs("div", { className: "p-4 md:p-5 border-b border-gray-200 dark:border-white/5", children: [_jsxs("div", { className: "flex justify-between items-center", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("h2", { className: "text-xl font-bold text-armoyu-text tracking-tight flex items-center gap-2", children: "Sohbetler" }), _jsxs("div", { className: "flex items-center gap-1.5 px-2 py-0.5 rounded-full bg-black/5 dark:bg-white/5 border border-black/5 dark:border-white/5", children: [_jsx("div", { className: `w-1.5 h-1.5 rounded-full ${isConnected ? 'bg-emerald-500 shadow-[0_0_5px_rgba(16,185,129,0.8)]' : 'bg-red-500'} animate-pulse` }), _jsx("span", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-tighter", children: isConnected ? 'Sockete Bağlı' : 'Bağlanıyor...' })] })] }), _jsx("button", { onClick: closeChat, className: "p-2 -mr-2 text-armoyu-text-muted hover:text-red-500 hover:bg-red-500/10 transition-colors rounded-full", title: "Sohbeti Kapat", 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" })] }) })] }), _jsxs("div", { className: "relative mt-4", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "absolute left-3 top-1/2 -translate-y-1/2 text-gray-500", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [_jsx("circle", { cx: "11", cy: "11", r: "8" }), _jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })] }), _jsx("input", { type: "text", placeholder: "Ki\u015Fi ara...", value: searchQuery, onChange: (e) => setSearchQuery(e.target.value), className: "w-full bg-white/5 dark:bg-black/20 border border-black/10 dark:border-white/10 rounded-xl pl-10 pr-4 py-2.5 text-sm text-slate-900 dark:text-white placeholder-gray-500 hover:border-black/20 dark:hover:border-white/20 focus:outline-none focus:border-armoyu-primary transition-all" })] })] }), _jsx(ChatNotes, {}), _jsx("div", { className: "px-4 pb-4 flex gap-2 overflow-x-auto no-scrollbar shrink-0", children: [
|
|
64
|
-
{ id: 'all', label: 'Tümü' },
|
|
65
|
-
{ id: 'unread', label: 'Okunmamış' },
|
|
66
|
-
{ id: 'favorites', label: 'Favoriler' },
|
|
67
|
-
{ id: 'groups', label: 'Gruplar' }
|
|
68
|
-
].map((filter) => (_jsx("button", { onClick: () => setActiveFilter(filter.id), className: `px-4 py-2 rounded-xl text-xs font-black transition-all whitespace-nowrap border ${activeFilter === filter.id
|
|
69
|
-
? 'bg-armoyu-primary text-white border-armoyu-primary shadow-md shadow-armoyu-primary/20 scale-105'
|
|
70
|
-
: 'bg-black/5 dark:bg-white/5 text-armoyu-text-muted border-transparent hover:bg-black/10 dark:hover:bg-white/10'}`, children: filter.label }, filter.id))) }), _jsxs("div", { className: "flex-1 overflow-y-auto no-scrollbar p-3 space-y-1.5", children: [_jsxs("div", { className: "space-y-1.5", children: [searchQuery.length > 0 && filteredActiveContacts.length > 0 && (_jsx("div", { className: "px-3 py-1 text-[10px] font-black text-armoyu-text-muted uppercase tracking-[0.2em] opacity-50", children: "Sohbet Ge\u00E7mi\u015Fi" })), filteredActiveContacts.map((c, idx) => (_jsxs("button", { onClick: () => onSelect(c.id), className: `w-full flex items-center gap-4 p-3 rounded-2xl transition-all cursor-pointer text-left ${activeId === c.id
|
|
71
|
-
? 'bg-armoyu-primary/10 dark:bg-armoyu-primary/20 border border-armoyu-primary/20 shadow-inner'
|
|
72
|
-
: 'hover:bg-black/5 dark:hover:bg-white/5 border border-transparent'}`, children: [_jsxs("div", { className: "relative shrink-0", children: [_jsx("img", { src: c.avatar || undefined, alt: c.name, className: "w-12 h-12 rounded-full object-cover border border-white/10 shadow-sm" }), c.isOnline && (_jsx("div", { className: "absolute -bottom-0.5 -right-0.5 w-3.5 h-3.5 bg-green-500 rounded-full border-2 border-white dark:border-[#0a0a0e] shadow-sm" }))] }), _jsxs("div", { className: "flex-1 overflow-hidden", children: [_jsxs("div", { className: "flex justify-between items-center mb-1", children: [_jsx("span", { className: "font-black text-slate-900 dark:text-gray-200 text-sm truncate max-w-[130px]", children: c.name }), _jsx("span", { className: "text-xs text-gray-500 font-black", children: c.time })] }), _jsxs("div", { className: "flex justify-between items-center", children: [_jsx("span", { className: `text-xs truncate max-w-[120px] font-bold ${c.unreadCount > 0 ? 'text-slate-950 dark:text-white' : 'text-slate-500'}`, children: c.lastMessage?.content || c.lastMessage?.mesajicerik || c.lastMessage?.icerik || c.mesajicerik || 'Mesaj yok' }), c.unreadCount > 0 && (_jsx("span", { className: "bg-armoyu-primary text-white text-[10px] font-black px-1.5 py-0.5 rounded-md leading-none shadow-md animate-in zoom-in duration-300", children: c.unreadCount > 9 ? '9+' : c.unreadCount }))] })] })] }, `${c.id}-${idx}`))), isLiveMode && hasMoreChat && (_jsx("div", { id: "chat-list-sentinel", className: "h-10 flex items-center justify-center py-8", children: isLoading && (_jsxs("div", { className: "flex items-center gap-2 text-armoyu-text-muted", children: [_jsx("div", { className: "w-1.5 h-1.5 bg-armoyu-primary rounded-full animate-bounce [animation-delay:-0.3s]" }), _jsx("div", { className: "w-1.5 h-1.5 bg-armoyu-primary rounded-full animate-bounce [animation-delay:-0.15s]" }), _jsx("div", { className: "w-1.5 h-1.5 bg-armoyu-primary rounded-full animate-bounce" })] })) })), isLiveMode && !hasMoreChat && filteredActiveContacts.length > 0 && (_jsx("div", { className: "py-8 text-center", children: _jsx("p", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-[0.2em] opacity-30", children: "Liste Sonu" }) }))] }), displayAdditionalContacts.length > 0 && (_jsxs("div", { className: "space-y-1.5 mt-6 animate-in fade-in slide-in-from-top-2 duration-500", children: [_jsx("div", { className: "px-3 py-1 text-[10px] font-black text-armoyu-primary uppercase tracking-[0.2em]", children: "Yeni Sohbet Ba\u015Flat" }), displayAdditionalContacts.map((u) => (_jsxs("button", { onClick: () => onSelect(u.id || u.username), className: "w-full flex items-center gap-4 p-3 rounded-2xl hover:bg-white/5 border border-transparent transition-all group", children: [_jsx("div", { className: "relative shrink-0", children: _jsx("img", { src: u.avatar || undefined, alt: u.name || u.displayName, className: "w-12 h-12 rounded-full object-cover border border-white/10 shadow-sm opacity-60 group-hover:opacity-100 transition-opacity" }) }), _jsxs("div", { className: "flex-1 min-w-0", children: [_jsx("div", { className: "font-black text-slate-900 dark:text-gray-200 text-sm truncate", children: u.name || u.displayName }), _jsxs("div", { className: "text-[10px] font-bold text-armoyu-text-muted uppercase tracking-tighter", children: ["@", u.id || u.username] })] }), _jsx("div", { className: "w-8 h-8 rounded-full bg-armoyu-primary/10 flex items-center justify-center text-armoyu-primary scale-0 group-hover:scale-100 transition-all duration-300", 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: "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" }) }) })] }, u.id || u.username)))] })), searchQuery.length > 0 && filteredActiveContacts.length === 0 && displayAdditionalContacts.length === 0 && (_jsx("div", { className: "py-12 text-center", children: _jsx("div", { className: "text-armoyu-text-muted text-sm font-bold opacity-30", children: "Sonu\u00E7 bulunamad\u0131" }) }))] })] }));
|
|
73
|
-
}
|
|
74
|
-
//# sourceMappingURL=ChatList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatList.js","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W,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,GACrQ,KAbD,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,QAAQ,CAchB,CACV,CAAC,IACC,CACP,EAEA,WAAW,CAAC,MAAM,GAAG,CAAC,IAAI,sBAAsB,CAAC,MAAM,KAAK,CAAC,IAAI,yBAAyB,CAAC,MAAM,KAAK,CAAC,IAAI,CAC1G,cAAK,SAAS,EAAC,mBAAmB,YAC/B,cAAK,SAAS,EAAC,qDAAqD,2CAAuB,GACxF,CACP,IACG,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface ChatMessageProps {
|
|
2
|
-
id: string;
|
|
3
|
-
sender: {
|
|
4
|
-
name: string;
|
|
5
|
-
avatar: string;
|
|
6
|
-
isSelf: boolean;
|
|
7
|
-
};
|
|
8
|
-
content: string;
|
|
9
|
-
timestamp: string;
|
|
10
|
-
}
|
|
11
|
-
export declare function ChatMessage({ sender, content, timestamp }: ChatMessageProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
//# sourceMappingURL=ChatMessage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMessage.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/chat/widgets/ChatMessage.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,OAAO,CAAC;KACjB,CAAC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,gBAAgB,2CA6D3E"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
export function ChatMessage({ sender, content, timestamp }) {
|
|
3
|
-
return (_jsx("div", { className: `flex w-full ${sender.isSelf ? 'justify-end' : 'justify-start'} mb-4`, children: _jsxs("div", { className: `flex gap-3 items-end max-w-[85%] md:max-w-[70%] ${sender.isSelf ? 'flex-row-reverse' : 'flex-row'}`, children: [_jsx("img", { src: sender.avatar || `https://api.dicebear.com/7.x/initials/svg?seed=${sender.name}`, alt: sender.name, className: "w-8 h-8 rounded-full border border-white/10 shadow-sm shrink-0" }), _jsxs("div", { className: `flex flex-col ${sender.isSelf ? 'items-end' : 'items-start'} gap-1.5`, children: [_jsxs("span", { className: "text-xs text-gray-500 font-bold tracking-wide dark:text-gray-400", children: [sender.name, " ", _jsx("span", { className: "opacity-50 mx-1", children: "\u2022" }), " ", timestamp] }), _jsx("div", { className: `p-3.5 rounded-2xl text-sm shadow-lg leading-relaxed font-medium chat-content relative min-h-[44px] ${sender.isSelf
|
|
4
|
-
? 'bg-gradient-to-br from-armoyu-primary to-armoyu-primary text-white rounded-br-sm shadow-[0_4px_15px_rgba(var(--armoyu-primary-rgb), 0.3)]'
|
|
5
|
-
: 'bg-black/5 dark:bg-[#1a1a24] text-armoyu-text rounded-bl-sm border border-black/5 dark:border-white/5'}`, children: content ? (_jsx("div", { dangerouslySetInnerHTML: { __html: content } })) : (_jsx("span", { className: "text-red-500 font-bold opacity-50 italic", children: " DEBUG: \u0130\u00E7erik Bo\u015F " })) }), _jsx("style", { jsx: true, global: true, children: `
|
|
6
|
-
.chat-content img {
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
height: auto;
|
|
9
|
-
border-radius: 12px;
|
|
10
|
-
margin: 8px 0;
|
|
11
|
-
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
12
|
-
}
|
|
13
|
-
.chat-content a {
|
|
14
|
-
color: inherit;
|
|
15
|
-
text-decoration: underline;
|
|
16
|
-
text-underline-offset: 2px;
|
|
17
|
-
opacity: 0.9;
|
|
18
|
-
font-weight: 800;
|
|
19
|
-
}
|
|
20
|
-
.chat-content a:hover {
|
|
21
|
-
opacity: 1;
|
|
22
|
-
}
|
|
23
|
-
.chat-content .text-center {
|
|
24
|
-
text-align: center;
|
|
25
|
-
display: flex;
|
|
26
|
-
flex-direction: column;
|
|
27
|
-
align-items: center;
|
|
28
|
-
}
|
|
29
|
-
` })] })] }) }));
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=ChatMessage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMessage.js","sourceRoot":"","sources":["../../../../../src/components/modules/chat/widgets/ChatMessage.tsx"],"names":[],"mappings":";AAaA,MAAM,UAAU,WAAW,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAoB;IAC1E,OAAO,CACL,cAAK,SAAS,EAAE,eAAe,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,OAAO,YACnF,eAAK,SAAS,EAAE,mDAAmD,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,UAAU,EAAE,aAGlH,cACE,GAAG,EAAE,MAAM,CAAC,MAAM,IAAI,kDAAkD,MAAM,CAAC,IAAI,EAAE,EACrF,GAAG,EAAE,MAAM,CAAC,IAAI,EAChB,SAAS,EAAC,gEAAgE,GAC1E,EAGF,eAAK,SAAS,EAAE,iBAAiB,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,UAAU,aACpF,gBAAM,SAAS,EAAC,kEAAkE,aAC/E,MAAM,CAAC,IAAI,OAAE,eAAM,SAAS,EAAC,iBAAiB,uBAAS,OAAE,SAAS,IAC9D,EACP,cACE,SAAS,EAAE,sGACT,MAAM,CAAC,MAAM;gCACX,CAAC,CAAC,2IAA2I;gCAC7I,CAAC,CAAC,uGACN,EAAE,YAED,OAAO,CAAC,CAAC,CAAC,CACT,cAAK,uBAAuB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,GAAI,CACtD,CAAC,CAAC,CAAC,CACF,eAAM,SAAS,EAAC,0CAA0C,mDAA2B,CACtF,GACG,EAEN,gBAAO,GAAG,QAAC,MAAM,kBAAE;;;;;;;;;;;;;;;;;;;;;;;;WAwBlB,GAAS,IACN,IAEF,GACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatNotes.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/chat/widgets/ChatNotes.tsx"],"names":[],"mappings":"AAMA,wBAAgB,SAAS,4CAUxB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
interface CloudModalProps {
|
|
2
|
-
isOpen: boolean;
|
|
3
|
-
onClose: () => void;
|
|
4
|
-
onSelectMedia?: (media: {
|
|
5
|
-
url: string;
|
|
6
|
-
type: 'image' | 'video' | 'audio';
|
|
7
|
-
}) => void;
|
|
8
|
-
isSelectionMode?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare function CloudModal({ isOpen, onClose, onSelectMedia, isSelectionMode }: CloudModalProps): import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=CloudModal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CloudModal.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/cloud/CloudModal.tsx"],"names":[],"mappings":"AAqCA,UAAU,eAAe;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;IACpF,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,eAAuB,EAAE,EAAE,eAAe,kDAgftG"}
|
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
-
import { useEffect, useState } from 'react';
|
|
4
|
-
import { createPortal } from 'react-dom';
|
|
5
|
-
import { Cloud, X, Image as ImageIcon, Video, Music, Upload, LayoutGrid, RefreshCcw, Trash2, Check, Gamepad2, Trophy, FileText, HardDrive, Loader2, CheckCircle } from 'lucide-react';
|
|
6
|
-
import { MediaCategory } from '@armoyu/core';
|
|
7
|
-
import { useArmoyu } from '../../../context/ArmoyuContext';
|
|
8
|
-
import { useAuth } from '../../../context/AuthContext';
|
|
9
|
-
import { MediaLightbox } from '../posts/widgets/MediaLightbox';
|
|
10
|
-
export function CloudModal({ isOpen, onClose, onSelectMedia, isSelectionMode = false }) {
|
|
11
|
-
const { api } = useArmoyu();
|
|
12
|
-
const { user: currentUser } = useAuth();
|
|
13
|
-
const [mounted, setMounted] = useState(false);
|
|
14
|
-
const [activeCategory, setActiveCategory] = useState('all');
|
|
15
|
-
const [dragActive, setDragActive] = useState(false);
|
|
16
|
-
const [cache, setCache] = useState({
|
|
17
|
-
all: { files: [], page: 1, hasMore: true },
|
|
18
|
-
image: { files: [], page: 1, hasMore: true },
|
|
19
|
-
video: { files: [], page: 1, hasMore: true },
|
|
20
|
-
audio: { files: [], page: 1, hasMore: true },
|
|
21
|
-
gaming: { files: [], page: 1, hasMore: true },
|
|
22
|
-
sports: { files: [], page: 1, hasMore: true },
|
|
23
|
-
});
|
|
24
|
-
const [dynamicCategories, setDynamicCategories] = useState([]);
|
|
25
|
-
const [selectedIds, setSelectedIds] = useState(new Set());
|
|
26
|
-
const [isLibraryRequest, setIsLibraryRequest] = useState(false);
|
|
27
|
-
const [loading, setLoading] = useState(false);
|
|
28
|
-
const [deleting, setDeleting] = useState(false);
|
|
29
|
-
const [error, setError] = useState(null);
|
|
30
|
-
const [lightbox, setLightbox] = useState({
|
|
31
|
-
isOpen: false,
|
|
32
|
-
index: 0
|
|
33
|
-
});
|
|
34
|
-
useEffect(() => setMounted(true), []);
|
|
35
|
-
// Reset selections when modal opens/closes
|
|
36
|
-
useEffect(() => {
|
|
37
|
-
if (!isOpen) {
|
|
38
|
-
setSelectedIds(new Set());
|
|
39
|
-
setCache({
|
|
40
|
-
all: { files: [], page: 1, hasMore: true },
|
|
41
|
-
image: { files: [], page: 1, hasMore: true },
|
|
42
|
-
video: { files: [], page: 1, hasMore: true },
|
|
43
|
-
audio: { files: [], page: 1, hasMore: true },
|
|
44
|
-
gaming: { files: [], page: 1, hasMore: true },
|
|
45
|
-
sports: { files: [], page: 1, hasMore: true },
|
|
46
|
-
});
|
|
47
|
-
setDynamicCategories([]);
|
|
48
|
-
}
|
|
49
|
-
}, [isOpen]);
|
|
50
|
-
const formatCatName = (name) => {
|
|
51
|
-
return name
|
|
52
|
-
.split('-')
|
|
53
|
-
.map(word => word.charAt(0).toUpperCase() + word.slice(1))
|
|
54
|
-
.join(' ');
|
|
55
|
-
};
|
|
56
|
-
const fetchMedia = async (category = 'all', isLoadMore = false) => {
|
|
57
|
-
if (!currentUser?.id)
|
|
58
|
-
return;
|
|
59
|
-
// If we have data and not loading more, don't fetch again
|
|
60
|
-
if (!isLoadMore && cache[category].files.length > 0)
|
|
61
|
-
return;
|
|
62
|
-
setLoading(true);
|
|
63
|
-
setError(null);
|
|
64
|
-
try {
|
|
65
|
-
const currentPage = isLoadMore ? cache[category].page + 1 : 1;
|
|
66
|
-
let apiCategory = category;
|
|
67
|
-
if (category === 'image')
|
|
68
|
-
apiCategory = '-1';
|
|
69
|
-
else if (category === 'audio')
|
|
70
|
-
apiCategory = 'muzik';
|
|
71
|
-
else if (category === 'gaming')
|
|
72
|
-
apiCategory = 'gaming'; // API side should handle this or map to specific tags
|
|
73
|
-
else if (category === 'sports')
|
|
74
|
-
apiCategory = 'sports';
|
|
75
|
-
const response = await api.users.getUserMedia(currentPage, {
|
|
76
|
-
userId: Number(currentUser.id),
|
|
77
|
-
category: apiCategory,
|
|
78
|
-
limit: 20
|
|
79
|
-
});
|
|
80
|
-
if (response.durum === 1 && Array.isArray(response.icerik)) {
|
|
81
|
-
const mappedFiles = response.icerik.map((f) => {
|
|
82
|
-
// Detect type more robustly
|
|
83
|
-
let type = 'image';
|
|
84
|
-
const cat = String(f.category || f.fotokategori || '').toLowerCase();
|
|
85
|
-
const mime = String(f.type || f.fotodosyatipi || '').toLowerCase();
|
|
86
|
-
if (cat === 'video' || cat === MediaCategory.VIDEO || mime.includes('video')) {
|
|
87
|
-
type = 'video';
|
|
88
|
-
}
|
|
89
|
-
else if (cat === 'muzik' || cat === MediaCategory.MUSIC || mime.includes('audio') || mime.includes('mpeg')) {
|
|
90
|
-
type = 'audio';
|
|
91
|
-
}
|
|
92
|
-
return {
|
|
93
|
-
id: String(f.id || f.mediaID || f.fotoID || Math.random()),
|
|
94
|
-
type,
|
|
95
|
-
url: f.url?.original || f.media_URL || f.fotoorijinalurl || f.fotoufaklikurl || '',
|
|
96
|
-
thumbnail: f.url?.thumb || f.media_minURL || f.fotominnakurl || f.fotoufaklikurl || '',
|
|
97
|
-
name: f.title || f.media_name || f.baslik || 'İsimsiz Medya',
|
|
98
|
-
size: f.size || f.media_size || '0 KB',
|
|
99
|
-
date: f.time || f.media_time || f.fotozaman || ''
|
|
100
|
-
};
|
|
101
|
-
});
|
|
102
|
-
// Extract dynamic categories from 'all' tab or any fetch
|
|
103
|
-
const newCats = Array.from(new Set(response.icerik.map((f) => f.category || f.fotokategori)))
|
|
104
|
-
.filter(Boolean)
|
|
105
|
-
.filter(c => !['video', 'muzik', 'gaming', 'sports', 'all', 'image', '-1', 'post', 'profile'].includes(String(c).toLowerCase()));
|
|
106
|
-
if (newCats.length > 0) {
|
|
107
|
-
setDynamicCategories(prev => {
|
|
108
|
-
const existingIds = new Set(prev.map(c => c.id));
|
|
109
|
-
const added = newCats
|
|
110
|
-
.filter(c => !existingIds.has(String(c)))
|
|
111
|
-
.map(c => ({ id: String(c), label: formatCatName(String(c)) }));
|
|
112
|
-
return [...prev, ...added];
|
|
113
|
-
});
|
|
114
|
-
// Ensure cache has these dynamic categories
|
|
115
|
-
setCache(prev => {
|
|
116
|
-
const next = { ...prev };
|
|
117
|
-
newCats.forEach(c => {
|
|
118
|
-
if (!next[String(c)]) {
|
|
119
|
-
next[String(c)] = { files: [], page: 1, hasMore: true };
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
return next;
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
setCache(prev => ({
|
|
126
|
-
...prev,
|
|
127
|
-
[category]: {
|
|
128
|
-
files: isLoadMore ? [...prev[category].files, ...mappedFiles] : mappedFiles,
|
|
129
|
-
page: currentPage,
|
|
130
|
-
hasMore: mappedFiles.length > 0
|
|
131
|
-
}
|
|
132
|
-
}));
|
|
133
|
-
}
|
|
134
|
-
else {
|
|
135
|
-
setCache(prev => ({
|
|
136
|
-
...prev,
|
|
137
|
-
[category]: {
|
|
138
|
-
...prev[category],
|
|
139
|
-
hasMore: false // Artık gerçekten veri yoksa veya hata geldiyse kapat
|
|
140
|
-
}
|
|
141
|
-
}));
|
|
142
|
-
if (response.durum !== 1 && !isLoadMore)
|
|
143
|
-
setError(response.aciklama || 'Medya yüklenemedi');
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
catch (err) {
|
|
147
|
-
console.error('[CloudModal] Fetch Error:', err);
|
|
148
|
-
if (!isLoadMore)
|
|
149
|
-
setError('Veriler alınırken bir hata oluştu.');
|
|
150
|
-
}
|
|
151
|
-
finally {
|
|
152
|
-
setLoading(false);
|
|
153
|
-
}
|
|
154
|
-
};
|
|
155
|
-
const handleDeleteSelected = async () => {
|
|
156
|
-
if (selectedIds.size === 0)
|
|
157
|
-
return;
|
|
158
|
-
if (!window.confirm(`${selectedIds.size} adet medyayı silmek istediğinize emin misiniz?`))
|
|
159
|
-
return;
|
|
160
|
-
setDeleting(true);
|
|
161
|
-
try {
|
|
162
|
-
const ids = Array.from(selectedIds);
|
|
163
|
-
// Sequentially delete for now as API might not support bulk
|
|
164
|
-
for (const id of ids) {
|
|
165
|
-
await api.users.deleteMedia(Number(id));
|
|
166
|
-
}
|
|
167
|
-
setSelectedIds(new Set());
|
|
168
|
-
// Refresh current category and clear all cache to be safe
|
|
169
|
-
setCache({
|
|
170
|
-
all: { files: [], page: 1, hasMore: true },
|
|
171
|
-
image: { files: [], page: 1, hasMore: true },
|
|
172
|
-
video: { files: [], page: 1, hasMore: true },
|
|
173
|
-
audio: { files: [], page: 1, hasMore: true },
|
|
174
|
-
gaming: { files: [], page: 1, hasMore: true },
|
|
175
|
-
sports: { files: [], page: 1, hasMore: true },
|
|
176
|
-
});
|
|
177
|
-
fetchMedia(activeCategory);
|
|
178
|
-
}
|
|
179
|
-
catch (err) {
|
|
180
|
-
console.error('[CloudModal] Delete Error:', err);
|
|
181
|
-
alert('Bazı medyalar silinemedi.');
|
|
182
|
-
}
|
|
183
|
-
finally {
|
|
184
|
-
setDeleting(false);
|
|
185
|
-
}
|
|
186
|
-
};
|
|
187
|
-
const toggleSelect = (id, e) => {
|
|
188
|
-
e.stopPropagation();
|
|
189
|
-
const newSelected = new Set(selectedIds);
|
|
190
|
-
if (newSelected.has(id))
|
|
191
|
-
newSelected.delete(id);
|
|
192
|
-
else
|
|
193
|
-
newSelected.add(id);
|
|
194
|
-
setSelectedIds(newSelected);
|
|
195
|
-
};
|
|
196
|
-
const handleItemClick = (index, file) => {
|
|
197
|
-
if (selectedIds.size > 0) {
|
|
198
|
-
// If something is already selected, click toggles selection
|
|
199
|
-
const newSelected = new Set(selectedIds);
|
|
200
|
-
if (newSelected.has(file.id))
|
|
201
|
-
newSelected.delete(file.id);
|
|
202
|
-
else
|
|
203
|
-
newSelected.add(file.id);
|
|
204
|
-
setSelectedIds(newSelected);
|
|
205
|
-
}
|
|
206
|
-
else {
|
|
207
|
-
// Normal click: open lightbox
|
|
208
|
-
setLightbox({ isOpen: true, index });
|
|
209
|
-
}
|
|
210
|
-
};
|
|
211
|
-
useEffect(() => {
|
|
212
|
-
if (isOpen) {
|
|
213
|
-
fetchMedia(activeCategory);
|
|
214
|
-
}
|
|
215
|
-
}, [isOpen, activeCategory]);
|
|
216
|
-
if (!isOpen || !mounted)
|
|
217
|
-
return null;
|
|
218
|
-
const storageData = { total: 5000, used: 2400, photos: 1200, videos: 800, audios: 200, documents: 200 };
|
|
219
|
-
const pPhotos = (storageData.photos / storageData.total) * 100;
|
|
220
|
-
const pVideos = (storageData.videos / storageData.total) * 100;
|
|
221
|
-
const pAudios = (storageData.audios / storageData.total) * 100;
|
|
222
|
-
const pDocs = (storageData.documents / storageData.total) * 100;
|
|
223
|
-
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(Cloud, { size: 28, className: "text-armoyu-primary fill-armoyu-primary/20" }), "Cloud"] }) }), _jsxs("nav", { className: "flex-1 px-4 space-y-1.5 overflow-y-auto", children: [[
|
|
224
|
-
{ id: 'all', label: 'Tümü', icon: LayoutGrid },
|
|
225
|
-
{ id: 'image', label: 'Fotoğraflar', icon: ImageIcon },
|
|
226
|
-
{ id: 'video', label: 'Videolar', icon: Video },
|
|
227
|
-
{ id: 'audio', label: 'Sesler', icon: Music },
|
|
228
|
-
].map(cat => (_jsxs("button", { onClick: () => setActiveCategory(cat.id), className: `w-full flex items-center gap-3 px-4 py-3.5 rounded-xl font-bold text-sm transition-all ${activeCategory === cat.id ? 'bg-armoyu-primary text-white shadow-md shadow-armoyu-primary/20' : 'text-armoyu-text-muted hover:text-armoyu-text hover:bg-black/5 dark:hover:bg-white/5'}`, children: [_jsx(cat.icon, { size: 18, strokeWidth: 2.5 }), cat.label] }, cat.id))), _jsx("div", { className: "pt-4 pb-2 px-4", children: _jsx("span", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-[0.2em] italic", children: "\u00D6zel Kategoriler" }) }), [
|
|
229
|
-
{ id: 'gaming', label: 'Oyunlar', icon: Gamepad2 },
|
|
230
|
-
{ id: 'sports', label: 'Spor', icon: Trophy },
|
|
231
|
-
...dynamicCategories.map(cat => ({ ...cat, icon: FileText }))
|
|
232
|
-
].map(cat => (_jsxs("button", { onClick: () => setActiveCategory(cat.id), className: `w-full flex items-center gap-3 px-4 py-3.5 rounded-xl font-bold text-sm transition-all ${activeCategory === cat.id ? 'bg-armoyu-primary text-white shadow-md shadow-armoyu-primary/20' : 'text-armoyu-text-muted hover:text-armoyu-text hover:bg-black/5 dark:hover:bg-white/5'}`, children: [_jsx(cat.icon, { size: 18, strokeWidth: 2.5 }), _jsx("span", { className: "truncate", children: cat.label })] }, cat.id)))] }), _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: [_jsxs("span", { className: "text-xs font-bold text-armoyu-text-muted group-hover:text-armoyu-text transition-colors flex items-center gap-1.5", children: [_jsx(HardDrive, { size: 12 }), " 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-armoyu-primary h-full" }), _jsx("div", { style: { width: `${pVideos}%` }, className: "bg-purple-500 h-full" }), _jsx("div", { style: { width: `${pAudios}%` }, className: "bg-emerald-500 h-full" }), _jsx("div", { style: { width: `${pDocs}%` }, className: "bg-orange-500 h-full" })] })] })] }), _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' :
|
|
233
|
-
activeCategory === 'image' ? 'Fotoğraflar' :
|
|
234
|
-
activeCategory === 'video' ? 'Videolar' :
|
|
235
|
-
activeCategory === 'audio' ? 'Ses Dosyaları' :
|
|
236
|
-
activeCategory === 'gaming' ? 'Oyun Medyaları' :
|
|
237
|
-
activeCategory === 'sports' ? 'Spor Medyaları' :
|
|
238
|
-
dynamicCategories.find(c => c.id === activeCategory)?.label || 'Dosyalarım' }), _jsxs("div", { className: "flex items-center gap-3", children: [selectedIds.size > 0 && (_jsxs("button", { onClick: handleDeleteSelected, disabled: deleting, className: "flex items-center gap-2 px-4 py-2 bg-red-500/10 hover:bg-red-500 text-red-500 hover:text-white text-[10px] font-black uppercase tracking-widest rounded-xl transition-all border border-red-500/20", children: [deleting ? _jsx(Loader2, { size: 14, className: "animate-spin" }) : _jsx(Trash2, { size: 14 }), "SE\u00C7\u0130LENLER\u0130 S\u0130L (", selectedIds.size, ")"] })), _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: _jsx(X, { size: 22, strokeWidth: 2.5 }) })] })] }), _jsx("div", { className: "flex-1 overflow-y-auto px-4 md:px-8 py-6", children: _jsxs("div", { className: "space-y-8 max-w-5xl mx-auto", children: [_jsx("div", { className: `p-1 rounded-[2.5rem] bg-gradient-to-r from-armoyu-primary/20 via-purple-600/20 to-armoyu-primary/20 transition-all group ${dragActive ? 'scale-[1.02]' : ''}`, onDragEnter: () => setDragActive(true), onDragLeave: () => setDragActive(false), onDragOver: (e) => e.preventDefault(), onDrop: (e) => { e.preventDefault(); setDragActive(false); }, children: _jsxs("div", { className: "bg-white dark:bg-[#0d0d12] rounded-[2.4rem] p-6 md:p-8 flex flex-col lg:flex-row items-center justify-between gap-8", children: [_jsx("div", { className: "flex items-center gap-6", children: _jsxs("div", { className: "w-16 h-16 rounded-[24px] bg-armoyu-primary/10 flex flex-shrink-0 items-center justify-center group-hover:scale-110 transition-transform duration-500 relative", children: [_jsx("div", { className: "absolute inset-0 bg-armoyu-primary/20 blur-xl rounded-full animate-pulse" }), _jsx(Upload, { size: 28, className: "text-armoyu-primary relative z-10" })] }) }), _jsxs("div", { className: "flex flex-col sm:flex-row items-center gap-6 w-full lg:w-auto", children: [_jsxs("label", { className: "flex items-center gap-3 cursor-pointer group/check", children: [_jsxs("div", { className: "relative", children: [_jsx("input", { type: "checkbox", className: "peer sr-only", checked: isLibraryRequest, onChange: (e) => setIsLibraryRequest(e.target.checked) }), _jsx("div", { className: "w-6 h-6 rounded-lg border-2 border-gray-200 dark:border-white/10 peer-checked:bg-armoyu-primary peer-checked:border-armoyu-primary transition-all flex items-center justify-center text-transparent peer-checked:text-white", children: _jsx(Check, { size: 14, strokeWidth: 4 }) })] }), _jsx("span", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-widest group-hover/check:text-armoyu-text transition-colors italic", children: "K\u00FCt\u00FCphaneye \u0130stek" })] }), _jsxs("div", { className: "flex items-center gap-3 w-full sm:w-auto", children: [isLibraryRequest && (_jsxs("select", { className: "flex-1 sm:flex-none bg-black/5 dark:bg-white/5 border border-gray-200 dark:border-white/10 rounded-2xl px-5 py-3.5 text-[10px] font-black text-armoyu-text uppercase tracking-widest outline-none cursor-pointer hover:border-armoyu-primary/30 transition-all appearance-none pr-10 relative italic animate-in slide-in-from-right-4 duration-300", children: [_jsx("option", { value: "", children: "Kategori Se\u00E7in" }), _jsx("option", { value: "cs2", children: "Counter-Strike 2" }), _jsx("option", { value: "lol", children: "League of Legends" }), _jsx("option", { value: "valorant", children: "Valorant" }), _jsx("option", { value: "football", children: "Futbol" }), _jsx("option", { value: "basketball", children: "Basketbol" })] })), _jsx("button", { className: "px-8 py-4 bg-armoyu-primary hover:bg-armoyu-primary text-white text-[10px] font-black uppercase tracking-[0.2em] rounded-2xl shadow-xl shadow-armoyu-primary/20 transition-all active:scale-95 italic", children: "Y\u00DCKLE" })] })] })] }) }), _jsxs("div", { children: [_jsxs("div", { className: "flex justify-between items-center mb-4", children: [_jsxs("h4", { className: "text-sm font-bold text-armoyu-text-muted uppercase tracking-wider", children: [cache[activeCategory].files.length, " \u0130\u00E7erik G\u00F6r\u00FCnt\u00FCleniyor"] }), loading && _jsx(Loader2, { className: "w-4 h-4 animate-spin text-armoyu-primary" })] }), error && (_jsxs("div", { className: "py-12 text-center bg-red-500/5 rounded-[2rem] border border-red-500/10", children: [_jsx("p", { className: "text-sm font-bold text-red-500 mb-4", children: error }), _jsxs("button", { onClick: () => fetchMedia(activeCategory), className: "px-6 py-2 bg-armoyu-card-bg border border-armoyu-card-border rounded-xl text-xs font-black uppercase tracking-widest flex items-center gap-2 mx-auto", children: [_jsx(RefreshCcw, { size: 14 }), " Tekrar Dene"] })] })), !loading && cache[activeCategory].files.length === 0 && !error && (_jsxs("div", { className: "py-24 text-center border-2 border-dashed border-armoyu-card-border rounded-[2rem] bg-black/5 dark:bg-white/5 animate-in fade-in duration-700", children: [_jsx("div", { className: "mb-6 flex justify-center text-armoyu-text-muted/20", children: _jsx(Cloud, { size: 80, strokeWidth: 1, className: "animate-bounce duration-[3000ms]" }) }), _jsx("h3", { className: "text-sm font-black text-armoyu-text uppercase tracking-[0.3em] italic mb-2", children: "Bulut Bo\u015F G\u00F6r\u00FCn\u00FCyor" }), _jsx("p", { className: "text-[10px] font-bold text-armoyu-text-muted max-w-[240px] mx-auto uppercase tracking-wider leading-relaxed", children: "Hen\u00FCz bu kategoride bir i\u00E7erik bulunmuyor. Yeni bir \u015Feyler y\u00FCklemeye ne dersin?" })] })), _jsx("div", { className: "grid grid-cols-2 lg:grid-cols-4 gap-4 pb-10", children: cache[activeCategory].files.map((file, index) => (_jsxs("div", { className: `group relative aspect-square rounded-2xl overflow-hidden bg-black/5 dark:bg-white/5 border-2 transition-all cursor-pointer shadow-sm hover:shadow-xl ${selectedIds.has(file.id) ? 'border-armoyu-primary ring-4 ring-armoyu-primary/10 scale-[0.98]' : 'border-transparent hover:border-armoyu-primary/50'}`, onClick: () => handleItemClick(index, file), children: [_jsx("div", { onClick: (e) => toggleSelect(file.id, e), className: `absolute top-3 left-3 z-20 w-6 h-6 rounded-lg border-2 flex items-center justify-center transition-all ${selectedIds.has(file.id) ? 'bg-armoyu-primary border-armoyu-primary text-white' : 'bg-black/20 border-white/20 text-transparent hover:border-white/50 opacity-0 group-hover:opacity-100'}`, children: _jsx(Check, { size: 14, strokeWidth: 4 }) }), file.type === 'image' ? (_jsx("img", { src: file.thumbnail || file.url, alt: file.name, className: "w-full h-full object-cover transition-transform duration-700 group-hover:scale-110" })) : file.type === 'video' ? (_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(Video, { size: 18, fill: "white" }) }) })] })) : (_jsxs("div", { className: "w-full h-full flex flex-col items-center justify-center bg-emerald-500/10 gap-3", children: [_jsx("div", { className: "w-12 h-12 rounded-2xl bg-emerald-500 flex items-center justify-center text-white shadow-lg shadow-emerald-500/20", children: _jsx(Music, { size: 24 }) }), _jsx("p", { className: "text-[10px] font-black text-emerald-600 uppercase tracking-widest italic text-center px-4 line-clamp-2", children: file.name })] })), _jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/95 via-black/40 to-transparent opacity-0 group-hover:opacity-100 transition-all duration-500 flex flex-col justify-end p-5", children: _jsxs("div", { className: "transform translate-y-4 group-hover:translate-y-0 transition-transform duration-500", children: [_jsx("p", { className: "text-white font-black text-sm truncate mb-0.5 uppercase tracking-tight italic", children: file.name }), _jsxs("p", { className: "text-white/60 font-bold text-[10px] uppercase tracking-widest", children: [file.size, " \u2022 ", file.date] }), isSelectionMode && (_jsxs("button", { className: "mt-4 w-full py-3 bg-armoyu-primary hover:bg-armoyu-primary text-white text-[10px] font-black uppercase tracking-widest rounded-xl transition-all shadow-lg shadow-armoyu-primary/20 flex items-center justify-center gap-2 active:scale-95", onClick: (e) => {
|
|
239
|
-
e.stopPropagation();
|
|
240
|
-
onSelectMedia && onSelectMedia({ url: file.url, type: file.type });
|
|
241
|
-
}, children: [_jsx(CheckCircle, { size: 14, strokeWidth: 3 }), "DOSYAYI SE\u00C7"] }))] }) })] }, file.id))) }), cache[activeCategory].hasMore && cache[activeCategory].files.length > 0 && (_jsx("div", { className: "flex justify-center pb-10", children: _jsxs("button", { onClick: () => fetchMedia(activeCategory, true), disabled: loading, className: "px-10 py-4 bg-black/5 dark:bg-white/5 hover:bg-armoyu-primary hover:text-white border border-gray-200 dark:border-white/10 rounded-2xl text-[10px] font-black uppercase tracking-[0.3em] transition-all active:scale-95 flex items-center gap-3 italic", children: [loading ? _jsx(Loader2, { size: 16, className: "animate-spin" }) : _jsx(RefreshCcw, { size: 16 }), "DAHA FAZLASINI Y\u00DCKLE"] }) }))] })] }) })] })] })] }));
|
|
242
|
-
if (typeof document === 'undefined')
|
|
243
|
-
return null;
|
|
244
|
-
return (_jsxs(_Fragment, { children: [createPortal(modalContent, document.body), _jsx(MediaLightbox, { isOpen: lightbox.isOpen, onClose: () => setLightbox(prev => ({ ...prev, isOpen: false })), media: cache[activeCategory].files.map(f => ({ type: f.type, url: f.url, name: f.name })), initialIndex: lightbox.index, defaultOwner: currentUser ? {
|
|
245
|
-
id: Number(currentUser.id),
|
|
246
|
-
username: currentUser.username,
|
|
247
|
-
displayName: currentUser.displayName,
|
|
248
|
-
avatar: currentUser.avatar
|
|
249
|
-
} : undefined })] }));
|
|
250
|
-
}
|
|
251
|
-
//# sourceMappingURL=CloudModal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CloudModal.js","sourceRoot":"","sources":["../../../../src/components/modules/cloud/CloudModal.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAc,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EACL,KAAK,EACL,CAAC,EACD,KAAK,IAAI,SAAS,EAClB,KAAK,EACL,KAAK,EAEL,MAAM,EACN,UAAU,EACV,UAAU,EACV,MAAM,EACN,KAAK,EACL,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,SAAS,EACT,OAAO,EACP,WAAW,EACZ,MAAM,cAAc,CAAC;AACtB,OAAO,EAAiB,aAAa,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAmB/D,MAAM,UAAU,UAAU,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,eAAe,GAAG,KAAK,EAAmB;IACrG,M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WidgetProps {
|
|
2
|
-
onManageCloud: () => void;
|
|
3
|
-
usedGB?: string;
|
|
4
|
-
totalGB?: string;
|
|
5
|
-
percentage?: number;
|
|
6
|
-
}
|
|
7
|
-
export declare function CloudWidget({ onManageCloud, usedGB, totalGB, percentage }: CloudWidgetProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=CloudWidget.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CloudWidget.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/cloud/CloudWidget.tsx"],"names":[],"mappings":"AAKA,UAAU,gBAAgB;IACxB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,WAAW,CAAC,EAC1B,aAAa,EACb,MAAc,EACd,OAAa,EACb,UAAe,EAChB,EAAE,gBAAgB,2CAyClB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Cloud } from 'lucide-react';
|
|
4
|
-
export function CloudWidget({ onManageCloud, usedGB = "2.4", totalGB = "5", percentage = 48 }) {
|
|
5
|
-
return (_jsxs("div", { className: "bg-armoyu-card-bg border border-armoyu-card-border rounded-[32px] p-6 shadow-sm hidden lg:block hover:border-armoyu-primary/30 transition-all group relative overflow-hidden", children: [_jsx("div", { className: "absolute -right-8 -top-8 w-24 h-24 bg-armoyu-primary/5 blur-2xl rounded-full group-hover:scale-150 transition-transform duration-1000" }), _jsxs("div", { className: "flex justify-between items-center mb-6 relative z-10", children: [_jsxs("h3", { className: "text-sm font-black text-armoyu-text flex items-center gap-3 tracking-tighter uppercase italic", children: [_jsx("div", { className: "w-10 h-10 rounded-2xl bg-armoyu-primary/10 flex items-center justify-center text-armoyu-primary group-hover:scale-110 transition-transform", children: _jsx(Cloud, { size: 20, className: "fill-armoyu-primary/10" }) }), "ARMOYU Cloud"] }), _jsx("div", { className: "flex flex-col items-end", children: _jsxs("span", { className: "text-[10px] font-black text-armoyu-primary bg-armoyu-primary/10 px-2.5 py-1 rounded-lg uppercase tracking-widest", children: [percentage, "%"] }) })] }), _jsx("div", { className: "relative mb-4 z-10", children: _jsx("div", { className: "w-full h-3 bg-gray-100 dark:bg-white/5 rounded-full overflow-hidden shadow-inner p-0.5", children: _jsx("div", { style: { width: `${percentage}%` }, className: "h-full bg-gradient-to-r from-armoyu-primary to-armoyu-primary rounded-full shadow-[0_0_15px_rgba(var(--armoyu-primary-rgb),0.4)] transition-all duration-1000 relative", children: _jsx("div", { className: "absolute inset-0 bg-white/20 animate-pulse" }) }) }) }), _jsxs("p", { className: "text-[10px] font-bold text-armoyu-text-muted mb-6 uppercase tracking-wider leading-relaxed relative z-10 italic", children: [totalGB, " GB ALANIN ", _jsxs("span", { className: "text-armoyu-text font-black", children: [usedGB, " GB"] }), " KADARI DOLU."] }), _jsx("button", { onClick: onManageCloud, className: "w-full py-4 text-[10px] font-black uppercase tracking-[0.2em] text-white bg-armoyu-primary hover:bg-armoyu-primary rounded-2xl transition-all shadow-lg shadow-armoyu-primary/20 active:scale-95 relative z-10 italic", children: "DEPOLAMAYI Y\u00D6NET" })] }));
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=CloudWidget.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CloudWidget.js","sourceRoot":"","sources":["../../../../src/components/modules/cloud/CloudWidget.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AASrC,MAAM,UAAU,WAAW,CAAC,EAC1B,aAAa,EACb,MAAM,GAAG,KAAK,EACd,OAAO,GAAG,GAAG,EACb,UAAU,GAAG,EAAE,EACE;IACjB,OAAO,CACL,eAAK,SAAS,EAAC,8KAA8K,aAE3L,cAAK,SAAS,EAAC,uIAAuI,GAAG,EAEzJ,eAAK,SAAS,EAAC,sDAAsD,aACnE,cAAI,SAAS,EAAC,+FAA+F,aAC3G,cAAK,SAAS,EAAC,4IAA4I,YACzJ,KAAC,KAAK,IAAC,IAAI,EAAE,EAAE,EAAE,SAAS,EAAC,wBAAwB,GAAG,GAClD,oBAEH,EACL,cAAK,SAAS,EAAC,yBAAyB,YACtC,gBAAM,SAAS,EAAC,kHAAkH,aAAE,UAAU,SAAS,GACnJ,IACF,EAEN,cAAK,SAAS,EAAC,oBAAoB,YACjC,cAAK,SAAS,EAAC,wFAAwF,YACrG,cACE,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,UAAU,GAAG,EAAE,EAClC,SAAS,EAAC,wKAAwK,YAElL,cAAK,SAAS,EAAC,4CAA4C,GAAG,GAC1D,GACF,GACF,EAEN,aAAG,SAAS,EAAC,iHAAiH,aAC3H,OAAO,iBAAY,gBAAM,SAAS,EAAC,6BAA6B,aAAE,MAAM,WAAW,qBAClF,EAEJ,iBACE,OAAO,EAAE,aAAa,EACtB,SAAS,EAAC,uNAAuN,sCAG1N,IACL,CACP,CAAC;AACJ,CAAC"}
|