@armoyu/ui 1.1.32 → 1.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/Providers.js +34 -0
- package/dist/app/Providers.js.map +1 -0
- package/dist/app/api/proxy/[...path]/route.d.ts +23 -0
- package/dist/app/api/proxy/[...path]/route.d.ts.map +1 -0
- package/dist/app/api/proxy/[...path]/route.js +127 -0
- package/dist/app/api/proxy/[...path]/route.js.map +1 -0
- package/dist/app/egitim/[slug]/page.d.ts +2 -0
- package/dist/app/egitim/[slug]/page.d.ts.map +1 -0
- package/dist/app/egitim/[slug]/page.js +7 -0
- package/dist/app/egitim/[slug]/page.js.map +1 -0
- package/dist/app/etkinlikler/[eventId]/page.d.ts +2 -0
- package/dist/app/etkinlikler/[eventId]/page.d.ts.map +1 -0
- package/dist/app/etkinlikler/[eventId]/page.js +12 -0
- package/dist/app/etkinlikler/[eventId]/page.js.map +1 -0
- package/dist/app/etkinlikler/page.d.ts +2 -0
- package/dist/app/etkinlikler/page.d.ts.map +1 -0
- package/dist/app/etkinlikler/page.js +32 -0
- package/dist/app/etkinlikler/page.js.map +1 -0
- package/dist/app/gruplar/[groupId]/page.js +11 -0
- package/dist/app/gruplar/[groupId]/page.js.map +1 -0
- package/dist/app/layout.js +29 -0
- package/dist/app/layout.js.map +1 -0
- package/dist/app/management-panel/layout.js +67 -0
- package/dist/app/management-panel/layout.js.map +1 -0
- package/dist/app/management-panel/page.js +151 -0
- package/dist/app/management-panel/page.js.map +1 -0
- package/dist/app/not-found.d.ts +2 -0
- package/dist/app/not-found.d.ts.map +1 -0
- package/dist/app/not-found.js +7 -0
- package/dist/app/not-found.js.map +1 -0
- package/dist/app/page.js +59 -0
- package/dist/app/page.js.map +1 -0
- package/dist/components/Button.d.ts +8 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/Button.js +16 -0
- package/dist/components/Button.js.map +1 -0
- package/dist/components/GenderStatsBar.d.ts +6 -0
- package/dist/components/GenderStatsBar.d.ts.map +1 -0
- package/dist/components/GenderStatsBar.js +8 -0
- package/dist/components/GenderStatsBar.js.map +1 -0
- package/dist/components/RollingNumber.d.ts +8 -0
- package/dist/components/RollingNumber.d.ts.map +1 -0
- package/dist/components/RollingNumber.js +28 -0
- package/dist/components/RollingNumber.js.map +1 -0
- package/dist/components/Slider.d.ts +11 -0
- package/dist/components/Slider.d.ts.map +1 -0
- package/dist/components/Slider.js +36 -0
- package/dist/components/Slider.js.map +1 -0
- package/dist/components/StatsGrid.d.ts +6 -0
- package/dist/components/StatsGrid.d.ts.map +1 -0
- package/dist/components/StatsGrid.js +14 -0
- package/dist/components/StatsGrid.js.map +1 -0
- package/dist/components/ViewModeToggle.d.ts +8 -0
- package/dist/components/ViewModeToggle.d.ts.map +1 -0
- package/dist/components/ViewModeToggle.js +10 -0
- package/dist/components/ViewModeToggle.js.map +1 -0
- package/dist/components/common/Mentions/HashtagLink.d.ts +7 -0
- package/dist/components/common/Mentions/HashtagLink.d.ts.map +1 -0
- package/dist/components/common/Mentions/HashtagLink.js +7 -0
- package/dist/components/common/Mentions/HashtagLink.js.map +1 -0
- package/dist/components/common/Mentions/MentionLink.d.ts +7 -0
- package/dist/components/common/Mentions/MentionLink.d.ts.map +1 -0
- package/dist/components/common/Mentions/MentionLink.js +33 -0
- package/dist/components/common/Mentions/MentionLink.js.map +1 -0
- package/dist/components/common/Mentions/MentionText.d.ts +8 -0
- package/dist/components/common/Mentions/MentionText.d.ts.map +1 -0
- package/dist/components/common/Mentions/MentionText.js +23 -0
- package/dist/components/common/Mentions/MentionText.js.map +1 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts +2 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.js +16 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.js.map +1 -0
- package/dist/components/modules/auth/widgets/InviteWidget.d.ts +6 -0
- package/dist/components/modules/auth/widgets/InviteWidget.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/InviteWidget.js +68 -0
- package/dist/components/modules/auth/widgets/InviteWidget.js.map +1 -0
- 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/modules/blog/pages/MyArticlesPage.d.ts +2 -0
- package/dist/components/modules/blog/pages/MyArticlesPage.d.ts.map +1 -0
- package/dist/components/modules/blog/pages/MyArticlesPage.js +229 -0
- package/dist/components/modules/blog/pages/MyArticlesPage.js.map +1 -0
- package/dist/components/modules/chat/ChatLayout.js +208 -0
- package/dist/components/modules/chat/ChatLayout.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatInput.d.ts +5 -0
- package/dist/components/modules/chat/widgets/ChatInput.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatInput.js +31 -0
- package/dist/components/modules/chat/widgets/ChatInput.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatList.d.ts +7 -0
- package/dist/components/modules/chat/widgets/ChatList.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatList.js +74 -0
- package/dist/components/modules/chat/widgets/ChatList.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts +12 -0
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatMessage.js +31 -0
- package/dist/components/modules/chat/widgets/ChatMessage.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatNotes.d.ts +2 -0
- package/dist/components/modules/chat/widgets/ChatNotes.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatNotes.js +15 -0
- package/dist/components/modules/chat/widgets/ChatNotes.js.map +1 -0
- package/dist/components/modules/cloud/CloudModal.d.ts +12 -0
- package/dist/components/modules/cloud/CloudModal.d.ts.map +1 -0
- package/dist/components/modules/cloud/CloudModal.js +251 -0
- package/dist/components/modules/cloud/CloudModal.js.map +1 -0
- package/dist/components/modules/cloud/CloudWidget.d.ts +9 -0
- package/dist/components/modules/cloud/CloudWidget.d.ts.map +1 -0
- package/dist/components/modules/cloud/CloudWidget.js +7 -0
- package/dist/components/modules/cloud/CloudWidget.js.map +1 -0
- package/dist/components/modules/community/CommunityLayout.js +136 -0
- package/dist/components/modules/community/CommunityLayout.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.d.ts +6 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.js +7 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts +9 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.js +8 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupHeader.d.ts +11 -0
- package/dist/components/modules/community/widgets/GroupHeader.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupHeader.js +18 -0
- package/dist/components/modules/community/widgets/GroupHeader.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupMenu.d.ts +10 -0
- package/dist/components/modules/community/widgets/GroupMenu.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupMenu.js +17 -0
- package/dist/components/modules/community/widgets/GroupMenu.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts +6 -0
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupPermissions.js +7 -0
- package/dist/components/modules/community/widgets/GroupPermissions.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts +11 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.js +13 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts +7 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.js +8 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.js.map +1 -0
- package/dist/components/modules/community/widgets/SchoolCard.d.ts +7 -0
- package/dist/components/modules/community/widgets/SchoolCard.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/SchoolCard.js +11 -0
- package/dist/components/modules/community/widgets/SchoolCard.js.map +1 -0
- package/dist/components/modules/community/widgets/SchoolJoinModal.d.ts +8 -0
- package/dist/components/modules/community/widgets/SchoolJoinModal.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/SchoolJoinModal.js +36 -0
- package/dist/components/modules/community/widgets/SchoolJoinModal.js.map +1 -0
- package/dist/components/modules/community/widgets/SurveyCard.d.ts +8 -0
- package/dist/components/modules/community/widgets/SurveyCard.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/SurveyCard.js +28 -0
- package/dist/components/modules/community/widgets/SurveyCard.js.map +1 -0
- package/dist/components/modules/education/pages/EducationPage.d.ts +2 -0
- package/dist/components/modules/education/pages/EducationPage.d.ts.map +1 -0
- package/dist/components/modules/education/pages/EducationPage.js +56 -0
- package/dist/components/modules/education/pages/EducationPage.js.map +1 -0
- package/dist/components/modules/education/pages/SchoolDetailPage.d.ts +2 -0
- package/dist/components/modules/education/pages/SchoolDetailPage.d.ts.map +1 -0
- package/dist/components/modules/education/pages/SchoolDetailPage.js +79 -0
- package/dist/components/modules/education/pages/SchoolDetailPage.js.map +1 -0
- package/dist/components/modules/events/DetailPage.d.ts +9 -0
- package/dist/components/modules/events/DetailPage.d.ts.map +1 -0
- package/dist/components/modules/events/DetailPage.js +94 -0
- package/dist/components/modules/events/DetailPage.js.map +1 -0
- package/dist/components/modules/events/EventsLayout.d.ts +8 -0
- package/dist/components/modules/events/EventsLayout.d.ts.map +1 -0
- package/dist/components/modules/events/EventsLayout.js +7 -0
- package/dist/components/modules/events/EventsLayout.js.map +1 -0
- package/dist/components/modules/events/EventsPage.d.ts +11 -0
- package/dist/components/modules/events/EventsPage.d.ts.map +1 -0
- package/dist/components/modules/events/EventsPage.js +91 -0
- package/dist/components/modules/events/EventsPage.js.map +1 -0
- package/dist/components/modules/events/index.d.ts +7 -0
- package/dist/components/modules/events/index.d.ts.map +1 -0
- package/dist/components/modules/events/index.js +7 -0
- package/dist/components/modules/events/index.js.map +1 -0
- package/dist/components/modules/events/widgets/EventCard.d.ts +12 -0
- package/dist/components/modules/events/widgets/EventCard.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventCard.js +12 -0
- package/dist/components/modules/events/widgets/EventCard.js.map +1 -0
- package/dist/components/modules/events/widgets/EventFormModal.d.ts +9 -0
- package/dist/components/modules/events/widgets/EventFormModal.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventFormModal.js +24 -0
- package/dist/components/modules/events/widgets/EventFormModal.js.map +1 -0
- package/dist/components/modules/events/widgets/EventList.d.ts +12 -0
- package/dist/components/modules/events/widgets/EventList.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventList.js +30 -0
- package/dist/components/modules/events/widgets/EventList.js.map +1 -0
- package/dist/components/modules/events/widgets/EventShowcase.d.ts +6 -0
- package/dist/components/modules/events/widgets/EventShowcase.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventShowcase.js +80 -0
- package/dist/components/modules/events/widgets/EventShowcase.js.map +1 -0
- package/dist/components/modules/forum/pages/ForumBoardPage.d.ts +8 -0
- package/dist/components/modules/forum/pages/ForumBoardPage.d.ts.map +1 -0
- package/dist/components/modules/forum/pages/ForumBoardPage.js +18 -0
- package/dist/components/modules/forum/pages/ForumBoardPage.js.map +1 -0
- package/dist/components/modules/forum/pages/ForumPage.d.ts +2 -0
- package/dist/components/modules/forum/pages/ForumPage.d.ts.map +1 -0
- package/dist/components/modules/forum/pages/ForumPage.js +14 -0
- package/dist/components/modules/forum/pages/ForumPage.js.map +1 -0
- package/dist/components/modules/forum/pages/ForumTopicPage.d.ts +8 -0
- package/dist/components/modules/forum/pages/ForumTopicPage.d.ts.map +1 -0
- package/dist/components/modules/forum/pages/ForumTopicPage.js +55 -0
- package/dist/components/modules/forum/pages/ForumTopicPage.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumBoard.d.ts +17 -0
- package/dist/components/modules/forum/widgets/ForumBoard.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumBoard.js +7 -0
- package/dist/components/modules/forum/widgets/ForumBoard.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts +6 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.js +7 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts +6 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js +6 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumPost.d.ts +14 -0
- package/dist/components/modules/forum/widgets/ForumPost.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumPost.js +6 -0
- package/dist/components/modules/forum/widgets/ForumPost.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts +2 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.js +6 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.js.map +1 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.d.ts +8 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.js +27 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.js.map +1 -0
- package/dist/components/modules/forum/widgets/TopicItem.d.ts +16 -0
- package/dist/components/modules/forum/widgets/TopicItem.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/TopicItem.js +7 -0
- package/dist/components/modules/forum/widgets/TopicItem.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.d.ts +10 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.js +6 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts +8 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js +6 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts +2 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js +6 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts +7 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js +6 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js.map +1 -0
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.d.ts +6 -0
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.d.ts.map +1 -0
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js +42 -0
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js.map +1 -0
- package/dist/components/modules/giveaways/pages/GiveawaysPage.d.ts +2 -0
- package/dist/components/modules/giveaways/pages/GiveawaysPage.d.ts.map +1 -0
- package/dist/components/modules/giveaways/pages/GiveawaysPage.js +60 -0
- package/dist/components/modules/giveaways/pages/GiveawaysPage.js.map +1 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts +10 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts.map +1 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js +7 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js.map +1 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.d.ts +8 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.d.ts.map +1 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.js +28 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.js.map +1 -0
- package/dist/components/modules/groups/widgets/GroupCard.d.ts +14 -0
- package/dist/components/modules/groups/widgets/GroupCard.d.ts.map +1 -0
- package/dist/components/modules/groups/widgets/GroupCard.js +8 -0
- package/dist/components/modules/groups/widgets/GroupCard.js.map +1 -0
- package/dist/components/modules/guest/widgets/Introduction.d.ts +2 -0
- package/dist/components/modules/guest/widgets/Introduction.d.ts.map +1 -0
- package/dist/components/modules/guest/widgets/Introduction.js +15 -0
- package/dist/components/modules/guest/widgets/Introduction.js.map +1 -0
- package/dist/components/modules/management/ManagementAccessDenied.d.ts +7 -0
- package/dist/components/modules/management/ManagementAccessDenied.d.ts.map +1 -0
- package/dist/components/modules/management/ManagementAccessDenied.js +7 -0
- package/dist/components/modules/management/ManagementAccessDenied.js.map +1 -0
- package/dist/components/modules/management/ManagementLayout.d.ts +14 -0
- package/dist/components/modules/management/ManagementLayout.d.ts.map +1 -0
- package/dist/components/modules/management/ManagementLayout.js +13 -0
- package/dist/components/modules/management/ManagementLayout.js.map +1 -0
- package/dist/components/modules/management/ManagementMobileToggle.d.ts +6 -0
- package/dist/components/modules/management/ManagementMobileToggle.d.ts.map +1 -0
- package/dist/components/modules/management/ManagementMobileToggle.js +6 -0
- package/dist/components/modules/management/ManagementMobileToggle.js.map +1 -0
- package/dist/components/modules/management/ManagementSidebar.d.ts +23 -0
- package/dist/components/modules/management/ManagementSidebar.d.ts.map +1 -0
- package/dist/components/modules/management/ManagementSidebar.js +48 -0
- package/dist/components/modules/management/ManagementSidebar.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.d.ts +6 -0
- package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.js +16 -0
- package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.d.ts +18 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.js +7 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementCharts.d.ts +15 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementCharts.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementCharts.js +10 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementCharts.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.d.ts +36 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.js +14 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementHeader.d.ts +8 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementHeader.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementHeader.js +5 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementHeader.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementOverview.d.ts +27 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementOverview.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementOverview.js +11 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementOverview.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.d.ts +10 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.js +7 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.d.ts +14 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.js +7 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.d.ts +4 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.js +23 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/RegistryManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/dashboard/RegistryManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/RegistryManagement.js +36 -0
- package/dist/components/modules/management/widgets/dashboard/RegistryManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.js +74 -0
- package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/SystemSettings.d.ts +2 -0
- package/dist/components/modules/management/widgets/dashboard/SystemSettings.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/SystemSettings.js +20 -0
- package/dist/components/modules/management/widgets/dashboard/SystemSettings.js.map +1 -0
- package/dist/components/modules/management/widgets/editor/GiveawaysManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/editor/GiveawaysManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/editor/GiveawaysManagement.js +12 -0
- package/dist/components/modules/management/widgets/editor/GiveawaysManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/editor/GroupsManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/editor/GroupsManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/editor/GroupsManagement.js +12 -0
- package/dist/components/modules/management/widgets/editor/GroupsManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/editor/NewsManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/editor/NewsManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/editor/NewsManagement.js +13 -0
- package/dist/components/modules/management/widgets/editor/NewsManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/editor/SchoolsManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/editor/SchoolsManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/editor/SchoolsManagement.js +12 -0
- package/dist/components/modules/management/widgets/editor/SchoolsManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/editor/StationsManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/editor/StationsManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/editor/StationsManagement.js +15 -0
- package/dist/components/modules/management/widgets/editor/StationsManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/events/EventManagement.d.ts +13 -0
- package/dist/components/modules/management/widgets/events/EventManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/events/EventManagement.js +13 -0
- package/dist/components/modules/management/widgets/events/EventManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/events/EventSummaryWidget.d.ts +2 -0
- package/dist/components/modules/management/widgets/events/EventSummaryWidget.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/events/EventSummaryWidget.js +11 -0
- package/dist/components/modules/management/widgets/events/EventSummaryWidget.js.map +1 -0
- package/dist/components/modules/management/widgets/support/SupportManagement.d.ts +14 -0
- package/dist/components/modules/management/widgets/support/SupportManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/support/SupportManagement.js +17 -0
- package/dist/components/modules/management/widgets/support/SupportManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/support/SupportSummaryWidget.d.ts +2 -0
- package/dist/components/modules/management/widgets/support/SupportSummaryWidget.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/support/SupportSummaryWidget.js +11 -0
- package/dist/components/modules/management/widgets/support/SupportSummaryWidget.js.map +1 -0
- package/dist/components/modules/management/widgets/users/MemberManagement.d.ts +16 -0
- package/dist/components/modules/management/widgets/users/MemberManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/users/MemberManagement.js +37 -0
- package/dist/components/modules/management/widgets/users/MemberManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/users/MemberSummaryWidget.d.ts +2 -0
- package/dist/components/modules/management/widgets/users/MemberSummaryWidget.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/users/MemberSummaryWidget.js +12 -0
- package/dist/components/modules/management/widgets/users/MemberSummaryWidget.js.map +1 -0
- package/dist/components/modules/mods/pages/ModDetailPage.d.ts +7 -0
- package/dist/components/modules/mods/pages/ModDetailPage.d.ts.map +1 -0
- package/dist/components/modules/mods/pages/ModDetailPage.js +24 -0
- package/dist/components/modules/mods/pages/ModDetailPage.js.map +1 -0
- package/dist/components/modules/mods/pages/ModsPage.d.ts +20 -0
- package/dist/components/modules/mods/pages/ModsPage.d.ts.map +1 -0
- package/dist/components/modules/mods/pages/ModsPage.js +46 -0
- package/dist/components/modules/mods/pages/ModsPage.js.map +1 -0
- package/dist/components/modules/news/NewsLayout.d.ts +7 -0
- package/dist/components/modules/news/NewsLayout.d.ts.map +1 -0
- package/dist/components/modules/news/NewsLayout.js +7 -0
- package/dist/components/modules/news/NewsLayout.js.map +1 -0
- package/dist/components/modules/news/index.d.ts +6 -0
- package/dist/components/modules/news/index.d.ts.map +1 -0
- package/dist/components/modules/news/index.js +6 -0
- package/dist/components/modules/news/index.js.map +1 -0
- package/dist/components/modules/news/pages/NewsDetailPage.d.ts +7 -0
- package/dist/components/modules/news/pages/NewsDetailPage.d.ts.map +1 -0
- package/dist/components/modules/news/pages/NewsDetailPage.js +56 -0
- package/dist/components/modules/news/pages/NewsDetailPage.js.map +1 -0
- package/dist/components/modules/news/pages/NewsPage.d.ts +2 -0
- package/dist/components/modules/news/pages/NewsPage.d.ts.map +1 -0
- package/dist/components/modules/news/pages/NewsPage.js +69 -0
- package/dist/components/modules/news/pages/NewsPage.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsCard.d.ts +13 -0
- package/dist/components/modules/news/widgets/NewsCard.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsCard.js +7 -0
- package/dist/components/modules/news/widgets/NewsCard.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsComments.d.ts +4 -0
- package/dist/components/modules/news/widgets/NewsComments.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsComments.js +7 -0
- package/dist/components/modules/news/widgets/NewsComments.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailAuthor.d.ts +8 -0
- package/dist/components/modules/news/widgets/NewsDetailAuthor.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailAuthor.js +6 -0
- package/dist/components/modules/news/widgets/NewsDetailAuthor.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailHero.d.ts +9 -0
- package/dist/components/modules/news/widgets/NewsDetailHero.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailHero.js +6 -0
- package/dist/components/modules/news/widgets/NewsDetailHero.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailInteraction.d.ts +7 -0
- package/dist/components/modules/news/widgets/NewsDetailInteraction.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailInteraction.js +8 -0
- package/dist/components/modules/news/widgets/NewsDetailInteraction.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailSidebar.d.ts +8 -0
- package/dist/components/modules/news/widgets/NewsDetailSidebar.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailSidebar.js +6 -0
- package/dist/components/modules/news/widgets/NewsDetailSidebar.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsHero.d.ts +2 -0
- package/dist/components/modules/news/widgets/NewsHero.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsHero.js +7 -0
- package/dist/components/modules/news/widgets/NewsHero.js.map +1 -0
- package/dist/components/modules/poll/pages/PollsPage.d.ts +2 -0
- package/dist/components/modules/poll/pages/PollsPage.d.ts.map +1 -0
- package/dist/components/modules/poll/pages/PollsPage.js +57 -0
- package/dist/components/modules/poll/pages/PollsPage.js.map +1 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts +28 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.js +90 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.js.map +1 -0
- package/dist/components/modules/posts/widgets/PostCard.d.ts +39 -0
- package/dist/components/modules/posts/widgets/PostCard.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/PostCard.js +260 -0
- package/dist/components/modules/posts/widgets/PostCard.js.map +1 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts +15 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js +13 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js.map +1 -0
- package/dist/components/modules/posts/widgets/PostShareModal.d.ts +9 -0
- package/dist/components/modules/posts/widgets/PostShareModal.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/PostShareModal.js +45 -0
- package/dist/components/modules/posts/widgets/PostShareModal.js.map +1 -0
- package/dist/components/modules/posts/widgets/RepostModal.d.ts +22 -0
- package/dist/components/modules/posts/widgets/RepostModal.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/RepostModal.js +76 -0
- package/dist/components/modules/posts/widgets/RepostModal.js.map +1 -0
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts +23 -0
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/SocialFeed.js +123 -0
- package/dist/components/modules/posts/widgets/SocialFeed.js.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts +16 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.js +55 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts +7 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js +24 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js.map +1 -0
- package/dist/components/modules/profile/ProfileLayout.js +70 -0
- package/dist/components/modules/profile/ProfileLayout.js.map +1 -0
- package/dist/components/modules/profile/tabs/CareerTab.d.ts +8 -0
- package/dist/components/modules/profile/tabs/CareerTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/CareerTab.js +57 -0
- package/dist/components/modules/profile/tabs/CareerTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/FriendsTab.js +46 -0
- package/dist/components/modules/profile/tabs/FriendsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/GamesTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/GamesTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/GamesTab.js +24 -0
- package/dist/components/modules/profile/tabs/GamesTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/GroupsTab.js +9 -0
- package/dist/components/modules/profile/tabs/GroupsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/MediaTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/MediaTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/MediaTab.js +81 -0
- package/dist/components/modules/profile/tabs/MediaTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/PostsTab.js +34 -0
- package/dist/components/modules/profile/tabs/PostsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/QuestionsTab.d.ts +6 -0
- package/dist/components/modules/profile/tabs/QuestionsTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/QuestionsTab.js +39 -0
- package/dist/components/modules/profile/tabs/QuestionsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/TaggedPostsTab.js +9 -0
- package/dist/components/modules/profile/tabs/TaggedPostsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/WallTab.js +40 -0
- package/dist/components/modules/profile/tabs/WallTab.js.map +1 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts +9 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.js +78 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts +2 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js +14 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts +8 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js +12 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.d.ts +7 -0
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.js +11 -0
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.d.ts +7 -0
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js +11 -0
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts +9 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.js +44 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.d.ts +10 -0
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.js +41 -0
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileSidebar.js +11 -0
- package/dist/components/modules/profile/widgets/ProfileSidebar.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts +9 -0
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileStats.js +26 -0
- package/dist/components/modules/profile/widgets/ProfileStats.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js +61 -0
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +1 -0
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.d.ts +10 -0
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.js +16 -0
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.js.map +1 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts +11 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js +18 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js.map +1 -0
- package/dist/components/modules/shop/CartLayout.d.ts +12 -0
- package/dist/components/modules/shop/CartLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/CartLayout.js +14 -0
- package/dist/components/modules/shop/CartLayout.js.map +1 -0
- package/dist/components/modules/shop/CheckoutLayout.d.ts +8 -0
- package/dist/components/modules/shop/CheckoutLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/CheckoutLayout.js +23 -0
- package/dist/components/modules/shop/CheckoutLayout.js.map +1 -0
- package/dist/components/modules/shop/DetailLayout.d.ts +8 -0
- package/dist/components/modules/shop/DetailLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/DetailLayout.js +24 -0
- package/dist/components/modules/shop/DetailLayout.js.map +1 -0
- package/dist/components/modules/shop/OrdersLayout.d.ts +15 -0
- package/dist/components/modules/shop/OrdersLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/OrdersLayout.js +8 -0
- package/dist/components/modules/shop/OrdersLayout.js.map +1 -0
- package/dist/components/modules/shop/StoreLayout.d.ts +8 -0
- package/dist/components/modules/shop/StoreLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/StoreLayout.js +6 -0
- package/dist/components/modules/shop/StoreLayout.js.map +1 -0
- package/dist/components/modules/shop/widgets/BackToStore.d.ts +2 -0
- package/dist/components/modules/shop/widgets/BackToStore.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/BackToStore.js +13 -0
- package/dist/components/modules/shop/widgets/BackToStore.js.map +1 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.d.ts +8 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.js +23 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.js.map +1 -0
- package/dist/components/modules/shop/widgets/ProductCard.d.ts +8 -0
- package/dist/components/modules/shop/widgets/ProductCard.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/ProductCard.js +10 -0
- package/dist/components/modules/shop/widgets/ProductCard.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreHeader.d.ts +6 -0
- package/dist/components/modules/shop/widgets/StoreHeader.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreHeader.js +9 -0
- package/dist/components/modules/shop/widgets/StoreHeader.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts +7 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.js +13 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreSearchBar.d.ts +9 -0
- package/dist/components/modules/shop/widgets/StoreSearchBar.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreSearchBar.js +9 -0
- package/dist/components/modules/shop/widgets/StoreSearchBar.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.d.ts +8 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.js +8 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts +2 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js +29 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js.map +1 -0
- package/dist/components/modules/social/SocialLayout.js +113 -0
- package/dist/components/modules/social/SocialLayout.js.map +1 -0
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/EconomyWidget.js +55 -0
- package/dist/components/modules/social/widgets/EconomyWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/LeagueWidget.js +50 -0
- package/dist/components/modules/social/widgets/LeagueWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.js +53 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/NewMembersWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/NewMembersWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/NewMembersWidget.js +36 -0
- package/dist/components/modules/social/widgets/NewMembersWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/PostComposer.d.ts +15 -0
- package/dist/components/modules/social/widgets/PostComposer.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/PostComposer.js +164 -0
- package/dist/components/modules/social/widgets/PostComposer.js.map +1 -0
- package/dist/components/modules/social/widgets/RankingWidget.d.ts +5 -0
- package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/RankingWidget.js +78 -0
- package/dist/components/modules/social/widgets/RankingWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/SocialSidebar.d.ts +2 -0
- package/dist/components/modules/social/widgets/SocialSidebar.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/SocialSidebar.js +9 -0
- package/dist/components/modules/social/widgets/SocialSidebar.js.map +1 -0
- package/dist/components/modules/social/widgets/TrendingWidget.d.ts +3 -0
- package/dist/components/modules/social/widgets/TrendingWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/TrendingWidget.js +34 -0
- package/dist/components/modules/social/widgets/TrendingWidget.js.map +1 -0
- package/dist/components/modules/stations/widgets/StationCard.d.ts +3 -0
- package/dist/components/modules/stations/widgets/StationCard.d.ts.map +1 -0
- package/dist/components/modules/stations/widgets/StationCard.js +26 -0
- package/dist/components/modules/stations/widgets/StationCard.js.map +1 -0
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts +10 -0
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts.map +1 -0
- package/dist/components/modules/stations/widgets/StationQRModal.js +13 -0
- package/dist/components/modules/stations/widgets/StationQRModal.js.map +1 -0
- package/dist/components/modules/stories/widgets/AddStoryModal.d.ts +13 -0
- package/dist/components/modules/stories/widgets/AddStoryModal.d.ts.map +1 -0
- package/dist/components/modules/stories/widgets/AddStoryModal.js +11 -0
- package/dist/components/modules/stories/widgets/AddStoryModal.js.map +1 -0
- package/dist/components/modules/stories/widgets/Stories.d.ts +2 -0
- package/dist/components/modules/stories/widgets/Stories.d.ts.map +1 -0
- package/dist/components/modules/stories/widgets/Stories.js +151 -0
- package/dist/components/modules/stories/widgets/Stories.js.map +1 -0
- package/dist/components/modules/stories/widgets/StoryOverlay.d.ts +10 -0
- package/dist/components/modules/stories/widgets/StoryOverlay.d.ts.map +1 -0
- package/dist/components/modules/stories/widgets/StoryOverlay.js +205 -0
- package/dist/components/modules/stories/widgets/StoryOverlay.js.map +1 -0
- package/dist/components/modules/support/pages/SupportPage.d.ts +2 -0
- package/dist/components/modules/support/pages/SupportPage.d.ts.map +1 -0
- package/dist/components/modules/support/pages/SupportPage.js +47 -0
- package/dist/components/modules/support/pages/SupportPage.js.map +1 -0
- package/dist/components/shared/AnimatedStat.d.ts +13 -0
- package/dist/components/shared/AnimatedStat.d.ts.map +1 -0
- package/dist/components/shared/AnimatedStat.js +20 -0
- package/dist/components/shared/AnimatedStat.js.map +1 -0
- package/dist/components/shared/ArmoyuPlayer.d.ts +18 -0
- package/dist/components/shared/ArmoyuPlayer.d.ts.map +1 -0
- package/dist/components/shared/ArmoyuPlayer.js +69 -0
- package/dist/components/shared/ArmoyuPlayer.js.map +1 -0
- package/dist/components/shared/DevTools.d.ts +2 -0
- package/dist/components/shared/DevTools.d.ts.map +1 -0
- package/dist/components/shared/DevTools.js +32 -0
- package/dist/components/shared/DevTools.js.map +1 -0
- package/dist/components/shared/FilterTabs.d.ts +16 -0
- package/dist/components/shared/FilterTabs.d.ts.map +1 -0
- package/dist/components/shared/FilterTabs.js +18 -0
- package/dist/components/shared/FilterTabs.js.map +1 -0
- package/dist/components/shared/FloatingChatButton.js +21 -0
- package/dist/components/shared/FloatingChatButton.js.map +1 -0
- package/dist/components/shared/Footer.d.ts +2 -0
- package/dist/components/shared/Footer.d.ts.map +1 -0
- package/dist/components/shared/Footer.js +10 -0
- package/dist/components/shared/Footer.js.map +1 -0
- package/dist/components/shared/Icons.d.ts +8 -0
- package/dist/components/shared/Icons.d.ts.map +1 -0
- package/dist/components/shared/Icons.js +5 -0
- package/dist/components/shared/Icons.js.map +1 -0
- package/dist/components/shared/ListToolbar.d.ts +32 -0
- package/dist/components/shared/ListToolbar.d.ts.map +1 -0
- package/dist/components/shared/ListToolbar.js +13 -0
- package/dist/components/shared/ListToolbar.js.map +1 -0
- package/dist/components/shared/MainLayoutWrapper.d.ts +5 -0
- package/dist/components/shared/MainLayoutWrapper.d.ts.map +1 -0
- package/dist/components/shared/MainLayoutWrapper.js +8 -0
- package/dist/components/shared/MainLayoutWrapper.js.map +1 -0
- package/dist/components/shared/NotFound.d.ts +21 -0
- package/dist/components/shared/NotFound.d.ts.map +1 -0
- package/dist/components/shared/NotFound.js +7 -0
- package/dist/components/shared/NotFound.js.map +1 -0
- package/dist/components/shared/PageWidth.d.ts +6 -0
- package/dist/components/shared/PageWidth.d.ts.map +1 -0
- package/dist/components/shared/PageWidth.js +14 -0
- package/dist/components/shared/PageWidth.js.map +1 -0
- package/dist/components/shared/RegisterModal.d.ts +7 -0
- package/dist/components/shared/RegisterModal.d.ts.map +1 -0
- package/dist/components/shared/RegisterModal.js +9 -0
- package/dist/components/shared/RegisterModal.js.map +1 -0
- package/dist/components/shared/SearchBar.d.ts +14 -0
- package/dist/components/shared/SearchBar.d.ts.map +1 -0
- package/dist/components/shared/SearchBar.js +21 -0
- package/dist/components/shared/SearchBar.js.map +1 -0
- package/dist/components/shared/UserDrawer.d.ts +23 -0
- package/dist/components/shared/UserDrawer.d.ts.map +1 -0
- package/dist/components/shared/UserDrawer.js +47 -0
- package/dist/components/shared/UserDrawer.js.map +1 -0
- package/dist/components/showcase/AuthTab.js +14 -0
- package/dist/components/showcase/AuthTab.js.map +1 -0
- package/dist/components/showcase/CommunityTab.js +6 -0
- package/dist/components/showcase/CommunityTab.js.map +1 -0
- package/dist/components/showcase/CorporateTab.js +20 -0
- package/dist/components/showcase/CorporateTab.js.map +1 -0
- package/dist/components/showcase/GeneralTab.js +6 -0
- package/dist/components/showcase/GeneralTab.js.map +1 -0
- package/dist/components/showcase/GroupTab.d.ts +2 -0
- package/dist/components/showcase/GroupTab.d.ts.map +1 -0
- package/dist/components/showcase/GroupTab.js +111 -0
- package/dist/components/showcase/GroupTab.js.map +1 -0
- package/dist/components/showcase/MessagesTab.js +25 -0
- package/dist/components/showcase/MessagesTab.js.map +1 -0
- package/dist/components/showcase/MyPostsTab.js +12 -0
- package/dist/components/showcase/MyPostsTab.js.map +1 -0
- package/dist/components/showcase/ProfileTab.js +73 -0
- package/dist/components/showcase/ProfileTab.js.map +1 -0
- package/dist/components/showcase/ReelsTab.d.ts +2 -0
- package/dist/components/showcase/ReelsTab.d.ts.map +1 -0
- package/dist/components/showcase/ReelsTab.js +97 -0
- package/dist/components/showcase/ReelsTab.js.map +1 -0
- package/dist/components/showcase/RulesTab.d.ts +2 -0
- package/dist/components/showcase/RulesTab.d.ts.map +1 -0
- package/dist/components/showcase/RulesTab.js +18 -0
- package/dist/components/showcase/RulesTab.js.map +1 -0
- package/dist/components/showcase/ShopTab.js +63 -0
- package/dist/components/showcase/ShopTab.js.map +1 -0
- package/dist/components/showcase/ShowcaseNavigation.d.ts +2 -0
- package/dist/components/showcase/ShowcaseNavigation.d.ts.map +1 -0
- package/dist/components/showcase/ShowcaseNavigation.js +129 -0
- package/dist/components/showcase/ShowcaseNavigation.js.map +1 -0
- package/dist/components/showcase/SocialTab.js +61 -0
- package/dist/components/showcase/SocialTab.js.map +1 -0
- package/dist/components/showcase/StoriesTab.js +7 -0
- package/dist/components/showcase/StoriesTab.js.map +1 -0
- package/dist/context/ArmoyuContext.d.ts +45 -0
- package/dist/context/ArmoyuContext.d.ts.map +1 -0
- package/dist/context/ArmoyuContext.js +92 -0
- package/dist/context/ArmoyuContext.js.map +1 -0
- package/dist/context/AuthContext.d.ts +23 -0
- package/dist/context/AuthContext.d.ts.map +1 -0
- package/dist/context/AuthContext.js +154 -0
- package/dist/context/AuthContext.js.map +1 -0
- package/dist/context/CartContext.d.ts +18 -0
- package/dist/context/CartContext.d.ts.map +1 -0
- package/dist/context/CartContext.js +63 -0
- package/dist/context/CartContext.js.map +1 -0
- package/dist/context/ChatContext.d.ts +27 -0
- package/dist/context/ChatContext.d.ts.map +1 -0
- package/dist/context/ChatContext.js +170 -0
- package/dist/context/ChatContext.js.map +1 -0
- package/dist/context/LayoutContext.d.ts +11 -0
- package/dist/context/LayoutContext.d.ts.map +1 -0
- package/dist/context/LayoutContext.js +17 -0
- package/dist/context/LayoutContext.js.map +1 -0
- package/dist/context/SocketContext.d.ts +13 -0
- package/dist/context/SocketContext.d.ts.map +1 -0
- package/dist/context/SocketContext.js +32 -0
- package/dist/context/SocketContext.js.map +1 -0
- package/dist/context/ThemeContext.d.ts +14 -0
- package/dist/context/ThemeContext.d.ts.map +1 -0
- package/dist/context/ThemeContext.js +52 -0
- package/dist/context/ThemeContext.js.map +1 -0
- package/dist/hooks/useDebounce.d.ts +2 -0
- package/dist/hooks/useDebounce.d.ts.map +1 -0
- package/dist/hooks/useDebounce.js +14 -0
- package/dist/hooks/useDebounce.js.map +1 -0
- package/dist/index.d.ts +21 -24
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +25 -25
- package/dist/index.js.map +1 -1
- package/dist/lib/ArmoyuUI.d.ts +18 -0
- package/dist/lib/ArmoyuUI.d.ts.map +1 -0
- package/dist/lib/ArmoyuUI.js +25 -0
- package/dist/lib/ArmoyuUI.js.map +1 -0
- package/dist/lib/constants/config.d.ts +9 -0
- package/dist/lib/constants/config.d.ts.map +1 -0
- package/dist/lib/constants/config.js +15 -0
- package/dist/lib/constants/config.js.map +1 -0
- package/dist/lib/constants/educationData.d.ts +11 -0
- package/dist/lib/constants/educationData.d.ts.map +1 -0
- package/dist/lib/constants/educationData.js +121 -0
- package/dist/lib/constants/educationData.js.map +1 -0
- package/dist/lib/constants/punishmentData.d.ts +30 -0
- package/dist/lib/constants/punishmentData.d.ts.map +1 -0
- package/dist/lib/constants/punishmentData.js +184 -0
- package/dist/lib/constants/punishmentData.js.map +1 -0
- package/dist/lib/constants/seedData.d.ts +182 -0
- package/dist/lib/constants/seedData.d.ts.map +1 -0
- package/dist/lib/constants/seedData.js +743 -0
- package/dist/lib/constants/seedData.js.map +1 -0
- package/dist/lib/constants/stationData.d.ts +16 -0
- package/dist/lib/constants/stationData.d.ts.map +1 -0
- package/dist/lib/constants/stationData.js +206 -0
- package/dist/lib/constants/stationData.js.map +1 -0
- package/dist/lib/constants/surveyData.d.ts +3 -0
- package/dist/lib/constants/surveyData.d.ts.map +1 -0
- package/dist/lib/constants/surveyData.js +51 -0
- package/dist/lib/constants/surveyData.js.map +1 -0
- package/dist/lib/constants/teamData.d.ts +19 -0
- package/dist/lib/constants/teamData.d.ts.map +1 -0
- package/dist/lib/constants/teamData.js +56 -0
- package/dist/lib/constants/teamData.js.map +1 -0
- package/dist/lib/utils/numberFormat.d.ts +10 -0
- package/dist/lib/utils/numberFormat.d.ts.map +1 -0
- package/dist/lib/utils/numberFormat.js +17 -0
- package/dist/lib/utils/numberFormat.js.map +1 -0
- package/dist/lib/utils/odpUtils.d.ts +16 -0
- package/dist/lib/utils/odpUtils.d.ts.map +1 -0
- package/dist/lib/utils/odpUtils.js +44 -0
- package/dist/lib/utils/odpUtils.js.map +1 -0
- package/dist/lib/utils/postUtils.d.ts +7 -0
- package/dist/lib/utils/postUtils.d.ts.map +1 -0
- package/dist/lib/utils/postUtils.js +40 -0
- package/dist/lib/utils/postUtils.js.map +1 -0
- package/dist/models/auth/RankedUser.d.ts +20 -0
- package/dist/models/auth/RankedUser.d.ts.map +1 -0
- package/dist/models/auth/RankedUser.js +36 -0
- package/dist/models/auth/RankedUser.js.map +1 -0
- package/dist/models/auth/Role.d.ts +16 -0
- package/dist/models/auth/Role.d.ts.map +1 -0
- package/dist/models/auth/Role.js +33 -0
- package/dist/models/auth/Role.js.map +1 -0
- package/dist/models/auth/Session.d.ts +24 -0
- package/dist/models/auth/Session.d.ts.map +1 -0
- package/dist/models/auth/Session.js +50 -0
- package/dist/models/auth/Session.js.map +1 -0
- package/dist/models/auth/StaffApplication.d.ts +20 -0
- package/dist/models/auth/StaffApplication.d.ts.map +1 -0
- package/dist/models/auth/StaffApplication.js +36 -0
- package/dist/models/auth/StaffApplication.js.map +1 -0
- package/dist/models/auth/TeamMember.d.ts +19 -0
- package/dist/models/auth/TeamMember.d.ts.map +1 -0
- package/dist/models/auth/TeamMember.js +34 -0
- package/dist/models/auth/TeamMember.js.map +1 -0
- package/dist/models/auth/User.d.ts +99 -0
- package/dist/models/auth/User.d.ts.map +1 -0
- package/dist/models/auth/User.js +236 -0
- package/dist/models/auth/User.js.map +1 -0
- package/dist/models/auth/UserBadge.d.ts +18 -0
- package/dist/models/auth/UserBadge.d.ts.map +1 -0
- package/dist/models/auth/UserBadge.js +33 -0
- package/dist/models/auth/UserBadge.js.map +1 -0
- package/dist/models/community/ArmoyuEvent.d.ts +62 -0
- package/dist/models/community/ArmoyuEvent.d.ts.map +1 -0
- package/dist/models/community/ArmoyuEvent.js +149 -0
- package/dist/models/community/ArmoyuEvent.js.map +1 -0
- package/dist/models/community/Classroom.d.ts +24 -0
- package/dist/models/community/Classroom.d.ts.map +1 -0
- package/dist/models/community/Classroom.js +45 -0
- package/dist/models/community/Classroom.js.map +1 -0
- package/dist/models/community/Faculty.d.ts +22 -0
- package/dist/models/community/Faculty.d.ts.map +1 -0
- package/dist/models/community/Faculty.js +41 -0
- package/dist/models/community/Faculty.js.map +1 -0
- package/dist/models/community/Forum.d.ts +26 -0
- package/dist/models/community/Forum.d.ts.map +1 -0
- package/dist/models/community/Forum.js +36 -0
- package/dist/models/community/Forum.js.map +1 -0
- package/dist/models/community/Giveaway.d.ts +22 -0
- package/dist/models/community/Giveaway.d.ts.map +1 -0
- package/dist/models/community/Giveaway.js +38 -0
- package/dist/models/community/Giveaway.js.map +1 -0
- package/dist/models/community/Group.d.ts +38 -0
- package/dist/models/community/Group.d.ts.map +1 -0
- package/dist/models/community/Group.js +115 -0
- package/dist/models/community/Group.js.map +1 -0
- package/dist/models/community/School.d.ts +28 -0
- package/dist/models/community/School.d.ts.map +1 -0
- package/dist/models/community/School.js +68 -0
- package/dist/models/community/School.js.map +1 -0
- package/dist/models/community/SchoolTeam.d.ts +27 -0
- package/dist/models/community/SchoolTeam.d.ts.map +1 -0
- package/dist/models/community/SchoolTeam.js +41 -0
- package/dist/models/community/SchoolTeam.js.map +1 -0
- package/dist/models/community/Station.d.ts +81 -0
- package/dist/models/community/Station.d.ts.map +1 -0
- package/dist/models/community/Station.js +165 -0
- package/dist/models/community/Station.js.map +1 -0
- package/dist/models/community/Survey.d.ts +27 -0
- package/dist/models/community/Survey.d.ts.map +1 -0
- package/dist/models/community/Survey.js +56 -0
- package/dist/models/community/Survey.js.map +1 -0
- package/dist/models/community/SurveyAnswer.d.ts +15 -0
- package/dist/models/community/SurveyAnswer.d.ts.map +1 -0
- package/dist/models/community/SurveyAnswer.js +26 -0
- package/dist/models/community/SurveyAnswer.js.map +1 -0
- package/dist/models/community/Team.d.ts +22 -0
- package/dist/models/community/Team.d.ts.map +1 -0
- package/dist/models/community/Team.js +60 -0
- package/dist/models/community/Team.js.map +1 -0
- package/dist/models/community/Workplace.d.ts +18 -0
- package/dist/models/community/Workplace.d.ts.map +1 -0
- package/dist/models/community/Workplace.js +32 -0
- package/dist/models/community/Workplace.js.map +1 -0
- package/dist/models/content/Game.d.ts +20 -0
- package/dist/models/content/Game.d.ts.map +1 -0
- package/dist/models/content/Game.js +40 -0
- package/dist/models/content/Game.js.map +1 -0
- package/dist/models/content/Media.d.ts +17 -0
- package/dist/models/content/Media.d.ts.map +1 -0
- package/dist/models/content/Media.js +30 -0
- package/dist/models/content/Media.js.map +1 -0
- package/dist/models/content/Mod.d.ts +21 -0
- package/dist/models/content/Mod.d.ts.map +1 -0
- package/dist/models/content/Mod.js +37 -0
- package/dist/models/content/Mod.js.map +1 -0
- package/dist/models/content/News.d.ts +41 -0
- package/dist/models/content/News.d.ts.map +1 -0
- package/dist/models/content/News.js +86 -0
- package/dist/models/content/News.js.map +1 -0
- package/dist/models/content/PlatformStation.d.ts +18 -0
- package/dist/models/content/PlatformStation.d.ts.map +1 -0
- package/dist/models/content/PlatformStation.js +32 -0
- package/dist/models/content/PlatformStation.js.map +1 -0
- package/dist/models/content/PlatformTeam.d.ts +14 -0
- package/dist/models/content/PlatformTeam.d.ts.map +1 -0
- package/dist/models/content/PlatformTeam.js +24 -0
- package/dist/models/content/PlatformTeam.js.map +1 -0
- package/dist/models/content/Project.d.ts +27 -0
- package/dist/models/content/Project.d.ts.map +1 -0
- package/dist/models/content/Project.js +43 -0
- package/dist/models/content/Project.js.map +1 -0
- package/dist/models/content/ProjectScore.d.ts +14 -0
- package/dist/models/content/ProjectScore.d.ts.map +1 -0
- package/dist/models/content/ProjectScore.js +24 -0
- package/dist/models/content/ProjectScore.js.map +1 -0
- package/dist/models/content/StationEquipment.d.ts +16 -0
- package/dist/models/content/StationEquipment.d.ts.map +1 -0
- package/dist/models/content/StationEquipment.js +28 -0
- package/dist/models/content/StationEquipment.js.map +1 -0
- package/dist/models/core/Country.d.ts +15 -0
- package/dist/models/core/Country.d.ts.map +1 -0
- package/dist/models/core/Country.js +26 -0
- package/dist/models/core/Country.js.map +1 -0
- package/dist/models/core/PlatformStats.d.ts +46 -0
- package/dist/models/core/PlatformStats.d.ts.map +1 -0
- package/dist/models/core/PlatformStats.js +88 -0
- package/dist/models/core/PlatformStats.js.map +1 -0
- package/dist/models/core/Province.d.ts +15 -0
- package/dist/models/core/Province.d.ts.map +1 -0
- package/dist/models/core/Province.js +26 -0
- package/dist/models/core/Province.js.map +1 -0
- package/dist/models/core/Rule.d.ts +16 -0
- package/dist/models/core/Rule.d.ts.map +1 -0
- package/dist/models/core/Rule.js +28 -0
- package/dist/models/core/Rule.js.map +1 -0
- package/dist/models/core/SystemSettings.d.ts +38 -0
- package/dist/models/core/SystemSettings.d.ts.map +1 -0
- package/dist/models/core/SystemSettings.js +64 -0
- package/dist/models/core/SystemSettings.js.map +1 -0
- package/dist/models/index.d.ts +58 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +72 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models/shop/CartItem.d.ts +20 -0
- package/dist/models/shop/CartItem.d.ts.map +1 -0
- package/dist/models/shop/CartItem.js +36 -0
- package/dist/models/shop/CartItem.js.map +1 -0
- package/dist/models/shop/Invoice.d.ts +18 -0
- package/dist/models/shop/Invoice.d.ts.map +1 -0
- package/dist/models/shop/Invoice.js +32 -0
- package/dist/models/shop/Invoice.js.map +1 -0
- package/dist/models/shop/Order.d.ts +23 -0
- package/dist/models/shop/Order.d.ts.map +1 -0
- package/dist/models/shop/Order.js +48 -0
- package/dist/models/shop/Order.js.map +1 -0
- package/dist/models/shop/Product.d.ts +26 -0
- package/dist/models/shop/Product.d.ts.map +1 -0
- package/dist/models/shop/Product.js +67 -0
- package/dist/models/shop/Product.js.map +1 -0
- package/dist/models/social/chat/Chat.d.ts +26 -0
- package/dist/models/social/chat/Chat.d.ts.map +1 -0
- package/dist/models/social/chat/Chat.js +80 -0
- package/dist/models/social/chat/Chat.js.map +1 -0
- package/dist/models/social/chat/Message.d.ts +18 -0
- package/dist/models/social/chat/Message.d.ts.map +1 -0
- package/dist/models/social/chat/Message.js +58 -0
- package/dist/models/social/chat/Message.js.map +1 -0
- package/dist/models/social/chat/Note.d.ts +16 -0
- package/dist/models/social/chat/Note.d.ts.map +1 -0
- package/dist/models/social/chat/Note.js +28 -0
- package/dist/models/social/chat/Note.js.map +1 -0
- package/dist/models/social/feed/Comment.d.ts +21 -0
- package/dist/models/social/feed/Comment.d.ts.map +1 -0
- package/dist/models/social/feed/Comment.js +46 -0
- package/dist/models/social/feed/Comment.js.map +1 -0
- package/dist/models/social/feed/Post.d.ts +29 -0
- package/dist/models/social/feed/Post.d.ts.map +1 -0
- package/dist/models/social/feed/Post.js +57 -0
- package/dist/models/social/feed/Post.js.map +1 -0
- package/dist/models/social/feed/Story.d.ts +31 -0
- package/dist/models/social/feed/Story.d.ts.map +1 -0
- package/dist/models/social/feed/Story.js +63 -0
- package/dist/models/social/feed/Story.js.map +1 -0
- package/dist/models/social/feed/StoryAuthor.d.ts +13 -0
- package/dist/models/social/feed/StoryAuthor.d.ts.map +1 -0
- package/dist/models/social/feed/StoryAuthor.js +25 -0
- package/dist/models/social/feed/StoryAuthor.js.map +1 -0
- package/dist/models/social/gaming/Game.d.ts +26 -0
- package/dist/models/social/gaming/Game.d.ts.map +1 -0
- package/dist/models/social/gaming/Game.js +45 -0
- package/dist/models/social/gaming/Game.js.map +1 -0
- package/dist/models/social/meta/AuthEnums.d.ts +18 -0
- package/dist/models/social/meta/AuthEnums.d.ts.map +1 -0
- package/dist/models/social/meta/AuthEnums.js +20 -0
- package/dist/models/social/meta/AuthEnums.js.map +1 -0
- package/dist/models/social/meta/MediaEnums.d.ts +20 -0
- package/dist/models/social/meta/MediaEnums.d.ts.map +1 -0
- package/dist/models/social/meta/MediaEnums.js +22 -0
- package/dist/models/social/meta/MediaEnums.js.map +1 -0
- package/dist/models/social/notification/Notification.d.ts +23 -0
- package/dist/models/social/notification/Notification.d.ts.map +1 -0
- package/dist/models/social/notification/Notification.js +64 -0
- package/dist/models/social/notification/Notification.js.map +1 -0
- package/dist/models/social/notification/NotificationEnums.d.ts +54 -0
- package/dist/models/social/notification/NotificationEnums.d.ts.map +1 -0
- package/dist/models/social/notification/NotificationEnums.js +59 -0
- package/dist/models/social/notification/NotificationEnums.js.map +1 -0
- package/dist/models/social/notification/NotificationSender.d.ts +16 -0
- package/dist/models/social/notification/NotificationSender.d.ts.map +1 -0
- package/dist/models/social/notification/NotificationSender.js +28 -0
- package/dist/models/social/notification/NotificationSender.js.map +1 -0
- package/dist/models/social/poll/Poll.d.ts +19 -0
- package/dist/models/social/poll/Poll.d.ts.map +1 -0
- package/dist/models/social/poll/Poll.js +33 -0
- package/dist/models/social/poll/Poll.js.map +1 -0
- package/dist/models/social/poll/PollOption.d.ts +15 -0
- package/dist/models/social/poll/PollOption.d.ts.map +1 -0
- package/dist/models/social/poll/PollOption.js +26 -0
- package/dist/models/social/poll/PollOption.js.map +1 -0
- package/dist/models/social/search/SearchEnums.d.ts +22 -0
- package/dist/models/social/search/SearchEnums.d.ts.map +1 -0
- package/dist/models/social/search/SearchEnums.js +24 -0
- package/dist/models/social/search/SearchEnums.js.map +1 -0
- package/dist/models/social/search/SearchResult.d.ts +21 -0
- package/dist/models/social/search/SearchResult.d.ts.map +1 -0
- package/dist/models/social/search/SearchResult.js +72 -0
- package/dist/models/social/search/SearchResult.js.map +1 -0
- package/dist/models/social/stats/Leaderboard.d.ts +29 -0
- package/dist/models/social/stats/Leaderboard.d.ts.map +1 -0
- package/dist/models/social/stats/Leaderboard.js +50 -0
- package/dist/models/social/stats/Leaderboard.js.map +1 -0
- package/dist/models/social/support/SupportTicket.d.ts +18 -0
- package/dist/models/social/support/SupportTicket.d.ts.map +1 -0
- package/dist/models/social/support/SupportTicket.js +32 -0
- package/dist/models/social/support/SupportTicket.js.map +1 -0
- package/dist/models/social/user/BlockedUser.d.ts +15 -0
- package/dist/models/social/user/BlockedUser.d.ts.map +1 -0
- package/dist/models/social/user/BlockedUser.js +25 -0
- package/dist/models/social/user/BlockedUser.js.map +1 -0
- package/dist/models/store/StoreItem.d.ts +18 -0
- package/dist/models/store/StoreItem.d.ts.map +1 -0
- package/dist/models/store/StoreItem.js +32 -0
- package/dist/models/store/StoreItem.js.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +4 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/navigation.d.ts +6 -0
- package/dist/types/navigation.d.ts.map +1 -0
- package/dist/types/navigation.js +2 -0
- package/dist/types/navigation.js.map +1 -0
- package/dist/types/socket.d.ts +6 -0
- package/dist/types/socket.d.ts.map +1 -0
- package/dist/types/socket.js +2 -0
- package/dist/types/socket.js.map +1 -0
- package/dist/types/stats.d.ts +18 -0
- package/dist/types/stats.d.ts.map +1 -0
- package/dist/types/stats.js +2 -0
- package/dist/types/stats.js.map +1 -0
- package/dist/utils/text/MentionUtils.d.ts +8 -0
- package/dist/utils/text/MentionUtils.d.ts.map +1 -0
- package/dist/utils/text/MentionUtils.js +23 -0
- package/dist/utils/text/MentionUtils.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect, useState } from 'react';
|
|
4
|
+
import { ReelsContainer } from '../modules/posts/widgets/reels/ReelsContainer';
|
|
5
|
+
import { useArmoyu } from '../../context/ArmoyuContext';
|
|
6
|
+
import { userList } from '../../lib/constants/seedData';
|
|
7
|
+
export function ReelsTab() {
|
|
8
|
+
const { api, isMockEnabled } = useArmoyu();
|
|
9
|
+
const [reels, setReels] = useState([]);
|
|
10
|
+
const [loading, setLoading] = useState(true);
|
|
11
|
+
const [error, setError] = useState(null);
|
|
12
|
+
const mockReels = [
|
|
13
|
+
{
|
|
14
|
+
id: 'r1',
|
|
15
|
+
author: userList[0],
|
|
16
|
+
videoUrl: 'https://assets.mixkit.co/videos/preview/mixkit-girl-in-neon-lighting-in-the-night-city-2128-large.mp4',
|
|
17
|
+
description: 'Gece şehir ışıkları altında ARMOYU ile yeni maceralara! 🌌 #armoyu #neon #nightlife',
|
|
18
|
+
songName: 'Neon Nights - Armoyu Records',
|
|
19
|
+
stats: { likes: 1250, comments: 45, shares: 88 }
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
id: 'r2',
|
|
23
|
+
author: userList[1],
|
|
24
|
+
videoUrl: 'https://assets.mixkit.co/videos/preview/mixkit-urban-man-in-a-park-on-a-sunny-day-2015-large.mp4',
|
|
25
|
+
description: 'Güneşli bir günde parkta oyun keyfi... ☀️ #relax #gaming #park',
|
|
26
|
+
songName: 'Sunny Vibes - Chill Beats',
|
|
27
|
+
stats: { likes: 850, comments: 22, shares: 15 }
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
id: 'r3',
|
|
31
|
+
author: userList[2],
|
|
32
|
+
videoUrl: 'https://assets.mixkit.co/videos/preview/mixkit-young-man-skating-on-a-sunny-day-2009-large.mp4',
|
|
33
|
+
description: 'Patenle şehri keşfetmek paha biçilemez! 🛹 #skateboarding #cityview',
|
|
34
|
+
songName: 'City Skater - Punk Rock',
|
|
35
|
+
stats: { likes: 2100, comments: 120, shares: 350 }
|
|
36
|
+
}
|
|
37
|
+
];
|
|
38
|
+
useEffect(() => {
|
|
39
|
+
// Debug log to identify instance issues
|
|
40
|
+
console.log("[ReelsTab] API Status:", {
|
|
41
|
+
reelsService: !!api.reels,
|
|
42
|
+
isMockEnabled,
|
|
43
|
+
apiKeys: Object.keys(api || {})
|
|
44
|
+
});
|
|
45
|
+
// If mock is enabled, use static data immediately
|
|
46
|
+
if (isMockEnabled) {
|
|
47
|
+
setReels(mockReels);
|
|
48
|
+
setLoading(false);
|
|
49
|
+
setError(null);
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
const fetchReels = async () => {
|
|
53
|
+
try {
|
|
54
|
+
setLoading(true);
|
|
55
|
+
setError(null);
|
|
56
|
+
// Defensive check for missing service
|
|
57
|
+
if (!api.reels) {
|
|
58
|
+
throw new Error("API Reels servisi bulunamadı. Lütfen sayfayı yenileyiniz veya dev server'ı restart ediniz.");
|
|
59
|
+
}
|
|
60
|
+
// Cast to any to bypass temporary property mismatch issues in local build
|
|
61
|
+
const response = await api.reels.getReels(1, 15);
|
|
62
|
+
if (response.durum !== 1) {
|
|
63
|
+
throw new Error(response.aciklama || 'Reels listesi alınamadı.');
|
|
64
|
+
}
|
|
65
|
+
// Map API response to ReelCardProps
|
|
66
|
+
const mappedReels = (response.icerik || []).map((item) => ({
|
|
67
|
+
id: item.id.toString(),
|
|
68
|
+
author: {
|
|
69
|
+
id: item.owner.id,
|
|
70
|
+
displayName: item.owner.displayName,
|
|
71
|
+
username: item.owner.username,
|
|
72
|
+
avatar: item.owner.avatar,
|
|
73
|
+
verified: true // Fallback for UI
|
|
74
|
+
},
|
|
75
|
+
videoUrl: item.media.url,
|
|
76
|
+
description: item.description,
|
|
77
|
+
songName: 'Orijinal Ses - ARMOYU',
|
|
78
|
+
stats: {
|
|
79
|
+
likes: item.likeCount,
|
|
80
|
+
comments: item.commentCount,
|
|
81
|
+
shares: 0 // Fallback as it's not in the current model
|
|
82
|
+
}
|
|
83
|
+
}));
|
|
84
|
+
setReels(mappedReels);
|
|
85
|
+
}
|
|
86
|
+
catch (err) {
|
|
87
|
+
setError(err.message);
|
|
88
|
+
}
|
|
89
|
+
finally {
|
|
90
|
+
setLoading(false);
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
fetchReels();
|
|
94
|
+
}, [api, isMockEnabled]);
|
|
95
|
+
return (_jsxs("div", { className: "w-full h-[800px] max-w-[450px] mx-auto rounded-[40px] border-[12px] border-gray-900 overflow-hidden shadow-2xl bg-black relative", children: [_jsx("div", { className: "absolute top-0 left-1/2 -translate-x-1/2 w-32 h-6 bg-gray-900 rounded-b-3xl z-[100] flex items-center justify-center", children: _jsx("div", { className: "w-2 h-2 bg-gray-800 rounded-full" }) }), loading ? (_jsxs("div", { className: "absolute inset-0 flex flex-col items-center justify-center gap-4 bg-black/60 backdrop-blur-sm z-50", children: [_jsx("div", { className: "w-16 h-16 border-4 border-armoyu-primary/20 border-t-armoyu-primary rounded-full animate-spin shadow-[0_0_15px_rgba(var(--armoyu-primary-rgb),0.5)]" }), _jsx("span", { className: "text-armoyu-primary font-black text-xs uppercase tracking-[0.2em] animate-pulse", children: "\u0130\u00C7ER\u0130K Y\u00DCKLEN\u0130YOR" })] })) : error ? (_jsxs("div", { className: "absolute inset-0 flex flex-col items-center justify-center p-10 text-center gap-4", children: [_jsx("div", { className: "w-16 h-16 bg-red-500/10 rounded-full flex items-center justify-center text-red-500 mb-2", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("circle", { cx: "12", cy: "12", r: "10" }), _jsx("line", { x1: "12", y1: "8", x2: "12", y2: "12" }), _jsx("line", { x1: "12", y1: "16", x2: "12.01", y2: "16" })] }) }), _jsx("p", { className: "text-white font-bold text-sm", children: error }), _jsx("button", { onClick: () => window.location.reload(), className: "px-6 py-2 bg-white text-black text-[10px] font-black rounded-full uppercase tracking-widest hover:bg-armoyu-primary hover:text-white transition-all active:scale-95", children: "TEKRAR DENE" })] })) : (_jsx(ReelsContainer, { reels: reels }))] }));
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=ReelsTab.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReelsTab.js","sourceRoot":"","sources":["../../../src/components/showcase/ReelsTab.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,SA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AAC,yFAAyF,YACtG,eAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,cAAc,EAAC,WAAW,EAAC,GAAG,EAAC,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,aAAC,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,GAAU,EAAA,eAAM,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,GAAQ,EAAA,eAAM,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,OAAO,EAAC,EAAE,EAAC,IAAI,GAAQ,IAAM,GACxT,EACN,YAAG,SAAS,EAAC,8BAA8B,YAAE,KAAK,GAAK,EACvD,iBACE,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,EACvC,SAAS,EAAC,qKAAqK,4BAGxK,IACL,CACP,CAAC,CAAC,CAAC,CACF,KAAC,cAAc,IAAC,KAAK,EAAE,KAAK,GAAI,CACjC,IACG,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RulesTab.d.ts","sourceRoot":"","sources":["../../../src/components/showcase/RulesTab.tsx"],"names":[],"mappings":"AAiBA,wBAAgB,QAAQ,4CAwIvB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { ShieldCheck, Scale, AlertCircle, Gavel, Clock, Ban, ShieldAlert } from 'lucide-react';
|
|
3
|
+
import { PUNISHMENT_RULES, getRestrictionLabel, getCommunityComplianceLevel } from '../../lib/constants/punishmentData';
|
|
4
|
+
export function RulesTab() {
|
|
5
|
+
// Group rules by category
|
|
6
|
+
const categories = Array.from(new Set(PUNISHMENT_RULES.map(r => r.category)));
|
|
7
|
+
const complianceLevels = [0, 2, 5, 8, 10].map(count => getCommunityComplianceLevel(count));
|
|
8
|
+
return (_jsxs("div", { className: "max-w-6xl mx-auto space-y-20 pb-20 animate-in fade-in slide-in-from-bottom-8 duration-1000", children: [_jsxs("div", { className: "text-center space-y-6 pt-10", children: [_jsxs("div", { className: "inline-flex items-center gap-2 px-4 py-2 bg-armoyu-primary/10 rounded-full border border-armoyu-primary/20 mb-4", children: [_jsx(Scale, { size: 14, className: "text-armoyu-primary" }), _jsx("span", { className: "text-[10px] font-black text-armoyu-primary uppercase tracking-[0.2em]", children: "ARMOYU PROTOKOL\u00DC" })] }), _jsxs("h2", { className: "text-5xl md:text-7xl font-black italic uppercase tracking-tighter leading-none", children: ["TOPLULUK ", _jsx("br", {}), " ", _jsx("span", { className: "text-armoyu-primary", children: "KURALLARI" })] }), _jsx("p", { className: "text-armoyu-text-muted font-bold text-lg max-w-2xl mx-auto leading-relaxed opacity-70 italic", children: "Adil, sayg\u0131l\u0131 ve g\u00FCvenli bir oyun ortam\u0131 i\u00E7in haz\u0131rlanan temel ilkeler ve ihlal durumunda uygulanan yapt\u0131r\u0131mlar." })] }), _jsx("div", { className: "space-y-16", children: categories.map((category) => (_jsxs("div", { className: "space-y-8", children: [_jsxs("div", { className: "flex items-center gap-4", children: [_jsx("div", { className: "h-[2px] flex-1 bg-gradient-to-r from-transparent via-armoyu-card-border to-transparent" }), _jsxs("h3", { className: "text-2xl font-black italic uppercase tracking-tighter text-armoyu-primary flex items-center gap-3", children: [category === 'SOHBET' && _jsx(Gavel, { size: 24 }), category === 'İÇERİK' && _jsx(ScrollText, { size: 24 }), category === 'GÜVENLİK' && _jsx(ShieldCheck, { size: 24 }), category === 'HESAP' && _jsx(ShieldAlert, { size: 24 }), category, " KURALLARI"] }), _jsx("div", { className: "h-[2px] flex-1 bg-gradient-to-r from-transparent via-armoyu-card-border to-transparent" })] }), _jsx("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: PUNISHMENT_RULES.filter(r => r.category === category).map((rule) => (_jsxs("div", { className: "glass-panel p-8 rounded-[40px] border border-armoyu-card-border bg-armoyu-card-bg hover:border-armoyu-primary/30 transition-all group relative overflow-hidden", children: [_jsx("div", { className: `absolute top-0 right-0 w-32 h-32 blur-[60px] opacity-10 rounded-full -z-10 ${rule.severity === 'critical' ? 'bg-armoyu-danger' :
|
|
9
|
+
rule.severity === 'high' ? 'bg-armoyu-warning' :
|
|
10
|
+
'bg-armoyu-primary'}` }), _jsxs("div", { className: "flex justify-between items-start mb-6", children: [_jsxs("div", { children: [_jsxs("span", { className: "text-[10px] font-black text-armoyu-primary bg-armoyu-primary/10 px-3 py-1.5 rounded-xl border border-armoyu-primary/20 mb-3 block w-fit italic", children: ["MADDE ", rule.article] }), _jsx("h4", { className: "text-xl font-black italic uppercase tracking-tight group-hover:text-armoyu-primary transition-colors", children: rule.name })] }), _jsx("div", { className: `w-3 h-3 rounded-full animate-pulse ${rule.severity === 'critical' ? 'bg-armoyu-danger' :
|
|
11
|
+
rule.severity === 'high' ? 'bg-armoyu-warning' :
|
|
12
|
+
rule.severity === 'medium' ? 'bg-armoyu-primary' :
|
|
13
|
+
'bg-armoyu-success'}`, title: `Önem Seviyesi: ${rule.severity}` })] }), _jsx("p", { className: "text-sm font-medium text-armoyu-text-muted leading-relaxed mb-8 opacity-80", children: rule.description }), _jsxs("div", { className: "space-y-4 pt-6 border-t border-armoyu-card-border", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs("div", { className: "flex items-center gap-2 text-[10px] font-black text-armoyu-text-muted uppercase tracking-widest italic", children: [_jsx(Clock, { size: 14, className: "text-armoyu-primary" }), "TEMEL CEZA S\u00DCRES\u0130"] }), _jsx("span", { className: "text-xs font-black text-armoyu-text italic", children: rule.duration === 0 ? 'KALICI (PERMANENT)' : `${rule.duration} SAAT` })] }), _jsx("div", { className: "flex flex-wrap gap-2 pt-2", children: rule.restrictions.map((res, i) => (_jsxs("span", { className: "flex items-center gap-1.5 px-3 py-1.5 bg-black/5 dark:bg-white/5 border border-white/5 rounded-xl text-[9px] font-black uppercase text-armoyu-text-muted italic", children: [_jsx(Ban, { size: 10, className: "text-armoyu-danger" }), getRestrictionLabel(res)] }, i))) })] })] }, rule.id))) })] }, category))) }), _jsxs("div", { className: "space-y-10", children: [_jsxs("div", { className: "text-center space-y-4", children: [_jsxs("h3", { className: "text-3xl font-black italic uppercase tracking-tighter", children: ["Topluluk ", _jsx("span", { className: "text-armoyu-primary", children: "Uyum Seviyeleri" })] }), _jsx("p", { className: "text-armoyu-text-muted font-bold text-sm uppercase tracking-widest opacity-60 italic", children: "Su\u00E7 tekrar\u0131na g\u00F6re uygulanan ceza \u00E7arpanlar\u0131 ve g\u00FCven puan\u0131 kar\u015F\u0131l\u0131\u011F\u0131." })] }), _jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-4", children: complianceLevels.map((level, i) => (_jsxs("div", { className: "glass-panel p-6 rounded-[32px] border border-armoyu-card-border bg-armoyu-card-bg text-center space-y-4 hover:scale-105 transition-all", children: [_jsx("div", { className: "w-12 h-12 rounded-2xl mx-auto flex items-center justify-center shadow-lg", style: { backgroundColor: `${level.color}20`, color: level.color }, children: _jsx(ShieldCheck, { size: 24 }) }), _jsxs("div", { children: [_jsx("p", { className: "text-[10px] font-black uppercase tracking-tighter", style: { color: level.color }, children: level.label }), _jsxs("p", { className: "text-2xl font-black italic mt-1", children: ["x", level.multiplier.toFixed(1)] })] }), _jsx("p", { className: "text-[8px] font-bold text-armoyu-text-muted uppercase tracking-widest opacity-50 italic", children: "CEZA \u00C7ARPANI" })] }, i))) })] }), _jsxs("div", { className: "p-10 bg-armoyu-danger/5 border border-armoyu-danger/20 rounded-[48px] flex flex-col md:flex-row items-center gap-8", children: [_jsx("div", { className: "w-20 h-20 bg-armoyu-danger/20 rounded-[24px] flex items-center justify-center shrink-0 shadow-[0_0_50px_rgba(var(--armoyu-danger-rgb),0.2)]", children: _jsx(AlertCircle, { className: "text-armoyu-danger", size: 40 }) }), _jsxs("div", { className: "space-y-3 text-center md:text-left", children: [_jsx("h4", { className: "text-xl font-black uppercase text-armoyu-danger tracking-tighter italic", children: "KR\u0130T\u0130K UYARI VE YAPTIRIMLAR" }), _jsx("p", { className: "text-sm font-bold text-armoyu-danger/70 leading-relaxed uppercase italic", children: "KURALLARA UYULMAMASI DURUMUNDA S\u0130STEM OTOMAT\u0130K OLARAK CEZA \u00C7ARPANINI HESAPLAR VE YAPTIRIMI UYGULAR. A\u011EIR \u0130HLALLERDE (MADDE M2.2, M3.2, M4.X) H\u0130\u00C7B\u0130R UYARI YAPILMAKSIZIN KALICI UZAKLA\u015ETIRMA UYGULANIR." })] })] })] }));
|
|
14
|
+
}
|
|
15
|
+
function ScrollText({ size, className }) {
|
|
16
|
+
return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", className: className, strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" }), _jsx("path", { d: "M14 2v4a2 2 0 0 0 2 2h4" }), _jsx("path", { d: "M10 9H8" }), _jsx("path", { d: "M16 13H8" }), _jsx("path", { d: "M16 17H8" })] }));
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=RulesTab.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RulesTab.js","sourceRoot":"","sources":["../../../src/components/showcase/RulesTab.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,WAAW,EACX,KAAK,EACL,WAAW,EACX,KAAK,EACL,KAAK,EACL,GAAG,EAEH,WAAW,EACZ,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,gBAAgB,EACh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StoreLayout, DetailLayout, CartLayout, CheckoutLayout, StoreSidebar, StoreHeader, ProductCard, MOCK_PRODUCTS, StoreTrustBadges, useCart, OrdersLayout } from '../../index';
|
|
5
|
+
import { Product } from '../../models/shop/Product';
|
|
6
|
+
const MOCK_ORDERS = [
|
|
7
|
+
{ id: 'AR-2024-812', date: '31 Mart 2024', total: '₺297.48', status: 'Hazırlanıyor', color: 'var(--armoyu-primary)', items: ['Premium VIP Üyelik', '1000 ARMOYU Coin (x2)'] },
|
|
8
|
+
{ id: 'AR-2024-754', date: '15 Mart 2024', total: '₺599.00', status: 'Tamamlandı', color: '#10b981', items: ['ARMOYU Kapşonlu (Siyah)'] },
|
|
9
|
+
{ id: 'AR-2024-102', date: '02 Ocak 2024', total: '₺89.90', status: 'Tamamlandı', color: '#10b981', items: ['Elite Minecraft Paketi'] }
|
|
10
|
+
];
|
|
11
|
+
export function ShopTab() {
|
|
12
|
+
const [view, setView] = useState('store');
|
|
13
|
+
const [activeCategory, setActiveCategory] = useState('Tüm Ürünler');
|
|
14
|
+
const [searchQuery, setSearchQuery] = useState('');
|
|
15
|
+
const [selectedProduct, setSelectedProduct] = useState(null);
|
|
16
|
+
const { cart, totalPrice, updateQuantity, removeFromCart, clearCart } = useCart();
|
|
17
|
+
const categories = ['Tüm Ürünler', 'Üyelik & VIP', 'Oyun İçi Paralar', 'Minecraft Eşyaları', 'Lisanslı Giyim', 'Dijital Kodlar'];
|
|
18
|
+
const filteredProducts = useMemo(() => {
|
|
19
|
+
let filtered = MOCK_PRODUCTS;
|
|
20
|
+
if (activeCategory !== 'Tüm Ürünler') {
|
|
21
|
+
const categoryMap = {
|
|
22
|
+
'Üyelik & VIP': 'Üyelik',
|
|
23
|
+
'Oyun İçi Paralar': 'Oyun İçi',
|
|
24
|
+
'Minecraft Eşyaları': 'Oyun İçi',
|
|
25
|
+
'Lisanslı Giyim': 'Giyim'
|
|
26
|
+
};
|
|
27
|
+
const searchCat = categoryMap[activeCategory] || activeCategory;
|
|
28
|
+
filtered = filtered.filter((p) => p.category === searchCat);
|
|
29
|
+
}
|
|
30
|
+
if (searchQuery.trim()) {
|
|
31
|
+
const query = searchQuery.toLowerCase().trim();
|
|
32
|
+
filtered = filtered.filter((p) => p.name.toLowerCase().includes(query) ||
|
|
33
|
+
p.category.toLowerCase().includes(query));
|
|
34
|
+
}
|
|
35
|
+
return filtered;
|
|
36
|
+
}, [activeCategory, searchQuery]);
|
|
37
|
+
return (_jsx("div", { onClickCapture: (e) => {
|
|
38
|
+
const target = e.target;
|
|
39
|
+
const link = target.closest('a');
|
|
40
|
+
if (!link)
|
|
41
|
+
return;
|
|
42
|
+
const href = link.getAttribute('href');
|
|
43
|
+
// Intercept all shop-related links in showcase
|
|
44
|
+
if (href?.startsWith('/magaza')) {
|
|
45
|
+
e.preventDefault();
|
|
46
|
+
e.stopPropagation(); // Stop Next.js router from seeing this
|
|
47
|
+
if (href === '/magaza') {
|
|
48
|
+
setSelectedProduct(null);
|
|
49
|
+
setView('store');
|
|
50
|
+
}
|
|
51
|
+
else if (href === '/magaza/sepet') {
|
|
52
|
+
setView('cart');
|
|
53
|
+
}
|
|
54
|
+
else if (href === '/magaza/siparislerim') {
|
|
55
|
+
setView('orders');
|
|
56
|
+
}
|
|
57
|
+
else if (href === '/magaza/odeme') {
|
|
58
|
+
setView('checkout');
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}, children: _jsx(StoreLayout, { sidebar: (view === 'store' && !selectedProduct) ? (_jsx(StoreSidebar, { activeCategory: activeCategory, setActiveCategory: setActiveCategory, categories: categories })) : null, children: selectedProduct ? (_jsx(DetailLayout, { product: selectedProduct, onBack: () => setSelectedProduct(null) })) : (_jsxs(_Fragment, { children: [view === 'store' && (_jsxs("div", { className: "space-y-12", children: [_jsx(StoreHeader, { searchQuery: searchQuery, setSearchQuery: setSearchQuery }), _jsxs("div", { className: "space-y-12", children: [filteredProducts.length > 0 ? (_jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6", children: filteredProducts.map(product => (_jsx("div", { className: "cursor-pointer", onClick: (e) => { e.preventDefault(); setSelectedProduct(Product.fromAPI(product)); }, children: _jsx(ProductCard, { product: Product.fromAPI(product), href: "#" }) }, product.id))) })) : (_jsxs("div", { className: "glass-panel p-20 rounded-[40px] flex flex-col items-center justify-center text-center space-y-4 border border-white/5", children: [_jsx("div", { className: "w-20 h-20 rounded-full bg-white/5 flex items-center justify-center text-armoyu-text-muted opacity-20", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "40", height: "40", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("circle", { cx: "11", cy: "11", r: "8" }), _jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })] }) }), _jsx("h4", { className: "text-xl font-black text-armoyu-text uppercase tracking-tighter italic", children: "\u00DCr\u00FCn Bulunamad\u0131" }), _jsx("p", { className: "text-sm text-armoyu-text-muted max-w-xs", children: "Araman\u0131za uygun \u00FCr\u00FCn bulunamad\u0131. L\u00FCtfen filtreleri kontrol edin." }), _jsx("button", { onClick: () => { setActiveCategory('Tüm Ürünler'); setSearchQuery(''); }, className: "px-6 py-3 bg-armoyu-primary text-white text-[10px] font-black rounded-full uppercase tracking-widest hover:bg-armoyu-primary transition-all shadow-xl shadow-armoyu-primary/20", children: "F\u0130LTRELER\u0130 SIFIRLA" })] })), _jsx(StoreTrustBadges, {})] })] })), view === 'cart' && (_jsx(CartLayout, { cart: cart, totalPrice: totalPrice, onUpdateQuantity: updateQuantity, onRemoveFromCart: removeFromCart, onCheckout: () => setView('checkout'), onBackToStore: () => setView('store') })), view === 'checkout' && (_jsx(CheckoutLayout, { onBack: () => setView('cart'), onSuccess: () => { }, totalAmount: totalPrice })), view === 'orders' && (_jsx(OrdersLayout, { orders: MOCK_ORDERS, onOrderClick: (id) => console.log('Order clicked:', id) }))] })) }) }));
|
|
62
|
+
}
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AAC,OAAO,GAAQ,IAAM,GAC9Q,EACN,aAAI,SAAS,EAAC,uEAAuE,+CAAqB,EAC1G,YAAG,SAAS,EAAC,yCAAyC,0GAAqE,EAC3H,iBACE,OAAO,EAAE,GAAG,EAAE,GAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,CAAA,CAAC,EACtE,SAAS,EAAC,gLAAgL,6CAGnL,IACL,CACP,EACD,KAAC,gBAAgB,KAAG,IAChB,IACF,CACP,EAEA,IAAI,KAAK,MAAM,IAAI,CAClB,KAAC,UAAU,IACT,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,UAAU,EACtB,gBAAgB,EAAE,cAAc,EAChC,gBAAgB,EAAE,cAAc,EAChC,UAAU,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,EACrC,aAAa,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,GACrC,CACH,EAEA,IAAI,KAAK,UAAU,IAAI,CACtB,KAAC,cAAc,IACb,MAAM,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,EAC7B,SAAS,EAAE,GAAG,EAAE,GAAE,CAAC,EACnB,WAAW,EAAE,UAAU,GACvB,CACH,EAEA,IAAI,KAAK,QAAQ,IAAI,CACpB,KAAC,YAAY,IACX,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,CAAC,GACvD,CACH,IACA,CACJ,GACW,GACV,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShowcaseNavigation.d.ts","sourceRoot":"","sources":["../../../src/components/showcase/ShowcaseNavigation.tsx"],"names":[],"mappings":"AA8BA,wBAAgB,kBAAkB,4CAySjC"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useRouter, useSearchParams } from 'next/navigation';
|
|
4
|
+
import { useState, useEffect, useRef } from 'react';
|
|
5
|
+
import Link from 'next/link';
|
|
6
|
+
import { Users, MessageSquare, Newspaper, ShoppingBag, ChevronDown, GraduationCap, Zap, LayoutGrid, UserCircle, Image as ImageIcon, Info, Scale, Trophy, MessageCircle, FileText, Gift, Calendar, Camera, Menu, X } from 'lucide-react';
|
|
7
|
+
import { useAuth } from '../../context/AuthContext';
|
|
8
|
+
import { useArmoyu } from '../../context/ArmoyuContext';
|
|
9
|
+
import { useTheme } from '../../context/ThemeContext';
|
|
10
|
+
import { UserDrawer } from '../shared/UserDrawer';
|
|
11
|
+
export function ShowcaseNavigation() {
|
|
12
|
+
const { user, logout, isLoading } = useAuth();
|
|
13
|
+
const router = useRouter();
|
|
14
|
+
const searchParams = useSearchParams();
|
|
15
|
+
const initialTab = searchParams.get('tab') || 'sosyal';
|
|
16
|
+
const [activeTab, setActiveTab] = useState(initialTab);
|
|
17
|
+
const [activeMenu, setActiveMenu] = useState(null);
|
|
18
|
+
const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false);
|
|
19
|
+
const menuTimeoutRef = useRef(null);
|
|
20
|
+
const { api, navigation } = useArmoyu();
|
|
21
|
+
const { theme, toggleTheme } = useTheme();
|
|
22
|
+
const [isUserMenuOpen, setIsUserMenuOpen] = useState(false);
|
|
23
|
+
const [userGroups, setUserGroups] = useState([]);
|
|
24
|
+
useEffect(() => {
|
|
25
|
+
const currentTab = searchParams.get('tab') || 'sosyal';
|
|
26
|
+
setActiveTab(currentTab);
|
|
27
|
+
}, [searchParams]);
|
|
28
|
+
useEffect(() => {
|
|
29
|
+
if (user) {
|
|
30
|
+
const fetchGroups = async () => {
|
|
31
|
+
try {
|
|
32
|
+
const response = await api.groups.getUserGroups();
|
|
33
|
+
if (response.durum === 1 && response.icerik) {
|
|
34
|
+
setUserGroups(Array.isArray(response.icerik) ? response.icerik : []);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
catch (error) {
|
|
38
|
+
console.error("[ShowcaseNav] Fetch Groups Error:", error);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
fetchGroups();
|
|
42
|
+
}
|
|
43
|
+
}, [user, api]);
|
|
44
|
+
const goToMyProfile = () => {
|
|
45
|
+
if (user) {
|
|
46
|
+
handleTabChange('profil');
|
|
47
|
+
setIsUserMenuOpen(false);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
const categories = [
|
|
51
|
+
{
|
|
52
|
+
id: 'social',
|
|
53
|
+
label: 'SOSYAL',
|
|
54
|
+
icon: _jsx(MessageSquare, { size: 16 }),
|
|
55
|
+
items: [
|
|
56
|
+
{ id: 'sosyal', label: 'AKIŞ', icon: _jsx(Newspaper, { size: 16 }), desc: 'Sosyal medya akışı ve paylaşımlar' },
|
|
57
|
+
{ id: 'hikayeler', label: 'HİKAYELER', icon: _jsx(ImageIcon, { size: 16 }), desc: 'Kullanıcı hikayeleri ve etkileşim' },
|
|
58
|
+
{ id: 'profil', label: 'PROFİL', icon: _jsx(UserCircle, { size: 16 }), desc: 'Kullanıcı profili ve istatistikler' },
|
|
59
|
+
{ id: 'sohbet', label: 'SOHBET', icon: _jsx(MessageCircle, { size: 16 }), desc: 'Anlık mesajlaşma ve arkadaşlar' },
|
|
60
|
+
{ id: 'reels', label: 'REELS', icon: _jsx(Camera, { size: 16 }), desc: 'Kısa videolar ve hikayeler' },
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
id: 'community',
|
|
65
|
+
label: 'TOPLULUK',
|
|
66
|
+
icon: _jsx(Users, { size: 16 }),
|
|
67
|
+
items: [
|
|
68
|
+
{ id: 'haberler', label: 'HABERLER', icon: _jsx(Newspaper, { size: 16 }), desc: 'Platform duyuruları ve güncel haberler' },
|
|
69
|
+
{ id: 'gruplar', label: 'GRUPLAR', icon: _jsx(Users, { size: 16 }), desc: 'Klanlar ve sosyal topluluklar' },
|
|
70
|
+
{ id: 'forum', label: 'FORUM', icon: _jsx(FileText, { size: 16 }), desc: 'Tartışma konuları ve rehberler' },
|
|
71
|
+
{ id: 'egitim', label: 'EĞİTİM', icon: _jsx(GraduationCap, { size: 16 }), desc: 'Okullar ve akademik hayat' },
|
|
72
|
+
{ id: 'anketler', label: 'ANKETLER', icon: _jsx(Zap, { size: 16 }), desc: 'Topluluk kararları ve oylamalar' },
|
|
73
|
+
{ id: 'cekilisler', label: 'ÇEKİLİŞLER', icon: _jsx(Gift, { size: 16 }), desc: 'Ödüllü etkinlikler ve şans' },
|
|
74
|
+
{ id: 'etkinlikler', label: 'ETKİNLİKLER', icon: _jsx(Calendar, { size: 16 }), desc: 'Turnuvalar ve topluluk buluşmaları' },
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
id: 'services',
|
|
79
|
+
label: 'HİZMETLER',
|
|
80
|
+
icon: _jsx(LayoutGrid, { size: 16 }),
|
|
81
|
+
items: [
|
|
82
|
+
{ id: 'magaza', label: 'MAĞAZA', icon: _jsx(ShoppingBag, { size: 16 }), desc: 'Dijital ürünler ve market' },
|
|
83
|
+
{ id: 'kurumsal', label: 'KURUMSAL', icon: _jsx(Info, { size: 16 }), desc: 'Kurumsal sayfalar ve navigasyon' },
|
|
84
|
+
{ id: 'kurallar', label: 'KURALLAR', icon: _jsx(Scale, { size: 16 }), desc: 'Platform kuralları ve ilkeler' },
|
|
85
|
+
{ id: 'genel', label: 'BİLEŞENLER', icon: _jsx(LayoutGrid, { size: 16 }), desc: 'Temel bileşenler ve atomlar' },
|
|
86
|
+
{ id: 'modlar', label: 'MODLAR', icon: _jsx(Trophy, { size: 16 }), desc: 'Sunucu modları ve eklentiler' },
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
];
|
|
90
|
+
const handleTabChange = (id) => {
|
|
91
|
+
if (id === 'management-panel') {
|
|
92
|
+
router.push('/management-panel');
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
setActiveTab(id);
|
|
96
|
+
setActiveMenu(null);
|
|
97
|
+
router.push(`/?tab=${id}`);
|
|
98
|
+
};
|
|
99
|
+
const handleMenuEnter = (id) => {
|
|
100
|
+
if (menuTimeoutRef.current)
|
|
101
|
+
clearTimeout(menuTimeoutRef.current);
|
|
102
|
+
setActiveMenu(id);
|
|
103
|
+
};
|
|
104
|
+
const handleMenuLeave = () => {
|
|
105
|
+
menuTimeoutRef.current = setTimeout(() => {
|
|
106
|
+
setActiveMenu(null);
|
|
107
|
+
}, 150);
|
|
108
|
+
};
|
|
109
|
+
return (_jsxs("nav", { className: "sticky top-0 z-[200] w-full border-b border-armoyu-header-border bg-armoyu-header-bg transition-colors duration-300 shadow-sm shadow-primary/5", children: [_jsxs("div", { className: "w-full px-4 md:px-8 h-16 flex items-center justify-between gap-8", children: [_jsxs(Link, { href: "/", className: "flex items-center gap-4 shrink-0 group", children: [_jsx("div", { className: "w-10 h-10 rounded-2xl bg-armoyu-primary flex items-center justify-center shadow-lg shadow-primary/20 group-hover:scale-105 transition-all duration-500", children: _jsx("span", { className: "text-white font-black text-xs italic", children: "UI" }) }), _jsxs("div", { className: "hidden sm:block", children: [_jsxs("h2", { className: "text-sm font-black text-armoyu-text uppercase tracking-tighter italic leading-none", children: ["ARMOYU ", _jsx("span", { className: "text-armoyu-primary", children: "VITRINI" })] }), _jsx("p", { className: "text-[9px] font-bold text-armoyu-text-muted uppercase tracking-[0.2em] opacity-50 mt-1", children: "Design System V3" })] })] }), _jsx("div", { className: "hidden lg:flex flex-1 items-center gap-2", children: categories.map((cat) => (_jsxs("div", { className: "relative", onMouseEnter: () => handleMenuEnter(cat.id), onMouseLeave: handleMenuLeave, children: [_jsxs("button", { className: `flex items-center gap-2 px-5 py-2.5 rounded-xl text-[10px] font-black uppercase tracking-[0.1em] transition-all ${cat.items.some(i => i.id === activeTab)
|
|
110
|
+
? 'text-armoyu-primary bg-armoyu-primary/10'
|
|
111
|
+
: 'text-armoyu-text-muted hover:text-armoyu-text hover:bg-black/5 dark:hover:bg-white/5'}`, children: [cat.label, _jsx(ChevronDown, { size: 12, className: `transition-transform duration-300 ${activeMenu === cat.id ? 'rotate-180' : ''}` })] }), activeMenu === cat.id && (_jsx("div", { className: "absolute top-full left-0 mt-2 w-64 rounded-3xl border border-armoyu-header-border bg-white dark:bg-[#12121a] shadow-2xl overflow-hidden p-3 animate-in fade-in zoom-in duration-200", children: _jsx("div", { className: "grid gap-1", children: cat.items.map((item) => (_jsxs("button", { onClick: () => handleTabChange(item.id), className: `flex items-start gap-4 p-3 rounded-2xl text-left transition-all group ${activeTab === item.id
|
|
112
|
+
? 'bg-armoyu-primary text-white'
|
|
113
|
+
: 'hover:bg-black/5 dark:hover:bg-white/5 text-armoyu-text-muted hover:text-armoyu-text'}`, children: [_jsx("div", { className: `mt-1 p-2 rounded-lg ${activeTab === item.id ? 'bg-white/20' : 'bg-black/5 dark:bg-white/5 group-hover:bg-armoyu-primary/20 group-hover:text-armoyu-primary'} transition-colors`, children: item.icon }), _jsxs("div", { className: "flex flex-col", children: [_jsx("span", { className: "text-[10px] font-black uppercase tracking-widest", children: item.label }), _jsx("span", { className: `text-[8px] font-bold opacity-60 leading-tight mt-1 ${activeTab === item.id ? 'text-white' : 'text-armoyu-text-muted group-hover:text-armoyu-text'}`, children: item.desc })] })] }, item.id))) }) }))] }, cat.id))) }), _jsxs("div", { className: "flex items-center gap-2 md:gap-4", children: [_jsx("button", { onClick: () => setIsMobileMenuOpen(true), className: "lg:hidden p-2.5 rounded-xl text-armoyu-text-muted hover:text-armoyu-text hover:bg-black/5 dark:hover:bg-white/5 transition-all", children: _jsx(Menu, { size: 24 }) }), isLoading ? (_jsx("div", { className: "w-10 h-10 sm:w-32 rounded-2xl bg-black/5 dark:bg-white/5 animate-pulse border border-armoyu-header-border" })) : user ? (_jsxs("div", { className: "flex items-center gap-3 sm:pl-4 sm:border-l border-armoyu-header-border group relative", children: [_jsxs("div", { className: "flex flex-col items-end hidden sm:flex", children: [_jsx("span", { className: "text-[10px] font-black text-armoyu-text uppercase tracking-tighter italic", children: user.displayName || user.username }), _jsx("span", { className: "text-[8px] font-bold text-armoyu-primary uppercase tracking-widest opacity-80", children: "Online" })] }), _jsx("button", { onClick: () => setIsUserMenuOpen(true), className: "w-10 h-10 rounded-2xl bg-black/5 dark:bg-white/5 border border-armoyu-header-border overflow-hidden hover:border-armoyu-primary/50 transition-all active:scale-95", children: _jsx("img", { src: user.avatar || `https://api.dicebear.com/7.x/avataaars/svg?seed=${user.username}`, alt: "Profile", className: "w-full h-full object-cover" }) })] })) : (_jsxs("button", { onClick: () => handleTabChange('auth'), className: `flex items-center gap-3 px-4 sm:px-6 py-2.5 sm:py-3 rounded-2xl text-[10px] font-black uppercase tracking-[0.1em] transition-all ${activeTab === 'auth'
|
|
114
|
+
? 'bg-armoyu-text text-armoyu-bg shadow-xl shadow-black/10'
|
|
115
|
+
: 'bg-armoyu-primary text-white hover:opacity-90 shadow-xl shadow-primary/20'}`, children: [_jsx(UserCircle, { size: 16, strokeWidth: 2.5 }), _jsx("span", { className: "hidden xs:block", children: "Giri\u015F Yap" })] }))] })] }), isMobileMenuOpen && (_jsxs("div", { className: "fixed inset-0 z-[250] lg:hidden animate-in fade-in duration-300", children: [_jsx("div", { className: "absolute inset-0 bg-black/60 backdrop-blur-md", onClick: () => setIsMobileMenuOpen(false) }), _jsxs("div", { className: "absolute inset-y-0 left-0 w-[300px] bg-armoyu-header-bg border-r border-armoyu-header-border shadow-2xl flex flex-col animate-in slide-in-from-left duration-500", children: [_jsxs("div", { className: "p-6 border-b border-armoyu-header-border flex items-center justify-between", children: [_jsxs("div", { className: "flex items-center gap-3", children: [_jsx("div", { className: "w-8 h-8 rounded-xl bg-armoyu-primary flex items-center justify-center", children: _jsx("span", { className: "text-white font-black text-[10px] italic", children: "UI" }) }), _jsx("span", { className: "text-sm font-black text-armoyu-text italic uppercase", children: "MEN\u00DC" })] }), _jsx("button", { onClick: () => setIsMobileMenuOpen(false), className: "p-2 rounded-xl hover:bg-black/5 dark:hover:bg-white/5 text-armoyu-text-muted", children: _jsx(X, { size: 20 }) })] }), _jsx("div", { className: "flex-1 overflow-y-auto p-4 space-y-6", children: categories.map((cat) => (_jsxs("div", { className: "space-y-3", children: [_jsxs("h4", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-[0.2em] px-3 flex items-center gap-2 opacity-50", children: [cat.icon, " ", cat.label] }), _jsx("div", { className: "grid gap-1", children: cat.items.map((item) => (_jsxs("button", { onClick: () => {
|
|
116
|
+
handleTabChange(item.id);
|
|
117
|
+
setIsMobileMenuOpen(false);
|
|
118
|
+
}, className: `flex items-center gap-4 p-3.5 rounded-xl text-left transition-all ${activeTab === item.id
|
|
119
|
+
? 'bg-armoyu-primary text-white shadow-lg shadow-armoyu-primary/20'
|
|
120
|
+
: 'text-armoyu-text-muted hover:text-armoyu-text hover:bg-black/5 dark:hover:bg-white/5'}`, children: [_jsx("div", { className: `p-2 rounded-lg ${activeTab === item.id ? 'bg-white/20' : 'bg-black/5 dark:bg-white/5'}`, children: item.icon }), _jsx("span", { className: "text-[11px] font-black uppercase tracking-widest", children: item.label })] }, item.id))) })] }, cat.id))) }), _jsx("div", { className: "p-6 border-t border-armoyu-header-border", children: _jsxs("button", { onClick: toggleTheme, className: "w-full flex items-center justify-between p-4 rounded-2xl bg-black/5 dark:bg-white/5 text-armoyu-text-muted font-bold text-xs", children: [_jsx("span", { children: "G\u00F6r\u00FCn\u00FCm" }), theme === 'dark' ? _jsx(Zap, { size: 16, className: "text-yellow-500" }) : _jsx(Zap, { size: 16 })] }) })] })] })), _jsx(UserDrawer, { isOpen: isUserMenuOpen, onClose: () => setIsUserMenuOpen(false), user: user, logout: logout, userGroups: userGroups, navigation: navigation, theme: theme, toggleTheme: toggleTheme, goToMyProfile: goToMyProfile, links: {
|
|
121
|
+
posts: '/?tab=yazilarim',
|
|
122
|
+
comments: '/?tab=yazilarim',
|
|
123
|
+
polls: '/?tab=anketler',
|
|
124
|
+
giveaways: '/?tab=cekilisler',
|
|
125
|
+
education: '/?tab=egitim',
|
|
126
|
+
support: '/?tab=destek'
|
|
127
|
+
} })] }));
|
|
128
|
+
}
|
|
129
|
+
//# sourceMappingURL=ShowcaseNavigation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShowcaseNavigation.js","sourceRoot":"","sources":["../../../src/components/showcase/ShowcaseNavigation.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EACL,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,WAAW,EAC5C,WAAW,EAAE,aAAa,EAAE,GAAG,EAAE,UAAU,EAC3C,UAAU,EAAE,KAAK,IAAI,SAAS,EAAE,IAAI,EAAE,KAAK,EAC3C,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAuB,IAAI,EAAE,CAAC,EACtF,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAgBlD,MAAM,UAAU,kBAAkB;IAChC,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,OAAO,EAAE,CAAC;IAC9C,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,YAAY,GAAG,eAAe,EAAE,CAAC;IACvC,MAAM,U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KAAC,GAAG,IAAC,IAAI,EAAE,EAAE,EAAE,SAAS,EAAC,iBAAiB,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,IAAI,EAAE,EAAE,GAAI,IAC/E,GACN,IACF,IACF,CACP,EAED,KAAC,UAAU,IACT,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,EACvC,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,EACtB,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,aAAa,EAC5B,KAAK,EAAE;oBACL,KAAK,EAAE,iBAAiB;oBACxB,QAAQ,EAAE,iBAAiB;oBAC3B,KAAK,EAAE,gBAAgB;oBACvB,SAAS,EAAE,kBAAkB;oBAC7B,SAAS,EAAE,cAAc;oBACzB,OAAO,EAAE,cAAc;iBACxB,GACD,IACE,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import React, { useState } from 'react';
|
|
4
|
+
import { SocialSidebar, NewMembersWidget, Stories, PostCard, postList, SocialFeed, PostComposer, CloudModal, useAuth } from '../../index';
|
|
5
|
+
import { TrendingWidget } from '../modules/social/widgets/TrendingWidget';
|
|
6
|
+
import { useArmoyu } from '../../context/ArmoyuContext';
|
|
7
|
+
export function SocialTab() {
|
|
8
|
+
const { apiKey, api, isMockEnabled, setMockEnabled } = useArmoyu();
|
|
9
|
+
const { user } = useAuth();
|
|
10
|
+
const [isPosting, setIsPosting] = useState(false);
|
|
11
|
+
const [isCloudOpen, setIsCloudOpen] = useState(false);
|
|
12
|
+
const [attachments, setAttachments] = useState([]);
|
|
13
|
+
const feedRef = React.useRef(null);
|
|
14
|
+
// useLive is inverse of isMockEnabled
|
|
15
|
+
const useLive = !isMockEnabled;
|
|
16
|
+
const handleToggleMode = () => {
|
|
17
|
+
if (isMockEnabled && (!apiKey || apiKey === 'armoyu_showcase_key')) {
|
|
18
|
+
alert("Canlı akış verilerini çekebilmek için lütfen Dev Tools panelinden geçerli bir API Anahtarı giriniz.");
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
setMockEnabled(!isMockEnabled);
|
|
22
|
+
// If we just switched to live, trigger a refresh
|
|
23
|
+
if (isMockEnabled) {
|
|
24
|
+
setTimeout(() => feedRef.current?.refresh(), 100);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
const displayPosts = useLive ? [] : postList.slice(0, 3);
|
|
28
|
+
return (_jsxs("div", { className: "space-y-8 animate-in fade-in duration-700", children: [_jsx(CloudModal, { isOpen: isCloudOpen, onClose: () => setIsCloudOpen(false), isSelectionMode: true, onSelectMedia: (media) => {
|
|
29
|
+
setAttachments(prev => [...prev, media]);
|
|
30
|
+
setIsCloudOpen(false);
|
|
31
|
+
} }), _jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-12 gap-8", children: [_jsx("aside", { className: "lg:col-span-3 hidden lg:block", children: _jsx(SocialSidebar, {}) }), _jsx("div", { className: "lg:col-span-6", children: _jsxs("div", { className: "max-w-3xl mx-auto space-y-8", children: [_jsx(Stories, {}), _jsx(PostComposer, { user: user, isPosting: isPosting, onOpenCloudGallery: () => setIsCloudOpen(true), attachments: attachments, onRemoveAttachment: (index) => setAttachments(prev => prev.filter((_, i) => i !== index)), onPost: async (content, mediaUrls) => {
|
|
32
|
+
if (useLive) {
|
|
33
|
+
setIsPosting(true);
|
|
34
|
+
try {
|
|
35
|
+
const result = await api.social.createPost(content, []);
|
|
36
|
+
if (result.durum === 1) {
|
|
37
|
+
setAttachments([]);
|
|
38
|
+
feedRef.current?.refresh();
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
alert(result.aciklama || "Paylaşım başarısız.");
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
catch (err) {
|
|
45
|
+
console.error("Post error:", err);
|
|
46
|
+
alert("Canlı paylaşım hatası!");
|
|
47
|
+
}
|
|
48
|
+
finally {
|
|
49
|
+
setIsPosting(false);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
console.log("Mock Post Created:", content, mediaUrls);
|
|
54
|
+
alert("Showcase (Mock): " + content + (mediaUrls?.length ? ` [${mediaUrls.length} Medya]` : ''));
|
|
55
|
+
}
|
|
56
|
+
} }), _jsx("div", { className: "space-y-6", children: useLive ? (_jsx(SocialFeed, { ref: feedRef, emptyMessage: "Hen\u00FCz yay\u0131nlanm\u0131\u015F bir g\u00F6nderi yok." })) : (_jsx("div", { className: "flex flex-col gap-6", children: displayPosts.map((post) => (_jsx(PostCard, { ...post, author: post.owner || post.author }, post.id))) })) })] }) }), _jsxs("aside", { className: "lg:col-span-3 hidden lg:flex flex-col gap-6", children: [_jsx(NewMembersWidget, {}), _jsx(TrendingWidget, {})] })] })] }));
|
|
57
|
+
}
|
|
58
|
+
function cn(...classes) {
|
|
59
|
+
return classes.filter(Boolean).join(' ');
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=SocialTab.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SocialTab.js","sourceRoot":"","sources":["../../../src/components/showcase/SocialTab.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAe,MAAM,OAAO,CAAC;AAChE,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,UAAU,EACV,OAAO,EAER,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAC1E,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAGxD,MAAM,UAAU,SAAS;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} from '../../index';
|
|
4
|
+
export function StoriesTab() {
|
|
5
|
+
return (_jsxs("div", { className: "max-w-2xl mx-auto space-y-8 animate-in fade-in duration-700", children: [_jsxs("div", { className: "bg-white/5 backdrop-blur-md p-8 rounded-[2.5rem] border border-white/5", children: [_jsx("h2", { className: "text-2xl font-black text-white uppercase tracking-tight italic mb-2", children: "H\u0130KAYE MOD\u00DCL\u00DC" }), _jsx("p", { className: "text-xs font-bold text-armoyu-text-muted uppercase tracking-widest opacity-60", children: "Kullan\u0131c\u0131 hikayelerini, ge\u00E7i\u015F efektlerini ve etkile\u015Fimleri test et." })] }), _jsx("div", { className: "glass-panel p-1 rounded-[2.5rem] overflow-hidden", children: _jsx(Stories, {}) }), _jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [_jsxs("div", { className: "bg-black/20 p-6 rounded-3xl border border-white/5", children: [_jsx("h4", { className: "text-[10px] font-black text-armoyu-primary uppercase tracking-widest mb-3", children: "H\u0130KAYE OLU\u015ETURMA" }), _jsx("p", { className: "text-xs text-armoyu-text-muted leading-relaxed", children: "API entegrasyonu tamamland\u0131\u011F\u0131nda buradan yeni hikaye payla\u015F\u0131m\u0131 yap\u0131labilecek." })] }), _jsxs("div", { className: "bg-black/20 p-6 rounded-3xl border border-white/5", children: [_jsx("h4", { className: "text-[10px] font-black text-emerald-500 uppercase tracking-widest mb-3", children: "\u0130STAT\u0130ST\u0130KLER" }), _jsx("p", { className: "text-xs text-armoyu-text-muted leading-relaxed", children: "Hikaye izlenme ve etkile\u015Fim verileri burada g\u00F6r\u00FCnt\u00FClenecek." })] })] })] }));
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=StoriesTab.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoriesTab.js","sourceRoot":"","sources":["../../../src/components/showcase/StoriesTab.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,MAAM,UAAU,UAAU;IACxB,OAAO,CACL,eAAK,SAAS,EAAC,6DAA6D,aAC1E,eAAK,SAAS,EAAC,wEAAwE,aACrF,aAAI,SAAS,EAAC,qEAAqE,6CAAmB,EACtG,YAAG,SAAS,EAAC,+EAA+E,6GAExF,IACA,EAEN,cAAK,SAAS,EAAC,kDAAkD,YAC/D,KAAC,OAAO,KAAG,GACP,EAEN,eAAK,SAAS,EAAC,uCAAuC,aACpD,eAAK,SAAS,EAAC,mDAAmD,aAChE,aAAI,SAAS,EAAC,2EAA2E,2CAAsB,EAC/G,YAAG,SAAS,EAAC,gDAAgD,iIAEzD,IACA,EACN,eAAK,SAAS,EAAC,mDAAmD,aAChE,aAAI,SAAS,EAAC,wEAAwE,6CAAmB,EACzG,YAAG,SAAS,EAAC,gDAAgD,gGAEzD,IACA,IACF,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ArmoyuUI } from '../lib/ArmoyuUI';
|
|
3
|
+
import { ArmoyuApi } from '@armoyu/core';
|
|
4
|
+
export interface ArmoyuNavigationConfig {
|
|
5
|
+
profilePrefix?: string;
|
|
6
|
+
groupPrefix?: string;
|
|
7
|
+
forumPrefix?: string;
|
|
8
|
+
educationPrefix?: string;
|
|
9
|
+
newsPrefix?: string;
|
|
10
|
+
galleryPrefix?: string;
|
|
11
|
+
giveawayPrefix?: string;
|
|
12
|
+
projectPrefix?: string;
|
|
13
|
+
storePrefix?: string;
|
|
14
|
+
managementPrefix?: string;
|
|
15
|
+
myArticlesPrefix?: string;
|
|
16
|
+
pollPrefix?: string;
|
|
17
|
+
supportPrefix?: string;
|
|
18
|
+
}
|
|
19
|
+
interface ArmoyuContextType {
|
|
20
|
+
ui: ArmoyuUI;
|
|
21
|
+
api: ArmoyuApi;
|
|
22
|
+
apiKey: string;
|
|
23
|
+
token: string;
|
|
24
|
+
isMockEnabled: boolean;
|
|
25
|
+
navigation: Required<ArmoyuNavigationConfig>;
|
|
26
|
+
setGlobalApiKey: (key: string) => void;
|
|
27
|
+
setGlobalToken: (token: string) => void;
|
|
28
|
+
setMockEnabled: (enabled: boolean) => void;
|
|
29
|
+
}
|
|
30
|
+
export interface ArmoyuProviderProps {
|
|
31
|
+
children: ReactNode;
|
|
32
|
+
ui: ArmoyuUI;
|
|
33
|
+
navigation?: ArmoyuNavigationConfig;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* ArmoyuProvider provides the global ArmoyuUI instance to all UI components.
|
|
37
|
+
* This is required for any component that interacts with the ARMOYU backend.
|
|
38
|
+
*/
|
|
39
|
+
export declare function ArmoyuProvider({ children, ui, navigation }: ArmoyuProviderProps): import("react/jsx-runtime").JSX.Element | null;
|
|
40
|
+
/**
|
|
41
|
+
* Custom hook to access the ArmoyuApi instance.
|
|
42
|
+
*/
|
|
43
|
+
export declare function useArmoyu(): ArmoyuContextType;
|
|
44
|
+
export {};
|
|
45
|
+
//# sourceMappingURL=ArmoyuContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArmoyuContext.d.ts","sourceRoot":"","sources":["../../src/context/ArmoyuContext.tsx"],"names":[],"mappings":"AAEA,OAAc,EAA6B,SAAS,EAAoC,MAAM,OAAO,CAAC;AACtG,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,MAAM,WAAW,sBAAsB;IACrC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAA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