@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,136 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useState, useEffect, useMemo } from 'react';
|
|
4
|
-
import { User } from '../../../models/auth/User';
|
|
5
|
-
import { Group } from '../../../models/community/Group';
|
|
6
|
-
import { Loader2 } from 'lucide-react';
|
|
7
|
-
// Shared Components / Contexts from main index
|
|
8
|
-
import { NotFound, PageWidth, useAuth, groupList, postList, eventList, useArmoyu } from '../../../index';
|
|
9
|
-
// Module specific widgets
|
|
10
|
-
import { GroupHeader } from './widgets/GroupHeader';
|
|
11
|
-
import { GroupMenu } from './widgets/GroupMenu';
|
|
12
|
-
import { GroupStatsGrid } from './widgets/GroupStatsGrid';
|
|
13
|
-
import { GroupAboutCard } from './widgets/GroupAboutCard';
|
|
14
|
-
import { EventList } from '../events/widgets/EventList';
|
|
15
|
-
import { GroupFeedSection } from './widgets/GroupFeedSection';
|
|
16
|
-
import { GroupTopMembers } from './widgets/GroupTopMembers';
|
|
17
|
-
import { GroupPermissions } from './widgets/GroupPermissions';
|
|
18
|
-
export function CommunityLayout({ groupId }) {
|
|
19
|
-
const { api, apiKey } = useArmoyu();
|
|
20
|
-
const { user, updateUser } = useAuth();
|
|
21
|
-
const normalizedGroupId = groupId?.toLowerCase() || '';
|
|
22
|
-
const [group, setGroup] = useState(null);
|
|
23
|
-
const [isLoading, setIsLoading] = useState(true);
|
|
24
|
-
const [localEvents, setLocalEvents] = useState(eventList.slice(0, 3));
|
|
25
|
-
// 1. Grup Bilgisini Çek (API öncelikli, Mock yedek)
|
|
26
|
-
useEffect(() => {
|
|
27
|
-
const fetchGroup = async () => {
|
|
28
|
-
setIsLoading(true);
|
|
29
|
-
// Önce API'den dene (Eğer geçerli bir anahtar varsa)
|
|
30
|
-
if (apiKey && apiKey !== 'armoyu_showcase_key') {
|
|
31
|
-
try {
|
|
32
|
-
// Hem numeric ID hem slug olarak aramayı desteklemek için GroupService.getGroupDetail'i kullanıyoruz
|
|
33
|
-
const idNum = parseInt(normalizedGroupId);
|
|
34
|
-
const response = await api.groups.getGroupDetail({
|
|
35
|
-
groupId: isNaN(idNum) ? undefined : idNum,
|
|
36
|
-
groupName: isNaN(idNum) ? normalizedGroupId : undefined
|
|
37
|
-
});
|
|
38
|
-
if (response.durum === 1 && response.icerik) {
|
|
39
|
-
setGroup(Group.fromAPI(response.icerik));
|
|
40
|
-
// Grup yüklendikten sonra etkinliklerini de API'den çekmeye çalış
|
|
41
|
-
try {
|
|
42
|
-
const eventsResponse = await api.events.getEvents(1, { limit: 10 });
|
|
43
|
-
if (eventsResponse.durum === 1 && eventsResponse.icerik) {
|
|
44
|
-
setLocalEvents(eventsResponse.icerik);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
catch (evErr) {
|
|
48
|
-
console.warn("[GroupProfile] Events API fetch failed:", evErr);
|
|
49
|
-
}
|
|
50
|
-
setIsLoading(false);
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
catch (error) {
|
|
55
|
-
console.warn("[GroupProfile] API Fetch failed, falling back to mock:", error);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
// Mock veriden bul
|
|
59
|
-
const groupRaw = groupList.find((g) => g.id?.toString() === normalizedGroupId ||
|
|
60
|
-
g.slug === normalizedGroupId ||
|
|
61
|
-
g.urlName === normalizedGroupId ||
|
|
62
|
-
g.name.toLowerCase() === normalizedGroupId ||
|
|
63
|
-
g.name.toLowerCase().replace(/\s+/g, '-') === normalizedGroupId);
|
|
64
|
-
if (groupRaw) {
|
|
65
|
-
setGroup(new Group(groupRaw));
|
|
66
|
-
}
|
|
67
|
-
setIsLoading(false);
|
|
68
|
-
};
|
|
69
|
-
fetchGroup();
|
|
70
|
-
}, [normalizedGroupId, api, apiKey]);
|
|
71
|
-
// Yerel üyelik durumu
|
|
72
|
-
const [isMember, setIsMember] = useState(false);
|
|
73
|
-
useEffect(() => {
|
|
74
|
-
if (user && group) {
|
|
75
|
-
setIsMember(group.members?.some(m => m.username === user.username) || false);
|
|
76
|
-
}
|
|
77
|
-
}, [user, group]);
|
|
78
|
-
// Grup Admin Kontrolü
|
|
79
|
-
const isGroupAdmin = useMemo(() => {
|
|
80
|
-
return user && group && (group.owner?.displayName === user.displayName ||
|
|
81
|
-
group.members?.some(m => m.username === user.username && (m.role?.id === 'admin' || m.role?.id === 'member_mgmt')));
|
|
82
|
-
}, [user, group]);
|
|
83
|
-
const groupPosts = useMemo(() => {
|
|
84
|
-
if (!group)
|
|
85
|
-
return [];
|
|
86
|
-
return postList.filter((p) => p.hashtags?.some((h) => h.toLowerCase() === group.name.toLowerCase() || h.toLowerCase() === (group.shortName?.toLowerCase() || '')));
|
|
87
|
-
}, [group?.name, group?.shortName]);
|
|
88
|
-
const stats = useMemo(() => {
|
|
89
|
-
if (!group)
|
|
90
|
-
return { members: 0, online: 0, posts: 0, founded: '2024' };
|
|
91
|
-
return {
|
|
92
|
-
members: group.memberCount || group.members?.length || 0,
|
|
93
|
-
online: Math.floor((group.memberCount || group.members?.length || 0) * 0.15),
|
|
94
|
-
posts: groupPosts.length + 12, // + mock posts
|
|
95
|
-
founded: group.date?.split('.')?.[2] || '2024'
|
|
96
|
-
};
|
|
97
|
-
}, [group, groupPosts.length]);
|
|
98
|
-
if (isLoading) {
|
|
99
|
-
return (_jsxs("div", { className: "flex flex-col items-center justify-center h-[500px] gap-4", children: [_jsx(Loader2, { className: "w-10 h-10 text-armoyu-primary animate-spin" }), _jsx("span", { className: "text-zinc-500 font-black text-xs uppercase tracking-widest animate-pulse", children: "Grup Bilgileri Y\u00FCkleniyor..." })] }));
|
|
100
|
-
}
|
|
101
|
-
// Grup bulunamadıysa NotFound göster
|
|
102
|
-
if (!group) {
|
|
103
|
-
return (_jsx(NotFound, { title: "GRUP BULUNAMADI", message: `"${groupId}" kimliğine sahip bir grup kayıtlarda görünmüyor. Belki de gizli bir cemiyettir?`, actionText: "GRUPLARA GER\u0130 D\u00D6N", actionHref: "/gruplar", footerMessage: "error: group_not_found" }));
|
|
104
|
-
}
|
|
105
|
-
const handleJoin = () => {
|
|
106
|
-
if (!user) {
|
|
107
|
-
alert('Lütfen önce giriş yapın!');
|
|
108
|
-
return;
|
|
109
|
-
}
|
|
110
|
-
setIsMember(true);
|
|
111
|
-
const members = [...(group.members || []), user];
|
|
112
|
-
setGroup(new Group({ ...group, members, memberCount: members.length }));
|
|
113
|
-
const updatedUser = new User({ ...user });
|
|
114
|
-
updatedUser.groups = [...(updatedUser.groups || []), {
|
|
115
|
-
name: group.name,
|
|
116
|
-
shortName: group.shortName,
|
|
117
|
-
logo: typeof group.logo === 'string' ? group.logo : group.logo?.media_URL,
|
|
118
|
-
role: 'Üye'
|
|
119
|
-
}];
|
|
120
|
-
updateUser(updatedUser);
|
|
121
|
-
};
|
|
122
|
-
const handleLeave = () => {
|
|
123
|
-
if (!confirm('Gruptan ayrılmak istediğinize emin misiniz?'))
|
|
124
|
-
return;
|
|
125
|
-
setIsMember(false);
|
|
126
|
-
const members = (group.members || []).filter(m => m.username !== user?.username);
|
|
127
|
-
setGroup(new Group({ ...group, members, memberCount: members.length }));
|
|
128
|
-
if (user) {
|
|
129
|
-
const updatedUser = new User({ ...user });
|
|
130
|
-
updatedUser.groups = updatedUser.groups?.filter((g) => g.name !== group.name);
|
|
131
|
-
updateUser(updatedUser);
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
return (_jsxs("div", { className: "pb-20 animate-in fade-in slide-in-from-bottom-8 duration-700 relative text-left leading-none", children: [_jsx(PageWidth, { width: "max-w-[1280px]" }), _jsx(GroupHeader, { group: group, isMember: isMember, onJoin: handleJoin, onLeave: handleLeave, onReport: () => alert('Şikayet iletildi.') }), _jsxs("div", { className: "grid grid-cols-1 xl:grid-cols-4 gap-12", children: [_jsxs("div", { className: "xl:col-span-3 space-y-12", children: [_jsx(GroupStatsGrid, { stats: stats }), _jsx(GroupAboutCard, { description: group.description }), _jsx(EventList, { events: localEvents, setEvents: setLocalEvents, isOwner: !!isGroupAdmin, title: "GRUP ETK\u0130NL\u0130KLER\u0130", profilePrefix: "/etkinlikler" }), _jsx(GroupFeedSection, { group: group, user: user, isMember: isMember, posts: groupPosts })] }), _jsxs("div", { className: "space-y-10 xl:col-span-1", children: [isMember && user && (_jsx("div", { className: "py-2", children: _jsx(GroupMenu, { group: group, user: user, onLeave: handleLeave }) })), _jsx(GroupTopMembers, { members: group.members || [], groupUrl: group.getGroupUrl() }), _jsx(GroupPermissions, { permissions: group.permissions || [] })] })] })] }));
|
|
135
|
-
}
|
|
136
|
-
//# sourceMappingURL=CommunityLayout.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CommunityLayout.js","sourceRoot":"","sources":["../../../../src/components/modules/community/CommunityLayout.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,+CAA+C;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W,EACpB,QAAQ,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,mBAAmB,CAAC,GAC3C,EAGF,eAAK,SAAS,EAAC,wCAAwC,aAGpD,eAAK,SAAS,EAAC,0BAA0B,aACtC,KAAC,cAAc,IAAC,KAAK,EAAE,KAAK,GAAI,EAChC,KAAC,cAAc,IAAC,WAAW,EAAE,KAAK,CAAC,WAAW,GAAI,EAClD,KAAC,SAAS,IACP,MAAM,EAAE,WAAW,EACnB,SAAS,EAAE,cAAc,EACzB,OAAO,EAAE,CAAC,CAAC,YAAY,EACvB,KAAK,EAAC,kCAAmB,EACzB,aAAa,EAAC,cAAc,GAC7B,EACF,KAAC,gBAAgB,IACd,KAAK,EAAE,KAAY,EACnB,IAAI,EAAE,IAAW,EACjB,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,UAAU,GAClB,IACC,EAGN,eAAK,SAAS,EAAC,0BAA0B,aACrC,QAAQ,IAAI,IAAI,IAAI,CAClB,cAAK,SAAS,EAAC,MAAM,YAClB,KAAC,SAAS,IAAC,KAAK,EAAE,KAAY,EAAE,IAAI,EAAE,IAAW,EAAE,OAAO,EAAE,WAAW,GAAI,GACxE,CACR,EAED,KAAC,eAAe,IAAC,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,WAAW,EAAE,GAAI,EAChF,KAAC,gBAAgB,IAAC,WAAW,EAAG,KAAa,CAAC,WAAW,IAAI,EAAE,GAAI,IAChE,IAEH,IACH,CACR,CAAC;AACL,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupAboutCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/community/widgets/GroupAboutCard.tsx"],"names":[],"mappings":"AAKA,UAAU,mBAAmB;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,cAAc,CAAC,EAAE,WAAW,EAAE,EAAE,mBAAmB,2CAsBlE"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Info } from 'lucide-react';
|
|
4
|
-
export function GroupAboutCard({ description }) {
|
|
5
|
-
return (_jsxs("div", { className: "glass-panel p-8 md:p-10 rounded-[40px] border border-armoyu-card-border bg-armoyu-card-bg relative overflow-hidden group", children: [_jsx("div", { className: "absolute -top-6 -right-6 text-armoyu-text opacity-[0.02] group-hover:opacity-[0.05] transition-opacity duration-700", children: _jsx(Info, { size: 160 }) }), _jsxs("div", { className: "relative z-10", children: [_jsxs("div", { className: "flex items-center gap-3 mb-6", children: [_jsx("div", { className: "p-2 bg-armoyu-primary/10 rounded-xl text-armoyu-primary", children: _jsx(Info, { size: 20 }) }), _jsx("h3", { className: "text-xl font-black text-armoyu-text uppercase tracking-tight italic", children: "GRUP HAKKINDA" })] }), _jsx("p", { className: "text-armoyu-text-muted text-lg leading-relaxed font-medium", children: description || 'Grup açıklaması henüz eklenmemiş.' })] })] }));
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=GroupAboutCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupAboutCard.js","sourceRoot":"","sources":["../../../../../src/components/modules/community/widgets/GroupAboutCard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAMpC,MAAM,UAAU,cAAc,CAAC,EAAE,WAAW,EAAuB;IAChE,OAAO,CACJ,eAAK,SAAS,EAAC,0HAA0H,aAEtI,cAAK,SAAS,EAAC,qHAAqH,YACjI,KAAC,IAAI,IAAC,IAAI,EAAE,GAAG,GAAI,GAChB,EAEN,eAAK,SAAS,EAAC,eAAe,aAC3B,eAAK,SAAS,EAAC,8BAA8B,aAC1C,cAAK,SAAS,EAAC,yDAAyD,YACrE,KAAC,IAAI,IAAC,IAAI,EAAE,EAAE,GAAI,GACf,EACN,aAAI,SAAS,EAAC,qEAAqE,8BAAmB,IACnG,EAEN,YAAG,SAAS,EAAC,4DAA4D,YACrE,WAAW,IAAI,mCAAmC,GAClD,IACD,IACH,CACR,CAAC;AACL,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface GroupFeedSectionProps {
|
|
2
|
-
group: any;
|
|
3
|
-
user?: any;
|
|
4
|
-
isMember: boolean;
|
|
5
|
-
posts: any[];
|
|
6
|
-
}
|
|
7
|
-
export declare function GroupFeedSection({ group, user, isMember, posts }: GroupFeedSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=GroupFeedSection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupFeedSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/community/widgets/GroupFeedSection.tsx"],"names":[],"mappings":"AAMA,UAAU,qBAAqB;IAC5B,KAAK,EAAE,GAAG,CAAC;IACX,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,GAAG,EAAE,CAAC;CACf;AAED,wBAAgB,gBAAgB,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,qBAAqB,2CAwDvF"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { PostCard } from '../../posts/widgets/PostCard';
|
|
4
|
-
import { Send, Image as ImageIcon } from 'lucide-react';
|
|
5
|
-
export function GroupFeedSection({ group, user, isMember, posts }) {
|
|
6
|
-
return (_jsxs("div", { className: "space-y-8", children: [_jsxs("div", { className: "flex items-center gap-3", children: [_jsx("div", { className: "w-1.5 h-8 bg-armoyu-primary rounded-full" }), _jsx("h3", { className: "text-xl font-black text-armoyu-text uppercase tracking-tight italic", children: "GRUP PAYLA\u015EIMLARI" })] }), isMember && user && (_jsxs("div", { className: "glass-panel p-6 rounded-[40px] border border-armoyu-card-border bg-armoyu-card-bg shadow-xl animate-in fade-in slide-in-from-bottom-4 duration-500", children: [_jsxs("div", { className: "flex gap-4 items-center leading-none", children: [_jsxs("div", { className: "relative shrink-0", children: [_jsx("img", { src: user.avatar || undefined, className: "w-12 h-12 rounded-2xl border-2 border-armoyu-primary/20 object-cover shadow-lg", alt: "Avatar" }), _jsx("div", { className: "absolute -bottom-1 -right-1 w-4 h-4 bg-emerald-500 rounded-full border-2 border-armoyu-card-bg shadow-lg" })] }), _jsx("div", { className: "flex-1 relative group", children: _jsx("input", { type: "text", placeholder: `${group.name} grubunda neler oluyor?`, className: "w-full bg-black/5 dark:bg-white/5 border border-black/5 dark:border-white/5 rounded-2xl px-6 py-4 text-sm font-bold text-armoyu-text focus:outline-none focus:ring-2 focus:ring-armoyu-primary/20 transition-all italic placeholder:opacity-30" }) })] }), _jsxs("div", { className: "flex justify-between items-center mt-6 pt-6 border-t border-black/5 dark:border-white/5 leading-none", children: [_jsx("div", { className: "flex gap-2", children: _jsxs("button", { className: "flex items-center gap-2 px-4 py-2.5 rounded-xl hover:bg-black/5 dark:hover:bg-white/5 text-[10px] font-black text-armoyu-text-muted hover:text-armoyu-primary transition-all italic uppercase tracking-widest border border-transparent hover:border-armoyu-primary/10 active:scale-95", children: [_jsx(ImageIcon, { size: 14 }), "MEDYA EKLE"] }) }), _jsxs("button", { className: "flex items-center gap-2 px-8 py-3 bg-armoyu-primary hover:bg-armoyu-primary text-white text-[10px] font-black uppercase tracking-widest rounded-2xl shadow-lg shadow-armoyu-primary/20 active:scale-95 transition-all italic border border-armoyu-primary/20", children: [_jsx(Send, { size: 14 }), "PAYLA\u015E"] })] })] })), _jsx("div", { className: "space-y-6", children: posts.length > 0 ? (posts.map((post) => (_jsx(PostCard, { ...post }, post.id)))) : (_jsxs("div", { className: "flex flex-col items-center justify-center py-20 bg-black/5 dark:bg-white/5 rounded-[40px] border border-dashed border-armoyu-card-border px-6", children: [_jsx("div", { className: "w-16 h-16 rounded-3xl bg-black/5 dark:bg-white/5 flex items-center justify-center text-armoyu-text-muted mb-4 opacity-40", children: _jsx(Send, { size: 32 }) }), _jsx("p", { className: "text-armoyu-text-muted font-bold opacity-60 uppercase tracking-widest text-[10px] italic text-center max-w-xs", children: "Hen\u00FCz bu grupta payla\u015F\u0131m yap\u0131lmam\u0131\u015F. \u0130lk postu sen at!" })] })) })] }));
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=GroupFeedSection.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupFeedSection.js","sourceRoot":"","sources":["../../../../../src/components/modules/community/widgets/GroupFeedSection.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,cAAc,CAAC;AASxD,MAAM,UAAU,gBAAgB,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAyB;IACrF,OAAO,CACJ,eAAK,SAAS,EAAC,WAAW,aACvB,eAAK,SAAS,EAAC,yBAAyB,aACrC,cAAK,SAAS,EAAC,0CAA0C,GAAG,EAC5D,aAAI,SAAS,EAAC,qEAAqE,uCAAuB,IACvG,EAEL,QAAQ,IAAI,IAAI,IAAI,CAClB,eAAK,SAAS,EAAC,oJAAoJ,aAChK,eAAK,SAAS,EAAC,sCAAsC,aAClD,eAAK,SAAS,EAAC,mBAAmB,aAC/B,cAAK,GAAG,EAAE,IAAI,CAAC,MAAM,IAAI,SAAS,EAAE,SAAS,EAAC,gFAAgF,EAAC,GAAG,EAAC,QAAQ,GAAG,EAC9I,cAAK,SAAS,EAAC,0GAA0G,GAAG,IACzH,EACN,cAAK,SAAS,EAAC,uBAAuB,YACnC,gBACG,IAAI,EAAC,MAAM,EACX,WAAW,EAAE,GAAG,KAAK,CAAC,IAAI,yBAAyB,EACnD,SAAS,EAAC,gPAAgP,GAC3P,GACC,IACH,EACN,eAAK,SAAS,EAAC,sGAAsG,aAClH,cAAK,SAAS,EAAC,YAAY,YACxB,kBAAQ,SAAS,EAAC,wRAAwR,aACvS,KAAC,SAAS,IAAC,IAAI,EAAE,EAAE,GAAI,kBAEjB,GACN,EACN,kBAAQ,SAAS,EAAC,8PAA8P,aAC7Q,KAAC,IAAI,IAAC,IAAI,EAAE,EAAE,GAAI,mBAEZ,IACN,IACH,CACR,EAED,cAAK,SAAS,EAAC,WAAW,YACtB,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CACjB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,CACtB,KAAC,QAAQ,OAAmB,IAAI,IAAjB,IAAI,CAAC,EAAE,CAAc,CACtC,CAAC,CACJ,CAAC,CAAC,CAAC,CACD,eAAK,SAAS,EAAC,+IAA+I,aAC3J,cAAK,SAAS,EAAC,0HAA0H,YACtI,KAAC,IAAI,IAAC,IAAI,EAAE,EAAE,GAAI,GACf,EACN,YAAG,SAAS,EAAC,+GAA+G,0GAExH,IACD,CACR,GACE,IACH,CACR,CAAC;AACL,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Group } from '../../../../models/community/Group';
|
|
2
|
-
interface GroupHeaderProps {
|
|
3
|
-
group: Group;
|
|
4
|
-
isMember: boolean;
|
|
5
|
-
onJoin?: () => void;
|
|
6
|
-
onLeave?: () => void;
|
|
7
|
-
onReport?: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare function GroupHeader({ group, isMember, onJoin, onLeave, onReport }: GroupHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=GroupHeader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/community/widgets/GroupHeader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,oCAAoC,CAAC;AAE3D,UAAU,gBAAgB;IACxB,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,gBAAgB,2CAsG3F"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { useState, useRef, useEffect } from 'react';
|
|
3
|
-
export function GroupHeader({ group, isMember, onJoin, onLeave, onReport }) {
|
|
4
|
-
const [isMenuOpen, setIsMenuOpen] = useState(false);
|
|
5
|
-
const menuRef = useRef(null);
|
|
6
|
-
// Close menu on click outside
|
|
7
|
-
useEffect(() => {
|
|
8
|
-
function handleClickOutside(event) {
|
|
9
|
-
if (menuRef.current && !menuRef.current.contains(event.target)) {
|
|
10
|
-
setIsMenuOpen(false);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
document.addEventListener('mousedown', handleClickOutside);
|
|
14
|
-
return () => document.removeEventListener('mousedown', handleClickOutside);
|
|
15
|
-
}, []);
|
|
16
|
-
return (_jsxs("div", { className: "relative h-64 md:h-80 lg:h-96 rounded-[60px] overflow-hidden mb-12 shadow-2xl animate-in fade-in slide-in-from-top-4 duration-700", children: [_jsx("img", { src: group.banner || 'https://images.unsplash.com/photo-1550745165-9bc0b252726f?w=1200&q=80', className: "w-full h-full object-cover", alt: group.name }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/90 via-black/30 to-transparent" }), _jsxs("div", { className: "absolute bottom-10 left-10 right-10 flex flex-col md:flex-row items-end justify-between gap-6", children: [_jsxs("div", { className: "flex items-center gap-6", children: [_jsxs("div", { className: "relative", children: [_jsx("img", { src: group.logo || `https://api.dicebear.com/7.x/identicon/svg?seed=${group.name}`, className: "w-24 h-24 md:w-32 md:h-32 rounded-[32px] border-4 border-armoyu-bg bg-white dark:bg-zinc-900 shadow-2xl object-cover", alt: "Logo" }), _jsx("div", { className: "absolute -bottom-2 -right-2 bg-armoyu-primary text-white p-2 rounded-xl border-4 border-armoyu-bg", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", children: _jsx("polyline", { points: "20 6 9 17 4 12" }) }) })] }), _jsxs("div", { className: "mb-2 text-left", children: [_jsxs("div", { className: "flex items-center gap-3 mb-1", children: [_jsx("h1", { className: "text-3xl md:text-5xl font-black text-white uppercase tracking-tighter italic drop-shadow-lg", children: group.name }), _jsx("span", { className: "px-3 py-1 bg-armoyu-primary text-white text-[10px] font-black uppercase tracking-widest rounded-lg shadow-lg", children: group.category })] }), _jsxs("p", { className: "text-white/70 font-bold text-lg uppercase tracking-tight", children: ["@", group.shortName, " \u2022 ", group.recruitment] })] })] }), _jsxs("div", { className: "flex gap-4 mb-2 relative", ref: menuRef, children: [!isMember && (_jsx("button", { onClick: onJoin, className: "px-10 py-4 bg-white text-armoyu-primary font-black text-xs uppercase tracking-[0.2em] rounded-2xl shadow-2xl hover:scale-105 active:scale-95 transition-all", children: "GRUBA KATIL" })), _jsx("button", { onClick: () => setIsMenuOpen(!isMenuOpen), className: `px-4 py-4 ${isMenuOpen ? 'bg-armoyu-primary' : 'bg-white/10 backdrop-blur-md'} border border-white/20 text-white rounded-2xl hover:bg-white/20 transition-all group`, children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", className: `${isMenuOpen ? 'rotate-90' : 'group-hover:rotate-12'} transition-transform`, children: [_jsx("circle", { cx: "12", cy: "12", r: "1" }), _jsx("circle", { cx: "19", cy: "12", r: "1" }), _jsx("circle", { cx: "5", cy: "12", r: "1" })] }) }), isMenuOpen && (_jsx("div", { className: "absolute bottom-full right-0 mb-4 w-56 glass-panel p-3 rounded-2xl border border-white/20 bg-black/80 backdrop-blur-xl shadow-2xl animate-in fade-in zoom-in-95 duration-200 z-50", children: _jsxs("div", { className: "flex flex-col gap-1", children: [_jsxs("button", { className: "flex items-center gap-3 w-full p-3 rounded-xl hover:bg-white/10 text-white transition-all group text-left", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", className: "text-white/50 group-hover:text-white transition-colors", children: [_jsx("path", { d: "M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8" }), _jsx("polyline", { points: "16 6 12 2 8 6" }), _jsx("line", { x1: "12", y1: "2", x2: "12", y2: "15" })] }), _jsx("span", { className: "text-[10px] font-black uppercase tracking-widest", children: "Grubu Payla\u015F" })] }), _jsxs("button", { onClick: () => { onReport?.(); setIsMenuOpen(false); }, className: "flex items-center gap-3 w-full p-3 rounded-xl hover:bg-red-500/10 text-red-500 transition-all group text-left", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", className: "text-red-500/50 group-hover:text-red-500 transition-colors", children: [_jsx("path", { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }), _jsx("line", { x1: "12", y1: "9", x2: "12", y2: "13" }), _jsx("line", { x1: "12", y1: "17", x2: "12.01", y2: "17" })] }), _jsx("span", { className: "text-[10px] font-black uppercase tracking-widest", children: "Grubu \u015Eikayet Et" })] }), isMember && (_jsxs(_Fragment, { children: [_jsx("div", { className: "h-px bg-white/10 my-1 mx-2" }), _jsxs("button", { onClick: () => { onLeave?.(); setIsMenuOpen(false); }, className: "flex items-center gap-3 w-full p-3 rounded-xl hover:bg-red-600 text-white transition-all group text-left bg-red-600/20", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", className: "text-white/70 group-hover:text-white transition-colors", children: [_jsx("path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }), _jsx("polyline", { points: "16 17 21 12 16 7" }), _jsx("line", { x1: "21", y1: "12", x2: "9", y2: "12" })] }), _jsx("span", { className: "text-[10px] font-black uppercase tracking-widest", children: "Gruptan Ayr\u0131l" })] })] }))] }) }))] })] })] }));
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=GroupHeader.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupHeader.js","sourceRoot":"","sources":["../../../../../src/components/modules/community/widgets/GroupHeader.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAW3D,MAAM,UAAU,WAAW,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAoB;IAC1F,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACpD,MAAM,OAAO,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAE7C,8BAA8B;IAC9B,SAAS,CAAC,GAAG,EAAE;QACb,SAAS,kBAAkB,CAAC,KAAiB;YAC3C,IAAI,OAAO,CAAC,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,C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M,EAAC,cAAc,EAAC,WAAW,EAAC,KAAK,EAAC,SAAS,EAAC,wDAAwD,aAAC,eAAM,CAAC,EAAC,yCAAyC,GAAG,EAAA,mBAAU,MAAM,EAAC,kBAAkB,GAAG,EAAA,eAAM,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,GAAG,IAAM,EACjV,eAAM,SAAS,EAAC,kDAAkD,mCAAqB,IAChF,IACR,CACJ,IACG,GACF,CACP,IACG,IACF,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Group } from '../../../../models/community/Group';
|
|
2
|
-
import { User } from '../../../../models/auth/User';
|
|
3
|
-
interface GroupMenuProps {
|
|
4
|
-
group: Group;
|
|
5
|
-
user: User;
|
|
6
|
-
onLeave?: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare function GroupMenu({ group, user, onLeave }: GroupMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=GroupMenu.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/community/widgets/GroupMenu.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,oCAAoC,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAGpD,UAAU,cAAc;IACtB,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,cAAc,2CAmEjE"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import Link from 'next/link';
|
|
4
|
-
export function GroupMenu({ group, user, onLeave }) {
|
|
5
|
-
// Check if owner or moderator
|
|
6
|
-
const isOwner = group.owner?.username === user.username;
|
|
7
|
-
const isMod = group.moderators?.some(m => m.username === user.username);
|
|
8
|
-
const isAdmin = isOwner || isMod || user.role?.id === 'admin';
|
|
9
|
-
const menuItems = [
|
|
10
|
-
{ id: 'management', label: 'GRUP YÖNETİMİ', icon: 'shield', color: 'text-armoyu-primary', permission: isAdmin },
|
|
11
|
-
{ id: 'members', label: 'ÜYE LİSTESİ', icon: 'users', color: 'text-armoyu-text' },
|
|
12
|
-
{ id: 'events', label: 'GRUP ETKİNLİKLERİ', icon: 'calendar', color: 'text-armoyu-text' },
|
|
13
|
-
{ id: 'settings', label: 'GRUP AYARLARI', icon: 'settings', color: 'text-armoyu-text', permission: isAdmin },
|
|
14
|
-
];
|
|
15
|
-
return (_jsxs("div", { className: "glass-panel p-8 rounded-[40px] border border-armoyu-card-border bg-armoyu-card-bg relative overflow-hidden", children: [_jsx("div", { className: "absolute top-0 right-0 w-32 h-32 bg-armoyu-primary/10 blur-[60px] -mr-16 -mt-16 pointer-events-none" }), _jsxs("div", { className: "flex items-center justify-between mb-8", children: [_jsx("h4", { className: "text-xs font-black text-armoyu-text uppercase tracking-[0.2em] italic", children: "GRUP MEN\u00DCS\u00DC" }), _jsx("div", { className: "px-2 py-0.5 bg-emerald-500/10 border border-emerald-500/20 rounded-md", children: _jsx("span", { className: "text-[8px] font-black text-emerald-500 tracking-widest", children: "AKT\u0130F \u00DCYE" }) })] }), _jsx("div", { className: "space-y-4", children: menuItems.filter(item => item.permission !== false).map((item, idx) => (_jsxs(Link, { href: `${group.getGroupUrl()}/${item.id === 'management' || item.id === 'settings' ? 'yonetim' : item.id === 'members' ? 'uyeler' : 'etkinlikler'}`, className: "w-full flex items-center justify-between p-4 rounded-2xl bg-black/5 dark:bg-white/5 border border-black/5 dark:border-white/5 hover:border-armoyu-primary/30 hover:bg-armoyu-primary/5 transition-all group", children: [_jsxs("div", { className: "flex items-center gap-4", children: [_jsx("div", { className: `p-2.5 rounded-xl bg-white dark:bg-zinc-900 shadow-sm border border-black/5 dark:border-white/5 group-hover:scale-110 transition-transform ${item.color}`, children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: [item.id === 'management' && _jsx("path", { d: "M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" }), item.id === 'members' && _jsx("path", { d: "M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" }), item.id === 'members' && _jsx("circle", { cx: "9", cy: "7", r: "4" }), item.id === 'members' && _jsx("path", { d: "M23 21v-2a4 4 0 0 0-3-3.87" }), item.id === 'members' && _jsx("path", { d: "M16 3.13a4 4 0 0 1 0 7.75" }), item.id === 'events' && _jsx("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }), item.id === 'events' && _jsx("line", { x1: "16", y1: "2", x2: "16", y2: "6" }), item.id === 'events' && _jsx("line", { x1: "8", y1: "2", x2: "8", y2: "6" }), item.id === 'events' && _jsx("line", { x1: "3", y1: "10", x2: "21", y2: "10" }), item.id === 'settings' && _jsx("circle", { cx: "12", cy: "12", r: "3" }), item.id === 'settings' && _jsx("path", { d: "M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z" })] }) }), _jsx("span", { className: "text-[10px] font-black text-armoyu-text tracking-widest uppercase", children: item.label })] }), _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", className: "text-armoyu-text-muted opacity-0 group-hover:opacity-100 group-hover:translate-x-1 transition-all", children: _jsx("polyline", { points: "9 18 15 12 9 6" }) })] }, item.id))) }), _jsx("div", { className: "mt-8 pt-8 border-t border-black/5 dark:border-white/5", children: _jsx("button", { onClick: onLeave, className: "w-full text-[10px] font-black text-red-500 uppercase tracking-[0.2em] hover:text-red-600 transition-colors", children: "GRUPTAN AYRIL" }) })] }));
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=GroupMenu.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupMenu.js","sourceRoot":"","sources":["../../../../../src/components/modules/community/widgets/GroupMenu.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAKb,OAAO,IAAI,MAAM,WAAW,CAAC;AAQ7B,MAAM,UAAU,SAAS,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAkB;IAChE,8BAA8B;IAC9B,MAAM,OAAO,GAAG,KAAK,CAAC,KAA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../../../../src/components/modules/community/widgets/GroupPermissions.tsx"],"names":[],"mappings":"AAKA,UAAU,qBAAqB;IAC5B,WAAW,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,WAAW,EAAE,EAAE,qBAAqB,2CAsCtE"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { ShieldCheck, ShieldAlert } from 'lucide-react';
|
|
4
|
-
export function GroupPermissions({ permissions }) {
|
|
5
|
-
return (_jsxs("div", { className: "glass-panel p-8 rounded-[40px] border border-armoyu-card-border bg-armoyu-card-bg relative overflow-hidden group", children: [_jsx("div", { className: "absolute -bottom-6 -right-6 text-armoyu-text opacity-[0.03] group-hover:opacity-[0.06] transition-opacity duration-700 pointer-events-none", children: _jsx(ShieldCheck, { size: 120 }) }), _jsxs("div", { className: "relative z-10", children: [_jsxs("div", { className: "flex items-center gap-3 mb-8", children: [_jsx("div", { className: "p-2 bg-armoyu-primary/10 rounded-xl text-armoyu-primary", children: _jsx(ShieldCheck, { size: 18 }) }), _jsx("h4", { className: "text-[11px] font-black text-armoyu-text uppercase tracking-widest italic leading-none", children: "GRUP YETK\u0130LER\u0130" })] }), _jsx("div", { className: "space-y-3", children: (permissions && permissions.length > 0) ? (permissions.map((perm, idx) => (_jsxs("div", { className: "flex items-center gap-3 p-3.5 rounded-2xl bg-black/5 dark:bg-white/5 border border-white/5 hover:border-armoyu-primary/30 transition-colors group/item", children: [_jsx("div", { className: "w-1.5 h-1.5 rounded-full bg-armoyu-primary group-hover/item:scale-150 transition-transform" }), _jsx("span", { className: "text-[10px] font-black text-armoyu-text uppercase tracking-wider italic", children: perm.replace(/_/g, ' ') })] }, idx)))) : (_jsxs("div", { className: "flex flex-col items-center justify-center py-6 px-4 bg-black/5 dark:bg-white/5 rounded-[30px] border border-dashed border-armoyu-card-border", children: [_jsx(ShieldAlert, { size: 24, className: "text-armoyu-text-muted opacity-20 mb-2" }), _jsx("p", { className: "text-[10px] text-armoyu-text-muted italic font-bold uppercase tracking-widest opacity-60 text-center", children: "\u00D6zel yetki tan\u0131mlanmam\u0131\u015F." })] })) })] })] }));
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=GroupPermissions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupPermissions.js","sourceRoot":"","sources":["../../../../../src/components/modules/community/widgets/GroupPermissions.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAMxD,MAAM,UAAU,gBAAgB,CAAC,EAAE,WAAW,EAAyB;IACpE,OAAO,CACJ,eAAK,SAAS,EAAC,kHAAkH,aAE9H,cAAK,SAAS,EAAC,4IAA4I,YACxJ,KAAC,WAAW,IAAC,IAAI,EAAE,GAAG,GAAI,GACvB,EAEN,eAAK,SAAS,EAAC,eAAe,aAC3B,eAAK,SAAS,EAAC,8BAA8B,aAC1C,cAAK,SAAS,EAAC,yDAAyD,YACrE,KAAC,WAAW,IAAC,IAAI,EAAE,EAAE,GAAI,GACtB,EACN,aAAI,SAAS,EAAC,uFAAuF,yCAAoB,IACtH,EAEN,cAAK,SAAS,EAAC,WAAW,YACtB,CAAC,WAAW,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CACxC,WAAW,CAAC,GAAG,CAAC,CAAC,IAAY,EAAE,GAAW,EAAE,EAAE,CAAC,CAC5C,eAAe,SAAS,EAAC,wJAAwJ,aAC9K,cAAK,SAAS,EAAC,4FAA4F,GAAG,EAC9G,eAAM,SAAS,EAAC,yEAAyE,YACrF,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,GACpB,KAJA,GAAG,CAKP,CACR,CAAC,CACJ,CAAC,CAAC,CAAC,CACD,eAAK,SAAS,EAAC,8IAA8I,aAC1J,KAAC,WAAW,IAAC,IAAI,EAAE,EAAE,EAAE,SAAS,EAAC,wCAAwC,GAAG,EAC5E,YAAG,SAAS,EAAC,sGAAsG,8DAE/G,IACD,CACR,GACE,IACH,IACH,CACR,CAAC;AACL,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
interface GroupStatsGridProps {
|
|
2
|
-
stats: {
|
|
3
|
-
members: number;
|
|
4
|
-
online: number;
|
|
5
|
-
posts: number;
|
|
6
|
-
founded: string;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export declare function GroupStatsGrid({ stats }: GroupStatsGridProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=GroupStatsGrid.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupStatsGrid.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/community/widgets/GroupStatsGrid.tsx"],"names":[],"mappings":"AAUA,UAAU,mBAAmB;IAC3B,KAAK,EAAE;QACL,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH;AAED,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,EAAE,mBAAmB,2CA8B5D"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Users, Activity, MessageSquare, Calendar } from 'lucide-react';
|
|
4
|
-
export function GroupStatsGrid({ stats }) {
|
|
5
|
-
const statItems = [
|
|
6
|
-
{ label: 'ÜYELER', value: stats.members, icon: Users, color: 'text-armoyu-primary' },
|
|
7
|
-
{ label: 'AKTİF', value: stats.online, icon: Activity, color: 'text-emerald-500' },
|
|
8
|
-
{ label: 'PAYLAŞIM', value: stats.posts, icon: MessageSquare, color: 'text-purple-500' },
|
|
9
|
-
{ label: 'KURULUŞ', value: stats.founded, icon: Calendar, color: 'text-amber-500' }
|
|
10
|
-
];
|
|
11
|
-
return (_jsx("div", { className: "grid grid-cols-2 md:grid-cols-4 gap-4 md:gap-6", children: statItems.map((stat, idx) => (_jsxs("div", { className: "glass-panel p-6 rounded-[32px] border border-armoyu-card-border bg-armoyu-card-bg text-center relative overflow-hidden group hover:scale-105 transition-all duration-300", children: [_jsx("div", { className: `absolute top-0 right-0 p-4 opacity-5 group-hover:opacity-10 transition-opacity`, children: _jsx(stat.icon, { size: 64 }) }), _jsx("p", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-[0.2em] mb-2 leading-none relative z-10", children: stat.label }), _jsxs("div", { className: "flex items-center justify-center gap-3 relative z-10", children: [_jsx(stat.icon, { size: 18, className: stat.color }), _jsx("p", { className: `text-2xl font-black leading-none text-armoyu-text`, children: stat.value })] })] }, idx))) }));
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=GroupStatsGrid.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupStatsGrid.js","sourceRoot":"","sources":["../../../../../src/components/modules/community/widgets/GroupStatsGrid.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EACL,KAAK,EACL,QAAQ,EACR,aAAa,EACb,QAAQ,EACT,MAAM,cAAc,CAAC;AAWtB,MAAM,UAAU,cAAc,CAAC,EAAE,KAAK,EAAuB;IAC3D,MAAM,SAAS,GAAG;QAChB,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,qBAAqB,EAAE;QACpF,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,CAAC,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,kBAAkB,EAAE;QAClF,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,iBAAiB,EAAE;QACxF,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,gBAAgB,EAAE;KACpF,CAAC;IAEF,OAAO,CACL,cAAK,SAAS,EAAC,gDAAgD,YAC5D,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,CAAC,CAC5B,eAAe,SAAS,EAAC,0KAA0K,aAEjM,cAAK,SAAS,EAAE,gFAAgF,YAC7F,KAAC,IAAI,CAAC,IAAI,IAAC,IAAI,EAAE,EAAE,GAAI,GACpB,EAEN,YAAG,SAAS,EAAC,0GAA0G,YACpH,IAAI,CAAC,KAAK,GACT,EACJ,eAAK,SAAS,EAAC,sDAAsD,aACnE,KAAC,IAAI,CAAC,IAAI,IAAC,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,KAAK,GAAI,EAC9C,YAAG,SAAS,EAAE,mDAAmD,YAC9D,IAAI,CAAC,KAAK,GACT,IACA,KAdE,GAAG,CAeP,CACP,CAAC,GACE,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupTopMembers.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/community/widgets/GroupTopMembers.tsx"],"names":[],"mappings":"AAMA,UAAU,oBAAoB;IAC3B,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,oBAAoB,2CAiD1E"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import Link from 'next/link';
|
|
4
|
-
import { Users, ChevronRight } from 'lucide-react';
|
|
5
|
-
export function GroupTopMembers({ members, groupUrl }) {
|
|
6
|
-
return (_jsxs("div", { className: "glass-panel p-8 rounded-[40px] border border-armoyu-card-border bg-armoyu-card-bg relative overflow-hidden group/card", children: [_jsxs("div", { className: "flex items-center justify-between mb-8 leading-none relative z-10", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Users, { size: 16, className: "text-armoyu-primary" }), _jsx("h4", { className: "text-[11px] font-black text-armoyu-text uppercase tracking-widest italic leading-none", children: "\u00D6NE \u00C7IKAN \u00DCYELER" })] }), _jsxs(Link, { href: `${groupUrl}/uyeler`, className: "text-[10px] font-black text-armoyu-primary uppercase flex items-center gap-1 hover:gap-2 transition-all leading-none group", children: ["T\u00DCM\u00DC ", _jsx(ChevronRight, { size: 12 })] })] }), _jsx("div", { className: "space-y-6 relative z-10", children: (members && members.length > 0) ? (members.slice(0, 10).map((member, idx) => (_jsxs(Link, { href: `/oyuncular/${member.username}`, className: "flex items-center gap-4 group cursor-pointer transition-all hover:translate-x-1 duration-300", children: [_jsxs("div", { className: "relative", children: [_jsx("img", { src: member.avatar || 'https://api.dicebear.com/7.x/avataaars/svg?seed=Lucky', className: "w-12 h-12 rounded-2xl border-2 border-transparent group-hover:border-armoyu-primary/50 transition-all object-cover shadow-lg", alt: "Avatar" }), idx < 3 && (_jsx("div", { className: "absolute -top-2 -left-2 w-5 h-5 bg-amber-500 rounded-lg flex items-center justify-center text-[10px] font-black text-white shadow-lg rotate-[-15deg]", children: idx + 1 }))] }), _jsxs("div", { className: "flex-1 min-w-0", children: [_jsx("p", { className: "text-sm font-black text-armoyu-text mb-1 group-hover:text-armoyu-primary transition-colors uppercase italic leading-none truncate", children: member.displayName }), _jsx("p", { className: `text-[9px] font-black uppercase tracking-widest leading-none ${idx === 0 ? 'text-armoyu-primary' : 'text-armoyu-text-muted opacity-60'}`, children: member.role?.name || 'Üye' })] })] }, idx)))) : (_jsx("div", { className: "py-10 bg-black/5 dark:bg-white/5 rounded-[30px] border border-dashed border-armoyu-card-border text-center", children: _jsx("p", { className: "text-[10px] text-armoyu-text-muted italic font-bold uppercase tracking-widest opacity-60", children: "Hen\u00FCz \u00FCye bulunmuyor." }) })) })] }));
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=GroupTopMembers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupTopMembers.js","sourceRoot":"","sources":["../../../../../src/components/modules/community/widgets/GroupTopMembers.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAOnD,MAAM,UAAU,eAAe,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAwB;IACxE,OAAO,CACJ,eAAK,SAAS,EAAC,uHAAuH,aACnI,eAAK,SAAS,EAAC,mEAAmE,aAC/E,eAAK,SAAS,EAAC,yBAAyB,aACrC,KAAC,KAAK,IAAC,IAAI,EAAE,EAAE,EAAE,SAAS,EAAC,qBAAqB,GAAG,EACnD,aAAI,SAAS,EAAC,uFAAuF,gDAAsB,IACxH,EACN,MAAC,IAAI,IAAC,IAAI,EAAE,GAAG,QAAQ,SAAS,EAAE,SAAS,EAAC,4HAA4H,gCAChK,KAAC,YAAY,IAAC,IAAI,EAAE,EAAE,GAAI,IAC3B,IACJ,EAEN,cAAK,SAAS,EAAC,yBAAyB,YACpC,CAAC,OAAO,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAChC,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,MAAW,EAAE,GAAW,EAAE,EAAE,CAAC,CACpD,MAAC,IAAI,IAAW,IAAI,EAAE,cAAc,MAAM,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAC,8FAA8F,aAC5J,eAAK,SAAS,EAAC,UAAU,aACtB,cACG,GAAG,EAAE,MAAM,CAAC,MAAM,IAAI,uDAAuD,EAC7E,SAAS,EAAC,8HAA8H,EACxI,GAAG,EAAC,QAAQ,GACb,EACD,GAAG,GAAG,CAAC,IAAI,CACT,cAAK,SAAS,EAAC,sJAAsJ,YACjK,GAAG,GAAG,CAAC,GACL,CACR,IACE,EACN,eAAK,SAAS,EAAC,gBAAgB,aAC5B,YAAG,SAAS,EAAC,mIAAmI,YAC5I,MAAM,CAAC,WAAW,GAClB,EACJ,YAAG,SAAS,EAAE,gEAAgE,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,mCAAmC,EAAE,YACnJ,MAAM,CAAC,IAAI,EAAE,IAAI,IAAI,KAAK,GAC1B,IACD,KApBE,GAAG,CAqBP,CACT,CAAC,CACJ,CAAC,CAAC,CAAC,CACD,cAAK,SAAS,EAAC,4GAA4G,YACxH,YAAG,SAAS,EAAC,0FAA0F,gDAEnG,GACD,CACR,GACE,IACH,CACR,CAAC;AACL,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { School } from '../../../../models/community/School';
|
|
2
|
-
interface SchoolCardProps {
|
|
3
|
-
school: School;
|
|
4
|
-
}
|
|
5
|
-
export declare function SchoolCard({ school }: SchoolCardProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export {};
|
|
7
|
-
//# sourceMappingURL=SchoolCard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SchoolCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/community/widgets/SchoolCard.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAI7D,UAAU,eAAe;IACvB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE,eAAe,2CAmGrD"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import Link from 'next/link';
|
|
5
|
-
import { GraduationCap, Users, Trophy, ChevronRight, MapPin, UserPlus } from 'lucide-react';
|
|
6
|
-
import { SchoolJoinModal } from './SchoolJoinModal';
|
|
7
|
-
export function SchoolCard({ school }) {
|
|
8
|
-
const [isJoinModalOpen, setIsJoinModalOpen] = React.useState(false);
|
|
9
|
-
return (_jsxs("div", { className: "block group relative", children: [_jsx(Link, { href: `/egitim/${school.slug}`, className: "block", children: _jsxs("div", { className: "glass-panel relative overflow-hidden rounded-[32px] border border-armoyu-card-border bg-armoyu-card-bg hover:border-armoyu-primary/50 hover:shadow-2xl hover:shadow-armoyu-primary/10 transition-all duration-500 group", children: [_jsx("div", { className: "absolute top-0 left-0 w-full h-24 bg-gradient-to-br from-armoyu-primary/20 to-purple-600/20 opacity-30 group-hover:opacity-50 transition-opacity" }), _jsxs("div", { className: "relative p-5 pt-6", children: [_jsx("div", { className: "flex items-start justify-between mb-3", children: _jsx("div", { className: "relative", children: _jsx("div", { className: "w-20 h-20 rounded-3xl bg-white dark:bg-zinc-900 border-4 border-armoyu-bg overflow-hidden shadow-xl group-hover:scale-105 transition-transform duration-500", children: _jsx("img", { src: school.logo, alt: school.name, className: "w-full h-full object-contain p-2" }) }) }) }), _jsxs("div", { className: "space-y-1 mb-4", children: [_jsx("h3", { className: "text-xl font-black text-armoyu-text uppercase tracking-tighter italic leading-none group-hover:text-armoyu-primary transition-colors", children: school.name }), _jsxs("div", { className: "flex items-center gap-2 text-armoyu-text-muted", children: [_jsx(MapPin, { size: 14, className: "text-armoyu-primary" }), _jsx("span", { className: "text-[10px] font-bold uppercase tracking-widest opacity-60", children: "T\u00FCrkiye / \u0130stanbul" })] })] }), _jsxs("div", { className: "grid grid-cols-3 gap-1 py-3 border-y border-armoyu-card-border", children: [_jsxs("div", { className: "text-center group/stat", children: [_jsxs("div", { className: "flex items-center justify-center gap-1 text-armoyu-text-muted mb-0.5", children: [_jsx(Users, { size: 12, className: "group-hover/stat:text-armoyu-primary transition-colors" }), _jsx("span", { className: "text-[9px] font-black uppercase tracking-widest opacity-50", children: "\u00D6\u011Frenci" })] }), _jsx("div", { className: "text-sm font-black text-armoyu-text", children: school.memberCount })] }), _jsxs("div", { className: "text-center group/stat border-x border-armoyu-card-border px-1", children: [_jsxs("div", { className: "flex items-center justify-center gap-1 text-armoyu-text-muted mb-0.5", children: [_jsx(GraduationCap, { size: 12, className: "group-hover/stat:text-armoyu-primary transition-colors" }), _jsx("span", { className: "text-[9px] font-black uppercase tracking-widest opacity-50", children: "Fak\u00FClte" })] }), _jsx("div", { className: "text-sm font-black text-armoyu-text", children: (school.faculties || []).length })] }), _jsxs("div", { className: "text-center group/stat", children: [_jsxs("div", { className: "flex items-center justify-center gap-1 text-armoyu-text-muted mb-0.5", children: [_jsx(Trophy, { size: 12, className: "group-hover/stat:text-armoyu-primary transition-colors" }), _jsx("span", { className: "text-[9px] font-black uppercase tracking-widest opacity-50", children: "Tak\u0131mlar" })] }), _jsx("div", { className: "text-sm font-black text-armoyu-text", children: (school.teams || []).length })] })] }), _jsxs("div", { className: "mt-4 flex items-center justify-between", children: [_jsxs("div", { className: "flex -space-x-3", children: [[1, 2, 3, 4].map((i) => (_jsx("img", { src: `https://api.dicebear.com/7.x/avataaars/svg?seed=Armoyu${i + school.id}`, className: "w-7 h-7 rounded-full border-2 border-armoyu-bg", alt: "Member" }, i))), _jsxs("div", { className: "w-8 h-8 rounded-full bg-black/5 dark:bg-white/5 border-2 border-armoyu-bg flex items-center justify-center text-[8px] font-black text-armoyu-text-muted uppercase", children: ["+", (school.memberCount || 0) - 4] })] }), _jsxs("div", { className: "flex items-center gap-2 text-armoyu-primary text-[10px] font-black uppercase tracking-widest group-hover:translate-x-2 transition-transform", children: ["DETAY ", _jsx(ChevronRight, { size: 16, strokeWidth: 3 })] })] }), _jsxs("button", { onClick: (e) => { e.preventDefault(); e.stopPropagation(); setIsJoinModalOpen(true); }, className: "mt-6 w-full py-4 bg-armoyu-primary hover:bg-armoyu-primary/90 text-white rounded-2xl font-black text-[11px] uppercase tracking-widest shadow-lg shadow-armoyu-primary/10 active:scale-95 transition-all flex items-center justify-center gap-2", children: [_jsx(UserPlus, { size: 16, strokeWidth: 3 }), " HEMEN KATIL"] })] }), _jsx("div", { className: "absolute -bottom-8 -right-8 w-32 h-32 bg-armoyu-primary/5 blur-[40px] rounded-full group-hover:bg-armoyu-primary/10 transition-colors" })] }) }), _jsx(SchoolJoinModal, { isOpen: isJoinModalOpen, onClose: () => setIsJoinModalOpen(false), selectedSchool: school.name })] }));
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=SchoolCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SchoolCard.js","sourceRoot":"","sources":["../../../../../src/components/modules/community/widgets/SchoolCard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC5F,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAMpD,MAAM,UAAU,UAAU,CAAC,EAAE,MAAM,EAAmB;IACpD,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEpE,OAAO,CACL,eAAK,SAAS,EAAC,sBAAsB,aAClC,KAAC,IAAI,IAAC,IAAI,EAAE,WAAW,MAAM,CAAC,IAAI,EAAE,EAAE,SAAS,EAAC,OAAO,YACxD,eAAK,SAAS,EAAC,yNAAyN,aAGtO,cAAK,SAAS,EAAC,kJAAkJ,GA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0,0 @@
|
|
|
1
|
-
interface SchoolJoinModalProps {
|
|
2
|
-
isOpen: boolean;
|
|
3
|
-
onClose: () => void;
|
|
4
|
-
selectedSchool?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare function SchoolJoinModal({ isOpen, onClose, selectedSchool }: SchoolJoinModalProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=SchoolJoinModal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SchoolJoinModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/community/widgets/SchoolJoinModal.tsx"],"names":[],"mappings":"AAKA,UAAU,oBAAoB;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAYD,wBAAgB,eAAe,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,EAAE,EAAE,oBAAoB,kDAiIxF"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
-
import { useState } from 'react';
|
|
4
|
-
import { X, ShieldCheck, GraduationCap, Lock, ArrowRight, CheckCircle2 } from 'lucide-react';
|
|
5
|
-
const MOCK_SCHOOLS = [
|
|
6
|
-
"İstanbul Teknik Üniversitesi",
|
|
7
|
-
"Yıldız Teknik Üniversitesi",
|
|
8
|
-
"Boğaziçi Üniversitesi",
|
|
9
|
-
"Orta Doğu Teknik Üniversitesi",
|
|
10
|
-
"Hacettepe Üniversitesi",
|
|
11
|
-
"Koç Üniversitesi",
|
|
12
|
-
"Sabancı Üniversitesi"
|
|
13
|
-
];
|
|
14
|
-
export function SchoolJoinModal({ isOpen, onClose, selectedSchool }) {
|
|
15
|
-
const [school, setSchool] = useState(selectedSchool || MOCK_SCHOOLS[0]);
|
|
16
|
-
const [password, setPassword] = useState('');
|
|
17
|
-
const [isSubmitting, setIsSubmitting] = useState(false);
|
|
18
|
-
const [isSuccess, setIsSuccess] = useState(false);
|
|
19
|
-
if (!isOpen)
|
|
20
|
-
return null;
|
|
21
|
-
const handleSubmit = (e) => {
|
|
22
|
-
e.preventDefault();
|
|
23
|
-
setIsSubmitting(true);
|
|
24
|
-
// Simulate API call
|
|
25
|
-
setTimeout(() => {
|
|
26
|
-
setIsSubmitting(false);
|
|
27
|
-
setIsSuccess(true);
|
|
28
|
-
setTimeout(() => {
|
|
29
|
-
setIsSuccess(false);
|
|
30
|
-
onClose();
|
|
31
|
-
}, 2000);
|
|
32
|
-
}, 1500);
|
|
33
|
-
};
|
|
34
|
-
return (_jsxs("div", { className: "fixed inset-0 z-[100] flex items-center justify-center p-4", children: [_jsx("div", { className: "absolute inset-0 bg-black/60 backdrop-blur-md animate-in fade-in duration-300", onClick: onClose }), _jsxs("div", { className: "relative w-full max-w-lg glass-panel bg-armoyu-card-bg border border-white/10 rounded-[40px] shadow-2xl overflow-hidden animate-in zoom-in-95 duration-300", children: [_jsx("div", { className: "absolute top-0 left-0 w-full h-32 bg-gradient-to-br from-armoyu-primary/20 to-indigo-600/20 -z-10" }), _jsxs("div", { className: "p-8", children: [_jsxs("div", { className: "flex justify-between items-start mb-8", children: [_jsx("div", { className: "w-16 h-16 rounded-2xl bg-armoyu-primary/10 flex items-center justify-center text-armoyu-primary", children: _jsx(GraduationCap, { size: 32 }) }), _jsx("button", { onClick: onClose, className: "p-3 bg-white/5 hover:bg-white/10 rounded-2xl text-armoyu-text-muted hover:text-white transition-all", children: _jsx(X, { size: 20 }) })] }), !isSuccess ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: "mb-8", children: [_jsx("h2", { className: "text-3xl font-black text-armoyu-text uppercase tracking-tighter italic mb-2", children: "OKULA KATIL" }), _jsx("p", { className: "text-sm font-bold text-armoyu-text-muted uppercase tracking-widest opacity-60", children: "Akademik d\u00FCnyada yerini almak i\u00E7in bilgilerini gir." })] }), _jsxs("form", { onSubmit: handleSubmit, className: "space-y-6", children: [_jsxs("div", { className: "space-y-4", children: [_jsx("label", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-[0.3em] ml-2", children: "Okul / Kamp\u00FCs Se\u00E7imi" }), _jsxs("div", { className: "relative group", children: [_jsx("div", { className: "absolute left-5 top-1/2 -translate-y-1/2 text-armoyu-text-muted group-focus-within:text-armoyu-primary transition-colors", children: _jsx(GraduationCap, { size: 18 }) }), _jsx("select", { value: school, onChange: (e) => setSchool(e.target.value), className: "w-full h-16 pl-14 pr-6 bg-black/5 dark:bg-white/5 border border-white/5 rounded-[24px] text-xs font-black uppercase tracking-widest focus:border-armoyu-primary outline-none transition-all appearance-none cursor-pointer", children: MOCK_SCHOOLS.map(s => (_jsx("option", { value: s, className: "bg-zinc-900 text-white", children: s }, s))) })] })] }), _jsxs("div", { className: "space-y-4", children: [_jsx("label", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-[0.3em] ml-2", children: "Giri\u015F Parolas\u0131" }), _jsxs("div", { className: "relative group", children: [_jsx("div", { className: "absolute left-5 top-1/2 -translate-y-1/2 text-armoyu-text-muted group-focus-within:text-armoyu-primary transition-colors", children: _jsx(Lock, { size: 18 }) }), _jsx("input", { type: "password", required: true, placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022", value: password, onChange: (e) => setPassword(e.target.value), className: "w-full h-16 pl-14 pr-6 bg-black/5 dark:bg-white/5 border border-white/5 rounded-[24px] text-sm font-black tracking-widest focus:border-armoyu-primary outline-none transition-all focus:ring-4 focus:ring-armoyu-primary/10" })] })] }), _jsxs("div", { className: "p-5 rounded-2xl bg-emerald-500/5 border border-emerald-500/10 flex gap-4 items-start", children: [_jsx(ShieldCheck, { className: "text-emerald-500 shrink-0", size: 20 }), _jsx("p", { className: "text-[10px] font-bold text-emerald-500/80 leading-relaxed uppercase", children: "Bu okul onayl\u0131 bir e\u011Fitim kurumudur. Parola gereksinimi okul y\u00F6netimi taraf\u0131ndan belirlenmi\u015Ftir." })] }), _jsx("button", { type: "submit", disabled: isSubmitting, className: "w-full h-16 bg-armoyu-primary hover:bg-armoyu-primary/90 text-white font-black text-sm uppercase tracking-[0.2em] rounded-[24px] shadow-xl shadow-armoyu-primary/20 transition-all active:scale-95 disabled:opacity-50 flex items-center justify-center gap-3", children: isSubmitting ? (_jsx("div", { className: "w-5 h-5 border-2 border-white/30 border-t-white rounded-full animate-spin" })) : (_jsxs(_Fragment, { children: ["BA\u015EVURUYU TAMAMLA ", _jsx(ArrowRight, { size: 18, strokeWidth: 3 })] })) })] })] })) : (_jsxs("div", { className: "py-12 text-center animate-in fade-in zoom-in duration-500", children: [_jsx("div", { className: "w-24 h-24 rounded-full bg-emerald-500/10 text-emerald-500 flex items-center justify-center mx-auto mb-6", children: _jsx(CheckCircle2, { size: 48 }) }), _jsx("h2", { className: "text-3xl font-black text-armoyu-text uppercase tracking-tighter italic mb-2", children: "TEBR\u0130KLER!" }), _jsx("p", { className: "text-sm font-bold text-armoyu-text-muted uppercase tracking-widest opacity-60", children: "Kat\u0131l\u0131m talebin ba\u015Far\u0131yla iletildi." })] }))] })] })] }));
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=SchoolJoinModal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SchoolJoinModal.js","sourceRoot":"","sources":["../../../../../src/components/modules/community/widgets/SchoolJoinModal.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,IAAI,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAQ7F,MAAM,YAAY,GAAG;IACnB,8BAA8B;IAC9B,4BAA4B;IAC5B,uBAAuB;IACvB,+BAA+B;IAC/B,wBAAwB;IACxB,kBAA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KAAK,CAAC,EAC5C,SAAS,EAAC,6NAA6N,GACvO,IACE,IACF,EAEN,eAAK,SAAS,EAAC,sFAAsF,aAClG,KAAC,WAAW,IAAC,SAAS,EAAC,2BAA2B,EAAC,IAAI,EAAE,EAAE,GAAI,EAC/D,YAAG,SAAS,EAAC,qEAAqE,0IAE9E,IACD,EAEN,iBACE,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,YAAY,EACtB,SAAS,EAAC,+PAA+P,YAExQ,YAAY,CAAC,CAAC,CAAC,CACd,cAAK,SAAS,EAAC,2EAA2E,GAAG,CAC9F,CAAC,CAAC,CAAC,CACF,yDAAoB,KAAC,UAAU,IAAC,IAAI,EAAE,EAAE,EAAE,WAAW,EAAE,CAAC,GAAI,IAAG,CAChE,GACM,IACJ,IACN,CACJ,CAAC,CAAC,CAAC,CACF,eAAK,SAAS,EAAC,2DAA2D,aACvE,cAAK,SAAS,EAAC,yGAAyG,YACrH,KAAC,YAAY,IAAC,IAAI,EAAE,EAAE,GAAI,GACvB,EACN,aAAI,SAAS,EAAC,6EAA6E,gCAAgB,EAC3G,YAAG,SAAS,EAAC,+EAA+E,wEAExF,IACD,CACP,IACG,IACF,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Survey } from '../../../../models/community/Survey';
|
|
2
|
-
interface SurveyCardProps {
|
|
3
|
-
survey: Survey;
|
|
4
|
-
onVote?: (optionId: string) => void;
|
|
5
|
-
}
|
|
6
|
-
export declare function SurveyCard({ survey, onVote }: SurveyCardProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=SurveyCard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SurveyCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/community/widgets/SurveyCard.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAG7D,UAAU,eAAe;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC;AAED,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,eAAe,2CA8H7D"}
|