@armoyu/ui 1.1.0 → 1.1.2

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 (765) hide show
  1. package/package.json +2 -2
  2. package/dist/app/Providers.d.ts +0 -6
  3. package/dist/app/Providers.d.ts.map +0 -1
  4. package/dist/app/Providers.js +0 -37
  5. package/dist/app/Providers.js.map +0 -1
  6. package/dist/app/api/proxy/[...path]/route.d.ts +0 -23
  7. package/dist/app/api/proxy/[...path]/route.d.ts.map +0 -1
  8. package/dist/app/api/proxy/[...path]/route.js +0 -133
  9. package/dist/app/api/proxy/[...path]/route.js.map +0 -1
  10. package/dist/app/gruplar/[groupId]/page.d.ts +0 -2
  11. package/dist/app/gruplar/[groupId]/page.d.ts.map +0 -1
  12. package/dist/app/gruplar/[groupId]/page.js +0 -10
  13. package/dist/app/gruplar/[groupId]/page.js.map +0 -1
  14. package/dist/app/layout.d.ts +0 -8
  15. package/dist/app/layout.d.ts.map +0 -1
  16. package/dist/app/layout.js +0 -29
  17. package/dist/app/layout.js.map +0 -1
  18. package/dist/app/not-found.d.ts +0 -2
  19. package/dist/app/not-found.d.ts.map +0 -1
  20. package/dist/app/not-found.js +0 -7
  21. package/dist/app/not-found.js.map +0 -1
  22. package/dist/app/page.d.ts +0 -2
  23. package/dist/app/page.d.ts.map +0 -1
  24. package/dist/app/page.js +0 -39
  25. package/dist/app/page.js.map +0 -1
  26. package/dist/components/Button.d.ts +0 -8
  27. package/dist/components/Button.d.ts.map +0 -1
  28. package/dist/components/Button.js +0 -16
  29. package/dist/components/Button.js.map +0 -1
  30. package/dist/components/GenderStatsBar.d.ts +0 -6
  31. package/dist/components/GenderStatsBar.d.ts.map +0 -1
  32. package/dist/components/GenderStatsBar.js +0 -8
  33. package/dist/components/GenderStatsBar.js.map +0 -1
  34. package/dist/components/RollingNumber.d.ts +0 -7
  35. package/dist/components/RollingNumber.d.ts.map +0 -1
  36. package/dist/components/RollingNumber.js +0 -24
  37. package/dist/components/RollingNumber.js.map +0 -1
  38. package/dist/components/Slider.d.ts +0 -11
  39. package/dist/components/Slider.d.ts.map +0 -1
  40. package/dist/components/Slider.js +0 -36
  41. package/dist/components/Slider.js.map +0 -1
  42. package/dist/components/StatsGrid.d.ts +0 -6
  43. package/dist/components/StatsGrid.d.ts.map +0 -1
  44. package/dist/components/StatsGrid.js +0 -14
  45. package/dist/components/StatsGrid.js.map +0 -1
  46. package/dist/components/ViewModeToggle.d.ts +0 -8
  47. package/dist/components/ViewModeToggle.d.ts.map +0 -1
  48. package/dist/components/ViewModeToggle.js +0 -10
  49. package/dist/components/ViewModeToggle.js.map +0 -1
  50. package/dist/components/modules/auth/Dashboard.d.ts +0 -2
  51. package/dist/components/modules/auth/Dashboard.d.ts.map +0 -1
  52. package/dist/components/modules/auth/Dashboard.js +0 -251
  53. package/dist/components/modules/auth/Dashboard.js.map +0 -1
  54. package/dist/components/modules/auth/MediaLightbox.d.ts +0 -14
  55. package/dist/components/modules/auth/MediaLightbox.d.ts.map +0 -1
  56. package/dist/components/modules/auth/MediaLightbox.js +0 -47
  57. package/dist/components/modules/auth/MediaLightbox.js.map +0 -1
  58. package/dist/components/modules/auth/PostCard.d.ts +0 -26
  59. package/dist/components/modules/auth/PostCard.d.ts.map +0 -1
  60. package/dist/components/modules/auth/PostCard.js +0 -116
  61. package/dist/components/modules/auth/PostCard.js.map +0 -1
  62. package/dist/components/modules/auth/PostInteractionsModal.d.ts +0 -12
  63. package/dist/components/modules/auth/PostInteractionsModal.d.ts.map +0 -1
  64. package/dist/components/modules/auth/PostInteractionsModal.js +0 -13
  65. package/dist/components/modules/auth/PostInteractionsModal.js.map +0 -1
  66. package/dist/components/modules/auth/RepostModal.d.ts +0 -22
  67. package/dist/components/modules/auth/RepostModal.d.ts.map +0 -1
  68. package/dist/components/modules/auth/RepostModal.js +0 -76
  69. package/dist/components/modules/auth/RepostModal.js.map +0 -1
  70. package/dist/components/modules/auth/SidebarLeft.d.ts +0 -2
  71. package/dist/components/modules/auth/SidebarLeft.d.ts.map +0 -1
  72. package/dist/components/modules/auth/SidebarLeft.js +0 -9
  73. package/dist/components/modules/auth/SidebarLeft.js.map +0 -1
  74. package/dist/components/modules/auth/Stories.d.ts +0 -2
  75. package/dist/components/modules/auth/Stories.d.ts.map +0 -1
  76. package/dist/components/modules/auth/Stories.js +0 -16
  77. package/dist/components/modules/auth/Stories.js.map +0 -1
  78. package/dist/components/modules/auth/StoryViewer.d.ts +0 -10
  79. package/dist/components/modules/auth/StoryViewer.d.ts.map +0 -1
  80. package/dist/components/modules/auth/StoryViewer.js +0 -48
  81. package/dist/components/modules/auth/StoryViewer.js.map +0 -1
  82. package/dist/components/modules/auth/widgets/EconomyWidget.d.ts +0 -2
  83. package/dist/components/modules/auth/widgets/EconomyWidget.d.ts.map +0 -1
  84. package/dist/components/modules/auth/widgets/EconomyWidget.js +0 -38
  85. package/dist/components/modules/auth/widgets/EconomyWidget.js.map +0 -1
  86. package/dist/components/modules/auth/widgets/LeagueWidget.d.ts +0 -2
  87. package/dist/components/modules/auth/widgets/LeagueWidget.d.ts.map +0 -1
  88. package/dist/components/modules/auth/widgets/LeagueWidget.js +0 -36
  89. package/dist/components/modules/auth/widgets/LeagueWidget.js.map +0 -1
  90. package/dist/components/modules/auth/widgets/MinecraftWidget.d.ts +0 -2
  91. package/dist/components/modules/auth/widgets/MinecraftWidget.d.ts.map +0 -1
  92. package/dist/components/modules/auth/widgets/MinecraftWidget.js +0 -36
  93. package/dist/components/modules/auth/widgets/MinecraftWidget.js.map +0 -1
  94. package/dist/components/modules/auth/widgets/RankingWidget.d.ts +0 -5
  95. package/dist/components/modules/auth/widgets/RankingWidget.d.ts.map +0 -1
  96. package/dist/components/modules/auth/widgets/RankingWidget.js +0 -79
  97. package/dist/components/modules/auth/widgets/RankingWidget.js.map +0 -1
  98. package/dist/components/modules/chat/ChatContainer.d.ts +0 -2
  99. package/dist/components/modules/chat/ChatContainer.d.ts.map +0 -1
  100. package/dist/components/modules/chat/ChatContainer.js +0 -199
  101. package/dist/components/modules/chat/ChatContainer.js.map +0 -1
  102. package/dist/components/modules/chat/ChatInput.d.ts +0 -5
  103. package/dist/components/modules/chat/ChatInput.d.ts.map +0 -1
  104. package/dist/components/modules/chat/ChatInput.js +0 -31
  105. package/dist/components/modules/chat/ChatInput.js.map +0 -1
  106. package/dist/components/modules/chat/ChatLayout.d.ts +0 -2
  107. package/dist/components/modules/chat/ChatLayout.d.ts.map +0 -1
  108. package/dist/components/modules/chat/ChatLayout.js +0 -198
  109. package/dist/components/modules/chat/ChatLayout.js.map +0 -1
  110. package/dist/components/modules/chat/ChatList.d.ts +0 -7
  111. package/dist/components/modules/chat/ChatList.d.ts.map +0 -1
  112. package/dist/components/modules/chat/ChatList.js +0 -53
  113. package/dist/components/modules/chat/ChatList.js.map +0 -1
  114. package/dist/components/modules/chat/ChatMessage.d.ts +0 -12
  115. package/dist/components/modules/chat/ChatMessage.d.ts.map +0 -1
  116. package/dist/components/modules/chat/ChatMessage.js +0 -7
  117. package/dist/components/modules/chat/ChatMessage.js.map +0 -1
  118. package/dist/components/modules/chat/ChatNotes.d.ts +0 -2
  119. package/dist/components/modules/chat/ChatNotes.d.ts.map +0 -1
  120. package/dist/components/modules/chat/ChatNotes.js +0 -12
  121. package/dist/components/modules/chat/ChatNotes.js.map +0 -1
  122. package/dist/components/modules/chat/widgets/ChatInput.d.ts +0 -5
  123. package/dist/components/modules/chat/widgets/ChatInput.d.ts.map +0 -1
  124. package/dist/components/modules/chat/widgets/ChatInput.js +0 -31
  125. package/dist/components/modules/chat/widgets/ChatInput.js.map +0 -1
  126. package/dist/components/modules/chat/widgets/ChatList.d.ts +0 -7
  127. package/dist/components/modules/chat/widgets/ChatList.d.ts.map +0 -1
  128. package/dist/components/modules/chat/widgets/ChatList.js +0 -53
  129. package/dist/components/modules/chat/widgets/ChatList.js.map +0 -1
  130. package/dist/components/modules/chat/widgets/ChatMessage.d.ts +0 -12
  131. package/dist/components/modules/chat/widgets/ChatMessage.d.ts.map +0 -1
  132. package/dist/components/modules/chat/widgets/ChatMessage.js +0 -7
  133. package/dist/components/modules/chat/widgets/ChatMessage.js.map +0 -1
  134. package/dist/components/modules/chat/widgets/ChatNotes.d.ts +0 -2
  135. package/dist/components/modules/chat/widgets/ChatNotes.d.ts.map +0 -1
  136. package/dist/components/modules/chat/widgets/ChatNotes.js +0 -12
  137. package/dist/components/modules/chat/widgets/ChatNotes.js.map +0 -1
  138. package/dist/components/modules/community/CommunityLayout.d.ts +0 -7
  139. package/dist/components/modules/community/CommunityLayout.d.ts.map +0 -1
  140. package/dist/components/modules/community/CommunityLayout.js +0 -137
  141. package/dist/components/modules/community/CommunityLayout.js.map +0 -1
  142. package/dist/components/modules/community/GroupHeader.d.ts +0 -11
  143. package/dist/components/modules/community/GroupHeader.d.ts.map +0 -1
  144. package/dist/components/modules/community/GroupHeader.js +0 -18
  145. package/dist/components/modules/community/GroupHeader.js.map +0 -1
  146. package/dist/components/modules/community/GroupMenu.d.ts +0 -10
  147. package/dist/components/modules/community/GroupMenu.d.ts.map +0 -1
  148. package/dist/components/modules/community/GroupMenu.js +0 -17
  149. package/dist/components/modules/community/GroupMenu.js.map +0 -1
  150. package/dist/components/modules/community/GroupProfileContent.d.ts +0 -7
  151. package/dist/components/modules/community/GroupProfileContent.d.ts.map +0 -1
  152. package/dist/components/modules/community/GroupProfileContent.js +0 -127
  153. package/dist/components/modules/community/GroupProfileContent.js.map +0 -1
  154. package/dist/components/modules/community/SchoolCard.d.ts +0 -7
  155. package/dist/components/modules/community/SchoolCard.d.ts.map +0 -1
  156. package/dist/components/modules/community/SchoolCard.js +0 -8
  157. package/dist/components/modules/community/SchoolCard.js.map +0 -1
  158. package/dist/components/modules/community/SurveyCard.d.ts +0 -7
  159. package/dist/components/modules/community/SurveyCard.d.ts.map +0 -1
  160. package/dist/components/modules/community/SurveyCard.js +0 -38
  161. package/dist/components/modules/community/SurveyCard.js.map +0 -1
  162. package/dist/components/modules/community/widgets/GroupAboutCard.d.ts +0 -6
  163. package/dist/components/modules/community/widgets/GroupAboutCard.d.ts.map +0 -1
  164. package/dist/components/modules/community/widgets/GroupAboutCard.js +0 -7
  165. package/dist/components/modules/community/widgets/GroupAboutCard.js.map +0 -1
  166. package/dist/components/modules/community/widgets/GroupEventsList.d.ts +0 -8
  167. package/dist/components/modules/community/widgets/GroupEventsList.d.ts.map +0 -1
  168. package/dist/components/modules/community/widgets/GroupEventsList.js +0 -33
  169. package/dist/components/modules/community/widgets/GroupEventsList.js.map +0 -1
  170. package/dist/components/modules/community/widgets/GroupFeedSection.d.ts +0 -9
  171. package/dist/components/modules/community/widgets/GroupFeedSection.d.ts.map +0 -1
  172. package/dist/components/modules/community/widgets/GroupFeedSection.js +0 -8
  173. package/dist/components/modules/community/widgets/GroupFeedSection.js.map +0 -1
  174. package/dist/components/modules/community/widgets/GroupHeader.d.ts +0 -11
  175. package/dist/components/modules/community/widgets/GroupHeader.d.ts.map +0 -1
  176. package/dist/components/modules/community/widgets/GroupHeader.js +0 -18
  177. package/dist/components/modules/community/widgets/GroupHeader.js.map +0 -1
  178. package/dist/components/modules/community/widgets/GroupMenu.d.ts +0 -10
  179. package/dist/components/modules/community/widgets/GroupMenu.d.ts.map +0 -1
  180. package/dist/components/modules/community/widgets/GroupMenu.js +0 -17
  181. package/dist/components/modules/community/widgets/GroupMenu.js.map +0 -1
  182. package/dist/components/modules/community/widgets/GroupPermissions.d.ts +0 -6
  183. package/dist/components/modules/community/widgets/GroupPermissions.d.ts.map +0 -1
  184. package/dist/components/modules/community/widgets/GroupPermissions.js +0 -7
  185. package/dist/components/modules/community/widgets/GroupPermissions.js.map +0 -1
  186. package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts +0 -11
  187. package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts.map +0 -1
  188. package/dist/components/modules/community/widgets/GroupStatsGrid.js +0 -13
  189. package/dist/components/modules/community/widgets/GroupStatsGrid.js.map +0 -1
  190. package/dist/components/modules/community/widgets/GroupTopMembers.d.ts +0 -7
  191. package/dist/components/modules/community/widgets/GroupTopMembers.d.ts.map +0 -1
  192. package/dist/components/modules/community/widgets/GroupTopMembers.js +0 -8
  193. package/dist/components/modules/community/widgets/GroupTopMembers.js.map +0 -1
  194. package/dist/components/modules/community/widgets/SchoolCard.d.ts +0 -7
  195. package/dist/components/modules/community/widgets/SchoolCard.d.ts.map +0 -1
  196. package/dist/components/modules/community/widgets/SchoolCard.js +0 -8
  197. package/dist/components/modules/community/widgets/SchoolCard.js.map +0 -1
  198. package/dist/components/modules/community/widgets/SurveyCard.d.ts +0 -8
  199. package/dist/components/modules/community/widgets/SurveyCard.d.ts.map +0 -1
  200. package/dist/components/modules/community/widgets/SurveyCard.js +0 -25
  201. package/dist/components/modules/community/widgets/SurveyCard.js.map +0 -1
  202. package/dist/components/modules/forum/ForumBoard.d.ts +0 -17
  203. package/dist/components/modules/forum/ForumBoard.d.ts.map +0 -1
  204. package/dist/components/modules/forum/ForumBoard.js +0 -7
  205. package/dist/components/modules/forum/ForumBoard.js.map +0 -1
  206. package/dist/components/modules/forum/ForumPost.d.ts +0 -14
  207. package/dist/components/modules/forum/ForumPost.d.ts.map +0 -1
  208. package/dist/components/modules/forum/ForumPost.js +0 -6
  209. package/dist/components/modules/forum/ForumPost.js.map +0 -1
  210. package/dist/components/modules/forum/NewTopicModal.d.ts +0 -8
  211. package/dist/components/modules/forum/NewTopicModal.d.ts.map +0 -1
  212. package/dist/components/modules/forum/NewTopicModal.js +0 -27
  213. package/dist/components/modules/forum/NewTopicModal.js.map +0 -1
  214. package/dist/components/modules/forum/TopicItem.d.ts +0 -16
  215. package/dist/components/modules/forum/TopicItem.d.ts.map +0 -1
  216. package/dist/components/modules/forum/TopicItem.js +0 -7
  217. package/dist/components/modules/forum/TopicItem.js.map +0 -1
  218. package/dist/components/modules/forum/widgets/ForumBoard.d.ts +0 -17
  219. package/dist/components/modules/forum/widgets/ForumBoard.d.ts.map +0 -1
  220. package/dist/components/modules/forum/widgets/ForumBoard.js +0 -7
  221. package/dist/components/modules/forum/widgets/ForumBoard.js.map +0 -1
  222. package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts +0 -6
  223. package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts.map +0 -1
  224. package/dist/components/modules/forum/widgets/ForumCategoryList.js +0 -7
  225. package/dist/components/modules/forum/widgets/ForumCategoryList.js.map +0 -1
  226. package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts +0 -6
  227. package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts.map +0 -1
  228. package/dist/components/modules/forum/widgets/ForumHeaderWidget.js +0 -6
  229. package/dist/components/modules/forum/widgets/ForumHeaderWidget.js.map +0 -1
  230. package/dist/components/modules/forum/widgets/ForumPost.d.ts +0 -14
  231. package/dist/components/modules/forum/widgets/ForumPost.d.ts.map +0 -1
  232. package/dist/components/modules/forum/widgets/ForumPost.js +0 -6
  233. package/dist/components/modules/forum/widgets/ForumPost.js.map +0 -1
  234. package/dist/components/modules/forum/widgets/ForumSidebar.d.ts +0 -2
  235. package/dist/components/modules/forum/widgets/ForumSidebar.d.ts.map +0 -1
  236. package/dist/components/modules/forum/widgets/ForumSidebar.js +0 -6
  237. package/dist/components/modules/forum/widgets/ForumSidebar.js.map +0 -1
  238. package/dist/components/modules/forum/widgets/NewTopicModal.d.ts +0 -8
  239. package/dist/components/modules/forum/widgets/NewTopicModal.d.ts.map +0 -1
  240. package/dist/components/modules/forum/widgets/NewTopicModal.js +0 -27
  241. package/dist/components/modules/forum/widgets/NewTopicModal.js.map +0 -1
  242. package/dist/components/modules/forum/widgets/TopicItem.d.ts +0 -16
  243. package/dist/components/modules/forum/widgets/TopicItem.d.ts.map +0 -1
  244. package/dist/components/modules/forum/widgets/TopicItem.js +0 -7
  245. package/dist/components/modules/forum/widgets/TopicItem.js.map +0 -1
  246. package/dist/components/modules/galleries/GalleryCard.d.ts +0 -10
  247. package/dist/components/modules/galleries/GalleryCard.d.ts.map +0 -1
  248. package/dist/components/modules/galleries/GalleryCard.js +0 -6
  249. package/dist/components/modules/galleries/GalleryCard.js.map +0 -1
  250. package/dist/components/modules/galleries/widgets/GalleryCard.d.ts +0 -10
  251. package/dist/components/modules/galleries/widgets/GalleryCard.d.ts.map +0 -1
  252. package/dist/components/modules/galleries/widgets/GalleryCard.js +0 -6
  253. package/dist/components/modules/galleries/widgets/GalleryCard.js.map +0 -1
  254. package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts +0 -8
  255. package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts.map +0 -1
  256. package/dist/components/modules/galleries/widgets/GalleryFilterBar.js +0 -6
  257. package/dist/components/modules/galleries/widgets/GalleryFilterBar.js.map +0 -1
  258. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts +0 -2
  259. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts.map +0 -1
  260. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js +0 -6
  261. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js.map +0 -1
  262. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts +0 -7
  263. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts.map +0 -1
  264. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js +0 -6
  265. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js.map +0 -1
  266. package/dist/components/modules/giveaways/GiveawayCard.d.ts +0 -10
  267. package/dist/components/modules/giveaways/GiveawayCard.d.ts.map +0 -1
  268. package/dist/components/modules/giveaways/GiveawayCard.js +0 -7
  269. package/dist/components/modules/giveaways/GiveawayCard.js.map +0 -1
  270. package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts +0 -10
  271. package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts.map +0 -1
  272. package/dist/components/modules/giveaways/widgets/GiveawayCard.js +0 -7
  273. package/dist/components/modules/giveaways/widgets/GiveawayCard.js.map +0 -1
  274. package/dist/components/modules/groups/ApplicationModal.d.ts +0 -8
  275. package/dist/components/modules/groups/ApplicationModal.d.ts.map +0 -1
  276. package/dist/components/modules/groups/ApplicationModal.js +0 -28
  277. package/dist/components/modules/groups/ApplicationModal.js.map +0 -1
  278. package/dist/components/modules/groups/GroupCard.d.ts +0 -14
  279. package/dist/components/modules/groups/GroupCard.d.ts.map +0 -1
  280. package/dist/components/modules/groups/GroupCard.js +0 -8
  281. package/dist/components/modules/groups/GroupCard.js.map +0 -1
  282. package/dist/components/modules/groups/widgets/ApplicationModal.d.ts +0 -8
  283. package/dist/components/modules/groups/widgets/ApplicationModal.d.ts.map +0 -1
  284. package/dist/components/modules/groups/widgets/ApplicationModal.js +0 -28
  285. package/dist/components/modules/groups/widgets/ApplicationModal.js.map +0 -1
  286. package/dist/components/modules/groups/widgets/GroupCard.d.ts +0 -14
  287. package/dist/components/modules/groups/widgets/GroupCard.d.ts.map +0 -1
  288. package/dist/components/modules/groups/widgets/GroupCard.js +0 -8
  289. package/dist/components/modules/groups/widgets/GroupCard.js.map +0 -1
  290. package/dist/components/modules/guest/Introduction.d.ts +0 -2
  291. package/dist/components/modules/guest/Introduction.d.ts.map +0 -1
  292. package/dist/components/modules/guest/Introduction.js +0 -14
  293. package/dist/components/modules/guest/Introduction.js.map +0 -1
  294. package/dist/components/modules/guest/widgets/Introduction.d.ts +0 -2
  295. package/dist/components/modules/guest/widgets/Introduction.d.ts.map +0 -1
  296. package/dist/components/modules/guest/widgets/Introduction.js +0 -15
  297. package/dist/components/modules/guest/widgets/Introduction.js.map +0 -1
  298. package/dist/components/modules/magaza/BackToStore.d.ts +0 -2
  299. package/dist/components/modules/magaza/BackToStore.d.ts.map +0 -1
  300. package/dist/components/modules/magaza/BackToStore.js +0 -11
  301. package/dist/components/modules/magaza/BackToStore.js.map +0 -1
  302. package/dist/components/modules/magaza/StoreHeader.d.ts +0 -6
  303. package/dist/components/modules/magaza/StoreHeader.d.ts.map +0 -1
  304. package/dist/components/modules/magaza/StoreHeader.js +0 -9
  305. package/dist/components/modules/magaza/StoreHeader.js.map +0 -1
  306. package/dist/components/modules/magaza/widgets/StoreProductGrid.d.ts +0 -7
  307. package/dist/components/modules/magaza/widgets/StoreProductGrid.d.ts.map +0 -1
  308. package/dist/components/modules/magaza/widgets/StoreProductGrid.js +0 -13
  309. package/dist/components/modules/magaza/widgets/StoreProductGrid.js.map +0 -1
  310. package/dist/components/modules/magaza/widgets/StoreSidebar.d.ts +0 -8
  311. package/dist/components/modules/magaza/widgets/StoreSidebar.d.ts.map +0 -1
  312. package/dist/components/modules/magaza/widgets/StoreSidebar.js +0 -8
  313. package/dist/components/modules/magaza/widgets/StoreSidebar.js.map +0 -1
  314. package/dist/components/modules/magaza/widgets/StoreTrustBadges.d.ts +0 -2
  315. package/dist/components/modules/magaza/widgets/StoreTrustBadges.d.ts.map +0 -1
  316. package/dist/components/modules/magaza/widgets/StoreTrustBadges.js +0 -6
  317. package/dist/components/modules/magaza/widgets/StoreTrustBadges.js.map +0 -1
  318. package/dist/components/modules/news/NewsCard.d.ts +0 -12
  319. package/dist/components/modules/news/NewsCard.d.ts.map +0 -1
  320. package/dist/components/modules/news/NewsCard.js +0 -7
  321. package/dist/components/modules/news/NewsCard.js.map +0 -1
  322. package/dist/components/modules/news/NewsComments.d.ts +0 -2
  323. package/dist/components/modules/news/NewsComments.d.ts.map +0 -1
  324. package/dist/components/modules/news/NewsComments.js +0 -53
  325. package/dist/components/modules/news/NewsComments.js.map +0 -1
  326. package/dist/components/modules/news/widgets/NewsCard.d.ts +0 -12
  327. package/dist/components/modules/news/widgets/NewsCard.d.ts.map +0 -1
  328. package/dist/components/modules/news/widgets/NewsCard.js +0 -7
  329. package/dist/components/modules/news/widgets/NewsCard.js.map +0 -1
  330. package/dist/components/modules/news/widgets/NewsComments.d.ts +0 -4
  331. package/dist/components/modules/news/widgets/NewsComments.d.ts.map +0 -1
  332. package/dist/components/modules/news/widgets/NewsComments.js +0 -6
  333. package/dist/components/modules/news/widgets/NewsComments.js.map +0 -1
  334. package/dist/components/modules/posts/MediaLightbox.d.ts +0 -14
  335. package/dist/components/modules/posts/MediaLightbox.d.ts.map +0 -1
  336. package/dist/components/modules/posts/MediaLightbox.js +0 -47
  337. package/dist/components/modules/posts/MediaLightbox.js.map +0 -1
  338. package/dist/components/modules/posts/PostCard.d.ts +0 -26
  339. package/dist/components/modules/posts/PostCard.d.ts.map +0 -1
  340. package/dist/components/modules/posts/PostCard.js +0 -116
  341. package/dist/components/modules/posts/PostCard.js.map +0 -1
  342. package/dist/components/modules/posts/PostInteractionsModal.d.ts +0 -12
  343. package/dist/components/modules/posts/PostInteractionsModal.d.ts.map +0 -1
  344. package/dist/components/modules/posts/PostInteractionsModal.js +0 -13
  345. package/dist/components/modules/posts/PostInteractionsModal.js.map +0 -1
  346. package/dist/components/modules/posts/RepostModal.d.ts +0 -22
  347. package/dist/components/modules/posts/RepostModal.d.ts.map +0 -1
  348. package/dist/components/modules/posts/RepostModal.js +0 -76
  349. package/dist/components/modules/posts/RepostModal.js.map +0 -1
  350. package/dist/components/modules/posts/Stories.d.ts +0 -2
  351. package/dist/components/modules/posts/Stories.d.ts.map +0 -1
  352. package/dist/components/modules/posts/Stories.js +0 -16
  353. package/dist/components/modules/posts/Stories.js.map +0 -1
  354. package/dist/components/modules/posts/StoryViewer.d.ts +0 -10
  355. package/dist/components/modules/posts/StoryViewer.d.ts.map +0 -1
  356. package/dist/components/modules/posts/StoryViewer.js +0 -48
  357. package/dist/components/modules/posts/StoryViewer.js.map +0 -1
  358. package/dist/components/modules/posts/reels/ReelCard.d.ts +0 -16
  359. package/dist/components/modules/posts/reels/ReelCard.d.ts.map +0 -1
  360. package/dist/components/modules/posts/reels/ReelCard.js +0 -70
  361. package/dist/components/modules/posts/reels/ReelCard.js.map +0 -1
  362. package/dist/components/modules/posts/reels/ReelsContainer.d.ts +0 -8
  363. package/dist/components/modules/posts/reels/ReelsContainer.d.ts.map +0 -1
  364. package/dist/components/modules/posts/reels/ReelsContainer.js +0 -37
  365. package/dist/components/modules/posts/reels/ReelsContainer.js.map +0 -1
  366. package/dist/components/modules/posts/widgets/MediaLightbox.d.ts +0 -14
  367. package/dist/components/modules/posts/widgets/MediaLightbox.d.ts.map +0 -1
  368. package/dist/components/modules/posts/widgets/MediaLightbox.js +0 -47
  369. package/dist/components/modules/posts/widgets/MediaLightbox.js.map +0 -1
  370. package/dist/components/modules/posts/widgets/PostCard.d.ts +0 -26
  371. package/dist/components/modules/posts/widgets/PostCard.d.ts.map +0 -1
  372. package/dist/components/modules/posts/widgets/PostCard.js +0 -116
  373. package/dist/components/modules/posts/widgets/PostCard.js.map +0 -1
  374. package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts +0 -12
  375. package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts.map +0 -1
  376. package/dist/components/modules/posts/widgets/PostInteractionsModal.js +0 -13
  377. package/dist/components/modules/posts/widgets/PostInteractionsModal.js.map +0 -1
  378. package/dist/components/modules/posts/widgets/RepostModal.d.ts +0 -22
  379. package/dist/components/modules/posts/widgets/RepostModal.d.ts.map +0 -1
  380. package/dist/components/modules/posts/widgets/RepostModal.js +0 -76
  381. package/dist/components/modules/posts/widgets/RepostModal.js.map +0 -1
  382. package/dist/components/modules/posts/widgets/Stories.d.ts +0 -2
  383. package/dist/components/modules/posts/widgets/Stories.d.ts.map +0 -1
  384. package/dist/components/modules/posts/widgets/Stories.js +0 -16
  385. package/dist/components/modules/posts/widgets/Stories.js.map +0 -1
  386. package/dist/components/modules/posts/widgets/StoryViewer.d.ts +0 -10
  387. package/dist/components/modules/posts/widgets/StoryViewer.d.ts.map +0 -1
  388. package/dist/components/modules/posts/widgets/StoryViewer.js +0 -48
  389. package/dist/components/modules/posts/widgets/StoryViewer.js.map +0 -1
  390. package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts +0 -16
  391. package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts.map +0 -1
  392. package/dist/components/modules/posts/widgets/reels/ReelCard.js +0 -55
  393. package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +0 -1
  394. package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts +0 -8
  395. package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts.map +0 -1
  396. package/dist/components/modules/posts/widgets/reels/ReelsContainer.js +0 -29
  397. package/dist/components/modules/posts/widgets/reels/ReelsContainer.js.map +0 -1
  398. package/dist/components/modules/profile/CloudStorageModal.d.ts +0 -9
  399. package/dist/components/modules/profile/CloudStorageModal.d.ts.map +0 -1
  400. package/dist/components/modules/profile/CloudStorageModal.js +0 -32
  401. package/dist/components/modules/profile/CloudStorageModal.js.map +0 -1
  402. package/dist/components/modules/profile/EditProfileModal.d.ts +0 -9
  403. package/dist/components/modules/profile/EditProfileModal.d.ts.map +0 -1
  404. package/dist/components/modules/profile/EditProfileModal.js +0 -28
  405. package/dist/components/modules/profile/EditProfileModal.js.map +0 -1
  406. package/dist/components/modules/profile/ProfileContent.d.ts +0 -5
  407. package/dist/components/modules/profile/ProfileContent.d.ts.map +0 -1
  408. package/dist/components/modules/profile/ProfileContent.js +0 -117
  409. package/dist/components/modules/profile/ProfileContent.js.map +0 -1
  410. package/dist/components/modules/profile/ProfileHeader.d.ts +0 -8
  411. package/dist/components/modules/profile/ProfileHeader.d.ts.map +0 -1
  412. package/dist/components/modules/profile/ProfileHeader.js +0 -20
  413. package/dist/components/modules/profile/ProfileHeader.js.map +0 -1
  414. package/dist/components/modules/profile/ProfileLayout.d.ts +0 -5
  415. package/dist/components/modules/profile/ProfileLayout.d.ts.map +0 -1
  416. package/dist/components/modules/profile/ProfileLayout.js +0 -71
  417. package/dist/components/modules/profile/ProfileLayout.js.map +0 -1
  418. package/dist/components/modules/profile/ProfileSidebar.d.ts +0 -11
  419. package/dist/components/modules/profile/ProfileSidebar.d.ts.map +0 -1
  420. package/dist/components/modules/profile/ProfileSidebar.js +0 -9
  421. package/dist/components/modules/profile/ProfileSidebar.js.map +0 -1
  422. package/dist/components/modules/profile/ProfileStats.d.ts +0 -7
  423. package/dist/components/modules/profile/ProfileStats.d.ts.map +0 -1
  424. package/dist/components/modules/profile/ProfileStats.js +0 -20
  425. package/dist/components/modules/profile/ProfileStats.js.map +0 -1
  426. package/dist/components/modules/profile/ProfileTabsArea.d.ts +0 -14
  427. package/dist/components/modules/profile/ProfileTabsArea.d.ts.map +0 -1
  428. package/dist/components/modules/profile/ProfileTabsArea.js +0 -59
  429. package/dist/components/modules/profile/ProfileTabsArea.js.map +0 -1
  430. package/dist/components/modules/profile/TeamSelectorModal.d.ts +0 -11
  431. package/dist/components/modules/profile/TeamSelectorModal.d.ts.map +0 -1
  432. package/dist/components/modules/profile/TeamSelectorModal.js +0 -17
  433. package/dist/components/modules/profile/TeamSelectorModal.js.map +0 -1
  434. package/dist/components/modules/profile/tabs/AboutTab.d.ts +0 -10
  435. package/dist/components/modules/profile/tabs/AboutTab.d.ts.map +0 -1
  436. package/dist/components/modules/profile/tabs/AboutTab.js +0 -9
  437. package/dist/components/modules/profile/tabs/AboutTab.js.map +0 -1
  438. package/dist/components/modules/profile/tabs/CareerTab.d.ts +0 -7
  439. package/dist/components/modules/profile/tabs/CareerTab.d.ts.map +0 -1
  440. package/dist/components/modules/profile/tabs/CareerTab.js +0 -46
  441. package/dist/components/modules/profile/tabs/CareerTab.js.map +0 -1
  442. package/dist/components/modules/profile/tabs/FriendsTab.d.ts +0 -10
  443. package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +0 -1
  444. package/dist/components/modules/profile/tabs/FriendsTab.js +0 -8
  445. package/dist/components/modules/profile/tabs/FriendsTab.js.map +0 -1
  446. package/dist/components/modules/profile/tabs/GamesTab.d.ts +0 -7
  447. package/dist/components/modules/profile/tabs/GamesTab.d.ts.map +0 -1
  448. package/dist/components/modules/profile/tabs/GamesTab.js +0 -37
  449. package/dist/components/modules/profile/tabs/GamesTab.js.map +0 -1
  450. package/dist/components/modules/profile/tabs/GroupsTab.d.ts +0 -6
  451. package/dist/components/modules/profile/tabs/GroupsTab.d.ts.map +0 -1
  452. package/dist/components/modules/profile/tabs/GroupsTab.js +0 -9
  453. package/dist/components/modules/profile/tabs/GroupsTab.js.map +0 -1
  454. package/dist/components/modules/profile/tabs/PostsTab.d.ts +0 -7
  455. package/dist/components/modules/profile/tabs/PostsTab.d.ts.map +0 -1
  456. package/dist/components/modules/profile/tabs/PostsTab.js +0 -92
  457. package/dist/components/modules/profile/tabs/PostsTab.js.map +0 -1
  458. package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts +0 -9
  459. package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts.map +0 -1
  460. package/dist/components/modules/profile/widgets/CloudStorageModal.js +0 -32
  461. package/dist/components/modules/profile/widgets/CloudStorageModal.js.map +0 -1
  462. package/dist/components/modules/profile/widgets/EditProfileModal.d.ts +0 -9
  463. package/dist/components/modules/profile/widgets/EditProfileModal.d.ts.map +0 -1
  464. package/dist/components/modules/profile/widgets/EditProfileModal.js +0 -28
  465. package/dist/components/modules/profile/widgets/EditProfileModal.js.map +0 -1
  466. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts +0 -2
  467. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts.map +0 -1
  468. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js +0 -6
  469. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js.map +0 -1
  470. package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts +0 -6
  471. package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts.map +0 -1
  472. package/dist/components/modules/profile/widgets/ProfileCloudWidget.js +0 -6
  473. package/dist/components/modules/profile/widgets/ProfileCloudWidget.js.map +0 -1
  474. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts +0 -8
  475. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts.map +0 -1
  476. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js +0 -12
  477. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js.map +0 -1
  478. package/dist/components/modules/profile/widgets/ProfileHeader.d.ts +0 -8
  479. package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +0 -1
  480. package/dist/components/modules/profile/widgets/ProfileHeader.js +0 -20
  481. package/dist/components/modules/profile/widgets/ProfileHeader.js.map +0 -1
  482. package/dist/components/modules/profile/widgets/ProfileSidebar.d.ts +0 -11
  483. package/dist/components/modules/profile/widgets/ProfileSidebar.d.ts.map +0 -1
  484. package/dist/components/modules/profile/widgets/ProfileSidebar.js +0 -9
  485. package/dist/components/modules/profile/widgets/ProfileSidebar.js.map +0 -1
  486. package/dist/components/modules/profile/widgets/ProfileStats.d.ts +0 -7
  487. package/dist/components/modules/profile/widgets/ProfileStats.d.ts.map +0 -1
  488. package/dist/components/modules/profile/widgets/ProfileStats.js +0 -21
  489. package/dist/components/modules/profile/widgets/ProfileStats.js.map +0 -1
  490. package/dist/components/modules/profile/widgets/ProfileTabsArea.d.ts +0 -14
  491. package/dist/components/modules/profile/widgets/ProfileTabsArea.d.ts.map +0 -1
  492. package/dist/components/modules/profile/widgets/ProfileTabsArea.js +0 -59
  493. package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +0 -1
  494. package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts +0 -11
  495. package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts.map +0 -1
  496. package/dist/components/modules/profile/widgets/TeamSelectorModal.js +0 -17
  497. package/dist/components/modules/profile/widgets/TeamSelectorModal.js.map +0 -1
  498. package/dist/components/modules/shop/BackToStore.d.ts +0 -2
  499. package/dist/components/modules/shop/BackToStore.d.ts.map +0 -1
  500. package/dist/components/modules/shop/BackToStore.js +0 -11
  501. package/dist/components/modules/shop/BackToStore.js.map +0 -1
  502. package/dist/components/modules/shop/DetailLayout.d.ts +0 -8
  503. package/dist/components/modules/shop/DetailLayout.d.ts.map +0 -1
  504. package/dist/components/modules/shop/DetailLayout.js +0 -22
  505. package/dist/components/modules/shop/DetailLayout.js.map +0 -1
  506. package/dist/components/modules/shop/ProductCard.d.ts +0 -8
  507. package/dist/components/modules/shop/ProductCard.d.ts.map +0 -1
  508. package/dist/components/modules/shop/ProductCard.js +0 -11
  509. package/dist/components/modules/shop/ProductCard.js.map +0 -1
  510. package/dist/components/modules/shop/ProductDetailPage.d.ts +0 -8
  511. package/dist/components/modules/shop/ProductDetailPage.d.ts.map +0 -1
  512. package/dist/components/modules/shop/ProductDetailPage.js +0 -22
  513. package/dist/components/modules/shop/ProductDetailPage.js.map +0 -1
  514. package/dist/components/modules/shop/StoreHeader.d.ts +0 -6
  515. package/dist/components/modules/shop/StoreHeader.d.ts.map +0 -1
  516. package/dist/components/modules/shop/StoreHeader.js +0 -9
  517. package/dist/components/modules/shop/StoreHeader.js.map +0 -1
  518. package/dist/components/modules/shop/StoreLayout.d.ts +0 -8
  519. package/dist/components/modules/shop/StoreLayout.d.ts.map +0 -1
  520. package/dist/components/modules/shop/StoreLayout.js +0 -6
  521. package/dist/components/modules/shop/StoreLayout.js.map +0 -1
  522. package/dist/components/modules/shop/widgets/BackToStore.d.ts +0 -2
  523. package/dist/components/modules/shop/widgets/BackToStore.d.ts.map +0 -1
  524. package/dist/components/modules/shop/widgets/BackToStore.js +0 -11
  525. package/dist/components/modules/shop/widgets/BackToStore.js.map +0 -1
  526. package/dist/components/modules/shop/widgets/CategoryWidget.d.ts +0 -8
  527. package/dist/components/modules/shop/widgets/CategoryWidget.d.ts.map +0 -1
  528. package/dist/components/modules/shop/widgets/CategoryWidget.js +0 -23
  529. package/dist/components/modules/shop/widgets/CategoryWidget.js.map +0 -1
  530. package/dist/components/modules/shop/widgets/ProductCard.d.ts +0 -8
  531. package/dist/components/modules/shop/widgets/ProductCard.d.ts.map +0 -1
  532. package/dist/components/modules/shop/widgets/ProductCard.js +0 -10
  533. package/dist/components/modules/shop/widgets/ProductCard.js.map +0 -1
  534. package/dist/components/modules/shop/widgets/StoreHeader.d.ts +0 -6
  535. package/dist/components/modules/shop/widgets/StoreHeader.d.ts.map +0 -1
  536. package/dist/components/modules/shop/widgets/StoreHeader.js +0 -9
  537. package/dist/components/modules/shop/widgets/StoreHeader.js.map +0 -1
  538. package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts +0 -7
  539. package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts.map +0 -1
  540. package/dist/components/modules/shop/widgets/StoreProductGrid.js +0 -13
  541. package/dist/components/modules/shop/widgets/StoreProductGrid.js.map +0 -1
  542. package/dist/components/modules/shop/widgets/StoreSidebar.d.ts +0 -8
  543. package/dist/components/modules/shop/widgets/StoreSidebar.d.ts.map +0 -1
  544. package/dist/components/modules/shop/widgets/StoreSidebar.js +0 -8
  545. package/dist/components/modules/shop/widgets/StoreSidebar.js.map +0 -1
  546. package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts +0 -2
  547. package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts.map +0 -1
  548. package/dist/components/modules/shop/widgets/StoreTrustBadges.js +0 -29
  549. package/dist/components/modules/shop/widgets/StoreTrustBadges.js.map +0 -1
  550. package/dist/components/modules/social/Dashboard.d.ts +0 -2
  551. package/dist/components/modules/social/Dashboard.d.ts.map +0 -1
  552. package/dist/components/modules/social/Dashboard.js +0 -251
  553. package/dist/components/modules/social/Dashboard.js.map +0 -1
  554. package/dist/components/modules/social/SidebarLeft.d.ts +0 -2
  555. package/dist/components/modules/social/SidebarLeft.d.ts.map +0 -1
  556. package/dist/components/modules/social/SidebarLeft.js +0 -9
  557. package/dist/components/modules/social/SidebarLeft.js.map +0 -1
  558. package/dist/components/modules/social/SocialLayout.d.ts +0 -2
  559. package/dist/components/modules/social/SocialLayout.d.ts.map +0 -1
  560. package/dist/components/modules/social/SocialLayout.js +0 -249
  561. package/dist/components/modules/social/SocialLayout.js.map +0 -1
  562. package/dist/components/modules/social/widgets/EconomyWidget.d.ts +0 -2
  563. package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +0 -1
  564. package/dist/components/modules/social/widgets/EconomyWidget.js +0 -38
  565. package/dist/components/modules/social/widgets/EconomyWidget.js.map +0 -1
  566. package/dist/components/modules/social/widgets/LeagueWidget.d.ts +0 -2
  567. package/dist/components/modules/social/widgets/LeagueWidget.d.ts.map +0 -1
  568. package/dist/components/modules/social/widgets/LeagueWidget.js +0 -36
  569. package/dist/components/modules/social/widgets/LeagueWidget.js.map +0 -1
  570. package/dist/components/modules/social/widgets/MinecraftWidget.d.ts +0 -2
  571. package/dist/components/modules/social/widgets/MinecraftWidget.d.ts.map +0 -1
  572. package/dist/components/modules/social/widgets/MinecraftWidget.js +0 -36
  573. package/dist/components/modules/social/widgets/MinecraftWidget.js.map +0 -1
  574. package/dist/components/modules/social/widgets/RankingWidget.d.ts +0 -5
  575. package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +0 -1
  576. package/dist/components/modules/social/widgets/RankingWidget.js +0 -79
  577. package/dist/components/modules/social/widgets/RankingWidget.js.map +0 -1
  578. package/dist/components/modules/social/widgets/SocialSidebar.d.ts +0 -2
  579. package/dist/components/modules/social/widgets/SocialSidebar.d.ts.map +0 -1
  580. package/dist/components/modules/social/widgets/SocialSidebar.js +0 -9
  581. package/dist/components/modules/social/widgets/SocialSidebar.js.map +0 -1
  582. package/dist/components/modules/stations/StationCard.d.ts +0 -3
  583. package/dist/components/modules/stations/StationCard.d.ts.map +0 -1
  584. package/dist/components/modules/stations/StationCard.js +0 -26
  585. package/dist/components/modules/stations/StationCard.js.map +0 -1
  586. package/dist/components/modules/stations/StationQRModal.d.ts +0 -10
  587. package/dist/components/modules/stations/StationQRModal.d.ts.map +0 -1
  588. package/dist/components/modules/stations/StationQRModal.js +0 -13
  589. package/dist/components/modules/stations/StationQRModal.js.map +0 -1
  590. package/dist/components/modules/stations/widgets/StationCard.d.ts +0 -3
  591. package/dist/components/modules/stations/widgets/StationCard.d.ts.map +0 -1
  592. package/dist/components/modules/stations/widgets/StationCard.js +0 -26
  593. package/dist/components/modules/stations/widgets/StationCard.js.map +0 -1
  594. package/dist/components/modules/stations/widgets/StationQRModal.d.ts +0 -10
  595. package/dist/components/modules/stations/widgets/StationQRModal.d.ts.map +0 -1
  596. package/dist/components/modules/stations/widgets/StationQRModal.js +0 -13
  597. package/dist/components/modules/stations/widgets/StationQRModal.js.map +0 -1
  598. package/dist/components/shared/DevTools.d.ts +0 -2
  599. package/dist/components/shared/DevTools.d.ts.map +0 -1
  600. package/dist/components/shared/DevTools.js +0 -39
  601. package/dist/components/shared/DevTools.js.map +0 -1
  602. package/dist/components/shared/FilterTabs.d.ts +0 -16
  603. package/dist/components/shared/FilterTabs.d.ts.map +0 -1
  604. package/dist/components/shared/FilterTabs.js +0 -18
  605. package/dist/components/shared/FilterTabs.js.map +0 -1
  606. package/dist/components/shared/FloatingChatButton.d.ts +0 -5
  607. package/dist/components/shared/FloatingChatButton.d.ts.map +0 -1
  608. package/dist/components/shared/FloatingChatButton.js +0 -21
  609. package/dist/components/shared/FloatingChatButton.js.map +0 -1
  610. package/dist/components/shared/Footer.d.ts +0 -2
  611. package/dist/components/shared/Footer.d.ts.map +0 -1
  612. package/dist/components/shared/Footer.js +0 -10
  613. package/dist/components/shared/Footer.js.map +0 -1
  614. package/dist/components/shared/Header.d.ts +0 -2
  615. package/dist/components/shared/Header.d.ts.map +0 -1
  616. package/dist/components/shared/Header.js +0 -109
  617. package/dist/components/shared/Header.js.map +0 -1
  618. package/dist/components/shared/ListToolbar.d.ts +0 -32
  619. package/dist/components/shared/ListToolbar.d.ts.map +0 -1
  620. package/dist/components/shared/ListToolbar.js +0 -13
  621. package/dist/components/shared/ListToolbar.js.map +0 -1
  622. package/dist/components/shared/LoginModal.d.ts +0 -5
  623. package/dist/components/shared/LoginModal.d.ts.map +0 -1
  624. package/dist/components/shared/LoginModal.js +0 -66
  625. package/dist/components/shared/LoginModal.js.map +0 -1
  626. package/dist/components/shared/MainLayoutWrapper.d.ts +0 -5
  627. package/dist/components/shared/MainLayoutWrapper.d.ts.map +0 -1
  628. package/dist/components/shared/MainLayoutWrapper.js +0 -8
  629. package/dist/components/shared/MainLayoutWrapper.js.map +0 -1
  630. package/dist/components/shared/NotFound.d.ts +0 -21
  631. package/dist/components/shared/NotFound.d.ts.map +0 -1
  632. package/dist/components/shared/NotFound.js +0 -7
  633. package/dist/components/shared/NotFound.js.map +0 -1
  634. package/dist/components/shared/PageWidth.d.ts +0 -6
  635. package/dist/components/shared/PageWidth.d.ts.map +0 -1
  636. package/dist/components/shared/PageWidth.js +0 -14
  637. package/dist/components/shared/PageWidth.js.map +0 -1
  638. package/dist/components/shared/SearchBar.d.ts +0 -14
  639. package/dist/components/shared/SearchBar.d.ts.map +0 -1
  640. package/dist/components/shared/SearchBar.js +0 -21
  641. package/dist/components/shared/SearchBar.js.map +0 -1
  642. package/dist/components/showcase/CommunityTab.d.ts +0 -2
  643. package/dist/components/showcase/CommunityTab.d.ts.map +0 -1
  644. package/dist/components/showcase/CommunityTab.js +0 -6
  645. package/dist/components/showcase/CommunityTab.js.map +0 -1
  646. package/dist/components/showcase/CorporateTab.d.ts +0 -2
  647. package/dist/components/showcase/CorporateTab.d.ts.map +0 -1
  648. package/dist/components/showcase/CorporateTab.js +0 -6
  649. package/dist/components/showcase/CorporateTab.js.map +0 -1
  650. package/dist/components/showcase/EventsTab.d.ts +0 -2
  651. package/dist/components/showcase/EventsTab.d.ts.map +0 -1
  652. package/dist/components/showcase/EventsTab.js +0 -80
  653. package/dist/components/showcase/EventsTab.js.map +0 -1
  654. package/dist/components/showcase/GeneralTab.d.ts +0 -2
  655. package/dist/components/showcase/GeneralTab.d.ts.map +0 -1
  656. package/dist/components/showcase/GeneralTab.js +0 -6
  657. package/dist/components/showcase/GeneralTab.js.map +0 -1
  658. package/dist/components/showcase/GroupTab.d.ts +0 -2
  659. package/dist/components/showcase/GroupTab.d.ts.map +0 -1
  660. package/dist/components/showcase/GroupTab.js +0 -74
  661. package/dist/components/showcase/GroupTab.js.map +0 -1
  662. package/dist/components/showcase/MessagesTab.d.ts +0 -2
  663. package/dist/components/showcase/MessagesTab.d.ts.map +0 -1
  664. package/dist/components/showcase/MessagesTab.js +0 -20
  665. package/dist/components/showcase/MessagesTab.js.map +0 -1
  666. package/dist/components/showcase/ProfileTab.d.ts +0 -2
  667. package/dist/components/showcase/ProfileTab.d.ts.map +0 -1
  668. package/dist/components/showcase/ProfileTab.js +0 -52
  669. package/dist/components/showcase/ProfileTab.js.map +0 -1
  670. package/dist/components/showcase/ReelsTab.d.ts +0 -2
  671. package/dist/components/showcase/ReelsTab.d.ts.map +0 -1
  672. package/dist/components/showcase/ReelsTab.js +0 -34
  673. package/dist/components/showcase/ReelsTab.js.map +0 -1
  674. package/dist/components/showcase/ShopTab.d.ts +0 -2
  675. package/dist/components/showcase/ShopTab.d.ts.map +0 -1
  676. package/dist/components/showcase/ShopTab.js +0 -32
  677. package/dist/components/showcase/ShopTab.js.map +0 -1
  678. package/dist/components/showcase/ShowcaseNavigation.d.ts +0 -2
  679. package/dist/components/showcase/ShowcaseNavigation.d.ts.map +0 -1
  680. package/dist/components/showcase/ShowcaseNavigation.js +0 -29
  681. package/dist/components/showcase/ShowcaseNavigation.js.map +0 -1
  682. package/dist/components/showcase/SocialTab.d.ts +0 -2
  683. package/dist/components/showcase/SocialTab.d.ts.map +0 -1
  684. package/dist/components/showcase/SocialTab.js +0 -109
  685. package/dist/components/showcase/SocialTab.js.map +0 -1
  686. package/dist/context/ArmoyuContext.d.ts +0 -42
  687. package/dist/context/ArmoyuContext.d.ts.map +0 -1
  688. package/dist/context/ArmoyuContext.js +0 -76
  689. package/dist/context/ArmoyuContext.js.map +0 -1
  690. package/dist/context/AuthContext.d.ts +0 -19
  691. package/dist/context/AuthContext.d.ts.map +0 -1
  692. package/dist/context/AuthContext.js +0 -116
  693. package/dist/context/AuthContext.js.map +0 -1
  694. package/dist/context/CartContext.d.ts +0 -17
  695. package/dist/context/CartContext.d.ts.map +0 -1
  696. package/dist/context/CartContext.js +0 -64
  697. package/dist/context/CartContext.js.map +0 -1
  698. package/dist/context/ChatContext.d.ts +0 -22
  699. package/dist/context/ChatContext.d.ts.map +0 -1
  700. package/dist/context/ChatContext.js +0 -98
  701. package/dist/context/ChatContext.js.map +0 -1
  702. package/dist/context/LayoutContext.d.ts +0 -11
  703. package/dist/context/LayoutContext.d.ts.map +0 -1
  704. package/dist/context/LayoutContext.js +0 -17
  705. package/dist/context/LayoutContext.js.map +0 -1
  706. package/dist/context/SocketContext.d.ts +0 -13
  707. package/dist/context/SocketContext.d.ts.map +0 -1
  708. package/dist/context/SocketContext.js +0 -32
  709. package/dist/context/SocketContext.js.map +0 -1
  710. package/dist/context/ThemeContext.d.ts +0 -11
  711. package/dist/context/ThemeContext.d.ts.map +0 -1
  712. package/dist/context/ThemeContext.js +0 -40
  713. package/dist/context/ThemeContext.js.map +0 -1
  714. package/dist/index.d.ts +0 -98
  715. package/dist/index.d.ts.map +0 -1
  716. package/dist/index.js +0 -110
  717. package/dist/index.js.map +0 -1
  718. package/dist/lib/ArmoyuUI.d.ts +0 -18
  719. package/dist/lib/ArmoyuUI.d.ts.map +0 -1
  720. package/dist/lib/ArmoyuUI.js +0 -25
  721. package/dist/lib/ArmoyuUI.js.map +0 -1
  722. package/dist/lib/constants/config.d.ts +0 -9
  723. package/dist/lib/constants/config.d.ts.map +0 -1
  724. package/dist/lib/constants/config.js +0 -15
  725. package/dist/lib/constants/config.js.map +0 -1
  726. package/dist/lib/constants/educationData.d.ts +0 -8
  727. package/dist/lib/constants/educationData.d.ts.map +0 -1
  728. package/dist/lib/constants/educationData.js +0 -118
  729. package/dist/lib/constants/educationData.js.map +0 -1
  730. package/dist/lib/constants/punishmentData.d.ts +0 -30
  731. package/dist/lib/constants/punishmentData.d.ts.map +0 -1
  732. package/dist/lib/constants/punishmentData.js +0 -184
  733. package/dist/lib/constants/punishmentData.js.map +0 -1
  734. package/dist/lib/constants/seedData.d.ts +0 -165
  735. package/dist/lib/constants/seedData.d.ts.map +0 -1
  736. package/dist/lib/constants/seedData.js +0 -709
  737. package/dist/lib/constants/seedData.js.map +0 -1
  738. package/dist/lib/constants/stationData.d.ts +0 -14
  739. package/dist/lib/constants/stationData.d.ts.map +0 -1
  740. package/dist/lib/constants/stationData.js +0 -167
  741. package/dist/lib/constants/stationData.js.map +0 -1
  742. package/dist/lib/constants/surveyData.d.ts +0 -3
  743. package/dist/lib/constants/surveyData.d.ts.map +0 -1
  744. package/dist/lib/constants/surveyData.js +0 -50
  745. package/dist/lib/constants/surveyData.js.map +0 -1
  746. package/dist/lib/constants/teamData.d.ts +0 -13
  747. package/dist/lib/constants/teamData.d.ts.map +0 -1
  748. package/dist/lib/constants/teamData.js +0 -66
  749. package/dist/lib/constants/teamData.js.map +0 -1
  750. package/dist/lib/utils/numberFormat.d.ts +0 -10
  751. package/dist/lib/utils/numberFormat.d.ts.map +0 -1
  752. package/dist/lib/utils/numberFormat.js +0 -17
  753. package/dist/lib/utils/numberFormat.js.map +0 -1
  754. package/dist/lib/utils/odpUtils.d.ts +0 -16
  755. package/dist/lib/utils/odpUtils.d.ts.map +0 -1
  756. package/dist/lib/utils/odpUtils.js +0 -44
  757. package/dist/lib/utils/odpUtils.js.map +0 -1
  758. package/dist/types/index.d.ts +0 -2
  759. package/dist/types/index.d.ts.map +0 -1
  760. package/dist/types/index.js +0 -2
  761. package/dist/types/index.js.map +0 -1
  762. package/dist/types/stats.d.ts +0 -18
  763. package/dist/types/stats.d.ts.map +0 -1
  764. package/dist/types/stats.js +0 -2
  765. package/dist/types/stats.js.map +0 -1
