@armoyu/ui 1.1.32 → 1.1.33

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.
Files changed (1085) hide show
  1. package/dist/app/Providers.js +34 -0
  2. package/dist/app/Providers.js.map +1 -0
  3. package/dist/app/api/proxy/[...path]/route.d.ts +23 -0
  4. package/dist/app/api/proxy/[...path]/route.d.ts.map +1 -0
  5. package/dist/app/api/proxy/[...path]/route.js +127 -0
  6. package/dist/app/api/proxy/[...path]/route.js.map +1 -0
  7. package/dist/app/egitim/[slug]/page.d.ts +2 -0
  8. package/dist/app/egitim/[slug]/page.d.ts.map +1 -0
  9. package/dist/app/egitim/[slug]/page.js +7 -0
  10. package/dist/app/egitim/[slug]/page.js.map +1 -0
  11. package/dist/app/etkinlikler/[eventId]/page.d.ts +2 -0
  12. package/dist/app/etkinlikler/[eventId]/page.d.ts.map +1 -0
  13. package/dist/app/etkinlikler/[eventId]/page.js +12 -0
  14. package/dist/app/etkinlikler/[eventId]/page.js.map +1 -0
  15. package/dist/app/etkinlikler/page.d.ts +2 -0
  16. package/dist/app/etkinlikler/page.d.ts.map +1 -0
  17. package/dist/app/etkinlikler/page.js +32 -0
  18. package/dist/app/etkinlikler/page.js.map +1 -0
  19. package/dist/app/gruplar/[groupId]/page.js +11 -0
  20. package/dist/app/gruplar/[groupId]/page.js.map +1 -0
  21. package/dist/app/layout.js +29 -0
  22. package/dist/app/layout.js.map +1 -0
  23. package/dist/app/management-panel/layout.js +67 -0
  24. package/dist/app/management-panel/layout.js.map +1 -0
  25. package/dist/app/management-panel/page.js +151 -0
  26. package/dist/app/management-panel/page.js.map +1 -0
  27. package/dist/app/not-found.d.ts +2 -0
  28. package/dist/app/not-found.d.ts.map +1 -0
  29. package/dist/app/not-found.js +7 -0
  30. package/dist/app/not-found.js.map +1 -0
  31. package/dist/app/page.js +59 -0
  32. package/dist/app/page.js.map +1 -0
  33. package/dist/components/Button.d.ts +8 -0
  34. package/dist/components/Button.d.ts.map +1 -0
  35. package/dist/components/Button.js +16 -0
  36. package/dist/components/Button.js.map +1 -0
  37. package/dist/components/GenderStatsBar.d.ts +6 -0
  38. package/dist/components/GenderStatsBar.d.ts.map +1 -0
  39. package/dist/components/GenderStatsBar.js +8 -0
  40. package/dist/components/GenderStatsBar.js.map +1 -0
  41. package/dist/components/RollingNumber.d.ts +8 -0
  42. package/dist/components/RollingNumber.d.ts.map +1 -0
  43. package/dist/components/RollingNumber.js +28 -0
  44. package/dist/components/RollingNumber.js.map +1 -0
  45. package/dist/components/Slider.d.ts +11 -0
  46. package/dist/components/Slider.d.ts.map +1 -0
  47. package/dist/components/Slider.js +36 -0
  48. package/dist/components/Slider.js.map +1 -0
  49. package/dist/components/StatsGrid.d.ts +6 -0
  50. package/dist/components/StatsGrid.d.ts.map +1 -0
  51. package/dist/components/StatsGrid.js +14 -0
  52. package/dist/components/StatsGrid.js.map +1 -0
  53. package/dist/components/ViewModeToggle.d.ts +8 -0
  54. package/dist/components/ViewModeToggle.d.ts.map +1 -0
  55. package/dist/components/ViewModeToggle.js +10 -0
  56. package/dist/components/ViewModeToggle.js.map +1 -0
  57. package/dist/components/common/Mentions/HashtagLink.d.ts +7 -0
  58. package/dist/components/common/Mentions/HashtagLink.d.ts.map +1 -0
  59. package/dist/components/common/Mentions/HashtagLink.js +7 -0
  60. package/dist/components/common/Mentions/HashtagLink.js.map +1 -0
  61. package/dist/components/common/Mentions/MentionLink.d.ts +7 -0
  62. package/dist/components/common/Mentions/MentionLink.d.ts.map +1 -0
  63. package/dist/components/common/Mentions/MentionLink.js +33 -0
  64. package/dist/components/common/Mentions/MentionLink.js.map +1 -0
  65. package/dist/components/common/Mentions/MentionText.d.ts +8 -0
  66. package/dist/components/common/Mentions/MentionText.d.ts.map +1 -0
  67. package/dist/components/common/Mentions/MentionText.js +23 -0
  68. package/dist/components/common/Mentions/MentionText.js.map +1 -0
  69. package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts +2 -0
  70. package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts.map +1 -0
  71. package/dist/components/modules/auth/widgets/AuthJoinCard.js +16 -0
  72. package/dist/components/modules/auth/widgets/AuthJoinCard.js.map +1 -0
  73. package/dist/components/modules/auth/widgets/InviteWidget.d.ts +6 -0
  74. package/dist/components/modules/auth/widgets/InviteWidget.d.ts.map +1 -0
  75. package/dist/components/modules/auth/widgets/InviteWidget.js +68 -0
  76. package/dist/components/modules/auth/widgets/InviteWidget.js.map +1 -0
  77. package/dist/components/modules/auth/widgets/LoginWidget.js +1 -1
  78. package/dist/components/modules/auth/widgets/LoginWidget.js.map +1 -1
  79. package/dist/components/modules/auth/widgets/RegisterWidget.js +1 -1
  80. package/dist/components/modules/auth/widgets/RegisterWidget.js.map +1 -1
  81. package/dist/components/modules/blog/pages/MyArticlesPage.d.ts +2 -0
  82. package/dist/components/modules/blog/pages/MyArticlesPage.d.ts.map +1 -0
  83. package/dist/components/modules/blog/pages/MyArticlesPage.js +229 -0
  84. package/dist/components/modules/blog/pages/MyArticlesPage.js.map +1 -0
  85. package/dist/components/modules/chat/ChatLayout.js +208 -0
  86. package/dist/components/modules/chat/ChatLayout.js.map +1 -0
  87. package/dist/components/modules/chat/widgets/ChatInput.d.ts +5 -0
  88. package/dist/components/modules/chat/widgets/ChatInput.d.ts.map +1 -0
  89. package/dist/components/modules/chat/widgets/ChatInput.js +31 -0
  90. package/dist/components/modules/chat/widgets/ChatInput.js.map +1 -0
  91. package/dist/components/modules/chat/widgets/ChatList.d.ts +7 -0
  92. package/dist/components/modules/chat/widgets/ChatList.d.ts.map +1 -0
  93. package/dist/components/modules/chat/widgets/ChatList.js +74 -0
  94. package/dist/components/modules/chat/widgets/ChatList.js.map +1 -0
  95. package/dist/components/modules/chat/widgets/ChatMessage.d.ts +12 -0
  96. package/dist/components/modules/chat/widgets/ChatMessage.d.ts.map +1 -0
  97. package/dist/components/modules/chat/widgets/ChatMessage.js +31 -0
  98. package/dist/components/modules/chat/widgets/ChatMessage.js.map +1 -0
  99. package/dist/components/modules/chat/widgets/ChatNotes.d.ts +2 -0
  100. package/dist/components/modules/chat/widgets/ChatNotes.d.ts.map +1 -0
  101. package/dist/components/modules/chat/widgets/ChatNotes.js +15 -0
  102. package/dist/components/modules/chat/widgets/ChatNotes.js.map +1 -0
  103. package/dist/components/modules/cloud/CloudModal.d.ts +12 -0
  104. package/dist/components/modules/cloud/CloudModal.d.ts.map +1 -0
  105. package/dist/components/modules/cloud/CloudModal.js +251 -0
  106. package/dist/components/modules/cloud/CloudModal.js.map +1 -0
  107. package/dist/components/modules/cloud/CloudWidget.d.ts +9 -0
  108. package/dist/components/modules/cloud/CloudWidget.d.ts.map +1 -0
  109. package/dist/components/modules/cloud/CloudWidget.js +7 -0
  110. package/dist/components/modules/cloud/CloudWidget.js.map +1 -0
  111. package/dist/components/modules/community/CommunityLayout.js +136 -0
  112. package/dist/components/modules/community/CommunityLayout.js.map +1 -0
  113. package/dist/components/modules/community/widgets/GroupAboutCard.d.ts +6 -0
  114. package/dist/components/modules/community/widgets/GroupAboutCard.d.ts.map +1 -0
  115. package/dist/components/modules/community/widgets/GroupAboutCard.js +7 -0
  116. package/dist/components/modules/community/widgets/GroupAboutCard.js.map +1 -0
  117. package/dist/components/modules/community/widgets/GroupFeedSection.d.ts +9 -0
  118. package/dist/components/modules/community/widgets/GroupFeedSection.d.ts.map +1 -0
  119. package/dist/components/modules/community/widgets/GroupFeedSection.js +8 -0
  120. package/dist/components/modules/community/widgets/GroupFeedSection.js.map +1 -0
  121. package/dist/components/modules/community/widgets/GroupHeader.d.ts +11 -0
  122. package/dist/components/modules/community/widgets/GroupHeader.d.ts.map +1 -0
  123. package/dist/components/modules/community/widgets/GroupHeader.js +18 -0
  124. package/dist/components/modules/community/widgets/GroupHeader.js.map +1 -0
  125. package/dist/components/modules/community/widgets/GroupMenu.d.ts +10 -0
  126. package/dist/components/modules/community/widgets/GroupMenu.d.ts.map +1 -0
  127. package/dist/components/modules/community/widgets/GroupMenu.js +17 -0
  128. package/dist/components/modules/community/widgets/GroupMenu.js.map +1 -0
  129. package/dist/components/modules/community/widgets/GroupPermissions.d.ts +6 -0
  130. package/dist/components/modules/community/widgets/GroupPermissions.d.ts.map +1 -0
  131. package/dist/components/modules/community/widgets/GroupPermissions.js +7 -0
  132. package/dist/components/modules/community/widgets/GroupPermissions.js.map +1 -0
  133. package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts +11 -0
  134. package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts.map +1 -0
  135. package/dist/components/modules/community/widgets/GroupStatsGrid.js +13 -0
  136. package/dist/components/modules/community/widgets/GroupStatsGrid.js.map +1 -0
  137. package/dist/components/modules/community/widgets/GroupTopMembers.d.ts +7 -0
  138. package/dist/components/modules/community/widgets/GroupTopMembers.d.ts.map +1 -0
  139. package/dist/components/modules/community/widgets/GroupTopMembers.js +8 -0
  140. package/dist/components/modules/community/widgets/GroupTopMembers.js.map +1 -0
  141. package/dist/components/modules/community/widgets/SchoolCard.d.ts +7 -0
  142. package/dist/components/modules/community/widgets/SchoolCard.d.ts.map +1 -0
  143. package/dist/components/modules/community/widgets/SchoolCard.js +11 -0
  144. package/dist/components/modules/community/widgets/SchoolCard.js.map +1 -0
  145. package/dist/components/modules/community/widgets/SchoolJoinModal.d.ts +8 -0
  146. package/dist/components/modules/community/widgets/SchoolJoinModal.d.ts.map +1 -0
  147. package/dist/components/modules/community/widgets/SchoolJoinModal.js +36 -0
  148. package/dist/components/modules/community/widgets/SchoolJoinModal.js.map +1 -0
  149. package/dist/components/modules/community/widgets/SurveyCard.d.ts +8 -0
  150. package/dist/components/modules/community/widgets/SurveyCard.d.ts.map +1 -0
  151. package/dist/components/modules/community/widgets/SurveyCard.js +28 -0
  152. package/dist/components/modules/community/widgets/SurveyCard.js.map +1 -0
  153. package/dist/components/modules/education/pages/EducationPage.d.ts +2 -0
  154. package/dist/components/modules/education/pages/EducationPage.d.ts.map +1 -0
  155. package/dist/components/modules/education/pages/EducationPage.js +56 -0
  156. package/dist/components/modules/education/pages/EducationPage.js.map +1 -0
  157. package/dist/components/modules/education/pages/SchoolDetailPage.d.ts +2 -0
  158. package/dist/components/modules/education/pages/SchoolDetailPage.d.ts.map +1 -0
  159. package/dist/components/modules/education/pages/SchoolDetailPage.js +79 -0
  160. package/dist/components/modules/education/pages/SchoolDetailPage.js.map +1 -0
  161. package/dist/components/modules/events/DetailPage.d.ts +9 -0
  162. package/dist/components/modules/events/DetailPage.d.ts.map +1 -0
  163. package/dist/components/modules/events/DetailPage.js +94 -0
  164. package/dist/components/modules/events/DetailPage.js.map +1 -0
  165. package/dist/components/modules/events/EventsLayout.d.ts +8 -0
  166. package/dist/components/modules/events/EventsLayout.d.ts.map +1 -0
  167. package/dist/components/modules/events/EventsLayout.js +7 -0
  168. package/dist/components/modules/events/EventsLayout.js.map +1 -0
  169. package/dist/components/modules/events/EventsPage.d.ts +11 -0
  170. package/dist/components/modules/events/EventsPage.d.ts.map +1 -0
  171. package/dist/components/modules/events/EventsPage.js +91 -0
  172. package/dist/components/modules/events/EventsPage.js.map +1 -0
  173. package/dist/components/modules/events/index.d.ts +7 -0
  174. package/dist/components/modules/events/index.d.ts.map +1 -0
  175. package/dist/components/modules/events/index.js +7 -0
  176. package/dist/components/modules/events/index.js.map +1 -0
  177. package/dist/components/modules/events/widgets/EventCard.d.ts +12 -0
  178. package/dist/components/modules/events/widgets/EventCard.d.ts.map +1 -0
  179. package/dist/components/modules/events/widgets/EventCard.js +12 -0
  180. package/dist/components/modules/events/widgets/EventCard.js.map +1 -0
  181. package/dist/components/modules/events/widgets/EventFormModal.d.ts +9 -0
  182. package/dist/components/modules/events/widgets/EventFormModal.d.ts.map +1 -0
  183. package/dist/components/modules/events/widgets/EventFormModal.js +24 -0
  184. package/dist/components/modules/events/widgets/EventFormModal.js.map +1 -0
  185. package/dist/components/modules/events/widgets/EventList.d.ts +12 -0
  186. package/dist/components/modules/events/widgets/EventList.d.ts.map +1 -0
  187. package/dist/components/modules/events/widgets/EventList.js +30 -0
  188. package/dist/components/modules/events/widgets/EventList.js.map +1 -0
  189. package/dist/components/modules/events/widgets/EventShowcase.d.ts +6 -0
  190. package/dist/components/modules/events/widgets/EventShowcase.d.ts.map +1 -0
  191. package/dist/components/modules/events/widgets/EventShowcase.js +80 -0
  192. package/dist/components/modules/events/widgets/EventShowcase.js.map +1 -0
  193. package/dist/components/modules/forum/pages/ForumBoardPage.d.ts +8 -0
  194. package/dist/components/modules/forum/pages/ForumBoardPage.d.ts.map +1 -0
  195. package/dist/components/modules/forum/pages/ForumBoardPage.js +18 -0
  196. package/dist/components/modules/forum/pages/ForumBoardPage.js.map +1 -0
  197. package/dist/components/modules/forum/pages/ForumPage.d.ts +2 -0
  198. package/dist/components/modules/forum/pages/ForumPage.d.ts.map +1 -0
  199. package/dist/components/modules/forum/pages/ForumPage.js +14 -0
  200. package/dist/components/modules/forum/pages/ForumPage.js.map +1 -0
  201. package/dist/components/modules/forum/pages/ForumTopicPage.d.ts +8 -0
  202. package/dist/components/modules/forum/pages/ForumTopicPage.d.ts.map +1 -0
  203. package/dist/components/modules/forum/pages/ForumTopicPage.js +55 -0
  204. package/dist/components/modules/forum/pages/ForumTopicPage.js.map +1 -0
  205. package/dist/components/modules/forum/widgets/ForumBoard.d.ts +17 -0
  206. package/dist/components/modules/forum/widgets/ForumBoard.d.ts.map +1 -0
  207. package/dist/components/modules/forum/widgets/ForumBoard.js +7 -0
  208. package/dist/components/modules/forum/widgets/ForumBoard.js.map +1 -0
  209. package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts +6 -0
  210. package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts.map +1 -0
  211. package/dist/components/modules/forum/widgets/ForumCategoryList.js +7 -0
  212. package/dist/components/modules/forum/widgets/ForumCategoryList.js.map +1 -0
  213. package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts +6 -0
  214. package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts.map +1 -0
  215. package/dist/components/modules/forum/widgets/ForumHeaderWidget.js +6 -0
  216. package/dist/components/modules/forum/widgets/ForumHeaderWidget.js.map +1 -0
  217. package/dist/components/modules/forum/widgets/ForumPost.d.ts +14 -0
  218. package/dist/components/modules/forum/widgets/ForumPost.d.ts.map +1 -0
  219. package/dist/components/modules/forum/widgets/ForumPost.js +6 -0
  220. package/dist/components/modules/forum/widgets/ForumPost.js.map +1 -0
  221. package/dist/components/modules/forum/widgets/ForumSidebar.d.ts +2 -0
  222. package/dist/components/modules/forum/widgets/ForumSidebar.d.ts.map +1 -0
  223. package/dist/components/modules/forum/widgets/ForumSidebar.js +6 -0
  224. package/dist/components/modules/forum/widgets/ForumSidebar.js.map +1 -0
  225. package/dist/components/modules/forum/widgets/NewTopicModal.d.ts +8 -0
  226. package/dist/components/modules/forum/widgets/NewTopicModal.d.ts.map +1 -0
  227. package/dist/components/modules/forum/widgets/NewTopicModal.js +27 -0
  228. package/dist/components/modules/forum/widgets/NewTopicModal.js.map +1 -0
  229. package/dist/components/modules/forum/widgets/TopicItem.d.ts +16 -0
  230. package/dist/components/modules/forum/widgets/TopicItem.d.ts.map +1 -0
  231. package/dist/components/modules/forum/widgets/TopicItem.js +7 -0
  232. package/dist/components/modules/forum/widgets/TopicItem.js.map +1 -0
  233. package/dist/components/modules/galleries/widgets/GalleryCard.d.ts +10 -0
  234. package/dist/components/modules/galleries/widgets/GalleryCard.d.ts.map +1 -0
  235. package/dist/components/modules/galleries/widgets/GalleryCard.js +6 -0
  236. package/dist/components/modules/galleries/widgets/GalleryCard.js.map +1 -0
  237. package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts +8 -0
  238. package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts.map +1 -0
  239. package/dist/components/modules/galleries/widgets/GalleryFilterBar.js +6 -0
  240. package/dist/components/modules/galleries/widgets/GalleryFilterBar.js.map +1 -0
  241. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts +2 -0
  242. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts.map +1 -0
  243. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js +6 -0
  244. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js.map +1 -0
  245. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts +7 -0
  246. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts.map +1 -0
  247. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js +6 -0
  248. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js.map +1 -0
  249. package/dist/components/modules/giveaways/pages/GiveawayDetailPage.d.ts +6 -0
  250. package/dist/components/modules/giveaways/pages/GiveawayDetailPage.d.ts.map +1 -0
  251. package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js +42 -0
  252. package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js.map +1 -0
  253. package/dist/components/modules/giveaways/pages/GiveawaysPage.d.ts +2 -0
  254. package/dist/components/modules/giveaways/pages/GiveawaysPage.d.ts.map +1 -0
  255. package/dist/components/modules/giveaways/pages/GiveawaysPage.js +60 -0
  256. package/dist/components/modules/giveaways/pages/GiveawaysPage.js.map +1 -0
  257. package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts +10 -0
  258. package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts.map +1 -0
  259. package/dist/components/modules/giveaways/widgets/GiveawayCard.js +7 -0
  260. package/dist/components/modules/giveaways/widgets/GiveawayCard.js.map +1 -0
  261. package/dist/components/modules/groups/widgets/ApplicationModal.d.ts +8 -0
  262. package/dist/components/modules/groups/widgets/ApplicationModal.d.ts.map +1 -0
  263. package/dist/components/modules/groups/widgets/ApplicationModal.js +28 -0
  264. package/dist/components/modules/groups/widgets/ApplicationModal.js.map +1 -0
  265. package/dist/components/modules/groups/widgets/GroupCard.d.ts +14 -0
  266. package/dist/components/modules/groups/widgets/GroupCard.d.ts.map +1 -0
  267. package/dist/components/modules/groups/widgets/GroupCard.js +8 -0
  268. package/dist/components/modules/groups/widgets/GroupCard.js.map +1 -0
  269. package/dist/components/modules/guest/widgets/Introduction.d.ts +2 -0
  270. package/dist/components/modules/guest/widgets/Introduction.d.ts.map +1 -0
  271. package/dist/components/modules/guest/widgets/Introduction.js +15 -0
  272. package/dist/components/modules/guest/widgets/Introduction.js.map +1 -0
  273. package/dist/components/modules/management/ManagementAccessDenied.d.ts +7 -0
  274. package/dist/components/modules/management/ManagementAccessDenied.d.ts.map +1 -0
  275. package/dist/components/modules/management/ManagementAccessDenied.js +7 -0
  276. package/dist/components/modules/management/ManagementAccessDenied.js.map +1 -0
  277. package/dist/components/modules/management/ManagementLayout.d.ts +14 -0
  278. package/dist/components/modules/management/ManagementLayout.d.ts.map +1 -0
  279. package/dist/components/modules/management/ManagementLayout.js +13 -0
  280. package/dist/components/modules/management/ManagementLayout.js.map +1 -0
  281. package/dist/components/modules/management/ManagementMobileToggle.d.ts +6 -0
  282. package/dist/components/modules/management/ManagementMobileToggle.d.ts.map +1 -0
  283. package/dist/components/modules/management/ManagementMobileToggle.js +6 -0
  284. package/dist/components/modules/management/ManagementMobileToggle.js.map +1 -0
  285. package/dist/components/modules/management/ManagementSidebar.d.ts +23 -0
  286. package/dist/components/modules/management/ManagementSidebar.d.ts.map +1 -0
  287. package/dist/components/modules/management/ManagementSidebar.js +48 -0
  288. package/dist/components/modules/management/ManagementSidebar.js.map +1 -0
  289. package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.d.ts +6 -0
  290. package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.d.ts.map +1 -0
  291. package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.js +16 -0
  292. package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.js.map +1 -0
  293. package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.d.ts +18 -0
  294. package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.d.ts.map +1 -0
  295. package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.js +7 -0
  296. package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.js.map +1 -0
  297. package/dist/components/modules/management/widgets/dashboard/ManagementCharts.d.ts +15 -0
  298. package/dist/components/modules/management/widgets/dashboard/ManagementCharts.d.ts.map +1 -0
  299. package/dist/components/modules/management/widgets/dashboard/ManagementCharts.js +10 -0
  300. package/dist/components/modules/management/widgets/dashboard/ManagementCharts.js.map +1 -0
  301. package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.d.ts +36 -0
  302. package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.d.ts.map +1 -0
  303. package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.js +14 -0
  304. package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.js.map +1 -0
  305. package/dist/components/modules/management/widgets/dashboard/ManagementHeader.d.ts +8 -0
  306. package/dist/components/modules/management/widgets/dashboard/ManagementHeader.d.ts.map +1 -0
  307. package/dist/components/modules/management/widgets/dashboard/ManagementHeader.js +5 -0
  308. package/dist/components/modules/management/widgets/dashboard/ManagementHeader.js.map +1 -0
  309. package/dist/components/modules/management/widgets/dashboard/ManagementOverview.d.ts +27 -0
  310. package/dist/components/modules/management/widgets/dashboard/ManagementOverview.d.ts.map +1 -0
  311. package/dist/components/modules/management/widgets/dashboard/ManagementOverview.js +11 -0
  312. package/dist/components/modules/management/widgets/dashboard/ManagementOverview.js.map +1 -0
  313. package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.d.ts +10 -0
  314. package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.d.ts.map +1 -0
  315. package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.js +7 -0
  316. package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.js.map +1 -0
  317. package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.d.ts +14 -0
  318. package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.d.ts.map +1 -0
  319. package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.js +7 -0
  320. package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.js.map +1 -0
  321. package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.d.ts +4 -0
  322. package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.d.ts.map +1 -0
  323. package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.js +23 -0
  324. package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.js.map +1 -0
  325. package/dist/components/modules/management/widgets/dashboard/RegistryManagement.d.ts +2 -0
  326. package/dist/components/modules/management/widgets/dashboard/RegistryManagement.d.ts.map +1 -0
  327. package/dist/components/modules/management/widgets/dashboard/RegistryManagement.js +36 -0
  328. package/dist/components/modules/management/widgets/dashboard/RegistryManagement.js.map +1 -0
  329. package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.d.ts +2 -0
  330. package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.d.ts.map +1 -0
  331. package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.js +74 -0
  332. package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.js.map +1 -0
  333. package/dist/components/modules/management/widgets/dashboard/SystemSettings.d.ts +2 -0
  334. package/dist/components/modules/management/widgets/dashboard/SystemSettings.d.ts.map +1 -0
  335. package/dist/components/modules/management/widgets/dashboard/SystemSettings.js +20 -0
  336. package/dist/components/modules/management/widgets/dashboard/SystemSettings.js.map +1 -0
  337. package/dist/components/modules/management/widgets/editor/GiveawaysManagement.d.ts +2 -0
  338. package/dist/components/modules/management/widgets/editor/GiveawaysManagement.d.ts.map +1 -0
  339. package/dist/components/modules/management/widgets/editor/GiveawaysManagement.js +12 -0
  340. package/dist/components/modules/management/widgets/editor/GiveawaysManagement.js.map +1 -0
  341. package/dist/components/modules/management/widgets/editor/GroupsManagement.d.ts +2 -0
  342. package/dist/components/modules/management/widgets/editor/GroupsManagement.d.ts.map +1 -0
  343. package/dist/components/modules/management/widgets/editor/GroupsManagement.js +12 -0
  344. package/dist/components/modules/management/widgets/editor/GroupsManagement.js.map +1 -0
  345. package/dist/components/modules/management/widgets/editor/NewsManagement.d.ts +2 -0
  346. package/dist/components/modules/management/widgets/editor/NewsManagement.d.ts.map +1 -0
  347. package/dist/components/modules/management/widgets/editor/NewsManagement.js +13 -0
  348. package/dist/components/modules/management/widgets/editor/NewsManagement.js.map +1 -0
  349. package/dist/components/modules/management/widgets/editor/SchoolsManagement.d.ts +2 -0
  350. package/dist/components/modules/management/widgets/editor/SchoolsManagement.d.ts.map +1 -0
  351. package/dist/components/modules/management/widgets/editor/SchoolsManagement.js +12 -0
  352. package/dist/components/modules/management/widgets/editor/SchoolsManagement.js.map +1 -0
  353. package/dist/components/modules/management/widgets/editor/StationsManagement.d.ts +2 -0
  354. package/dist/components/modules/management/widgets/editor/StationsManagement.d.ts.map +1 -0
  355. package/dist/components/modules/management/widgets/editor/StationsManagement.js +15 -0
  356. package/dist/components/modules/management/widgets/editor/StationsManagement.js.map +1 -0
  357. package/dist/components/modules/management/widgets/events/EventManagement.d.ts +13 -0
  358. package/dist/components/modules/management/widgets/events/EventManagement.d.ts.map +1 -0
  359. package/dist/components/modules/management/widgets/events/EventManagement.js +13 -0
  360. package/dist/components/modules/management/widgets/events/EventManagement.js.map +1 -0
  361. package/dist/components/modules/management/widgets/events/EventSummaryWidget.d.ts +2 -0
  362. package/dist/components/modules/management/widgets/events/EventSummaryWidget.d.ts.map +1 -0
  363. package/dist/components/modules/management/widgets/events/EventSummaryWidget.js +11 -0
  364. package/dist/components/modules/management/widgets/events/EventSummaryWidget.js.map +1 -0
  365. package/dist/components/modules/management/widgets/support/SupportManagement.d.ts +14 -0
  366. package/dist/components/modules/management/widgets/support/SupportManagement.d.ts.map +1 -0
  367. package/dist/components/modules/management/widgets/support/SupportManagement.js +17 -0
  368. package/dist/components/modules/management/widgets/support/SupportManagement.js.map +1 -0
  369. package/dist/components/modules/management/widgets/support/SupportSummaryWidget.d.ts +2 -0
  370. package/dist/components/modules/management/widgets/support/SupportSummaryWidget.d.ts.map +1 -0
  371. package/dist/components/modules/management/widgets/support/SupportSummaryWidget.js +11 -0
  372. package/dist/components/modules/management/widgets/support/SupportSummaryWidget.js.map +1 -0
  373. package/dist/components/modules/management/widgets/users/MemberManagement.d.ts +16 -0
  374. package/dist/components/modules/management/widgets/users/MemberManagement.d.ts.map +1 -0
  375. package/dist/components/modules/management/widgets/users/MemberManagement.js +37 -0
  376. package/dist/components/modules/management/widgets/users/MemberManagement.js.map +1 -0
  377. package/dist/components/modules/management/widgets/users/MemberSummaryWidget.d.ts +2 -0
  378. package/dist/components/modules/management/widgets/users/MemberSummaryWidget.d.ts.map +1 -0
  379. package/dist/components/modules/management/widgets/users/MemberSummaryWidget.js +12 -0
  380. package/dist/components/modules/management/widgets/users/MemberSummaryWidget.js.map +1 -0
  381. package/dist/components/modules/mods/pages/ModDetailPage.d.ts +7 -0
  382. package/dist/components/modules/mods/pages/ModDetailPage.d.ts.map +1 -0
  383. package/dist/components/modules/mods/pages/ModDetailPage.js +24 -0
  384. package/dist/components/modules/mods/pages/ModDetailPage.js.map +1 -0
  385. package/dist/components/modules/mods/pages/ModsPage.d.ts +20 -0
  386. package/dist/components/modules/mods/pages/ModsPage.d.ts.map +1 -0
  387. package/dist/components/modules/mods/pages/ModsPage.js +46 -0
  388. package/dist/components/modules/mods/pages/ModsPage.js.map +1 -0
  389. package/dist/components/modules/news/NewsLayout.d.ts +7 -0
  390. package/dist/components/modules/news/NewsLayout.d.ts.map +1 -0
  391. package/dist/components/modules/news/NewsLayout.js +7 -0
  392. package/dist/components/modules/news/NewsLayout.js.map +1 -0
  393. package/dist/components/modules/news/index.d.ts +6 -0
  394. package/dist/components/modules/news/index.d.ts.map +1 -0
  395. package/dist/components/modules/news/index.js +6 -0
  396. package/dist/components/modules/news/index.js.map +1 -0
  397. package/dist/components/modules/news/pages/NewsDetailPage.d.ts +7 -0
  398. package/dist/components/modules/news/pages/NewsDetailPage.d.ts.map +1 -0
  399. package/dist/components/modules/news/pages/NewsDetailPage.js +56 -0
  400. package/dist/components/modules/news/pages/NewsDetailPage.js.map +1 -0
  401. package/dist/components/modules/news/pages/NewsPage.d.ts +2 -0
  402. package/dist/components/modules/news/pages/NewsPage.d.ts.map +1 -0
  403. package/dist/components/modules/news/pages/NewsPage.js +69 -0
  404. package/dist/components/modules/news/pages/NewsPage.js.map +1 -0
  405. package/dist/components/modules/news/widgets/NewsCard.d.ts +13 -0
  406. package/dist/components/modules/news/widgets/NewsCard.d.ts.map +1 -0
  407. package/dist/components/modules/news/widgets/NewsCard.js +7 -0
  408. package/dist/components/modules/news/widgets/NewsCard.js.map +1 -0
  409. package/dist/components/modules/news/widgets/NewsComments.d.ts +4 -0
  410. package/dist/components/modules/news/widgets/NewsComments.d.ts.map +1 -0
  411. package/dist/components/modules/news/widgets/NewsComments.js +7 -0
  412. package/dist/components/modules/news/widgets/NewsComments.js.map +1 -0
  413. package/dist/components/modules/news/widgets/NewsDetailAuthor.d.ts +8 -0
  414. package/dist/components/modules/news/widgets/NewsDetailAuthor.d.ts.map +1 -0
  415. package/dist/components/modules/news/widgets/NewsDetailAuthor.js +6 -0
  416. package/dist/components/modules/news/widgets/NewsDetailAuthor.js.map +1 -0
  417. package/dist/components/modules/news/widgets/NewsDetailHero.d.ts +9 -0
  418. package/dist/components/modules/news/widgets/NewsDetailHero.d.ts.map +1 -0
  419. package/dist/components/modules/news/widgets/NewsDetailHero.js +6 -0
  420. package/dist/components/modules/news/widgets/NewsDetailHero.js.map +1 -0
  421. package/dist/components/modules/news/widgets/NewsDetailInteraction.d.ts +7 -0
  422. package/dist/components/modules/news/widgets/NewsDetailInteraction.d.ts.map +1 -0
  423. package/dist/components/modules/news/widgets/NewsDetailInteraction.js +8 -0
  424. package/dist/components/modules/news/widgets/NewsDetailInteraction.js.map +1 -0
  425. package/dist/components/modules/news/widgets/NewsDetailSidebar.d.ts +8 -0
  426. package/dist/components/modules/news/widgets/NewsDetailSidebar.d.ts.map +1 -0
  427. package/dist/components/modules/news/widgets/NewsDetailSidebar.js +6 -0
  428. package/dist/components/modules/news/widgets/NewsDetailSidebar.js.map +1 -0
  429. package/dist/components/modules/news/widgets/NewsHero.d.ts +2 -0
  430. package/dist/components/modules/news/widgets/NewsHero.d.ts.map +1 -0
  431. package/dist/components/modules/news/widgets/NewsHero.js +7 -0
  432. package/dist/components/modules/news/widgets/NewsHero.js.map +1 -0
  433. package/dist/components/modules/poll/pages/PollsPage.d.ts +2 -0
  434. package/dist/components/modules/poll/pages/PollsPage.d.ts.map +1 -0
  435. package/dist/components/modules/poll/pages/PollsPage.js +57 -0
  436. package/dist/components/modules/poll/pages/PollsPage.js.map +1 -0
  437. package/dist/components/modules/posts/widgets/MediaLightbox.d.ts +28 -0
  438. package/dist/components/modules/posts/widgets/MediaLightbox.d.ts.map +1 -0
  439. package/dist/components/modules/posts/widgets/MediaLightbox.js +90 -0
  440. package/dist/components/modules/posts/widgets/MediaLightbox.js.map +1 -0
  441. package/dist/components/modules/posts/widgets/PostCard.d.ts +39 -0
  442. package/dist/components/modules/posts/widgets/PostCard.d.ts.map +1 -0
  443. package/dist/components/modules/posts/widgets/PostCard.js +260 -0
  444. package/dist/components/modules/posts/widgets/PostCard.js.map +1 -0
  445. package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts +15 -0
  446. package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts.map +1 -0
  447. package/dist/components/modules/posts/widgets/PostInteractionsModal.js +13 -0
  448. package/dist/components/modules/posts/widgets/PostInteractionsModal.js.map +1 -0
  449. package/dist/components/modules/posts/widgets/PostShareModal.d.ts +9 -0
  450. package/dist/components/modules/posts/widgets/PostShareModal.d.ts.map +1 -0
  451. package/dist/components/modules/posts/widgets/PostShareModal.js +45 -0
  452. package/dist/components/modules/posts/widgets/PostShareModal.js.map +1 -0
  453. package/dist/components/modules/posts/widgets/RepostModal.d.ts +22 -0
  454. package/dist/components/modules/posts/widgets/RepostModal.d.ts.map +1 -0
  455. package/dist/components/modules/posts/widgets/RepostModal.js +76 -0
  456. package/dist/components/modules/posts/widgets/RepostModal.js.map +1 -0
  457. package/dist/components/modules/posts/widgets/SocialFeed.d.ts +23 -0
  458. package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +1 -0
  459. package/dist/components/modules/posts/widgets/SocialFeed.js +123 -0
  460. package/dist/components/modules/posts/widgets/SocialFeed.js.map +1 -0
  461. package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts +16 -0
  462. package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts.map +1 -0
  463. package/dist/components/modules/posts/widgets/reels/ReelCard.js +55 -0
  464. package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +1 -0
  465. package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts +7 -0
  466. package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts.map +1 -0
  467. package/dist/components/modules/posts/widgets/reels/ReelsContainer.js +24 -0
  468. package/dist/components/modules/posts/widgets/reels/ReelsContainer.js.map +1 -0
  469. package/dist/components/modules/profile/ProfileLayout.js +70 -0
  470. package/dist/components/modules/profile/ProfileLayout.js.map +1 -0
  471. package/dist/components/modules/profile/tabs/CareerTab.d.ts +8 -0
  472. package/dist/components/modules/profile/tabs/CareerTab.d.ts.map +1 -0
  473. package/dist/components/modules/profile/tabs/CareerTab.js +57 -0
  474. package/dist/components/modules/profile/tabs/CareerTab.js.map +1 -0
  475. package/dist/components/modules/profile/tabs/FriendsTab.d.ts +7 -0
  476. package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +1 -0
  477. package/dist/components/modules/profile/tabs/FriendsTab.js +46 -0
  478. package/dist/components/modules/profile/tabs/FriendsTab.js.map +1 -0
  479. package/dist/components/modules/profile/tabs/GamesTab.d.ts +7 -0
  480. package/dist/components/modules/profile/tabs/GamesTab.d.ts.map +1 -0
  481. package/dist/components/modules/profile/tabs/GamesTab.js +24 -0
  482. package/dist/components/modules/profile/tabs/GamesTab.js.map +1 -0
  483. package/dist/components/modules/profile/tabs/GroupsTab.d.ts +7 -0
  484. package/dist/components/modules/profile/tabs/GroupsTab.d.ts.map +1 -0
  485. package/dist/components/modules/profile/tabs/GroupsTab.js +9 -0
  486. package/dist/components/modules/profile/tabs/GroupsTab.js.map +1 -0
  487. package/dist/components/modules/profile/tabs/MediaTab.d.ts +7 -0
  488. package/dist/components/modules/profile/tabs/MediaTab.d.ts.map +1 -0
  489. package/dist/components/modules/profile/tabs/MediaTab.js +81 -0
  490. package/dist/components/modules/profile/tabs/MediaTab.js.map +1 -0
  491. package/dist/components/modules/profile/tabs/PostsTab.js +34 -0
  492. package/dist/components/modules/profile/tabs/PostsTab.js.map +1 -0
  493. package/dist/components/modules/profile/tabs/QuestionsTab.d.ts +6 -0
  494. package/dist/components/modules/profile/tabs/QuestionsTab.d.ts.map +1 -0
  495. package/dist/components/modules/profile/tabs/QuestionsTab.js +39 -0
  496. package/dist/components/modules/profile/tabs/QuestionsTab.js.map +1 -0
  497. package/dist/components/modules/profile/tabs/TaggedPostsTab.js +9 -0
  498. package/dist/components/modules/profile/tabs/TaggedPostsTab.js.map +1 -0
  499. package/dist/components/modules/profile/tabs/WallTab.js +40 -0
  500. package/dist/components/modules/profile/tabs/WallTab.js.map +1 -0
  501. package/dist/components/modules/profile/widgets/EditProfileModal.d.ts +9 -0
  502. package/dist/components/modules/profile/widgets/EditProfileModal.d.ts.map +1 -0
  503. package/dist/components/modules/profile/widgets/EditProfileModal.js +78 -0
  504. package/dist/components/modules/profile/widgets/EditProfileModal.js.map +1 -0
  505. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts +2 -0
  506. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts.map +1 -0
  507. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js +14 -0
  508. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js.map +1 -0
  509. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts +8 -0
  510. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts.map +1 -0
  511. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js +12 -0
  512. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js.map +1 -0
  513. package/dist/components/modules/profile/widgets/ProfileGamesWidget.d.ts +7 -0
  514. package/dist/components/modules/profile/widgets/ProfileGamesWidget.d.ts.map +1 -0
  515. package/dist/components/modules/profile/widgets/ProfileGamesWidget.js +11 -0
  516. package/dist/components/modules/profile/widgets/ProfileGamesWidget.js.map +1 -0
  517. package/dist/components/modules/profile/widgets/ProfileGroupsWidget.d.ts +7 -0
  518. package/dist/components/modules/profile/widgets/ProfileGroupsWidget.d.ts.map +1 -0
  519. package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js +11 -0
  520. package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js.map +1 -0
  521. package/dist/components/modules/profile/widgets/ProfileHeader.d.ts +9 -0
  522. package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +1 -0
  523. package/dist/components/modules/profile/widgets/ProfileHeader.js +44 -0
  524. package/dist/components/modules/profile/widgets/ProfileHeader.js.map +1 -0
  525. package/dist/components/modules/profile/widgets/ProfileInfoWidget.d.ts +10 -0
  526. package/dist/components/modules/profile/widgets/ProfileInfoWidget.d.ts.map +1 -0
  527. package/dist/components/modules/profile/widgets/ProfileInfoWidget.js +41 -0
  528. package/dist/components/modules/profile/widgets/ProfileInfoWidget.js.map +1 -0
  529. package/dist/components/modules/profile/widgets/ProfileSidebar.js +11 -0
  530. package/dist/components/modules/profile/widgets/ProfileSidebar.js.map +1 -0
  531. package/dist/components/modules/profile/widgets/ProfileStats.d.ts +9 -0
  532. package/dist/components/modules/profile/widgets/ProfileStats.d.ts.map +1 -0
  533. package/dist/components/modules/profile/widgets/ProfileStats.js +26 -0
  534. package/dist/components/modules/profile/widgets/ProfileStats.js.map +1 -0
  535. package/dist/components/modules/profile/widgets/ProfileTabsArea.js +61 -0
  536. package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +1 -0
  537. package/dist/components/modules/profile/widgets/SoulmateSelectorModal.d.ts +10 -0
  538. package/dist/components/modules/profile/widgets/SoulmateSelectorModal.d.ts.map +1 -0
  539. package/dist/components/modules/profile/widgets/SoulmateSelectorModal.js +16 -0
  540. package/dist/components/modules/profile/widgets/SoulmateSelectorModal.js.map +1 -0
  541. package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts +11 -0
  542. package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts.map +1 -0
  543. package/dist/components/modules/profile/widgets/TeamSelectorModal.js +18 -0
  544. package/dist/components/modules/profile/widgets/TeamSelectorModal.js.map +1 -0
  545. package/dist/components/modules/shop/CartLayout.d.ts +12 -0
  546. package/dist/components/modules/shop/CartLayout.d.ts.map +1 -0
  547. package/dist/components/modules/shop/CartLayout.js +14 -0
  548. package/dist/components/modules/shop/CartLayout.js.map +1 -0
  549. package/dist/components/modules/shop/CheckoutLayout.d.ts +8 -0
  550. package/dist/components/modules/shop/CheckoutLayout.d.ts.map +1 -0
  551. package/dist/components/modules/shop/CheckoutLayout.js +23 -0
  552. package/dist/components/modules/shop/CheckoutLayout.js.map +1 -0
  553. package/dist/components/modules/shop/DetailLayout.d.ts +8 -0
  554. package/dist/components/modules/shop/DetailLayout.d.ts.map +1 -0
  555. package/dist/components/modules/shop/DetailLayout.js +24 -0
  556. package/dist/components/modules/shop/DetailLayout.js.map +1 -0
  557. package/dist/components/modules/shop/OrdersLayout.d.ts +15 -0
  558. package/dist/components/modules/shop/OrdersLayout.d.ts.map +1 -0
  559. package/dist/components/modules/shop/OrdersLayout.js +8 -0
  560. package/dist/components/modules/shop/OrdersLayout.js.map +1 -0
  561. package/dist/components/modules/shop/StoreLayout.d.ts +8 -0
  562. package/dist/components/modules/shop/StoreLayout.d.ts.map +1 -0
  563. package/dist/components/modules/shop/StoreLayout.js +6 -0
  564. package/dist/components/modules/shop/StoreLayout.js.map +1 -0
  565. package/dist/components/modules/shop/widgets/BackToStore.d.ts +2 -0
  566. package/dist/components/modules/shop/widgets/BackToStore.d.ts.map +1 -0
  567. package/dist/components/modules/shop/widgets/BackToStore.js +13 -0
  568. package/dist/components/modules/shop/widgets/BackToStore.js.map +1 -0
  569. package/dist/components/modules/shop/widgets/CategoryWidget.d.ts +8 -0
  570. package/dist/components/modules/shop/widgets/CategoryWidget.d.ts.map +1 -0
  571. package/dist/components/modules/shop/widgets/CategoryWidget.js +23 -0
  572. package/dist/components/modules/shop/widgets/CategoryWidget.js.map +1 -0
  573. package/dist/components/modules/shop/widgets/ProductCard.d.ts +8 -0
  574. package/dist/components/modules/shop/widgets/ProductCard.d.ts.map +1 -0
  575. package/dist/components/modules/shop/widgets/ProductCard.js +10 -0
  576. package/dist/components/modules/shop/widgets/ProductCard.js.map +1 -0
  577. package/dist/components/modules/shop/widgets/StoreHeader.d.ts +6 -0
  578. package/dist/components/modules/shop/widgets/StoreHeader.d.ts.map +1 -0
  579. package/dist/components/modules/shop/widgets/StoreHeader.js +9 -0
  580. package/dist/components/modules/shop/widgets/StoreHeader.js.map +1 -0
  581. package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts +7 -0
  582. package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts.map +1 -0
  583. package/dist/components/modules/shop/widgets/StoreProductGrid.js +13 -0
  584. package/dist/components/modules/shop/widgets/StoreProductGrid.js.map +1 -0
  585. package/dist/components/modules/shop/widgets/StoreSearchBar.d.ts +9 -0
  586. package/dist/components/modules/shop/widgets/StoreSearchBar.d.ts.map +1 -0
  587. package/dist/components/modules/shop/widgets/StoreSearchBar.js +9 -0
  588. package/dist/components/modules/shop/widgets/StoreSearchBar.js.map +1 -0
  589. package/dist/components/modules/shop/widgets/StoreSidebar.d.ts +8 -0
  590. package/dist/components/modules/shop/widgets/StoreSidebar.d.ts.map +1 -0
  591. package/dist/components/modules/shop/widgets/StoreSidebar.js +8 -0
  592. package/dist/components/modules/shop/widgets/StoreSidebar.js.map +1 -0
  593. package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts +2 -0
  594. package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts.map +1 -0
  595. package/dist/components/modules/shop/widgets/StoreTrustBadges.js +29 -0
  596. package/dist/components/modules/shop/widgets/StoreTrustBadges.js.map +1 -0
  597. package/dist/components/modules/social/SocialLayout.js +113 -0
  598. package/dist/components/modules/social/SocialLayout.js.map +1 -0
  599. package/dist/components/modules/social/widgets/EconomyWidget.d.ts +2 -0
  600. package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +1 -0
  601. package/dist/components/modules/social/widgets/EconomyWidget.js +55 -0
  602. package/dist/components/modules/social/widgets/EconomyWidget.js.map +1 -0
  603. package/dist/components/modules/social/widgets/LeagueWidget.d.ts +2 -0
  604. package/dist/components/modules/social/widgets/LeagueWidget.d.ts.map +1 -0
  605. package/dist/components/modules/social/widgets/LeagueWidget.js +50 -0
  606. package/dist/components/modules/social/widgets/LeagueWidget.js.map +1 -0
  607. package/dist/components/modules/social/widgets/MinecraftWidget.d.ts +2 -0
  608. package/dist/components/modules/social/widgets/MinecraftWidget.d.ts.map +1 -0
  609. package/dist/components/modules/social/widgets/MinecraftWidget.js +53 -0
  610. package/dist/components/modules/social/widgets/MinecraftWidget.js.map +1 -0
  611. package/dist/components/modules/social/widgets/NewMembersWidget.d.ts +2 -0
  612. package/dist/components/modules/social/widgets/NewMembersWidget.d.ts.map +1 -0
  613. package/dist/components/modules/social/widgets/NewMembersWidget.js +36 -0
  614. package/dist/components/modules/social/widgets/NewMembersWidget.js.map +1 -0
  615. package/dist/components/modules/social/widgets/PostComposer.d.ts +15 -0
  616. package/dist/components/modules/social/widgets/PostComposer.d.ts.map +1 -0
  617. package/dist/components/modules/social/widgets/PostComposer.js +164 -0
  618. package/dist/components/modules/social/widgets/PostComposer.js.map +1 -0
  619. package/dist/components/modules/social/widgets/RankingWidget.d.ts +5 -0
  620. package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +1 -0
  621. package/dist/components/modules/social/widgets/RankingWidget.js +78 -0
  622. package/dist/components/modules/social/widgets/RankingWidget.js.map +1 -0
  623. package/dist/components/modules/social/widgets/SocialSidebar.d.ts +2 -0
  624. package/dist/components/modules/social/widgets/SocialSidebar.d.ts.map +1 -0
  625. package/dist/components/modules/social/widgets/SocialSidebar.js +9 -0
  626. package/dist/components/modules/social/widgets/SocialSidebar.js.map +1 -0
  627. package/dist/components/modules/social/widgets/TrendingWidget.d.ts +3 -0
  628. package/dist/components/modules/social/widgets/TrendingWidget.d.ts.map +1 -0
  629. package/dist/components/modules/social/widgets/TrendingWidget.js +34 -0
  630. package/dist/components/modules/social/widgets/TrendingWidget.js.map +1 -0
  631. package/dist/components/modules/stations/widgets/StationCard.d.ts +3 -0
  632. package/dist/components/modules/stations/widgets/StationCard.d.ts.map +1 -0
  633. package/dist/components/modules/stations/widgets/StationCard.js +26 -0
  634. package/dist/components/modules/stations/widgets/StationCard.js.map +1 -0
  635. package/dist/components/modules/stations/widgets/StationQRModal.d.ts +10 -0
  636. package/dist/components/modules/stations/widgets/StationQRModal.d.ts.map +1 -0
  637. package/dist/components/modules/stations/widgets/StationQRModal.js +13 -0
  638. package/dist/components/modules/stations/widgets/StationQRModal.js.map +1 -0
  639. package/dist/components/modules/stories/widgets/AddStoryModal.d.ts +13 -0
  640. package/dist/components/modules/stories/widgets/AddStoryModal.d.ts.map +1 -0
  641. package/dist/components/modules/stories/widgets/AddStoryModal.js +11 -0
  642. package/dist/components/modules/stories/widgets/AddStoryModal.js.map +1 -0
  643. package/dist/components/modules/stories/widgets/Stories.d.ts +2 -0
  644. package/dist/components/modules/stories/widgets/Stories.d.ts.map +1 -0
  645. package/dist/components/modules/stories/widgets/Stories.js +151 -0
  646. package/dist/components/modules/stories/widgets/Stories.js.map +1 -0
  647. package/dist/components/modules/stories/widgets/StoryOverlay.d.ts +10 -0
  648. package/dist/components/modules/stories/widgets/StoryOverlay.d.ts.map +1 -0
  649. package/dist/components/modules/stories/widgets/StoryOverlay.js +205 -0
  650. package/dist/components/modules/stories/widgets/StoryOverlay.js.map +1 -0
  651. package/dist/components/modules/support/pages/SupportPage.d.ts +2 -0
  652. package/dist/components/modules/support/pages/SupportPage.d.ts.map +1 -0
  653. package/dist/components/modules/support/pages/SupportPage.js +47 -0
  654. package/dist/components/modules/support/pages/SupportPage.js.map +1 -0
  655. package/dist/components/shared/AnimatedStat.d.ts +13 -0
  656. package/dist/components/shared/AnimatedStat.d.ts.map +1 -0
  657. package/dist/components/shared/AnimatedStat.js +20 -0
  658. package/dist/components/shared/AnimatedStat.js.map +1 -0
  659. package/dist/components/shared/ArmoyuPlayer.d.ts +18 -0
  660. package/dist/components/shared/ArmoyuPlayer.d.ts.map +1 -0
  661. package/dist/components/shared/ArmoyuPlayer.js +69 -0
  662. package/dist/components/shared/ArmoyuPlayer.js.map +1 -0
  663. package/dist/components/shared/DevTools.d.ts +2 -0
  664. package/dist/components/shared/DevTools.d.ts.map +1 -0
  665. package/dist/components/shared/DevTools.js +32 -0
  666. package/dist/components/shared/DevTools.js.map +1 -0
  667. package/dist/components/shared/FilterTabs.d.ts +16 -0
  668. package/dist/components/shared/FilterTabs.d.ts.map +1 -0
  669. package/dist/components/shared/FilterTabs.js +18 -0
  670. package/dist/components/shared/FilterTabs.js.map +1 -0
  671. package/dist/components/shared/FloatingChatButton.js +21 -0
  672. package/dist/components/shared/FloatingChatButton.js.map +1 -0
  673. package/dist/components/shared/Footer.d.ts +2 -0
  674. package/dist/components/shared/Footer.d.ts.map +1 -0
  675. package/dist/components/shared/Footer.js +10 -0
  676. package/dist/components/shared/Footer.js.map +1 -0
  677. package/dist/components/shared/Icons.d.ts +8 -0
  678. package/dist/components/shared/Icons.d.ts.map +1 -0
  679. package/dist/components/shared/Icons.js +5 -0
  680. package/dist/components/shared/Icons.js.map +1 -0
  681. package/dist/components/shared/ListToolbar.d.ts +32 -0
  682. package/dist/components/shared/ListToolbar.d.ts.map +1 -0
  683. package/dist/components/shared/ListToolbar.js +13 -0
  684. package/dist/components/shared/ListToolbar.js.map +1 -0
  685. package/dist/components/shared/MainLayoutWrapper.d.ts +5 -0
  686. package/dist/components/shared/MainLayoutWrapper.d.ts.map +1 -0
  687. package/dist/components/shared/MainLayoutWrapper.js +8 -0
  688. package/dist/components/shared/MainLayoutWrapper.js.map +1 -0
  689. package/dist/components/shared/NotFound.d.ts +21 -0
  690. package/dist/components/shared/NotFound.d.ts.map +1 -0
  691. package/dist/components/shared/NotFound.js +7 -0
  692. package/dist/components/shared/NotFound.js.map +1 -0
  693. package/dist/components/shared/PageWidth.d.ts +6 -0
  694. package/dist/components/shared/PageWidth.d.ts.map +1 -0
  695. package/dist/components/shared/PageWidth.js +14 -0
  696. package/dist/components/shared/PageWidth.js.map +1 -0
  697. package/dist/components/shared/RegisterModal.d.ts +7 -0
  698. package/dist/components/shared/RegisterModal.d.ts.map +1 -0
  699. package/dist/components/shared/RegisterModal.js +9 -0
  700. package/dist/components/shared/RegisterModal.js.map +1 -0
  701. package/dist/components/shared/SearchBar.d.ts +14 -0
  702. package/dist/components/shared/SearchBar.d.ts.map +1 -0
  703. package/dist/components/shared/SearchBar.js +21 -0
  704. package/dist/components/shared/SearchBar.js.map +1 -0
  705. package/dist/components/shared/UserDrawer.d.ts +23 -0
  706. package/dist/components/shared/UserDrawer.d.ts.map +1 -0
  707. package/dist/components/shared/UserDrawer.js +47 -0
  708. package/dist/components/shared/UserDrawer.js.map +1 -0
  709. package/dist/components/showcase/AuthTab.js +14 -0
  710. package/dist/components/showcase/AuthTab.js.map +1 -0
  711. package/dist/components/showcase/CommunityTab.js +6 -0
  712. package/dist/components/showcase/CommunityTab.js.map +1 -0
  713. package/dist/components/showcase/CorporateTab.js +20 -0
  714. package/dist/components/showcase/CorporateTab.js.map +1 -0
  715. package/dist/components/showcase/GeneralTab.js +6 -0
  716. package/dist/components/showcase/GeneralTab.js.map +1 -0
  717. package/dist/components/showcase/GroupTab.d.ts +2 -0
  718. package/dist/components/showcase/GroupTab.d.ts.map +1 -0
  719. package/dist/components/showcase/GroupTab.js +111 -0
  720. package/dist/components/showcase/GroupTab.js.map +1 -0
  721. package/dist/components/showcase/MessagesTab.js +25 -0
  722. package/dist/components/showcase/MessagesTab.js.map +1 -0
  723. package/dist/components/showcase/MyPostsTab.js +12 -0
  724. package/dist/components/showcase/MyPostsTab.js.map +1 -0
  725. package/dist/components/showcase/ProfileTab.js +73 -0
  726. package/dist/components/showcase/ProfileTab.js.map +1 -0
  727. package/dist/components/showcase/ReelsTab.d.ts +2 -0
  728. package/dist/components/showcase/ReelsTab.d.ts.map +1 -0
  729. package/dist/components/showcase/ReelsTab.js +97 -0
  730. package/dist/components/showcase/ReelsTab.js.map +1 -0
  731. package/dist/components/showcase/RulesTab.d.ts +2 -0
  732. package/dist/components/showcase/RulesTab.d.ts.map +1 -0
  733. package/dist/components/showcase/RulesTab.js +18 -0
  734. package/dist/components/showcase/RulesTab.js.map +1 -0
  735. package/dist/components/showcase/ShopTab.js +63 -0
  736. package/dist/components/showcase/ShopTab.js.map +1 -0
  737. package/dist/components/showcase/ShowcaseNavigation.d.ts +2 -0
  738. package/dist/components/showcase/ShowcaseNavigation.d.ts.map +1 -0
  739. package/dist/components/showcase/ShowcaseNavigation.js +129 -0
  740. package/dist/components/showcase/ShowcaseNavigation.js.map +1 -0
  741. package/dist/components/showcase/SocialTab.js +61 -0
  742. package/dist/components/showcase/SocialTab.js.map +1 -0
  743. package/dist/components/showcase/StoriesTab.js +7 -0
  744. package/dist/components/showcase/StoriesTab.js.map +1 -0
  745. package/dist/context/ArmoyuContext.d.ts +45 -0
  746. package/dist/context/ArmoyuContext.d.ts.map +1 -0
  747. package/dist/context/ArmoyuContext.js +92 -0
  748. package/dist/context/ArmoyuContext.js.map +1 -0
  749. package/dist/context/AuthContext.d.ts +23 -0
  750. package/dist/context/AuthContext.d.ts.map +1 -0
  751. package/dist/context/AuthContext.js +154 -0
  752. package/dist/context/AuthContext.js.map +1 -0
  753. package/dist/context/CartContext.d.ts +18 -0
  754. package/dist/context/CartContext.d.ts.map +1 -0
  755. package/dist/context/CartContext.js +63 -0
  756. package/dist/context/CartContext.js.map +1 -0
  757. package/dist/context/ChatContext.d.ts +27 -0
  758. package/dist/context/ChatContext.d.ts.map +1 -0
  759. package/dist/context/ChatContext.js +170 -0
  760. package/dist/context/ChatContext.js.map +1 -0
  761. package/dist/context/LayoutContext.d.ts +11 -0
  762. package/dist/context/LayoutContext.d.ts.map +1 -0
  763. package/dist/context/LayoutContext.js +17 -0
  764. package/dist/context/LayoutContext.js.map +1 -0
  765. package/dist/context/SocketContext.d.ts +13 -0
  766. package/dist/context/SocketContext.d.ts.map +1 -0
  767. package/dist/context/SocketContext.js +32 -0
  768. package/dist/context/SocketContext.js.map +1 -0
  769. package/dist/context/ThemeContext.d.ts +14 -0
  770. package/dist/context/ThemeContext.d.ts.map +1 -0
  771. package/dist/context/ThemeContext.js +52 -0
  772. package/dist/context/ThemeContext.js.map +1 -0
  773. package/dist/hooks/useDebounce.d.ts +2 -0
  774. package/dist/hooks/useDebounce.d.ts.map +1 -0
  775. package/dist/hooks/useDebounce.js +14 -0
  776. package/dist/hooks/useDebounce.js.map +1 -0
  777. package/dist/index.d.ts +18 -24
  778. package/dist/index.d.ts.map +1 -1
  779. package/dist/index.js +22 -25
  780. package/dist/index.js.map +1 -1
  781. package/dist/lib/ArmoyuUI.d.ts +18 -0
  782. package/dist/lib/ArmoyuUI.d.ts.map +1 -0
  783. package/dist/lib/ArmoyuUI.js +25 -0
  784. package/dist/lib/ArmoyuUI.js.map +1 -0
  785. package/dist/lib/constants/config.d.ts +9 -0
  786. package/dist/lib/constants/config.d.ts.map +1 -0
  787. package/dist/lib/constants/config.js +15 -0
  788. package/dist/lib/constants/config.js.map +1 -0
  789. package/dist/lib/constants/educationData.d.ts +11 -0
  790. package/dist/lib/constants/educationData.d.ts.map +1 -0
  791. package/dist/lib/constants/educationData.js +121 -0
  792. package/dist/lib/constants/educationData.js.map +1 -0
  793. package/dist/lib/constants/punishmentData.d.ts +30 -0
  794. package/dist/lib/constants/punishmentData.d.ts.map +1 -0
  795. package/dist/lib/constants/punishmentData.js +184 -0
  796. package/dist/lib/constants/punishmentData.js.map +1 -0
  797. package/dist/lib/constants/seedData.d.ts +182 -0
  798. package/dist/lib/constants/seedData.d.ts.map +1 -0
  799. package/dist/lib/constants/seedData.js +743 -0
  800. package/dist/lib/constants/seedData.js.map +1 -0
  801. package/dist/lib/constants/stationData.d.ts +16 -0
  802. package/dist/lib/constants/stationData.d.ts.map +1 -0
  803. package/dist/lib/constants/stationData.js +206 -0
  804. package/dist/lib/constants/stationData.js.map +1 -0
  805. package/dist/lib/constants/surveyData.d.ts +3 -0
  806. package/dist/lib/constants/surveyData.d.ts.map +1 -0
  807. package/dist/lib/constants/surveyData.js +51 -0
  808. package/dist/lib/constants/surveyData.js.map +1 -0
  809. package/dist/lib/constants/teamData.d.ts +19 -0
  810. package/dist/lib/constants/teamData.d.ts.map +1 -0
  811. package/dist/lib/constants/teamData.js +56 -0
  812. package/dist/lib/constants/teamData.js.map +1 -0
  813. package/dist/lib/utils/numberFormat.d.ts +10 -0
  814. package/dist/lib/utils/numberFormat.d.ts.map +1 -0
  815. package/dist/lib/utils/numberFormat.js +17 -0
  816. package/dist/lib/utils/numberFormat.js.map +1 -0
  817. package/dist/lib/utils/odpUtils.d.ts +16 -0
  818. package/dist/lib/utils/odpUtils.d.ts.map +1 -0
  819. package/dist/lib/utils/odpUtils.js +44 -0
  820. package/dist/lib/utils/odpUtils.js.map +1 -0
  821. package/dist/lib/utils/postUtils.d.ts +7 -0
  822. package/dist/lib/utils/postUtils.d.ts.map +1 -0
  823. package/dist/lib/utils/postUtils.js +40 -0
  824. package/dist/lib/utils/postUtils.js.map +1 -0
  825. package/dist/models/auth/RankedUser.d.ts +20 -0
  826. package/dist/models/auth/RankedUser.d.ts.map +1 -0
  827. package/dist/models/auth/RankedUser.js +36 -0
  828. package/dist/models/auth/RankedUser.js.map +1 -0
  829. package/dist/models/auth/Role.d.ts +16 -0
  830. package/dist/models/auth/Role.d.ts.map +1 -0
  831. package/dist/models/auth/Role.js +33 -0
  832. package/dist/models/auth/Role.js.map +1 -0
  833. package/dist/models/auth/Session.d.ts +24 -0
  834. package/dist/models/auth/Session.d.ts.map +1 -0
  835. package/dist/models/auth/Session.js +50 -0
  836. package/dist/models/auth/Session.js.map +1 -0
  837. package/dist/models/auth/StaffApplication.d.ts +20 -0
  838. package/dist/models/auth/StaffApplication.d.ts.map +1 -0
  839. package/dist/models/auth/StaffApplication.js +36 -0
  840. package/dist/models/auth/StaffApplication.js.map +1 -0
  841. package/dist/models/auth/TeamMember.d.ts +19 -0
  842. package/dist/models/auth/TeamMember.d.ts.map +1 -0
  843. package/dist/models/auth/TeamMember.js +34 -0
  844. package/dist/models/auth/TeamMember.js.map +1 -0
  845. package/dist/models/auth/User.d.ts +99 -0
  846. package/dist/models/auth/User.d.ts.map +1 -0
  847. package/dist/models/auth/User.js +236 -0
  848. package/dist/models/auth/User.js.map +1 -0
  849. package/dist/models/auth/UserBadge.d.ts +18 -0
  850. package/dist/models/auth/UserBadge.d.ts.map +1 -0
  851. package/dist/models/auth/UserBadge.js +33 -0
  852. package/dist/models/auth/UserBadge.js.map +1 -0
  853. package/dist/models/community/ArmoyuEvent.d.ts +62 -0
  854. package/dist/models/community/ArmoyuEvent.d.ts.map +1 -0
  855. package/dist/models/community/ArmoyuEvent.js +149 -0
  856. package/dist/models/community/ArmoyuEvent.js.map +1 -0
  857. package/dist/models/community/Classroom.d.ts +24 -0
  858. package/dist/models/community/Classroom.d.ts.map +1 -0
  859. package/dist/models/community/Classroom.js +45 -0
  860. package/dist/models/community/Classroom.js.map +1 -0
  861. package/dist/models/community/Faculty.d.ts +22 -0
  862. package/dist/models/community/Faculty.d.ts.map +1 -0
  863. package/dist/models/community/Faculty.js +41 -0
  864. package/dist/models/community/Faculty.js.map +1 -0
  865. package/dist/models/community/Forum.d.ts +26 -0
  866. package/dist/models/community/Forum.d.ts.map +1 -0
  867. package/dist/models/community/Forum.js +36 -0
  868. package/dist/models/community/Forum.js.map +1 -0
  869. package/dist/models/community/Giveaway.d.ts +22 -0
  870. package/dist/models/community/Giveaway.d.ts.map +1 -0
  871. package/dist/models/community/Giveaway.js +38 -0
  872. package/dist/models/community/Giveaway.js.map +1 -0
  873. package/dist/models/community/Group.d.ts +38 -0
  874. package/dist/models/community/Group.d.ts.map +1 -0
  875. package/dist/models/community/Group.js +115 -0
  876. package/dist/models/community/Group.js.map +1 -0
  877. package/dist/models/community/School.d.ts +28 -0
  878. package/dist/models/community/School.d.ts.map +1 -0
  879. package/dist/models/community/School.js +68 -0
  880. package/dist/models/community/School.js.map +1 -0
  881. package/dist/models/community/SchoolTeam.d.ts +27 -0
  882. package/dist/models/community/SchoolTeam.d.ts.map +1 -0
  883. package/dist/models/community/SchoolTeam.js +41 -0
  884. package/dist/models/community/SchoolTeam.js.map +1 -0
  885. package/dist/models/community/Station.d.ts +81 -0
  886. package/dist/models/community/Station.d.ts.map +1 -0
  887. package/dist/models/community/Station.js +165 -0
  888. package/dist/models/community/Station.js.map +1 -0
  889. package/dist/models/community/Survey.d.ts +27 -0
  890. package/dist/models/community/Survey.d.ts.map +1 -0
  891. package/dist/models/community/Survey.js +56 -0
  892. package/dist/models/community/Survey.js.map +1 -0
  893. package/dist/models/community/SurveyAnswer.d.ts +15 -0
  894. package/dist/models/community/SurveyAnswer.d.ts.map +1 -0
  895. package/dist/models/community/SurveyAnswer.js +26 -0
  896. package/dist/models/community/SurveyAnswer.js.map +1 -0
  897. package/dist/models/community/Team.d.ts +22 -0
  898. package/dist/models/community/Team.d.ts.map +1 -0
  899. package/dist/models/community/Team.js +60 -0
  900. package/dist/models/community/Team.js.map +1 -0
  901. package/dist/models/community/Workplace.d.ts +18 -0
  902. package/dist/models/community/Workplace.d.ts.map +1 -0
  903. package/dist/models/community/Workplace.js +32 -0
  904. package/dist/models/community/Workplace.js.map +1 -0
  905. package/dist/models/content/Game.d.ts +20 -0
  906. package/dist/models/content/Game.d.ts.map +1 -0
  907. package/dist/models/content/Game.js +40 -0
  908. package/dist/models/content/Game.js.map +1 -0
  909. package/dist/models/content/Media.d.ts +17 -0
  910. package/dist/models/content/Media.d.ts.map +1 -0
  911. package/dist/models/content/Media.js +30 -0
  912. package/dist/models/content/Media.js.map +1 -0
  913. package/dist/models/content/Mod.d.ts +21 -0
  914. package/dist/models/content/Mod.d.ts.map +1 -0
  915. package/dist/models/content/Mod.js +37 -0
  916. package/dist/models/content/Mod.js.map +1 -0
  917. package/dist/models/content/News.d.ts +41 -0
  918. package/dist/models/content/News.d.ts.map +1 -0
  919. package/dist/models/content/News.js +86 -0
  920. package/dist/models/content/News.js.map +1 -0
  921. package/dist/models/content/PlatformStation.d.ts +18 -0
  922. package/dist/models/content/PlatformStation.d.ts.map +1 -0
  923. package/dist/models/content/PlatformStation.js +32 -0
  924. package/dist/models/content/PlatformStation.js.map +1 -0
  925. package/dist/models/content/PlatformTeam.d.ts +14 -0
  926. package/dist/models/content/PlatformTeam.d.ts.map +1 -0
  927. package/dist/models/content/PlatformTeam.js +24 -0
  928. package/dist/models/content/PlatformTeam.js.map +1 -0
  929. package/dist/models/content/Project.d.ts +27 -0
  930. package/dist/models/content/Project.d.ts.map +1 -0
  931. package/dist/models/content/Project.js +43 -0
  932. package/dist/models/content/Project.js.map +1 -0
  933. package/dist/models/content/ProjectScore.d.ts +14 -0
  934. package/dist/models/content/ProjectScore.d.ts.map +1 -0
  935. package/dist/models/content/ProjectScore.js +24 -0
  936. package/dist/models/content/ProjectScore.js.map +1 -0
  937. package/dist/models/content/StationEquipment.d.ts +16 -0
  938. package/dist/models/content/StationEquipment.d.ts.map +1 -0
  939. package/dist/models/content/StationEquipment.js +28 -0
  940. package/dist/models/content/StationEquipment.js.map +1 -0
  941. package/dist/models/core/Country.d.ts +15 -0
  942. package/dist/models/core/Country.d.ts.map +1 -0
  943. package/dist/models/core/Country.js +26 -0
  944. package/dist/models/core/Country.js.map +1 -0
  945. package/dist/models/core/PlatformStats.d.ts +46 -0
  946. package/dist/models/core/PlatformStats.d.ts.map +1 -0
  947. package/dist/models/core/PlatformStats.js +88 -0
  948. package/dist/models/core/PlatformStats.js.map +1 -0
  949. package/dist/models/core/Province.d.ts +15 -0
  950. package/dist/models/core/Province.d.ts.map +1 -0
  951. package/dist/models/core/Province.js +26 -0
  952. package/dist/models/core/Province.js.map +1 -0
  953. package/dist/models/core/Rule.d.ts +16 -0
  954. package/dist/models/core/Rule.d.ts.map +1 -0
  955. package/dist/models/core/Rule.js +28 -0
  956. package/dist/models/core/Rule.js.map +1 -0
  957. package/dist/models/core/SystemSettings.d.ts +38 -0
  958. package/dist/models/core/SystemSettings.d.ts.map +1 -0
  959. package/dist/models/core/SystemSettings.js +64 -0
  960. package/dist/models/core/SystemSettings.js.map +1 -0
  961. package/dist/models/index.d.ts +58 -0
  962. package/dist/models/index.d.ts.map +1 -0
  963. package/dist/models/index.js +72 -0
  964. package/dist/models/index.js.map +1 -0
  965. package/dist/models/shop/CartItem.d.ts +20 -0
  966. package/dist/models/shop/CartItem.d.ts.map +1 -0
  967. package/dist/models/shop/CartItem.js +36 -0
  968. package/dist/models/shop/CartItem.js.map +1 -0
  969. package/dist/models/shop/Invoice.d.ts +18 -0
  970. package/dist/models/shop/Invoice.d.ts.map +1 -0
  971. package/dist/models/shop/Invoice.js +32 -0
  972. package/dist/models/shop/Invoice.js.map +1 -0
  973. package/dist/models/shop/Order.d.ts +23 -0
  974. package/dist/models/shop/Order.d.ts.map +1 -0
  975. package/dist/models/shop/Order.js +48 -0
  976. package/dist/models/shop/Order.js.map +1 -0
  977. package/dist/models/shop/Product.d.ts +26 -0
  978. package/dist/models/shop/Product.d.ts.map +1 -0
  979. package/dist/models/shop/Product.js +67 -0
  980. package/dist/models/shop/Product.js.map +1 -0
  981. package/dist/models/social/chat/Chat.d.ts +26 -0
  982. package/dist/models/social/chat/Chat.d.ts.map +1 -0
  983. package/dist/models/social/chat/Chat.js +80 -0
  984. package/dist/models/social/chat/Chat.js.map +1 -0
  985. package/dist/models/social/chat/Message.d.ts +18 -0
  986. package/dist/models/social/chat/Message.d.ts.map +1 -0
  987. package/dist/models/social/chat/Message.js +58 -0
  988. package/dist/models/social/chat/Message.js.map +1 -0
  989. package/dist/models/social/chat/Note.d.ts +16 -0
  990. package/dist/models/social/chat/Note.d.ts.map +1 -0
  991. package/dist/models/social/chat/Note.js +28 -0
  992. package/dist/models/social/chat/Note.js.map +1 -0
  993. package/dist/models/social/feed/Comment.d.ts +21 -0
  994. package/dist/models/social/feed/Comment.d.ts.map +1 -0
  995. package/dist/models/social/feed/Comment.js +46 -0
  996. package/dist/models/social/feed/Comment.js.map +1 -0
  997. package/dist/models/social/feed/Post.d.ts +29 -0
  998. package/dist/models/social/feed/Post.d.ts.map +1 -0
  999. package/dist/models/social/feed/Post.js +57 -0
  1000. package/dist/models/social/feed/Post.js.map +1 -0
  1001. package/dist/models/social/feed/Story.d.ts +31 -0
  1002. package/dist/models/social/feed/Story.d.ts.map +1 -0
  1003. package/dist/models/social/feed/Story.js +63 -0
  1004. package/dist/models/social/feed/Story.js.map +1 -0
  1005. package/dist/models/social/feed/StoryAuthor.d.ts +13 -0
  1006. package/dist/models/social/feed/StoryAuthor.d.ts.map +1 -0
  1007. package/dist/models/social/feed/StoryAuthor.js +25 -0
  1008. package/dist/models/social/feed/StoryAuthor.js.map +1 -0
  1009. package/dist/models/social/gaming/Game.d.ts +26 -0
  1010. package/dist/models/social/gaming/Game.d.ts.map +1 -0
  1011. package/dist/models/social/gaming/Game.js +45 -0
  1012. package/dist/models/social/gaming/Game.js.map +1 -0
  1013. package/dist/models/social/meta/AuthEnums.d.ts +18 -0
  1014. package/dist/models/social/meta/AuthEnums.d.ts.map +1 -0
  1015. package/dist/models/social/meta/AuthEnums.js +20 -0
  1016. package/dist/models/social/meta/AuthEnums.js.map +1 -0
  1017. package/dist/models/social/meta/MediaEnums.d.ts +20 -0
  1018. package/dist/models/social/meta/MediaEnums.d.ts.map +1 -0
  1019. package/dist/models/social/meta/MediaEnums.js +22 -0
  1020. package/dist/models/social/meta/MediaEnums.js.map +1 -0
  1021. package/dist/models/social/notification/Notification.d.ts +23 -0
  1022. package/dist/models/social/notification/Notification.d.ts.map +1 -0
  1023. package/dist/models/social/notification/Notification.js +64 -0
  1024. package/dist/models/social/notification/Notification.js.map +1 -0
  1025. package/dist/models/social/notification/NotificationEnums.d.ts +54 -0
  1026. package/dist/models/social/notification/NotificationEnums.d.ts.map +1 -0
  1027. package/dist/models/social/notification/NotificationEnums.js +59 -0
  1028. package/dist/models/social/notification/NotificationEnums.js.map +1 -0
  1029. package/dist/models/social/notification/NotificationSender.d.ts +16 -0
  1030. package/dist/models/social/notification/NotificationSender.d.ts.map +1 -0
  1031. package/dist/models/social/notification/NotificationSender.js +28 -0
  1032. package/dist/models/social/notification/NotificationSender.js.map +1 -0
  1033. package/dist/models/social/poll/Poll.d.ts +19 -0
  1034. package/dist/models/social/poll/Poll.d.ts.map +1 -0
  1035. package/dist/models/social/poll/Poll.js +33 -0
  1036. package/dist/models/social/poll/Poll.js.map +1 -0
  1037. package/dist/models/social/poll/PollOption.d.ts +15 -0
  1038. package/dist/models/social/poll/PollOption.d.ts.map +1 -0
  1039. package/dist/models/social/poll/PollOption.js +26 -0
  1040. package/dist/models/social/poll/PollOption.js.map +1 -0
  1041. package/dist/models/social/search/SearchEnums.d.ts +22 -0
  1042. package/dist/models/social/search/SearchEnums.d.ts.map +1 -0
  1043. package/dist/models/social/search/SearchEnums.js +24 -0
  1044. package/dist/models/social/search/SearchEnums.js.map +1 -0
  1045. package/dist/models/social/search/SearchResult.d.ts +21 -0
  1046. package/dist/models/social/search/SearchResult.d.ts.map +1 -0
  1047. package/dist/models/social/search/SearchResult.js +72 -0
  1048. package/dist/models/social/search/SearchResult.js.map +1 -0
  1049. package/dist/models/social/stats/Leaderboard.d.ts +29 -0
  1050. package/dist/models/social/stats/Leaderboard.d.ts.map +1 -0
  1051. package/dist/models/social/stats/Leaderboard.js +50 -0
  1052. package/dist/models/social/stats/Leaderboard.js.map +1 -0
  1053. package/dist/models/social/support/SupportTicket.d.ts +18 -0
  1054. package/dist/models/social/support/SupportTicket.d.ts.map +1 -0
  1055. package/dist/models/social/support/SupportTicket.js +32 -0
  1056. package/dist/models/social/support/SupportTicket.js.map +1 -0
  1057. package/dist/models/social/user/BlockedUser.d.ts +15 -0
  1058. package/dist/models/social/user/BlockedUser.d.ts.map +1 -0
  1059. package/dist/models/social/user/BlockedUser.js +25 -0
  1060. package/dist/models/social/user/BlockedUser.js.map +1 -0
  1061. package/dist/models/store/StoreItem.d.ts +18 -0
  1062. package/dist/models/store/StoreItem.d.ts.map +1 -0
  1063. package/dist/models/store/StoreItem.js +32 -0
  1064. package/dist/models/store/StoreItem.js.map +1 -0
  1065. package/dist/types/index.d.ts +4 -0
  1066. package/dist/types/index.d.ts.map +1 -0
  1067. package/dist/types/index.js +4 -0
  1068. package/dist/types/index.js.map +1 -0
  1069. package/dist/types/navigation.d.ts +6 -0
  1070. package/dist/types/navigation.d.ts.map +1 -0
  1071. package/dist/types/navigation.js +2 -0
  1072. package/dist/types/navigation.js.map +1 -0
  1073. package/dist/types/socket.d.ts +6 -0
  1074. package/dist/types/socket.d.ts.map +1 -0
  1075. package/dist/types/socket.js +2 -0
  1076. package/dist/types/socket.js.map +1 -0
  1077. package/dist/types/stats.d.ts +18 -0
  1078. package/dist/types/stats.d.ts.map +1 -0
  1079. package/dist/types/stats.js +2 -0
  1080. package/dist/types/stats.js.map +1 -0
  1081. package/dist/utils/text/MentionUtils.d.ts +8 -0
  1082. package/dist/utils/text/MentionUtils.d.ts.map +1 -0
  1083. package/dist/utils/text/MentionUtils.js +23 -0
  1084. package/dist/utils/text/MentionUtils.js.map +1 -0
  1085. package/package.json +1 -1
