@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,208 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
+ import React, { useState, useEffect } from 'react';
4
+ import { Chat } from '../../../models/social/chat/Chat';
5
+ import { ChatMessage as ChatMessageModel } from '../../../models/social/chat/Message';
6
+ import { Search, X } from 'lucide-react';
7
+ import { useArmoyu } from '../../../context/ArmoyuContext';
8
+ // Shared Contexts / Utils from main index
9
+ import { useAuth, useChat, useSocket, userList } from '../../../index';
10
+ // Module specific widgets
11
+ import { ChatList } from './widgets/ChatList';
12
+ import { ChatMessage } from './widgets/ChatMessage';
13
+ import { ChatInput } from './widgets/ChatInput';
14
+ export function ChatLayout() {
15
+ const { user, session } = useAuth();
16
+ const { setMockEnabled } = useArmoyu();
17
+ const { closeChat, isLiveMode, setLiveMode, chatList: liveContacts, activeMessages, fetchMessages, fetchChatList, sendMessage: sendApiMessage } = useChat();
18
+ const { emit, on, isConnected } = useSocket();
19
+ const handleFetchFromApi = async () => {
20
+ setMockEnabled(false);
21
+ setLiveMode(true);
22
+ await fetchChatList(1, true);
23
+ };
24
+ // Eğer null ise liste görünümü açık, ID var ise mesajlaşma açık.
25
+ const [activeContactId, setActiveContactId] = useState(null);
26
+ // Local state for Mock mode (Fallback)
27
+ const [localMessages, setLocalMessages] = useState([]);
28
+ const [localContacts, setLocalContacts] = useState([]);
29
+ const [isTyping, setIsTyping] = useState(false);
30
+ const messagesEndRef = React.useRef(null);
31
+ const isFirstRender = React.useRef(true);
32
+ // Sohbet açıldığında otomatik olarak API'den verileri çek
33
+ useEffect(() => {
34
+ if (isFirstRender.current) {
35
+ isFirstRender.current = false;
36
+ if (user) {
37
+ // Zaten canlı moddaysa direkt çek, değilse canlı moda geçip çek
38
+ if (isLiveMode) {
39
+ fetchChatList(1, true);
40
+ }
41
+ else {
42
+ handleFetchFromApi();
43
+ }
44
+ }
45
+ }
46
+ }, [user, isLiveMode, fetchChatList]);
47
+ const scrollToBottom = () => {
48
+ messagesEndRef.current?.scrollIntoView({ behavior: 'smooth' });
49
+ };
50
+ // Scroll to bottom when messages or typing status changes
51
+ useEffect(() => {
52
+ scrollToBottom();
53
+ }, [localMessages, activeMessages, isTyping]);
54
+ // Sync with session's chatList for MOCK mode
55
+ useEffect(() => {
56
+ if (!isLiveMode && session?.chatList) {
57
+ setLocalContacts(session.chatList);
58
+ }
59
+ }, [session?.chatList, isLiveMode]);
60
+ // Handle Contact Selection in LIVE mode
61
+ useEffect(() => {
62
+ if (isLiveMode && activeContactId) {
63
+ const idNum = parseInt(activeContactId);
64
+ if (!isNaN(idNum)) {
65
+ fetchMessages(idNum).catch(err => {
66
+ console.error('[ChatLayout] fetchMessages error:', err);
67
+ });
68
+ }
69
+ }
70
+ }, [activeContactId, isLiveMode, fetchMessages]);
71
+ // Auto-select logic removed to prevent automatic chat opening on load
72
+ useEffect(() => {
73
+ const offMsg = on('chat_message', (incomingMsg) => {
74
+ const msgModel = ChatMessageModel.fromAPI(incomingMsg);
75
+ // UPDATE LOCAL STATE FOR MOCK MODE
76
+ if (!isLiveMode) {
77
+ setLocalContacts(prev => {
78
+ const contactId = incomingMsg.chatId || incomingMsg.sender?.username;
79
+ const contactExists = prev.some(c => c.id === contactId);
80
+ if (!contactExists && incomingMsg.sender?.username !== user?.username) {
81
+ const newChat = new Chat({
82
+ id: contactId,
83
+ name: incomingMsg.sender?.displayName || incomingMsg.sender?.username || 'Bilinmeyen',
84
+ avatar: incomingMsg.sender?.avatar || '',
85
+ lastMessage: msgModel,
86
+ time: msgModel.timestamp,
87
+ updatedAt: Date.now(),
88
+ messages: [msgModel],
89
+ unreadCount: (activeContactId !== contactId) ? 1 : 0,
90
+ isOnline: true
91
+ });
92
+ return [newChat, ...prev];
93
+ }
94
+ return prev.map(c => {
95
+ if (c.id === contactId) {
96
+ const messageExists = c.messages.some(m => m.id === msgModel.id);
97
+ return new Chat({
98
+ ...c,
99
+ lastMessage: msgModel,
100
+ time: msgModel.timestamp,
101
+ updatedAt: Date.now(),
102
+ messages: messageExists ? c.messages : [...(c.messages || []), msgModel],
103
+ unreadCount: (activeContactId !== c.id && incomingMsg.sender?.username !== user?.username) ? c.unreadCount + 1 : c.unreadCount
104
+ });
105
+ }
106
+ return c;
107
+ });
108
+ });
109
+ if (activeContactId === incomingMsg.chatId || activeContactId === incomingMsg.sender?.username) {
110
+ setLocalMessages(prev => {
111
+ if (prev.some(m => m.id === incomingMsg.id))
112
+ return prev;
113
+ return [...prev, msgModel];
114
+ });
115
+ }
116
+ }
117
+ setIsTyping(false);
118
+ });
119
+ const offTyping = on('typing', (data) => {
120
+ const isChattingWithSender = data.username === activeContactId && data.chatId === user?.username;
121
+ const isBotTyping = data.username === 'system' && data.chatId === user?.username;
122
+ if (isChattingWithSender || isBotTyping) {
123
+ setIsTyping(data.isTyping);
124
+ }
125
+ });
126
+ return () => {
127
+ offMsg();
128
+ offTyping();
129
+ };
130
+ }, [on, activeContactId, user?.username, isLiveMode]);
131
+ const handleSelectContact = (id) => {
132
+ if (!isLiveMode) {
133
+ let contact = localContacts.find((c) => c.id === id);
134
+ if (!contact) {
135
+ const newUser = userList.find((u) => u.username === id);
136
+ if (newUser) {
137
+ contact = new Chat({
138
+ id: newUser.username,
139
+ name: newUser.displayName,
140
+ avatar: newUser.avatar,
141
+ updatedAt: Date.now(),
142
+ messages: [],
143
+ isOnline: true,
144
+ unreadCount: 0
145
+ });
146
+ setLocalContacts([contact, ...localContacts]);
147
+ }
148
+ }
149
+ setLocalMessages(contact?.messages || []);
150
+ }
151
+ setActiveContactId(id);
152
+ setIsTyping(false);
153
+ };
154
+ const handleSendMessage = async (text) => {
155
+ if (!text.trim() || !activeContactId)
156
+ return;
157
+ if (isLiveMode) {
158
+ const idNum = parseInt(activeContactId);
159
+ if (!isNaN(idNum)) {
160
+ await sendApiMessage(idNum, text);
161
+ }
162
+ }
163
+ else {
164
+ const newMessage = new ChatMessageModel({
165
+ id: Date.now().toString(),
166
+ sender: user,
167
+ content: text,
168
+ timestamp: new Date().toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' }),
169
+ isSystem: false
170
+ });
171
+ setLocalMessages(prev => [...prev, newMessage]);
172
+ setLocalContacts(prev => prev.map(c => {
173
+ if (c.id === activeContactId) {
174
+ return new Chat({
175
+ ...c,
176
+ lastMessage: newMessage,
177
+ time: newMessage.timestamp,
178
+ updatedAt: Date.now(),
179
+ messages: [...(c.messages || []), newMessage]
180
+ });
181
+ }
182
+ return c;
183
+ }));
184
+ }
185
+ emit('chat_message', {
186
+ id: Date.now().toString(),
187
+ chatId: activeContactId,
188
+ sender: {
189
+ username: user?.username,
190
+ displayName: user?.displayName,
191
+ avatar: user?.avatar
192
+ },
193
+ content: text,
194
+ timestamp: new Date().toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' }),
195
+ });
196
+ };
197
+ if (!user) {
198
+ return (_jsx("div", { className: "flex items-center justify-center h-full text-armoyu-text-muted bg-armoyu-card-bg rounded-3xl border border-gray-200 dark:border-white/10", children: "Sohbetleri g\u00F6rmek i\u00E7in giri\u015F yapmal\u0131s\u0131n\u0131z." }));
199
+ }
200
+ const currentContacts = isLiveMode ? liveContacts : localContacts;
201
+ const activeContact = activeContactId ? currentContacts.find((c) => c.id === activeContactId) : null;
202
+ return (_jsxs("div", { className: "flex h-full w-full overflow-hidden relative z-10", children: [!activeContactId && (_jsxs("div", { className: "w-full h-full flex flex-col animate-in fade-in slide-in-from-left-4 duration-300", children: [_jsx("div", { className: "p-4 border-b border-gray-200 dark:border-white/5 flex items-center justify-between", children: _jsx("h2", { className: "font-black text-armoyu-text uppercase tracking-widest text-sm", children: "Sohbetler" }) }), _jsx(ChatList, { contacts: currentContacts, activeId: '', onSelect: handleSelectContact })] })), activeContactId && activeContact && (_jsxs("div", { className: "w-full h-full flex flex-col bg-armoyu-bg relative animate-in fade-in slide-in-from-right-4 duration-300", children: [_jsxs("div", { className: "h-[76px] border-b border-gray-200 dark:border-white/5 bg-armoyu-card-bg flex items-center px-4 gap-3 z-10 shrink-0", children: [_jsx("button", { onClick: () => setActiveContactId(null), className: "p-2 -ml-2 text-armoyu-text-muted hover:text-armoyu-text hover:bg-black/5 dark:hover:bg-white/5 transition-colors rounded-full focus:outline-none", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: _jsx("polyline", { points: "15 18 9 12 15 6" }) }) }), _jsx("img", { src: activeContact.avatar, className: "w-10 h-10 rounded-full border border-black/5 dark:border-white/10 shadow-sm", alt: "" }), _jsxs("div", { className: "flex-1 min-w-0", children: [_jsx("h3", { className: "font-bold text-armoyu-text truncate text-base", children: activeContact.name }), _jsx("div", { className: "flex items-center gap-1.5 mt-0.5", children: activeContact.isOnline ? (_jsxs(_Fragment, { children: [_jsx("span", { className: "w-2 h-2 rounded-full bg-emerald-500 shadow-[0_0_5px_rgba(16,185,129,0.6)] animate-pulse" }), _jsx("span", { className: "text-xs font-bold text-emerald-500 shadow-sm", children: "\u00C7evrimi\u00E7i" })] })) : (_jsxs(_Fragment, { children: [_jsx("span", { className: "w-2 h-2 rounded-full bg-gray-400 dark:bg-gray-600" }), _jsxs("span", { className: "text-xs font-bold text-armoyu-text-muted", children: ["Son g\u00F6r\u00FClme ", activeContact.lastSeen] })] })) })] }), _jsxs("div", { className: "flex gap-1", children: [_jsx("button", { className: "p-2 text-armoyu-text-muted hover:text-armoyu-primary rounded-full hover:bg-armoyu-primary/10 transition-colors", title: "Ara", children: _jsx(Search, { className: "w-5 h-5" }) }), _jsx("button", { onClick: closeChat, className: "p-2 text-armoyu-text-muted hover:text-red-500 rounded-full hover:bg-red-500/10 transition-colors", title: "Sohbeti Kapat", children: _jsx(X, { className: "w-5 h-5" }) })] })] }), _jsxs("div", { className: "flex-1 overflow-y-auto p-4 md:p-6 space-y-2 relative hide-scrollbar", children: [(isLiveMode ? activeMessages : localMessages).map(msg => (_jsx(ChatMessage, { id: msg.id, sender: {
203
+ name: msg.sender?.displayName || 'Bilinmiyor',
204
+ avatar: msg.sender?.avatar || '',
205
+ isSelf: msg.isSelf
206
+ }, content: msg.content, timestamp: msg.timestamp }, msg.id))), isTyping && (_jsx("div", { className: "flex gap-2 items-center px-4", children: _jsx("div", { className: "flex gap-1 items-center bg-black/5 dark:bg-white/5 px-3 py-1.5 rounded-2xl border border-black/5 dark:border-white/5", children: _jsxs("div", { className: "flex gap-0.5 mt-0.5", children: [_jsx("span", { className: "w-1 h-1 rounded-full bg-armoyu-primary animate-bounce [animation-delay:-0.3s]" }), _jsx("span", { className: "w-1 h-1 rounded-full bg-armoyu-primary animate-bounce [animation-delay:-0.15s]" }), _jsx("span", { className: "w-1 h-1 rounded-full bg-armoyu-primary animate-bounce" })] }) }) })), _jsx("div", { ref: messagesEndRef, className: "h-2" })] }), _jsx(ChatInput, { onSend: handleSendMessage, chatId: activeContactId })] }))] }));
207
+ }
208
+ //# sourceMappingURL=ChatLayout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatLayout.js","sourceRoot":"","sources":["../../../../src/components/modules/chat/ChatLayout.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAe,MAAM,OAAO,CAAC;AAEhE,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAE,WAAW,IAAI,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACtF,OAAO,EAAS,MAAM,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAE3D,0CAA0C;AAC1C,OAAO,EACH,OAAO,EACP,OAAO,EACP,SAAS,EACT,QAAQ,EACX,MAAM,gBAAgB,CAAC;AAExB,0BAA0B;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,UAAU,UAAU;IACxB,MAAM,EAAE,IAAI,EAAE,OAA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put({ onSend, chatId }: {
2
+ onSend: (text: string) => void;
3
+ chatId?: string;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=ChatInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/chat/widgets/ChatInput.tsx"],"names":[],"mappings":"AAIA,wBAAgB,SAAS,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,2CAoDhG"}
@@ -0,0 +1,31 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState } from 'react';
3
+ import { Button } from '../../../Button';
4
+ import { useSocket } from '../../../../context/SocketContext';
5
+ export function ChatInput({ onSend, chatId }) {
6
+ const [text, setText] = useState('');
7
+ const { emit } = useSocket();
8
+ const handleSend = (e) => {
9
+ e.preventDefault();
10
+ if (text.trim()) {
11
+ onSend(text);
12
+ setText('');
13
+ if (chatId)
14
+ emit('typing', { chatId, isTyping: false });
15
+ }
16
+ };
17
+ const handleChange = (val) => {
18
+ setText(val);
19
+ if (chatId) {
20
+ const isTyping = val.length > 0;
21
+ // Include username to help receiver filter out self
22
+ emit('typing', {
23
+ chatId,
24
+ isTyping,
25
+ username: typeof window !== 'undefined' ? localStorage.getItem('armoyu_username') : undefined
26
+ });
27
+ }
28
+ };
29
+ return (_jsxs("form", { onSubmit: handleSend, className: "p-3 border-t border-gray-200 dark:border-white/5 flex items-center gap-3 bg-armoyu-card-bg", children: [_jsx("button", { type: "button", className: "text-gray-400 hover:text-armoyu-primary p-2 transition-colors shrink-0", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [_jsx("circle", { cx: "12", cy: "12", r: "10" }), _jsx("path", { d: "M8 14s1.5 2 4 2 4-2 4-2" }), _jsx("line", { x1: "9", y1: "9", x2: "9.01", y2: "9" }), _jsx("line", { x1: "15", y1: "9", x2: "15.01", y2: "9" })] }) }), _jsx("button", { type: "button", className: "text-gray-400 hover:text-armoyu-primary p-2 transition-colors hidden sm:block shrink-0", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: _jsx("path", { d: "M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48" }) }) }), _jsx("input", { type: "text", value: text, onChange: (e) => handleChange(e.target.value), placeholder: "Bir mesaj yaz\u0131n...", className: "flex-1 min-w-0 bg-black/5 dark:bg-black/40 border border-black/10 dark:border-white/10 rounded-full px-4 py-2.5 text-sm text-armoyu-text placeholder-armoyu-text-muted focus:outline-none focus:border-armoyu-primary focus:ring-1 focus:ring-armoyu-primary transition-all shadow-inner" }), _jsx(Button, { variant: "primary", className: "rounded-full w-10 h-10 p-0 flex items-center justify-center shadow-[0_0_15px_rgba(var(--armoyu-primary-rgb), 0.3)] shrink-0 group", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", className: "translate-x-0.5 group-hover:translate-x-1 group-hover:-translate-y-0.5 transition-transform", children: [_jsx("line", { x1: "22", y1: "2", x2: "11", y2: "13" }), _jsx("polygon", { points: "22 2 15 22 11 13 2 9 22 2" })] }) })] }));
30
+ }
31
+ //# sourceMappingURL=ChatInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatInput.js","sourceRoot":"","sources":["../../../../../src/components/modules/chat/widgets/ChatInput.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,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C,cAAc,EAAC,WAAW,EAAC,KAAK,EAAC,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,EAAC,SAAS,EAAC,6FAA6F,aAAC,eAAM,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,GAAQ,EAAA,kBAAS,MAAM,EAAC,2BAA2B,GAAW,IAAM,GAC7X,IACJ,CACR,CAAC;AACJ,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Chat } from '../../../../models/social/chat/Chat';
2
+ export declare function ChatList({ contacts: mockContacts, activeId, onSelect }: {
3
+ contacts: Chat[];
4
+ activeId: string;
5
+ onSelect: (id: string) => void;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=ChatList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatList.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/chat/widgets/ChatList.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAK3D,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,2CAsN9I"}
@@ -0,0 +1,74 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState, useEffect } from 'react';
3
+ import { useChat } from '../../../../context/ChatContext';
4
+ import { useSocket } from '../../../../context/SocketContext';
5
+ import { ChatNotes } from './ChatNotes';
6
+ import { userList } from '../../../../lib/constants/seedData';
7
+ import { useAuth } from '../../../../context/AuthContext';
8
+ export function ChatList({ contacts: mockContacts, activeId, onSelect }) {
9
+ const { user } = useAuth();
10
+ const { closeChat, isLiveMode, chatList: liveContacts, hasMoreChat, chatPage, fetchChatList, isLoading, searchFriends, searchResults } = useChat();
11
+ const { isConnected } = useSocket();
12
+ const [searchQuery, setSearchQuery] = useState('');
13
+ const [activeFilter, setActiveFilter] = useState('all');
14
+ const currentContacts = isLiveMode ? liveContacts : mockContacts;
15
+ const filteredActiveContacts = currentContacts
16
+ .filter(c => {
17
+ // 1. Search Query Filter
18
+ const matchesSearch = c.name.toLowerCase().includes(searchQuery.toLowerCase()) ||
19
+ (c.lastMessage?.content || '').toLowerCase().includes(searchQuery.toLowerCase());
20
+ if (!matchesSearch)
21
+ return false;
22
+ // 2. Category Filter
23
+ if (activeFilter === 'unread')
24
+ return c.unreadCount > 0;
25
+ if (activeFilter === 'favorites')
26
+ return c.isFavorite;
27
+ if (activeFilter === 'groups')
28
+ return c.isGroup;
29
+ return true; // 'all'
30
+ })
31
+ .sort((a, b) => (b.updatedAt || 0) - (a.updatedAt || 0));
32
+ // 3. New Contact Search (API or Mock)
33
+ useEffect(() => {
34
+ if (isLiveMode && searchQuery.length >= 2) {
35
+ searchFriends(searchQuery);
36
+ }
37
+ }, [searchQuery, isLiveMode, searchFriends]);
38
+ const displayAdditionalContacts = isLiveMode
39
+ ? searchResults.filter(r => !currentContacts.some(c => c.id === r.id))
40
+ : (searchQuery.length >= 2
41
+ ? userList.filter((u) => {
42
+ const matchesSearch = u.displayName.toLowerCase().includes(searchQuery.toLowerCase()) ||
43
+ u.username.toLowerCase().includes(searchQuery.toLowerCase());
44
+ const isNotSelf = u.username !== user?.username;
45
+ const notInContacts = !currentContacts.some(c => c.id === u.username);
46
+ return matchesSearch && isNotSelf && notInContacts;
47
+ }).slice(0, 10)
48
+ : []);
49
+ // 4. Infinite Scroll Logic
50
+ useEffect(() => {
51
+ if (!isLiveMode || !hasMoreChat || isLoading)
52
+ return;
53
+ const observer = new IntersectionObserver((entries) => {
54
+ if (entries[0].isIntersecting) {
55
+ fetchChatList(chatPage + 1);
56
+ }
57
+ }, { threshold: 0.1 });
58
+ const sentinel = document.getElementById('chat-list-sentinel');
59
+ if (sentinel)
60
+ observer.observe(sentinel);
61
+ return () => observer.disconnect();
62
+ }, [isLiveMode, hasMoreChat, isLoading, chatPage, fetchChatList]);
63
+ return (_jsxs("div", { className: "w-full h-full flex flex-col bg-armoyu-bg border-r border-gray-200 dark:border-white/5", children: [_jsxs("div", { className: "p-4 md:p-5 border-b border-gray-200 dark:border-white/5", children: [_jsxs("div", { className: "flex justify-between items-center", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("h2", { className: "text-xl font-bold text-armoyu-text tracking-tight flex items-center gap-2", children: "Sohbetler" }), _jsxs("div", { className: "flex items-center gap-1.5 px-2 py-0.5 rounded-full bg-black/5 dark:bg-white/5 border border-black/5 dark:border-white/5", children: [_jsx("div", { className: `w-1.5 h-1.5 rounded-full ${isConnected ? 'bg-emerald-500 shadow-[0_0_5px_rgba(16,185,129,0.8)]' : 'bg-red-500'} animate-pulse` }), _jsx("span", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-tighter", children: isConnected ? 'Sockete Bağlı' : 'Bağlanıyor...' })] })] }), _jsx("button", { onClick: closeChat, className: "p-2 -mr-2 text-armoyu-text-muted hover:text-red-500 hover:bg-red-500/10 transition-colors rounded-full", title: "Sohbeti Kapat", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), _jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })] }) })] }), _jsxs("div", { className: "relative mt-4", children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: "absolute left-3 top-1/2 -translate-y-1/2 text-gray-500", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [_jsx("circle", { cx: "11", cy: "11", r: "8" }), _jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })] }), _jsx("input", { type: "text", placeholder: "Ki\u015Fi ara...", value: searchQuery, onChange: (e) => setSearchQuery(e.target.value), className: "w-full bg-white/5 dark:bg-black/20 border border-black/10 dark:border-white/10 rounded-xl pl-10 pr-4 py-2.5 text-sm text-slate-900 dark:text-white placeholder-gray-500 hover:border-black/20 dark:hover:border-white/20 focus:outline-none focus:border-armoyu-primary transition-all" })] })] }), _jsx(ChatNotes, {}), _jsx("div", { className: "px-4 pb-4 flex gap-2 overflow-x-auto no-scrollbar shrink-0", children: [
64
+ { id: 'all', label: 'Tümü' },
65
+ { id: 'unread', label: 'Okunmamış' },
66
+ { id: 'favorites', label: 'Favoriler' },
67
+ { id: 'groups', label: 'Gruplar' }
68
+ ].map((filter) => (_jsx("button", { onClick: () => setActiveFilter(filter.id), className: `px-4 py-2 rounded-xl text-xs font-black transition-all whitespace-nowrap border ${activeFilter === filter.id
69
+ ? 'bg-armoyu-primary text-white border-armoyu-primary shadow-md shadow-armoyu-primary/20 scale-105'
70
+ : 'bg-black/5 dark:bg-white/5 text-armoyu-text-muted border-transparent hover:bg-black/10 dark:hover:bg-white/10'}`, children: filter.label }, filter.id))) }), _jsxs("div", { className: "flex-1 overflow-y-auto no-scrollbar p-3 space-y-1.5", children: [_jsxs("div", { className: "space-y-1.5", children: [searchQuery.length > 0 && filteredActiveContacts.length > 0 && (_jsx("div", { className: "px-3 py-1 text-[10px] font-black text-armoyu-text-muted uppercase tracking-[0.2em] opacity-50", children: "Sohbet Ge\u00E7mi\u015Fi" })), filteredActiveContacts.map((c, idx) => (_jsxs("button", { onClick: () => onSelect(c.id), className: `w-full flex items-center gap-4 p-3 rounded-2xl transition-all cursor-pointer text-left ${activeId === c.id
71
+ ? 'bg-armoyu-primary/10 dark:bg-armoyu-primary/20 border border-armoyu-primary/20 shadow-inner'
72
+ : 'hover:bg-black/5 dark:hover:bg-white/5 border border-transparent'}`, children: [_jsxs("div", { className: "relative shrink-0", children: [_jsx("img", { src: c.avatar || undefined, alt: c.name, className: "w-12 h-12 rounded-full object-cover border border-white/10 shadow-sm" }), c.isOnline && (_jsx("div", { className: "absolute -bottom-0.5 -right-0.5 w-3.5 h-3.5 bg-green-500 rounded-full border-2 border-white dark:border-[#0a0a0e] shadow-sm" }))] }), _jsxs("div", { className: "flex-1 overflow-hidden", children: [_jsxs("div", { className: "flex justify-between items-center mb-1", children: [_jsx("span", { className: "font-black text-slate-900 dark:text-gray-200 text-sm truncate max-w-[130px]", children: c.name }), _jsx("span", { className: "text-xs text-gray-500 font-black", children: c.time })] }), _jsxs("div", { className: "flex justify-between items-center", children: [_jsx("span", { className: `text-xs truncate max-w-[120px] font-bold ${c.unreadCount > 0 ? 'text-slate-950 dark:text-white' : 'text-slate-500'}`, children: c.lastMessage?.content || c.lastMessage?.mesajicerik || c.lastMessage?.icerik || c.mesajicerik || 'Mesaj yok' }), c.unreadCount > 0 && (_jsx("span", { className: "bg-armoyu-primary text-white text-[10px] font-black px-1.5 py-0.5 rounded-md leading-none shadow-md animate-in zoom-in duration-300", children: c.unreadCount > 9 ? '9+' : c.unreadCount }))] })] })] }, `${c.id}-${idx}`))), isLiveMode && hasMoreChat && (_jsx("div", { id: "chat-list-sentinel", className: "h-10 flex items-center justify-center py-8", children: isLoading && (_jsxs("div", { className: "flex items-center gap-2 text-armoyu-text-muted", children: [_jsx("div", { className: "w-1.5 h-1.5 bg-armoyu-primary rounded-full animate-bounce [animation-delay:-0.3s]" }), _jsx("div", { className: "w-1.5 h-1.5 bg-armoyu-primary rounded-full animate-bounce [animation-delay:-0.15s]" }), _jsx("div", { className: "w-1.5 h-1.5 bg-armoyu-primary rounded-full animate-bounce" })] })) })), isLiveMode && !hasMoreChat && filteredActiveContacts.length > 0 && (_jsx("div", { className: "py-8 text-center", children: _jsx("p", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-[0.2em] opacity-30", children: "Liste Sonu" }) }))] }), displayAdditionalContacts.length > 0 && (_jsxs("div", { className: "space-y-1.5 mt-6 animate-in fade-in slide-in-from-top-2 duration-500", children: [_jsx("div", { className: "px-3 py-1 text-[10px] font-black text-armoyu-primary uppercase tracking-[0.2em]", children: "Yeni Sohbet Ba\u015Flat" }), displayAdditionalContacts.map((u) => (_jsxs("button", { onClick: () => onSelect(u.id || u.username), className: "w-full flex items-center gap-4 p-3 rounded-2xl hover:bg-white/5 border border-transparent transition-all group", children: [_jsx("div", { className: "relative shrink-0", children: _jsx("img", { src: u.avatar || undefined, alt: u.name || u.displayName, className: "w-12 h-12 rounded-full object-cover border border-white/10 shadow-sm opacity-60 group-hover:opacity-100 transition-opacity" }) }), _jsxs("div", { className: "flex-1 min-w-0", children: [_jsx("div", { className: "font-black text-slate-900 dark:text-gray-200 text-sm truncate", children: u.name || u.displayName }), _jsxs("div", { className: "text-[10px] font-bold text-armoyu-text-muted uppercase tracking-tighter", children: ["@", u.id || u.username] })] }), _jsx("div", { className: "w-8 h-8 rounded-full bg-armoyu-primary/10 flex items-center justify-center text-armoyu-primary scale-0 group-hover:scale-100 transition-all duration-300", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: _jsx("path", { d: "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" }) }) })] }, u.id || u.username)))] })), searchQuery.length > 0 && filteredActiveContacts.length === 0 && displayAdditionalContacts.length === 0 && (_jsx("div", { className: "py-12 text-center", children: _jsx("div", { className: "text-armoyu-text-muted text-sm font-bold opacity-30", children: "Sonu\u00E7 bulunamad\u0131" }) }))] })] }));
73
+ }
74
+ //# sourceMappingURL=ChatList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatList.js","sourceRoot":"","sources":["../../../../../src/components/modules/chat/widgets/ChatList.tsx"],"names":[],"mappings":";AAAA,OAAc,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AAC,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,YAAC,eAAM,CAAC,EAAC,+DAA+D,GAAQ,GAAM,GACrQ,KAbD,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,QAAQ,CAchB,CACV,CAAC,IACC,CACP,EAEA,WAAW,CAAC,MAAM,GAAG,CAAC,IAAI,sBAAsB,CAAC,MAAM,KAAK,CAAC,IAAI,yBAAyB,CAAC,MAAM,KAAK,CAAC,IAAI,CAC1G,cAAK,SAAS,EAAC,mBAAmB,YAC/B,cAAK,SAAS,EAAC,qDAAqD,2CAAuB,GACxF,CACP,IACG,IACF,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,12 @@
1
+ export interface ChatMessageProps {
2
+ id: string;
3
+ sender: {
4
+ name: string;
5
+ avatar: string;
6
+ isSelf: boolean;
7
+ };
8
+ content: string;
9
+ timestamp: string;
10
+ }
11
+ export declare function ChatMessage({ sender, content, timestamp }: ChatMessageProps): import("react/jsx-runtime").JSX.Element;
12
+ //# sourceMappingURL=ChatMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatMessage.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/chat/widgets/ChatMessage.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,OAAO,CAAC;KACjB,CAAC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,gBAAgB,2CA6D3E"}
@@ -0,0 +1,31 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ export function ChatMessage({ sender, content, timestamp }) {
3
+ return (_jsx("div", { className: `flex w-full ${sender.isSelf ? 'justify-end' : 'justify-start'} mb-4`, children: _jsxs("div", { className: `flex gap-3 items-end max-w-[85%] md:max-w-[70%] ${sender.isSelf ? 'flex-row-reverse' : 'flex-row'}`, children: [_jsx("img", { src: sender.avatar || `https://api.dicebear.com/7.x/initials/svg?seed=${sender.name}`, alt: sender.name, className: "w-8 h-8 rounded-full border border-white/10 shadow-sm shrink-0" }), _jsxs("div", { className: `flex flex-col ${sender.isSelf ? 'items-end' : 'items-start'} gap-1.5`, children: [_jsxs("span", { className: "text-xs text-gray-500 font-bold tracking-wide dark:text-gray-400", children: [sender.name, " ", _jsx("span", { className: "opacity-50 mx-1", children: "\u2022" }), " ", timestamp] }), _jsx("div", { className: `p-3.5 rounded-2xl text-sm shadow-lg leading-relaxed font-medium chat-content relative min-h-[44px] ${sender.isSelf
4
+ ? 'bg-gradient-to-br from-armoyu-primary to-armoyu-primary text-white rounded-br-sm shadow-[0_4px_15px_rgba(var(--armoyu-primary-rgb), 0.3)]'
5
+ : 'bg-black/5 dark:bg-[#1a1a24] text-armoyu-text rounded-bl-sm border border-black/5 dark:border-white/5'}`, children: content ? (_jsx("div", { dangerouslySetInnerHTML: { __html: content } })) : (_jsx("span", { className: "text-red-500 font-bold opacity-50 italic", children: " DEBUG: \u0130\u00E7erik Bo\u015F " })) }), _jsx("style", { jsx: true, global: true, children: `
6
+ .chat-content img {
7
+ max-width: 100%;
8
+ height: auto;
9
+ border-radius: 12px;
10
+ margin: 8px 0;
11
+ border: 1px solid rgba(255, 255, 255, 0.1);
12
+ }
13
+ .chat-content a {
14
+ color: inherit;
15
+ text-decoration: underline;
16
+ text-underline-offset: 2px;
17
+ opacity: 0.9;
18
+ font-weight: 800;
19
+ }
20
+ .chat-content a:hover {
21
+ opacity: 1;
22
+ }
23
+ .chat-content .text-center {
24
+ text-align: center;
25
+ display: flex;
26
+ flex-direction: column;
27
+ align-items: center;
28
+ }
29
+ ` })] })] }) }));
30
+ }
31
+ //# sourceMappingURL=ChatMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatMessage.js","sourceRoot":"","sources":["../../../../../src/components/modules/chat/widgets/ChatMessage.tsx"],"names":[],"mappings":";AAaA,MAAM,UAAU,WAAW,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAoB;IAC1E,OAAO,CACL,cAAK,SAAS,EAAE,eAAe,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,OAAO,YACnF,eAAK,SAAS,EAAE,mDAAmD,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,UAAU,EAAE,aAGlH,cACE,GAAG,EAAE,MAAM,CAAC,MAAM,IAAI,kDAAkD,MAAM,CAAC,IAAI,EAAE,EACrF,GAAG,EAAE,MAAM,CAAC,IAAI,EAChB,SAAS,EAAC,gEAAgE,GAC1E,EAGF,eAAK,SAAS,EAAE,iBAAiB,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,UAAU,aACpF,gBAAM,SAAS,EAAC,kEAAkE,aAC/E,MAAM,CAAC,IAAI,OAAE,eAAM,SAAS,EAAC,iBAAiB,uBAAS,OAAE,SAAS,IAC9D,EACP,cACE,SAAS,EAAE,sGACT,MAAM,CAAC,MAAM;gCACX,CAAC,CAAC,2IAA2I;gCAC7I,CAAC,CAAC,uGACN,EAAE,YAED,OAAO,CAAC,CAAC,CAAC,CACT,cAAK,uBAAuB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,GAAI,CACtD,CAAC,CAAC,CAAC,CACF,eAAM,SAAS,EAAC,0CAA0C,mDAA2B,CACtF,GACG,EAEN,gBAAO,GAAG,QAAC,MAAM,kBAAE;;;;;;;;;;;;;;;;;;;;;;;;WAwBlB,GAAS,IACN,IAEF,GACF,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function ChatNotes(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=ChatNotes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatNotes.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/chat/widgets/ChatNotes.tsx"],"names":[],"mappings":"AAMA,wBAAgB,SAAS,4CAUxB"}
@@ -0,0 +1,15 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useAuth } from '../../../../context/AuthContext';
4
+ import { MOCK_NOTES } from '../../../../lib/constants/seedData';
5
+ export function ChatNotes() {
6
+ return (_jsx("div", { className: "w-full px-4 py-6 border-b border-black/5 dark:border-white/5", children: _jsx("div", { className: "flex gap-4 overflow-x-auto no-scrollbar pb-1 px-1", children: MOCK_NOTES.map((note) => (_jsx(NoteItem, { note: note }, note.id))) }) }));
7
+ }
8
+ function NoteItem({ note }) {
9
+ const { user: currentUser } = useAuth();
10
+ const isMe = currentUser?.username === note.username;
11
+ return (_jsxs("div", { className: "flex flex-col items-center shrink-0 cursor-pointer group relative", children: [_jsxs("div", { className: "relative mb-3 flex flex-col items-center", children: [_jsxs("div", { className: `relative px-3 py-1.5 rounded-2xl text-[10px] font-bold max-w-[85px] transition-all group-hover:-translate-y-1 shadow-sm border border-black/5 dark:border-white/10 ${isMe
12
+ ? 'bg-white dark:bg-white/10 text-armoyu-text-muted italic'
13
+ : 'bg-white dark:bg-white/20 text-armoyu-text animate-in zoom-in duration-500'}`, children: [_jsx("p", { className: "truncate line-clamp-2 text-center leading-tight", children: note.content }), _jsx("div", { className: "absolute -bottom-1 left-1/2 -translate-x-1/2 w-2 h-2 rotate-45 border-r border-b border-black/5 dark:border-white/10 bg-inherit" })] }), _jsxs("div", { className: "mt-1 relative", children: [_jsx("img", { src: note.avatar, alt: note.username, className: "w-11 h-11 md:w-12 md:h-12 rounded-full border-2 border-white dark:border-white/10 shadow-sm object-cover" }), isMe && (_jsx("div", { className: "absolute -top-1 -right-1 w-4 h-4 bg-gray-200 dark:bg-zinc-800 rounded-full border-2 border-white dark:border-zinc-900 flex items-center justify-center text-[10px] font-bold text-gray-600 dark:text-gray-400", children: "+" }))] })] }), _jsx("span", { className: `text-[10px] text-armoyu-text-muted font-medium truncate w-14 text-center ${isMe ? 'italic' : ''}`, children: isMe ? 'Hikayen' : note.username })] }));
14
+ }
15
+ //# sourceMappingURL=ChatNotes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatNotes.js","sourceRoot":"","sources":["../../../../../src/components/modules/chat/widgets/ChatNotes.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAGhE,MAAM,UAAU,SAAS;IACvB,OAAO,CACL,cAAK,SAAS,EAAC,8DAA8D,YAC3E,cAAK,SAAS,EAAC,mDAAmD,YAC/D,UAAU,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,CAC7B,KAAC,QAAQ,IAAe,IAAI,EAAE,IAAI,IAAnB,IAAI,CAAC,EAAE,CAAgB,CACvC,CAAC,GACE,GACF,CACP,CAAC;AACJ,CAAC;AAED,SAAS,QAAQ,CAAC,EAAE,IAAI,EAAkB;IACxC,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,OAAO,EAAE,CAAC;IACxC,MAAM,IAAI,GAAG,WAAW,EAAE,QAAQ,KAAK,IAAI,CAAC,QAAQ,CAAC;IAErD,OAAO,CACL,eAAK,SAAS,EAAC,mEAAmE,aAChF,eAAK,SAAS,EAAC,0CAA0C,aAGvD,eAAK,SAAS,EAAE,sKAAsK,IAAI;4BACtL,CAAC,CAAC,yDAAyD;4BAC3D,CAAC,CAAC,4EACJ,EAAE,aACF,YAAG,SAAS,EAAC,iDAAiD,YAC3D,IAAI,CAAC,OAAO,GACX,EAGJ,cAAK,SAAS,EAAC,iIAAiI,GAAG,IAC/I,EAGN,eAAK,SAAS,EAAC,eAAe,aAC5B,cACE,GAAG,EAAE,IAAI,CAAC,MAAM,EAChB,GAAG,EAAE,IAAI,CAAC,QAAQ,EAClB,SAAS,EAAC,0GAA0G,GACpH,EACD,IAAI,IAAI,CACP,cAAK,SAAS,EAAC,+MAA+M,kBAExN,CACP,IACG,IACF,EAEN,eAAM,SAAS,EAAE,4EAA4E,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,YAChH,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,GAC5B,IACH,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,12 @@
1
+ interface CloudModalProps {
2
+ isOpen: boolean;
3
+ onClose: () => void;
4
+ onSelectMedia?: (media: {
5
+ url: string;
6
+ type: 'image' | 'video' | 'audio';
7
+ }) => void;
8
+ isSelectionMode?: boolean;
9
+ }
10
+ export declare function CloudModal({ isOpen, onClose, onSelectMedia, isSelectionMode }: CloudModalProps): import("react/jsx-runtime").JSX.Element | null;
11
+ export {};
12
+ //# sourceMappingURL=CloudModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudModal.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/cloud/CloudModal.tsx"],"names":[],"mappings":"AAqCA,UAAU,eAAe;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;IACpF,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,eAAuB,EAAE,EAAE,eAAe,kDAgftG"}