@armoyu/ui 1.1.25 → 1.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/Providers.d.ts.map +1 -1
- package/dist/app/gruplar/[groupId]/page.d.ts.map +1 -1
- package/dist/app/management-panel/layout.d.ts +5 -0
- package/dist/app/management-panel/layout.d.ts.map +1 -0
- package/dist/app/management-panel/page.d.ts +2 -0
- package/dist/app/management-panel/page.d.ts.map +1 -0
- package/dist/app/page.d.ts.map +1 -1
- package/dist/components/modules/auth/widgets/LoginWidget.d.ts.map +1 -1
- package/dist/components/modules/auth/widgets/LoginWidget.js +20 -26
- package/dist/components/modules/auth/widgets/LoginWidget.js.map +1 -1
- package/dist/components/modules/auth/widgets/RegisterWidget.d.ts.map +1 -1
- package/dist/components/modules/auth/widgets/RegisterWidget.js +43 -39
- package/dist/components/modules/auth/widgets/RegisterWidget.js.map +1 -1
- package/dist/components/modules/chat/ChatLayout.d.ts.map +1 -1
- package/dist/components/modules/community/CommunityLayout.d.ts.map +1 -1
- package/dist/components/shared/Header.d.ts.map +1 -1
- package/dist/components/shared/Header.js +80 -69
- package/dist/components/shared/Header.js.map +1 -1
- package/dist/components/shared/LoginModal.d.ts.map +1 -1
- package/dist/components/shared/LoginModal.js +7 -10
- package/dist/components/shared/LoginModal.js.map +1 -1
- package/dist/components/showcase/SocialTab.d.ts.map +1 -1
- package/dist/index.d.ts +33 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +175 -274
- package/dist/index.js.map +1 -1
- package/package.json +48 -48
- package/src/globals.css +298 -238
- package/dist/app/Providers.js +0 -36
- package/dist/app/Providers.js.map +0 -1
- package/dist/app/api/proxy/[...path]/route.d.ts +0 -23
- package/dist/app/api/proxy/[...path]/route.d.ts.map +0 -1
- package/dist/app/api/proxy/[...path]/route.js +0 -134
- package/dist/app/api/proxy/[...path]/route.js.map +0 -1
- package/dist/app/egitim/[slug]/page.d.ts +0 -2
- package/dist/app/egitim/[slug]/page.d.ts.map +0 -1
- package/dist/app/egitim/[slug]/page.js +0 -10
- package/dist/app/egitim/[slug]/page.js.map +0 -1
- package/dist/app/etkinlikler/[eventId]/page.d.ts +0 -2
- package/dist/app/etkinlikler/[eventId]/page.d.ts.map +0 -1
- package/dist/app/etkinlikler/[eventId]/page.js +0 -15
- package/dist/app/etkinlikler/[eventId]/page.js.map +0 -1
- package/dist/app/etkinlikler/page.d.ts +0 -2
- package/dist/app/etkinlikler/page.d.ts.map +0 -1
- package/dist/app/etkinlikler/page.js +0 -35
- package/dist/app/etkinlikler/page.js.map +0 -1
- package/dist/app/gruplar/[groupId]/page.js +0 -13
- package/dist/app/gruplar/[groupId]/page.js.map +0 -1
- package/dist/app/layout.js +0 -36
- package/dist/app/layout.js.map +0 -1
- package/dist/app/not-found.d.ts +0 -2
- package/dist/app/not-found.d.ts.map +0 -1
- package/dist/app/not-found.js +0 -10
- package/dist/app/not-found.js.map +0 -1
- package/dist/app/page.js +0 -60
- package/dist/app/page.js.map +0 -1
- package/dist/components/Button.d.ts +0 -8
- package/dist/components/Button.d.ts.map +0 -1
- package/dist/components/Button.js +0 -52
- package/dist/components/Button.js.map +0 -1
- package/dist/components/GenderStatsBar.d.ts +0 -6
- package/dist/components/GenderStatsBar.d.ts.map +0 -1
- package/dist/components/GenderStatsBar.js +0 -11
- package/dist/components/GenderStatsBar.js.map +0 -1
- package/dist/components/RollingNumber.d.ts +0 -7
- package/dist/components/RollingNumber.d.ts.map +0 -1
- package/dist/components/RollingNumber.js +0 -27
- package/dist/components/RollingNumber.js.map +0 -1
- package/dist/components/Slider.d.ts +0 -11
- package/dist/components/Slider.d.ts.map +0 -1
- package/dist/components/Slider.js +0 -39
- package/dist/components/Slider.js.map +0 -1
- package/dist/components/StatsGrid.d.ts +0 -6
- package/dist/components/StatsGrid.d.ts.map +0 -1
- package/dist/components/StatsGrid.js +0 -17
- package/dist/components/StatsGrid.js.map +0 -1
- package/dist/components/ViewModeToggle.d.ts +0 -8
- package/dist/components/ViewModeToggle.d.ts.map +0 -1
- package/dist/components/ViewModeToggle.js +0 -13
- package/dist/components/ViewModeToggle.js.map +0 -1
- package/dist/components/common/Mentions/HashtagLink.d.ts +0 -7
- package/dist/components/common/Mentions/HashtagLink.d.ts.map +0 -1
- package/dist/components/common/Mentions/HashtagLink.js +0 -14
- package/dist/components/common/Mentions/HashtagLink.js.map +0 -1
- package/dist/components/common/Mentions/MentionLink.d.ts +0 -7
- package/dist/components/common/Mentions/MentionLink.d.ts.map +0 -1
- package/dist/components/common/Mentions/MentionLink.js +0 -40
- package/dist/components/common/Mentions/MentionLink.js.map +0 -1
- package/dist/components/common/Mentions/MentionText.d.ts +0 -8
- package/dist/components/common/Mentions/MentionText.d.ts.map +0 -1
- package/dist/components/common/Mentions/MentionText.js +0 -63
- package/dist/components/common/Mentions/MentionText.js.map +0 -1
- package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts +0 -2
- package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts.map +0 -1
- package/dist/components/modules/auth/widgets/AuthJoinCard.js +0 -19
- package/dist/components/modules/auth/widgets/AuthJoinCard.js.map +0 -1
- package/dist/components/modules/auth/widgets/InviteWidget.d.ts +0 -6
- package/dist/components/modules/auth/widgets/InviteWidget.d.ts.map +0 -1
- package/dist/components/modules/auth/widgets/InviteWidget.js +0 -71
- package/dist/components/modules/auth/widgets/InviteWidget.js.map +0 -1
- package/dist/components/modules/blog/pages/MyArticlesPage.d.ts +0 -2
- package/dist/components/modules/blog/pages/MyArticlesPage.d.ts.map +0 -1
- package/dist/components/modules/blog/pages/MyArticlesPage.js +0 -232
- package/dist/components/modules/blog/pages/MyArticlesPage.js.map +0 -1
- package/dist/components/modules/chat/ChatLayout.js +0 -238
- package/dist/components/modules/chat/ChatLayout.js.map +0 -1
- package/dist/components/modules/chat/widgets/ChatInput.d.ts +0 -5
- package/dist/components/modules/chat/widgets/ChatInput.d.ts.map +0 -1
- package/dist/components/modules/chat/widgets/ChatInput.js +0 -34
- package/dist/components/modules/chat/widgets/ChatInput.js.map +0 -1
- package/dist/components/modules/chat/widgets/ChatList.d.ts +0 -7
- package/dist/components/modules/chat/widgets/ChatList.d.ts.map +0 -1
- package/dist/components/modules/chat/widgets/ChatList.js +0 -77
- package/dist/components/modules/chat/widgets/ChatList.js.map +0 -1
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts +0 -12
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts.map +0 -1
- package/dist/components/modules/chat/widgets/ChatMessage.js +0 -34
- package/dist/components/modules/chat/widgets/ChatMessage.js.map +0 -1
- package/dist/components/modules/chat/widgets/ChatNotes.d.ts +0 -2
- package/dist/components/modules/chat/widgets/ChatNotes.d.ts.map +0 -1
- package/dist/components/modules/chat/widgets/ChatNotes.js +0 -18
- package/dist/components/modules/chat/widgets/ChatNotes.js.map +0 -1
- package/dist/components/modules/cloud/CloudModal.d.ts +0 -12
- package/dist/components/modules/cloud/CloudModal.d.ts.map +0 -1
- package/dist/components/modules/cloud/CloudModal.js +0 -254
- package/dist/components/modules/cloud/CloudModal.js.map +0 -1
- package/dist/components/modules/cloud/CloudWidget.d.ts +0 -9
- package/dist/components/modules/cloud/CloudWidget.d.ts.map +0 -1
- package/dist/components/modules/cloud/CloudWidget.js +0 -10
- package/dist/components/modules/cloud/CloudWidget.js.map +0 -1
- package/dist/components/modules/community/CommunityLayout.js +0 -139
- package/dist/components/modules/community/CommunityLayout.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupAboutCard.d.ts +0 -6
- package/dist/components/modules/community/widgets/GroupAboutCard.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupAboutCard.js +0 -10
- package/dist/components/modules/community/widgets/GroupAboutCard.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts +0 -9
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupFeedSection.js +0 -11
- package/dist/components/modules/community/widgets/GroupFeedSection.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupHeader.d.ts +0 -11
- package/dist/components/modules/community/widgets/GroupHeader.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupHeader.js +0 -21
- package/dist/components/modules/community/widgets/GroupHeader.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupMenu.d.ts +0 -10
- package/dist/components/modules/community/widgets/GroupMenu.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupMenu.js +0 -23
- package/dist/components/modules/community/widgets/GroupMenu.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts +0 -6
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupPermissions.js +0 -10
- package/dist/components/modules/community/widgets/GroupPermissions.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts +0 -11
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupStatsGrid.js +0 -16
- package/dist/components/modules/community/widgets/GroupStatsGrid.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts +0 -7
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupTopMembers.js +0 -14
- package/dist/components/modules/community/widgets/GroupTopMembers.js.map +0 -1
- package/dist/components/modules/community/widgets/SchoolCard.d.ts +0 -7
- package/dist/components/modules/community/widgets/SchoolCard.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/SchoolCard.js +0 -14
- package/dist/components/modules/community/widgets/SchoolCard.js.map +0 -1
- package/dist/components/modules/community/widgets/SurveyCard.d.ts +0 -8
- package/dist/components/modules/community/widgets/SurveyCard.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/SurveyCard.js +0 -31
- package/dist/components/modules/community/widgets/SurveyCard.js.map +0 -1
- package/dist/components/modules/education/pages/EducationPage.d.ts +0 -2
- package/dist/components/modules/education/pages/EducationPage.d.ts.map +0 -1
- package/dist/components/modules/education/pages/EducationPage.js +0 -59
- package/dist/components/modules/education/pages/EducationPage.js.map +0 -1
- package/dist/components/modules/education/pages/SchoolDetailPage.d.ts +0 -2
- package/dist/components/modules/education/pages/SchoolDetailPage.d.ts.map +0 -1
- package/dist/components/modules/education/pages/SchoolDetailPage.js +0 -82
- package/dist/components/modules/education/pages/SchoolDetailPage.js.map +0 -1
- package/dist/components/modules/events/DetailPage.d.ts +0 -9
- package/dist/components/modules/events/DetailPage.d.ts.map +0 -1
- package/dist/components/modules/events/DetailPage.js +0 -88
- package/dist/components/modules/events/DetailPage.js.map +0 -1
- package/dist/components/modules/events/EventsLayout.d.ts +0 -8
- package/dist/components/modules/events/EventsLayout.d.ts.map +0 -1
- package/dist/components/modules/events/EventsLayout.js +0 -9
- package/dist/components/modules/events/EventsLayout.js.map +0 -1
- package/dist/components/modules/events/EventsPage.d.ts +0 -11
- package/dist/components/modules/events/EventsPage.d.ts.map +0 -1
- package/dist/components/modules/events/EventsPage.js +0 -94
- package/dist/components/modules/events/EventsPage.js.map +0 -1
- package/dist/components/modules/events/index.d.ts +0 -7
- package/dist/components/modules/events/index.d.ts.map +0 -1
- package/dist/components/modules/events/index.js +0 -17
- package/dist/components/modules/events/index.js.map +0 -1
- package/dist/components/modules/events/widgets/EventCard.d.ts +0 -12
- package/dist/components/modules/events/widgets/EventCard.d.ts.map +0 -1
- package/dist/components/modules/events/widgets/EventCard.js +0 -18
- package/dist/components/modules/events/widgets/EventCard.js.map +0 -1
- package/dist/components/modules/events/widgets/EventFormModal.d.ts +0 -9
- package/dist/components/modules/events/widgets/EventFormModal.d.ts.map +0 -1
- package/dist/components/modules/events/widgets/EventFormModal.js +0 -27
- package/dist/components/modules/events/widgets/EventFormModal.js.map +0 -1
- package/dist/components/modules/events/widgets/EventList.d.ts +0 -12
- package/dist/components/modules/events/widgets/EventList.d.ts.map +0 -1
- package/dist/components/modules/events/widgets/EventList.js +0 -36
- package/dist/components/modules/events/widgets/EventList.js.map +0 -1
- package/dist/components/modules/events/widgets/EventShowcase.d.ts +0 -6
- package/dist/components/modules/events/widgets/EventShowcase.d.ts.map +0 -1
- package/dist/components/modules/events/widgets/EventShowcase.js +0 -83
- package/dist/components/modules/events/widgets/EventShowcase.js.map +0 -1
- package/dist/components/modules/forum/pages/ForumBoardPage.d.ts +0 -8
- package/dist/components/modules/forum/pages/ForumBoardPage.d.ts.map +0 -1
- package/dist/components/modules/forum/pages/ForumBoardPage.js +0 -21
- package/dist/components/modules/forum/pages/ForumBoardPage.js.map +0 -1
- package/dist/components/modules/forum/pages/ForumPage.d.ts +0 -2
- package/dist/components/modules/forum/pages/ForumPage.d.ts.map +0 -1
- package/dist/components/modules/forum/pages/ForumPage.js +0 -17
- package/dist/components/modules/forum/pages/ForumPage.js.map +0 -1
- package/dist/components/modules/forum/pages/ForumTopicPage.d.ts +0 -8
- package/dist/components/modules/forum/pages/ForumTopicPage.d.ts.map +0 -1
- package/dist/components/modules/forum/pages/ForumTopicPage.js +0 -58
- package/dist/components/modules/forum/pages/ForumTopicPage.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumBoard.d.ts +0 -17
- package/dist/components/modules/forum/widgets/ForumBoard.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumBoard.js +0 -13
- package/dist/components/modules/forum/widgets/ForumBoard.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts +0 -6
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumCategoryList.js +0 -10
- package/dist/components/modules/forum/widgets/ForumCategoryList.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts +0 -6
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js +0 -9
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumPost.d.ts +0 -14
- package/dist/components/modules/forum/widgets/ForumPost.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumPost.js +0 -9
- package/dist/components/modules/forum/widgets/ForumPost.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts +0 -2
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumSidebar.js +0 -9
- package/dist/components/modules/forum/widgets/ForumSidebar.js.map +0 -1
- package/dist/components/modules/forum/widgets/NewTopicModal.d.ts +0 -8
- package/dist/components/modules/forum/widgets/NewTopicModal.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/NewTopicModal.js +0 -30
- package/dist/components/modules/forum/widgets/NewTopicModal.js.map +0 -1
- package/dist/components/modules/forum/widgets/TopicItem.d.ts +0 -16
- package/dist/components/modules/forum/widgets/TopicItem.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/TopicItem.js +0 -13
- package/dist/components/modules/forum/widgets/TopicItem.js.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryCard.d.ts +0 -10
- package/dist/components/modules/galleries/widgets/GalleryCard.d.ts.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryCard.js +0 -9
- package/dist/components/modules/galleries/widgets/GalleryCard.js.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts +0 -8
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js +0 -9
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts +0 -2
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js +0 -9
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts +0 -7
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js +0 -9
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js.map +0 -1
- package/dist/components/modules/giveaway/pages/GiveawayDetailPage.d.ts +0 -6
- package/dist/components/modules/giveaway/pages/GiveawayDetailPage.d.ts.map +0 -1
- package/dist/components/modules/giveaway/pages/GiveawayDetailPage.js +0 -44
- package/dist/components/modules/giveaway/pages/GiveawayDetailPage.js.map +0 -1
- package/dist/components/modules/giveaway/pages/GiveawaysPage.d.ts +0 -2
- package/dist/components/modules/giveaway/pages/GiveawaysPage.d.ts.map +0 -1
- package/dist/components/modules/giveaway/pages/GiveawaysPage.js +0 -63
- package/dist/components/modules/giveaway/pages/GiveawaysPage.js.map +0 -1
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.d.ts +0 -6
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.d.ts.map +0 -1
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js +0 -44
- package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js.map +0 -1
- package/dist/components/modules/giveaways/pages/GiveawaysPage.d.ts +0 -2
- package/dist/components/modules/giveaways/pages/GiveawaysPage.d.ts.map +0 -1
- package/dist/components/modules/giveaways/pages/GiveawaysPage.js +0 -63
- package/dist/components/modules/giveaways/pages/GiveawaysPage.js.map +0 -1
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts +0 -10
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts.map +0 -1
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js +0 -10
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js.map +0 -1
- package/dist/components/modules/groups/widgets/ApplicationModal.d.ts +0 -8
- package/dist/components/modules/groups/widgets/ApplicationModal.d.ts.map +0 -1
- package/dist/components/modules/groups/widgets/ApplicationModal.js +0 -31
- package/dist/components/modules/groups/widgets/ApplicationModal.js.map +0 -1
- package/dist/components/modules/groups/widgets/GroupCard.d.ts +0 -14
- package/dist/components/modules/groups/widgets/GroupCard.d.ts.map +0 -1
- package/dist/components/modules/groups/widgets/GroupCard.js +0 -14
- package/dist/components/modules/groups/widgets/GroupCard.js.map +0 -1
- package/dist/components/modules/guest/widgets/Introduction.d.ts +0 -2
- package/dist/components/modules/guest/widgets/Introduction.d.ts.map +0 -1
- package/dist/components/modules/guest/widgets/Introduction.js +0 -18
- package/dist/components/modules/guest/widgets/Introduction.js.map +0 -1
- package/dist/components/modules/management/ManagementAccessDenied.d.ts +0 -7
- package/dist/components/modules/management/ManagementAccessDenied.d.ts.map +0 -1
- package/dist/components/modules/management/ManagementAccessDenied.js +0 -14
- package/dist/components/modules/management/ManagementAccessDenied.js.map +0 -1
- package/dist/components/modules/management/ManagementLayout.d.ts +0 -14
- package/dist/components/modules/management/ManagementLayout.d.ts.map +0 -1
- package/dist/components/modules/management/ManagementLayout.js +0 -17
- package/dist/components/modules/management/ManagementLayout.js.map +0 -1
- package/dist/components/modules/management/ManagementMobileToggle.d.ts +0 -6
- package/dist/components/modules/management/ManagementMobileToggle.d.ts.map +0 -1
- package/dist/components/modules/management/ManagementMobileToggle.js +0 -10
- package/dist/components/modules/management/ManagementMobileToggle.js.map +0 -1
- package/dist/components/modules/management/ManagementSidebar.d.ts +0 -17
- package/dist/components/modules/management/ManagementSidebar.d.ts.map +0 -1
- package/dist/components/modules/management/ManagementSidebar.js +0 -22
- package/dist/components/modules/management/ManagementSidebar.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementActivityFeed.d.ts +0 -18
- package/dist/components/modules/management/widgets/ManagementActivityFeed.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementActivityFeed.js +0 -14
- package/dist/components/modules/management/widgets/ManagementActivityFeed.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementDashboard.d.ts +0 -45
- package/dist/components/modules/management/widgets/ManagementDashboard.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementDashboard.js +0 -27
- package/dist/components/modules/management/widgets/ManagementDashboard.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementHeader.d.ts +0 -8
- package/dist/components/modules/management/widgets/ManagementHeader.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementHeader.js +0 -9
- package/dist/components/modules/management/widgets/ManagementHeader.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementQuickActions.d.ts +0 -10
- package/dist/components/modules/management/widgets/ManagementQuickActions.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementQuickActions.js +0 -14
- package/dist/components/modules/management/widgets/ManagementQuickActions.js.map +0 -1
- package/dist/components/modules/management/widgets/ManagementStatsGrid.d.ts +0 -14
- package/dist/components/modules/management/widgets/ManagementStatsGrid.d.ts.map +0 -1
- package/dist/components/modules/management/widgets/ManagementStatsGrid.js +0 -10
- package/dist/components/modules/management/widgets/ManagementStatsGrid.js.map +0 -1
- package/dist/components/modules/mods/pages/ModDetailPage.d.ts +0 -7
- package/dist/components/modules/mods/pages/ModDetailPage.d.ts.map +0 -1
- package/dist/components/modules/mods/pages/ModDetailPage.js +0 -27
- package/dist/components/modules/mods/pages/ModDetailPage.js.map +0 -1
- package/dist/components/modules/mods/pages/ModsPage.d.ts +0 -20
- package/dist/components/modules/mods/pages/ModsPage.d.ts.map +0 -1
- package/dist/components/modules/mods/pages/ModsPage.js +0 -50
- package/dist/components/modules/mods/pages/ModsPage.js.map +0 -1
- package/dist/components/modules/news/NewsLayout.d.ts +0 -7
- package/dist/components/modules/news/NewsLayout.d.ts.map +0 -1
- package/dist/components/modules/news/NewsLayout.js +0 -10
- package/dist/components/modules/news/NewsLayout.js.map +0 -1
- package/dist/components/modules/news/index.d.ts +0 -6
- package/dist/components/modules/news/index.d.ts.map +0 -1
- package/dist/components/modules/news/index.js +0 -22
- package/dist/components/modules/news/index.js.map +0 -1
- package/dist/components/modules/news/pages/NewsDetailPage.d.ts +0 -7
- package/dist/components/modules/news/pages/NewsDetailPage.d.ts.map +0 -1
- package/dist/components/modules/news/pages/NewsDetailPage.js +0 -59
- package/dist/components/modules/news/pages/NewsDetailPage.js.map +0 -1
- package/dist/components/modules/news/pages/NewsPage.d.ts +0 -2
- package/dist/components/modules/news/pages/NewsPage.d.ts.map +0 -1
- package/dist/components/modules/news/pages/NewsPage.js +0 -72
- package/dist/components/modules/news/pages/NewsPage.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsCard.d.ts +0 -13
- package/dist/components/modules/news/widgets/NewsCard.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsCard.js +0 -13
- package/dist/components/modules/news/widgets/NewsCard.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsComments.d.ts +0 -4
- package/dist/components/modules/news/widgets/NewsComments.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsComments.js +0 -10
- package/dist/components/modules/news/widgets/NewsComments.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailAuthor.d.ts +0 -8
- package/dist/components/modules/news/widgets/NewsDetailAuthor.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailAuthor.js +0 -9
- package/dist/components/modules/news/widgets/NewsDetailAuthor.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailHero.d.ts +0 -9
- package/dist/components/modules/news/widgets/NewsDetailHero.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailHero.js +0 -9
- package/dist/components/modules/news/widgets/NewsDetailHero.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailInteraction.d.ts +0 -7
- package/dist/components/modules/news/widgets/NewsDetailInteraction.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailInteraction.js +0 -11
- package/dist/components/modules/news/widgets/NewsDetailInteraction.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailSidebar.d.ts +0 -8
- package/dist/components/modules/news/widgets/NewsDetailSidebar.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsDetailSidebar.js +0 -9
- package/dist/components/modules/news/widgets/NewsDetailSidebar.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsHero.d.ts +0 -2
- package/dist/components/modules/news/widgets/NewsHero.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsHero.js +0 -10
- package/dist/components/modules/news/widgets/NewsHero.js.map +0 -1
- package/dist/components/modules/poll/pages/PollsPage.d.ts +0 -2
- package/dist/components/modules/poll/pages/PollsPage.d.ts.map +0 -1
- package/dist/components/modules/poll/pages/PollsPage.js +0 -60
- package/dist/components/modules/poll/pages/PollsPage.js.map +0 -1
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts +0 -28
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/MediaLightbox.js +0 -93
- package/dist/components/modules/posts/widgets/MediaLightbox.js.map +0 -1
- package/dist/components/modules/posts/widgets/PostCard.d.ts +0 -36
- package/dist/components/modules/posts/widgets/PostCard.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/PostCard.js +0 -296
- package/dist/components/modules/posts/widgets/PostCard.js.map +0 -1
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts +0 -15
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js +0 -19
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js.map +0 -1
- package/dist/components/modules/posts/widgets/RepostModal.d.ts +0 -22
- package/dist/components/modules/posts/widgets/RepostModal.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/RepostModal.js +0 -79
- package/dist/components/modules/posts/widgets/RepostModal.js.map +0 -1
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts +0 -23
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/SocialFeed.js +0 -126
- package/dist/components/modules/posts/widgets/SocialFeed.js.map +0 -1
- package/dist/components/modules/posts/widgets/Stories.d.ts +0 -2
- package/dist/components/modules/posts/widgets/Stories.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/Stories.js +0 -24
- package/dist/components/modules/posts/widgets/Stories.js.map +0 -1
- package/dist/components/modules/posts/widgets/StoryViewer.d.ts +0 -10
- package/dist/components/modules/posts/widgets/StoryViewer.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/StoryViewer.js +0 -54
- package/dist/components/modules/posts/widgets/StoryViewer.js.map +0 -1
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts +0 -16
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/reels/ReelCard.js +0 -58
- package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +0 -1
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts +0 -7
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js +0 -27
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js.map +0 -1
- package/dist/components/modules/profile/ProfileLayout.js +0 -73
- package/dist/components/modules/profile/ProfileLayout.js.map +0 -1
- package/dist/components/modules/profile/tabs/AboutTab.d.ts +0 -10
- package/dist/components/modules/profile/tabs/AboutTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/AboutTab.js +0 -12
- package/dist/components/modules/profile/tabs/AboutTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/CareerTab.d.ts +0 -8
- package/dist/components/modules/profile/tabs/CareerTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/CareerTab.js +0 -60
- package/dist/components/modules/profile/tabs/CareerTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts +0 -7
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/FriendsTab.js +0 -52
- package/dist/components/modules/profile/tabs/FriendsTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/GamesTab.d.ts +0 -7
- package/dist/components/modules/profile/tabs/GamesTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/GamesTab.js +0 -27
- package/dist/components/modules/profile/tabs/GamesTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts +0 -7
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/GroupsTab.js +0 -15
- package/dist/components/modules/profile/tabs/GroupsTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/MediaTab.d.ts +0 -7
- package/dist/components/modules/profile/tabs/MediaTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/MediaTab.js +0 -84
- package/dist/components/modules/profile/tabs/MediaTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/PostsTab.js +0 -70
- package/dist/components/modules/profile/tabs/PostsTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/QuestionsTab.d.ts +0 -6
- package/dist/components/modules/profile/tabs/QuestionsTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/QuestionsTab.js +0 -42
- package/dist/components/modules/profile/tabs/QuestionsTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/TaggedPostsTab.js +0 -12
- package/dist/components/modules/profile/tabs/TaggedPostsTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/WallTab.js +0 -76
- package/dist/components/modules/profile/tabs/WallTab.js.map +0 -1
- package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts +0 -9
- package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/CloudStorageModal.js +0 -35
- package/dist/components/modules/profile/widgets/CloudStorageModal.js.map +0 -1
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts +0 -9
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/EditProfileModal.js +0 -81
- package/dist/components/modules/profile/widgets/EditProfileModal.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts +0 -2
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js +0 -17
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts +0 -6
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js +0 -9
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts +0 -8
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js +0 -15
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.d.ts +0 -7
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.js +0 -14
- package/dist/components/modules/profile/widgets/ProfileGamesWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.d.ts +0 -7
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js +0 -14
- package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts +0 -8
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.js +0 -35
- package/dist/components/modules/profile/widgets/ProfileHeader.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.d.ts +0 -10
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.js +0 -44
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileSidebar.js +0 -14
- package/dist/components/modules/profile/widgets/ProfileSidebar.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts +0 -9
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileStats.js +0 -37
- package/dist/components/modules/profile/widgets/ProfileStats.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js +0 -64
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +0 -1
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.d.ts +0 -10
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.js +0 -19
- package/dist/components/modules/profile/widgets/SoulmateSelectorModal.js.map +0 -1
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts +0 -11
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js +0 -21
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js.map +0 -1
- package/dist/components/modules/shop/CartLayout.d.ts +0 -12
- package/dist/components/modules/shop/CartLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/CartLayout.js +0 -17
- package/dist/components/modules/shop/CartLayout.js.map +0 -1
- package/dist/components/modules/shop/CheckoutLayout.d.ts +0 -8
- package/dist/components/modules/shop/CheckoutLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/CheckoutLayout.js +0 -26
- package/dist/components/modules/shop/CheckoutLayout.js.map +0 -1
- package/dist/components/modules/shop/DetailLayout.d.ts +0 -8
- package/dist/components/modules/shop/DetailLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/DetailLayout.js +0 -27
- package/dist/components/modules/shop/DetailLayout.js.map +0 -1
- package/dist/components/modules/shop/OrdersLayout.d.ts +0 -15
- package/dist/components/modules/shop/OrdersLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/OrdersLayout.js +0 -11
- package/dist/components/modules/shop/OrdersLayout.js.map +0 -1
- package/dist/components/modules/shop/StoreLayout.d.ts +0 -8
- package/dist/components/modules/shop/StoreLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/StoreLayout.js +0 -9
- package/dist/components/modules/shop/StoreLayout.js.map +0 -1
- package/dist/components/modules/shop/widgets/BackToStore.d.ts +0 -2
- package/dist/components/modules/shop/widgets/BackToStore.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/BackToStore.js +0 -19
- package/dist/components/modules/shop/widgets/BackToStore.js.map +0 -1
- package/dist/components/modules/shop/widgets/CategoryWidget.d.ts +0 -8
- package/dist/components/modules/shop/widgets/CategoryWidget.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/CategoryWidget.js +0 -26
- package/dist/components/modules/shop/widgets/CategoryWidget.js.map +0 -1
- package/dist/components/modules/shop/widgets/ProductCard.d.ts +0 -8
- package/dist/components/modules/shop/widgets/ProductCard.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/ProductCard.js +0 -13
- package/dist/components/modules/shop/widgets/ProductCard.js.map +0 -1
- package/dist/components/modules/shop/widgets/StoreHeader.d.ts +0 -6
- package/dist/components/modules/shop/widgets/StoreHeader.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreHeader.js +0 -15
- package/dist/components/modules/shop/widgets/StoreHeader.js.map +0 -1
- package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts +0 -7
- package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreProductGrid.js +0 -19
- package/dist/components/modules/shop/widgets/StoreProductGrid.js.map +0 -1
- package/dist/components/modules/shop/widgets/StoreSearchBar.d.ts +0 -9
- package/dist/components/modules/shop/widgets/StoreSearchBar.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreSearchBar.js +0 -15
- package/dist/components/modules/shop/widgets/StoreSearchBar.js.map +0 -1
- package/dist/components/modules/shop/widgets/StoreSidebar.d.ts +0 -8
- package/dist/components/modules/shop/widgets/StoreSidebar.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreSidebar.js +0 -11
- package/dist/components/modules/shop/widgets/StoreSidebar.js.map +0 -1
- package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts +0 -2
- package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js +0 -32
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js.map +0 -1
- package/dist/components/modules/social/SocialLayout.js +0 -119
- package/dist/components/modules/social/SocialLayout.js.map +0 -1
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts +0 -2
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/EconomyWidget.js +0 -57
- package/dist/components/modules/social/widgets/EconomyWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts +0 -2
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/LeagueWidget.js +0 -53
- package/dist/components/modules/social/widgets/LeagueWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts +0 -2
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.js +0 -56
- package/dist/components/modules/social/widgets/MinecraftWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/NewMembersWidget.d.ts +0 -2
- package/dist/components/modules/social/widgets/NewMembersWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/NewMembersWidget.js +0 -42
- package/dist/components/modules/social/widgets/NewMembersWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/PostComposer.d.ts +0 -15
- package/dist/components/modules/social/widgets/PostComposer.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/PostComposer.js +0 -167
- package/dist/components/modules/social/widgets/PostComposer.js.map +0 -1
- package/dist/components/modules/social/widgets/RankingWidget.d.ts +0 -5
- package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/RankingWidget.js +0 -81
- package/dist/components/modules/social/widgets/RankingWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/SocialSidebar.d.ts +0 -2
- package/dist/components/modules/social/widgets/SocialSidebar.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/SocialSidebar.js +0 -12
- package/dist/components/modules/social/widgets/SocialSidebar.js.map +0 -1
- package/dist/components/modules/social/widgets/TrendingWidget.d.ts +0 -3
- package/dist/components/modules/social/widgets/TrendingWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/TrendingWidget.js +0 -41
- package/dist/components/modules/social/widgets/TrendingWidget.js.map +0 -1
- package/dist/components/modules/stations/widgets/StationCard.d.ts +0 -3
- package/dist/components/modules/stations/widgets/StationCard.d.ts.map +0 -1
- package/dist/components/modules/stations/widgets/StationCard.js +0 -32
- package/dist/components/modules/stations/widgets/StationCard.js.map +0 -1
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts +0 -10
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts.map +0 -1
- package/dist/components/modules/stations/widgets/StationQRModal.js +0 -16
- package/dist/components/modules/stations/widgets/StationQRModal.js.map +0 -1
- package/dist/components/modules/stories/widgets/AddStoryModal.d.ts +0 -13
- package/dist/components/modules/stories/widgets/AddStoryModal.d.ts.map +0 -1
- package/dist/components/modules/stories/widgets/AddStoryModal.js +0 -14
- package/dist/components/modules/stories/widgets/AddStoryModal.js.map +0 -1
- package/dist/components/modules/stories/widgets/Stories.d.ts +0 -2
- package/dist/components/modules/stories/widgets/Stories.d.ts.map +0 -1
- package/dist/components/modules/stories/widgets/Stories.js +0 -154
- package/dist/components/modules/stories/widgets/Stories.js.map +0 -1
- package/dist/components/modules/stories/widgets/StoryOverlay.d.ts +0 -10
- package/dist/components/modules/stories/widgets/StoryOverlay.d.ts.map +0 -1
- package/dist/components/modules/stories/widgets/StoryOverlay.js +0 -244
- package/dist/components/modules/stories/widgets/StoryOverlay.js.map +0 -1
- package/dist/components/shared/ArmoyuPlayer.d.ts +0 -18
- package/dist/components/shared/ArmoyuPlayer.d.ts.map +0 -1
- package/dist/components/shared/ArmoyuPlayer.js +0 -111
- package/dist/components/shared/ArmoyuPlayer.js.map +0 -1
- package/dist/components/shared/DevTools.d.ts +0 -2
- package/dist/components/shared/DevTools.d.ts.map +0 -1
- package/dist/components/shared/DevTools.js +0 -35
- package/dist/components/shared/DevTools.js.map +0 -1
- package/dist/components/shared/FilterTabs.d.ts +0 -16
- package/dist/components/shared/FilterTabs.d.ts.map +0 -1
- package/dist/components/shared/FilterTabs.js +0 -21
- package/dist/components/shared/FilterTabs.js.map +0 -1
- package/dist/components/shared/FloatingChatButton.js +0 -24
- package/dist/components/shared/FloatingChatButton.js.map +0 -1
- package/dist/components/shared/Footer.d.ts +0 -2
- package/dist/components/shared/Footer.d.ts.map +0 -1
- package/dist/components/shared/Footer.js +0 -13
- package/dist/components/shared/Footer.js.map +0 -1
- package/dist/components/shared/Icons.d.ts +0 -8
- package/dist/components/shared/Icons.d.ts.map +0 -1
- package/dist/components/shared/Icons.js +0 -11
- package/dist/components/shared/Icons.js.map +0 -1
- package/dist/components/shared/ListToolbar.d.ts +0 -32
- package/dist/components/shared/ListToolbar.d.ts.map +0 -1
- package/dist/components/shared/ListToolbar.js +0 -16
- package/dist/components/shared/ListToolbar.js.map +0 -1
- package/dist/components/shared/MainLayoutWrapper.d.ts +0 -5
- package/dist/components/shared/MainLayoutWrapper.d.ts.map +0 -1
- package/dist/components/shared/MainLayoutWrapper.js +0 -11
- package/dist/components/shared/MainLayoutWrapper.js.map +0 -1
- package/dist/components/shared/NotFound.d.ts +0 -21
- package/dist/components/shared/NotFound.d.ts.map +0 -1
- package/dist/components/shared/NotFound.js +0 -10
- package/dist/components/shared/NotFound.js.map +0 -1
- package/dist/components/shared/PageWidth.d.ts +0 -6
- package/dist/components/shared/PageWidth.d.ts.map +0 -1
- package/dist/components/shared/PageWidth.js +0 -17
- package/dist/components/shared/PageWidth.js.map +0 -1
- package/dist/components/shared/RegisterModal.d.ts +0 -7
- package/dist/components/shared/RegisterModal.d.ts.map +0 -1
- package/dist/components/shared/RegisterModal.js +0 -12
- package/dist/components/shared/RegisterModal.js.map +0 -1
- package/dist/components/shared/SearchBar.d.ts +0 -14
- package/dist/components/shared/SearchBar.d.ts.map +0 -1
- package/dist/components/shared/SearchBar.js +0 -24
- package/dist/components/shared/SearchBar.js.map +0 -1
- package/dist/components/shared/UserDrawer.d.ts +0 -23
- package/dist/components/shared/UserDrawer.d.ts.map +0 -1
- package/dist/components/shared/UserDrawer.js +0 -71
- package/dist/components/shared/UserDrawer.js.map +0 -1
- package/dist/components/showcase/AuthTab.js +0 -17
- package/dist/components/showcase/AuthTab.js.map +0 -1
- package/dist/components/showcase/CommunityTab.js +0 -9
- package/dist/components/showcase/CommunityTab.js.map +0 -1
- package/dist/components/showcase/CorporateTab.js +0 -23
- package/dist/components/showcase/CorporateTab.js.map +0 -1
- package/dist/components/showcase/GeneralTab.js +0 -9
- package/dist/components/showcase/GeneralTab.js.map +0 -1
- package/dist/components/showcase/GroupTab.d.ts +0 -2
- package/dist/components/showcase/GroupTab.d.ts.map +0 -1
- package/dist/components/showcase/GroupTab.js +0 -119
- package/dist/components/showcase/GroupTab.js.map +0 -1
- package/dist/components/showcase/MessagesTab.js +0 -28
- package/dist/components/showcase/MessagesTab.js.map +0 -1
- package/dist/components/showcase/MyPostsTab.js +0 -15
- package/dist/components/showcase/MyPostsTab.js.map +0 -1
- package/dist/components/showcase/ProfileTab.js +0 -76
- package/dist/components/showcase/ProfileTab.js.map +0 -1
- package/dist/components/showcase/ReelsTab.d.ts +0 -2
- package/dist/components/showcase/ReelsTab.d.ts.map +0 -1
- package/dist/components/showcase/ReelsTab.js +0 -100
- package/dist/components/showcase/ReelsTab.js.map +0 -1
- package/dist/components/showcase/ShopTab.js +0 -66
- package/dist/components/showcase/ShopTab.js.map +0 -1
- package/dist/components/showcase/ShowcaseNavigation.d.ts +0 -2
- package/dist/components/showcase/ShowcaseNavigation.d.ts.map +0 -1
- package/dist/components/showcase/ShowcaseNavigation.js +0 -124
- package/dist/components/showcase/ShowcaseNavigation.js.map +0 -1
- package/dist/components/showcase/SocialTab.js +0 -98
- package/dist/components/showcase/SocialTab.js.map +0 -1
- package/dist/components/showcase/StoriesTab.js +0 -10
- package/dist/components/showcase/StoriesTab.js.map +0 -1
- package/dist/context/ArmoyuContext.d.ts +0 -45
- package/dist/context/ArmoyuContext.d.ts.map +0 -1
- package/dist/context/ArmoyuContext.js +0 -91
- package/dist/context/ArmoyuContext.js.map +0 -1
- package/dist/context/AuthContext.d.ts +0 -23
- package/dist/context/AuthContext.d.ts.map +0 -1
- package/dist/context/AuthContext.js +0 -159
- package/dist/context/AuthContext.js.map +0 -1
- package/dist/context/CartContext.d.ts +0 -18
- package/dist/context/CartContext.d.ts.map +0 -1
- package/dist/context/CartContext.js +0 -67
- package/dist/context/CartContext.js.map +0 -1
- package/dist/context/ChatContext.d.ts +0 -27
- package/dist/context/ChatContext.d.ts.map +0 -1
- package/dist/context/ChatContext.js +0 -163
- package/dist/context/ChatContext.js.map +0 -1
- package/dist/context/LayoutContext.d.ts +0 -11
- package/dist/context/LayoutContext.d.ts.map +0 -1
- package/dist/context/LayoutContext.js +0 -21
- package/dist/context/LayoutContext.js.map +0 -1
- package/dist/context/SocketContext.d.ts +0 -13
- package/dist/context/SocketContext.d.ts.map +0 -1
- package/dist/context/SocketContext.js +0 -36
- package/dist/context/SocketContext.js.map +0 -1
- package/dist/context/ThemeContext.d.ts +0 -11
- package/dist/context/ThemeContext.d.ts.map +0 -1
- package/dist/context/ThemeContext.js +0 -44
- package/dist/context/ThemeContext.js.map +0 -1
- package/dist/hooks/useDebounce.d.ts +0 -2
- package/dist/hooks/useDebounce.d.ts.map +0 -1
- package/dist/hooks/useDebounce.js +0 -17
- package/dist/hooks/useDebounce.js.map +0 -1
- package/dist/lib/ArmoyuUI.d.ts +0 -18
- package/dist/lib/ArmoyuUI.d.ts.map +0 -1
- package/dist/lib/ArmoyuUI.js +0 -29
- package/dist/lib/ArmoyuUI.js.map +0 -1
- package/dist/lib/constants/config.d.ts +0 -9
- package/dist/lib/constants/config.d.ts.map +0 -1
- package/dist/lib/constants/config.js +0 -18
- package/dist/lib/constants/config.js.map +0 -1
- package/dist/lib/constants/educationData.d.ts +0 -11
- package/dist/lib/constants/educationData.d.ts.map +0 -1
- package/dist/lib/constants/educationData.js +0 -125
- package/dist/lib/constants/educationData.js.map +0 -1
- package/dist/lib/constants/punishmentData.d.ts +0 -30
- package/dist/lib/constants/punishmentData.d.ts.map +0 -1
- package/dist/lib/constants/punishmentData.js +0 -190
- package/dist/lib/constants/punishmentData.js.map +0 -1
- package/dist/lib/constants/seedData.d.ts +0 -182
- package/dist/lib/constants/seedData.d.ts.map +0 -1
- package/dist/lib/constants/seedData.js +0 -748
- package/dist/lib/constants/seedData.js.map +0 -1
- package/dist/lib/constants/stationData.d.ts +0 -16
- package/dist/lib/constants/stationData.d.ts.map +0 -1
- package/dist/lib/constants/stationData.js +0 -209
- package/dist/lib/constants/stationData.js.map +0 -1
- package/dist/lib/constants/surveyData.d.ts +0 -3
- package/dist/lib/constants/surveyData.d.ts.map +0 -1
- package/dist/lib/constants/surveyData.js +0 -55
- package/dist/lib/constants/surveyData.js.map +0 -1
- package/dist/lib/constants/teamData.d.ts +0 -19
- package/dist/lib/constants/teamData.d.ts.map +0 -1
- package/dist/lib/constants/teamData.js +0 -59
- package/dist/lib/constants/teamData.js.map +0 -1
- package/dist/lib/utils/numberFormat.d.ts +0 -10
- package/dist/lib/utils/numberFormat.d.ts.map +0 -1
- package/dist/lib/utils/numberFormat.js +0 -20
- package/dist/lib/utils/numberFormat.js.map +0 -1
- package/dist/lib/utils/odpUtils.d.ts +0 -16
- package/dist/lib/utils/odpUtils.d.ts.map +0 -1
- package/dist/lib/utils/odpUtils.js +0 -48
- package/dist/lib/utils/odpUtils.js.map +0 -1
- package/dist/lib/utils/postUtils.d.ts +0 -7
- package/dist/lib/utils/postUtils.d.ts.map +0 -1
- package/dist/lib/utils/postUtils.js +0 -40
- package/dist/lib/utils/postUtils.js.map +0 -1
- package/dist/models/BaseModel.d.ts +0 -13
- package/dist/models/BaseModel.d.ts.map +0 -1
- package/dist/models/BaseModel.js +0 -17
- package/dist/models/BaseModel.js.map +0 -1
- package/dist/models/auth/RankedUser.d.ts +0 -20
- package/dist/models/auth/RankedUser.d.ts.map +0 -1
- package/dist/models/auth/RankedUser.js +0 -40
- package/dist/models/auth/RankedUser.js.map +0 -1
- package/dist/models/auth/Role.d.ts +0 -16
- package/dist/models/auth/Role.d.ts.map +0 -1
- package/dist/models/auth/Role.js +0 -37
- package/dist/models/auth/Role.js.map +0 -1
- package/dist/models/auth/Session.d.ts +0 -24
- package/dist/models/auth/Session.d.ts.map +0 -1
- package/dist/models/auth/Session.js +0 -54
- package/dist/models/auth/Session.js.map +0 -1
- package/dist/models/auth/StaffApplication.d.ts +0 -20
- package/dist/models/auth/StaffApplication.d.ts.map +0 -1
- package/dist/models/auth/StaffApplication.js +0 -40
- package/dist/models/auth/StaffApplication.js.map +0 -1
- package/dist/models/auth/TeamMember.d.ts +0 -19
- package/dist/models/auth/TeamMember.d.ts.map +0 -1
- package/dist/models/auth/TeamMember.js +0 -38
- package/dist/models/auth/TeamMember.js.map +0 -1
- package/dist/models/auth/User.d.ts +0 -94
- package/dist/models/auth/User.d.ts.map +0 -1
- package/dist/models/auth/User.js +0 -234
- package/dist/models/auth/User.js.map +0 -1
- package/dist/models/auth/UserBadge.d.ts +0 -18
- package/dist/models/auth/UserBadge.d.ts.map +0 -1
- package/dist/models/auth/UserBadge.js +0 -38
- package/dist/models/auth/UserBadge.js.map +0 -1
- package/dist/models/community/ArmoyuEvent.d.ts +0 -52
- package/dist/models/community/ArmoyuEvent.d.ts.map +0 -1
- package/dist/models/community/ArmoyuEvent.js +0 -105
- package/dist/models/community/ArmoyuEvent.js.map +0 -1
- package/dist/models/community/Classroom.d.ts +0 -19
- package/dist/models/community/Classroom.d.ts.map +0 -1
- package/dist/models/community/Classroom.js +0 -37
- package/dist/models/community/Classroom.js.map +0 -1
- package/dist/models/community/Faculty.d.ts +0 -17
- package/dist/models/community/Faculty.d.ts.map +0 -1
- package/dist/models/community/Faculty.js +0 -33
- package/dist/models/community/Faculty.js.map +0 -1
- package/dist/models/community/Forum.d.ts +0 -26
- package/dist/models/community/Forum.d.ts.map +0 -1
- package/dist/models/community/Forum.js +0 -40
- package/dist/models/community/Forum.js.map +0 -1
- package/dist/models/community/Giveaway.d.ts +0 -22
- package/dist/models/community/Giveaway.d.ts.map +0 -1
- package/dist/models/community/Giveaway.js +0 -42
- package/dist/models/community/Giveaway.js.map +0 -1
- package/dist/models/community/Group.d.ts +0 -38
- package/dist/models/community/Group.d.ts.map +0 -1
- package/dist/models/community/Group.js +0 -119
- package/dist/models/community/Group.js.map +0 -1
- package/dist/models/community/School.d.ts +0 -28
- package/dist/models/community/School.d.ts.map +0 -1
- package/dist/models/community/School.js +0 -72
- package/dist/models/community/School.js.map +0 -1
- package/dist/models/community/SchoolTeam.d.ts +0 -27
- package/dist/models/community/SchoolTeam.d.ts.map +0 -1
- package/dist/models/community/SchoolTeam.js +0 -45
- package/dist/models/community/SchoolTeam.js.map +0 -1
- package/dist/models/community/Station.d.ts +0 -81
- package/dist/models/community/Station.d.ts.map +0 -1
- package/dist/models/community/Station.js +0 -172
- package/dist/models/community/Station.js.map +0 -1
- package/dist/models/community/Survey.d.ts +0 -27
- package/dist/models/community/Survey.d.ts.map +0 -1
- package/dist/models/community/Survey.js +0 -60
- package/dist/models/community/Survey.js.map +0 -1
- package/dist/models/community/SurveyAnswer.d.ts +0 -15
- package/dist/models/community/SurveyAnswer.d.ts.map +0 -1
- package/dist/models/community/SurveyAnswer.js +0 -30
- package/dist/models/community/SurveyAnswer.js.map +0 -1
- package/dist/models/community/Team.d.ts +0 -22
- package/dist/models/community/Team.d.ts.map +0 -1
- package/dist/models/community/Team.js +0 -64
- package/dist/models/community/Team.js.map +0 -1
- package/dist/models/community/Workplace.d.ts +0 -18
- package/dist/models/community/Workplace.d.ts.map +0 -1
- package/dist/models/community/Workplace.js +0 -36
- package/dist/models/community/Workplace.js.map +0 -1
- package/dist/models/content/Game.d.ts +0 -20
- package/dist/models/content/Game.d.ts.map +0 -1
- package/dist/models/content/Game.js +0 -44
- package/dist/models/content/Game.js.map +0 -1
- package/dist/models/content/Media.d.ts +0 -17
- package/dist/models/content/Media.d.ts.map +0 -1
- package/dist/models/content/Media.js +0 -34
- package/dist/models/content/Media.js.map +0 -1
- package/dist/models/content/Mod.d.ts +0 -21
- package/dist/models/content/Mod.d.ts.map +0 -1
- package/dist/models/content/Mod.js +0 -41
- package/dist/models/content/Mod.js.map +0 -1
- package/dist/models/content/News.d.ts +0 -36
- package/dist/models/content/News.d.ts.map +0 -1
- package/dist/models/content/News.js +0 -81
- package/dist/models/content/News.js.map +0 -1
- package/dist/models/content/PlatformStation.d.ts +0 -18
- package/dist/models/content/PlatformStation.d.ts.map +0 -1
- package/dist/models/content/PlatformStation.js +0 -36
- package/dist/models/content/PlatformStation.js.map +0 -1
- package/dist/models/content/PlatformTeam.d.ts +0 -14
- package/dist/models/content/PlatformTeam.d.ts.map +0 -1
- package/dist/models/content/PlatformTeam.js +0 -28
- package/dist/models/content/PlatformTeam.js.map +0 -1
- package/dist/models/content/Project.d.ts +0 -27
- package/dist/models/content/Project.d.ts.map +0 -1
- package/dist/models/content/Project.js +0 -47
- package/dist/models/content/Project.js.map +0 -1
- package/dist/models/content/ProjectScore.d.ts +0 -14
- package/dist/models/content/ProjectScore.d.ts.map +0 -1
- package/dist/models/content/ProjectScore.js +0 -28
- package/dist/models/content/ProjectScore.js.map +0 -1
- package/dist/models/content/StationEquipment.d.ts +0 -16
- package/dist/models/content/StationEquipment.d.ts.map +0 -1
- package/dist/models/content/StationEquipment.js +0 -32
- package/dist/models/content/StationEquipment.js.map +0 -1
- package/dist/models/core/Country.d.ts +0 -15
- package/dist/models/core/Country.d.ts.map +0 -1
- package/dist/models/core/Country.js +0 -30
- package/dist/models/core/Country.js.map +0 -1
- package/dist/models/core/PlatformStats.d.ts +0 -46
- package/dist/models/core/PlatformStats.d.ts.map +0 -1
- package/dist/models/core/PlatformStats.js +0 -92
- package/dist/models/core/PlatformStats.js.map +0 -1
- package/dist/models/core/Province.d.ts +0 -15
- package/dist/models/core/Province.d.ts.map +0 -1
- package/dist/models/core/Province.js +0 -30
- package/dist/models/core/Province.js.map +0 -1
- package/dist/models/core/Rule.d.ts +0 -16
- package/dist/models/core/Rule.d.ts.map +0 -1
- package/dist/models/core/Rule.js +0 -32
- package/dist/models/core/Rule.js.map +0 -1
- package/dist/models/core/SystemSettings.d.ts +0 -38
- package/dist/models/core/SystemSettings.d.ts.map +0 -1
- package/dist/models/core/SystemSettings.js +0 -68
- package/dist/models/core/SystemSettings.js.map +0 -1
- package/dist/models/index.d.ts +0 -58
- package/dist/models/index.d.ts.map +0 -1
- package/dist/models/index.js +0 -88
- package/dist/models/index.js.map +0 -1
- package/dist/models/shop/CartItem.d.ts +0 -20
- package/dist/models/shop/CartItem.d.ts.map +0 -1
- package/dist/models/shop/CartItem.js +0 -40
- package/dist/models/shop/CartItem.js.map +0 -1
- package/dist/models/shop/Invoice.d.ts +0 -18
- package/dist/models/shop/Invoice.d.ts.map +0 -1
- package/dist/models/shop/Invoice.js +0 -36
- package/dist/models/shop/Invoice.js.map +0 -1
- package/dist/models/shop/Order.d.ts +0 -23
- package/dist/models/shop/Order.d.ts.map +0 -1
- package/dist/models/shop/Order.js +0 -52
- package/dist/models/shop/Order.js.map +0 -1
- package/dist/models/shop/Product.d.ts +0 -26
- package/dist/models/shop/Product.d.ts.map +0 -1
- package/dist/models/shop/Product.js +0 -71
- package/dist/models/shop/Product.js.map +0 -1
- package/dist/models/social/chat/Chat.d.ts +0 -26
- package/dist/models/social/chat/Chat.d.ts.map +0 -1
- package/dist/models/social/chat/Chat.js +0 -84
- package/dist/models/social/chat/Chat.js.map +0 -1
- package/dist/models/social/chat/Message.d.ts +0 -18
- package/dist/models/social/chat/Message.d.ts.map +0 -1
- package/dist/models/social/chat/Message.js +0 -62
- package/dist/models/social/chat/Message.js.map +0 -1
- package/dist/models/social/chat/Note.d.ts +0 -16
- package/dist/models/social/chat/Note.d.ts.map +0 -1
- package/dist/models/social/chat/Note.js +0 -32
- package/dist/models/social/chat/Note.js.map +0 -1
- package/dist/models/social/feed/Comment.d.ts +0 -21
- package/dist/models/social/feed/Comment.d.ts.map +0 -1
- package/dist/models/social/feed/Comment.js +0 -50
- package/dist/models/social/feed/Comment.js.map +0 -1
- package/dist/models/social/feed/Post.d.ts +0 -26
- package/dist/models/social/feed/Post.d.ts.map +0 -1
- package/dist/models/social/feed/Post.js +0 -55
- package/dist/models/social/feed/Post.js.map +0 -1
- package/dist/models/social/feed/Story.d.ts +0 -31
- package/dist/models/social/feed/Story.d.ts.map +0 -1
- package/dist/models/social/feed/Story.js +0 -67
- package/dist/models/social/feed/Story.js.map +0 -1
- package/dist/models/social/feed/StoryAuthor.d.ts +0 -13
- package/dist/models/social/feed/StoryAuthor.d.ts.map +0 -1
- package/dist/models/social/feed/StoryAuthor.js +0 -29
- package/dist/models/social/feed/StoryAuthor.js.map +0 -1
- package/dist/models/social/gaming/Game.d.ts +0 -26
- package/dist/models/social/gaming/Game.d.ts.map +0 -1
- package/dist/models/social/gaming/Game.js +0 -49
- package/dist/models/social/gaming/Game.js.map +0 -1
- package/dist/models/social/meta/AuthEnums.d.ts +0 -18
- package/dist/models/social/meta/AuthEnums.d.ts.map +0 -1
- package/dist/models/social/meta/AuthEnums.js +0 -23
- package/dist/models/social/meta/AuthEnums.js.map +0 -1
- package/dist/models/social/meta/MediaEnums.d.ts +0 -20
- package/dist/models/social/meta/MediaEnums.d.ts.map +0 -1
- package/dist/models/social/meta/MediaEnums.js +0 -25
- package/dist/models/social/meta/MediaEnums.js.map +0 -1
- package/dist/models/social/notification/Notification.d.ts +0 -23
- package/dist/models/social/notification/Notification.d.ts.map +0 -1
- package/dist/models/social/notification/Notification.js +0 -68
- package/dist/models/social/notification/Notification.js.map +0 -1
- package/dist/models/social/notification/NotificationEnums.d.ts +0 -54
- package/dist/models/social/notification/NotificationEnums.d.ts.map +0 -1
- package/dist/models/social/notification/NotificationEnums.js +0 -62
- package/dist/models/social/notification/NotificationEnums.js.map +0 -1
- package/dist/models/social/notification/NotificationSender.d.ts +0 -16
- package/dist/models/social/notification/NotificationSender.d.ts.map +0 -1
- package/dist/models/social/notification/NotificationSender.js +0 -32
- package/dist/models/social/notification/NotificationSender.js.map +0 -1
- package/dist/models/social/poll/Poll.d.ts +0 -19
- package/dist/models/social/poll/Poll.d.ts.map +0 -1
- package/dist/models/social/poll/Poll.js +0 -37
- package/dist/models/social/poll/Poll.js.map +0 -1
- package/dist/models/social/poll/PollOption.d.ts +0 -15
- package/dist/models/social/poll/PollOption.d.ts.map +0 -1
- package/dist/models/social/poll/PollOption.js +0 -30
- package/dist/models/social/poll/PollOption.js.map +0 -1
- package/dist/models/social/search/SearchEnums.d.ts +0 -22
- package/dist/models/social/search/SearchEnums.d.ts.map +0 -1
- package/dist/models/social/search/SearchEnums.js +0 -27
- package/dist/models/social/search/SearchEnums.js.map +0 -1
- package/dist/models/social/search/SearchResult.d.ts +0 -21
- package/dist/models/social/search/SearchResult.d.ts.map +0 -1
- package/dist/models/social/search/SearchResult.js +0 -76
- package/dist/models/social/search/SearchResult.js.map +0 -1
- package/dist/models/social/stats/Leaderboard.d.ts +0 -29
- package/dist/models/social/stats/Leaderboard.d.ts.map +0 -1
- package/dist/models/social/stats/Leaderboard.js +0 -55
- package/dist/models/social/stats/Leaderboard.js.map +0 -1
- package/dist/models/social/support/SupportTicket.d.ts +0 -18
- package/dist/models/social/support/SupportTicket.d.ts.map +0 -1
- package/dist/models/social/support/SupportTicket.js +0 -36
- package/dist/models/social/support/SupportTicket.js.map +0 -1
- package/dist/models/social/user/BlockedUser.d.ts +0 -15
- package/dist/models/social/user/BlockedUser.d.ts.map +0 -1
- package/dist/models/social/user/BlockedUser.js +0 -29
- package/dist/models/social/user/BlockedUser.js.map +0 -1
- package/dist/models/store/StoreItem.d.ts +0 -18
- package/dist/models/store/StoreItem.d.ts.map +0 -1
- package/dist/models/store/StoreItem.js +0 -36
- package/dist/models/store/StoreItem.js.map +0 -1
- package/dist/scratch/test_api.d.ts +0 -2
- package/dist/scratch/test_api.d.ts.map +0 -1
- package/dist/scratch/test_api.js +0 -13
- package/dist/scratch/test_api.js.map +0 -1
- package/dist/scratch/test_api_pure.d.ts +0 -2
- package/dist/scratch/test_api_pure.d.ts.map +0 -1
- package/dist/scratch/test_api_pure.js +0 -53
- package/dist/scratch/test_api_pure.js.map +0 -1
- package/dist/scratch/test_api_stats.d.ts +0 -2
- package/dist/scratch/test_api_stats.d.ts.map +0 -1
- package/dist/scratch/test_api_stats.js +0 -31
- package/dist/scratch/test_api_stats.js.map +0 -1
- package/dist/types/index.d.ts +0 -4
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -20
- package/dist/types/index.js.map +0 -1
- package/dist/types/navigation.d.ts +0 -6
- package/dist/types/navigation.d.ts.map +0 -1
- package/dist/types/navigation.js +0 -3
- package/dist/types/navigation.js.map +0 -1
- package/dist/types/socket.d.ts +0 -6
- package/dist/types/socket.d.ts.map +0 -1
- package/dist/types/socket.js +0 -3
- package/dist/types/socket.js.map +0 -1
- package/dist/types/stats.d.ts +0 -18
- package/dist/types/stats.d.ts.map +0 -1
- package/dist/types/stats.js +0 -3
- package/dist/types/stats.js.map +0 -1
- package/dist/utils/text/MentionUtils.d.ts +0 -8
- package/dist/utils/text/MentionUtils.d.ts.map +0 -1
- package/dist/utils/text/MentionUtils.js +0 -30
- package/dist/utils/text/MentionUtils.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../../src/models/shop/Order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,SAAS,CAAC;AAE3E;;GAEG;AACH,qBAAa,KAAK;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,WAAW,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,aAAa,GAAG,aAAa,GAAG,QAAQ,CAAC;gBAE5C,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC;IAShC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,KAAK;IAYhD;;OAEG;IACH,cAAc,IAAI,MAAM;CASzB"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Order = void 0;
|
|
4
|
-
const CartItem_1 = require("./CartItem");
|
|
5
|
-
/**
|
|
6
|
-
* Represents a Shop Order in the UI.
|
|
7
|
-
*/
|
|
8
|
-
class Order {
|
|
9
|
-
id;
|
|
10
|
-
items;
|
|
11
|
-
total;
|
|
12
|
-
status;
|
|
13
|
-
createdAt;
|
|
14
|
-
paymentMethod;
|
|
15
|
-
constructor(data) {
|
|
16
|
-
this.id = data.id || '';
|
|
17
|
-
this.items = data.items || [];
|
|
18
|
-
this.total = data.total || 0;
|
|
19
|
-
this.status = data.status || 'pending';
|
|
20
|
-
this.createdAt = data.createdAt || Date.now();
|
|
21
|
-
this.paymentMethod = data.paymentMethod || 'credit_card';
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Instantiates an Order object from an API response.
|
|
25
|
-
*/
|
|
26
|
-
static fromAPI(json) {
|
|
27
|
-
if (!json)
|
|
28
|
-
return new Order({});
|
|
29
|
-
return new Order({
|
|
30
|
-
id: String(json.id || ''),
|
|
31
|
-
items: Array.isArray(json.items) ? json.items.map((i) => CartItem_1.CartItem.fromAPI(i)) : [],
|
|
32
|
-
total: Number(json.total || json.total_amount || 0),
|
|
33
|
-
status: (json.status || 'pending'),
|
|
34
|
-
createdAt: Number(json.createdAt || json.created_at || Date.now()),
|
|
35
|
-
paymentMethod: (json.paymentMethod || json.payment_method || 'credit_card')
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Returns a user-friendly status name in Turkish.
|
|
40
|
-
*/
|
|
41
|
-
getStatusLabel() {
|
|
42
|
-
switch (this.status) {
|
|
43
|
-
case 'pending': return 'Hazırlanıyor';
|
|
44
|
-
case 'completed': return 'Tamamlandı';
|
|
45
|
-
case 'shipped': return 'Kargoya Verildi';
|
|
46
|
-
case 'canceled': return 'İptal Edildi';
|
|
47
|
-
default: return this.status;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
exports.Order = Order;
|
|
52
|
-
//# sourceMappingURL=Order.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Order.js","sourceRoot":"","sources":["../../../src/models/shop/Order.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAItC;;GAEG;AACH,MAAa,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,GAAG,IAAI,CAAC,KAAK,IAAI,EAAE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tC,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;AA5CD,sBA4CC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Product = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Represents a Product in the UI.
|
|
6
|
-
*/
|
|
7
|
-
class Product {
|
|
8
|
-
id;
|
|
9
|
-
name;
|
|
10
|
-
description;
|
|
11
|
-
price;
|
|
12
|
-
discountPrice;
|
|
13
|
-
image;
|
|
14
|
-
category;
|
|
15
|
-
stock;
|
|
16
|
-
tags;
|
|
17
|
-
isFeatured = false;
|
|
18
|
-
badge;
|
|
19
|
-
constructor(data) {
|
|
20
|
-
this.id = data.id || '';
|
|
21
|
-
this.name = data.name || '';
|
|
22
|
-
this.description = data.description || '';
|
|
23
|
-
this.price = data.price || 0;
|
|
24
|
-
this.discountPrice = data.discountPrice;
|
|
25
|
-
this.image = data.image || '';
|
|
26
|
-
this.category = data.category || '';
|
|
27
|
-
this.stock = data.stock || 0;
|
|
28
|
-
this.tags = data.tags || [];
|
|
29
|
-
this.isFeatured = data.isFeatured || false;
|
|
30
|
-
this.badge = data.badge;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Helper to get the display price (discounted if available)
|
|
34
|
-
*/
|
|
35
|
-
getDisplayPrice() {
|
|
36
|
-
return this.discountPrice && this.discountPrice < this.price
|
|
37
|
-
? this.discountPrice
|
|
38
|
-
: this.price;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Instantiates a Product object from an API response.
|
|
42
|
-
*/
|
|
43
|
-
static fromAPI(json) {
|
|
44
|
-
if (!json)
|
|
45
|
-
return new Product({});
|
|
46
|
-
const parsePrice = (p) => {
|
|
47
|
-
if (typeof p === 'number')
|
|
48
|
-
return p;
|
|
49
|
-
if (typeof p === 'string') {
|
|
50
|
-
const cleaned = p.replace(/[₺,]/g, '').replace(' ', '');
|
|
51
|
-
return parseFloat(cleaned) || 0;
|
|
52
|
-
}
|
|
53
|
-
return 0;
|
|
54
|
-
};
|
|
55
|
-
return new Product({
|
|
56
|
-
id: String(json.id || ''),
|
|
57
|
-
name: json.name || json.product_name || '',
|
|
58
|
-
description: json.description || json.desc || '',
|
|
59
|
-
price: parsePrice(json.price),
|
|
60
|
-
discountPrice: json.discountPrice !== undefined ? parsePrice(json.discountPrice) : undefined,
|
|
61
|
-
image: json.image || json.img_url || '',
|
|
62
|
-
category: json.category || 'Genel',
|
|
63
|
-
stock: json.stock || 0,
|
|
64
|
-
tags: json.tags || [],
|
|
65
|
-
isFeatured: json.isFeatured || json.is_featured || false,
|
|
66
|
-
badge: json.badge
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
exports.Product = Product;
|
|
71
|
-
//# sourceMappingURL=Product.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../src/models/shop/Product.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,MAAa,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,IAA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C;gBACxD,OAAO,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YAClC,CAAC;YACD,OAAO,CAAC,CAAC;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;AAjED,0BAiEC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Chat = void 0;
|
|
4
|
-
const User_1 = require("../../auth/User");
|
|
5
|
-
const Message_1 = require("./Message");
|
|
6
|
-
/**
|
|
7
|
-
* Represents a Chat conversation or summary in the UI.
|
|
8
|
-
*/
|
|
9
|
-
class Chat {
|
|
10
|
-
id = '';
|
|
11
|
-
participants = [];
|
|
12
|
-
name = '';
|
|
13
|
-
avatar = '';
|
|
14
|
-
lastMessage = null;
|
|
15
|
-
time = '';
|
|
16
|
-
unreadCount = 0;
|
|
17
|
-
isOnline = false;
|
|
18
|
-
lastSeen = '';
|
|
19
|
-
updatedAt = 0;
|
|
20
|
-
isGroup = false;
|
|
21
|
-
isFavorite = false;
|
|
22
|
-
messages = [];
|
|
23
|
-
constructor(data) {
|
|
24
|
-
Object.assign(this, data);
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Instantiates a Chat object from an API response.
|
|
28
|
-
*/
|
|
29
|
-
static fromAPI(json) {
|
|
30
|
-
if (!json)
|
|
31
|
-
return new Chat({});
|
|
32
|
-
const resolveKey = (keys) => {
|
|
33
|
-
// Find all matching keys
|
|
34
|
-
const matchingKeys = Object.keys(json).filter(k => keys.includes(k.toLowerCase()));
|
|
35
|
-
// Return the first one that has a non-empty value
|
|
36
|
-
for (const k of matchingKeys) {
|
|
37
|
-
const val = json[k];
|
|
38
|
-
if (val !== undefined && val !== null && val !== '')
|
|
39
|
-
return val;
|
|
40
|
-
}
|
|
41
|
-
return undefined;
|
|
42
|
-
};
|
|
43
|
-
const id = resolveKey(['kulladi', 'username', 'oyuncukullaniciadi', 'id', 'id_user', 'user_id', 'oyuncubakid', 'oyuncuid', 'arkadasid', 'id_arkadas', 'groupid', 'grupid', 'sohbetid', 'kullid']);
|
|
44
|
-
const name = resolveKey(['oyuncu_adsoyad', 'adisoyadi', 'adi_soyadi', 'displayname', 'user_displayname', 'oyuncuad', 'grupad', 'name', 'title', 'ad', 'username', 'kulladi']);
|
|
45
|
-
let avatarRaw = resolveKey(['avatar', 'chatimage', 'image', 'oyuncu_avatar', 'oyuncuminnakavatar', 'player_avatar', 'arkadasfoto', 'oyuncufoto', 'oyuncuresim', 'profil_fotosu', 'logo', 'foto', 'resim', 'grup_minnakavatar', 'avatar_url']);
|
|
46
|
-
if (!avatarRaw) {
|
|
47
|
-
const heuristicKey = Object.keys(json).find(k => {
|
|
48
|
-
const lowerK = k.toLowerCase();
|
|
49
|
-
return lowerK.includes('avatar') || lowerK.includes('foto') || lowerK.includes('resim') || lowerK.includes('image');
|
|
50
|
-
});
|
|
51
|
-
if (heuristicKey)
|
|
52
|
-
avatarRaw = json[heuristicKey];
|
|
53
|
-
}
|
|
54
|
-
const nestedObj = json.oyuncu || json.arkadas || json.owner || json.user;
|
|
55
|
-
if (!avatarRaw && nestedObj && typeof nestedObj === 'object') {
|
|
56
|
-
const nestedUser = User_1.User.fromAPI(nestedObj);
|
|
57
|
-
if (nestedUser.avatar)
|
|
58
|
-
avatarRaw = nestedUser.avatar;
|
|
59
|
-
}
|
|
60
|
-
const lastMsgRaw = resolveKey(['lastmessage', 'last_message', 'sonmesaj', 'son_mesaj']);
|
|
61
|
-
const time = resolveKey(['time', 'zaman', 'tarih', 'last_message_time', 'guncelletarih', 'songorusme', 'songiris']);
|
|
62
|
-
const unread = resolveKey(['unreadcount', 'unread_count', 'okunmamissayi', 'okunmamis_sayi', 'bildirim_sayi', 'bildirim']);
|
|
63
|
-
const onlineRaw = resolveKey(['isonline', 'is_online', 'oyuncu_online', 'durum']);
|
|
64
|
-
const lastSeen = resolveKey(['lastseen', 'last_seen', 'songorulme', 'son_gorulme']);
|
|
65
|
-
const isGroupRaw = resolveKey(['isgroup', 'is_group', 'is_clube', 'groupid', 'grupid']);
|
|
66
|
-
return new Chat({
|
|
67
|
-
id: String(id || ''),
|
|
68
|
-
participants: Array.isArray(json.participants) ? json.participants.map((p) => User_1.User.fromAPI(p)) : [],
|
|
69
|
-
name: name || '',
|
|
70
|
-
avatar: typeof avatarRaw === 'string' ? avatarRaw : (avatarRaw?.media_URL || avatarRaw?.media_minURL || avatarRaw?.media_bigURL || avatarRaw?.fotourl || avatarRaw?.url || ''),
|
|
71
|
-
lastMessage: lastMsgRaw ? Message_1.ChatMessage.fromAPI(lastMsgRaw) : null,
|
|
72
|
-
time: time || '',
|
|
73
|
-
unreadCount: Number(unread || 0),
|
|
74
|
-
isOnline: onlineRaw === 1 || onlineRaw === true,
|
|
75
|
-
lastSeen: lastSeen || '',
|
|
76
|
-
updatedAt: json.updatedAt || json.updated_at || Date.now(),
|
|
77
|
-
isGroup: !!isGroupRaw,
|
|
78
|
-
isFavorite: !!json.isFavorite || !!json.is_favorite,
|
|
79
|
-
messages: Array.isArray(json.messages) ? json.messages.map((m) => Message_1.ChatMessage.fromAPI(m)) : (Array.isArray(json.liste) ? json.liste.map((m) => Message_1.ChatMessage.fromAPI(m)) : []),
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
exports.Chat = Chat;
|
|
84
|
-
//# sourceMappingURL=Chat.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Chat.js","sourceRoot":"","sources":["../../../../src/models/social/chat/Chat.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AACvC,uCAAwC;AAExC;;GAEG;AACH,MAAa,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;I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E,SAAS,KAAK,CAAC,IAAI,SAAS,KAAK,IAAI;YAC/C,QAAQ,EAAE,QAAQ,IAAI,EAAE;YACxB,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,GAAG,EAAE;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,qBAAW,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,qBAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;SACvL,CAAC,CAAC;IACL,CAAC;CACF;AA9ED,oBA8EC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ChatMessage = void 0;
|
|
4
|
-
const User_1 = require("../../auth/User");
|
|
5
|
-
/**
|
|
6
|
-
* Represents a single message in a Chat in the UI.
|
|
7
|
-
*/
|
|
8
|
-
class ChatMessage {
|
|
9
|
-
id = '';
|
|
10
|
-
sender = null;
|
|
11
|
-
content = '';
|
|
12
|
-
timestamp = '';
|
|
13
|
-
isSystem = false;
|
|
14
|
-
isSelf = false;
|
|
15
|
-
constructor(data) {
|
|
16
|
-
Object.assign(this, data);
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Instantiates a ChatMessage object from an API response.
|
|
20
|
-
*/
|
|
21
|
-
static fromAPI(json) {
|
|
22
|
-
if (!json)
|
|
23
|
-
return new ChatMessage({});
|
|
24
|
-
const resolveKey = (keys) => {
|
|
25
|
-
// Find all matching keys
|
|
26
|
-
const matchingKeys = Object.keys(json).filter(k => keys.includes(k.toLowerCase()));
|
|
27
|
-
// Return the first one that has a non-empty value
|
|
28
|
-
for (const k of matchingKeys) {
|
|
29
|
-
const val = json[k];
|
|
30
|
-
if (val !== undefined && val !== null && val !== '')
|
|
31
|
-
return val;
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
const id = resolveKey(['id', 'sohbetid', 'mesajid', 'id_sohbet', 'id_mesaj']);
|
|
35
|
-
const senderRaw = resolveKey(['sender', 'authorname', 'sender_name', 'gonderen_ad', 'oyuncu_ad', 'gonderen', 'adsoyad', 'kulladi', 'adisoyadi']);
|
|
36
|
-
const content = resolveKey(['content', 'text', 'icerik', 'mesaj', 'text_message', 'message', 'mesajicerik']);
|
|
37
|
-
const timestamp = resolveKey(['timelabel', 'timestamp', 'time', 'zaman', 'tarih', 'sent_at', 'paylasimzaman']);
|
|
38
|
-
const isSystemRaw = resolveKey(['issystem', 'is_system', 'system_message', 'sistem']);
|
|
39
|
-
const side = resolveKey(['side']);
|
|
40
|
-
let sender = null;
|
|
41
|
-
if (json.sender && typeof json.sender === 'object') {
|
|
42
|
-
sender = User_1.User.fromAPI(json.sender);
|
|
43
|
-
}
|
|
44
|
-
else if (senderRaw) {
|
|
45
|
-
sender = User_1.User.fromAPI({
|
|
46
|
-
displayname: String(senderRaw),
|
|
47
|
-
username: String(resolveKey(['kulladi', 'username', 'oyuncukullaniciadi']) || senderRaw),
|
|
48
|
-
avatar: resolveKey(['authoravatar', 'avatar', 'chatimage', 'image', 'oyuncu_avatar', 'oyuncuminnakavatar', 'player_avatar', 'arkadasfoto', 'oyuncufoto', 'foto'])
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
return new ChatMessage({
|
|
52
|
-
id: String(id || Math.random().toString(36).substring(2, 9)),
|
|
53
|
-
sender: sender,
|
|
54
|
-
content: String(content || ''),
|
|
55
|
-
timestamp: String(timestamp || ''),
|
|
56
|
-
isSystem: isSystemRaw === 1 || isSystemRaw === true || false,
|
|
57
|
-
isSelf: side === 'ben'
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
exports.ChatMessage = ChatMessage;
|
|
62
|
-
//# sourceMappingURL=Message.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Message.js","sourceRoot":"","sources":["../../../../src/models/social/chat/Message.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAEvC;;GAEG;AACH,MAAa,WAAW;IACtB,EAAE,GAAW,EAAE,CAAC;IAChB,MAAM,GAAgB,IAAI,CAAC;IAC3B,OAAO,GAAW,EAAE,CAAC;IACrB,SAAS,GAAW,EAAE,CAAC;IACvB,QAAQ,GAAY,KAAK,CAAC;IAC1B,MAAM,GAAY,KAAK,CAAC;IAExB,YAAY,IAA0B;QACpC,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,WAAW,CAAC,EAAE,CAAC,CAAC;QAEtC,MAAM,UAAU,GAAG,CAAC,IAAc,EAAO,EAAE;YACzC,yBAAyB;YACzB,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;YACnF,kDAAkD;YAClD,KAAK,MAAM,CAAC,IAAI,YAAY,EAAE,CAAC;gBAC7B,MAAM,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;gBACpB,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,IAAI,GAAG,KAAK,EAAE;oBAAE,OAAO,GAAG,CAAC;YAClE,CAAC;QACH,CAAC,CAAC;QAEF,MAAM,EAAE,GAAG,UAAU,CAAC,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,CA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,CAAC;aAClK,CAAC,CAAC;QACL,CAAC;QAED,OAAO,IAAI,WAAW,CAAC;YACrB,EAAE,EAAE,MAAM,CAAC,EAAE,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;YAC5D,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,EAAE,CAAC;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;AAvDD,kCAuDC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Note = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Represents a personal note or status (Instagram style) in the UI.
|
|
6
|
-
*/
|
|
7
|
-
class Note {
|
|
8
|
-
id = '';
|
|
9
|
-
username = '';
|
|
10
|
-
content = '';
|
|
11
|
-
avatar = '';
|
|
12
|
-
createdAt = '';
|
|
13
|
-
constructor(data) {
|
|
14
|
-
Object.assign(this, data);
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Instantiates a Note object from an API response.
|
|
18
|
-
*/
|
|
19
|
-
static fromAPI(json) {
|
|
20
|
-
if (!json)
|
|
21
|
-
return new Note({});
|
|
22
|
-
return new Note({
|
|
23
|
-
id: json.id || '',
|
|
24
|
-
username: json.username || json.kulladi || '',
|
|
25
|
-
content: json.content || json.icerik || json.text || '',
|
|
26
|
-
avatar: json.avatar || json.oyuncuminnakavatar || '',
|
|
27
|
-
createdAt: json.createdAt || json.created_at || json.zaman || ''
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
exports.Note = Note;
|
|
32
|
-
//# sourceMappingURL=Note.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Note.js","sourceRoot":"","sources":["../../../../src/models/social/chat/Note.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,MAAa,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;AAzBD,oBAyBC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Comment = void 0;
|
|
4
|
-
const User_1 = require("../../auth/User");
|
|
5
|
-
/**
|
|
6
|
-
* Represents a Comment on a Post.
|
|
7
|
-
*/
|
|
8
|
-
class Comment {
|
|
9
|
-
id = '';
|
|
10
|
-
author = null;
|
|
11
|
-
content = '';
|
|
12
|
-
timestamp = '';
|
|
13
|
-
// Compatibility aliases for UI
|
|
14
|
-
date = '';
|
|
15
|
-
createdAt = '';
|
|
16
|
-
likeCount = 0;
|
|
17
|
-
isLiked = false;
|
|
18
|
-
replies = [];
|
|
19
|
-
constructor(data) {
|
|
20
|
-
Object.assign(this, data);
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Instantiates a Comment object from an API response.
|
|
24
|
-
*/
|
|
25
|
-
static fromAPI(json) {
|
|
26
|
-
if (!json)
|
|
27
|
-
return new Comment({});
|
|
28
|
-
return new Comment({
|
|
29
|
-
id: String(json.id || json.yorumid || json.yorum_id || json.paylasimyorumid || json.yorumID || Math.random().toString(36).substr(2, 9)),
|
|
30
|
-
author: (json.author || json.oyuncu || json.authorDisplayName || json.yorumcuadsoyad || json.adsoyad || json.yazar_adsoyad)
|
|
31
|
-
? User_1.User.fromAPI(json.author || json.oyuncu || {
|
|
32
|
-
id: json.authorId || json.oyuncuID || json.oyuncuid || json.yorumcuid || json.yazar_id || 0,
|
|
33
|
-
displayName: json.authorDisplayName || json.yorumcuadsoyad || json.paylasimyorum_yapan_adsoyad || json.adsoyad || json.yazar_adsoyad || json.oyuncu_adsoyad || json.displayName || json.displayname,
|
|
34
|
-
avatar: json.authorAvatar || json.authorSmallAvatar || json.yorumcuavatar || json.yorumcuufakavatar || json.paylasimyorum_yapan_avatar || json.yazar_avatar || json.oyuncu_avatar || json.avatar,
|
|
35
|
-
username: json.authorUsername || json.yorumcukullaniciad || json.paylasimyorum_yapan_kullaniciadi || json.kullaniciadi || json.yazar_kullaniciad || json.username || json.kullaniciad
|
|
36
|
-
})
|
|
37
|
-
: null,
|
|
38
|
-
content: json.content || json.icerik || json.comment || json.text || json.yorumcuicerik || json.paylasimyorum_icerik || '',
|
|
39
|
-
timestamp: json.timestamp || json.tarih || json.created_at || json.zaman || json.yorumcuzaman || json.paylasimyorum_zaman || '',
|
|
40
|
-
date: json.timestamp || json.tarih || json.created_at || json.zaman || json.yorumcuzaman || json.paylasimyorum_zaman || '',
|
|
41
|
-
createdAt: json.timestamp || json.tarih || json.created_at || json.zaman || json.yorumcuzaman || json.paylasimyorum_zaman || '',
|
|
42
|
-
likeCount: Number(json.likeCount || json.begeni_sayi || json.begenisay || 0),
|
|
43
|
-
isLiked: json.isLiked === true || json.begendi === 1 || json.benbegendim === 1 || false,
|
|
44
|
-
replies: Array.isArray(json.replies) ? json.replies.map((r) => Comment.fromAPI(r)) :
|
|
45
|
-
(Array.isArray(json.yanitlar) ? json.yanitlar.map((r) => Comment.fromAPI(r)) : [])
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
exports.Comment = Comment;
|
|
50
|
-
//# sourceMappingURL=Comment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Comment.js","sourceRoot":"","sources":["../../../../src/models/social/feed/Comment.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAEvC;;GAEG;AACH,MAAa,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,CAAC;IAExB,YAAY,IAAsB;QAChC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAS;QACtB,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,OAAO,CAAC,EAAE,CAAC,CAAC;QAElC,OAAO,IAAI,OAAO,CAAC;YACjB,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;YACvI,MAAM,EAAE,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,iBAAiB,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,aAAa,CAAC;gBACzH,CAAC,CAAC,WAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MA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AC,KAAK,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,mBAAmB,IAAI,EAAE;YAC1H,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,mBAAmB,IAAI,EAAE;YAC/H,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC;YAC5E,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,CAAC,IAAI,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;AA3CD,0BA2CC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
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
|
-
constructor(data: Partial<Post>);
|
|
21
|
-
/**
|
|
22
|
-
* Maps a raw API response (PostResponse) to a UI-friendly Post instance.
|
|
23
|
-
*/
|
|
24
|
-
static fromAPI(json: any): Post;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=Post.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;gBAEV,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC;IAI/B;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI;CA2BhC"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Post = void 0;
|
|
4
|
-
const User_1 = require("../../auth/User");
|
|
5
|
-
const Comment_1 = require("./Comment");
|
|
6
|
-
/**
|
|
7
|
-
* Represents a Social Post.
|
|
8
|
-
*/
|
|
9
|
-
class Post {
|
|
10
|
-
id = '';
|
|
11
|
-
author = null;
|
|
12
|
-
content = '';
|
|
13
|
-
media = [];
|
|
14
|
-
timestamp = '';
|
|
15
|
-
likeCount = 0;
|
|
16
|
-
commentCount = 0;
|
|
17
|
-
isLiked = false;
|
|
18
|
-
comments = [];
|
|
19
|
-
likeList = [];
|
|
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_1.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_1.Comment.fromAPI(c)) :
|
|
45
|
-
(Array.isArray(json.ilkucyorum) ? json.ilkucyorum.map((c) => Comment_1.Comment.fromAPI(c)) : []),
|
|
46
|
-
likeList: Array.isArray(json.topLikers) ? json.topLikers.map((l) => User_1.User.fromAPI(l)) :
|
|
47
|
-
(Array.isArray(json.paylasimilkucbegenen) ? json.paylasimilkucbegenen.map((l) => User_1.User.fromAPI(l)) :
|
|
48
|
-
(Array.isArray(json.begenenler) ? json.begenenler.map((l) => User_1.User.fromAPI(l)) :
|
|
49
|
-
(Array.isArray(json.likes) ? json.likes.map((l) => User_1.User.fromAPI(l)) :
|
|
50
|
-
(Array.isArray(json.likers) ? json.likers.map((l) => User_1.User.fromAPI(l)) : []))))
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
exports.Post = Post;
|
|
55
|
-
//# sourceMappingURL=Post.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Post.js","sourceRoot":"","sources":["../../../../src/models/social/feed/Post.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AACvC,uCAAoC;AAGpC;;GAEG;AACH,MAAa,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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