@armoyu/ui 1.1.24 → 1.1.31
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.d.ts.map +1 -1
- package/dist/app/Providers.js +19 -21
- package/dist/app/Providers.js.map +1 -1
- package/dist/app/education/[slug]/page.d.ts +2 -0
- package/dist/app/education/[slug]/page.d.ts.map +1 -0
- package/dist/app/education/[slug]/page.js +7 -0
- package/dist/app/education/[slug]/page.js.map +1 -0
- package/dist/app/egitim/[slug]/page.js +4 -7
- package/dist/app/egitim/[slug]/page.js.map +1 -1
- package/dist/app/etkinlikler/[eventId]/page.js +8 -11
- package/dist/app/etkinlikler/[eventId]/page.js.map +1 -1
- package/dist/app/etkinlikler/page.js +14 -17
- package/dist/app/etkinlikler/page.js.map +1 -1
- package/dist/app/events/[eventId]/page.d.ts +2 -0
- package/dist/app/events/[eventId]/page.d.ts.map +1 -0
- package/dist/app/events/[eventId]/page.js +12 -0
- package/dist/app/events/[eventId]/page.js.map +1 -0
- package/dist/app/events/page.d.ts +2 -0
- package/dist/app/events/page.d.ts.map +1 -0
- package/dist/app/events/page.js +32 -0
- package/dist/app/events/page.js.map +1 -0
- package/dist/app/groups/[groupId]/page.d.ts +2 -0
- package/dist/app/groups/[groupId]/page.d.ts.map +1 -0
- package/dist/app/groups/[groupId]/page.js +10 -0
- package/dist/app/groups/[groupId]/page.js.map +1 -0
- package/dist/app/gruplar/[groupId]/page.d.ts.map +1 -1
- package/dist/app/gruplar/[groupId]/page.js +7 -9
- package/dist/app/gruplar/[groupId]/page.js.map +1 -1
- package/dist/app/layout.js +12 -19
- package/dist/app/layout.js.map +1 -1
- package/dist/app/management-panel/layout.d.ts +5 -0
- package/dist/app/management-panel/layout.d.ts.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.d.ts +2 -0
- package/dist/app/management-panel/page.d.ts.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/page.d.ts.map +1 -1
- package/dist/app/page.js +48 -49
- package/dist/app/page.js.map +1 -1
- package/dist/components/Button.js +6 -42
- package/dist/components/Button.js.map +1 -1
- package/dist/components/GenderStatsBar.js +3 -6
- package/dist/components/GenderStatsBar.js.map +1 -1
- package/dist/components/RollingNumber.d.ts +2 -1
- package/dist/components/RollingNumber.d.ts.map +1 -1
- package/dist/components/RollingNumber.js +15 -14
- package/dist/components/RollingNumber.js.map +1 -1
- package/dist/components/Slider.js +11 -14
- package/dist/components/Slider.js.map +1 -1
- package/dist/components/StatsGrid.js +4 -7
- package/dist/components/StatsGrid.js.map +1 -1
- package/dist/components/ViewModeToggle.js +7 -10
- package/dist/components/ViewModeToggle.js.map +1 -1
- package/dist/components/common/Mentions/HashtagLink.js +4 -11
- package/dist/components/common/Mentions/HashtagLink.js.map +1 -1
- package/dist/components/common/Mentions/MentionLink.js +11 -18
- package/dist/components/common/Mentions/MentionLink.js.map +1 -1
- package/dist/components/common/Mentions/MentionText.js +8 -48
- package/dist/components/common/Mentions/MentionText.js.map +1 -1
- package/dist/components/modules/auth/widgets/AuthJoinCard.js +11 -14
- package/dist/components/modules/auth/widgets/AuthJoinCard.js.map +1 -1
- package/dist/components/modules/auth/widgets/InviteWidget.js +15 -18
- package/dist/components/modules/auth/widgets/InviteWidget.js.map +1 -1
- package/dist/components/modules/auth/widgets/LoginWidget.d.ts.map +1 -1
- package/dist/components/modules/auth/widgets/LoginWidget.js +20 -26
- package/dist/components/modules/auth/widgets/LoginWidget.js.map +1 -1
- package/dist/components/modules/auth/widgets/RegisterWidget.d.ts.map +1 -1
- package/dist/components/modules/auth/widgets/RegisterWidget.js +43 -39
- package/dist/components/modules/auth/widgets/RegisterWidget.js.map +1 -1
- package/dist/components/modules/blog/pages/MyArticlesPage.js +26 -29
- package/dist/components/modules/blog/pages/MyArticlesPage.js.map +1 -1
- package/dist/components/modules/chat/ChatLayout.d.ts.map +1 -1
- package/dist/components/modules/chat/ChatLayout.js +46 -76
- package/dist/components/modules/chat/ChatLayout.js.map +1 -1
- package/dist/components/modules/chat/widgets/ChatInput.js +8 -11
- package/dist/components/modules/chat/widgets/ChatInput.js.map +1 -1
- package/dist/components/modules/chat/widgets/ChatList.js +22 -25
- package/dist/components/modules/chat/widgets/ChatList.js.map +1 -1
- package/dist/components/modules/chat/widgets/ChatMessage.js +5 -8
- package/dist/components/modules/chat/widgets/ChatMessage.js.map +1 -1
- package/dist/components/modules/cloud/CloudModal.js +40 -43
- package/dist/components/modules/cloud/CloudModal.js.map +1 -1
- package/dist/components/modules/cloud/CloudWidget.js +4 -7
- package/dist/components/modules/cloud/CloudWidget.js.map +1 -1
- package/dist/components/modules/community/CommunityLayout.d.ts.map +1 -1
- package/dist/components/modules/community/CommunityLayout.js +37 -40
- package/dist/components/modules/community/CommunityLayout.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupAboutCard.js +4 -7
- package/dist/components/modules/community/widgets/GroupAboutCard.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupFeedSection.js +5 -8
- package/dist/components/modules/community/widgets/GroupFeedSection.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupHeader.js +7 -10
- package/dist/components/modules/community/widgets/GroupHeader.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupMenu.js +5 -11
- package/dist/components/modules/community/widgets/GroupMenu.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupPermissions.js +4 -7
- package/dist/components/modules/community/widgets/GroupPermissions.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupStatsGrid.js +8 -11
- package/dist/components/modules/community/widgets/GroupStatsGrid.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupTopMembers.js +5 -11
- package/dist/components/modules/community/widgets/GroupTopMembers.js.map +1 -1
- package/dist/components/modules/community/widgets/SchoolCard.d.ts.map +1 -1
- package/dist/components/modules/community/widgets/SchoolCard.js +8 -11
- package/dist/components/modules/community/widgets/SchoolCard.js.map +1 -1
- 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.js +11 -14
- package/dist/components/modules/community/widgets/SurveyCard.js.map +1 -1
- package/dist/components/modules/education/pages/EducationPage.js +16 -19
- package/dist/components/modules/education/pages/EducationPage.js.map +1 -1
- package/dist/components/modules/education/pages/SchoolDetailPage.js +29 -32
- package/dist/components/modules/education/pages/SchoolDetailPage.js.map +1 -1
- package/dist/components/modules/events/DetailPage.d.ts +1 -1
- package/dist/components/modules/events/DetailPage.d.ts.map +1 -1
- package/dist/components/modules/events/DetailPage.js +38 -32
- package/dist/components/modules/events/DetailPage.js.map +1 -1
- package/dist/components/modules/events/EventsLayout.d.ts.map +1 -1
- package/dist/components/modules/events/EventsLayout.js +4 -6
- package/dist/components/modules/events/EventsLayout.js.map +1 -1
- package/dist/components/modules/events/EventsPage.d.ts.map +1 -1
- package/dist/components/modules/events/EventsPage.js +30 -33
- package/dist/components/modules/events/EventsPage.js.map +1 -1
- package/dist/components/modules/events/widgets/EventCard.js +6 -12
- package/dist/components/modules/events/widgets/EventCard.js.map +1 -1
- package/dist/components/modules/events/widgets/EventFormModal.js +4 -7
- package/dist/components/modules/events/widgets/EventFormModal.js.map +1 -1
- package/dist/components/modules/events/widgets/EventList.js +10 -16
- package/dist/components/modules/events/widgets/EventList.js.map +1 -1
- package/dist/components/modules/events/widgets/EventShowcase.js +15 -18
- package/dist/components/modules/events/widgets/EventShowcase.js.map +1 -1
- package/dist/components/modules/forum/pages/ForumBoardPage.js +11 -14
- package/dist/components/modules/forum/pages/ForumBoardPage.js.map +1 -1
- package/dist/components/modules/forum/pages/ForumPage.js +11 -14
- package/dist/components/modules/forum/pages/ForumPage.js.map +1 -1
- package/dist/components/modules/forum/pages/ForumTopicPage.js +7 -10
- package/dist/components/modules/forum/pages/ForumTopicPage.js.map +1 -1
- package/dist/components/modules/forum/widgets/ForumBoard.js +4 -10
- package/dist/components/modules/forum/widgets/ForumBoard.js.map +1 -1
- package/dist/components/modules/forum/widgets/ForumCategoryList.js +4 -7
- package/dist/components/modules/forum/widgets/ForumCategoryList.js.map +1 -1
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js +3 -6
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js.map +1 -1
- package/dist/components/modules/forum/widgets/ForumPost.js +3 -6
- package/dist/components/modules/forum/widgets/ForumPost.js.map +1 -1
- package/dist/components/modules/forum/widgets/ForumSidebar.js +3 -6
- package/dist/components/modules/forum/widgets/ForumSidebar.js.map +1 -1
- package/dist/components/modules/forum/widgets/NewTopicModal.js +5 -8
- package/dist/components/modules/forum/widgets/NewTopicModal.js.map +1 -1
- package/dist/components/modules/forum/widgets/TopicItem.js +4 -10
- package/dist/components/modules/forum/widgets/TopicItem.js.map +1 -1
- package/dist/components/modules/galleries/widgets/GalleryCard.js +3 -6
- package/dist/components/modules/galleries/widgets/GalleryCard.js.map +1 -1
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js +3 -6
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js.map +1 -1
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js +3 -6
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js.map +1 -1
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js +3 -6
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js.map +1 -1
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.d.ts.map +1 -1
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js +5 -7
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js.map +1 -1
- package/dist/components/modules/giveaways/pages/GiveawaysPage.js +11 -14
- package/dist/components/modules/giveaways/pages/GiveawaysPage.js.map +1 -1
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts.map +1 -1
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js +3 -6
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js.map +1 -1
- package/dist/components/modules/groups/widgets/ApplicationModal.js +5 -8
- package/dist/components/modules/groups/widgets/ApplicationModal.js.map +1 -1
- package/dist/components/modules/groups/widgets/GroupCard.js +4 -10
- package/dist/components/modules/groups/widgets/GroupCard.js.map +1 -1
- package/dist/components/modules/guest/widgets/Introduction.js +9 -12
- package/dist/components/modules/guest/widgets/Introduction.js.map +1 -1
- package/dist/components/modules/management/ManagementAccessDenied.js +5 -12
- package/dist/components/modules/management/ManagementAccessDenied.js.map +1 -1
- package/dist/components/modules/management/ManagementSidebar.d.ts +6 -0
- package/dist/components/modules/management/ManagementSidebar.d.ts.map +1 -1
- package/dist/components/modules/management/ManagementSidebar.js +45 -19
- package/dist/components/modules/management/ManagementSidebar.js.map +1 -1
- package/dist/components/modules/management/widgets/ManagementCharts.d.ts +15 -0
- package/dist/components/modules/management/widgets/ManagementCharts.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/ManagementCharts.js +10 -0
- package/dist/components/modules/management/widgets/ManagementCharts.js.map +1 -0
- package/dist/components/modules/management/widgets/ManagementDashboard.d.ts +30 -39
- package/dist/components/modules/management/widgets/ManagementDashboard.d.ts.map +1 -1
- package/dist/components/modules/management/widgets/ManagementDashboard.js +18 -25
- package/dist/components/modules/management/widgets/ManagementDashboard.js.map +1 -1
- package/dist/components/modules/management/widgets/MemberManagement.d.ts +16 -0
- package/dist/components/modules/management/widgets/MemberManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/MemberManagement.js +25 -0
- package/dist/components/modules/management/widgets/MemberManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/SystemSettings.d.ts +2 -0
- package/dist/components/modules/management/widgets/SystemSettings.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/SystemSettings.js +7 -0
- package/dist/components/modules/management/widgets/SystemSettings.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.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.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.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.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.js +10 -13
- package/dist/components/modules/mods/pages/ModDetailPage.js.map +1 -1
- package/dist/components/modules/mods/pages/ModsPage.js +8 -12
- package/dist/components/modules/mods/pages/ModsPage.js.map +1 -1
- package/dist/components/modules/news/pages/NewsDetailPage.js +22 -25
- package/dist/components/modules/news/pages/NewsDetailPage.js.map +1 -1
- package/dist/components/modules/news/pages/NewsPage.js +24 -27
- package/dist/components/modules/news/pages/NewsPage.js.map +1 -1
- package/dist/components/modules/news/widgets/NewsCard.js +4 -10
- package/dist/components/modules/news/widgets/NewsCard.js.map +1 -1
- package/dist/components/modules/news/widgets/NewsComments.js +4 -7
- package/dist/components/modules/news/widgets/NewsComments.js.map +1 -1
- package/dist/components/modules/news/widgets/NewsDetailAuthor.js +4 -7
- package/dist/components/modules/news/widgets/NewsDetailAuthor.js.map +1 -1
- package/dist/components/modules/news/widgets/NewsDetailHero.js +4 -7
- package/dist/components/modules/news/widgets/NewsDetailHero.js.map +1 -1
- package/dist/components/modules/news/widgets/NewsDetailSidebar.js +4 -7
- package/dist/components/modules/news/widgets/NewsDetailSidebar.js.map +1 -1
- package/dist/components/modules/news/widgets/NewsHero.js +4 -7
- package/dist/components/modules/news/widgets/NewsHero.js.map +1 -1
- package/dist/components/modules/poll/pages/PollsPage.js +22 -25
- package/dist/components/modules/poll/pages/PollsPage.js.map +1 -1
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/MediaLightbox.js +24 -65
- package/dist/components/modules/posts/widgets/MediaLightbox.js.map +1 -1
- package/dist/components/modules/posts/widgets/PostCard.d.ts +3 -0
- package/dist/components/modules/posts/widgets/PostCard.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/PostCard.js +61 -101
- package/dist/components/modules/posts/widgets/PostCard.js.map +1 -1
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js +7 -13
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js.map +1 -1
- 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.js +11 -14
- package/dist/components/modules/posts/widgets/RepostModal.js.map +1 -1
- package/dist/components/modules/posts/widgets/SocialFeed.js +28 -31
- package/dist/components/modules/posts/widgets/SocialFeed.js.map +1 -1
- package/dist/components/modules/posts/widgets/reels/ReelCard.js +13 -16
- package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +1 -1
- package/dist/components/modules/profile/ProfileLayout.js +22 -25
- package/dist/components/modules/profile/ProfileLayout.js.map +1 -1
- package/dist/components/modules/profile/tabs/AboutTab.js +6 -9
- package/dist/components/modules/profile/tabs/AboutTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/CareerTab.js +14 -17
- package/dist/components/modules/profile/tabs/CareerTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/FriendsTab.js +16 -22
- package/dist/components/modules/profile/tabs/FriendsTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/GamesTab.js +7 -10
- package/dist/components/modules/profile/tabs/GamesTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts.map +1 -1
- package/dist/components/modules/profile/tabs/GroupsTab.js +5 -11
- package/dist/components/modules/profile/tabs/GroupsTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/MediaTab.js +18 -21
- package/dist/components/modules/profile/tabs/MediaTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/PostsTab.d.ts.map +1 -1
- package/dist/components/modules/profile/tabs/PostsTab.js +12 -48
- package/dist/components/modules/profile/tabs/PostsTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/QuestionsTab.js +10 -13
- package/dist/components/modules/profile/tabs/QuestionsTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/TaggedPostsTab.d.ts.map +1 -1
- package/dist/components/modules/profile/tabs/WallTab.d.ts.map +1 -1
- package/dist/components/modules/profile/tabs/WallTab.js +12 -48
- package/dist/components/modules/profile/tabs/WallTab.js.map +1 -1
- package/dist/components/modules/profile/widgets/EditProfileModal.js +24 -27
- package/dist/components/modules/profile/widgets/EditProfileModal.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js +9 -12
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js +4 -7
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.js +5 -8
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js +5 -8
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts +2 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.js +23 -14
- package/dist/components/modules/profile/widgets/ProfileHeader.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.js +17 -20
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileStats.js +12 -23
- package/dist/components/modules/profile/widgets/ProfileStats.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js +26 -29
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +1 -1
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js +12 -15
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js.map +1 -1
- package/dist/components/modules/shop/CartLayout.js +5 -8
- package/dist/components/modules/shop/CartLayout.js.map +1 -1
- package/dist/components/modules/shop/CheckoutLayout.js +7 -10
- package/dist/components/modules/shop/CheckoutLayout.js.map +1 -1
- package/dist/components/modules/shop/DetailLayout.js +13 -16
- package/dist/components/modules/shop/DetailLayout.js.map +1 -1
- package/dist/components/modules/shop/OrdersLayout.js +5 -8
- package/dist/components/modules/shop/OrdersLayout.js.map +1 -1
- package/dist/components/modules/shop/widgets/BackToStore.js +10 -16
- package/dist/components/modules/shop/widgets/BackToStore.js.map +1 -1
- package/dist/components/modules/shop/widgets/CategoryWidget.js +14 -17
- package/dist/components/modules/shop/widgets/CategoryWidget.js.map +1 -1
- package/dist/components/modules/shop/widgets/ProductCard.js +3 -6
- package/dist/components/modules/shop/widgets/ProductCard.js.map +1 -1
- package/dist/components/modules/shop/widgets/StoreHeader.js +6 -12
- package/dist/components/modules/shop/widgets/StoreHeader.js.map +1 -1
- package/dist/components/modules/shop/widgets/StoreProductGrid.js +5 -11
- package/dist/components/modules/shop/widgets/StoreProductGrid.js.map +1 -1
- package/dist/components/modules/shop/widgets/StoreSearchBar.js +7 -13
- package/dist/components/modules/shop/widgets/StoreSearchBar.js.map +1 -1
- package/dist/components/modules/shop/widgets/StoreSidebar.js +5 -8
- package/dist/components/modules/shop/widgets/StoreSidebar.js.map +1 -1
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js +8 -11
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js.map +1 -1
- package/dist/components/modules/social/SocialLayout.js +32 -38
- package/dist/components/modules/social/SocialLayout.js.map +1 -1
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +1 -1
- package/dist/components/modules/social/widgets/EconomyWidget.js +17 -19
- package/dist/components/modules/social/widgets/EconomyWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/LeagueWidget.js +13 -16
- package/dist/components/modules/social/widgets/LeagueWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.js +12 -15
- package/dist/components/modules/social/widgets/MinecraftWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/NewMembersWidget.d.ts.map +1 -1
- package/dist/components/modules/social/widgets/NewMembersWidget.js +11 -17
- package/dist/components/modules/social/widgets/NewMembersWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/PostComposer.d.ts.map +1 -1
- package/dist/components/modules/social/widgets/PostComposer.js +59 -27
- package/dist/components/modules/social/widgets/PostComposer.js.map +1 -1
- package/dist/components/modules/social/widgets/RankingWidget.js +22 -25
- package/dist/components/modules/social/widgets/RankingWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/TrendingWidget.js +11 -18
- package/dist/components/modules/social/widgets/TrendingWidget.js.map +1 -1
- package/dist/components/modules/stations/widgets/StationCard.js +10 -16
- package/dist/components/modules/stations/widgets/StationCard.js.map +1 -1
- package/dist/components/modules/stations/widgets/StationQRModal.js +4 -7
- package/dist/components/modules/stations/widgets/StationQRModal.js.map +1 -1
- package/dist/components/modules/stories/widgets/AddStoryModal.js +6 -9
- package/dist/components/modules/stories/widgets/AddStoryModal.js.map +1 -1
- package/dist/components/modules/stories/widgets/Stories.js +32 -35
- package/dist/components/modules/stories/widgets/Stories.js.map +1 -1
- package/dist/components/modules/stories/widgets/StoryOverlay.js +28 -67
- package/dist/components/modules/stories/widgets/StoryOverlay.js.map +1 -1
- 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/DevTools.js +12 -15
- package/dist/components/shared/DevTools.js.map +1 -1
- package/dist/components/shared/FilterTabs.js +11 -14
- package/dist/components/shared/FilterTabs.js.map +1 -1
- package/dist/components/shared/FloatingChatButton.js +10 -13
- package/dist/components/shared/FloatingChatButton.js.map +1 -1
- package/dist/components/shared/Footer.js +3 -6
- package/dist/components/shared/Footer.js.map +1 -1
- package/dist/components/shared/Header.d.ts +10 -1
- package/dist/components/shared/Header.d.ts.map +1 -1
- package/dist/components/shared/Header.js +107 -85
- package/dist/components/shared/Header.js.map +1 -1
- package/dist/components/shared/ListToolbar.js +6 -9
- package/dist/components/shared/ListToolbar.js.map +1 -1
- package/dist/components/shared/LoginModal.js +7 -10
- package/dist/components/shared/LoginModal.js.map +1 -1
- package/dist/components/shared/MainLayoutWrapper.js +5 -8
- package/dist/components/shared/MainLayoutWrapper.js.map +1 -1
- package/dist/components/shared/NotFound.js +4 -7
- package/dist/components/shared/NotFound.js.map +1 -1
- package/dist/components/shared/PageWidth.js +7 -10
- package/dist/components/shared/PageWidth.js.map +1 -1
- package/dist/components/shared/SearchBar.js +6 -9
- package/dist/components/shared/SearchBar.js.map +1 -1
- package/dist/components/shared/UserDrawer.d.ts +1 -1
- package/dist/components/shared/UserDrawer.d.ts.map +1 -1
- package/dist/components/shared/UserDrawer.js +29 -53
- package/dist/components/shared/UserDrawer.js.map +1 -1
- package/dist/components/showcase/AuthTab.js +11 -14
- package/dist/components/showcase/AuthTab.js.map +1 -1
- package/dist/components/showcase/CommunityTab.js +4 -7
- package/dist/components/showcase/CommunityTab.js.map +1 -1
- package/dist/components/showcase/CorporateTab.js +4 -7
- package/dist/components/showcase/CorporateTab.js.map +1 -1
- package/dist/components/showcase/GeneralTab.js +4 -7
- package/dist/components/showcase/GeneralTab.js.map +1 -1
- package/dist/components/showcase/GroupTab.d.ts.map +1 -1
- package/dist/components/showcase/GroupTab.js +28 -36
- package/dist/components/showcase/GroupTab.js.map +1 -1
- package/dist/components/showcase/MessagesTab.js +10 -13
- package/dist/components/showcase/MessagesTab.js.map +1 -1
- package/dist/components/showcase/MyPostsTab.js +7 -10
- package/dist/components/showcase/MyPostsTab.js.map +1 -1
- package/dist/components/showcase/ReelsTab.js +15 -18
- package/dist/components/showcase/ReelsTab.js.map +1 -1
- 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 +15 -18
- package/dist/components/showcase/ShopTab.js.map +1 -1
- package/dist/components/showcase/ShowcaseNavigation.d.ts.map +1 -1
- package/dist/components/showcase/ShowcaseNavigation.js +59 -54
- package/dist/components/showcase/ShowcaseNavigation.js.map +1 -1
- package/dist/components/showcase/SocialTab.d.ts.map +1 -1
- package/dist/components/showcase/SocialTab.js +16 -53
- package/dist/components/showcase/SocialTab.js.map +1 -1
- package/dist/components/showcase/StoriesTab.js +4 -7
- package/dist/components/showcase/StoriesTab.js.map +1 -1
- package/dist/context/ArmoyuContext.d.ts.map +1 -1
- package/dist/context/ArmoyuContext.js +33 -32
- package/dist/context/ArmoyuContext.js.map +1 -1
- package/dist/context/AuthContext.d.ts.map +1 -1
- package/dist/context/AuthContext.js +27 -32
- package/dist/context/AuthContext.js.map +1 -1
- package/dist/context/CartContext.js +15 -19
- package/dist/context/CartContext.js.map +1 -1
- package/dist/context/ChatContext.d.ts.map +1 -1
- package/dist/context/ChatContext.js +52 -45
- package/dist/context/ChatContext.js.map +1 -1
- package/dist/context/LayoutContext.js +9 -13
- package/dist/context/LayoutContext.js.map +1 -1
- package/dist/context/SocketContext.js +11 -15
- package/dist/context/SocketContext.js.map +1 -1
- package/dist/context/ThemeContext.d.ts +3 -0
- package/dist/context/ThemeContext.d.ts.map +1 -1
- package/dist/context/ThemeContext.js +23 -15
- package/dist/context/ThemeContext.js.map +1 -1
- package/dist/index.d.ts +34 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +170 -262
- package/dist/index.js.map +1 -1
- package/dist/lib/constants/educationData.js +28 -32
- package/dist/lib/constants/educationData.js.map +1 -1
- package/dist/lib/constants/punishmentData.js +6 -12
- package/dist/lib/constants/punishmentData.js.map +1 -1
- package/dist/lib/constants/seedData.d.ts.map +1 -1
- package/dist/lib/constants/seedData.js +258 -263
- package/dist/lib/constants/seedData.js.map +1 -1
- package/dist/lib/constants/stationData.js +32 -35
- package/dist/lib/constants/stationData.js.map +1 -1
- package/dist/lib/constants/surveyData.js +15 -19
- package/dist/lib/constants/surveyData.js.map +1 -1
- package/dist/lib/constants/teamData.js +2 -5
- package/dist/lib/constants/teamData.js.map +1 -1
- package/dist/lib/utils/numberFormat.js +1 -4
- package/dist/lib/utils/numberFormat.js.map +1 -1
- package/dist/lib/utils/odpUtils.js +1 -5
- package/dist/lib/utils/odpUtils.js.map +1 -1
- package/dist/lib/utils/postUtils.d.ts.map +1 -1
- package/dist/lib/utils/postUtils.js +7 -7
- package/dist/lib/utils/postUtils.js.map +1 -1
- package/dist/models/auth/User.d.ts +5 -0
- package/dist/models/auth/User.d.ts.map +1 -1
- package/dist/models/auth/User.js +24 -22
- package/dist/models/auth/User.js.map +1 -1
- package/dist/models/community/ArmoyuEvent.d.ts +12 -2
- package/dist/models/community/ArmoyuEvent.d.ts.map +1 -1
- package/dist/models/community/ArmoyuEvent.js +51 -7
- package/dist/models/community/ArmoyuEvent.js.map +1 -1
- package/dist/models/community/Classroom.d.ts +5 -0
- package/dist/models/community/Classroom.d.ts.map +1 -1
- package/dist/models/community/Faculty.d.ts +5 -0
- package/dist/models/community/Faculty.d.ts.map +1 -1
- package/dist/models/community/Team.js +3 -7
- package/dist/models/community/Team.js.map +1 -1
- package/dist/models/content/News.d.ts +5 -0
- package/dist/models/content/News.d.ts.map +1 -1
- package/dist/models/core/PlatformStats.js +2 -6
- package/dist/models/core/PlatformStats.js.map +1 -1
- package/dist/models/core/SystemSettings.js +2 -6
- package/dist/models/core/SystemSettings.js.map +1 -1
- package/dist/models/social/feed/Post.d.ts +3 -0
- package/dist/models/social/feed/Post.d.ts.map +1 -1
- package/dist/models/social/feed/Post.js +17 -15
- package/dist/models/social/feed/Post.js.map +1 -1
- package/dist/types/index.js +3 -19
- package/dist/types/index.js.map +1 -1
- package/dist/types/stats.js +1 -2
- package/package.json +48 -48
- package/src/globals.css +298 -238
- package/dist/app/api/proxy/[...path]/route.d.ts +0 -23
- package/dist/app/api/proxy/[...path]/route.d.ts.map +0 -1
- package/dist/app/api/proxy/[...path]/route.js +0 -134
- package/dist/app/api/proxy/[...path]/route.js.map +0 -1
- package/dist/app/not-found.js +0 -10
- package/dist/app/not-found.js.map +0 -1
- package/dist/components/modules/chat/widgets/ChatNotes.js +0 -18
- package/dist/components/modules/chat/widgets/ChatNotes.js.map +0 -1
- package/dist/components/modules/events/index.js +0 -17
- package/dist/components/modules/events/index.js.map +0 -1
- package/dist/components/modules/giveaway/pages/GiveawayDetailPage.d.ts +0 -6
- package/dist/components/modules/giveaway/pages/GiveawayDetailPage.d.ts.map +0 -1
- package/dist/components/modules/giveaway/pages/GiveawayDetailPage.js +0 -44
- package/dist/components/modules/giveaway/pages/GiveawayDetailPage.js.map +0 -1
- package/dist/components/modules/giveaway/pages/GiveawaysPage.d.ts +0 -2
- package/dist/components/modules/giveaway/pages/GiveawaysPage.d.ts.map +0 -1
- package/dist/components/modules/giveaway/pages/GiveawaysPage.js +0 -63
- package/dist/components/modules/giveaway/pages/GiveawaysPage.js.map +0 -1
- package/dist/components/modules/management/ManagementLayout.js +0 -17
- package/dist/components/modules/management/ManagementLayout.js.map +0 -1
- package/dist/components/modules/management/ManagementMobileToggle.d.ts +0 -6
- package/dist/components/modules/management/ManagementMobileToggle.d.ts.map +0 -1
- package/dist/components/modules/management/ManagementMobileToggle.js +0 -10
- package/dist/components/modules/management/ManagementMobileToggle.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementActivityFeed.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementActivityFeed.js +0 -14
- package/dist/components/modules/management/widgets/ManagementActivityFeed.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementHeader.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementHeader.js +0 -9
- package/dist/components/modules/management/widgets/ManagementHeader.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementQuickActions.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementQuickActions.js +0 -14
- package/dist/components/modules/management/widgets/ManagementQuickActions.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementStatsGrid.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementStatsGrid.js +0 -10
- package/dist/components/modules/management/widgets/ManagementStatsGrid.js.map +0 -1
- package/dist/components/modules/news/NewsLayout.d.ts +0 -7
- package/dist/components/modules/news/NewsLayout.d.ts.map +0 -1
- package/dist/components/modules/news/NewsLayout.js +0 -10
- package/dist/components/modules/news/NewsLayout.js.map +0 -1
- package/dist/components/modules/news/index.js +0 -22
- package/dist/components/modules/news/index.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailInteraction.d.ts +0 -7
- package/dist/components/modules/news/widgets/NewsDetailInteraction.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailInteraction.js +0 -11
- package/dist/components/modules/news/widgets/NewsDetailInteraction.js.map +0 -1
- package/dist/components/modules/posts/widgets/Stories.d.ts +0 -2
- package/dist/components/modules/posts/widgets/Stories.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/Stories.js +0 -24
- package/dist/components/modules/posts/widgets/Stories.js.map +0 -1
- package/dist/components/modules/posts/widgets/StoryViewer.d.ts +0 -10
- package/dist/components/modules/posts/widgets/StoryViewer.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/StoryViewer.js +0 -54
- package/dist/components/modules/posts/widgets/StoryViewer.js.map +0 -1
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js +0 -27
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js.map +0 -1
- package/dist/components/modules/profile/tabs/TaggedPostsTab.js +0 -12
- package/dist/components/modules/profile/tabs/TaggedPostsTab.js.map +0 -1
- package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts +0 -9
- package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/CloudStorageModal.js +0 -35
- package/dist/components/modules/profile/widgets/CloudStorageModal.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts +0 -6
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js +0 -9
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileSidebar.js +0 -14
- package/dist/components/modules/profile/widgets/ProfileSidebar.js.map +0 -1
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.js +0 -19
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.js.map +0 -1
- package/dist/components/modules/shop/StoreLayout.d.ts +0 -8
- package/dist/components/modules/shop/StoreLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/StoreLayout.js +0 -9
- package/dist/components/modules/shop/StoreLayout.js.map +0 -1
- package/dist/components/modules/social/widgets/SocialSidebar.js +0 -12
- package/dist/components/modules/social/widgets/SocialSidebar.js.map +0 -1
- package/dist/components/shared/Icons.d.ts +0 -8
- package/dist/components/shared/Icons.d.ts.map +0 -1
- package/dist/components/shared/Icons.js +0 -11
- package/dist/components/shared/Icons.js.map +0 -1
- package/dist/components/shared/RegisterModal.js +0 -12
- package/dist/components/shared/RegisterModal.js.map +0 -1
- package/dist/components/showcase/ProfileTab.js +0 -76
- package/dist/components/showcase/ProfileTab.js.map +0 -1
- package/dist/hooks/useDebounce.d.ts +0 -2
- package/dist/hooks/useDebounce.d.ts.map +0 -1
- package/dist/hooks/useDebounce.js +0 -17
- package/dist/hooks/useDebounce.js.map +0 -1
- package/dist/lib/ArmoyuUI.js +0 -29
- package/dist/lib/ArmoyuUI.js.map +0 -1
- package/dist/lib/constants/config.d.ts +0 -9
- package/dist/lib/constants/config.d.ts.map +0 -1
- package/dist/lib/constants/config.js +0 -18
- package/dist/lib/constants/config.js.map +0 -1
- package/dist/models/BaseModel.d.ts +0 -13
- package/dist/models/BaseModel.d.ts.map +0 -1
- package/dist/models/BaseModel.js +0 -17
- package/dist/models/BaseModel.js.map +0 -1
- package/dist/models/auth/RankedUser.d.ts +0 -20
- package/dist/models/auth/RankedUser.d.ts.map +0 -1
- package/dist/models/auth/RankedUser.js +0 -40
- package/dist/models/auth/RankedUser.js.map +0 -1
- package/dist/models/auth/Role.d.ts +0 -16
- package/dist/models/auth/Role.d.ts.map +0 -1
- package/dist/models/auth/Role.js +0 -37
- package/dist/models/auth/Role.js.map +0 -1
- package/dist/models/auth/Session.js +0 -54
- package/dist/models/auth/Session.js.map +0 -1
- package/dist/models/auth/StaffApplication.d.ts +0 -20
- package/dist/models/auth/StaffApplication.d.ts.map +0 -1
- package/dist/models/auth/StaffApplication.js +0 -40
- package/dist/models/auth/StaffApplication.js.map +0 -1
- package/dist/models/auth/TeamMember.d.ts +0 -19
- package/dist/models/auth/TeamMember.d.ts.map +0 -1
- package/dist/models/auth/TeamMember.js +0 -38
- package/dist/models/auth/TeamMember.js.map +0 -1
- package/dist/models/auth/UserBadge.d.ts +0 -18
- package/dist/models/auth/UserBadge.d.ts.map +0 -1
- package/dist/models/auth/UserBadge.js +0 -38
- package/dist/models/auth/UserBadge.js.map +0 -1
- package/dist/models/community/Classroom.js +0 -37
- package/dist/models/community/Classroom.js.map +0 -1
- package/dist/models/community/Faculty.js +0 -33
- package/dist/models/community/Faculty.js.map +0 -1
- package/dist/models/community/Forum.d.ts +0 -26
- package/dist/models/community/Forum.d.ts.map +0 -1
- package/dist/models/community/Forum.js +0 -40
- package/dist/models/community/Forum.js.map +0 -1
- package/dist/models/community/Giveaway.d.ts +0 -22
- package/dist/models/community/Giveaway.d.ts.map +0 -1
- package/dist/models/community/Giveaway.js +0 -42
- package/dist/models/community/Giveaway.js.map +0 -1
- package/dist/models/community/Group.js +0 -119
- package/dist/models/community/Group.js.map +0 -1
- package/dist/models/community/School.js +0 -72
- package/dist/models/community/School.js.map +0 -1
- package/dist/models/community/SchoolTeam.js +0 -45
- package/dist/models/community/SchoolTeam.js.map +0 -1
- package/dist/models/community/Station.js +0 -172
- package/dist/models/community/Station.js.map +0 -1
- package/dist/models/community/Survey.js +0 -60
- package/dist/models/community/Survey.js.map +0 -1
- package/dist/models/community/SurveyAnswer.d.ts +0 -15
- package/dist/models/community/SurveyAnswer.d.ts.map +0 -1
- package/dist/models/community/SurveyAnswer.js +0 -30
- package/dist/models/community/SurveyAnswer.js.map +0 -1
- package/dist/models/community/Workplace.d.ts +0 -18
- package/dist/models/community/Workplace.d.ts.map +0 -1
- package/dist/models/community/Workplace.js +0 -36
- package/dist/models/community/Workplace.js.map +0 -1
- package/dist/models/content/Game.d.ts +0 -20
- package/dist/models/content/Game.d.ts.map +0 -1
- package/dist/models/content/Game.js +0 -44
- package/dist/models/content/Game.js.map +0 -1
- package/dist/models/content/Media.d.ts +0 -17
- package/dist/models/content/Media.d.ts.map +0 -1
- package/dist/models/content/Media.js +0 -34
- package/dist/models/content/Media.js.map +0 -1
- package/dist/models/content/Mod.js +0 -41
- package/dist/models/content/Mod.js.map +0 -1
- package/dist/models/content/News.js +0 -81
- package/dist/models/content/News.js.map +0 -1
- package/dist/models/content/PlatformStation.d.ts +0 -18
- package/dist/models/content/PlatformStation.d.ts.map +0 -1
- package/dist/models/content/PlatformStation.js +0 -36
- package/dist/models/content/PlatformStation.js.map +0 -1
- package/dist/models/content/PlatformTeam.d.ts +0 -14
- package/dist/models/content/PlatformTeam.d.ts.map +0 -1
- package/dist/models/content/PlatformTeam.js +0 -28
- package/dist/models/content/PlatformTeam.js.map +0 -1
- package/dist/models/content/Project.js +0 -47
- package/dist/models/content/Project.js.map +0 -1
- package/dist/models/content/ProjectScore.d.ts +0 -14
- package/dist/models/content/ProjectScore.d.ts.map +0 -1
- package/dist/models/content/ProjectScore.js +0 -28
- package/dist/models/content/ProjectScore.js.map +0 -1
- package/dist/models/content/StationEquipment.d.ts +0 -16
- package/dist/models/content/StationEquipment.d.ts.map +0 -1
- package/dist/models/content/StationEquipment.js +0 -32
- package/dist/models/content/StationEquipment.js.map +0 -1
- package/dist/models/core/Country.d.ts +0 -15
- package/dist/models/core/Country.d.ts.map +0 -1
- package/dist/models/core/Country.js +0 -30
- package/dist/models/core/Country.js.map +0 -1
- package/dist/models/core/Province.d.ts +0 -15
- package/dist/models/core/Province.d.ts.map +0 -1
- package/dist/models/core/Province.js +0 -30
- package/dist/models/core/Province.js.map +0 -1
- package/dist/models/core/Rule.d.ts +0 -16
- package/dist/models/core/Rule.d.ts.map +0 -1
- package/dist/models/core/Rule.js +0 -32
- package/dist/models/core/Rule.js.map +0 -1
- package/dist/models/index.js +0 -88
- package/dist/models/index.js.map +0 -1
- package/dist/models/shop/CartItem.d.ts +0 -20
- package/dist/models/shop/CartItem.d.ts.map +0 -1
- package/dist/models/shop/CartItem.js +0 -40
- package/dist/models/shop/CartItem.js.map +0 -1
- package/dist/models/shop/Invoice.d.ts +0 -18
- package/dist/models/shop/Invoice.d.ts.map +0 -1
- package/dist/models/shop/Invoice.js +0 -36
- package/dist/models/shop/Invoice.js.map +0 -1
- package/dist/models/shop/Order.d.ts +0 -23
- package/dist/models/shop/Order.d.ts.map +0 -1
- package/dist/models/shop/Order.js +0 -52
- package/dist/models/shop/Order.js.map +0 -1
- package/dist/models/shop/Product.d.ts +0 -26
- package/dist/models/shop/Product.d.ts.map +0 -1
- package/dist/models/shop/Product.js +0 -71
- package/dist/models/shop/Product.js.map +0 -1
- package/dist/models/social/chat/Chat.js +0 -84
- package/dist/models/social/chat/Chat.js.map +0 -1
- package/dist/models/social/chat/Message.js +0 -62
- package/dist/models/social/chat/Message.js.map +0 -1
- package/dist/models/social/chat/Note.d.ts +0 -16
- package/dist/models/social/chat/Note.d.ts.map +0 -1
- package/dist/models/social/chat/Note.js +0 -32
- package/dist/models/social/chat/Note.js.map +0 -1
- package/dist/models/social/feed/Comment.js +0 -50
- package/dist/models/social/feed/Comment.js.map +0 -1
- package/dist/models/social/feed/Story.d.ts +0 -31
- package/dist/models/social/feed/Story.d.ts.map +0 -1
- package/dist/models/social/feed/Story.js +0 -67
- package/dist/models/social/feed/Story.js.map +0 -1
- package/dist/models/social/feed/StoryAuthor.d.ts +0 -13
- package/dist/models/social/feed/StoryAuthor.d.ts.map +0 -1
- package/dist/models/social/feed/StoryAuthor.js +0 -29
- package/dist/models/social/feed/StoryAuthor.js.map +0 -1
- package/dist/models/social/gaming/Game.d.ts +0 -26
- package/dist/models/social/gaming/Game.d.ts.map +0 -1
- package/dist/models/social/gaming/Game.js +0 -49
- package/dist/models/social/gaming/Game.js.map +0 -1
- package/dist/models/social/meta/AuthEnums.d.ts +0 -18
- package/dist/models/social/meta/AuthEnums.d.ts.map +0 -1
- package/dist/models/social/meta/AuthEnums.js +0 -23
- package/dist/models/social/meta/AuthEnums.js.map +0 -1
- package/dist/models/social/meta/MediaEnums.d.ts +0 -20
- package/dist/models/social/meta/MediaEnums.d.ts.map +0 -1
- package/dist/models/social/meta/MediaEnums.js +0 -25
- package/dist/models/social/meta/MediaEnums.js.map +0 -1
- package/dist/models/social/notification/Notification.d.ts +0 -23
- package/dist/models/social/notification/Notification.d.ts.map +0 -1
- package/dist/models/social/notification/Notification.js +0 -68
- package/dist/models/social/notification/Notification.js.map +0 -1
- package/dist/models/social/notification/NotificationEnums.d.ts +0 -54
- package/dist/models/social/notification/NotificationEnums.d.ts.map +0 -1
- package/dist/models/social/notification/NotificationEnums.js +0 -62
- package/dist/models/social/notification/NotificationEnums.js.map +0 -1
- package/dist/models/social/notification/NotificationSender.d.ts +0 -16
- package/dist/models/social/notification/NotificationSender.d.ts.map +0 -1
- package/dist/models/social/notification/NotificationSender.js +0 -32
- package/dist/models/social/notification/NotificationSender.js.map +0 -1
- package/dist/models/social/poll/Poll.d.ts +0 -19
- package/dist/models/social/poll/Poll.d.ts.map +0 -1
- package/dist/models/social/poll/Poll.js +0 -37
- package/dist/models/social/poll/Poll.js.map +0 -1
- package/dist/models/social/poll/PollOption.d.ts +0 -15
- package/dist/models/social/poll/PollOption.d.ts.map +0 -1
- package/dist/models/social/poll/PollOption.js +0 -30
- package/dist/models/social/poll/PollOption.js.map +0 -1
- package/dist/models/social/search/SearchEnums.d.ts +0 -22
- package/dist/models/social/search/SearchEnums.d.ts.map +0 -1
- package/dist/models/social/search/SearchEnums.js +0 -27
- package/dist/models/social/search/SearchEnums.js.map +0 -1
- package/dist/models/social/search/SearchResult.d.ts +0 -21
- package/dist/models/social/search/SearchResult.d.ts.map +0 -1
- package/dist/models/social/search/SearchResult.js +0 -76
- package/dist/models/social/search/SearchResult.js.map +0 -1
- package/dist/models/social/stats/Leaderboard.js +0 -55
- package/dist/models/social/stats/Leaderboard.js.map +0 -1
- package/dist/models/social/support/SupportTicket.d.ts +0 -18
- package/dist/models/social/support/SupportTicket.d.ts.map +0 -1
- package/dist/models/social/support/SupportTicket.js +0 -36
- package/dist/models/social/support/SupportTicket.js.map +0 -1
- package/dist/models/social/user/BlockedUser.js +0 -29
- package/dist/models/social/user/BlockedUser.js.map +0 -1
- package/dist/models/store/StoreItem.d.ts +0 -18
- package/dist/models/store/StoreItem.d.ts.map +0 -1
- package/dist/models/store/StoreItem.js +0 -36
- package/dist/models/store/StoreItem.js.map +0 -1
- package/dist/scratch/test_api.d.ts +0 -2
- package/dist/scratch/test_api.d.ts.map +0 -1
- package/dist/scratch/test_api.js +0 -13
- package/dist/scratch/test_api.js.map +0 -1
- package/dist/scratch/test_api_pure.d.ts +0 -2
- package/dist/scratch/test_api_pure.d.ts.map +0 -1
- package/dist/scratch/test_api_pure.js +0 -53
- package/dist/scratch/test_api_pure.js.map +0 -1
- package/dist/scratch/test_api_stats.d.ts +0 -2
- package/dist/scratch/test_api_stats.d.ts.map +0 -1
- package/dist/scratch/test_api_stats.js +0 -31
- package/dist/scratch/test_api_stats.js.map +0 -1
- package/dist/types/navigation.d.ts +0 -6
- package/dist/types/navigation.d.ts.map +0 -1
- package/dist/types/navigation.js +0 -3
- package/dist/types/navigation.js.map +0 -1
- package/dist/types/socket.d.ts +0 -6
- package/dist/types/socket.d.ts.map +0 -1
- package/dist/types/socket.js +0 -3
- package/dist/types/socket.js.map +0 -1
- package/dist/utils/text/MentionUtils.js +0 -30
- package/dist/utils/text/MentionUtils.js.map +0 -1
- /package/dist/components/modules/management/widgets/{ManagementActivityFeed.d.ts → dashboard/ManagementActivityFeed.d.ts} +0 -0
- /package/dist/components/modules/management/widgets/{ManagementHeader.d.ts → dashboard/ManagementHeader.d.ts} +0 -0
- /package/dist/components/modules/management/widgets/{ManagementQuickActions.d.ts → dashboard/ManagementQuickActions.d.ts} +0 -0
- /package/dist/components/modules/management/widgets/{ManagementStatsGrid.d.ts → dashboard/ManagementStatsGrid.d.ts} +0 -0
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
'use client';
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.ProfileTab = ProfileTab;
|
|
5
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
|
-
const react_1 = require("react");
|
|
7
|
-
const index_1 = require("../../index");
|
|
8
|
-
const ArmoyuContext_1 = require("../../context/ArmoyuContext");
|
|
9
|
-
const User_1 = require("../../models/auth/User");
|
|
10
|
-
const seedData_1 = require("../../lib/constants/seedData");
|
|
11
|
-
const lucide_react_1 = require("lucide-react");
|
|
12
|
-
function ProfileTab() {
|
|
13
|
-
const { api, apiKey, isMockEnabled, setMockEnabled } = (0, ArmoyuContext_1.useArmoyu)();
|
|
14
|
-
const [username, setUsername] = (0, react_1.useState)('');
|
|
15
|
-
const [profile, setProfile] = (0, react_1.useState)(null);
|
|
16
|
-
const [loading, setLoading] = (0, react_1.useState)(false);
|
|
17
|
-
const [error, setError] = (0, react_1.useState)(null);
|
|
18
|
-
const fetchProfile = (0, react_1.useCallback)(async (searchName = '') => {
|
|
19
|
-
setLoading(true);
|
|
20
|
-
setError(null);
|
|
21
|
-
// MOCK MODE LOGIC
|
|
22
|
-
if (isMockEnabled) {
|
|
23
|
-
console.log(`[ProfileTab] (MOCK) Profil aranıyor: ${searchName}`);
|
|
24
|
-
setTimeout(() => {
|
|
25
|
-
// If empty search, return own profile (first user in seed)
|
|
26
|
-
const target = searchName.trim()
|
|
27
|
-
? seedData_1.userList.find(u => u.username.toLowerCase() === searchName.toLowerCase() || u.displayName.toLowerCase().includes(searchName.toLowerCase()))
|
|
28
|
-
: seedData_1.userList[0];
|
|
29
|
-
if (target) {
|
|
30
|
-
setProfile(target);
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
setError("Kullanıcı (Mock) bulunamadı.");
|
|
34
|
-
setProfile(null);
|
|
35
|
-
}
|
|
36
|
-
setLoading(false);
|
|
37
|
-
}, 500); // Simulate network
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
// LIVE MODE LOGIC
|
|
41
|
-
if (!apiKey || apiKey === 'armoyu_showcase_key') {
|
|
42
|
-
setError("Profil verilerini canlı çekebilmek için lütfen geçerli bir API Anahtarı giriniz (Sağ alttaki Dashboard panelinden).");
|
|
43
|
-
setLoading(false);
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
try {
|
|
47
|
-
console.log(`[ProfileTab] Profil çekiliyor: ${searchName || 'Kendi Profilim'}`);
|
|
48
|
-
const response = await api.users.getUserByUsername(searchName);
|
|
49
|
-
if (response.durum !== 1 || !response.icerik) {
|
|
50
|
-
setError(response.aciklama || "Kullanıcı bulunamadı.");
|
|
51
|
-
setProfile(null);
|
|
52
|
-
}
|
|
53
|
-
else {
|
|
54
|
-
setProfile(User_1.User.fromAPI(response.icerik));
|
|
55
|
-
console.log("[ProfileTab] Profil başarıyla yüklendi:", response.icerik.username);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
catch (err) {
|
|
59
|
-
console.error("[ProfileTab] Hata:", err);
|
|
60
|
-
setError("Profil bilgileri alınırken bir hata oluştu.");
|
|
61
|
-
}
|
|
62
|
-
finally {
|
|
63
|
-
setLoading(false);
|
|
64
|
-
}
|
|
65
|
-
}, [api, isMockEnabled, apiKey]);
|
|
66
|
-
// Initial fetch
|
|
67
|
-
(0, react_1.useEffect)(() => {
|
|
68
|
-
fetchProfile('');
|
|
69
|
-
}, [fetchProfile, isMockEnabled]);
|
|
70
|
-
const handleSearch = (e) => {
|
|
71
|
-
e.preventDefault();
|
|
72
|
-
fetchProfile(username);
|
|
73
|
-
};
|
|
74
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "space-y-8 animate-in fade-in duration-700", children: [(0, jsx_runtime_1.jsx)("div", { className: "bg-armoyu-card-bg border border-armoyu-card-border rounded-3xl p-4 shadow-sm", children: (0, jsx_runtime_1.jsxs)("form", { onSubmit: handleSearch, className: "flex flex-col md:flex-row items-center gap-4", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex items-center gap-3 shrink-0 px-2", children: [(0, jsx_runtime_1.jsx)("div", { className: "w-10 h-10 rounded-2xl bg-pink-500/10 flex items-center justify-center text-pink-500", children: (0, jsx_runtime_1.jsx)(lucide_react_1.User, { size: 20 }) }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("h3", { className: "text-sm font-black text-armoyu-text uppercase tracking-tighter italic", children: "Oyuncu Bak" }), (0, jsx_runtime_1.jsx)("p", { className: "text-[10px] font-bold text-armoyu-text-muted uppercase tracking-widest opacity-50", children: "Profil \u0130nceleme" })] })] }), (0, jsx_runtime_1.jsxs)("div", { className: "relative flex-1 group w-full", children: [(0, jsx_runtime_1.jsx)(lucide_react_1.Search, { className: "absolute left-4 top-1/2 -translate-y-1/2 w-4 h-4 text-zinc-500 group-focus-within:text-pink-500 transition-colors" }), (0, jsx_runtime_1.jsx)("input", { type: "text", value: username, onChange: (e) => setUsername(e.target.value), placeholder: "Kullan\u0131c\u0131 ad\u0131 yaz\u0131n (bo\u015F b\u0131rak\u0131rsan\u0131z kendi profiliniz gelir)...", className: "w-full bg-black/5 dark:bg-white/5 border border-pink-500/10 focus:border-pink-500/50 rounded-2xl pl-12 pr-4 py-3 text-sm font-bold text-armoyu-text outline-none transition-all" })] }), (0, jsx_runtime_1.jsxs)("button", { type: "submit", disabled: loading, className: "w-full md:w-auto px-8 py-3 bg-gradient-to-r from-pink-600 to-rose-600 hover:from-pink-500 hover:to-rose-500 text-white font-black rounded-2xl text-xs uppercase tracking-widest shadow-xl shadow-pink-600/20 transition-all active:scale-95 disabled:opacity-50 flex items-center justify-center gap-2 italic", children: [loading ? (0, jsx_runtime_1.jsx)(lucide_react_1.Loader2, { className: "w-4 h-4 animate-spin" }) : (0, jsx_runtime_1.jsx)(lucide_react_1.Search, { className: "w-4 h-4" }), "PROF\u0130L\u0130 GET\u0130R"] })] }) }), error && ((0, jsx_runtime_1.jsxs)("div", { className: "bg-red-500/10 border border-red-500/20 rounded-3xl p-8 text-center animate-in zoom-in-95 duration-300", children: [(0, jsx_runtime_1.jsx)("div", { className: "w-16 h-16 bg-red-500/20 rounded-full flex items-center justify-center text-red-500 mx-auto mb-4", children: (0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", children: [(0, jsx_runtime_1.jsx)("circle", { cx: "12", cy: "12", r: "10" }), (0, jsx_runtime_1.jsx)("line", { x1: "12", y1: "8", x2: "12", y2: "12" }), (0, jsx_runtime_1.jsx)("line", { x1: "12", y1: "16", x2: "12.01", y2: "16" })] }) }), (0, jsx_runtime_1.jsx)("h3", { className: "text-xl font-black text-armoyu-text uppercase italic tracking-tighter mb-2", children: "HATA OLU\u015ETU" }), (0, jsx_runtime_1.jsx)("p", { className: "text-sm font-bold text-red-500/80 uppercase tracking-widest mb-6", children: error }), (0, jsx_runtime_1.jsxs)("button", { onClick: () => fetchProfile(username), className: "px-6 py-2.5 bg-armoyu-card-bg border border-armoyu-card-border hover:border-red-500/50 text-armoyu-text text-xs font-black rounded-xl transition-all uppercase tracking-widest flex items-center gap-2 mx-auto", children: [(0, jsx_runtime_1.jsx)(lucide_react_1.RefreshCcw, { size: 14 }), " TEKRAR DENE"] })] })), loading && !profile && ((0, jsx_runtime_1.jsxs)("div", { className: "py-24 text-center", children: [(0, jsx_runtime_1.jsx)(lucide_react_1.Loader2, { className: "w-12 h-12 animate-spin text-pink-500 mx-auto mb-4 opacity-50" }), (0, jsx_runtime_1.jsx)("p", { className: "text-xs font-black text-armoyu-text-muted uppercase tracking-[0.3em] italic", children: "Profil Verileri Y\u00FCkleniyor..." })] })), profile && ((0, jsx_runtime_1.jsx)("div", { className: `space-y-12 transition-all duration-700 ${loading ? 'opacity-50 grayscale pointer-events-none' : 'opacity-100'}`, children: (0, jsx_runtime_1.jsx)(index_1.ProfileLayout, { user: profile }) })), !profile && !loading && !error && ((0, jsx_runtime_1.jsxs)("div", { className: "py-24 text-center border-2 border-dashed border-armoyu-card-border rounded-[40px]", children: [(0, jsx_runtime_1.jsx)(lucide_react_1.User, { className: "w-16 h-16 text-armoyu-text-muted mx-auto mb-4 opacity-20" }), (0, jsx_runtime_1.jsx)("p", { className: "text-xs font-black text-armoyu-text-muted uppercase tracking-[0.3em] italic", children: "G\u00F6r\u00FCnt\u00FClemek i\u00E7in bir kullan\u0131c\u0131 aray\u0131n." })] }))] }));
|
|
75
|
-
}
|
|
76
|
-
//# sourceMappingURL=ProfileTab.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileTab.js","sourceRoot":"","sources":["../../../src/components/showcase/ProfileTab.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDebounce.d.ts","sourceRoot":"","sources":["../../src/hooks/useDebounce.ts"],"names":[],"mappings":"AAEA,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC,CAczD"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useDebounce = useDebounce;
|
|
4
|
-
const react_1 = require("react");
|
|
5
|
-
function useDebounce(value, delay) {
|
|
6
|
-
const [debouncedValue, setDebouncedValue] = (0, react_1.useState)(value);
|
|
7
|
-
(0, react_1.useEffect)(() => {
|
|
8
|
-
const handler = setTimeout(() => {
|
|
9
|
-
setDebouncedValue(value);
|
|
10
|
-
}, delay);
|
|
11
|
-
return () => {
|
|
12
|
-
clearTimeout(handler);
|
|
13
|
-
};
|
|
14
|
-
}, [value, delay]);
|
|
15
|
-
return debouncedValue;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=useDebounce.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDebounce.js","sourceRoot":"","sources":["../../src/hooks/useDebounce.ts"],"names":[],"mappings":";;AAEA,kCAcC;AAhBD,iCAA4C;AAE5C,SAAgB,WAAW,CAAI,KAAQ,EAAE,KAAa;IACpD,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,EAAI,KAAK,CAAC,CAAC;IAE/D,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,MAAM,OAAO,GAAG,UAAU,CAAC,GAAG,EAAE;YAC9B,iBAAiB,CAAC,KAAK,CAAC,CAAC;QAC3B,CAAC,EAAE,KAAK,CAAC,CAAC;QAEV,OAAO,GAAG,EAAE;YACV,YAAY,CAAC,OAAO,CAAC,CAAC;QACxB,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;IAEnB,OAAO,cAAc,CAAC;AACxB,CAAC"}
|
package/dist/lib/ArmoyuUI.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ArmoyuUI = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* ArmoyuUI is the main entry point for the ARMOYU UI library.
|
|
6
|
-
* It follows a Dependency Injection pattern, requiring an ArmoyuApi instance from @armoyu/core.
|
|
7
|
-
*/
|
|
8
|
-
class ArmoyuUI {
|
|
9
|
-
api;
|
|
10
|
-
version = "1.0.2";
|
|
11
|
-
constructor(api) {
|
|
12
|
-
if (!api) {
|
|
13
|
-
throw new Error("ArmoyuUI: ArmoyuApi instance is required in the constructor.");
|
|
14
|
-
}
|
|
15
|
-
this.api = api;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Placeholder for future UI-specific configurations
|
|
19
|
-
* (e.g. initial theme, language preference, component-specific defaults)
|
|
20
|
-
*/
|
|
21
|
-
getConfig() {
|
|
22
|
-
return {
|
|
23
|
-
version: this.version,
|
|
24
|
-
// Add more config items here as the library grows
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.ArmoyuUI = ArmoyuUI;
|
|
29
|
-
//# sourceMappingURL=ArmoyuUI.js.map
|
package/dist/lib/ArmoyuUI.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArmoyuUI.js","sourceRoot":"","sources":["../../src/lib/ArmoyuUI.ts"],"names":[],"mappings":";;;AAEA;;;GAGG;AACH,MAAa,QAAQ;IACH,GAAG,CAAY;IACf,OAAO,GAAW,OAAO,CAAC;IAE1C,YAAY,GAAc;QACxB,IAAI,CAAC,GAAG,EAAE,CAAC;YACT,MAAM,IAAI,KAAK,CAAC,8DAA8D,CAAC,CAAC;QAClF,CAAC;QACD,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IACjB,CAAC;IAED;;;OAGG;IACI,SAAS;QACd,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,kDAAkD;SACnD,CAAC;IACJ,CAAC;CACF;AArBD,4BAqBC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Global configuration constants for ARMOYU libraries and tools.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* List of allowed origins for Next.js development server.
|
|
6
|
-
* This should include localhost and any local network IP addresses used for development.
|
|
7
|
-
*/
|
|
8
|
-
export declare const ALLOWED_DEV_ORIGINS: string[];
|
|
9
|
-
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/lib/constants/config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;GAGG;AACH,eAAO,MAAM,mBAAmB,UAM/B,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Global configuration constants for ARMOYU libraries and tools.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ALLOWED_DEV_ORIGINS = void 0;
|
|
7
|
-
/**
|
|
8
|
-
* List of allowed origins for Next.js development server.
|
|
9
|
-
* This should include localhost and any local network IP addresses used for development.
|
|
10
|
-
*/
|
|
11
|
-
exports.ALLOWED_DEV_ORIGINS = [
|
|
12
|
-
'localhost',
|
|
13
|
-
'127.0.0.1',
|
|
14
|
-
'192.168.1.13', // User's specific development IP
|
|
15
|
-
'aramizdakioyuncu.com',
|
|
16
|
-
'api.aramizdakioyuncu.com'
|
|
17
|
-
];
|
|
18
|
-
//# sourceMappingURL=config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/lib/constants/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH;;;GAGG;AACU,QAAA,mBAAmB,GAAG;IACjC,WAAW;IACX,WAAW;IACX,cAAc,EAAE,iCAAiC;IACjD,sBAAsB;IACtB,0BAA0B;CAC3B,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Base class for all models in the ARMOYU ecosystem.
|
|
3
|
-
* Provides a global mechanism to switch between legacy and newer API structures.
|
|
4
|
-
*/
|
|
5
|
-
export declare abstract class BaseModel {
|
|
6
|
-
/**
|
|
7
|
-
* Global toggle to determine which API mapping logic to use.
|
|
8
|
-
* If true: Uses legacyFromJSON (Legacy ARMOYU v0/v1 style).
|
|
9
|
-
* If false: Uses v2FromJSON (Standardized ARMOYU v2 style).
|
|
10
|
-
*/
|
|
11
|
-
static usePreviousApi: boolean;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=BaseModel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseModel.d.ts","sourceRoot":"","sources":["../../src/models/BaseModel.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,8BAAsB,SAAS;IAC7B;;;;OAIG;IACH,MAAM,CAAC,cAAc,EAAE,OAAO,CAAQ;CACvC"}
|
package/dist/models/BaseModel.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BaseModel = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Base class for all models in the ARMOYU ecosystem.
|
|
6
|
-
* Provides a global mechanism to switch between legacy and newer API structures.
|
|
7
|
-
*/
|
|
8
|
-
class BaseModel {
|
|
9
|
-
/**
|
|
10
|
-
* Global toggle to determine which API mapping logic to use.
|
|
11
|
-
* If true: Uses legacyFromJSON (Legacy ARMOYU v0/v1 style).
|
|
12
|
-
* If false: Uses v2FromJSON (Standardized ARMOYU v2 style).
|
|
13
|
-
*/
|
|
14
|
-
static usePreviousApi = true;
|
|
15
|
-
}
|
|
16
|
-
exports.BaseModel = BaseModel;
|
|
17
|
-
//# sourceMappingURL=BaseModel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseModel.js","sourceRoot":"","sources":["../../src/models/BaseModel.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,MAAsB,SAAS;IAC7B;;;;OAIG;IACH,MAAM,CAAC,cAAc,GAAY,IAAI,CAAC;;AANxC,8BAOC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents a user in the context of leaderboards/rankings in the UI.
|
|
3
|
-
* This class maps directly to the structure returned by XP and POP ranking APIs.
|
|
4
|
-
*/
|
|
5
|
-
export declare class RankedUser {
|
|
6
|
-
id: number;
|
|
7
|
-
displayName: string;
|
|
8
|
-
username: string;
|
|
9
|
-
avatar: string;
|
|
10
|
-
level: number;
|
|
11
|
-
xp: number;
|
|
12
|
-
seasonalXp: number;
|
|
13
|
-
popScore: number;
|
|
14
|
-
constructor(data: Partial<RankedUser>);
|
|
15
|
-
/**
|
|
16
|
-
* Instantiates a RankedUser object from an API response.
|
|
17
|
-
*/
|
|
18
|
-
static fromAPI(json: Record<string, any>): RankedUser;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=RankedUser.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RankedUser.d.ts","sourceRoot":"","sources":["../../../src/models/auth/RankedUser.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,qBAAa,UAAU;IACrB,EAAE,EAAE,MAAM,CAAK;IACf,WAAW,EAAE,MAAM,CAAM;IACzB,QAAQ,EAAE,MAAM,CAAM;IACtB,MAAM,EAAE,MAAM,CAAM;IACpB,KAAK,EAAE,MAAM,CAAK;IAClB,EAAE,EAAE,MAAM,CAAK;IACf,UAAU,EAAE,MAAM,CAAK;IACvB,QAAQ,EAAE,MAAM,CAAK;gBAET,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC;IAIrC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,UAAU;CActD"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RankedUser = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Represents a user in the context of leaderboards/rankings in the UI.
|
|
6
|
-
* This class maps directly to the structure returned by XP and POP ranking APIs.
|
|
7
|
-
*/
|
|
8
|
-
class RankedUser {
|
|
9
|
-
id = 0;
|
|
10
|
-
displayName = '';
|
|
11
|
-
username = '';
|
|
12
|
-
avatar = '';
|
|
13
|
-
level = 1;
|
|
14
|
-
xp = 0;
|
|
15
|
-
seasonalXp = 0;
|
|
16
|
-
popScore = 0;
|
|
17
|
-
constructor(data) {
|
|
18
|
-
Object.assign(this, data);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Instantiates a RankedUser object from an API response.
|
|
22
|
-
*/
|
|
23
|
-
static fromAPI(json) {
|
|
24
|
-
console.log("[RankedUser] Mapping from API:", json);
|
|
25
|
-
if (!json)
|
|
26
|
-
return new RankedUser({});
|
|
27
|
-
return new RankedUser({
|
|
28
|
-
id: Number(json.id || json.oyuncuID || 0),
|
|
29
|
-
displayName: json.displayName || json.oyuncuadsoyad || '',
|
|
30
|
-
username: json.username || json.oyuncukullaniciadi || json.oyuncukullaniciad || '',
|
|
31
|
-
avatar: json.avatar || json.oyuncuavatar || '',
|
|
32
|
-
level: Number(json.level || json.oyuncuseviye || 1),
|
|
33
|
-
xp: Number(json.xp || json.oyuncuseviyexp || 0),
|
|
34
|
-
seasonalXp: Number(json.value || json.seasonalXp || json.oyuncuseviyesezonlukxp || 0),
|
|
35
|
-
popScore: Number(json.value || json.popScore || json.oyuncupop || 0)
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
exports.RankedUser = RankedUser;
|
|
40
|
-
//# sourceMappingURL=RankedUser.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RankedUser.js","sourceRoot":"","sources":["../../../src/models/auth/RankedUser.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,MAAa,UAAU;IACrB,EAAE,GAAW,CAAC,CAAC;IACf,WAAW,GAAW,EAAE,CAAC;IACzB,QAAQ,GAAW,EAAE,CAAC;IACtB,MAAM,GAAW,EAAE,CAAC;IACpB,KAAK,GAAW,CAAC,CAAC;IAClB,EAAE,GAAW,CAAC,CAAC;IACf,UAAU,GAAW,CAAC,CAAC;IACvB,QAAQ,GAAW,CAAC,CAAC;IAErB,YAAY,IAAyB;QACnC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAyB;QACtC,OAAO,CAAC,GAAG,CAAC,gCAAgC,EAAE,IAAI,CAAC,CAAC;QACpD,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,UAAU,CAAC,EAAE,CAAC,CAAC;QACrC,OAAO,IAAI,UAAU,CAAC;YACpB,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,QAAQ,IAAI,CAAC,CAAC;YACzC,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,aAAa,IAAI,EAAE;YACzD,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,CAAC,iBAAiB,IAAI,EAAE;YAClF,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,YAAY,IAAI,EAAE;YAC9C,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,YAAY,IAAI,CAAC,CAAC;YACnD,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,cAAc,IAAI,CAAC,CAAC;YAC/C,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,sBAAsB,IAAI,CAAC,CAAC;YACrF,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC;SACrE,CAAC,CAAC;IACL,CAAC;CACF;AA/BD,gCA+BC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents a User Role in the aramizdakioyuncu.com platform.
|
|
3
|
-
*/
|
|
4
|
-
export declare class Role {
|
|
5
|
-
id: string;
|
|
6
|
-
name: string;
|
|
7
|
-
category: string;
|
|
8
|
-
color: string;
|
|
9
|
-
permissions: string[];
|
|
10
|
-
constructor(data: Partial<Role>);
|
|
11
|
-
/**
|
|
12
|
-
* Instantiates a Role object from an API response.
|
|
13
|
-
*/
|
|
14
|
-
static fromAPI(json: any): Role;
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=Role.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Role.d.ts","sourceRoot":"","sources":["../../../src/models/auth/Role.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,IAAI;IACf,EAAE,EAAE,MAAM,CAAM;IAChB,IAAI,EAAE,MAAM,CAAM;IAClB,QAAQ,EAAE,MAAM,CAAM;IACtB,KAAK,EAAE,MAAM,CAAM;IACnB,WAAW,EAAE,MAAM,EAAE,CAAM;gBAEf,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC;IAI/B;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI;CAiBhC"}
|
package/dist/models/auth/Role.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Role = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Represents a User Role in the aramizdakioyuncu.com platform.
|
|
6
|
-
*/
|
|
7
|
-
class Role {
|
|
8
|
-
id = '';
|
|
9
|
-
name = '';
|
|
10
|
-
category = '';
|
|
11
|
-
color = '';
|
|
12
|
-
permissions = [];
|
|
13
|
-
constructor(data) {
|
|
14
|
-
Object.assign(this, data);
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Instantiates a Role object from an API response.
|
|
18
|
-
*/
|
|
19
|
-
static fromAPI(json) {
|
|
20
|
-
if (!json)
|
|
21
|
-
return new Role({});
|
|
22
|
-
// API'den gelen renk kodu başında # olmadan gelebilir (örn: ff0000)
|
|
23
|
-
let color = json.color || json.roleColor || json.rutbe_renk || '#808080';
|
|
24
|
-
if (color && !color.startsWith('#')) {
|
|
25
|
-
color = `#${color}`;
|
|
26
|
-
}
|
|
27
|
-
return new Role({
|
|
28
|
-
id: String(json.id || json.roleID || json.rutbe_id || ''),
|
|
29
|
-
name: json.name || json.title || json.roleName || json.rutbe_ad || '',
|
|
30
|
-
category: json.category || json.rolecategory || json.roleCategory || json.rutbe_kategori || '',
|
|
31
|
-
color: color,
|
|
32
|
-
permissions: json.permissions || [],
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
exports.Role = Role;
|
|
37
|
-
//# sourceMappingURL=Role.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Role.js","sourceRoot":"","sources":["../../../src/models/auth/Role.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,MAAa,IAAI;IACf,EAAE,GAAW,EAAE,CAAC;IAChB,IAAI,GAAW,EAAE,CAAC;IAClB,QAAQ,GAAW,EAAE,CAAC;IACtB,KAAK,GAAW,EAAE,CAAC;IACnB,WAAW,GAAa,EAAE,CAAC;IAE3B,YAAY,IAAmB;QAC7B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAS;QACtB,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,IAAI,CAAC,EAAE,CAAC,CAAC;QAE/B,oEAAoE;QACpE,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,UAAU,IAAI,SAAS,CAAC;QACzE,IAAI,KAAK,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;YACpC,KAAK,GAAG,IAAI,KAAK,EAAE,CAAC;QACtB,CAAC;QAED,OAAO,IAAI,IAAI,CAAC;YACd,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC;YACzD,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,IAAI,EAAE;YACrE,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,cAAc,IAAI,EAAE;YAC9F,KAAK,EAAE,KAAK;YACZ,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,EAAE;SACpC,CAAC,CAAC;IACL,CAAC;CACF;AA/BD,oBA+BC"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Session = void 0;
|
|
4
|
-
const User_1 = require("./User");
|
|
5
|
-
const CartItem_1 = require("../shop/CartItem");
|
|
6
|
-
const Chat_1 = require("../social/chat/Chat");
|
|
7
|
-
const Notification_1 = require("../social/notification/Notification");
|
|
8
|
-
class Session {
|
|
9
|
-
user;
|
|
10
|
-
token;
|
|
11
|
-
refreshToken;
|
|
12
|
-
expiresAt; // Timestamp
|
|
13
|
-
cart;
|
|
14
|
-
myArticles;
|
|
15
|
-
chatList;
|
|
16
|
-
notifications;
|
|
17
|
-
constructor(data) {
|
|
18
|
-
this.user = data.user || null;
|
|
19
|
-
this.token = data.token || null;
|
|
20
|
-
this.refreshToken = data.refreshToken || null;
|
|
21
|
-
this.expiresAt = data.expiresAt || null;
|
|
22
|
-
this.cart = data.cart || [];
|
|
23
|
-
this.myArticles = data.myArticles || [];
|
|
24
|
-
this.chatList = data.chatList || [];
|
|
25
|
-
this.notifications = data.notifications || [];
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Checks if the session is still valid based on the expiration timestamp.
|
|
29
|
-
*/
|
|
30
|
-
isValid() {
|
|
31
|
-
if (!this.token || !this.expiresAt)
|
|
32
|
-
return false;
|
|
33
|
-
return Date.now() < this.expiresAt;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Instantiates a Session object from an API response.
|
|
37
|
-
*/
|
|
38
|
-
static fromAPI(json) {
|
|
39
|
-
if (!json)
|
|
40
|
-
return new Session({});
|
|
41
|
-
return new Session({
|
|
42
|
-
user: json.user ? User_1.User.fromAPI(json.user) : null,
|
|
43
|
-
token: json.token || json.jwt_token || null,
|
|
44
|
-
refreshToken: json.refreshToken || json.refresh_token || null,
|
|
45
|
-
expiresAt: json.expiresAt || json.expires_at || (Date.now() + 3600 * 1000),
|
|
46
|
-
cart: Array.isArray(json.cart) ? json.cart.map((i) => CartItem_1.CartItem.fromAPI(i)) : [],
|
|
47
|
-
myArticles: json.myArticles || [],
|
|
48
|
-
chatList: Array.isArray(json.chatList) ? json.chatList.map((c) => Chat_1.Chat.fromAPI(c)) : [],
|
|
49
|
-
notifications: Array.isArray(json.notifications) ? json.notifications.map((n) => Notification_1.Notification.fromAPI(n)) : [],
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
exports.Session = Session;
|
|
54
|
-
//# sourceMappingURL=Session.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Session.js","sourceRoot":"","sources":["../../../src/models/auth/Session.ts"],"names":[],"mappings":";;;AAAA,iCAA8B;AAC9B,+CAA4C;AAC5C,8CAA2C;AAC3C,sEAAmE;AAEnE,MAAa,OAAO;IAClB,IAAI,CAAc;IAClB,KAAK,CAAgB;IACrB,YAAY,CAAgB;IAC5B,SAAS,CAAgB,CAAC,YAAY;IACtC,IAAI,CAAa;IACjB,UAAU,CAAQ;IAClB,QAAQ,CAAS;IACjB,aAAa,CAAiB;IAE9B,YAAY,IAAsB;QAChC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC;QAC9B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC;QAChC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC;QAC9C,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC;QACxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC;QAC5B,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,IAAI,EAAE,CAAC;QACxC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC;QACpC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,IAAI,EAAE,CAAC;IAChD,CAAC;IAED;;OAEG;IACH,OAAO;QACL,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,SAAS;YAAE,OAAO,KAAK,CAAC;QACjD,OAAO,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAS;QACtB,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,OAAO,CAAC,EAAE,CAAC,CAAC;QAElC,OAAO,IAAI,OAAO,CAAC;YACjB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,WAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI;YAChD,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI;YAC3C,YAAY,EAAE,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI;YAC7D,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,UAAU,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAC;YAC1E,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;YACpF,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,EAAE;YACjC,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;YAC5F,aAAa,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,2BAAY,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;SACpH,CAAC,CAAC;IACL,CAAC;CACF;AA9CD,0BA8CC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents an application to join the official team in the UI.
|
|
3
|
-
*/
|
|
4
|
-
export declare class StaffApplication {
|
|
5
|
-
id: number;
|
|
6
|
-
userId: number;
|
|
7
|
-
userDisplayName: string;
|
|
8
|
-
userAvatar: string;
|
|
9
|
-
positionId: number;
|
|
10
|
-
positionDepartment: string;
|
|
11
|
-
positionName: string;
|
|
12
|
-
date: string;
|
|
13
|
-
status: number;
|
|
14
|
-
constructor(data: Partial<StaffApplication>);
|
|
15
|
-
/**
|
|
16
|
-
* Instantiates a StaffApplication object from an API response.
|
|
17
|
-
*/
|
|
18
|
-
static fromAPI(json: Record<string, any>): StaffApplication;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=StaffApplication.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StaffApplication.d.ts","sourceRoot":"","sources":["../../../src/models/auth/StaffApplication.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,gBAAgB;IAC3B,EAAE,EAAE,MAAM,CAAK;IACf,MAAM,EAAE,MAAM,CAAK;IACnB,eAAe,EAAE,MAAM,CAAM;IAC7B,UAAU,EAAE,MAAM,CAAM;IACxB,UAAU,EAAE,MAAM,CAAK;IACvB,kBAAkB,EAAE,MAAM,CAAM;IAChC,YAAY,EAAE,MAAM,CAAM;IAC1B,IAAI,EAAE,MAAM,CAAM;IAClB,MAAM,EAAE,MAAM,CAAK;gBAEP,IAAI,EAAE,OAAO,CAAC,gBAAgB,CAAC;IAI3C;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,gBAAgB;CAc5D"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StaffApplication = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Represents an application to join the official team in the UI.
|
|
6
|
-
*/
|
|
7
|
-
class StaffApplication {
|
|
8
|
-
id = 0;
|
|
9
|
-
userId = 0;
|
|
10
|
-
userDisplayName = '';
|
|
11
|
-
userAvatar = '';
|
|
12
|
-
positionId = 0;
|
|
13
|
-
positionDepartment = '';
|
|
14
|
-
positionName = '';
|
|
15
|
-
date = '';
|
|
16
|
-
status = 0;
|
|
17
|
-
constructor(data) {
|
|
18
|
-
Object.assign(this, data);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Instantiates a StaffApplication object from an API response.
|
|
22
|
-
*/
|
|
23
|
-
static fromAPI(json) {
|
|
24
|
-
if (!json)
|
|
25
|
-
return new StaffApplication({});
|
|
26
|
-
return new StaffApplication({
|
|
27
|
-
id: Number(json.application_ID || 0),
|
|
28
|
-
userId: Number(json.sapplication_user?.player_ID || 0),
|
|
29
|
-
userDisplayName: json.sapplication_user?.player_displayname || '',
|
|
30
|
-
userAvatar: json.sapplication_user?.player_avatar?.media_URL || '',
|
|
31
|
-
positionId: Number(json.sapplication_position?.position_ID || 0),
|
|
32
|
-
positionDepartment: json.sapplication_position?.position_department || '',
|
|
33
|
-
positionName: json.sapplication_position?.position_name || '',
|
|
34
|
-
date: json.sapplication_date || '',
|
|
35
|
-
status: Number(json.sapplication_status || 0)
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
exports.StaffApplication = StaffApplication;
|
|
40
|
-
//# sourceMappingURL=StaffApplication.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StaffApplication.js","sourceRoot":"","sources":["../../../src/models/auth/StaffApplication.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,MAAa,gBAAgB;IAC3B,EAAE,GAAW,CAAC,CAAC;IACf,MAAM,GAAW,CAAC,CAAC;IACnB,eAAe,GAAW,EAAE,CAAC;IAC7B,UAAU,GAAW,EAAE,CAAC;IACxB,UAAU,GAAW,CAAC,CAAC;IACvB,kBAAkB,GAAW,EAAE,CAAC;IAChC,YAAY,GAAW,EAAE,CAAC;IAC1B,IAAI,GAAW,EAAE,CAAC;IAClB,MAAM,GAAW,CAAC,CAAC;IAEnB,YAAY,IAA+B;QACzC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAyB;QACtC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,gBAAgB,CAAC,EAAE,CAAC,CAAC;QAC3C,OAAO,IAAI,gBAAgB,CAAC;YAC1B,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,CAAC;YACpC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,iBAAiB,EAAE,SAAS,IAAI,CAAC,CAAC;YACtD,eAAe,EAAE,IAAI,CAAC,iBAAiB,EAAE,kBAAkB,IAAI,EAAE;YACjE,UAAU,EAAE,IAAI,CAAC,iBAAiB,EAAE,aAAa,EAAE,SAAS,IAAI,EAAE;YAClE,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,qBAAqB,EAAE,WAAW,IAAI,CAAC,CAAC;YAChE,kBAAkB,EAAE,IAAI,CAAC,qBAAqB,EAAE,mBAAmB,IAAI,EAAE;YACzE,YAAY,EAAE,IAAI,CAAC,qBAAqB,EAAE,aAAa,IAAI,EAAE;YAC7D,IAAI,EAAE,IAAI,CAAC,iBAAiB,IAAI,EAAE;YAClC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,mBAAmB,IAAI,CAAC,CAAC;SAC9C,CAAC,CAAC;IACL,CAAC;CACF;AAhCD,4CAgCC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents a member of the platform's official team (staff) in the UI.
|
|
3
|
-
*/
|
|
4
|
-
export declare class TeamMember {
|
|
5
|
-
id: number;
|
|
6
|
-
displayName: string;
|
|
7
|
-
avatar: string;
|
|
8
|
-
social: Record<string, string>;
|
|
9
|
-
roleId: number;
|
|
10
|
-
roleName: string;
|
|
11
|
-
roleCategory: string;
|
|
12
|
-
roleColor: string;
|
|
13
|
-
constructor(data: Partial<TeamMember>);
|
|
14
|
-
/**
|
|
15
|
-
* Instantiates a TeamMember object from an API response.
|
|
16
|
-
*/
|
|
17
|
-
static fromAPI(json: Record<string, any>): TeamMember;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=TeamMember.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TeamMember.d.ts","sourceRoot":"","sources":["../../../src/models/auth/TeamMember.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,UAAU;IACrB,EAAE,EAAE,MAAM,CAAK;IACf,WAAW,EAAE,MAAM,CAAM;IACzB,MAAM,EAAE,MAAM,CAAM;IACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAM;IACpC,MAAM,EAAE,MAAM,CAAK;IACnB,QAAQ,EAAE,MAAM,CAAM;IACtB,YAAY,EAAE,MAAM,CAAM;IAC1B,SAAS,EAAE,MAAM,CAAM;gBAEX,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC;IAIrC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,UAAU;CAatD"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TeamMember = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Represents a member of the platform's official team (staff) in the UI.
|
|
6
|
-
*/
|
|
7
|
-
class TeamMember {
|
|
8
|
-
id = 0;
|
|
9
|
-
displayName = '';
|
|
10
|
-
avatar = '';
|
|
11
|
-
social = {};
|
|
12
|
-
roleId = 0;
|
|
13
|
-
roleName = '';
|
|
14
|
-
roleCategory = '';
|
|
15
|
-
roleColor = '';
|
|
16
|
-
constructor(data) {
|
|
17
|
-
Object.assign(this, data);
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Instantiates a TeamMember object from an API response.
|
|
21
|
-
*/
|
|
22
|
-
static fromAPI(json) {
|
|
23
|
-
if (!json)
|
|
24
|
-
return new TeamMember({});
|
|
25
|
-
return new TeamMember({
|
|
26
|
-
id: Number(json.player_ID || 0),
|
|
27
|
-
displayName: json.player_name || '',
|
|
28
|
-
avatar: json.player_avatar?.media_URL || '',
|
|
29
|
-
social: json.player_social || {},
|
|
30
|
-
roleId: Number(json.player_role?.roleID || 0),
|
|
31
|
-
roleName: json.player_role?.roleName || '',
|
|
32
|
-
roleCategory: json.player_role?.rolecategory || '',
|
|
33
|
-
roleColor: json.player_role?.roleColor || ''
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
exports.TeamMember = TeamMember;
|
|
38
|
-
//# sourceMappingURL=TeamMember.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TeamMember.js","sourceRoot":"","sources":["../../../src/models/auth/TeamMember.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,MAAa,UAAU;IACrB,EAAE,GAAW,CAAC,CAAC;IACf,WAAW,GAAW,EAAE,CAAC;IACzB,MAAM,GAAW,EAAE,CAAC;IACpB,MAAM,GAA2B,EAAE,CAAC;IACpC,MAAM,GAAW,CAAC,CAAC;IACnB,QAAQ,GAAW,EAAE,CAAC;IACtB,YAAY,GAAW,EAAE,CAAC;IAC1B,SAAS,GAAW,EAAE,CAAC;IAEvB,YAAY,IAAyB;QACnC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAyB;QACtC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,UAAU,CAAC,EAAE,CAAC,CAAC;QACrC,OAAO,IAAI,UAAU,CAAC;YACpB,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC;YAC/B,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,EAAE;YACnC,MAAM,EAAE,IAAI,CAAC,aAAa,EAAE,SAAS,IAAI,EAAE;YAC3C,MAAM,EAAE,IAAI,CAAC,aAAa,IAAI,EAAE;YAChC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC,CAAC;YAC7C,QAAQ,EAAE,IAAI,CAAC,WAAW,EAAE,QAAQ,IAAI,EAAE;YAC1C,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,YAAY,IAAI,EAAE;YAClD,SAAS,EAAE,IAAI,CAAC,WAAW,EAAE,SAAS,IAAI,EAAE;SAC7C,CAAC,CAAC;IACL,CAAC;CACF;AA9BD,gCA8BC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents a Badge or Achievement earned by a user.
|
|
3
|
-
*/
|
|
4
|
-
export declare class UserBadge {
|
|
5
|
-
id: string;
|
|
6
|
-
name: string;
|
|
7
|
-
description: string;
|
|
8
|
-
icon: string;
|
|
9
|
-
color: string;
|
|
10
|
-
earnedAt?: string;
|
|
11
|
-
constructor(data: Partial<UserBadge>);
|
|
12
|
-
/**
|
|
13
|
-
* Instantiates a UserBadge object from an API response.
|
|
14
|
-
*/
|
|
15
|
-
static fromAPI(json: any): UserBadge;
|
|
16
|
-
}
|
|
17
|
-
export declare const mapBadgeFromAPI: (json: any) => UserBadge;
|
|
18
|
-
//# sourceMappingURL=UserBadge.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UserBadge.d.ts","sourceRoot":"","sources":["../../../src/models/auth/UserBadge.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,SAAS;IACpB,EAAE,EAAE,MAAM,CAAM;IAChB,IAAI,EAAE,MAAM,CAAM;IAClB,WAAW,EAAE,MAAM,CAAM;IACzB,IAAI,EAAE,MAAM,CAAM;IAClB,KAAK,EAAE,MAAM,CAAM;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAM;gBAEX,IAAI,EAAE,OAAO,CAAC,SAAS,CAAC;IAIpC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS;CAYrC;AAED,eAAO,MAAM,eAAe,GAAI,MAAM,GAAG,KAAG,SAE3C,CAAC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mapBadgeFromAPI = exports.UserBadge = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Represents a Badge or Achievement earned by a user.
|
|
6
|
-
*/
|
|
7
|
-
class UserBadge {
|
|
8
|
-
id = '';
|
|
9
|
-
name = '';
|
|
10
|
-
description = '';
|
|
11
|
-
icon = '';
|
|
12
|
-
color = '';
|
|
13
|
-
earnedAt = '';
|
|
14
|
-
constructor(data) {
|
|
15
|
-
Object.assign(this, data);
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Instantiates a UserBadge object from an API response.
|
|
19
|
-
*/
|
|
20
|
-
static fromAPI(json) {
|
|
21
|
-
if (!json)
|
|
22
|
-
return new UserBadge({});
|
|
23
|
-
return new UserBadge({
|
|
24
|
-
id: String(json.id || json.rozet_id || ''),
|
|
25
|
-
name: json.name || json.rozet_ad || json.title || '',
|
|
26
|
-
description: json.description || json.rozet_aciklama || '',
|
|
27
|
-
icon: json.icon || json.rozet_icon || json.image_url || '',
|
|
28
|
-
color: json.color || json.rozet_renk || '#808080',
|
|
29
|
-
earnedAt: json.earnedAt || json.kazanma_tarihi || json.date || ''
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
exports.UserBadge = UserBadge;
|
|
34
|
-
const mapBadgeFromAPI = (json) => {
|
|
35
|
-
return UserBadge.fromAPI(json);
|
|
36
|
-
};
|
|
37
|
-
exports.mapBadgeFromAPI = mapBadgeFromAPI;
|
|
38
|
-
//# sourceMappingURL=UserBadge.js.map
|