@armoyu/ui 1.1.32 → 1.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/Providers.js +34 -0
- package/dist/app/Providers.js.map +1 -0
- package/dist/app/api/proxy/[...path]/route.d.ts +23 -0
- package/dist/app/api/proxy/[...path]/route.d.ts.map +1 -0
- package/dist/app/api/proxy/[...path]/route.js +127 -0
- package/dist/app/api/proxy/[...path]/route.js.map +1 -0
- package/dist/app/egitim/[slug]/page.d.ts +2 -0
- package/dist/app/egitim/[slug]/page.d.ts.map +1 -0
- package/dist/app/egitim/[slug]/page.js +7 -0
- package/dist/app/egitim/[slug]/page.js.map +1 -0
- package/dist/app/etkinlikler/[eventId]/page.d.ts +2 -0
- package/dist/app/etkinlikler/[eventId]/page.d.ts.map +1 -0
- package/dist/app/etkinlikler/[eventId]/page.js +12 -0
- package/dist/app/etkinlikler/[eventId]/page.js.map +1 -0
- package/dist/app/etkinlikler/page.d.ts +2 -0
- package/dist/app/etkinlikler/page.d.ts.map +1 -0
- package/dist/app/etkinlikler/page.js +32 -0
- package/dist/app/etkinlikler/page.js.map +1 -0
- package/dist/app/gruplar/[groupId]/page.js +11 -0
- package/dist/app/gruplar/[groupId]/page.js.map +1 -0
- package/dist/app/layout.js +29 -0
- package/dist/app/layout.js.map +1 -0
- package/dist/app/management-panel/layout.js +67 -0
- package/dist/app/management-panel/layout.js.map +1 -0
- package/dist/app/management-panel/page.js +151 -0
- package/dist/app/management-panel/page.js.map +1 -0
- package/dist/app/not-found.d.ts +2 -0
- package/dist/app/not-found.d.ts.map +1 -0
- package/dist/app/not-found.js +7 -0
- package/dist/app/not-found.js.map +1 -0
- package/dist/app/page.js +59 -0
- package/dist/app/page.js.map +1 -0
- package/dist/components/Button.d.ts +8 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/Button.js +16 -0
- package/dist/components/Button.js.map +1 -0
- package/dist/components/GenderStatsBar.d.ts +6 -0
- package/dist/components/GenderStatsBar.d.ts.map +1 -0
- package/dist/components/GenderStatsBar.js +8 -0
- package/dist/components/GenderStatsBar.js.map +1 -0
- package/dist/components/RollingNumber.d.ts +8 -0
- package/dist/components/RollingNumber.d.ts.map +1 -0
- package/dist/components/RollingNumber.js +28 -0
- package/dist/components/RollingNumber.js.map +1 -0
- package/dist/components/Slider.d.ts +11 -0
- package/dist/components/Slider.d.ts.map +1 -0
- package/dist/components/Slider.js +36 -0
- package/dist/components/Slider.js.map +1 -0
- package/dist/components/StatsGrid.d.ts +6 -0
- package/dist/components/StatsGrid.d.ts.map +1 -0
- package/dist/components/StatsGrid.js +14 -0
- package/dist/components/StatsGrid.js.map +1 -0
- package/dist/components/ViewModeToggle.d.ts +8 -0
- package/dist/components/ViewModeToggle.d.ts.map +1 -0
- package/dist/components/ViewModeToggle.js +10 -0
- package/dist/components/ViewModeToggle.js.map +1 -0
- package/dist/components/common/Mentions/HashtagLink.d.ts +7 -0
- package/dist/components/common/Mentions/HashtagLink.d.ts.map +1 -0
- package/dist/components/common/Mentions/HashtagLink.js +7 -0
- package/dist/components/common/Mentions/HashtagLink.js.map +1 -0
- package/dist/components/common/Mentions/MentionLink.d.ts +7 -0
- package/dist/components/common/Mentions/MentionLink.d.ts.map +1 -0
- package/dist/components/common/Mentions/MentionLink.js +33 -0
- package/dist/components/common/Mentions/MentionLink.js.map +1 -0
- package/dist/components/common/Mentions/MentionText.d.ts +8 -0
- package/dist/components/common/Mentions/MentionText.d.ts.map +1 -0
- package/dist/components/common/Mentions/MentionText.js +23 -0
- package/dist/components/common/Mentions/MentionText.js.map +1 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts +2 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.js +16 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.js.map +1 -0
- package/dist/components/modules/auth/widgets/InviteWidget.d.ts +6 -0
- package/dist/components/modules/auth/widgets/InviteWidget.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/InviteWidget.js +68 -0
- package/dist/components/modules/auth/widgets/InviteWidget.js.map +1 -0
- package/dist/components/modules/auth/widgets/LoginWidget.js +1 -1
- package/dist/components/modules/auth/widgets/LoginWidget.js.map +1 -1
- package/dist/components/modules/auth/widgets/RegisterWidget.js +1 -1
- package/dist/components/modules/auth/widgets/RegisterWidget.js.map +1 -1
- package/dist/components/modules/blog/pages/MyArticlesPage.d.ts +2 -0
- package/dist/components/modules/blog/pages/MyArticlesPage.d.ts.map +1 -0
- package/dist/components/modules/blog/pages/MyArticlesPage.js +229 -0
- package/dist/components/modules/blog/pages/MyArticlesPage.js.map +1 -0
- package/dist/components/modules/chat/ChatLayout.js +208 -0
- package/dist/components/modules/chat/ChatLayout.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatInput.d.ts +5 -0
- package/dist/components/modules/chat/widgets/ChatInput.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatInput.js +31 -0
- package/dist/components/modules/chat/widgets/ChatInput.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatList.d.ts +7 -0
- package/dist/components/modules/chat/widgets/ChatList.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatList.js +74 -0
- package/dist/components/modules/chat/widgets/ChatList.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts +12 -0
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatMessage.js +31 -0
- package/dist/components/modules/chat/widgets/ChatMessage.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatNotes.d.ts +2 -0
- package/dist/components/modules/chat/widgets/ChatNotes.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatNotes.js +15 -0
- package/dist/components/modules/chat/widgets/ChatNotes.js.map +1 -0
- package/dist/components/modules/cloud/CloudModal.d.ts +12 -0
- package/dist/components/modules/cloud/CloudModal.d.ts.map +1 -0
- package/dist/components/modules/cloud/CloudModal.js +251 -0
- package/dist/components/modules/cloud/CloudModal.js.map +1 -0
- package/dist/components/modules/cloud/CloudWidget.d.ts +9 -0
- package/dist/components/modules/cloud/CloudWidget.d.ts.map +1 -0
- package/dist/components/modules/cloud/CloudWidget.js +7 -0
- package/dist/components/modules/cloud/CloudWidget.js.map +1 -0
- package/dist/components/modules/community/CommunityLayout.js +136 -0
- package/dist/components/modules/community/CommunityLayout.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.d.ts +6 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.js +7 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts +9 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.js +8 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupHeader.d.ts +11 -0
- package/dist/components/modules/community/widgets/GroupHeader.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupHeader.js +18 -0
- package/dist/components/modules/community/widgets/GroupHeader.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupMenu.d.ts +10 -0
- package/dist/components/modules/community/widgets/GroupMenu.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupMenu.js +17 -0
- package/dist/components/modules/community/widgets/GroupMenu.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts +6 -0
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupPermissions.js +7 -0
- package/dist/components/modules/community/widgets/GroupPermissions.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts +11 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.js +13 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts +7 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.js +8 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.js.map +1 -0
- package/dist/components/modules/community/widgets/SchoolCard.d.ts +7 -0
- package/dist/components/modules/community/widgets/SchoolCard.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/SchoolCard.js +11 -0
- package/dist/components/modules/community/widgets/SchoolCard.js.map +1 -0
- package/dist/components/modules/community/widgets/SchoolJoinModal.d.ts +8 -0
- package/dist/components/modules/community/widgets/SchoolJoinModal.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/SchoolJoinModal.js +36 -0
- package/dist/components/modules/community/widgets/SchoolJoinModal.js.map +1 -0
- package/dist/components/modules/community/widgets/SurveyCard.d.ts +8 -0
- package/dist/components/modules/community/widgets/SurveyCard.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/SurveyCard.js +28 -0
- package/dist/components/modules/community/widgets/SurveyCard.js.map +1 -0
- package/dist/components/modules/education/pages/EducationPage.d.ts +2 -0
- package/dist/components/modules/education/pages/EducationPage.d.ts.map +1 -0
- package/dist/components/modules/education/pages/EducationPage.js +56 -0
- package/dist/components/modules/education/pages/EducationPage.js.map +1 -0
- package/dist/components/modules/education/pages/SchoolDetailPage.d.ts +2 -0
- package/dist/components/modules/education/pages/SchoolDetailPage.d.ts.map +1 -0
- package/dist/components/modules/education/pages/SchoolDetailPage.js +79 -0
- package/dist/components/modules/education/pages/SchoolDetailPage.js.map +1 -0
- package/dist/components/modules/events/DetailPage.d.ts +9 -0
- package/dist/components/modules/events/DetailPage.d.ts.map +1 -0
- package/dist/components/modules/events/DetailPage.js +94 -0
- package/dist/components/modules/events/DetailPage.js.map +1 -0
- package/dist/components/modules/events/EventsLayout.d.ts +8 -0
- package/dist/components/modules/events/EventsLayout.d.ts.map +1 -0
- package/dist/components/modules/events/EventsLayout.js +7 -0
- package/dist/components/modules/events/EventsLayout.js.map +1 -0
- package/dist/components/modules/events/EventsPage.d.ts +11 -0
- package/dist/components/modules/events/EventsPage.d.ts.map +1 -0
- package/dist/components/modules/events/EventsPage.js +91 -0
- package/dist/components/modules/events/EventsPage.js.map +1 -0
- package/dist/components/modules/events/index.d.ts +7 -0
- package/dist/components/modules/events/index.d.ts.map +1 -0
- package/dist/components/modules/events/index.js +7 -0
- package/dist/components/modules/events/index.js.map +1 -0
- package/dist/components/modules/events/widgets/EventCard.d.ts +12 -0
- package/dist/components/modules/events/widgets/EventCard.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventCard.js +12 -0
- package/dist/components/modules/events/widgets/EventCard.js.map +1 -0
- package/dist/components/modules/events/widgets/EventFormModal.d.ts +9 -0
- package/dist/components/modules/events/widgets/EventFormModal.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventFormModal.js +24 -0
- package/dist/components/modules/events/widgets/EventFormModal.js.map +1 -0
- package/dist/components/modules/events/widgets/EventList.d.ts +12 -0
- package/dist/components/modules/events/widgets/EventList.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventList.js +30 -0
- package/dist/components/modules/events/widgets/EventList.js.map +1 -0
- package/dist/components/modules/events/widgets/EventShowcase.d.ts +6 -0
- package/dist/components/modules/events/widgets/EventShowcase.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventShowcase.js +80 -0
- package/dist/components/modules/events/widgets/EventShowcase.js.map +1 -0
- package/dist/components/modules/forum/pages/ForumBoardPage.d.ts +8 -0
- package/dist/components/modules/forum/pages/ForumBoardPage.d.ts.map +1 -0
- package/dist/components/modules/forum/pages/ForumBoardPage.js +18 -0
- package/dist/components/modules/forum/pages/ForumBoardPage.js.map +1 -0
- package/dist/components/modules/forum/pages/ForumPage.d.ts +2 -0
- package/dist/components/modules/forum/pages/ForumPage.d.ts.map +1 -0
- package/dist/components/modules/forum/pages/ForumPage.js +14 -0
- package/dist/components/modules/forum/pages/ForumPage.js.map +1 -0
- package/dist/components/modules/forum/pages/ForumTopicPage.d.ts +8 -0
- package/dist/components/modules/forum/pages/ForumTopicPage.d.ts.map +1 -0
- package/dist/components/modules/forum/pages/ForumTopicPage.js +55 -0
- package/dist/components/modules/forum/pages/ForumTopicPage.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumBoard.d.ts +17 -0
- package/dist/components/modules/forum/widgets/ForumBoard.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumBoard.js +7 -0
- package/dist/components/modules/forum/widgets/ForumBoard.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts +6 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.js +7 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts +6 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js +6 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumPost.d.ts +14 -0
- package/dist/components/modules/forum/widgets/ForumPost.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumPost.js +6 -0
- package/dist/components/modules/forum/widgets/ForumPost.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts +2 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.js +6 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.js.map +1 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.d.ts +8 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.js +27 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.js.map +1 -0
- package/dist/components/modules/forum/widgets/TopicItem.d.ts +16 -0
- package/dist/components/modules/forum/widgets/TopicItem.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/TopicItem.js +7 -0
- package/dist/components/modules/forum/widgets/TopicItem.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.d.ts +10 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.js +6 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts +8 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js +6 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts +2 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js +6 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts +7 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js +6 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js.map +1 -0
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.d.ts +6 -0
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.d.ts.map +1 -0
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js +42 -0
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js.map +1 -0
- package/dist/components/modules/giveaways/pages/GiveawaysPage.d.ts +2 -0
- package/dist/components/modules/giveaways/pages/GiveawaysPage.d.ts.map +1 -0
- package/dist/components/modules/giveaways/pages/GiveawaysPage.js +60 -0
- package/dist/components/modules/giveaways/pages/GiveawaysPage.js.map +1 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts +10 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts.map +1 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js +7 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js.map +1 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.d.ts +8 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.d.ts.map +1 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.js +28 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.js.map +1 -0
- package/dist/components/modules/groups/widgets/GroupCard.d.ts +14 -0
- package/dist/components/modules/groups/widgets/GroupCard.d.ts.map +1 -0
- package/dist/components/modules/groups/widgets/GroupCard.js +8 -0
- package/dist/components/modules/groups/widgets/GroupCard.js.map +1 -0
- package/dist/components/modules/guest/widgets/Introduction.d.ts +2 -0
- package/dist/components/modules/guest/widgets/Introduction.d.ts.map +1 -0
- package/dist/components/modules/guest/widgets/Introduction.js +15 -0
- package/dist/components/modules/guest/widgets/Introduction.js.map +1 -0
- package/dist/components/modules/management/ManagementAccessDenied.d.ts +7 -0
- package/dist/components/modules/management/ManagementAccessDenied.d.ts.map +1 -0
- package/dist/components/modules/management/ManagementAccessDenied.js +7 -0
- package/dist/components/modules/management/ManagementAccessDenied.js.map +1 -0
- package/dist/components/modules/management/ManagementLayout.d.ts +14 -0
- package/dist/components/modules/management/ManagementLayout.d.ts.map +1 -0
- package/dist/components/modules/management/ManagementLayout.js +13 -0
- package/dist/components/modules/management/ManagementLayout.js.map +1 -0
- package/dist/components/modules/management/ManagementMobileToggle.d.ts +6 -0
- package/dist/components/modules/management/ManagementMobileToggle.d.ts.map +1 -0
- package/dist/components/modules/management/ManagementMobileToggle.js +6 -0
- package/dist/components/modules/management/ManagementMobileToggle.js.map +1 -0
- package/dist/components/modules/management/ManagementSidebar.d.ts +23 -0
- package/dist/components/modules/management/ManagementSidebar.d.ts.map +1 -0
- package/dist/components/modules/management/ManagementSidebar.js +48 -0
- package/dist/components/modules/management/ManagementSidebar.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.d.ts +6 -0
- package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.js +16 -0
- package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.d.ts +18 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.js +7 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementCharts.d.ts +15 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementCharts.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementCharts.js +10 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementCharts.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.d.ts +36 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.js +14 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementHeader.d.ts +8 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementHeader.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementHeader.js +5 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementHeader.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementOverview.d.ts +27 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementOverview.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementOverview.js +11 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementOverview.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.d.ts +10 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.js +7 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.d.ts +14 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.js +7 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.d.ts +4 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.js +23 -0
- package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/RegistryManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/dashboard/RegistryManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/RegistryManagement.js +36 -0
- package/dist/components/modules/management/widgets/dashboard/RegistryManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.js +74 -0
- package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/SystemSettings.d.ts +2 -0
- package/dist/components/modules/management/widgets/dashboard/SystemSettings.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/dashboard/SystemSettings.js +20 -0
- package/dist/components/modules/management/widgets/dashboard/SystemSettings.js.map +1 -0
- package/dist/components/modules/management/widgets/editor/GiveawaysManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/editor/GiveawaysManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/editor/GiveawaysManagement.js +12 -0
- package/dist/components/modules/management/widgets/editor/GiveawaysManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/editor/GroupsManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/editor/GroupsManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/editor/GroupsManagement.js +12 -0
- package/dist/components/modules/management/widgets/editor/GroupsManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/editor/NewsManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/editor/NewsManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/editor/NewsManagement.js +13 -0
- package/dist/components/modules/management/widgets/editor/NewsManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/editor/SchoolsManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/editor/SchoolsManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/editor/SchoolsManagement.js +12 -0
- package/dist/components/modules/management/widgets/editor/SchoolsManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/editor/StationsManagement.d.ts +2 -0
- package/dist/components/modules/management/widgets/editor/StationsManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/editor/StationsManagement.js +15 -0
- package/dist/components/modules/management/widgets/editor/StationsManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/events/EventManagement.d.ts +13 -0
- package/dist/components/modules/management/widgets/events/EventManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/events/EventManagement.js +13 -0
- package/dist/components/modules/management/widgets/events/EventManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/events/EventSummaryWidget.d.ts +2 -0
- package/dist/components/modules/management/widgets/events/EventSummaryWidget.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/events/EventSummaryWidget.js +11 -0
- package/dist/components/modules/management/widgets/events/EventSummaryWidget.js.map +1 -0
- package/dist/components/modules/management/widgets/support/SupportManagement.d.ts +14 -0
- package/dist/components/modules/management/widgets/support/SupportManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/support/SupportManagement.js +17 -0
- package/dist/components/modules/management/widgets/support/SupportManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/support/SupportSummaryWidget.d.ts +2 -0
- package/dist/components/modules/management/widgets/support/SupportSummaryWidget.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/support/SupportSummaryWidget.js +11 -0
- package/dist/components/modules/management/widgets/support/SupportSummaryWidget.js.map +1 -0
- package/dist/components/modules/management/widgets/users/MemberManagement.d.ts +16 -0
- package/dist/components/modules/management/widgets/users/MemberManagement.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/users/MemberManagement.js +37 -0
- package/dist/components/modules/management/widgets/users/MemberManagement.js.map +1 -0
- package/dist/components/modules/management/widgets/users/MemberSummaryWidget.d.ts +2 -0
- package/dist/components/modules/management/widgets/users/MemberSummaryWidget.d.ts.map +1 -0
- package/dist/components/modules/management/widgets/users/MemberSummaryWidget.js +12 -0
- package/dist/components/modules/management/widgets/users/MemberSummaryWidget.js.map +1 -0
- package/dist/components/modules/mods/pages/ModDetailPage.d.ts +7 -0
- package/dist/components/modules/mods/pages/ModDetailPage.d.ts.map +1 -0
- package/dist/components/modules/mods/pages/ModDetailPage.js +24 -0
- package/dist/components/modules/mods/pages/ModDetailPage.js.map +1 -0
- package/dist/components/modules/mods/pages/ModsPage.d.ts +20 -0
- package/dist/components/modules/mods/pages/ModsPage.d.ts.map +1 -0
- package/dist/components/modules/mods/pages/ModsPage.js +46 -0
- package/dist/components/modules/mods/pages/ModsPage.js.map +1 -0
- package/dist/components/modules/news/NewsLayout.d.ts +7 -0
- package/dist/components/modules/news/NewsLayout.d.ts.map +1 -0
- package/dist/components/modules/news/NewsLayout.js +7 -0
- package/dist/components/modules/news/NewsLayout.js.map +1 -0
- package/dist/components/modules/news/index.d.ts +6 -0
- package/dist/components/modules/news/index.d.ts.map +1 -0
- package/dist/components/modules/news/index.js +6 -0
- package/dist/components/modules/news/index.js.map +1 -0
- package/dist/components/modules/news/pages/NewsDetailPage.d.ts +7 -0
- package/dist/components/modules/news/pages/NewsDetailPage.d.ts.map +1 -0
- package/dist/components/modules/news/pages/NewsDetailPage.js +56 -0
- package/dist/components/modules/news/pages/NewsDetailPage.js.map +1 -0
- package/dist/components/modules/news/pages/NewsPage.d.ts +2 -0
- package/dist/components/modules/news/pages/NewsPage.d.ts.map +1 -0
- package/dist/components/modules/news/pages/NewsPage.js +69 -0
- package/dist/components/modules/news/pages/NewsPage.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsCard.d.ts +13 -0
- package/dist/components/modules/news/widgets/NewsCard.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsCard.js +7 -0
- package/dist/components/modules/news/widgets/NewsCard.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsComments.d.ts +4 -0
- package/dist/components/modules/news/widgets/NewsComments.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsComments.js +7 -0
- package/dist/components/modules/news/widgets/NewsComments.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailAuthor.d.ts +8 -0
- package/dist/components/modules/news/widgets/NewsDetailAuthor.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailAuthor.js +6 -0
- package/dist/components/modules/news/widgets/NewsDetailAuthor.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailHero.d.ts +9 -0
- package/dist/components/modules/news/widgets/NewsDetailHero.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailHero.js +6 -0
- package/dist/components/modules/news/widgets/NewsDetailHero.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailInteraction.d.ts +7 -0
- package/dist/components/modules/news/widgets/NewsDetailInteraction.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailInteraction.js +8 -0
- package/dist/components/modules/news/widgets/NewsDetailInteraction.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailSidebar.d.ts +8 -0
- package/dist/components/modules/news/widgets/NewsDetailSidebar.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailSidebar.js +6 -0
- package/dist/components/modules/news/widgets/NewsDetailSidebar.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsHero.d.ts +2 -0
- package/dist/components/modules/news/widgets/NewsHero.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsHero.js +7 -0
- package/dist/components/modules/news/widgets/NewsHero.js.map +1 -0
- package/dist/components/modules/poll/pages/PollsPage.d.ts +2 -0
- package/dist/components/modules/poll/pages/PollsPage.d.ts.map +1 -0
- package/dist/components/modules/poll/pages/PollsPage.js +57 -0
- package/dist/components/modules/poll/pages/PollsPage.js.map +1 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts +28 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.js +90 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.js.map +1 -0
- package/dist/components/modules/posts/widgets/PostCard.d.ts +39 -0
- package/dist/components/modules/posts/widgets/PostCard.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/PostCard.js +260 -0
- package/dist/components/modules/posts/widgets/PostCard.js.map +1 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts +15 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js +13 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js.map +1 -0
- package/dist/components/modules/posts/widgets/PostShareModal.d.ts +9 -0
- package/dist/components/modules/posts/widgets/PostShareModal.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/PostShareModal.js +45 -0
- package/dist/components/modules/posts/widgets/PostShareModal.js.map +1 -0
- package/dist/components/modules/posts/widgets/RepostModal.d.ts +22 -0
- package/dist/components/modules/posts/widgets/RepostModal.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/RepostModal.js +76 -0
- package/dist/components/modules/posts/widgets/RepostModal.js.map +1 -0
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts +23 -0
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/SocialFeed.js +123 -0
- package/dist/components/modules/posts/widgets/SocialFeed.js.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts +16 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.js +55 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts +7 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js +24 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js.map +1 -0
- package/dist/components/modules/profile/ProfileLayout.js +70 -0
- package/dist/components/modules/profile/ProfileLayout.js.map +1 -0
- package/dist/components/modules/profile/tabs/CareerTab.d.ts +8 -0
- package/dist/components/modules/profile/tabs/CareerTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/CareerTab.js +57 -0
- package/dist/components/modules/profile/tabs/CareerTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/FriendsTab.js +46 -0
- package/dist/components/modules/profile/tabs/FriendsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/GamesTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/GamesTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/GamesTab.js +24 -0
- package/dist/components/modules/profile/tabs/GamesTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/GroupsTab.js +9 -0
- package/dist/components/modules/profile/tabs/GroupsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/MediaTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/MediaTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/MediaTab.js +81 -0
- package/dist/components/modules/profile/tabs/MediaTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/PostsTab.js +34 -0
- package/dist/components/modules/profile/tabs/PostsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/QuestionsTab.d.ts +6 -0
- package/dist/components/modules/profile/tabs/QuestionsTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/QuestionsTab.js +39 -0
- package/dist/components/modules/profile/tabs/QuestionsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/TaggedPostsTab.js +9 -0
- package/dist/components/modules/profile/tabs/TaggedPostsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/WallTab.js +40 -0
- package/dist/components/modules/profile/tabs/WallTab.js.map +1 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts +9 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.js +78 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts +2 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js +14 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts +8 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js +12 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.d.ts +7 -0
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.js +11 -0
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.d.ts +7 -0
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js +11 -0
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts +9 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.js +44 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.d.ts +10 -0
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.js +41 -0
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileSidebar.js +11 -0
- package/dist/components/modules/profile/widgets/ProfileSidebar.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts +9 -0
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileStats.js +26 -0
- package/dist/components/modules/profile/widgets/ProfileStats.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js +61 -0
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +1 -0
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.d.ts +10 -0
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.js +16 -0
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.js.map +1 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts +11 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js +18 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js.map +1 -0
- package/dist/components/modules/shop/CartLayout.d.ts +12 -0
- package/dist/components/modules/shop/CartLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/CartLayout.js +14 -0
- package/dist/components/modules/shop/CartLayout.js.map +1 -0
- package/dist/components/modules/shop/CheckoutLayout.d.ts +8 -0
- package/dist/components/modules/shop/CheckoutLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/CheckoutLayout.js +23 -0
- package/dist/components/modules/shop/CheckoutLayout.js.map +1 -0
- package/dist/components/modules/shop/DetailLayout.d.ts +8 -0
- package/dist/components/modules/shop/DetailLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/DetailLayout.js +24 -0
- package/dist/components/modules/shop/DetailLayout.js.map +1 -0
- package/dist/components/modules/shop/OrdersLayout.d.ts +15 -0
- package/dist/components/modules/shop/OrdersLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/OrdersLayout.js +8 -0
- package/dist/components/modules/shop/OrdersLayout.js.map +1 -0
- package/dist/components/modules/shop/StoreLayout.d.ts +8 -0
- package/dist/components/modules/shop/StoreLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/StoreLayout.js +6 -0
- package/dist/components/modules/shop/StoreLayout.js.map +1 -0
- package/dist/components/modules/shop/widgets/BackToStore.d.ts +2 -0
- package/dist/components/modules/shop/widgets/BackToStore.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/BackToStore.js +13 -0
- package/dist/components/modules/shop/widgets/BackToStore.js.map +1 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.d.ts +8 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.js +23 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.js.map +1 -0
- package/dist/components/modules/shop/widgets/ProductCard.d.ts +8 -0
- package/dist/components/modules/shop/widgets/ProductCard.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/ProductCard.js +10 -0
- package/dist/components/modules/shop/widgets/ProductCard.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreHeader.d.ts +6 -0
- package/dist/components/modules/shop/widgets/StoreHeader.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreHeader.js +9 -0
- package/dist/components/modules/shop/widgets/StoreHeader.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts +7 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.js +13 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreSearchBar.d.ts +9 -0
- package/dist/components/modules/shop/widgets/StoreSearchBar.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreSearchBar.js +9 -0
- package/dist/components/modules/shop/widgets/StoreSearchBar.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.d.ts +8 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.js +8 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts +2 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js +29 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js.map +1 -0
- package/dist/components/modules/social/SocialLayout.js +113 -0
- package/dist/components/modules/social/SocialLayout.js.map +1 -0
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/EconomyWidget.js +55 -0
- package/dist/components/modules/social/widgets/EconomyWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/LeagueWidget.js +50 -0
- package/dist/components/modules/social/widgets/LeagueWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.js +53 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/NewMembersWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/NewMembersWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/NewMembersWidget.js +36 -0
- package/dist/components/modules/social/widgets/NewMembersWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/PostComposer.d.ts +15 -0
- package/dist/components/modules/social/widgets/PostComposer.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/PostComposer.js +164 -0
- package/dist/components/modules/social/widgets/PostComposer.js.map +1 -0
- package/dist/components/modules/social/widgets/RankingWidget.d.ts +5 -0
- package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/RankingWidget.js +78 -0
- package/dist/components/modules/social/widgets/RankingWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/SocialSidebar.d.ts +2 -0
- package/dist/components/modules/social/widgets/SocialSidebar.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/SocialSidebar.js +9 -0
- package/dist/components/modules/social/widgets/SocialSidebar.js.map +1 -0
- package/dist/components/modules/social/widgets/TrendingWidget.d.ts +3 -0
- package/dist/components/modules/social/widgets/TrendingWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/TrendingWidget.js +34 -0
- package/dist/components/modules/social/widgets/TrendingWidget.js.map +1 -0
- package/dist/components/modules/stations/widgets/StationCard.d.ts +3 -0
- package/dist/components/modules/stations/widgets/StationCard.d.ts.map +1 -0
- package/dist/components/modules/stations/widgets/StationCard.js +26 -0
- package/dist/components/modules/stations/widgets/StationCard.js.map +1 -0
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts +10 -0
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts.map +1 -0
- package/dist/components/modules/stations/widgets/StationQRModal.js +13 -0
- package/dist/components/modules/stations/widgets/StationQRModal.js.map +1 -0
- package/dist/components/modules/stories/widgets/AddStoryModal.d.ts +13 -0
- package/dist/components/modules/stories/widgets/AddStoryModal.d.ts.map +1 -0
- package/dist/components/modules/stories/widgets/AddStoryModal.js +11 -0
- package/dist/components/modules/stories/widgets/AddStoryModal.js.map +1 -0
- package/dist/components/modules/stories/widgets/Stories.d.ts +2 -0
- package/dist/components/modules/stories/widgets/Stories.d.ts.map +1 -0
- package/dist/components/modules/stories/widgets/Stories.js +151 -0
- package/dist/components/modules/stories/widgets/Stories.js.map +1 -0
- package/dist/components/modules/stories/widgets/StoryOverlay.d.ts +10 -0
- package/dist/components/modules/stories/widgets/StoryOverlay.d.ts.map +1 -0
- package/dist/components/modules/stories/widgets/StoryOverlay.js +205 -0
- package/dist/components/modules/stories/widgets/StoryOverlay.js.map +1 -0
- package/dist/components/modules/support/pages/SupportPage.d.ts +2 -0
- package/dist/components/modules/support/pages/SupportPage.d.ts.map +1 -0
- package/dist/components/modules/support/pages/SupportPage.js +47 -0
- package/dist/components/modules/support/pages/SupportPage.js.map +1 -0
- package/dist/components/shared/AnimatedStat.d.ts +13 -0
- package/dist/components/shared/AnimatedStat.d.ts.map +1 -0
- package/dist/components/shared/AnimatedStat.js +20 -0
- package/dist/components/shared/AnimatedStat.js.map +1 -0
- package/dist/components/shared/ArmoyuPlayer.d.ts +18 -0
- package/dist/components/shared/ArmoyuPlayer.d.ts.map +1 -0
- package/dist/components/shared/ArmoyuPlayer.js +69 -0
- package/dist/components/shared/ArmoyuPlayer.js.map +1 -0
- package/dist/components/shared/DevTools.d.ts +2 -0
- package/dist/components/shared/DevTools.d.ts.map +1 -0
- package/dist/components/shared/DevTools.js +32 -0
- package/dist/components/shared/DevTools.js.map +1 -0
- package/dist/components/shared/FilterTabs.d.ts +16 -0
- package/dist/components/shared/FilterTabs.d.ts.map +1 -0
- package/dist/components/shared/FilterTabs.js +18 -0
- package/dist/components/shared/FilterTabs.js.map +1 -0
- package/dist/components/shared/FloatingChatButton.js +21 -0
- package/dist/components/shared/FloatingChatButton.js.map +1 -0
- package/dist/components/shared/Footer.d.ts +2 -0
- package/dist/components/shared/Footer.d.ts.map +1 -0
- package/dist/components/shared/Footer.js +10 -0
- package/dist/components/shared/Footer.js.map +1 -0
- package/dist/components/shared/Icons.d.ts +8 -0
- package/dist/components/shared/Icons.d.ts.map +1 -0
- package/dist/components/shared/Icons.js +5 -0
- package/dist/components/shared/Icons.js.map +1 -0
- package/dist/components/shared/ListToolbar.d.ts +32 -0
- package/dist/components/shared/ListToolbar.d.ts.map +1 -0
- package/dist/components/shared/ListToolbar.js +13 -0
- package/dist/components/shared/ListToolbar.js.map +1 -0
- package/dist/components/shared/MainLayoutWrapper.d.ts +5 -0
- package/dist/components/shared/MainLayoutWrapper.d.ts.map +1 -0
- package/dist/components/shared/MainLayoutWrapper.js +8 -0
- package/dist/components/shared/MainLayoutWrapper.js.map +1 -0
- package/dist/components/shared/NotFound.d.ts +21 -0
- package/dist/components/shared/NotFound.d.ts.map +1 -0
- package/dist/components/shared/NotFound.js +7 -0
- package/dist/components/shared/NotFound.js.map +1 -0
- package/dist/components/shared/PageWidth.d.ts +6 -0
- package/dist/components/shared/PageWidth.d.ts.map +1 -0
- package/dist/components/shared/PageWidth.js +14 -0
- package/dist/components/shared/PageWidth.js.map +1 -0
- package/dist/components/shared/RegisterModal.d.ts +7 -0
- package/dist/components/shared/RegisterModal.d.ts.map +1 -0
- package/dist/components/shared/RegisterModal.js +9 -0
- package/dist/components/shared/RegisterModal.js.map +1 -0
- package/dist/components/shared/SearchBar.d.ts +14 -0
- package/dist/components/shared/SearchBar.d.ts.map +1 -0
- package/dist/components/shared/SearchBar.js +21 -0
- package/dist/components/shared/SearchBar.js.map +1 -0
- package/dist/components/shared/UserDrawer.d.ts +23 -0
- package/dist/components/shared/UserDrawer.d.ts.map +1 -0
- package/dist/components/shared/UserDrawer.js +47 -0
- package/dist/components/shared/UserDrawer.js.map +1 -0
- package/dist/components/showcase/AuthTab.js +14 -0
- package/dist/components/showcase/AuthTab.js.map +1 -0
- package/dist/components/showcase/CommunityTab.js +6 -0
- package/dist/components/showcase/CommunityTab.js.map +1 -0
- package/dist/components/showcase/CorporateTab.js +20 -0
- package/dist/components/showcase/CorporateTab.js.map +1 -0
- package/dist/components/showcase/GeneralTab.js +6 -0
- package/dist/components/showcase/GeneralTab.js.map +1 -0
- package/dist/components/showcase/GroupTab.d.ts +2 -0
- package/dist/components/showcase/GroupTab.d.ts.map +1 -0
- package/dist/components/showcase/GroupTab.js +111 -0
- package/dist/components/showcase/GroupTab.js.map +1 -0
- package/dist/components/showcase/MessagesTab.js +25 -0
- package/dist/components/showcase/MessagesTab.js.map +1 -0
- package/dist/components/showcase/MyPostsTab.js +12 -0
- package/dist/components/showcase/MyPostsTab.js.map +1 -0
- package/dist/components/showcase/ProfileTab.js +73 -0
- package/dist/components/showcase/ProfileTab.js.map +1 -0
- package/dist/components/showcase/ReelsTab.d.ts +2 -0
- package/dist/components/showcase/ReelsTab.d.ts.map +1 -0
- package/dist/components/showcase/ReelsTab.js +97 -0
- package/dist/components/showcase/ReelsTab.js.map +1 -0
- package/dist/components/showcase/RulesTab.d.ts +2 -0
- package/dist/components/showcase/RulesTab.d.ts.map +1 -0
- package/dist/components/showcase/RulesTab.js +18 -0
- package/dist/components/showcase/RulesTab.js.map +1 -0
- package/dist/components/showcase/ShopTab.js +63 -0
- package/dist/components/showcase/ShopTab.js.map +1 -0
- package/dist/components/showcase/ShowcaseNavigation.d.ts +2 -0
- package/dist/components/showcase/ShowcaseNavigation.d.ts.map +1 -0
- package/dist/components/showcase/ShowcaseNavigation.js +129 -0
- package/dist/components/showcase/ShowcaseNavigation.js.map +1 -0
- package/dist/components/showcase/SocialTab.js +61 -0
- package/dist/components/showcase/SocialTab.js.map +1 -0
- package/dist/components/showcase/StoriesTab.js +7 -0
- package/dist/components/showcase/StoriesTab.js.map +1 -0
- package/dist/context/ArmoyuContext.d.ts +45 -0
- package/dist/context/ArmoyuContext.d.ts.map +1 -0
- package/dist/context/ArmoyuContext.js +92 -0
- package/dist/context/ArmoyuContext.js.map +1 -0
- package/dist/context/AuthContext.d.ts +23 -0
- package/dist/context/AuthContext.d.ts.map +1 -0
- package/dist/context/AuthContext.js +154 -0
- package/dist/context/AuthContext.js.map +1 -0
- package/dist/context/CartContext.d.ts +18 -0
- package/dist/context/CartContext.d.ts.map +1 -0
- package/dist/context/CartContext.js +63 -0
- package/dist/context/CartContext.js.map +1 -0
- package/dist/context/ChatContext.d.ts +27 -0
- package/dist/context/ChatContext.d.ts.map +1 -0
- package/dist/context/ChatContext.js +170 -0
- package/dist/context/ChatContext.js.map +1 -0
- package/dist/context/LayoutContext.d.ts +11 -0
- package/dist/context/LayoutContext.d.ts.map +1 -0
- package/dist/context/LayoutContext.js +17 -0
- package/dist/context/LayoutContext.js.map +1 -0
- package/dist/context/SocketContext.d.ts +13 -0
- package/dist/context/SocketContext.d.ts.map +1 -0
- package/dist/context/SocketContext.js +32 -0
- package/dist/context/SocketContext.js.map +1 -0
- package/dist/context/ThemeContext.d.ts +14 -0
- package/dist/context/ThemeContext.d.ts.map +1 -0
- package/dist/context/ThemeContext.js +52 -0
- package/dist/context/ThemeContext.js.map +1 -0
- package/dist/hooks/useDebounce.d.ts +2 -0
- package/dist/hooks/useDebounce.d.ts.map +1 -0
- package/dist/hooks/useDebounce.js +14 -0
- package/dist/hooks/useDebounce.js.map +1 -0
- package/dist/index.d.ts +21 -24
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +25 -25
- package/dist/index.js.map +1 -1
- package/dist/lib/ArmoyuUI.d.ts +18 -0
- package/dist/lib/ArmoyuUI.d.ts.map +1 -0
- package/dist/lib/ArmoyuUI.js +25 -0
- package/dist/lib/ArmoyuUI.js.map +1 -0
- package/dist/lib/constants/config.d.ts +9 -0
- package/dist/lib/constants/config.d.ts.map +1 -0
- package/dist/lib/constants/config.js +15 -0
- package/dist/lib/constants/config.js.map +1 -0
- package/dist/lib/constants/educationData.d.ts +11 -0
- package/dist/lib/constants/educationData.d.ts.map +1 -0
- package/dist/lib/constants/educationData.js +121 -0
- package/dist/lib/constants/educationData.js.map +1 -0
- package/dist/lib/constants/punishmentData.d.ts +30 -0
- package/dist/lib/constants/punishmentData.d.ts.map +1 -0
- package/dist/lib/constants/punishmentData.js +184 -0
- package/dist/lib/constants/punishmentData.js.map +1 -0
- package/dist/lib/constants/seedData.d.ts +182 -0
- package/dist/lib/constants/seedData.d.ts.map +1 -0
- package/dist/lib/constants/seedData.js +743 -0
- package/dist/lib/constants/seedData.js.map +1 -0
- package/dist/lib/constants/stationData.d.ts +16 -0
- package/dist/lib/constants/stationData.d.ts.map +1 -0
- package/dist/lib/constants/stationData.js +206 -0
- package/dist/lib/constants/stationData.js.map +1 -0
- package/dist/lib/constants/surveyData.d.ts +3 -0
- package/dist/lib/constants/surveyData.d.ts.map +1 -0
- package/dist/lib/constants/surveyData.js +51 -0
- package/dist/lib/constants/surveyData.js.map +1 -0
- package/dist/lib/constants/teamData.d.ts +19 -0
- package/dist/lib/constants/teamData.d.ts.map +1 -0
- package/dist/lib/constants/teamData.js +56 -0
- package/dist/lib/constants/teamData.js.map +1 -0
- package/dist/lib/utils/numberFormat.d.ts +10 -0
- package/dist/lib/utils/numberFormat.d.ts.map +1 -0
- package/dist/lib/utils/numberFormat.js +17 -0
- package/dist/lib/utils/numberFormat.js.map +1 -0
- package/dist/lib/utils/odpUtils.d.ts +16 -0
- package/dist/lib/utils/odpUtils.d.ts.map +1 -0
- package/dist/lib/utils/odpUtils.js +44 -0
- package/dist/lib/utils/odpUtils.js.map +1 -0
- package/dist/lib/utils/postUtils.d.ts +7 -0
- package/dist/lib/utils/postUtils.d.ts.map +1 -0
- package/dist/lib/utils/postUtils.js +40 -0
- package/dist/lib/utils/postUtils.js.map +1 -0
- package/dist/models/auth/RankedUser.d.ts +20 -0
- package/dist/models/auth/RankedUser.d.ts.map +1 -0
- package/dist/models/auth/RankedUser.js +36 -0
- package/dist/models/auth/RankedUser.js.map +1 -0
- package/dist/models/auth/Role.d.ts +16 -0
- package/dist/models/auth/Role.d.ts.map +1 -0
- package/dist/models/auth/Role.js +33 -0
- package/dist/models/auth/Role.js.map +1 -0
- package/dist/models/auth/Session.d.ts +24 -0
- package/dist/models/auth/Session.d.ts.map +1 -0
- package/dist/models/auth/Session.js +50 -0
- package/dist/models/auth/Session.js.map +1 -0
- package/dist/models/auth/StaffApplication.d.ts +20 -0
- package/dist/models/auth/StaffApplication.d.ts.map +1 -0
- package/dist/models/auth/StaffApplication.js +36 -0
- package/dist/models/auth/StaffApplication.js.map +1 -0
- package/dist/models/auth/TeamMember.d.ts +19 -0
- package/dist/models/auth/TeamMember.d.ts.map +1 -0
- package/dist/models/auth/TeamMember.js +34 -0
- package/dist/models/auth/TeamMember.js.map +1 -0
- package/dist/models/auth/User.d.ts +99 -0
- package/dist/models/auth/User.d.ts.map +1 -0
- package/dist/models/auth/User.js +236 -0
- package/dist/models/auth/User.js.map +1 -0
- package/dist/models/auth/UserBadge.d.ts +18 -0
- package/dist/models/auth/UserBadge.d.ts.map +1 -0
- package/dist/models/auth/UserBadge.js +33 -0
- package/dist/models/auth/UserBadge.js.map +1 -0
- package/dist/models/community/ArmoyuEvent.d.ts +62 -0
- package/dist/models/community/ArmoyuEvent.d.ts.map +1 -0
- package/dist/models/community/ArmoyuEvent.js +149 -0
- package/dist/models/community/ArmoyuEvent.js.map +1 -0
- package/dist/models/community/Classroom.d.ts +24 -0
- package/dist/models/community/Classroom.d.ts.map +1 -0
- package/dist/models/community/Classroom.js +45 -0
- package/dist/models/community/Classroom.js.map +1 -0
- package/dist/models/community/Faculty.d.ts +22 -0
- package/dist/models/community/Faculty.d.ts.map +1 -0
- package/dist/models/community/Faculty.js +41 -0
- package/dist/models/community/Faculty.js.map +1 -0
- package/dist/models/community/Forum.d.ts +26 -0
- package/dist/models/community/Forum.d.ts.map +1 -0
- package/dist/models/community/Forum.js +36 -0
- package/dist/models/community/Forum.js.map +1 -0
- package/dist/models/community/Giveaway.d.ts +22 -0
- package/dist/models/community/Giveaway.d.ts.map +1 -0
- package/dist/models/community/Giveaway.js +38 -0
- package/dist/models/community/Giveaway.js.map +1 -0
- package/dist/models/community/Group.d.ts +38 -0
- package/dist/models/community/Group.d.ts.map +1 -0
- package/dist/models/community/Group.js +115 -0
- package/dist/models/community/Group.js.map +1 -0
- package/dist/models/community/School.d.ts +28 -0
- package/dist/models/community/School.d.ts.map +1 -0
- package/dist/models/community/School.js +68 -0
- package/dist/models/community/School.js.map +1 -0
- package/dist/models/community/SchoolTeam.d.ts +27 -0
- package/dist/models/community/SchoolTeam.d.ts.map +1 -0
- package/dist/models/community/SchoolTeam.js +41 -0
- package/dist/models/community/SchoolTeam.js.map +1 -0
- package/dist/models/community/Station.d.ts +81 -0
- package/dist/models/community/Station.d.ts.map +1 -0
- package/dist/models/community/Station.js +165 -0
- package/dist/models/community/Station.js.map +1 -0
- package/dist/models/community/Survey.d.ts +27 -0
- package/dist/models/community/Survey.d.ts.map +1 -0
- package/dist/models/community/Survey.js +56 -0
- package/dist/models/community/Survey.js.map +1 -0
- package/dist/models/community/SurveyAnswer.d.ts +15 -0
- package/dist/models/community/SurveyAnswer.d.ts.map +1 -0
- package/dist/models/community/SurveyAnswer.js +26 -0
- package/dist/models/community/SurveyAnswer.js.map +1 -0
- package/dist/models/community/Team.d.ts +22 -0
- package/dist/models/community/Team.d.ts.map +1 -0
- package/dist/models/community/Team.js +60 -0
- package/dist/models/community/Team.js.map +1 -0
- package/dist/models/community/Workplace.d.ts +18 -0
- package/dist/models/community/Workplace.d.ts.map +1 -0
- package/dist/models/community/Workplace.js +32 -0
- package/dist/models/community/Workplace.js.map +1 -0
- package/dist/models/content/Game.d.ts +20 -0
- package/dist/models/content/Game.d.ts.map +1 -0
- package/dist/models/content/Game.js +40 -0
- package/dist/models/content/Game.js.map +1 -0
- package/dist/models/content/Media.d.ts +17 -0
- package/dist/models/content/Media.d.ts.map +1 -0
- package/dist/models/content/Media.js +30 -0
- package/dist/models/content/Media.js.map +1 -0
- package/dist/models/content/Mod.d.ts +21 -0
- package/dist/models/content/Mod.d.ts.map +1 -0
- package/dist/models/content/Mod.js +37 -0
- package/dist/models/content/Mod.js.map +1 -0
- package/dist/models/content/News.d.ts +41 -0
- package/dist/models/content/News.d.ts.map +1 -0
- package/dist/models/content/News.js +86 -0
- package/dist/models/content/News.js.map +1 -0
- package/dist/models/content/PlatformStation.d.ts +18 -0
- package/dist/models/content/PlatformStation.d.ts.map +1 -0
- package/dist/models/content/PlatformStation.js +32 -0
- package/dist/models/content/PlatformStation.js.map +1 -0
- package/dist/models/content/PlatformTeam.d.ts +14 -0
- package/dist/models/content/PlatformTeam.d.ts.map +1 -0
- package/dist/models/content/PlatformTeam.js +24 -0
- package/dist/models/content/PlatformTeam.js.map +1 -0
- package/dist/models/content/Project.d.ts +27 -0
- package/dist/models/content/Project.d.ts.map +1 -0
- package/dist/models/content/Project.js +43 -0
- package/dist/models/content/Project.js.map +1 -0
- package/dist/models/content/ProjectScore.d.ts +14 -0
- package/dist/models/content/ProjectScore.d.ts.map +1 -0
- package/dist/models/content/ProjectScore.js +24 -0
- package/dist/models/content/ProjectScore.js.map +1 -0
- package/dist/models/content/StationEquipment.d.ts +16 -0
- package/dist/models/content/StationEquipment.d.ts.map +1 -0
- package/dist/models/content/StationEquipment.js +28 -0
- package/dist/models/content/StationEquipment.js.map +1 -0
- package/dist/models/core/Country.d.ts +15 -0
- package/dist/models/core/Country.d.ts.map +1 -0
- package/dist/models/core/Country.js +26 -0
- package/dist/models/core/Country.js.map +1 -0
- package/dist/models/core/PlatformStats.d.ts +46 -0
- package/dist/models/core/PlatformStats.d.ts.map +1 -0
- package/dist/models/core/PlatformStats.js +88 -0
- package/dist/models/core/PlatformStats.js.map +1 -0
- package/dist/models/core/Province.d.ts +15 -0
- package/dist/models/core/Province.d.ts.map +1 -0
- package/dist/models/core/Province.js +26 -0
- package/dist/models/core/Province.js.map +1 -0
- package/dist/models/core/Rule.d.ts +16 -0
- package/dist/models/core/Rule.d.ts.map +1 -0
- package/dist/models/core/Rule.js +28 -0
- package/dist/models/core/Rule.js.map +1 -0
- package/dist/models/core/SystemSettings.d.ts +38 -0
- package/dist/models/core/SystemSettings.d.ts.map +1 -0
- package/dist/models/core/SystemSettings.js +64 -0
- package/dist/models/core/SystemSettings.js.map +1 -0
- package/dist/models/index.d.ts +58 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +72 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models/shop/CartItem.d.ts +20 -0
- package/dist/models/shop/CartItem.d.ts.map +1 -0
- package/dist/models/shop/CartItem.js +36 -0
- package/dist/models/shop/CartItem.js.map +1 -0
- package/dist/models/shop/Invoice.d.ts +18 -0
- package/dist/models/shop/Invoice.d.ts.map +1 -0
- package/dist/models/shop/Invoice.js +32 -0
- package/dist/models/shop/Invoice.js.map +1 -0
- package/dist/models/shop/Order.d.ts +23 -0
- package/dist/models/shop/Order.d.ts.map +1 -0
- package/dist/models/shop/Order.js +48 -0
- package/dist/models/shop/Order.js.map +1 -0
- package/dist/models/shop/Product.d.ts +26 -0
- package/dist/models/shop/Product.d.ts.map +1 -0
- package/dist/models/shop/Product.js +67 -0
- package/dist/models/shop/Product.js.map +1 -0
- package/dist/models/social/chat/Chat.d.ts +26 -0
- package/dist/models/social/chat/Chat.d.ts.map +1 -0
- package/dist/models/social/chat/Chat.js +80 -0
- package/dist/models/social/chat/Chat.js.map +1 -0
- package/dist/models/social/chat/Message.d.ts +18 -0
- package/dist/models/social/chat/Message.d.ts.map +1 -0
- package/dist/models/social/chat/Message.js +58 -0
- package/dist/models/social/chat/Message.js.map +1 -0
- package/dist/models/social/chat/Note.d.ts +16 -0
- package/dist/models/social/chat/Note.d.ts.map +1 -0
- package/dist/models/social/chat/Note.js +28 -0
- package/dist/models/social/chat/Note.js.map +1 -0
- package/dist/models/social/feed/Comment.d.ts +21 -0
- package/dist/models/social/feed/Comment.d.ts.map +1 -0
- package/dist/models/social/feed/Comment.js +46 -0
- package/dist/models/social/feed/Comment.js.map +1 -0
- package/dist/models/social/feed/Post.d.ts +29 -0
- package/dist/models/social/feed/Post.d.ts.map +1 -0
- package/dist/models/social/feed/Post.js +57 -0
- package/dist/models/social/feed/Post.js.map +1 -0
- package/dist/models/social/feed/Story.d.ts +31 -0
- package/dist/models/social/feed/Story.d.ts.map +1 -0
- package/dist/models/social/feed/Story.js +63 -0
- package/dist/models/social/feed/Story.js.map +1 -0
- package/dist/models/social/feed/StoryAuthor.d.ts +13 -0
- package/dist/models/social/feed/StoryAuthor.d.ts.map +1 -0
- package/dist/models/social/feed/StoryAuthor.js +25 -0
- package/dist/models/social/feed/StoryAuthor.js.map +1 -0
- package/dist/models/social/gaming/Game.d.ts +26 -0
- package/dist/models/social/gaming/Game.d.ts.map +1 -0
- package/dist/models/social/gaming/Game.js +45 -0
- package/dist/models/social/gaming/Game.js.map +1 -0
- package/dist/models/social/meta/AuthEnums.d.ts +18 -0
- package/dist/models/social/meta/AuthEnums.d.ts.map +1 -0
- package/dist/models/social/meta/AuthEnums.js +20 -0
- package/dist/models/social/meta/AuthEnums.js.map +1 -0
- package/dist/models/social/meta/MediaEnums.d.ts +20 -0
- package/dist/models/social/meta/MediaEnums.d.ts.map +1 -0
- package/dist/models/social/meta/MediaEnums.js +22 -0
- package/dist/models/social/meta/MediaEnums.js.map +1 -0
- package/dist/models/social/notification/Notification.d.ts +23 -0
- package/dist/models/social/notification/Notification.d.ts.map +1 -0
- package/dist/models/social/notification/Notification.js +64 -0
- package/dist/models/social/notification/Notification.js.map +1 -0
- package/dist/models/social/notification/NotificationEnums.d.ts +54 -0
- package/dist/models/social/notification/NotificationEnums.d.ts.map +1 -0
- package/dist/models/social/notification/NotificationEnums.js +59 -0
- package/dist/models/social/notification/NotificationEnums.js.map +1 -0
- package/dist/models/social/notification/NotificationSender.d.ts +16 -0
- package/dist/models/social/notification/NotificationSender.d.ts.map +1 -0
- package/dist/models/social/notification/NotificationSender.js +28 -0
- package/dist/models/social/notification/NotificationSender.js.map +1 -0
- package/dist/models/social/poll/Poll.d.ts +19 -0
- package/dist/models/social/poll/Poll.d.ts.map +1 -0
- package/dist/models/social/poll/Poll.js +33 -0
- package/dist/models/social/poll/Poll.js.map +1 -0
- package/dist/models/social/poll/PollOption.d.ts +15 -0
- package/dist/models/social/poll/PollOption.d.ts.map +1 -0
- package/dist/models/social/poll/PollOption.js +26 -0
- package/dist/models/social/poll/PollOption.js.map +1 -0
- package/dist/models/social/search/SearchEnums.d.ts +22 -0
- package/dist/models/social/search/SearchEnums.d.ts.map +1 -0
- package/dist/models/social/search/SearchEnums.js +24 -0
- package/dist/models/social/search/SearchEnums.js.map +1 -0
- package/dist/models/social/search/SearchResult.d.ts +21 -0
- package/dist/models/social/search/SearchResult.d.ts.map +1 -0
- package/dist/models/social/search/SearchResult.js +72 -0
- package/dist/models/social/search/SearchResult.js.map +1 -0
- package/dist/models/social/stats/Leaderboard.d.ts +29 -0
- package/dist/models/social/stats/Leaderboard.d.ts.map +1 -0
- package/dist/models/social/stats/Leaderboard.js +50 -0
- package/dist/models/social/stats/Leaderboard.js.map +1 -0
- package/dist/models/social/support/SupportTicket.d.ts +18 -0
- package/dist/models/social/support/SupportTicket.d.ts.map +1 -0
- package/dist/models/social/support/SupportTicket.js +32 -0
- package/dist/models/social/support/SupportTicket.js.map +1 -0
- package/dist/models/social/user/BlockedUser.d.ts +15 -0
- package/dist/models/social/user/BlockedUser.d.ts.map +1 -0
- package/dist/models/social/user/BlockedUser.js +25 -0
- package/dist/models/social/user/BlockedUser.js.map +1 -0
- package/dist/models/store/StoreItem.d.ts +18 -0
- package/dist/models/store/StoreItem.d.ts.map +1 -0
- package/dist/models/store/StoreItem.js +32 -0
- package/dist/models/store/StoreItem.js.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +4 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/navigation.d.ts +6 -0
- package/dist/types/navigation.d.ts.map +1 -0
- package/dist/types/navigation.js +2 -0
- package/dist/types/navigation.js.map +1 -0
- package/dist/types/socket.d.ts +6 -0
- package/dist/types/socket.d.ts.map +1 -0
- package/dist/types/socket.js +2 -0
- package/dist/types/socket.js.map +1 -0
- package/dist/types/stats.d.ts +18 -0
- package/dist/types/stats.d.ts.map +1 -0
- package/dist/types/stats.js +2 -0
- package/dist/types/stats.js.map +1 -0
- package/dist/utils/text/MentionUtils.d.ts +8 -0
- package/dist/utils/text/MentionUtils.d.ts.map +1 -0
- package/dist/utils/text/MentionUtils.js +23 -0
- package/dist/utils/text/MentionUtils.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { CartItem } from './CartItem';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a Shop Order in the UI.
|
|
4
|
+
*/
|
|
5
|
+
export class Order {
|
|
6
|
+
id;
|
|
7
|
+
items;
|
|
8
|
+
total;
|
|
9
|
+
status;
|
|
10
|
+
createdAt;
|
|
11
|
+
paymentMethod;
|
|
12
|
+
constructor(data) {
|
|
13
|
+
this.id = data.id || '';
|
|
14
|
+
this.items = data.items || [];
|
|
15
|
+
this.total = data.total || 0;
|
|
16
|
+
this.status = data.status || 'pending';
|
|
17
|
+
this.createdAt = data.createdAt || Date.now();
|
|
18
|
+
this.paymentMethod = data.paymentMethod || 'credit_card';
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Instantiates an Order object from an API response.
|
|
22
|
+
*/
|
|
23
|
+
static fromAPI(json) {
|
|
24
|
+
if (!json)
|
|
25
|
+
return new Order({});
|
|
26
|
+
return new Order({
|
|
27
|
+
id: String(json.id || ''),
|
|
28
|
+
items: Array.isArray(json.items) ? json.items.map((i) => CartItem.fromAPI(i)) : [],
|
|
29
|
+
total: Number(json.total || json.total_amount || 0),
|
|
30
|
+
status: (json.status || 'pending'),
|
|
31
|
+
createdAt: Number(json.createdAt || json.created_at || Date.now()),
|
|
32
|
+
paymentMethod: (json.paymentMethod || json.payment_method || 'credit_card')
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Returns a user-friendly status name in Turkish.
|
|
37
|
+
*/
|
|
38
|
+
getStatusLabel() {
|
|
39
|
+
switch (this.status) {
|
|
40
|
+
case 'pending': return 'Hazırlanıyor';
|
|
41
|
+
case 'completed': return 'Tamamlandı';
|
|
42
|
+
case 'shipped': return 'Kargoya Verildi';
|
|
43
|
+
case 'canceled': return 'İptal Edildi';
|
|
44
|
+
default: return this.status;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=Order.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Order.js","sourceRoot":"","sources":["../../../src/models/shop/Order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAItC;;GAEG;AACH,MAAM,OAAO,KAAK;IAChB,EAAE,CAAS;IACX,KAAK,CAAa;IAClB,KAAK,CAAS;IACd,MAAM,CAAc;IACpB,SAAS,CAAS;IAClB,aAAa,CAA2C;IAExD,YAAY,IAAoB;QAC9B,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC;QACxB,IAAI,CAAC,KAAK,G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CAAC,CAAC,OAAO,cAAc,CAAC;YACtC,KAAK,WAAW,CAAC,CAAC,OAAO,YAAY,CAAC;YACtC,KAAK,SAAS,CAAC,CAAC,OAAO,iBAAiB,CAAC;YACzC,KAAK,UAAU,CAAC,CAAC,OAAO,cAAc,CAAC;YACvC,OAAO,CAAC,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC;QAC9B,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a Product in the UI.
|
|
3
|
+
*/
|
|
4
|
+
export declare class Product {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
price: number;
|
|
9
|
+
discountPrice?: number;
|
|
10
|
+
image: string;
|
|
11
|
+
category: string;
|
|
12
|
+
stock: number;
|
|
13
|
+
tags?: string[];
|
|
14
|
+
isFeatured: boolean;
|
|
15
|
+
badge?: string;
|
|
16
|
+
constructor(data: Partial<Product>);
|
|
17
|
+
/**
|
|
18
|
+
* Helper to get the display price (discounted if available)
|
|
19
|
+
*/
|
|
20
|
+
getDisplayPrice(): number;
|
|
21
|
+
/**
|
|
22
|
+
* Instantiates a Product object from an API response.
|
|
23
|
+
*/
|
|
24
|
+
static fromAPI(json: Record<string, any>): Product;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=Product.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Product.d.ts","sourceRoot":"","sources":["../../../src/models/shop/Product.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,OAAO;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,EAAE,OAAO,CAAS;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;gBAEH,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC;IAclC;;OAEG;IACH,eAAe,IAAI,MAAM;IAMzB;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,OAAO;CA0BnD"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a Product in the UI.
|
|
3
|
+
*/
|
|
4
|
+
export class Product {
|
|
5
|
+
id;
|
|
6
|
+
name;
|
|
7
|
+
description;
|
|
8
|
+
price;
|
|
9
|
+
discountPrice;
|
|
10
|
+
image;
|
|
11
|
+
category;
|
|
12
|
+
stock;
|
|
13
|
+
tags;
|
|
14
|
+
isFeatured = false;
|
|
15
|
+
badge;
|
|
16
|
+
constructor(data) {
|
|
17
|
+
this.id = data.id || '';
|
|
18
|
+
this.name = data.name || '';
|
|
19
|
+
this.description = data.description || '';
|
|
20
|
+
this.price = data.price || 0;
|
|
21
|
+
this.discountPrice = data.discountPrice;
|
|
22
|
+
this.image = data.image || '';
|
|
23
|
+
this.category = data.category || '';
|
|
24
|
+
this.stock = data.stock || 0;
|
|
25
|
+
this.tags = data.tags || [];
|
|
26
|
+
this.isFeatured = data.isFeatured || false;
|
|
27
|
+
this.badge = data.badge;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Helper to get the display price (discounted if available)
|
|
31
|
+
*/
|
|
32
|
+
getDisplayPrice() {
|
|
33
|
+
return this.discountPrice && this.discountPrice < this.price
|
|
34
|
+
? this.discountPrice
|
|
35
|
+
: this.price;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Instantiates a Product object from an API response.
|
|
39
|
+
*/
|
|
40
|
+
static fromAPI(json) {
|
|
41
|
+
if (!json)
|
|
42
|
+
return new Product({});
|
|
43
|
+
const parsePrice = (p) => {
|
|
44
|
+
if (typeof p === 'number')
|
|
45
|
+
return p;
|
|
46
|
+
if (typeof p === 'string') {
|
|
47
|
+
const cleaned = p.replace(/[₺,]/g, '').replace(' ', '');
|
|
48
|
+
return parseFloat(cleaned) || 0;
|
|
49
|
+
}
|
|
50
|
+
return 0;
|
|
51
|
+
};
|
|
52
|
+
return new Product({
|
|
53
|
+
id: String(json.id || ''),
|
|
54
|
+
name: json.name || json.product_name || '',
|
|
55
|
+
description: json.description || json.desc || '',
|
|
56
|
+
price: parsePrice(json.price),
|
|
57
|
+
discountPrice: json.discountPrice !== undefined ? parsePrice(json.discountPrice) : undefined,
|
|
58
|
+
image: json.image || json.img_url || '',
|
|
59
|
+
category: json.category || 'Genel',
|
|
60
|
+
stock: json.stock || 0,
|
|
61
|
+
tags: json.tags || [],
|
|
62
|
+
isFeatured: json.isFeatured || json.is_featured || false,
|
|
63
|
+
badge: json.badge
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=Product.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../src/models/shop/Product.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,OAAO,OAAO;IAClB,EAAE,CAAS;IACX,IAAI,CAAS;IACb,WAAW,CAAS;IACpB,KAAK,CAAS;IACd,aAAa,CAAU;IACvB,KAAK,CAAS;IACd,QAAQ,CAAS;IACjB,KAAK,CAAS;IACd,IAAI,CAAY;IAChB,UAAU,GAAY,KAAK,CAAC;IAC5B,KAAK,CAAU;IAEf,YAAY,IAAsB;QAChC,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC;QAC5B,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,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AAC;QACX,CAAC,CAAC;QAEF,OAAO,IAAI,OAAO,CAAC;YACjB,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC;YACzB,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,IAAI,EAAE;YAC1C,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,IAAI,IAAI,EAAE;YAChD,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC;YAC7B,aAAa,EAAE,IAAI,CAAC,aAAa,KAAK,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS;YAC5F,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,OAAO,IAAI,EAAE;YACvC,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,OAAO;YAClC,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,CAAC;YACtB,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,EAAE;YACrB,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,WAAW,IAAI,KAAK;YACxD,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { User } from '../../auth/User';
|
|
2
|
+
import { ChatMessage } from './Message';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a Chat conversation or summary in the UI.
|
|
5
|
+
*/
|
|
6
|
+
export declare class Chat {
|
|
7
|
+
id: string;
|
|
8
|
+
participants: User[];
|
|
9
|
+
name: string;
|
|
10
|
+
avatar: string;
|
|
11
|
+
lastMessage: ChatMessage | null;
|
|
12
|
+
time: string;
|
|
13
|
+
unreadCount: number;
|
|
14
|
+
isOnline: boolean;
|
|
15
|
+
lastSeen: string;
|
|
16
|
+
updatedAt: number;
|
|
17
|
+
isGroup: boolean;
|
|
18
|
+
isFavorite: boolean;
|
|
19
|
+
messages: ChatMessage[];
|
|
20
|
+
constructor(data: Partial<Chat>);
|
|
21
|
+
/**
|
|
22
|
+
* Instantiates a Chat object from an API response.
|
|
23
|
+
*/
|
|
24
|
+
static fromAPI(json: Record<string, any>): Chat;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=Chat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../src/models/social/chat/Chat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC;;GAEG;AACH,qBAAa,IAAI;IACf,EAAE,EAAE,MAAM,CAAM;IAChB,YAAY,EAAE,IAAI,EAAE,CAAM;IAC1B,IAAI,EAAE,MAAM,CAAM;IAClB,MAAM,EAAE,MAAM,CAAM;IACpB,WAAW,EAAE,WAAW,GAAG,IAAI,CAAQ;IACvC,IAAI,EAAE,MAAM,CAAM;IAClB,WAAW,EAAE,MAAM,CAAK;IACxB,QAAQ,EAAE,OAAO,CAAS;IAC1B,QAAQ,EAAE,MAAM,CAAM;IACtB,SAAS,EAAE,MAAM,CAAK;IACtB,OAAO,EAAE,OAAO,CAAS;IACzB,UAAU,EAAE,OAAO,CAAS;IAC5B,QAAQ,EAAE,WAAW,EAAE,CAAM;gBAEjB,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC;IAI/B;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;CAwDhD"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { User } from '../../auth/User';
|
|
2
|
+
import { ChatMessage } from './Message';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a Chat conversation or summary in the UI.
|
|
5
|
+
*/
|
|
6
|
+
export class Chat {
|
|
7
|
+
id = '';
|
|
8
|
+
participants = [];
|
|
9
|
+
name = '';
|
|
10
|
+
avatar = '';
|
|
11
|
+
lastMessage = null;
|
|
12
|
+
time = '';
|
|
13
|
+
unreadCount = 0;
|
|
14
|
+
isOnline = false;
|
|
15
|
+
lastSeen = '';
|
|
16
|
+
updatedAt = 0;
|
|
17
|
+
isGroup = false;
|
|
18
|
+
isFavorite = false;
|
|
19
|
+
messages = [];
|
|
20
|
+
constructor(data) {
|
|
21
|
+
Object.assign(this, data);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Instantiates a Chat object from an API response.
|
|
25
|
+
*/
|
|
26
|
+
static fromAPI(json) {
|
|
27
|
+
if (!json)
|
|
28
|
+
return new Chat({});
|
|
29
|
+
const resolveKey = (keys) => {
|
|
30
|
+
// Find all matching keys
|
|
31
|
+
const matchingKeys = Object.keys(json).filter(k => keys.includes(k.toLowerCase()));
|
|
32
|
+
// Return the first one that has a non-empty value
|
|
33
|
+
for (const k of matchingKeys) {
|
|
34
|
+
const val = json[k];
|
|
35
|
+
if (val !== undefined && val !== null && val !== '')
|
|
36
|
+
return val;
|
|
37
|
+
}
|
|
38
|
+
return undefined;
|
|
39
|
+
};
|
|
40
|
+
const id = resolveKey(['kulladi', 'username', 'oyuncukullaniciadi', 'id', 'id_user', 'user_id', 'oyuncubakid', 'oyuncuid', 'arkadasid', 'id_arkadas', 'groupid', 'grupid', 'sohbetid', 'kullid']);
|
|
41
|
+
const name = resolveKey(['oyuncu_adsoyad', 'adisoyadi', 'adi_soyadi', 'displayname', 'user_displayname', 'oyuncuad', 'grupad', 'name', 'title', 'ad', 'username', 'kulladi']);
|
|
42
|
+
let avatarRaw = resolveKey(['avatar', 'chatimage', 'image', 'oyuncu_avatar', 'oyuncuminnakavatar', 'player_avatar', 'arkadasfoto', 'oyuncufoto', 'oyuncuresim', 'profil_fotosu', 'logo', 'foto', 'resim', 'grup_minnakavatar', 'avatar_url']);
|
|
43
|
+
if (!avatarRaw) {
|
|
44
|
+
const heuristicKey = Object.keys(json).find(k => {
|
|
45
|
+
const lowerK = k.toLowerCase();
|
|
46
|
+
return lowerK.includes('avatar') || lowerK.includes('foto') || lowerK.includes('resim') || lowerK.includes('image');
|
|
47
|
+
});
|
|
48
|
+
if (heuristicKey)
|
|
49
|
+
avatarRaw = json[heuristicKey];
|
|
50
|
+
}
|
|
51
|
+
const nestedObj = json.oyuncu || json.arkadas || json.owner || json.user;
|
|
52
|
+
if (!avatarRaw && nestedObj && typeof nestedObj === 'object') {
|
|
53
|
+
const nestedUser = User.fromAPI(nestedObj);
|
|
54
|
+
if (nestedUser.avatar)
|
|
55
|
+
avatarRaw = nestedUser.avatar;
|
|
56
|
+
}
|
|
57
|
+
const lastMsgRaw = resolveKey(['lastmessage', 'last_message', 'sonmesaj', 'son_mesaj']);
|
|
58
|
+
const time = resolveKey(['time', 'zaman', 'tarih', 'last_message_time', 'guncelletarih', 'songorusme', 'songiris']);
|
|
59
|
+
const unread = resolveKey(['unreadcount', 'unread_count', 'okunmamissayi', 'okunmamis_sayi', 'bildirim_sayi', 'bildirim']);
|
|
60
|
+
const onlineRaw = resolveKey(['isonline', 'is_online', 'oyuncu_online', 'durum']);
|
|
61
|
+
const lastSeen = resolveKey(['lastseen', 'last_seen', 'songorulme', 'son_gorulme']);
|
|
62
|
+
const isGroupRaw = resolveKey(['isgroup', 'is_group', 'is_clube', 'groupid', 'grupid']);
|
|
63
|
+
return new Chat({
|
|
64
|
+
id: String(id || ''),
|
|
65
|
+
participants: Array.isArray(json.participants) ? json.participants.map((p) => User.fromAPI(p)) : [],
|
|
66
|
+
name: name || '',
|
|
67
|
+
avatar: typeof avatarRaw === 'string' ? avatarRaw : (avatarRaw?.media_URL || avatarRaw?.media_minURL || avatarRaw?.media_bigURL || avatarRaw?.fotourl || avatarRaw?.url || ''),
|
|
68
|
+
lastMessage: lastMsgRaw ? ChatMessage.fromAPI(lastMsgRaw) : null,
|
|
69
|
+
time: time || '',
|
|
70
|
+
unreadCount: Number(unread || 0),
|
|
71
|
+
isOnline: onlineRaw === 1 || onlineRaw === true,
|
|
72
|
+
lastSeen: lastSeen || '',
|
|
73
|
+
updatedAt: json.updatedAt || json.updated_at || Date.now(),
|
|
74
|
+
isGroup: !!isGroupRaw,
|
|
75
|
+
isFavorite: !!json.isFavorite || !!json.is_favorite,
|
|
76
|
+
messages: Array.isArray(json.messages) ? json.messages.map((m) => ChatMessage.fromAPI(m)) : (Array.isArray(json.liste) ? json.liste.map((m) => ChatMessage.fromAPI(m)) : []),
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=Chat.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Chat.js","sourceRoot":"","sources":["../../../../src/models/social/chat/Chat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC;;GAEG;AACH,MAAM,OAAO,IAAI;IACf,EAAE,GAAW,EAAE,CAAC;IAChB,YAAY,GAAW,EAAE,CAAC;IAC1B,IAAI,GAAW,EAAE,CAAC;IAClB,MAAM,GAAW,EAAE,CAAC;IACpB,WAAW,GAAuB,IAAI,CAAC;IACvC,IAAI,GAAW,EAAE,CAAC;IAClB,WAAW,GAAW,CAAC,CAAC;IACxB,QAAQ,GAAY,KAAK,CAAC;IAC1B,QAAQ,GAAW,EAAE,CAAC;IACtB,SAAS,GAAW,CAAC,CAAC;IACtB,OAAO,GAAY,KAAK,CAAC;IACzB,UAAU,GAAY,KAAK,CAAC;IAC5B,QAAQ,GAAkB,EAAE,CAAC;IAE7B,YAAY,IAAmB;QAC7B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAyB;QACtC,IAAI,CAAC,IAAI;YAA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AE;YAC1D,OAAO,EAAE,CAAC,CAAC,UAAU;YACrB,UAAU,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,IAAI,CAAC,CAAC,IAAI,CAAC,WAAW;YACnD,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;SACvL,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { User } from '../../auth/User';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a single message in a Chat in the UI.
|
|
4
|
+
*/
|
|
5
|
+
export declare class ChatMessage {
|
|
6
|
+
id: string;
|
|
7
|
+
sender: User | null;
|
|
8
|
+
content: string;
|
|
9
|
+
timestamp: string;
|
|
10
|
+
isSystem: boolean;
|
|
11
|
+
isSelf: boolean;
|
|
12
|
+
constructor(data: Partial<ChatMessage>);
|
|
13
|
+
/**
|
|
14
|
+
* Instantiates a ChatMessage object from an API response.
|
|
15
|
+
*/
|
|
16
|
+
static fromAPI(json: Record<string, any>): ChatMessage;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=Message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/models/social/chat/Message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC;;GAEG;AACH,qBAAa,WAAW;IACtB,EAAE,EAAE,MAAM,CAAM;IAChB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAQ;IAC3B,OAAO,EAAE,MAAM,CAAM;IACrB,SAAS,EAAE,MAAM,CAAM;IACvB,QAAQ,EAAE,OAAO,CAAS;IAC1B,MAAM,EAAE,OAAO,CAAS;gBAEZ,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC;IAItC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,WAAW;CAwCvD"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { User } from '../../auth/User';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a single message in a Chat in the UI.
|
|
4
|
+
*/
|
|
5
|
+
export class ChatMessage {
|
|
6
|
+
id = '';
|
|
7
|
+
sender = null;
|
|
8
|
+
content = '';
|
|
9
|
+
timestamp = '';
|
|
10
|
+
isSystem = false;
|
|
11
|
+
isSelf = false;
|
|
12
|
+
constructor(data) {
|
|
13
|
+
Object.assign(this, data);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Instantiates a ChatMessage object from an API response.
|
|
17
|
+
*/
|
|
18
|
+
static fromAPI(json) {
|
|
19
|
+
if (!json)
|
|
20
|
+
return new ChatMessage({});
|
|
21
|
+
const resolveKey = (keys) => {
|
|
22
|
+
// Find all matching keys
|
|
23
|
+
const matchingKeys = Object.keys(json).filter(k => keys.includes(k.toLowerCase()));
|
|
24
|
+
// Return the first one that has a non-empty value
|
|
25
|
+
for (const k of matchingKeys) {
|
|
26
|
+
const val = json[k];
|
|
27
|
+
if (val !== undefined && val !== null && val !== '')
|
|
28
|
+
return val;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
const id = resolveKey(['id', 'sohbetid', 'mesajid', 'id_sohbet', 'id_mesaj']);
|
|
32
|
+
const senderRaw = resolveKey(['sender', 'authorname', 'sender_name', 'gonderen_ad', 'oyuncu_ad', 'gonderen', 'adsoyad', 'kulladi', 'adisoyadi']);
|
|
33
|
+
const content = resolveKey(['content', 'text', 'icerik', 'mesaj', 'text_message', 'message', 'mesajicerik']);
|
|
34
|
+
const timestamp = resolveKey(['timelabel', 'timestamp', 'time', 'zaman', 'tarih', 'sent_at', 'paylasimzaman']);
|
|
35
|
+
const isSystemRaw = resolveKey(['issystem', 'is_system', 'system_message', 'sistem']);
|
|
36
|
+
const side = resolveKey(['side']);
|
|
37
|
+
let sender = null;
|
|
38
|
+
if (json.sender && typeof json.sender === 'object') {
|
|
39
|
+
sender = User.fromAPI(json.sender);
|
|
40
|
+
}
|
|
41
|
+
else if (senderRaw) {
|
|
42
|
+
sender = User.fromAPI({
|
|
43
|
+
displayname: String(senderRaw),
|
|
44
|
+
username: String(resolveKey(['kulladi', 'username', 'oyuncukullaniciadi']) || senderRaw),
|
|
45
|
+
avatar: resolveKey(['authoravatar', 'avatar', 'chatimage', 'image', 'oyuncu_avatar', 'oyuncuminnakavatar', 'player_avatar', 'arkadasfoto', 'oyuncufoto', 'foto'])
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
return new ChatMessage({
|
|
49
|
+
id: String(id || Math.random().toString(36).substring(2, 9)),
|
|
50
|
+
sender: sender,
|
|
51
|
+
content: String(content || ''),
|
|
52
|
+
timestamp: String(timestamp || ''),
|
|
53
|
+
isSystem: isSystemRaw === 1 || isSystemRaw === true || false,
|
|
54
|
+
isSelf: side === 'ben'
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=Message.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Message.js","sourceRoot":"","sources":["../../../../src/models/social/chat/Message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC;;GAEG;AACH,MAAM,OAAO,WAAW;IACtB,EAAE,GAAW,EAAE,CAAC;IAChB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AAC;YAC9B,SAAS,EAAE,MAAM,CAAC,SAAS,IAAI,EAAE,CAAC;YAClC,QAAQ,EAAE,WAAW,KAAK,CAAC,IAAI,WAAW,KAAK,IAAI,IAAI,KAAK;YAC5D,MAAM,EAAE,IAAI,KAAK,KAAK;SACvB,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a personal note or status (Instagram style) in the UI.
|
|
3
|
+
*/
|
|
4
|
+
export declare class Note {
|
|
5
|
+
id: string;
|
|
6
|
+
username: string;
|
|
7
|
+
content: string;
|
|
8
|
+
avatar: string;
|
|
9
|
+
createdAt: string;
|
|
10
|
+
constructor(data: Partial<Note>);
|
|
11
|
+
/**
|
|
12
|
+
* Instantiates a Note object from an API response.
|
|
13
|
+
*/
|
|
14
|
+
static fromAPI(json: Record<string, any>): Note;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=Note.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Note.d.ts","sourceRoot":"","sources":["../../../../src/models/social/chat/Note.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,IAAI;IACf,EAAE,EAAE,MAAM,CAAM;IAChB,QAAQ,EAAE,MAAM,CAAM;IACtB,OAAO,EAAE,MAAM,CAAM;IACrB,MAAM,EAAE,MAAM,CAAM;IACpB,SAAS,EAAE,MAAM,CAAM;gBAEX,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC;IAI/B;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;CAWhD"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a personal note or status (Instagram style) in the UI.
|
|
3
|
+
*/
|
|
4
|
+
export class Note {
|
|
5
|
+
id = '';
|
|
6
|
+
username = '';
|
|
7
|
+
content = '';
|
|
8
|
+
avatar = '';
|
|
9
|
+
createdAt = '';
|
|
10
|
+
constructor(data) {
|
|
11
|
+
Object.assign(this, data);
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Instantiates a Note object from an API response.
|
|
15
|
+
*/
|
|
16
|
+
static fromAPI(json) {
|
|
17
|
+
if (!json)
|
|
18
|
+
return new Note({});
|
|
19
|
+
return new Note({
|
|
20
|
+
id: json.id || '',
|
|
21
|
+
username: json.username || json.kulladi || '',
|
|
22
|
+
content: json.content || json.icerik || json.text || '',
|
|
23
|
+
avatar: json.avatar || json.oyuncuminnakavatar || '',
|
|
24
|
+
createdAt: json.createdAt || json.created_at || json.zaman || ''
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=Note.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Note.js","sourceRoot":"","sources":["../../../../src/models/social/chat/Note.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,OAAO,IAAI;IACf,EAAE,GAAW,EAAE,CAAC;IAChB,QAAQ,GAAW,EAAE,CAAC;IACtB,OAAO,GAAW,EAAE,CAAC;IACrB,MAAM,GAAW,EAAE,CAAC;IACpB,SAAS,GAAW,EAAE,CAAC;IAEvB,YAAY,IAAmB;QAC7B,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,IAAI,CAAC,EAAE,CAAC,CAAC;QAE/B,OAAO,IAAI,IAAI,CAAC;YACd,EAAE,EAAE,IAAI,CAAC,EAAE,IAAI,EAAE;YACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO,IAAI,EAAE;YAC7C,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,IAAI,IAAI,EAAE;YACvD,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,kBAAkB,IAAI,EAAE;YACpD,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,KAAK,IAAI,EAAE;SACjE,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { User } from '../../auth/User';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a Comment on a Post.
|
|
4
|
+
*/
|
|
5
|
+
export declare class Comment {
|
|
6
|
+
id: string;
|
|
7
|
+
author: User | null;
|
|
8
|
+
content: string;
|
|
9
|
+
timestamp: string;
|
|
10
|
+
date: string;
|
|
11
|
+
createdAt: string;
|
|
12
|
+
likeCount: number;
|
|
13
|
+
isLiked: boolean;
|
|
14
|
+
replies: Comment[];
|
|
15
|
+
constructor(data: Partial<Comment>);
|
|
16
|
+
/**
|
|
17
|
+
* Instantiates a Comment object from an API response.
|
|
18
|
+
*/
|
|
19
|
+
static fromAPI(json: any): Comment;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=Comment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Comment.d.ts","sourceRoot":"","sources":["../../../../src/models/social/feed/Comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC;;GAEG;AACH,qBAAa,OAAO;IAClB,EAAE,EAAE,MAAM,CAAM;IAChB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAQ;IAC3B,OAAO,EAAE,MAAM,CAAM;IACrB,SAAS,EAAE,MAAM,CAAM;IAEvB,IAAI,EAAE,MAAM,CAAM;IAClB,SAAS,EAAE,MAAM,CAAM;IAEvB,SAAS,EAAE,MAAM,CAAK;IACtB,OAAO,EAAE,OAAO,CAAS;IACzB,OAAO,EAAE,OAAO,EAAE,CAAM;gBAEZ,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC;IAIlC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO;CAuBnC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { User } from '../../auth/User';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a Comment on a Post.
|
|
4
|
+
*/
|
|
5
|
+
export class Comment {
|
|
6
|
+
id = '';
|
|
7
|
+
author = null;
|
|
8
|
+
content = '';
|
|
9
|
+
timestamp = '';
|
|
10
|
+
// Compatibility aliases for UI
|
|
11
|
+
date = '';
|
|
12
|
+
createdAt = '';
|
|
13
|
+
likeCount = 0;
|
|
14
|
+
isLiked = false;
|
|
15
|
+
replies = [];
|
|
16
|
+
constructor(data) {
|
|
17
|
+
Object.assign(this, data);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Instantiates a Comment object from an API response.
|
|
21
|
+
*/
|
|
22
|
+
static fromAPI(json) {
|
|
23
|
+
if (!json)
|
|
24
|
+
return new Comment({});
|
|
25
|
+
return new Comment({
|
|
26
|
+
id: String(json.id || json.yorumid || json.yorum_id || json.paylasimyorumid || json.yorumID || Math.random().toString(36).substr(2, 9)),
|
|
27
|
+
author: (json.author || json.oyuncu || json.authorDisplayName || json.yorumcuadsoyad || json.adsoyad || json.yazar_adsoyad)
|
|
28
|
+
? User.fromAPI(json.author || json.oyuncu || {
|
|
29
|
+
id: json.authorId || json.oyuncuID || json.oyuncuid || json.yorumcuid || json.yazar_id || 0,
|
|
30
|
+
displayName: json.authorDisplayName || json.yorumcuadsoyad || json.paylasimyorum_yapan_adsoyad || json.adsoyad || json.yazar_adsoyad || json.oyuncu_adsoyad || json.displayName || json.displayname,
|
|
31
|
+
avatar: json.authorAvatar || json.authorSmallAvatar || json.yorumcuavatar || json.yorumcuufakavatar || json.paylasimyorum_yapan_avatar || json.yazar_avatar || json.oyuncu_avatar || json.avatar,
|
|
32
|
+
username: json.authorUsername || json.yorumcukullaniciad || json.paylasimyorum_yapan_kullaniciadi || json.kullaniciadi || json.yazar_kullaniciad || json.username || json.kullaniciad
|
|
33
|
+
})
|
|
34
|
+
: null,
|
|
35
|
+
content: json.content || json.icerik || json.comment || json.text || json.yorumcuicerik || json.paylasimyorum_icerik || '',
|
|
36
|
+
timestamp: json.timestamp || json.tarih || json.created_at || json.zaman || json.yorumcuzaman || json.paylasimyorum_zaman || '',
|
|
37
|
+
date: json.timestamp || json.tarih || json.created_at || json.zaman || json.yorumcuzaman || json.paylasimyorum_zaman || '',
|
|
38
|
+
createdAt: json.timestamp || json.tarih || json.created_at || json.zaman || json.yorumcuzaman || json.paylasimyorum_zaman || '',
|
|
39
|
+
likeCount: Number(json.likeCount || json.begeni_sayi || json.begenisay || 0),
|
|
40
|
+
isLiked: json.isLiked === true || json.begendi === 1 || json.benbegendim === 1 || false,
|
|
41
|
+
replies: Array.isArray(json.replies) ? json.replies.map((r) => Comment.fromAPI(r)) :
|
|
42
|
+
(Array.isArray(json.yanitlar) ? json.yanitlar.map((r) => Comment.fromAPI(r)) : [])
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=Comment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Comment.js","sourceRoot":"","sources":["../../../../src/models/social/feed/Comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC;;GAEG;AACH,MAAM,OAAO,OAAO;IAClB,EAAE,GAAW,EAAE,CAAC;IAChB,MAAM,GAAgB,IAAI,CAAC;IAC3B,OAAO,GAAW,EAAE,CAAC;IACrB,SAAS,GAAW,EAAE,CAAC;IACvB,+BAA+B;IAC/B,IAAI,GAAW,EAAE,CAAC;IAClB,SAAS,GAAW,EAAE,CAAC;IAEvB,SAAS,GAAW,CAAC,CAAC;IACtB,OAAO,GAAY,KAAK,CAAC;IACzB,OAAO,GAAc,EAAE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IAAI,CAAC,WAAW,KAAK,CAAC,IAAI,KAAK;YACvF,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBAChF,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;SACjG,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { User } from '../../auth/User';
|
|
2
|
+
import { Comment } from './Comment';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a Social Post.
|
|
5
|
+
*/
|
|
6
|
+
export declare class Post {
|
|
7
|
+
id: string;
|
|
8
|
+
author: User | null;
|
|
9
|
+
content: string;
|
|
10
|
+
media: {
|
|
11
|
+
type: 'image' | 'video' | 'audio';
|
|
12
|
+
url: string;
|
|
13
|
+
}[];
|
|
14
|
+
timestamp: string;
|
|
15
|
+
likeCount: number;
|
|
16
|
+
commentCount: number;
|
|
17
|
+
isLiked: boolean;
|
|
18
|
+
comments: Comment[];
|
|
19
|
+
likeList: User[];
|
|
20
|
+
device?: 'mobile' | 'web';
|
|
21
|
+
timeLabel?: string;
|
|
22
|
+
location?: string;
|
|
23
|
+
constructor(data: Partial<Post>);
|
|
24
|
+
/**
|
|
25
|
+
* Maps a raw API response (PostResponse) to a UI-friendly Post instance.
|
|
26
|
+
*/
|
|
27
|
+
static fromAPI(json: any): Post;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=Post.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Post.d.ts","sourceRoot":"","sources":["../../../../src/models/social/feed/Post.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC;;GAEG;AACH,qBAAa,IAAI;IACf,EAAE,EAAE,MAAM,CAAM;IAChB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAQ;IAC3B,OAAO,EAAE,MAAM,CAAM;IACrB,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,CAAM;IACjE,SAAS,EAAE,MAAM,CAAM;IACvB,SAAS,EAAE,MAAM,CAAK;IACtB,YAAY,EAAE,MAAM,CAAK;IACzB,OAAO,EAAE,OAAO,CAAS;IACzB,QAAQ,EAAE,OAAO,EAAE,CAAM;IACzB,QAAQ,EAAE,IAAI,EAAE,CAAM;IACtB,MAAM,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;gBAEN,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC;IAI/B;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI;CA8BhC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { User } from '../../auth/User';
|
|
2
|
+
import { Comment } from './Comment';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a Social Post.
|
|
5
|
+
*/
|
|
6
|
+
export class Post {
|
|
7
|
+
id = '';
|
|
8
|
+
author = null;
|
|
9
|
+
content = '';
|
|
10
|
+
media = [];
|
|
11
|
+
timestamp = '';
|
|
12
|
+
likeCount = 0;
|
|
13
|
+
commentCount = 0;
|
|
14
|
+
isLiked = false;
|
|
15
|
+
comments = [];
|
|
16
|
+
likeList = [];
|
|
17
|
+
device;
|
|
18
|
+
timeLabel;
|
|
19
|
+
location;
|
|
20
|
+
constructor(data) {
|
|
21
|
+
Object.assign(this, data);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Maps a raw API response (PostResponse) to a UI-friendly Post instance.
|
|
25
|
+
*/
|
|
26
|
+
static fromAPI(json) {
|
|
27
|
+
if (!json)
|
|
28
|
+
return new Post({});
|
|
29
|
+
return new Post({
|
|
30
|
+
id: String(json.id || json.postID || json.paylasimid || json.paylasim_id || json.post_id || json.sosyalid || json.sosyal_id || ''),
|
|
31
|
+
author: (json.owner || json.author || json.oyuncu || json.oyuncuID) ? User.fromAPI(json.owner || json.author || json.oyuncu || json) : null,
|
|
32
|
+
content: json.content || json.paylasimicerik || json.icerik || json.text || json.paylasimmetin || '',
|
|
33
|
+
media: (Array.isArray(json.media) ? json.media :
|
|
34
|
+
(Array.isArray(json.mappedMedia) ? json.mappedMedia.map((m) => m.url) :
|
|
35
|
+
(Array.isArray(json.paylasimfoto) ? json.paylasimfoto.map((f) => f.fotourl || f.url) : []))).map((url) => {
|
|
36
|
+
const ext = url.split('.').pop()?.toLowerCase() || '';
|
|
37
|
+
const isVideo = ['mp4', 'webm', 'ogg', 'mov'].includes(ext);
|
|
38
|
+
return { type: isVideo ? 'video' : 'image', url };
|
|
39
|
+
}),
|
|
40
|
+
timestamp: json.date || json.paylasimzaman || json.timestamp || json.tarih || json.created_at || '',
|
|
41
|
+
likeCount: Number(json.likesCount || json.begenisay || 0),
|
|
42
|
+
commentCount: Number(json.commentsCount || json.yorumsay || 0),
|
|
43
|
+
isLiked: json.isLiked === true || json.benbegendim === 1 || false,
|
|
44
|
+
comments: Array.isArray(json.topComments) ? json.topComments.map((c) => Comment.fromAPI(c)) :
|
|
45
|
+
(Array.isArray(json.ilkucyorum) ? json.ilkucyorum.map((c) => Comment.fromAPI(c)) : []),
|
|
46
|
+
likeList: Array.isArray(json.topLikers) ? json.topLikers.map((l) => User.fromAPI(l)) :
|
|
47
|
+
(Array.isArray(json.paylasimilkucbegenen) ? json.paylasimilkucbegenen.map((l) => User.fromAPI(l)) :
|
|
48
|
+
(Array.isArray(json.begenenler) ? json.begenenler.map((l) => User.fromAPI(l)) :
|
|
49
|
+
(Array.isArray(json.likes) ? json.likes.map((l) => User.fromAPI(l)) :
|
|
50
|
+
(Array.isArray(json.likers) ? json.likers.map((l) => User.fromAPI(l)) : [])))),
|
|
51
|
+
device: (['mobil', 'mobile', 'ios', 'android'].includes(json.device?.toLowerCase()) || Number(json.paylasimcihaz || json.cihaz) === 1) ? 'mobile' : 'web',
|
|
52
|
+
timeLabel: json.paylasimzamangecen || json.timeLabel || '',
|
|
53
|
+
location: json.paylasimkonum || json.location || ''
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=Post.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Post.js","sourceRoot":"","sources":["../../../../src/models/social/feed/Post.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC;;GAEG;AACH,MAAM,OAAO,IAAI;IACf,EAAE,GAAW,EAAE,CAAC;IAChB,MAAM,GAAgB,IAAI,CAAC;IAC3B,OAAO,GAAW,EAAE,CAAC;IACrB,KAAK,GAAyD,EAAE,CAAC;IACjE,SAAS,GAAW,EAAE,CAAC;IACvB,SAAS,GAAW,CAAC,CAAC;IACtB,YAAY,GAAW,CAAC,CAAC;IACzB,OAAO,GAAY,KAAK,CAAC;IACzB,QAAQ,GAAc,EAAE,CAAC;IACzB,QAAQ,GAAW,EAAE,CAAC;IACtB,MAAM,CAAoB;IAC1B,SAAS,CAAU;IACnB,QAAQ,CAAU;IAElB,YAAY,IAAmB;QAC7B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;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