@@ -1,76 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useState, useEffect } from 'react';
4
- import { useAuth } from '../../../context/AuthContext';
5
- import { useSocket } from '../../../context/SocketContext';
6
- export function RepostModal({ isOpen, onClose, post }) {
7
- const { user } = useAuth();
8
- const { emit } = useSocket();
9
- const [quoteText, setQuoteText] = useState('');
10
- const [isSubmitting, setIsSubmitting] = useState(false);
11
- useEffect(() => {
12
- const handleEsc = (e) => {
13
- if (e.key === 'Escape')
14
- onClose();
15
- };
16
- window.addEventListener('keydown', handleEsc);
17
- return () => window.removeEventListener('keydown', handleEsc);
18
- }, [onClose]);
19
- const handleRepostSubmit = (e) => {
20
- e.preventDefault();
21
- if (!user || isSubmitting)
22
- return;
23
- setIsSubmitting(true);
24
- try {
25
- // FULL SANITIZATION - Create a completely plain object with NO CLASS INSTANCES
26
- const sanitizedAuthor = {
27
- id: user.id || '',
28
- username: user.username || '',
29
- displayName: user.displayName || '',
30
- avatar: user.avatar || '',
31
- role: user.role ? { name: user.role.name, color: user.role.color } : null,
32
- verified: !!user.verified
33
- };
34
- const sanitizedOriginalAuthor = {
35
- id: post.author.id || '',
36
- username: post.author.username || '',
37
- displayName: post.author.displayName || '',
38
- avatar: post.author.avatar || '',
39
- role: post.author.role ? { name: post.author.role.name, color: post.author.role.color } : null,
40
- verified: !!post.author.verified
41
- };
42
- const newPostData = {
43
- id: 'p-repost-' + Date.now(),
44
- author: sanitizedAuthor,
45
- content: quoteText,
46
- repostOf: {
47
- id: post.id,
48
- author: sanitizedOriginalAuthor,
49
- content: post.content,
50
- media: post.media || [],
51
- createdAt: post.createdAt,
52
- stats: post.stats || { likes: 0, comments: 0, reposts: 0, shares: 0 }
53
- },
54
- createdAt: 'Şimdi',
55
- stats: { likes: 0, comments: 0, reposts: 0, shares: 0 },
56
- hashtags: quoteText.match(/#\w+/g)?.map(t => t.replace('#', '')) || []
57
- };
58
- // Emit safely
59
- emit('post', newPostData);
60
- emit('post_repost_count', { postId: post.id });
61
- setTimeout(() => {
62
- onClose();
63
- setQuoteText('');
64
- setIsSubmitting(false);
65
- }, 500);
66
- }
67
- catch (err) {
68
- console.error('Repost error:', err);
69
- setIsSubmitting(false);
70
- }
71
- };
72
- if (!isOpen)
73
- return null;
74
- return (_jsxs("div", { className: "fixed inset-0 z-[100] flex items-center justify-center p-4", children: [_jsx("div", { className: "absolute inset-0 bg-[#0a0a0f]/90 backdrop-blur-xl animate-in fade-in duration-500", onClick: onClose }), _jsxs("div", { className: "relative w-full max-w-lg glass-panel bg-armoyu-card-bg border border-armoyu-card-border rounded-[40px] shadow-[0_32px_120px_rgba(0,0,0,0.6)] overflow-hidden animate-in zoom-in-95 fade-in duration-500", children: [_jsx("div", { className: "absolute top-0 right-0 w-64 h-64 bg-green-500/10 blur-[100px] rounded-full -mr-32 -mt-32 pointer-events-none" }), _jsx("div", { className: "absolute bottom-0 left-0 w-48 h-48 bg-blue-400/5 blur-[80px] rounded-full -ml-24 -mb-24 pointer-events-none" }), _jsxs("div", { className: "p-8 pb-6 border-b border-armoyu-card-border flex items-center justify-between relative z-10", children: [_jsxs("div", { children: [_jsx("h2", { className: "text-2xl font-black text-armoyu-text uppercase tracking-tighter italic", children: "YEN\u0130DEN PAYLA\u015E" }), _jsx("p", { className: "text-[10px] font-black text-green-500 uppercase tracking-widest mt-1", children: "G\u00D6NDER\u0130Y\u0130 TAK\u0130P\u00C7\u0130LER\u0130NE \u0130LET" })] }), _jsx("button", { onClick: onClose, className: "w-10 h-10 rounded-2xl bg-black/5 dark:bg-white/5 border border-armoyu-card-border flex items-center justify-center hover:bg-black/10 transition-all font-bold", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", children: [_jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), _jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })] }) })] }), _jsxs("div", { className: "p-8 space-y-6 relative z-10", children: [_jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-[10px] font-black uppercase tracking-widest text-armoyu-text-muted ml-1", children: "F\u0130KR\u0130N\u0130 EKLE (OPS\u0130YONEL)" }), _jsx("textarea", { rows: 3, value: quoteText, onChange: (e) => setQuoteText(e.target.value), placeholder: "Bu g\u00F6nderi hakk\u0131nda ne d\u00FC\u015F\u00FCn\u00FCyorsun?..", className: "w-full bg-black/10 dark:bg-black/20 border border-armoyu-card-border rounded-2xl px-5 py-4 text-armoyu-text placeholder:text-armoyu-text-muted/40 focus:outline-none focus:border-green-500/50 focus:ring-1 focus:ring-green-500/50 transition-all font-medium text-sm no-scrollbar resize-none" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-[10px] font-black uppercase tracking-widest text-armoyu-text-muted ml-1", children: "PAYLA\u015EILAN G\u00D6NDER\u0130" }), _jsxs("div", { className: "p-5 rounded-3xl bg-black/5 dark:bg-white/5 border border-armoyu-card-border", children: [_jsxs("div", { className: "flex items-center gap-3 mb-3", children: [_jsx("img", { src: post.author.avatar, alt: post.author.displayName, className: "w-8 h-8 rounded-full border border-armoyu-card-border" }), _jsxs("div", { children: [_jsx("h4", { className: "text-xs font-black text-armoyu-text leading-tight", children: post.author.displayName }), _jsxs("span", { className: "text-[10px] font-bold text-armoyu-text-muted opacity-60", children: ["@", post.author.username] })] })] }), _jsx("p", { className: "text-xs text-armoyu-text-muted line-clamp-2 leading-relaxed", children: post.content })] })] }), _jsxs("div", { className: "pt-4 space-y-3", children: [_jsx("button", { type: "button", onClick: handleRepostSubmit, disabled: isSubmitting, className: "w-full py-4 bg-green-500 hover:bg-green-400 text-black font-black text-xs uppercase tracking-[0.2em] rounded-2xl shadow-xl shadow-green-500/20 transition-all active:scale-95 flex items-center justify-center gap-2 cursor-pointer disabled:opacity-50", children: isSubmitting ? 'PAYLAŞILIYOR...' : 'YENİDEN PAYLAŞ' }), _jsx("button", { type: "button", onClick: onClose, className: "w-full py-4 text-armoyu-text-muted hover:text-red-500 font-black text-[10px] uppercase tracking-widest transition-colors", children: "\u0130PTAL ET" })] })] })] })] }));
75
- }
76
- //# sourceMappingURL=RepostModal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RepostModal.js","sourceRoot":"","sources":["../../../../src/components/modules/posts/RepostModal.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAA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M,EAChG,gBAAM,SAAS,EAAC,yDAAyD,kBAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,IAAQ,IACpG,IACF,EACN,YAAG,SAAS,EAAC,6DAA6D,YAAE,IAAI,CAAC,OAAO,GAAK,IACzF,IACF,EAEN,eAAK,SAAS,EAAC,gBAAgB,aAC7B,iBACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,kBAAkB,EAC3B,QAAQ,EAAE,YAAY,EACtB,SAAS,EAAC,yPAAyP,YAElQ,YAAY,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,gBAAgB,GAC7C,EAET,iBAAQ,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,0HAA0H,8BAEnK,IACL,IACF,IACF,IACF,CACP,CAAC;AACJ,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare function Stories(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=Stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Stories.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/posts/Stories.tsx"],"names":[],"mappings":"AAKA,wBAAgB,OAAO,4CAwBtB"}
@@ -1,16 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useState } from 'react';
3
- import { MOCK_STORIES } from '../../../lib/constants/seedData';
4
- import { StoryViewer } from './StoryViewer';
5
- export function Stories() {
6
- const [activeStoryIndex, setActiveStoryIndex] = useState(null);
7
- return (_jsxs("div", { className: "w-full bg-armoyu-card-bg border border-armoyu-card-border rounded-3xl p-4 shadow-sm overflow-hidden mb-6", children: [_jsx("div", { className: "flex gap-4 overflow-x-auto no-scrollbar pb-1 px-1", children: MOCK_STORIES.map((story, idx) => (_jsx(StoryItem, { story: story, onClick: () => setActiveStoryIndex(idx) }, story.id))) }), activeStoryIndex !== null && (_jsx(StoryViewer, { stories: MOCK_STORIES, initialStoryIndex: activeStoryIndex, onClose: () => setActiveStoryIndex(null) }))] }));
8
- }
9
- function StoryItem({ story, onClick }) {
10
- return (_jsxs("div", { className: "flex flex-col items-center gap-1.5 shrink-0 cursor-pointer group select-none", onClick: onClick, children: [_jsxs("div", { className: "relative", children: [_jsx("div", { className: `p-[3px] rounded-full transition-transform group-hover:scale-105 active:scale-95 ${story.hasUnseen
11
- ? 'bg-gradient-to-tr from-[#f9ce34] via-[#ee2a7b] to-[#6228d7]'
12
- : story.isMe
13
- ? 'bg-transparent'
14
- : 'bg-armoyu-card-border'}`, children: _jsx("div", { className: "bg-armoyu-card-bg p-[2px] rounded-full", children: _jsx("img", { src: story.user?.avatar, alt: story.user?.username, className: `w-14 h-14 md:w-16 md:h-16 rounded-full border border-black/5 dark:border-white/10 object-cover ${!story.hasUnseen && !story.isMe ? 'grayscale-[0.5] opacity-80' : ''}` }) }) }), story.isMe && (_jsx("div", { className: "absolute bottom-0 right-0 w-5 h-5 bg-blue-500 rounded-full border-2 border-armoyu-card-bg flex items-center justify-center text-white", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("line", { x1: "12", y1: "5", x2: "12", y2: "19" }), _jsx("line", { x1: "5", y1: "12", x2: "19", y2: "12" })] }) }))] }), _jsx("span", { className: `text-[11px] md:text-xs font-bold truncate w-16 md:w-20 text-center transition-colors ${story.hasUnseen ? 'text-armoyu-text' : 'text-armoyu-text-muted'}`, children: story.isMe ? 'Hikayen' : story.user?.displayName || story.user?.username })] }));
15
- }
16
- //# sourceMappingURL=Stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Stories.js","sourceRoot":"","sources":["../../../../src/components/modules/posts/Stories.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/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AAC,CAAC,CAAC,EAAE,EAAE,GAClL,GACE,GACF,EAGL,KAAK,CAAC,IAAI,IAAI,CACb,cAAK,SAAS,EAAC,uIAAuI,YACpJ,eAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,cAAc,EAAC,WAAW,EAAC,GAAG,EAAC,aAAa,EAAC,OAAO,EAAC,cAAc,EAAC,OAAO,aAAC,eAAM,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,GAAQ,EAAA,eAAM,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,GAAQ,IAAM,GAC5Q,CACP,IACG,EAEN,eAAM,SAAS,EAAE,wFAAwF,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,wBAAwB,EAAE,YACvK,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,WAAW,IAAI,KAAK,CAAC,IAAI,EAAE,QAAQ,GACpE,IACH,CACP,CAAC;AACJ,CAAC"}
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { Story } from '@armoyu/core';
3
- interface StoryViewerProps {
4
- stories: Story[];
5
- initialStoryIndex: number;
6
- onClose: () => void;
7
- }
8
- export declare function StoryViewer({ stories, initialStoryIndex, onClose }: StoryViewerProps): React.ReactPortal;
9
- export {};
10
- //# sourceMappingURL=StoryViewer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StoryViewer.d.ts","sourceRoot":"","sources":["../../../../src/components/modules/posts/StoryViewer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAQ,MAAM,cAAc,CAAC;AAE3C,UAAU,gBAAgB;IACxB,OAAO,EAAE,KAAK,EAAE,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,gBAAgB,qBAoIpF"}
@@ -1,48 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useState, useEffect } from 'react';
4
- import { createPortal } from 'react-dom';
5
- export function StoryViewer({ stories, initialStoryIndex, onClose }) {
6
- const [currentIndex, setCurrentIndex] = useState(initialStoryIndex);
7
- const [progress, setProgress] = useState(0);
8
- const story = stories[currentIndex];
9
- useEffect(() => {
10
- // Reset progress when story changes
11
- setProgress(0);
12
- const duration = 5000; // 5 seconds per story
13
- const interval = 50;
14
- const step = (interval / duration) * 100;
15
- const timer = setInterval(() => {
16
- setProgress((prev) => {
17
- if (prev >= 100) {
18
- handleNext();
19
- return 0;
20
- }
21
- return prev + step;
22
- });
23
- }, interval);
24
- return () => clearInterval(timer);
25
- }, [currentIndex]);
26
- const handleNext = () => {
27
- if (currentIndex < stories.length - 1) {
28
- setCurrentIndex(prev => prev + 1);
29
- }
30
- else {
31
- onClose();
32
- }
33
- };
34
- const handlePrev = () => {
35
- if (currentIndex > 0) {
36
- setCurrentIndex(prev => prev - 1);
37
- }
38
- };
39
- // Scroll kilitleme
40
- useEffect(() => {
41
- document.body.style.overflow = 'hidden';
42
- return () => { document.body.style.overflow = 'unset'; };
43
- }, []);
44
- return createPortal(_jsxs("div", { className: "fixed inset-0 z-[9999] bg-black flex items-center justify-center animate-in fade-in duration-300", children: [_jsx("div", { className: "absolute inset-0 overflow-hidden opacity-50", children: _jsx("img", { src: story.media, className: "w-full h-full object-cover blur-3xl scale-110", alt: "" }) }), _jsxs("div", { className: "relative w-full h-full max-w-[450px] md:h-[90%] md:aspect-[9/16] bg-[#1a1a1a] md:rounded-3xl shadow-2xl overflow-hidden flex flex-col", children: [_jsx("div", { className: "absolute top-4 left-4 right-4 z-20 flex gap-1", children: stories.map((_, idx) => (_jsx("div", { className: "h-1 flex-1 bg-white/20 rounded-full overflow-hidden", children: _jsx("div", { className: "h-full bg-white transition-all duration-50", style: {
45
- width: idx === currentIndex ? `${progress}%` : idx < currentIndex ? '100%' : '0%'
46
- } }) }, idx))) }), _jsxs("div", { className: "absolute top-8 left-4 right-4 z-20 flex items-center justify-between", children: [_jsxs("div", { className: "flex items-center gap-3", children: [_jsx("img", { src: story.user?.avatar, className: "w-9 h-9 rounded-full border border-white/20", alt: "" }), _jsxs("div", { className: "flex flex-col", children: [_jsx("span", { className: "text-white text-sm font-bold shadow-sm", children: story.isMe ? 'Hikayen' : story.user?.displayName || story.user?.username }), _jsx("span", { className: "text-white/60 text-[10px]", children: "2 saat \u00F6nce" })] })] }), _jsx("button", { onClick: onClose, className: "p-2 text-white hover:bg-white/10 rounded-full transition-colors", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", 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: "flex-1 relative", children: [_jsx("img", { src: story.media, className: "w-full h-full object-cover", alt: "Story Content" }), _jsxs("div", { className: "absolute inset-0 flex", children: [_jsx("div", { className: "w-1/3 h-full cursor-w-resize", onClick: handlePrev }), _jsx("div", { className: "w-2/3 h-full cursor-e-resize", onClick: handleNext })] })] }), _jsxs("div", { className: "p-4 bg-black/40 backdrop-blur-md flex gap-3 items-center", children: [_jsx("input", { type: "text", placeholder: `@${story.user?.username} kişisine yanıt ver...`, className: "flex-1 bg-white/10 border border-white/10 rounded-full px-5 py-2.5 text-sm text-white placeholder-white/50 focus:outline-none focus:bg-white/20 transition-all shadow-sm" }), _jsx("button", { className: "text-white p-2", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: _jsx("path", { d: "M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z" }) }) }), _jsx("button", { className: "text-white p-2", 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", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("line", { x1: "22", y1: "2", x2: "11", y2: "13" }), _jsx("polygon", { points: "22 2 15 22 11 13 2 9 22 2" })] }) })] })] }), _jsxs("div", { className: "hidden md:flex absolute inset-x-0 top-1/2 -translate-y-1/2 justify-between px-10 pointer-events-none", children: [_jsx("button", { onClick: handlePrev, disabled: currentIndex === 0, className: `pointer-events-auto p-4 bg-white/10 hover:bg-white/20 text-white rounded-full backdrop-blur-md transition-all ${currentIndex === 0 ? 'opacity-0 cursor-default' : 'opacity-100'}`, children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", children: _jsx("polyline", { points: "15 18 9 12 15 6" }) }) }), _jsx("button", { onClick: handleNext, className: "pointer-events-auto p-4 bg-white/10 hover:bg-white/20 text-white rounded-full backdrop-blur-md transition-all", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", children: _jsx("polyline", { points: "9 18 15 12 9 6" }) }) })] })] }), document.body);
47
- }
48
- //# sourceMappingURL=StoryViewer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StoryViewer.js","sourceRoot":"","sources":["../../../../src/components/modules/posts/StoryViewer.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AASzC,MAAM,UAAU,WAAW,CAAC,EAAE,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAoB;IACnF,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IACpE,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC5C,MAAM,KAAK,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAEpC,SAAS,CAAC,GAAG,EAAE;QACb,oCAAoC;QACpC,WAAW,CAAC,CAAC,CAAC,CAAC;QAEf,MAAM,QAAQ,GAAG,IAAI,CAAC,CAAC,sBAAsB;QAC7C,MAAM,QAAQ,GAAG,EAAE,CAAC;QACpB,MAAM,IAAI,GAAG,CAAC,QAAQ,GAAG,QAAQ,CAAC,GAAG,GAAG,CAAC;QAEzC,MAAM,KAAK,GAAG,WAAW,CAAC,GAAG,EAAE;YAC7B,WAAW,CAAC,CAAC,IAAI,EAAE,EAAE;gBACnB,IAAI,IAAI,IAAI,GAAG,EAAE,CAAC;oBAChB,UAAU,EAAE,CAAC;oBACb,OAAO,CAAC,CAAC;gBACX,CAAC;gBACD,OAAO,IAAI,GAAG,IAAI,CAAC;YACrB,CAAC,CAAC,CAAC;QACL,CAAC,EAAE,QAAQ,CAAC,CAAC;QAEb,OAAO,GAAG,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;IAEnB,MAAM,UAAU,GAAG,G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IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,cAAc,EAAC,WAAW,EAAC,KAAK,YAAC,mBAAU,MAAM,EAAC,iBAAiB,GAAY,GAAM,GACpL,EACT,iBACE,OAAO,EAAE,UAAU,EACnB,SAAS,EAAC,+GAA+G,YAEzH,cAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,cAAc,EAAC,WAAW,EAAC,KAAK,YAAC,mBAAU,MAAM,EAAC,gBAAgB,GAAY,GAAM,GACnL,IACL,IAEF,EACN,QAAQ,CAAC,IAAI,CACd,CAAC;AACJ,CAAC"}
@@ -1,16 +0,0 @@
1
- import { User } from '@armoyu/core';
2
- export interface ReelCardProps {
3
- id: string;
4
- author: User;
5
- videoUrl: string;
6
- description?: string;
7
- songName?: string;
8
- stats: {
9
- likes: number;
10
- comments: number;
11
- shares: number;
12
- };
13
- isActive?: boolean;
14
- }
15
- export declare function ReelCard({ id, author, videoUrl, description, songName, stats, isActive }: ReelCardProps): import("react/jsx-runtime").JSX.Element;
16
- //# sourceMappingURL=ReelCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReelCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/posts/reels/ReelCard.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAIpC,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,IAAI,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,QAAQ,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,aAAa,2CA4MvG"}
@@ -1,70 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useState, useRef, useEffect } from 'react';
4
- import { Heart, MessageSquare, Share2, MoreVertical, Music, Play, Volume2, VolumeX } from 'lucide-react';
5
- import { RollingNumber } from '../../../RollingNumber';
6
- export function ReelCard({ id, author, videoUrl, description, songName, stats, isActive }) {
7
- const [isPlaying, setIsPlaying] = useState(false);
8
- const [isMuted, setIsMuted] = useState(false);
9
- const [isLiked, setIsLiked] = useState(false);
10
- const [showHeartAnim, setShowHeartAnim] = useState(false);
11
- const [progress, setProgress] = useState(0);
12
- const videoRef = useRef(null);
13
- // Handle Play/Pause
14
- useEffect(() => {
15
- if (videoRef.current) {
16
- if (isActive) {
17
- videoRef.current.play().catch(() => {
18
- // Auto-play might be blocked by browser until interaction
19
- setIsPlaying(false);
20
- });
21
- setIsPlaying(true);
22
- }
23
- else {
24
- videoRef.current.pause();
25
- setIsPlaying(false);
26
- }
27
- }
28
- }, [isActive]);
29
- const togglePlay = () => {
30
- if (videoRef.current) {
31
- if (isPlaying) {
32
- videoRef.current.pause();
33
- }
34
- else {
35
- videoRef.current.play();
36
- }
37
- setIsPlaying(!isPlaying);
38
- }
39
- };
40
- const handleTimeUpdate = () => {
41
- if (videoRef.current) {
42
- const p = (videoRef.current.currentTime / videoRef.current.duration) * 100;
43
- setProgress(p);
44
- }
45
- };
46
- const handleDoubleClick = (e) => {
47
- if (!isLiked) {
48
- setIsLiked(true);
49
- }
50
- setShowHeartAnim(true);
51
- setTimeout(() => setShowHeartAnim(false), 800);
52
- };
53
- return (_jsxs("div", { className: "relative w-full h-full bg-black flex items-center justify-center overflow-hidden", children: [_jsx("video", { ref: videoRef, src: videoUrl, className: "w-full h-full object-cover cursor-pointer", loop: true, muted: isMuted, onClick: togglePlay, onDoubleClick: handleDoubleClick, onTimeUpdate: handleTimeUpdate, playsInline: true }), showHeartAnim && (_jsx("div", { className: "absolute inset-0 flex items-center justify-center z-50 pointer-events-none", children: _jsx(Heart, { fill: "#3b82f6", className: "text-blue-500 w-24 h-24 animate-ping opacity-75" }) })), !isPlaying && (_jsx("div", { className: "absolute inset-0 flex items-center justify-center pointer-events-none bg-black/10 transition-opacity", children: _jsx("div", { className: "p-5 bg-black/20 backdrop-blur-md rounded-full text-white/80", children: _jsx(Play, { size: 48, fill: "currentColor" }) }) })), _jsxs("div", { className: "absolute right-3 bottom-24 z-20 flex flex-col items-center gap-6 animate-in slide-in-from-right-4 duration-500", children: [_jsxs("div", { className: "flex flex-col items-center gap-1 group", children: [_jsx("button", { onClick: () => setIsLiked(!isLiked), className: `p-3 rounded-full backdrop-blur-md transition-all active:scale-90 ${isLiked ? 'bg-blue-600 text-white' : 'bg-black/20 text-white hover:bg-black/40'}`, children: _jsx(Heart, { size: 28, fill: isLiked ? "currentColor" : "none" }) }), _jsx("span", { className: "text-xs font-black text-white shadow-sm uppercase tracking-tighter", children: _jsx(RollingNumber, { value: isLiked ? stats.likes + 1 : stats.likes }) })] }), _jsxs("div", { className: "flex flex-col items-center gap-1 group", children: [_jsx("button", { className: "p-3 rounded-full bg-black/20 backdrop-blur-md text-white hover:bg-black/40 transition-all active:scale-90", children: _jsx(MessageSquare, { size: 28 }) }), _jsx("span", { className: "text-xs font-black text-white shadow-sm uppercase tracking-tighter", children: stats.comments })] }), _jsxs("div", { className: "flex flex-col items-center gap-1 group", children: [_jsx("button", { className: "p-3 rounded-full bg-black/20 backdrop-blur-md text-white hover:bg-black/40 transition-all active:scale-90", children: _jsx(Share2, { size: 28 }) }), _jsx("span", { className: "text-xs font-black text-white shadow-sm uppercase tracking-tighter", children: stats.shares })] }), _jsx("button", { className: "p-3 text-white hover:text-blue-400 transition-colors", children: _jsx(MoreVertical, { size: 24 }) }), _jsx("button", { onClick: () => setIsMuted(!isMuted), className: "p-3 rounded-full bg-black/20 backdrop-blur-md text-white hover:bg-black/40 transition-all", children: isMuted ? _jsx(VolumeX, { size: 20 }) : _jsx(Volume2, { size: 20 }) })] }), _jsx("div", { className: "absolute bottom-0 left-0 right-16 z-10 p-5 bg-gradient-to-t from-black/80 via-black/40 to-transparent", children: _jsxs("div", { className: "flex flex-col gap-3 animate-in slide-in-from-bottom-4 duration-500", children: [_jsxs("div", { className: "flex items-center gap-3", children: [_jsx("img", { src: author.avatar, className: "w-10 h-10 rounded-full border-2 border-white/50 shadow-md object-cover", alt: author.displayName }), _jsxs("div", { className: "flex flex-col", children: [_jsxs("div", { className: "flex items-center gap-1.5", children: [_jsx("span", { className: "text-white font-black whitespace-nowrap uppercase tracking-tight italic", children: author.displayName }), author.verified && (_jsx("div", { className: "bg-blue-500 text-white rounded-full p-0.5", children: _jsx("svg", { width: "10", height: "10", viewBox: "0 0 24 24", fill: "currentColor", children: _jsx("path", { d: "M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" }) }) }))] }), _jsxs("span", { className: "text-white/70 text-xs font-bold", children: ["@", author.username] })] }), _jsx("button", { className: "ml-2 px-4 py-1.5 bg-white text-black text-[10px] font-black rounded-full hover:bg-blue-500 hover:text-white transition-all uppercase tracking-widest shadow-lg active:scale-95", children: "TAK\u0130P ET" })] }), description && (_jsx("p", { className: "text-white/90 text-sm font-medium line-clamp-2 leading-tight", children: description })), _jsxs("div", { className: "flex items-center gap-2 text-white/80", children: [_jsx("div", { className: "animate-spin-slow", children: _jsx(Music, { size: 14 }) }), _jsx("div", { className: "overflow-hidden whitespace-nowrap w-[200px]", children: _jsx("p", { className: "text-xs font-black uppercase tracking-widest animate-marquee inline-block italic", children: songName || 'Orijinal Ses - ARMOYU' }) })] })] }) }), _jsx("div", { className: "absolute bottom-0 left-0 right-0 h-1 bg-white/10 z-30", children: _jsx("div", { className: "h-full bg-blue-500 shadow-[0_0_10px_rgba(59,130,246,0.8)] transition-all duration-300", style: { width: `${progress}%` } }) }), _jsx("style", { jsx: true, children: `
54
- .animate-spin-slow {
55
- animation: spin 3s linear infinite;
56
- }
57
- @keyframes spin {
58
- from { transform: rotate(0deg); }
59
- to { transform: rotate(360deg); }
60
- }
61
- .animate-marquee {
62
- animation: marquee 10s linear infinite;
63
- }
64
- @keyframes marquee {
65
- 0% { transform: translateX(100%); }
66
- 100% { transform: translateX(-100%); }
67
- }
68
- ` })] }));
69
- }
70
- //# sourceMappingURL=ReelCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReelCard.js","sourceRoot":"","sources":["../../../../../src/components/modules/posts/reels/ReelCard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,IAAI,EAAS,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAChH,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAgBvD,MAAM,UAAU,QAAQ,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAiB;IACtG,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAClD,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,CAAC,aAAa,EAAE,gBAAgB,C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AM,CAAC,QAAQ,IAAI,CACjB,cAAK,SAAS,EAAC,2CAA2C,YACvD,cAAK,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,cAAc,YAAC,eAAM,CAAC,EAAC,6CAA6C,GAAQ,GAAM,GACpI,CACR,IACG,EACN,gBAAM,SAAS,EAAC,iCAAiC,kBAAG,MAAM,CAAC,QAAQ,IAAQ,IACvE,EACN,iBAAQ,SAAS,EAAC,gLAAgL,8BAEzL,IACL,EAGL,WAAW,IAAI,CACd,YAAG,SAAS,EAAC,8DAA8D,YACxE,WAAW,GACV,CACL,EAGD,eAAK,SAAS,EAAC,uCAAuC,aACpD,cAAK,SAAS,EAAC,mBAAmB,YAChC,KAAC,KAAK,IAAC,IAAI,EAAE,EAAE,GAAI,GACf,EACN,cAAK,SAAS,EAAC,6CAA6C,YAC1D,YAAG,SAAS,EAAC,kFAAkF,YAC5F,QAAQ,IAAI,uBAAuB,GAClC,GACA,IACF,IACF,GACF,EAGN,cAAK,SAAS,EAAC,uDAAuD,YACpE,cACE,SAAS,EAAC,uFAAuF,EACjG,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,QAAQ,GAAG,EAAE,GAChC,GACE,EAEN,gBAAO,GAAG,kBAAE;;;;;;;;;;;;;;;OAeX,GAAS,IACN,CACP,CAAC;AACJ,CAAC"}
@@ -1,8 +0,0 @@
1
- import { ReelCardProps } from './ReelCard';
2
- interface ReelsContainerProps {
3
- reels: Omit<ReelCardProps, 'isActive'>[];
4
- initialReelId?: string;
5
- }
6
- export declare function ReelsContainer({ reels, initialReelId }: ReelsContainerProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
8
- //# sourceMappingURL=ReelsContainer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReelsContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/posts/reels/ReelsContainer.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAY,aAAa,EAAE,MAAM,YAAY,CAAC;AAErD,UAAU,mBAAmB;IAC3B,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,EAAE,CAAC;IACzC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE,mBAAmB,2CAwD3E"}
@@ -1,37 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useState, useEffect, useRef } from 'react';
4
- import { ReelCard } from './ReelCard';
5
- export function ReelsContainer({ reels, initialReelId }) {
6
- const [activeId, setActiveId] = useState(initialReelId || reels[0]?.id);
7
- const containerRef = useRef(null);
8
- useEffect(() => {
9
- const observerOptions = {
10
- root: containerRef.current,
11
- threshold: 0.8, // Must be 80% visible to be considered active
12
- };
13
- const handleIntersection = (entries) => {
14
- entries.forEach((entry) => {
15
- if (entry.isIntersecting) {
16
- const id = entry.target.getAttribute('data-reel-id');
17
- if (id)
18
- setActiveId(id);
19
- }
20
- });
21
- };
22
- const observer = new IntersectionObserver(handleIntersection, observerOptions);
23
- const elements = containerRef.current?.querySelectorAll('[data-reel-id]');
24
- elements?.forEach((el) => observer.observe(el));
25
- return () => observer.disconnect();
26
- }, [reels]);
27
- return (_jsxs("div", { ref: containerRef, className: "w-full h-screen bg-black overflow-y-scroll snap-y snap-mandatory scrollbar-hide", children: [reels.map((reel) => (_jsx("div", { "data-reel-id": reel.id, className: "w-full h-full snap-start snap-always shrink-0", children: _jsx(ReelCard, { ...reel, isActive: activeId === reel.id }) }, reel.id))), _jsx("style", { jsx: true, global: true, children: `
28
- .scrollbar-hide::-webkit-scrollbar {
29
- display: none;
30
- }
31
- .scrollbar-hide {
32
- -ms-overflow-style: none;
33
- scrollbar-width: none;
34
- }
35
- ` })] }));
36
- }
37
- //# sourceMappingURL=ReelsContainer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReelsContainer.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AAE,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC;IACrC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAEZ,OAAO,CACL,eACE,GAAG,EAAE,YAAY,EACjB,SAAS,EAAC,iFAAiF,aAE1F,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACnB,8BAEgB,IAAI,CAAC,EAAE,EACrB,SAAS,EAAC,+CAA+C,YAEzD,KAAC,QAAQ,OACH,IAAI,EACR,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC,EAAE,GAC9B,IAPG,IAAI,CAAC,EAAE,CAQR,CACP,CAAC,EAEF,gBAAO,GAAG,QAAC,MAAM,kBAAE;;;;;;;;OAQlB,GAAS,IACN,CACP,CAAC;AACJ,CAAC"}
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- export interface PostMedia {
3
- type: 'image' | 'video';
4
- url: string;
5
- }
6
- interface MediaLightboxProps {
7
- isOpen: boolean;
8
- onClose: () => void;
9
- media: PostMedia[];
10
- initialIndex?: number;
11
- }
12
- export declare function MediaLightbox({ isOpen, onClose, media, initialIndex }: MediaLightboxProps): React.ReactPortal | null;
13
- export {};
14
- //# sourceMappingURL=MediaLightbox.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MediaLightbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/posts/widgets/MediaLightbox.tsx"],"names":[],"mappings":"AACA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAGhE,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,kBAAkB;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,YAAgB,EAAE,EAAE,kBAAkB,4BA+F7F"}
@@ -1,47 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useState, useEffect, useCallback } from 'react';
4
- import { createPortal } from 'react-dom';
5
- export function MediaLightbox({ isOpen, onClose, media, initialIndex = 0 }) {
6
- const [currentIndex, setCurrentIndex] = useState(initialIndex);
7
- const [mounted, setMounted] = useState(false);
8
- const handlePrev = useCallback((e) => {
9
- e?.stopPropagation();
10
- setCurrentIndex(prev => (prev === 0 ? media.length - 1 : prev - 1));
11
- }, [media.length]);
12
- const handleNext = useCallback((e) => {
13
- e?.stopPropagation();
14
- setCurrentIndex(prev => (prev === media.length - 1 ? 0 : prev + 1));
15
- }, [media.length]);
16
- useEffect(() => {
17
- setMounted(true);
18
- if (isOpen) {
19
- setCurrentIndex(initialIndex);
20
- document.body.style.overflow = 'hidden';
21
- }
22
- // Klavye Desteği
23
- const handleKeyDown = (e) => {
24
- if (!isOpen)
25
- return;
26
- if (e.key === 'ArrowLeft')
27
- handlePrev(e);
28
- if (e.key === 'ArrowRight')
29
- handleNext(e);
30
- if (e.key === 'Escape')
31
- onClose();
32
- };
33
- window.addEventListener('keydown', handleKeyDown);
34
- return () => {
35
- document.body.style.overflow = '';
36
- window.removeEventListener('keydown', handleKeyDown);
37
- };
38
- }, [isOpen, initialIndex, handlePrev, handleNext, onClose]);
39
- if (!isOpen || !media || media.length === 0 || !mounted)
40
- return null;
41
- const currentMedia = media[currentIndex];
42
- const modalContent = (_jsxs("div", { className: "fixed inset-0 z-[9999] flex items-center justify-center animate-in fade-in duration-200", children: [_jsx("div", { className: "absolute inset-0 bg-[#0a0a0f]/95 backdrop-blur-md", onClick: onClose }), _jsx("button", { onClick: onClose, className: "absolute top-4 md:top-6 right-4 md:right-6 text-white/50 hover:text-white bg-white/10 hover:bg-white/20 p-2.5 md:p-3 rounded-full transition-all z-[10001] border border-white/10 active:scale-90", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", 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" })] }) }), media.length > 1 && (_jsxs("div", { className: "absolute top-4 md:top-6 left-4 md:left-6 text-white bg-white/10 px-4 py-1.5 rounded-full font-black text-[10px] tracking-widest z-[10001] border border-white/10 backdrop-blur-md uppercase", children: [currentIndex + 1, " / ", media.length] })), media.length > 1 && (_jsx("button", { onClick: (e) => handlePrev(e), className: "absolute left-4 md:left-8 top-1/2 -translate-y-1/2 text-white/40 hover:text-white bg-white/5 hover:bg-white/10 p-4 md:p-5 rounded-full transition-all z-[10001] border border-transparent hover:border-white/10 backdrop-blur-md group active:scale-90", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", className: "group-hover:-translate-x-0.5 transition-transform", children: _jsx("polyline", { points: "15 18 9 12 15 6" }) }) })), media.length > 1 && (_jsx("button", { onClick: (e) => handleNext(e), className: "absolute right-4 md:right-8 top-1/2 -translate-y-1/2 text-white/40 hover:text-white bg-white/5 hover:bg-white/10 p-4 md:p-5 rounded-full transition-all z-[10001] border border-transparent hover:border-white/10 backdrop-blur-md group active:scale-90", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", className: "group-hover:translate-x-0.5 transition-transform", children: _jsx("polyline", { points: "9 18 15 12 9 6" }) }) })), _jsx("div", { className: "relative w-full h-full max-w-7xl max-h-[92vh] flex items-center justify-center p-4 md:p-12 z-[10000]", onClick: onClose, children: currentMedia.type === 'video' ? (
43
- // eslint-disable-next-line jsx-a11y/media-has-caption
44
- _jsx("video", { src: currentMedia.url, controls: true, autoPlay: true, className: "max-w-full max-h-full rounded-2xl shadow-[0_0_80px_rgba(0,0,0,0.8)] object-contain animate-in zoom-in-95 duration-500 ring-1 ring-white/10", onClick: (e) => e.stopPropagation() })) : (_jsx("img", { src: currentMedia.url, alt: "Galeri Medyas\u0131", className: "max-w-full max-h-full rounded-2xl shadow-[0_0_80px_rgba(0,0,0,0.8)] object-contain animate-in zoom-in-95 duration-500 ring-1 ring-white/10", onClick: (e) => e.stopPropagation() })) })] }));
45
- return createPortal(modalContent, document.body);
46
- }
47
- //# sourceMappingURL=MediaLightbox.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MediaLightbox.js","sourceRoot":"","sources":["../../../../../src/components/modules/posts/widgets/MediaLightbox.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAczC,MAAM,UAAU,aAAa,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,GAAG,CAAC,EAAsB;IAC5F,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,CAAC;IAC/D,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,MAAM,UAAU,GAAG,WAAW,CAAC,CAAC,CAAoC,EAAE,EAAE;QACtE,CAAC,EAAE,eAAe,EAAE,CAAC;QACrB,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;IACtE,CAAC,EA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CAAC,IAAI,CAAC,CAAC;AACnD,CAAC"}
@@ -1,26 +0,0 @@
1
- import { type PostMedia } from './MediaLightbox';
2
- import { User } from '@armoyu/core';
3
- export interface PostCardProps {
4
- id: string;
5
- author: User | null;
6
- content: string;
7
- imageUrl?: string;
8
- media?: PostMedia[];
9
- createdAt: string;
10
- stats: {
11
- likes: number;
12
- comments: number;
13
- reposts?: number;
14
- shares: number;
15
- };
16
- hashtags?: string[];
17
- onTagClick?: (tag: string) => void;
18
- isPending?: boolean;
19
- likeList?: User[];
20
- repostList?: User[];
21
- commentList?: any[];
22
- repostOf?: any;
23
- profilePrefix?: string;
24
- }
25
- export declare function PostCard({ id, author, content, imageUrl, media, createdAt, stats, hashtags, onTagClick, isPending, likeList, repostList, commentList, repostOf, profilePrefix }: PostCardProps): import("react/jsx-runtime").JSX.Element | null;
26
- //# sourceMappingURL=PostCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PostCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/posts/widgets/PostCard.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAMhE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAepC,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,SAAS,CAAC,EAAE,OAAO,CAAC;IAGpB,QAAQ,CAAC,EAAE,IAAI,EAAE,CAAC;IAClB,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,QAAQ,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,aAAa,kDA6f9L"}