@@ -0,0 +1,48 @@
1
+ import { CartItem } from './CartItem';
2
+ /**
3
+ * Represents a Shop Order in the UI.
4
+ */
5
+ export class Order {
6
+ id;
7
+ items;
8
+ total;
9
+ status;
10
+ createdAt;
11
+ paymentMethod;
12
+ constructor(data) {
13
+ this.id = data.id || '';
14
+ this.items = data.items || [];
15
+ this.total = data.total || 0;
16
+ this.status = data.status || 'pending';
17
+ this.createdAt = data.createdAt || Date.now();
18
+ this.paymentMethod = data.paymentMethod || 'credit_card';
19
+ }
20
+ /**
21
+ * Instantiates an Order object from an API response.
22
+ */
23
+ static fromAPI(json) {
24
+ if (!json)
25
+ return new Order({});
26
+ return new Order({
27
+ id: String(json.id || ''),
28
+ items: Array.isArray(json.items) ? json.items.map((i) => CartItem.fromAPI(i)) : [],
29
+ total: Number(json.total || json.total_amount || 0),
30
+ status: (json.status || 'pending'),
31
+ createdAt: Number(json.createdAt || json.created_at || Date.now()),
32
+ paymentMethod: (json.paymentMethod || json.payment_method || 'credit_card')
33
+ });
34
+ }
35
+ /**
36
+ * Returns a user-friendly status name in Turkish.
37
+ */
38
+ getStatusLabel() {
39
+ switch (this.status) {
40
+ case 'pending': return 'Hazırlanıyor';
41
+ case 'completed': return 'Tamamlandı';
42
+ case 'shipped': return 'Kargoya Verildi';
43
+ case 'canceled': return 'İptal Edildi';
44
+ default: return this.status;
45
+ }
46
+ }
47
+ }
48
+ //# sourceMappingURL=Order.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Order.js","sourceRoot":"","sources":["../../../src/models/shop/Order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAItC;;GAEG;AACH,MAAM,OAAO,KAAK;IAChB,EAAE,CAAS;IACX,KAAK,CAAa;IAClB,KAAK,CAAS;IACd,MAAM,CAAc;IACpB,SAAS,CAAS;IAClB,aAAa,CAA2C;IAExD,YAAY,IAAoB;QAC9B,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC;QAC9B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,CAAC,CA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AC,OAAO,iBAAiB,CAAC;YACzC,KAAK,UAAU,CAAC,CAAC,OAAO,cAAc,CAAC;YACvC,OAAO,CAAC,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC;QAC9B,CAAC;IACH,CAAC;CACF"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Represents a Product in the UI.
3
+ */
4
+ export declare class Product {
5
+ id: string;
6
+ name: string;
7
+ description: string;
8
+ price: number;
9
+ discountPrice?: number;
10
+ image: string;
11
+ category: string;
12
+ stock: number;
13
+ tags?: string[];
14
+ isFeatured: boolean;
15
+ badge?: string;
16
+ constructor(data: Partial<Product>);
17
+ /**
18
+ * Helper to get the display price (discounted if available)
19
+ */
20
+ getDisplayPrice(): number;
21
+ /**
22
+ * Instantiates a Product object from an API response.
23
+ */
24
+ static fromAPI(json: Record<string, any>): Product;
25
+ }
26
+ //# sourceMappingURL=Product.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Product.d.ts","sourceRoot":"","sources":["../../../src/models/shop/Product.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,OAAO;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,EAAE,OAAO,CAAS;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;gBAEH,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC;IAclC;;OAEG;IACH,eAAe,IAAI,MAAM;IAMzB;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,OAAO;CA0BnD"}
@@ -0,0 +1,67 @@
1
+ /**
2
+ * Represents a Product in the UI.
3
+ */
4
+ export class Product {
5
+ id;
6
+ name;
7
+ description;
8
+ price;
9
+ discountPrice;
10
+ image;
11
+ category;
12
+ stock;
13
+ tags;
14
+ isFeatured = false;
15
+ badge;
16
+ constructor(data) {
17
+ this.id = data.id || '';
18
+ this.name = data.name || '';
19
+ this.description = data.description || '';
20
+ this.price = data.price || 0;
21
+ this.discountPrice = data.discountPrice;
22
+ this.image = data.image || '';
23
+ this.category = data.category || '';
24
+ this.stock = data.stock || 0;
25
+ this.tags = data.tags || [];
26
+ this.isFeatured = data.isFeatured || false;
27
+ this.badge = data.badge;
28
+ }
29
+ /**
30
+ * Helper to get the display price (discounted if available)
31
+ */
32
+ getDisplayPrice() {
33
+ return this.discountPrice && this.discountPrice < this.price
34
+ ? this.discountPrice
35
+ : this.price;
36
+ }
37
+ /**
38
+ * Instantiates a Product object from an API response.
39
+ */
40
+ static fromAPI(json) {
41
+ if (!json)
42
+ return new Product({});
43
+ const parsePrice = (p) => {
44
+ if (typeof p === 'number')
45
+ return p;
46
+ if (typeof p === 'string') {
47
+ const cleaned = p.replace(/[₺,]/g, '').replace(' ', '');
48
+ return parseFloat(cleaned) || 0;
49
+ }
50
+ return 0;
51
+ };
52
+ return new Product({
53
+ id: String(json.id || ''),
54
+ name: json.name || json.product_name || '',
55
+ description: json.description || json.desc || '',
56
+ price: parsePrice(json.price),
57
+ discountPrice: json.discountPrice !== undefined ? parsePrice(json.discountPrice) : undefined,
58
+ image: json.image || json.img_url || '',
59
+ category: json.category || 'Genel',
60
+ stock: json.stock || 0,
61
+ tags: json.tags || [],
62
+ isFeatured: json.isFeatured || json.is_featured || false,
63
+ badge: json.badge
64
+ });
65
+ }
66
+ }
67
+ //# sourceMappingURL=Product.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../src/models/shop/Product.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,OAAO,O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@@
1
+ import { User } from '../../auth/User';
2
+ import { ChatMessage } from './Message';
3
+ /**
4
+ * Represents a Chat conversation or summary in the UI.
5
+ */
6
+ export declare class Chat {
7
+ id: string;
8
+ participants: User[];
9
+ name: string;
10
+ avatar: string;
11
+ lastMessage: ChatMessage | null;
12
+ time: string;
13
+ unreadCount: number;
14
+ isOnline: boolean;
15
+ lastSeen: string;
16
+ updatedAt: number;
17
+ isGroup: boolean;
18
+ isFavorite: boolean;
19
+ messages: ChatMessage[];
20
+ constructor(data: Partial<Chat>);
21
+ /**
22
+ * Instantiates a Chat object from an API response.
23
+ */
24
+ static fromAPI(json: Record<string, any>): Chat;
25
+ }
26
+ //# sourceMappingURL=Chat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../src/models/social/chat/Chat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC;;GAEG;AACH,qBAAa,IAAI;IACf,EAAE,EAAE,MAAM,CAAM;IAChB,YAAY,EAAE,IAAI,EAAE,CAAM;IAC1B,IAAI,EAAE,MAAM,CAAM;IAClB,MAAM,EAAE,MAAM,CAAM;IACpB,WAAW,EAAE,WAAW,GAAG,IAAI,CAAQ;IACvC,IAAI,EAAE,MAAM,CAAM;IAClB,WAAW,EAAE,MAAM,CAAK;IACxB,QAAQ,EAAE,OAAO,CAAS;IAC1B,QAAQ,EAAE,MAAM,CAAM;IACtB,SAAS,EAAE,MAAM,CAAK;IACtB,OAAO,EAAE,OAAO,CAAS;IACzB,UAAU,EAAE,OAAO,CAAS;IAC5B,QAAQ,EAAE,WAAW,EAAE,CAAM;gBAEjB,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC;IAI/B;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;CAwDhD"}
@@ -0,0 +1,80 @@
1
+ import { User } from '../../auth/User';
2
+ import { ChatMessage } from './Message';
3
+ /**
4
+ * Represents a Chat conversation or summary in the UI.
5
+ */
6
+ export class Chat {
7
+ id = '';
8
+ participants = [];
9
+ name = '';
10
+ avatar = '';
11
+ lastMessage = null;
12
+ time = '';
13
+ unreadCount = 0;
14
+ isOnline = false;
15
+ lastSeen = '';
16
+ updatedAt = 0;
17
+ isGroup = false;
18
+ isFavorite = false;
19
+ messages = [];
20
+ constructor(data) {
21
+ Object.assign(this, data);
22
+ }
23
+ /**
24
+ * Instantiates a Chat object from an API response.
25
+ */
26
+ static fromAPI(json) {
27
+ if (!json)
28
+ return new Chat({});
29
+ const resolveKey = (keys) => {
30
+ // Find all matching keys
31
+ const matchingKeys = Object.keys(json).filter(k => keys.includes(k.toLowerCase()));
32
+ // Return the first one that has a non-empty value
33
+ for (const k of matchingKeys) {
34
+ const val = json[k];
35
+ if (val !== undefined && val !== null && val !== '')
36
+ return val;
37
+ }
38
+ return undefined;
39
+ };
40
+ const id = resolveKey(['kulladi', 'username', 'oyuncukullaniciadi', 'id', 'id_user', 'user_id', 'oyuncubakid', 'oyuncuid', 'arkadasid', 'id_arkadas', 'groupid', 'grupid', 'sohbetid', 'kullid']);
41
+ const name = resolveKey(['oyuncu_adsoyad', 'adisoyadi', 'adi_soyadi', 'displayname', 'user_displayname', 'oyuncuad', 'grupad', 'name', 'title', 'ad', 'username', 'kulladi']);
42
+ let avatarRaw = resolveKey(['avatar', 'chatimage', 'image', 'oyuncu_avatar', 'oyuncuminnakavatar', 'player_avatar', 'arkadasfoto', 'oyuncufoto', 'oyuncuresim', 'profil_fotosu', 'logo', 'foto', 'resim', 'grup_minnakavatar', 'avatar_url']);
43
+ if (!avatarRaw) {
44
+ const heuristicKey = Object.keys(json).find(k => {
45
+ const lowerK = k.toLowerCase();
46
+ return lowerK.includes('avatar') || lowerK.includes('foto') || lowerK.includes('resim') || lowerK.includes('image');
47
+ });
48
+ if (heuristicKey)
49
+ avatarRaw = json[heuristicKey];
50
+ }
51
+ const nestedObj = json.oyuncu || json.arkadas || json.owner || json.user;
52
+ if (!avatarRaw && nestedObj && typeof nestedObj === 'object') {
53
+ const nestedUser = User.fromAPI(nestedObj);
54
+ if (nestedUser.avatar)
55
+ avatarRaw = nestedUser.avatar;
56
+ }
57
+ const lastMsgRaw = resolveKey(['lastmessage', 'last_message', 'sonmesaj', 'son_mesaj']);
58
+ const time = resolveKey(['time', 'zaman', 'tarih', 'last_message_time', 'guncelletarih', 'songorusme', 'songiris']);
59
+ const unread = resolveKey(['unreadcount', 'unread_count', 'okunmamissayi', 'okunmamis_sayi', 'bildirim_sayi', 'bildirim']);
60
+ const onlineRaw = resolveKey(['isonline', 'is_online', 'oyuncu_online', 'durum']);
61
+ const lastSeen = resolveKey(['lastseen', 'last_seen', 'songorulme', 'son_gorulme']);
62
+ const isGroupRaw = resolveKey(['isgroup', 'is_group', 'is_clube', 'groupid', 'grupid']);
63
+ return new Chat({
64
+ id: String(id || ''),
65
+ participants: Array.isArray(json.participants) ? json.participants.map((p) => User.fromAPI(p)) : [],
66
+ name: name || '',
67
+ avatar: typeof avatarRaw === 'string' ? avatarRaw : (avatarRaw?.media_URL || avatarRaw?.media_minURL || avatarRaw?.media_bigURL || avatarRaw?.fotourl || avatarRaw?.url || ''),
68
+ lastMessage: lastMsgRaw ? ChatMessage.fromAPI(lastMsgRaw) : null,
69
+ time: time || '',
70
+ unreadCount: Number(unread || 0),
71
+ isOnline: onlineRaw === 1 || onlineRaw === true,
72
+ lastSeen: lastSeen || '',
73
+ updatedAt: json.updatedAt || json.updated_at || Date.now(),
74
+ isGroup: !!isGroupRaw,
75
+ isFavorite: !!json.isFavorite || !!json.is_favorite,
76
+ messages: Array.isArray(json.messages) ? json.messages.map((m) => ChatMessage.fromAPI(m)) : (Array.isArray(json.liste) ? json.liste.map((m) => ChatMessage.fromAPI(m)) : []),
77
+ });
78
+ }
79
+ }
80
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AAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;SACvL,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,18 @@
1
+ import { User } from '../../auth/User';
2
+ /**
3
+ * Represents a single message in a Chat in the UI.
4
+ */
5
+ export declare class ChatMessage {
6
+ id: string;
7
+ sender: User | null;
8
+ content: string;
9
+ timestamp: string;
10
+ isSystem: boolean;
11
+ isSelf: boolean;
12
+ constructor(data: Partial<ChatMessage>);
13
+ /**
14
+ * Instantiates a ChatMessage object from an API response.
15
+ */
16
+ static fromAPI(json: Record<string, any>): ChatMessage;
17
+ }
18
+ //# sourceMappingURL=Message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/models/social/chat/Message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC;;GAEG;AACH,qBAAa,WAAW;IACtB,EAAE,EAAE,MAAM,CAAM;IAChB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAQ;IAC3B,OAAO,EAAE,MAAM,CAAM;IACrB,SAAS,EAAE,MAAM,CAAM;IACvB,QAAQ,EAAE,OAAO,CAAS;IAC1B,MAAM,EAAE,OAAO,CAAS;gBAEZ,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC;IAItC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,WAAW;CAwCvD"}
@@ -0,0 +1,58 @@
1
+ import { User } from '../../auth/User';
2
+ /**
3
+ * Represents a single message in a Chat in the UI.
4
+ */
5
+ export class ChatMessage {
6
+ id = '';
7
+ sender = null;
8
+ content = '';
9
+ timestamp = '';
10
+ isSystem = false;
11
+ isSelf = false;
12
+ constructor(data) {
13
+ Object.assign(this, data);
14
+ }
15
+ /**
16
+ * Instantiates a ChatMessage object from an API response.
17
+ */
18
+ static fromAPI(json) {
19
+ if (!json)
20
+ return new ChatMessage({});
21
+ const resolveKey = (keys) => {
22
+ // Find all matching keys
23
+ const matchingKeys = Object.keys(json).filter(k => keys.includes(k.toLowerCase()));
24
+ // Return the first one that has a non-empty value
25
+ for (const k of matchingKeys) {
26
+ const val = json[k];
27
+ if (val !== undefined && val !== null && val !== '')
28
+ return val;
29
+ }
30
+ };
31
+ const id = resolveKey(['id', 'sohbetid', 'mesajid', 'id_sohbet', 'id_mesaj']);
32
+ const senderRaw = resolveKey(['sender', 'authorname', 'sender_name', 'gonderen_ad', 'oyuncu_ad', 'gonderen', 'adsoyad', 'kulladi', 'adisoyadi']);
33
+ const content = resolveKey(['content', 'text', 'icerik', 'mesaj', 'text_message', 'message', 'mesajicerik']);
34
+ const timestamp = resolveKey(['timelabel', 'timestamp', 'time', 'zaman', 'tarih', 'sent_at', 'paylasimzaman']);
35
+ const isSystemRaw = resolveKey(['issystem', 'is_system', 'system_message', 'sistem']);
36
+ const side = resolveKey(['side']);
37
+ let sender = null;
38
+ if (json.sender && typeof json.sender === 'object') {
39
+ sender = User.fromAPI(json.sender);
40
+ }
41
+ else if (senderRaw) {
42
+ sender = User.fromAPI({
43
+ displayname: String(senderRaw),
44
+ username: String(resolveKey(['kulladi', 'username', 'oyuncukullaniciadi']) || senderRaw),
45
+ avatar: resolveKey(['authoravatar', 'avatar', 'chatimage', 'image', 'oyuncu_avatar', 'oyuncuminnakavatar', 'player_avatar', 'arkadasfoto', 'oyuncufoto', 'foto'])
46
+ });
47
+ }
48
+ return new ChatMessage({
49
+ id: String(id || Math.random().toString(36).substring(2, 9)),
50
+ sender: sender,
51
+ content: String(content || ''),
52
+ timestamp: String(timestamp || ''),
53
+ isSystem: isSystemRaw === 1 || isSystemRaw === true || false,
54
+ isSelf: side === 'ben'
55
+ });
56
+ }
57
+ }
58
+ //# sourceMapp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AW,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"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Represents a personal note or status (Instagram style) in the UI.
3
+ */
4
+ export declare class Note {
5
+ id: string;
6
+ username: string;
7
+ content: string;
8
+ avatar: string;
9
+ createdAt: string;
10
+ constructor(data: Partial<Note>);
11
+ /**
12
+ * Instantiates a Note object from an API response.
13
+ */
14
+ static fromAPI(json: Record<string, any>): Note;
15
+ }
16
+ //# sourceMappingURL=Note.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Note.d.ts","sourceRoot":"","sources":["../../../../src/models/social/chat/Note.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,IAAI;IACf,EAAE,EAAE,MAAM,CAAM;IAChB,QAAQ,EAAE,MAAM,CAAM;IACtB,OAAO,EAAE,MAAM,CAAM;IACrB,MAAM,EAAE,MAAM,CAAM;IACpB,SAAS,EAAE,MAAM,CAAM;gBAEX,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC;IAI/B;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;CAWhD"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Represents a personal note or status (Instagram style) in the UI.
3
+ */
4
+ export class Note {
5
+ id = '';
6
+ username = '';
7
+ content = '';
8
+ avatar = '';
9
+ createdAt = '';
10
+ constructor(data) {
11
+ Object.assign(this, data);
12
+ }
13
+ /**
14
+ * Instantiates a Note object from an API response.
15
+ */
16
+ static fromAPI(json) {
17
+ if (!json)
18
+ return new Note({});
19
+ return new Note({
20
+ id: json.id || '',
21
+ username: json.username || json.kulladi || '',
22
+ content: json.content || json.icerik || json.text || '',
23
+ avatar: json.avatar || json.oyuncuminnakavatar || '',
24
+ createdAt: json.createdAt || json.created_at || json.zaman || ''
25
+ });
26
+ }
27
+ }
28
+ //# sourceMappingURL=Note.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Note.js","sourceRoot":"","sources":["../../../../src/models/social/chat/Note.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,OAAO,IAAI;IACf,EAAE,GAAW,EAAE,CAAC;IAChB,QAAQ,GAAW,EAAE,CAAC;IACtB,OAAO,GAAW,EAAE,CAAC;IACrB,MAAM,GAAW,EAAE,CAAC;IACpB,SAAS,GAAW,EAAE,CAAC;IAEvB,YAAY,IAAmB;QAC7B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAyB;QACtC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,IAAI,CAAC,EAAE,CAAC,CAAC;QAE/B,OAAO,IAAI,IAAI,CAAC;YACd,EAAE,EAAE,IAAI,CAAC,EAAE,IAAI,EAAE;YACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO,IAAI,EAAE;YAC7C,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,IAAI,IAAI,EAAE;YACvD,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,kBAAkB,IAAI,EAAE;YACpD,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,KAAK,IAAI,EAAE;SACjE,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,21 @@
1
+ import { User } from '../../auth/User';
2
+ /**
3
+ * Represents a Comment on a Post.
4
+ */
5
+ export declare class Comment {
6
+ id: string;
7
+ author: User | null;
8
+ content: string;
9
+ timestamp: string;
10
+ date: string;
11
+ createdAt: string;
12
+ likeCount: number;
13
+ isLiked: boolean;
14
+ replies: Comment[];
15
+ constructor(data: Partial<Comment>);
16
+ /**
17
+ * Instantiates a Comment object from an API response.
18
+ */
19
+ static fromAPI(json: any): Comment;
20
+ }
21
+ //# sourceMappingURL=Comment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Comment.d.ts","sourceRoot":"","sources":["../../../../src/models/social/feed/Comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC;;GAEG;AACH,qBAAa,OAAO;IAClB,EAAE,EAAE,MAAM,CAAM;IAChB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAQ;IAC3B,OAAO,EAAE,MAAM,CAAM;IACrB,SAAS,EAAE,MAAM,CAAM;IAEvB,IAAI,EAAE,MAAM,CAAM;IAClB,SAAS,EAAE,MAAM,CAAM;IAEvB,SAAS,EAAE,MAAM,CAAK;IACtB,OAAO,EAAE,OAAO,CAAS;IACzB,OAAO,EAAE,OAAO,EAAE,CAAM;gBAEZ,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC;IAIlC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO;CAuBnC"}
@@ -0,0 +1,46 @@
1
+ import { User } from '../../auth/User';
2
+ /**
3
+ * Represents a Comment on a Post.
4
+ */
5
+ export class Comment {
6
+ id = '';
7
+ author = null;
8
+ content = '';
9
+ timestamp = '';
10
+ // Compatibility aliases for UI
11
+ date = '';
12
+ createdAt = '';
13
+ likeCount = 0;
14
+ isLiked = false;
15
+ replies = [];
16
+ constructor(data) {
17
+ Object.assign(this, data);
18
+ }
19
+ /**
20
+ * Instantiates a Comment object from an API response.
21
+ */
22
+ static fromAPI(json) {
23
+ if (!json)
24
+ return new Comment({});
25
+ return new Comment({
26
+ id: String(json.id || json.yorumid || json.yorum_id || json.paylasimyorumid || json.yorumID || Math.random().toString(36).substr(2, 9)),
27
+ author: (json.author || json.oyuncu || json.authorDisplayName || json.yorumcuadsoyad || json.adsoyad || json.yazar_adsoyad)
28
+ ? User.fromAPI(json.author || json.oyuncu || {
29
+ id: json.authorId || json.oyuncuID || json.oyuncuid || json.yorumcuid || json.yazar_id || 0,
30
+ displayName: json.authorDisplayName || json.yorumcuadsoyad || json.paylasimyorum_yapan_adsoyad || json.adsoyad || json.yazar_adsoyad || json.oyuncu_adsoyad || json.displayName || json.displayname,
31
+ avatar: json.authorAvatar || json.authorSmallAvatar || json.yorumcuavatar || json.yorumcuufakavatar || json.paylasimyorum_yapan_avatar || json.yazar_avatar || json.oyuncu_avatar || json.avatar,
32
+ username: json.authorUsername || json.yorumcukullaniciad || json.paylasimyorum_yapan_kullaniciadi || json.kullaniciadi || json.yazar_kullaniciad || json.username || json.kullaniciad
33
+ })
34
+ : null,
35
+ content: json.content || json.icerik || json.comment || json.text || json.yorumcuicerik || json.paylasimyorum_icerik || '',
36
+ timestamp: json.timestamp || json.tarih || json.created_at || json.zaman || json.yorumcuzaman || json.paylasimyorum_zaman || '',
37
+ date: json.timestamp || json.tarih || json.created_at || json.zaman || json.yorumcuzaman || json.paylasimyorum_zaman || '',
38
+ createdAt: json.timestamp || json.tarih || json.created_at || json.zaman || json.yorumcuzaman || json.paylasimyorum_zaman || '',
39
+ likeCount: Number(json.likeCount || json.begeni_sayi || json.begenisay || 0),
40
+ isLiked: json.isLiked === true || json.begendi === 1 || json.benbegendim === 1 || false,
41
+ replies: Array.isArray(json.replies) ? json.replies.map((r) => Comment.fromAPI(r)) :
42
+ (Array.isArray(json.yanitlar) ? json.yanitlar.map((r) => Comment.fromAPI(r)) : [])
43
+ });
44
+ }
45
+ }
46
+ //# sourceMappingURL=Comment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Comment.js","sourceRoot":"","sources":["../../../../src/models/social/feed/Comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC;;GAEG;AACH,MAAM,OAAO,OAAO;IAClB,EAAE,GAAW,EAAE,CAAC;IAChB,MAAM,GAAgB,IAAI,CAAC;IAC3B,OAAO,GAAW,EAAE,CAAC;IACrB,SAAS,GAAW,EAAE,CAAC;IACvB,+BAA+B;IAC/B,IAAI,GAAW,EAAE,CAAC;IAClB,SAAS,GAAW,EAAE,CAAC;IAEvB,SAAS,GAAW,CAAC,CAAC;IACtB,OAAO,GAAY,KAAK,CAAC;IACzB,OAAO,GAAc,EAAE,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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,IAAI,EAAE;YAC/H,IAAI,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;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"}
@@ -0,0 +1,29 @@
1
+ import { User } from '../../auth/User';
2
+ import { Comment } from './Comment';
3
+ /**
4
+ * Represents a Social Post.
5
+ */
6
+ export declare class Post {
7
+ id: string;
8
+ author: User | null;
9
+ content: string;
10
+ media: {
11
+ type: 'image' | 'video' | 'audio';
12
+ url: string;
13
+ }[];
14
+ timestamp: string;
15
+ likeCount: number;
16
+ commentCount: number;
17
+ isLiked: boolean;
18
+ comments: Comment[];
19
+ likeList: User[];
20
+ device?: 'mobile' | 'web';
21
+ timeLabel?: string;
22
+ location?: string;
23
+ constructor(data: Partial<Post>);
24
+ /**
25
+ * Maps a raw API response (PostResponse) to a UI-friendly Post instance.
26
+ */
27
+ static fromAPI(json: any): Post;
28
+ }
29
+ //# sourceMappingURL=Post.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Post.d.ts","sourceRoot":"","sources":["../../../../src/models/social/feed/Post.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC;;GAEG;AACH,qBAAa,IAAI;IACf,EAAE,EAAE,MAAM,CAAM;IAChB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAQ;IAC3B,OAAO,EAAE,MAAM,CAAM;IACrB,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,CAAM;IACjE,SAAS,EAAE,MAAM,CAAM;IACvB,SAAS,EAAE,MAAM,CAAK;IACtB,YAAY,EAAE,MAAM,CAAK;IACzB,OAAO,EAAE,OAAO,CAAS;IACzB,QAAQ,EAAE,OAAO,EAAE,CAAM;IACzB,QAAQ,EAAE,IAAI,EAAE,CAAM;IACtB,MAAM,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;gBAEN,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC;IAI/B;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI;CA8BhC"}
@@ -0,0 +1,57 @@
1
+ import { User } from '../../auth/User';
2
+ import { Comment } from './Comment';
3
+ /**
4
+ * Represents a Social Post.
5
+ */
6
+ export class Post {
7
+ id = '';
8
+ author = null;
9
+ content = '';
10
+ media = [];
11
+ timestamp = '';
12
+ likeCount = 0;
13
+ commentCount = 0;
14
+ isLiked = false;
15
+ comments = [];
16
+ likeList = [];
17
+ device;
18
+ timeLabel;
19
+ location;
20
+ constructor(data) {
21
+ Object.assign(this, data);
22
+ }
23
+ /**
24
+ * Maps a raw API response (PostResponse) to a UI-friendly Post instance.
25
+ */
26
+ static fromAPI(json) {
27
+ if (!json)
28
+ return new Post({});
29
+ return new Post({
30
+ id: String(json.id || json.postID || json.paylasimid || json.paylasim_id || json.post_id || json.sosyalid || json.sosyal_id || ''),
31
+ author: (json.owner || json.author || json.oyuncu || json.oyuncuID) ? User.fromAPI(json.owner || json.author || json.oyuncu || json) : null,
32
+ content: json.content || json.paylasimicerik || json.icerik || json.text || json.paylasimmetin || '',
33
+ media: (Array.isArray(json.media) ? json.media :
34
+ (Array.isArray(json.mappedMedia) ? json.mappedMedia.map((m) => m.url) :
35
+ (Array.isArray(json.paylasimfoto) ? json.paylasimfoto.map((f) => f.fotourl || f.url) : []))).map((url) => {
36
+ const ext = url.split('.').pop()?.toLowerCase() || '';
37
+ const isVideo = ['mp4', 'webm', 'ogg', 'mov'].includes(ext);
38
+ return { type: isVideo ? 'video' : 'image', url };
39
+ }),
40
+ timestamp: json.date || json.paylasimzaman || json.timestamp || json.tarih || json.created_at || '',
41
+ likeCount: Number(json.likesCount || json.begenisay || 0),
42
+ commentCount: Number(json.commentsCount || json.yorumsay || 0),
43
+ isLiked: json.isLiked === true || json.benbegendim === 1 || false,
44
+ comments: Array.isArray(json.topComments) ? json.topComments.map((c) => Comment.fromAPI(c)) :
45
+ (Array.isArray(json.ilkucyorum) ? json.ilkucyorum.map((c) => Comment.fromAPI(c)) : []),
46
+ likeList: Array.isArray(json.topLikers) ? json.topLikers.map((l) => User.fromAPI(l)) :
47
+ (Array.isArray(json.paylasimilkucbegenen) ? json.paylasimilkucbegenen.map((l) => User.fromAPI(l)) :
48
+ (Array.isArray(json.begenenler) ? json.begenenler.map((l) => User.fromAPI(l)) :
49
+ (Array.isArray(json.likes) ? json.likes.map((l) => User.fromAPI(l)) :
50
+ (Array.isArray(json.likers) ? json.likers.map((l) => User.fromAPI(l)) : [])))),
51
+ device: (['mobil', 'mobile', 'ios', 'android'].includes(json.device?.toLowerCase()) || Number(json.paylasimcihaz || json.cihaz) === 1) ? 'mobile' : 'web',
52
+ timeLabel: json.paylasimzamangecen || json.timeLabel || '',
53
+ location: json.paylasimkonum || json.location || ''
54
+ });
55
+ }
56
+ }
57
+ //# sourceMappingURL=Post.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Post.js","sourceRoot":"","sources":["../../../../src/models/social/feed/Post.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC;;GAEG;AACH,MAAM,OAAO,IAAI;IACf,EAAE,GAAW,EAAE,CAAC;IAChB,MAAM,GAAgB,IAAI,CAAC;IAC3B,OAAO,GAAW,EAAE,CAAC;IACrB,KAAK,GAAyD,EAAE,CAAC;IACjE,SAAS,GAAW,EAAE,CAAC;IACvB,SAAS,GAAW,CAAC,CAAC;IACtB,YAAY,GAAW,CAAC,CAAC;IACzB,OAAO,GAAY,KAAK,CAAC;IACzB,QAAQ,GAAc,EAAE,CAAC;IACzB,QAAQ,GAAW,EAAE,CAAC;IACtB,MAAM,CAAoB;IAC1B,SAAS,CAAU;IACnB,QAAQ,CAAU;IAElB,YAAY,IAAmB;QAC7B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAS;QACtB,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,IA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