@armoyu/ui 1.1.31 → 1.1.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (874) hide show
  1. package/dist/components/modules/auth/widgets/LoginWidget.d.ts.map +1 -1
  2. package/dist/components/modules/auth/widgets/LoginWidget.js +1 -1
  3. package/dist/components/modules/auth/widgets/LoginWidget.js.map +1 -1
  4. package/dist/components/modules/auth/widgets/RegisterWidget.js +1 -1
  5. package/dist/components/modules/auth/widgets/RegisterWidget.js.map +1 -1
  6. package/dist/components/shared/Header.js +1 -1
  7. package/dist/components/shared/Header.js.map +1 -1
  8. package/dist/components/shared/LoginModal.d.ts.map +1 -1
  9. package/dist/components/shared/LoginModal.js +1 -1
  10. package/dist/components/shared/LoginModal.js.map +1 -1
  11. package/dist/index.d.ts +5 -0
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +5 -0
  14. package/dist/index.js.map +1 -1
  15. package/package.json +1 -1
  16. package/src/globals.css +1 -1
  17. package/dist/app/Providers.js +0 -34
  18. package/dist/app/Providers.js.map +0 -1
  19. package/dist/app/education/[slug]/page.d.ts +0 -2
  20. package/dist/app/education/[slug]/page.d.ts.map +0 -1
  21. package/dist/app/education/[slug]/page.js +0 -7
  22. package/dist/app/education/[slug]/page.js.map +0 -1
  23. package/dist/app/egitim/[slug]/page.d.ts +0 -2
  24. package/dist/app/egitim/[slug]/page.d.ts.map +0 -1
  25. package/dist/app/egitim/[slug]/page.js +0 -7
  26. package/dist/app/egitim/[slug]/page.js.map +0 -1
  27. package/dist/app/etkinlikler/[eventId]/page.d.ts +0 -2
  28. package/dist/app/etkinlikler/[eventId]/page.d.ts.map +0 -1
  29. package/dist/app/etkinlikler/[eventId]/page.js +0 -12
  30. package/dist/app/etkinlikler/[eventId]/page.js.map +0 -1
  31. package/dist/app/etkinlikler/page.d.ts +0 -2
  32. package/dist/app/etkinlikler/page.d.ts.map +0 -1
  33. package/dist/app/etkinlikler/page.js +0 -32
  34. package/dist/app/etkinlikler/page.js.map +0 -1
  35. package/dist/app/events/[eventId]/page.d.ts +0 -2
  36. package/dist/app/events/[eventId]/page.d.ts.map +0 -1
  37. package/dist/app/events/[eventId]/page.js +0 -12
  38. package/dist/app/events/[eventId]/page.js.map +0 -1
  39. package/dist/app/events/page.d.ts +0 -2
  40. package/dist/app/events/page.d.ts.map +0 -1
  41. package/dist/app/events/page.js +0 -32
  42. package/dist/app/events/page.js.map +0 -1
  43. package/dist/app/groups/[groupId]/page.d.ts +0 -2
  44. package/dist/app/groups/[groupId]/page.d.ts.map +0 -1
  45. package/dist/app/groups/[groupId]/page.js +0 -10
  46. package/dist/app/groups/[groupId]/page.js.map +0 -1
  47. package/dist/app/gruplar/[groupId]/page.js +0 -11
  48. package/dist/app/gruplar/[groupId]/page.js.map +0 -1
  49. package/dist/app/layout.js +0 -29
  50. package/dist/app/layout.js.map +0 -1
  51. package/dist/app/management-panel/layout.js +0 -67
  52. package/dist/app/management-panel/layout.js.map +0 -1
  53. package/dist/app/management-panel/page.js +0 -151
  54. package/dist/app/management-panel/page.js.map +0 -1
  55. package/dist/app/not-found.d.ts +0 -2
  56. package/dist/app/not-found.d.ts.map +0 -1
  57. package/dist/app/page.js +0 -59
  58. package/dist/app/page.js.map +0 -1
  59. package/dist/components/Button.d.ts +0 -8
  60. package/dist/components/Button.d.ts.map +0 -1
  61. package/dist/components/Button.js +0 -16
  62. package/dist/components/Button.js.map +0 -1
  63. package/dist/components/GenderStatsBar.d.ts +0 -6
  64. package/dist/components/GenderStatsBar.d.ts.map +0 -1
  65. package/dist/components/GenderStatsBar.js +0 -8
  66. package/dist/components/GenderStatsBar.js.map +0 -1
  67. package/dist/components/RollingNumber.d.ts +0 -8
  68. package/dist/components/RollingNumber.d.ts.map +0 -1
  69. package/dist/components/RollingNumber.js +0 -28
  70. package/dist/components/RollingNumber.js.map +0 -1
  71. package/dist/components/Slider.d.ts +0 -11
  72. package/dist/components/Slider.d.ts.map +0 -1
  73. package/dist/components/Slider.js +0 -36
  74. package/dist/components/Slider.js.map +0 -1
  75. package/dist/components/StatsGrid.d.ts +0 -6
  76. package/dist/components/StatsGrid.d.ts.map +0 -1
  77. package/dist/components/StatsGrid.js +0 -14
  78. package/dist/components/StatsGrid.js.map +0 -1
  79. package/dist/components/ViewModeToggle.d.ts +0 -8
  80. package/dist/components/ViewModeToggle.d.ts.map +0 -1
  81. package/dist/components/ViewModeToggle.js +0 -10
  82. package/dist/components/ViewModeToggle.js.map +0 -1
  83. package/dist/components/common/Mentions/HashtagLink.d.ts +0 -7
  84. package/dist/components/common/Mentions/HashtagLink.d.ts.map +0 -1
  85. package/dist/components/common/Mentions/HashtagLink.js +0 -7
  86. package/dist/components/common/Mentions/HashtagLink.js.map +0 -1
  87. package/dist/components/common/Mentions/MentionLink.d.ts +0 -7
  88. package/dist/components/common/Mentions/MentionLink.d.ts.map +0 -1
  89. package/dist/components/common/Mentions/MentionLink.js +0 -33
  90. package/dist/components/common/Mentions/MentionLink.js.map +0 -1
  91. package/dist/components/common/Mentions/MentionText.d.ts +0 -8
  92. package/dist/components/common/Mentions/MentionText.d.ts.map +0 -1
  93. package/dist/components/common/Mentions/MentionText.js +0 -23
  94. package/dist/components/common/Mentions/MentionText.js.map +0 -1
  95. package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts +0 -2
  96. package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts.map +0 -1
  97. package/dist/components/modules/auth/widgets/AuthJoinCard.js +0 -16
  98. package/dist/components/modules/auth/widgets/AuthJoinCard.js.map +0 -1
  99. package/dist/components/modules/auth/widgets/InviteWidget.d.ts +0 -6
  100. package/dist/components/modules/auth/widgets/InviteWidget.d.ts.map +0 -1
  101. package/dist/components/modules/auth/widgets/InviteWidget.js +0 -68
  102. package/dist/components/modules/auth/widgets/InviteWidget.js.map +0 -1
  103. package/dist/components/modules/blog/pages/MyArticlesPage.d.ts +0 -2
  104. package/dist/components/modules/blog/pages/MyArticlesPage.d.ts.map +0 -1
  105. package/dist/components/modules/blog/pages/MyArticlesPage.js +0 -229
  106. package/dist/components/modules/blog/pages/MyArticlesPage.js.map +0 -1
  107. package/dist/components/modules/chat/ChatLayout.js +0 -208
  108. package/dist/components/modules/chat/ChatLayout.js.map +0 -1
  109. package/dist/components/modules/chat/widgets/ChatInput.d.ts +0 -5
  110. package/dist/components/modules/chat/widgets/ChatInput.d.ts.map +0 -1
  111. package/dist/components/modules/chat/widgets/ChatInput.js +0 -31
  112. package/dist/components/modules/chat/widgets/ChatInput.js.map +0 -1
  113. package/dist/components/modules/chat/widgets/ChatList.d.ts +0 -7
  114. package/dist/components/modules/chat/widgets/ChatList.d.ts.map +0 -1
  115. package/dist/components/modules/chat/widgets/ChatList.js +0 -74
  116. package/dist/components/modules/chat/widgets/ChatList.js.map +0 -1
  117. package/dist/components/modules/chat/widgets/ChatMessage.d.ts +0 -12
  118. package/dist/components/modules/chat/widgets/ChatMessage.d.ts.map +0 -1
  119. package/dist/components/modules/chat/widgets/ChatMessage.js +0 -31
  120. package/dist/components/modules/chat/widgets/ChatMessage.js.map +0 -1
  121. package/dist/components/modules/chat/widgets/ChatNotes.d.ts +0 -2
  122. package/dist/components/modules/chat/widgets/ChatNotes.d.ts.map +0 -1
  123. package/dist/components/modules/cloud/CloudModal.d.ts +0 -12
  124. package/dist/components/modules/cloud/CloudModal.d.ts.map +0 -1
  125. package/dist/components/modules/cloud/CloudModal.js +0 -251
  126. package/dist/components/modules/cloud/CloudModal.js.map +0 -1
  127. package/dist/components/modules/cloud/CloudWidget.d.ts +0 -9
  128. package/dist/components/modules/cloud/CloudWidget.d.ts.map +0 -1
  129. package/dist/components/modules/cloud/CloudWidget.js +0 -7
  130. package/dist/components/modules/cloud/CloudWidget.js.map +0 -1
  131. package/dist/components/modules/community/CommunityLayout.js +0 -136
  132. package/dist/components/modules/community/CommunityLayout.js.map +0 -1
  133. package/dist/components/modules/community/widgets/GroupAboutCard.d.ts +0 -6
  134. package/dist/components/modules/community/widgets/GroupAboutCard.d.ts.map +0 -1
  135. package/dist/components/modules/community/widgets/GroupAboutCard.js +0 -7
  136. package/dist/components/modules/community/widgets/GroupAboutCard.js.map +0 -1
  137. package/dist/components/modules/community/widgets/GroupFeedSection.d.ts +0 -9
  138. package/dist/components/modules/community/widgets/GroupFeedSection.d.ts.map +0 -1
  139. package/dist/components/modules/community/widgets/GroupFeedSection.js +0 -8
  140. package/dist/components/modules/community/widgets/GroupFeedSection.js.map +0 -1
  141. package/dist/components/modules/community/widgets/GroupHeader.d.ts +0 -11
  142. package/dist/components/modules/community/widgets/GroupHeader.d.ts.map +0 -1
  143. package/dist/components/modules/community/widgets/GroupHeader.js +0 -18
  144. package/dist/components/modules/community/widgets/GroupHeader.js.map +0 -1
  145. package/dist/components/modules/community/widgets/GroupMenu.d.ts +0 -10
  146. package/dist/components/modules/community/widgets/GroupMenu.d.ts.map +0 -1
  147. package/dist/components/modules/community/widgets/GroupMenu.js +0 -17
  148. package/dist/components/modules/community/widgets/GroupMenu.js.map +0 -1
  149. package/dist/components/modules/community/widgets/GroupPermissions.d.ts +0 -6
  150. package/dist/components/modules/community/widgets/GroupPermissions.d.ts.map +0 -1
  151. package/dist/components/modules/community/widgets/GroupPermissions.js +0 -7
  152. package/dist/components/modules/community/widgets/GroupPermissions.js.map +0 -1
  153. package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts +0 -11
  154. package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts.map +0 -1
  155. package/dist/components/modules/community/widgets/GroupStatsGrid.js +0 -13
  156. package/dist/components/modules/community/widgets/GroupStatsGrid.js.map +0 -1
  157. package/dist/components/modules/community/widgets/GroupTopMembers.d.ts +0 -7
  158. package/dist/components/modules/community/widgets/GroupTopMembers.d.ts.map +0 -1
  159. package/dist/components/modules/community/widgets/GroupTopMembers.js +0 -8
  160. package/dist/components/modules/community/widgets/GroupTopMembers.js.map +0 -1
  161. package/dist/components/modules/community/widgets/SchoolCard.d.ts +0 -7
  162. package/dist/components/modules/community/widgets/SchoolCard.d.ts.map +0 -1
  163. package/dist/components/modules/community/widgets/SchoolCard.js +0 -11
  164. package/dist/components/modules/community/widgets/SchoolCard.js.map +0 -1
  165. package/dist/components/modules/community/widgets/SchoolJoinModal.d.ts +0 -8
  166. package/dist/components/modules/community/widgets/SchoolJoinModal.d.ts.map +0 -1
  167. package/dist/components/modules/community/widgets/SchoolJoinModal.js +0 -36
  168. package/dist/components/modules/community/widgets/SchoolJoinModal.js.map +0 -1
  169. package/dist/components/modules/community/widgets/SurveyCard.d.ts +0 -8
  170. package/dist/components/modules/community/widgets/SurveyCard.d.ts.map +0 -1
  171. package/dist/components/modules/community/widgets/SurveyCard.js +0 -28
  172. package/dist/components/modules/community/widgets/SurveyCard.js.map +0 -1
  173. package/dist/components/modules/education/pages/EducationPage.d.ts +0 -2
  174. package/dist/components/modules/education/pages/EducationPage.d.ts.map +0 -1
  175. package/dist/components/modules/education/pages/EducationPage.js +0 -56
  176. package/dist/components/modules/education/pages/EducationPage.js.map +0 -1
  177. package/dist/components/modules/education/pages/SchoolDetailPage.d.ts +0 -2
  178. package/dist/components/modules/education/pages/SchoolDetailPage.d.ts.map +0 -1
  179. package/dist/components/modules/education/pages/SchoolDetailPage.js +0 -79
  180. package/dist/components/modules/education/pages/SchoolDetailPage.js.map +0 -1
  181. package/dist/components/modules/events/DetailPage.d.ts +0 -9
  182. package/dist/components/modules/events/DetailPage.d.ts.map +0 -1
  183. package/dist/components/modules/events/DetailPage.js +0 -94
  184. package/dist/components/modules/events/DetailPage.js.map +0 -1
  185. package/dist/components/modules/events/EventsLayout.d.ts +0 -8
  186. package/dist/components/modules/events/EventsLayout.d.ts.map +0 -1
  187. package/dist/components/modules/events/EventsLayout.js +0 -7
  188. package/dist/components/modules/events/EventsLayout.js.map +0 -1
  189. package/dist/components/modules/events/EventsPage.d.ts +0 -11
  190. package/dist/components/modules/events/EventsPage.d.ts.map +0 -1
  191. package/dist/components/modules/events/EventsPage.js +0 -91
  192. package/dist/components/modules/events/EventsPage.js.map +0 -1
  193. package/dist/components/modules/events/index.d.ts +0 -7
  194. package/dist/components/modules/events/index.d.ts.map +0 -1
  195. package/dist/components/modules/events/widgets/EventCard.d.ts +0 -12
  196. package/dist/components/modules/events/widgets/EventCard.d.ts.map +0 -1
  197. package/dist/components/modules/events/widgets/EventCard.js +0 -12
  198. package/dist/components/modules/events/widgets/EventCard.js.map +0 -1
  199. package/dist/components/modules/events/widgets/EventFormModal.d.ts +0 -9
  200. package/dist/components/modules/events/widgets/EventFormModal.d.ts.map +0 -1
  201. package/dist/components/modules/events/widgets/EventFormModal.js +0 -24
  202. package/dist/components/modules/events/widgets/EventFormModal.js.map +0 -1
  203. package/dist/components/modules/events/widgets/EventList.d.ts +0 -12
  204. package/dist/components/modules/events/widgets/EventList.d.ts.map +0 -1
  205. package/dist/components/modules/events/widgets/EventList.js +0 -30
  206. package/dist/components/modules/events/widgets/EventList.js.map +0 -1
  207. package/dist/components/modules/events/widgets/EventShowcase.d.ts +0 -6
  208. package/dist/components/modules/events/widgets/EventShowcase.d.ts.map +0 -1
  209. package/dist/components/modules/events/widgets/EventShowcase.js +0 -80
  210. package/dist/components/modules/events/widgets/EventShowcase.js.map +0 -1
  211. package/dist/components/modules/forum/pages/ForumBoardPage.d.ts +0 -8
  212. package/dist/components/modules/forum/pages/ForumBoardPage.d.ts.map +0 -1
  213. package/dist/components/modules/forum/pages/ForumBoardPage.js +0 -18
  214. package/dist/components/modules/forum/pages/ForumBoardPage.js.map +0 -1
  215. package/dist/components/modules/forum/pages/ForumPage.d.ts +0 -2
  216. package/dist/components/modules/forum/pages/ForumPage.d.ts.map +0 -1
  217. package/dist/components/modules/forum/pages/ForumPage.js +0 -14
  218. package/dist/components/modules/forum/pages/ForumPage.js.map +0 -1
  219. package/dist/components/modules/forum/pages/ForumTopicPage.d.ts +0 -8
  220. package/dist/components/modules/forum/pages/ForumTopicPage.d.ts.map +0 -1
  221. package/dist/components/modules/forum/pages/ForumTopicPage.js +0 -55
  222. package/dist/components/modules/forum/pages/ForumTopicPage.js.map +0 -1
  223. package/dist/components/modules/forum/widgets/ForumBoard.d.ts +0 -17
  224. package/dist/components/modules/forum/widgets/ForumBoard.d.ts.map +0 -1
  225. package/dist/components/modules/forum/widgets/ForumBoard.js +0 -7
  226. package/dist/components/modules/forum/widgets/ForumBoard.js.map +0 -1
  227. package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts +0 -6
  228. package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts.map +0 -1
  229. package/dist/components/modules/forum/widgets/ForumCategoryList.js +0 -7
  230. package/dist/components/modules/forum/widgets/ForumCategoryList.js.map +0 -1
  231. package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts +0 -6
  232. package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts.map +0 -1
  233. package/dist/components/modules/forum/widgets/ForumHeaderWidget.js +0 -6
  234. package/dist/components/modules/forum/widgets/ForumHeaderWidget.js.map +0 -1
  235. package/dist/components/modules/forum/widgets/ForumPost.d.ts +0 -14
  236. package/dist/components/modules/forum/widgets/ForumPost.d.ts.map +0 -1
  237. package/dist/components/modules/forum/widgets/ForumPost.js +0 -6
  238. package/dist/components/modules/forum/widgets/ForumPost.js.map +0 -1
  239. package/dist/components/modules/forum/widgets/ForumSidebar.d.ts +0 -2
  240. package/dist/components/modules/forum/widgets/ForumSidebar.d.ts.map +0 -1
  241. package/dist/components/modules/forum/widgets/ForumSidebar.js +0 -6
  242. package/dist/components/modules/forum/widgets/ForumSidebar.js.map +0 -1
  243. package/dist/components/modules/forum/widgets/NewTopicModal.d.ts +0 -8
  244. package/dist/components/modules/forum/widgets/NewTopicModal.d.ts.map +0 -1
  245. package/dist/components/modules/forum/widgets/NewTopicModal.js +0 -27
  246. package/dist/components/modules/forum/widgets/NewTopicModal.js.map +0 -1
  247. package/dist/components/modules/forum/widgets/TopicItem.d.ts +0 -16
  248. package/dist/components/modules/forum/widgets/TopicItem.d.ts.map +0 -1
  249. package/dist/components/modules/forum/widgets/TopicItem.js +0 -7
  250. package/dist/components/modules/forum/widgets/TopicItem.js.map +0 -1
  251. package/dist/components/modules/galleries/widgets/GalleryCard.d.ts +0 -10
  252. package/dist/components/modules/galleries/widgets/GalleryCard.d.ts.map +0 -1
  253. package/dist/components/modules/galleries/widgets/GalleryCard.js +0 -6
  254. package/dist/components/modules/galleries/widgets/GalleryCard.js.map +0 -1
  255. package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts +0 -8
  256. package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts.map +0 -1
  257. package/dist/components/modules/galleries/widgets/GalleryFilterBar.js +0 -6
  258. package/dist/components/modules/galleries/widgets/GalleryFilterBar.js.map +0 -1
  259. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts +0 -2
  260. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts.map +0 -1
  261. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js +0 -6
  262. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js.map +0 -1
  263. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts +0 -7
  264. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts.map +0 -1
  265. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js +0 -6
  266. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js.map +0 -1
  267. package/dist/components/modules/giveaways/pages/GiveawayDetailPage.d.ts +0 -6
  268. package/dist/components/modules/giveaways/pages/GiveawayDetailPage.d.ts.map +0 -1
  269. package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js +0 -42
  270. package/dist/components/modules/giveaways/pages/GiveawayDetailPage.js.map +0 -1
  271. package/dist/components/modules/giveaways/pages/GiveawaysPage.d.ts +0 -2
  272. package/dist/components/modules/giveaways/pages/GiveawaysPage.d.ts.map +0 -1
  273. package/dist/components/modules/giveaways/pages/GiveawaysPage.js +0 -60
  274. package/dist/components/modules/giveaways/pages/GiveawaysPage.js.map +0 -1
  275. package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts +0 -10
  276. package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts.map +0 -1
  277. package/dist/components/modules/giveaways/widgets/GiveawayCard.js +0 -7
  278. package/dist/components/modules/giveaways/widgets/GiveawayCard.js.map +0 -1
  279. package/dist/components/modules/groups/widgets/ApplicationModal.d.ts +0 -8
  280. package/dist/components/modules/groups/widgets/ApplicationModal.d.ts.map +0 -1
  281. package/dist/components/modules/groups/widgets/ApplicationModal.js +0 -28
  282. package/dist/components/modules/groups/widgets/ApplicationModal.js.map +0 -1
  283. package/dist/components/modules/groups/widgets/GroupCard.d.ts +0 -14
  284. package/dist/components/modules/groups/widgets/GroupCard.d.ts.map +0 -1
  285. package/dist/components/modules/groups/widgets/GroupCard.js +0 -8
  286. package/dist/components/modules/groups/widgets/GroupCard.js.map +0 -1
  287. package/dist/components/modules/guest/widgets/Introduction.d.ts +0 -2
  288. package/dist/components/modules/guest/widgets/Introduction.d.ts.map +0 -1
  289. package/dist/components/modules/guest/widgets/Introduction.js +0 -15
  290. package/dist/components/modules/guest/widgets/Introduction.js.map +0 -1
  291. package/dist/components/modules/management/ManagementAccessDenied.d.ts +0 -7
  292. package/dist/components/modules/management/ManagementAccessDenied.d.ts.map +0 -1
  293. package/dist/components/modules/management/ManagementAccessDenied.js +0 -7
  294. package/dist/components/modules/management/ManagementAccessDenied.js.map +0 -1
  295. package/dist/components/modules/management/ManagementLayout.d.ts +0 -14
  296. package/dist/components/modules/management/ManagementLayout.d.ts.map +0 -1
  297. package/dist/components/modules/management/ManagementSidebar.d.ts +0 -23
  298. package/dist/components/modules/management/ManagementSidebar.d.ts.map +0 -1
  299. package/dist/components/modules/management/ManagementSidebar.js +0 -48
  300. package/dist/components/modules/management/ManagementSidebar.js.map +0 -1
  301. package/dist/components/modules/management/widgets/ManagementCharts.d.ts +0 -15
  302. package/dist/components/modules/management/widgets/ManagementCharts.d.ts.map +0 -1
  303. package/dist/components/modules/management/widgets/ManagementCharts.js +0 -10
  304. package/dist/components/modules/management/widgets/ManagementCharts.js.map +0 -1
  305. package/dist/components/modules/management/widgets/ManagementDashboard.d.ts +0 -36
  306. package/dist/components/modules/management/widgets/ManagementDashboard.d.ts.map +0 -1
  307. package/dist/components/modules/management/widgets/ManagementDashboard.js +0 -20
  308. package/dist/components/modules/management/widgets/ManagementDashboard.js.map +0 -1
  309. package/dist/components/modules/management/widgets/MemberManagement.d.ts +0 -16
  310. package/dist/components/modules/management/widgets/MemberManagement.d.ts.map +0 -1
  311. package/dist/components/modules/management/widgets/MemberManagement.js +0 -25
  312. package/dist/components/modules/management/widgets/MemberManagement.js.map +0 -1
  313. package/dist/components/modules/management/widgets/SystemSettings.d.ts +0 -2
  314. package/dist/components/modules/management/widgets/SystemSettings.d.ts.map +0 -1
  315. package/dist/components/modules/management/widgets/SystemSettings.js +0 -7
  316. package/dist/components/modules/management/widgets/SystemSettings.js.map +0 -1
  317. package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.d.ts +0 -6
  318. package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.d.ts.map +0 -1
  319. package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.js +0 -16
  320. package/dist/components/modules/management/widgets/dashboard/GameOfficialManagement.js.map +0 -1
  321. package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.d.ts +0 -18
  322. package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.d.ts.map +0 -1
  323. package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.js +0 -7
  324. package/dist/components/modules/management/widgets/dashboard/ManagementActivityFeed.js.map +0 -1
  325. package/dist/components/modules/management/widgets/dashboard/ManagementCharts.d.ts +0 -15
  326. package/dist/components/modules/management/widgets/dashboard/ManagementCharts.d.ts.map +0 -1
  327. package/dist/components/modules/management/widgets/dashboard/ManagementCharts.js +0 -10
  328. package/dist/components/modules/management/widgets/dashboard/ManagementCharts.js.map +0 -1
  329. package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.d.ts +0 -36
  330. package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.d.ts.map +0 -1
  331. package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.js +0 -14
  332. package/dist/components/modules/management/widgets/dashboard/ManagementDashboard.js.map +0 -1
  333. package/dist/components/modules/management/widgets/dashboard/ManagementHeader.d.ts +0 -8
  334. package/dist/components/modules/management/widgets/dashboard/ManagementHeader.d.ts.map +0 -1
  335. package/dist/components/modules/management/widgets/dashboard/ManagementHeader.js +0 -5
  336. package/dist/components/modules/management/widgets/dashboard/ManagementHeader.js.map +0 -1
  337. package/dist/components/modules/management/widgets/dashboard/ManagementOverview.d.ts +0 -27
  338. package/dist/components/modules/management/widgets/dashboard/ManagementOverview.d.ts.map +0 -1
  339. package/dist/components/modules/management/widgets/dashboard/ManagementOverview.js +0 -11
  340. package/dist/components/modules/management/widgets/dashboard/ManagementOverview.js.map +0 -1
  341. package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.d.ts +0 -10
  342. package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.d.ts.map +0 -1
  343. package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.js +0 -7
  344. package/dist/components/modules/management/widgets/dashboard/ManagementQuickActions.js.map +0 -1
  345. package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.d.ts +0 -14
  346. package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.d.ts.map +0 -1
  347. package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.js +0 -7
  348. package/dist/components/modules/management/widgets/dashboard/ManagementStatsGrid.js.map +0 -1
  349. package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.d.ts +0 -4
  350. package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.d.ts.map +0 -1
  351. package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.js +0 -23
  352. package/dist/components/modules/management/widgets/dashboard/ManagementWidgetCreator.js.map +0 -1
  353. package/dist/components/modules/management/widgets/dashboard/RegistryManagement.d.ts +0 -2
  354. package/dist/components/modules/management/widgets/dashboard/RegistryManagement.d.ts.map +0 -1
  355. package/dist/components/modules/management/widgets/dashboard/RegistryManagement.js +0 -36
  356. package/dist/components/modules/management/widgets/dashboard/RegistryManagement.js.map +0 -1
  357. package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.d.ts +0 -2
  358. package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.d.ts.map +0 -1
  359. package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.js +0 -74
  360. package/dist/components/modules/management/widgets/dashboard/StatisticsManagement.js.map +0 -1
  361. package/dist/components/modules/management/widgets/dashboard/SystemSettings.d.ts +0 -2
  362. package/dist/components/modules/management/widgets/dashboard/SystemSettings.d.ts.map +0 -1
  363. package/dist/components/modules/management/widgets/dashboard/SystemSettings.js +0 -20
  364. package/dist/components/modules/management/widgets/dashboard/SystemSettings.js.map +0 -1
  365. package/dist/components/modules/management/widgets/editor/GiveawaysManagement.d.ts +0 -2
  366. package/dist/components/modules/management/widgets/editor/GiveawaysManagement.d.ts.map +0 -1
  367. package/dist/components/modules/management/widgets/editor/GiveawaysManagement.js +0 -12
  368. package/dist/components/modules/management/widgets/editor/GiveawaysManagement.js.map +0 -1
  369. package/dist/components/modules/management/widgets/editor/GroupsManagement.d.ts +0 -2
  370. package/dist/components/modules/management/widgets/editor/GroupsManagement.d.ts.map +0 -1
  371. package/dist/components/modules/management/widgets/editor/GroupsManagement.js +0 -12
  372. package/dist/components/modules/management/widgets/editor/GroupsManagement.js.map +0 -1
  373. package/dist/components/modules/management/widgets/editor/NewsManagement.d.ts +0 -2
  374. package/dist/components/modules/management/widgets/editor/NewsManagement.d.ts.map +0 -1
  375. package/dist/components/modules/management/widgets/editor/NewsManagement.js +0 -13
  376. package/dist/components/modules/management/widgets/editor/NewsManagement.js.map +0 -1
  377. package/dist/components/modules/management/widgets/editor/SchoolsManagement.d.ts +0 -2
  378. package/dist/components/modules/management/widgets/editor/SchoolsManagement.d.ts.map +0 -1
  379. package/dist/components/modules/management/widgets/editor/SchoolsManagement.js +0 -12
  380. package/dist/components/modules/management/widgets/editor/SchoolsManagement.js.map +0 -1
  381. package/dist/components/modules/management/widgets/editor/StationsManagement.d.ts +0 -2
  382. package/dist/components/modules/management/widgets/editor/StationsManagement.d.ts.map +0 -1
  383. package/dist/components/modules/management/widgets/editor/StationsManagement.js +0 -15
  384. package/dist/components/modules/management/widgets/editor/StationsManagement.js.map +0 -1
  385. package/dist/components/modules/management/widgets/events/EventManagement.d.ts +0 -13
  386. package/dist/components/modules/management/widgets/events/EventManagement.d.ts.map +0 -1
  387. package/dist/components/modules/management/widgets/events/EventManagement.js +0 -13
  388. package/dist/components/modules/management/widgets/events/EventManagement.js.map +0 -1
  389. package/dist/components/modules/management/widgets/events/EventSummaryWidget.d.ts +0 -2
  390. package/dist/components/modules/management/widgets/events/EventSummaryWidget.d.ts.map +0 -1
  391. package/dist/components/modules/management/widgets/events/EventSummaryWidget.js +0 -11
  392. package/dist/components/modules/management/widgets/events/EventSummaryWidget.js.map +0 -1
  393. package/dist/components/modules/management/widgets/support/SupportManagement.d.ts +0 -14
  394. package/dist/components/modules/management/widgets/support/SupportManagement.d.ts.map +0 -1
  395. package/dist/components/modules/management/widgets/support/SupportManagement.js +0 -17
  396. package/dist/components/modules/management/widgets/support/SupportManagement.js.map +0 -1
  397. package/dist/components/modules/management/widgets/support/SupportSummaryWidget.d.ts +0 -2
  398. package/dist/components/modules/management/widgets/support/SupportSummaryWidget.d.ts.map +0 -1
  399. package/dist/components/modules/management/widgets/support/SupportSummaryWidget.js +0 -11
  400. package/dist/components/modules/management/widgets/support/SupportSummaryWidget.js.map +0 -1
  401. package/dist/components/modules/management/widgets/users/MemberManagement.d.ts +0 -16
  402. package/dist/components/modules/management/widgets/users/MemberManagement.d.ts.map +0 -1
  403. package/dist/components/modules/management/widgets/users/MemberManagement.js +0 -37
  404. package/dist/components/modules/management/widgets/users/MemberManagement.js.map +0 -1
  405. package/dist/components/modules/management/widgets/users/MemberSummaryWidget.d.ts +0 -2
  406. package/dist/components/modules/management/widgets/users/MemberSummaryWidget.d.ts.map +0 -1
  407. package/dist/components/modules/management/widgets/users/MemberSummaryWidget.js +0 -12
  408. package/dist/components/modules/management/widgets/users/MemberSummaryWidget.js.map +0 -1
  409. package/dist/components/modules/mods/pages/ModDetailPage.d.ts +0 -7
  410. package/dist/components/modules/mods/pages/ModDetailPage.d.ts.map +0 -1
  411. package/dist/components/modules/mods/pages/ModDetailPage.js +0 -24
  412. package/dist/components/modules/mods/pages/ModDetailPage.js.map +0 -1
  413. package/dist/components/modules/mods/pages/ModsPage.d.ts +0 -20
  414. package/dist/components/modules/mods/pages/ModsPage.d.ts.map +0 -1
  415. package/dist/components/modules/mods/pages/ModsPage.js +0 -46
  416. package/dist/components/modules/mods/pages/ModsPage.js.map +0 -1
  417. package/dist/components/modules/news/index.d.ts +0 -6
  418. package/dist/components/modules/news/index.d.ts.map +0 -1
  419. package/dist/components/modules/news/pages/NewsDetailPage.d.ts +0 -7
  420. package/dist/components/modules/news/pages/NewsDetailPage.d.ts.map +0 -1
  421. package/dist/components/modules/news/pages/NewsDetailPage.js +0 -56
  422. package/dist/components/modules/news/pages/NewsDetailPage.js.map +0 -1
  423. package/dist/components/modules/news/pages/NewsPage.d.ts +0 -2
  424. package/dist/components/modules/news/pages/NewsPage.d.ts.map +0 -1
  425. package/dist/components/modules/news/pages/NewsPage.js +0 -69
  426. package/dist/components/modules/news/pages/NewsPage.js.map +0 -1
  427. package/dist/components/modules/news/widgets/NewsCard.d.ts +0 -13
  428. package/dist/components/modules/news/widgets/NewsCard.d.ts.map +0 -1
  429. package/dist/components/modules/news/widgets/NewsCard.js +0 -7
  430. package/dist/components/modules/news/widgets/NewsCard.js.map +0 -1
  431. package/dist/components/modules/news/widgets/NewsComments.d.ts +0 -4
  432. package/dist/components/modules/news/widgets/NewsComments.d.ts.map +0 -1
  433. package/dist/components/modules/news/widgets/NewsComments.js +0 -7
  434. package/dist/components/modules/news/widgets/NewsComments.js.map +0 -1
  435. package/dist/components/modules/news/widgets/NewsDetailAuthor.d.ts +0 -8
  436. package/dist/components/modules/news/widgets/NewsDetailAuthor.d.ts.map +0 -1
  437. package/dist/components/modules/news/widgets/NewsDetailAuthor.js +0 -6
  438. package/dist/components/modules/news/widgets/NewsDetailAuthor.js.map +0 -1
  439. package/dist/components/modules/news/widgets/NewsDetailHero.d.ts +0 -9
  440. package/dist/components/modules/news/widgets/NewsDetailHero.d.ts.map +0 -1
  441. package/dist/components/modules/news/widgets/NewsDetailHero.js +0 -6
  442. package/dist/components/modules/news/widgets/NewsDetailHero.js.map +0 -1
  443. package/dist/components/modules/news/widgets/NewsDetailSidebar.d.ts +0 -8
  444. package/dist/components/modules/news/widgets/NewsDetailSidebar.d.ts.map +0 -1
  445. package/dist/components/modules/news/widgets/NewsDetailSidebar.js +0 -6
  446. package/dist/components/modules/news/widgets/NewsDetailSidebar.js.map +0 -1
  447. package/dist/components/modules/news/widgets/NewsHero.d.ts +0 -2
  448. package/dist/components/modules/news/widgets/NewsHero.d.ts.map +0 -1
  449. package/dist/components/modules/news/widgets/NewsHero.js +0 -7
  450. package/dist/components/modules/news/widgets/NewsHero.js.map +0 -1
  451. package/dist/components/modules/poll/pages/PollsPage.d.ts +0 -2
  452. package/dist/components/modules/poll/pages/PollsPage.d.ts.map +0 -1
  453. package/dist/components/modules/poll/pages/PollsPage.js +0 -57
  454. package/dist/components/modules/poll/pages/PollsPage.js.map +0 -1
  455. package/dist/components/modules/posts/widgets/MediaLightbox.d.ts +0 -28
  456. package/dist/components/modules/posts/widgets/MediaLightbox.d.ts.map +0 -1
  457. package/dist/components/modules/posts/widgets/MediaLightbox.js +0 -90
  458. package/dist/components/modules/posts/widgets/MediaLightbox.js.map +0 -1
  459. package/dist/components/modules/posts/widgets/PostCard.d.ts +0 -39
  460. package/dist/components/modules/posts/widgets/PostCard.d.ts.map +0 -1
  461. package/dist/components/modules/posts/widgets/PostCard.js +0 -260
  462. package/dist/components/modules/posts/widgets/PostCard.js.map +0 -1
  463. package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts +0 -15
  464. package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts.map +0 -1
  465. package/dist/components/modules/posts/widgets/PostInteractionsModal.js +0 -13
  466. package/dist/components/modules/posts/widgets/PostInteractionsModal.js.map +0 -1
  467. package/dist/components/modules/posts/widgets/PostShareModal.d.ts +0 -9
  468. package/dist/components/modules/posts/widgets/PostShareModal.d.ts.map +0 -1
  469. package/dist/components/modules/posts/widgets/PostShareModal.js +0 -45
  470. package/dist/components/modules/posts/widgets/PostShareModal.js.map +0 -1
  471. package/dist/components/modules/posts/widgets/RepostModal.d.ts +0 -22
  472. package/dist/components/modules/posts/widgets/RepostModal.d.ts.map +0 -1
  473. package/dist/components/modules/posts/widgets/RepostModal.js +0 -76
  474. package/dist/components/modules/posts/widgets/RepostModal.js.map +0 -1
  475. package/dist/components/modules/posts/widgets/SocialFeed.d.ts +0 -23
  476. package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +0 -1
  477. package/dist/components/modules/posts/widgets/SocialFeed.js +0 -123
  478. package/dist/components/modules/posts/widgets/SocialFeed.js.map +0 -1
  479. package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts +0 -16
  480. package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts.map +0 -1
  481. package/dist/components/modules/posts/widgets/reels/ReelCard.js +0 -55
  482. package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +0 -1
  483. package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts +0 -7
  484. package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts.map +0 -1
  485. package/dist/components/modules/profile/ProfileLayout.js +0 -70
  486. package/dist/components/modules/profile/ProfileLayout.js.map +0 -1
  487. package/dist/components/modules/profile/tabs/AboutTab.d.ts +0 -10
  488. package/dist/components/modules/profile/tabs/AboutTab.d.ts.map +0 -1
  489. package/dist/components/modules/profile/tabs/AboutTab.js +0 -9
  490. package/dist/components/modules/profile/tabs/AboutTab.js.map +0 -1
  491. package/dist/components/modules/profile/tabs/CareerTab.d.ts +0 -8
  492. package/dist/components/modules/profile/tabs/CareerTab.d.ts.map +0 -1
  493. package/dist/components/modules/profile/tabs/CareerTab.js +0 -57
  494. package/dist/components/modules/profile/tabs/CareerTab.js.map +0 -1
  495. package/dist/components/modules/profile/tabs/FriendsTab.d.ts +0 -7
  496. package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +0 -1
  497. package/dist/components/modules/profile/tabs/FriendsTab.js +0 -46
  498. package/dist/components/modules/profile/tabs/FriendsTab.js.map +0 -1
  499. package/dist/components/modules/profile/tabs/GamesTab.d.ts +0 -7
  500. package/dist/components/modules/profile/tabs/GamesTab.d.ts.map +0 -1
  501. package/dist/components/modules/profile/tabs/GamesTab.js +0 -24
  502. package/dist/components/modules/profile/tabs/GamesTab.js.map +0 -1
  503. package/dist/components/modules/profile/tabs/GroupsTab.d.ts +0 -7
  504. package/dist/components/modules/profile/tabs/GroupsTab.d.ts.map +0 -1
  505. package/dist/components/modules/profile/tabs/GroupsTab.js +0 -9
  506. package/dist/components/modules/profile/tabs/GroupsTab.js.map +0 -1
  507. package/dist/components/modules/profile/tabs/MediaTab.d.ts +0 -7
  508. package/dist/components/modules/profile/tabs/MediaTab.d.ts.map +0 -1
  509. package/dist/components/modules/profile/tabs/MediaTab.js +0 -81
  510. package/dist/components/modules/profile/tabs/MediaTab.js.map +0 -1
  511. package/dist/components/modules/profile/tabs/PostsTab.js +0 -34
  512. package/dist/components/modules/profile/tabs/PostsTab.js.map +0 -1
  513. package/dist/components/modules/profile/tabs/QuestionsTab.d.ts +0 -6
  514. package/dist/components/modules/profile/tabs/QuestionsTab.d.ts.map +0 -1
  515. package/dist/components/modules/profile/tabs/QuestionsTab.js +0 -39
  516. package/dist/components/modules/profile/tabs/QuestionsTab.js.map +0 -1
  517. package/dist/components/modules/profile/tabs/WallTab.js +0 -40
  518. package/dist/components/modules/profile/tabs/WallTab.js.map +0 -1
  519. package/dist/components/modules/profile/widgets/EditProfileModal.d.ts +0 -9
  520. package/dist/components/modules/profile/widgets/EditProfileModal.d.ts.map +0 -1
  521. package/dist/components/modules/profile/widgets/EditProfileModal.js +0 -78
  522. package/dist/components/modules/profile/widgets/EditProfileModal.js.map +0 -1
  523. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts +0 -2
  524. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts.map +0 -1
  525. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js +0 -14
  526. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js.map +0 -1
  527. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts +0 -8
  528. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts.map +0 -1
  529. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js +0 -12
  530. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js.map +0 -1
  531. package/dist/components/modules/profile/widgets/ProfileGamesWidget.d.ts +0 -7
  532. package/dist/components/modules/profile/widgets/ProfileGamesWidget.d.ts.map +0 -1
  533. package/dist/components/modules/profile/widgets/ProfileGamesWidget.js +0 -11
  534. package/dist/components/modules/profile/widgets/ProfileGamesWidget.js.map +0 -1
  535. package/dist/components/modules/profile/widgets/ProfileGroupsWidget.d.ts +0 -7
  536. package/dist/components/modules/profile/widgets/ProfileGroupsWidget.d.ts.map +0 -1
  537. package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js +0 -11
  538. package/dist/components/modules/profile/widgets/ProfileGroupsWidget.js.map +0 -1
  539. package/dist/components/modules/profile/widgets/ProfileHeader.d.ts +0 -9
  540. package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +0 -1
  541. package/dist/components/modules/profile/widgets/ProfileHeader.js +0 -44
  542. package/dist/components/modules/profile/widgets/ProfileHeader.js.map +0 -1
  543. package/dist/components/modules/profile/widgets/ProfileInfoWidget.d.ts +0 -10
  544. package/dist/components/modules/profile/widgets/ProfileInfoWidget.d.ts.map +0 -1
  545. package/dist/components/modules/profile/widgets/ProfileInfoWidget.js +0 -41
  546. package/dist/components/modules/profile/widgets/ProfileInfoWidget.js.map +0 -1
  547. package/dist/components/modules/profile/widgets/ProfileStats.d.ts +0 -9
  548. package/dist/components/modules/profile/widgets/ProfileStats.d.ts.map +0 -1
  549. package/dist/components/modules/profile/widgets/ProfileStats.js +0 -26
  550. package/dist/components/modules/profile/widgets/ProfileStats.js.map +0 -1
  551. package/dist/components/modules/profile/widgets/ProfileTabsArea.js +0 -61
  552. package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +0 -1
  553. package/dist/components/modules/profile/widgets/SoulmateSelectorModal.d.ts +0 -10
  554. package/dist/components/modules/profile/widgets/SoulmateSelectorModal.d.ts.map +0 -1
  555. package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts +0 -11
  556. package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts.map +0 -1
  557. package/dist/components/modules/profile/widgets/TeamSelectorModal.js +0 -18
  558. package/dist/components/modules/profile/widgets/TeamSelectorModal.js.map +0 -1
  559. package/dist/components/modules/shop/CartLayout.d.ts +0 -12
  560. package/dist/components/modules/shop/CartLayout.d.ts.map +0 -1
  561. package/dist/components/modules/shop/CartLayout.js +0 -14
  562. package/dist/components/modules/shop/CartLayout.js.map +0 -1
  563. package/dist/components/modules/shop/CheckoutLayout.d.ts +0 -8
  564. package/dist/components/modules/shop/CheckoutLayout.d.ts.map +0 -1
  565. package/dist/components/modules/shop/CheckoutLayout.js +0 -23
  566. package/dist/components/modules/shop/CheckoutLayout.js.map +0 -1
  567. package/dist/components/modules/shop/DetailLayout.d.ts +0 -8
  568. package/dist/components/modules/shop/DetailLayout.d.ts.map +0 -1
  569. package/dist/components/modules/shop/DetailLayout.js +0 -24
  570. package/dist/components/modules/shop/DetailLayout.js.map +0 -1
  571. package/dist/components/modules/shop/OrdersLayout.d.ts +0 -15
  572. package/dist/components/modules/shop/OrdersLayout.d.ts.map +0 -1
  573. package/dist/components/modules/shop/OrdersLayout.js +0 -8
  574. package/dist/components/modules/shop/OrdersLayout.js.map +0 -1
  575. package/dist/components/modules/shop/widgets/BackToStore.d.ts +0 -2
  576. package/dist/components/modules/shop/widgets/BackToStore.d.ts.map +0 -1
  577. package/dist/components/modules/shop/widgets/BackToStore.js +0 -13
  578. package/dist/components/modules/shop/widgets/BackToStore.js.map +0 -1
  579. package/dist/components/modules/shop/widgets/CategoryWidget.d.ts +0 -8
  580. package/dist/components/modules/shop/widgets/CategoryWidget.d.ts.map +0 -1
  581. package/dist/components/modules/shop/widgets/CategoryWidget.js +0 -23
  582. package/dist/components/modules/shop/widgets/CategoryWidget.js.map +0 -1
  583. package/dist/components/modules/shop/widgets/ProductCard.d.ts +0 -8
  584. package/dist/components/modules/shop/widgets/ProductCard.d.ts.map +0 -1
  585. package/dist/components/modules/shop/widgets/ProductCard.js +0 -10
  586. package/dist/components/modules/shop/widgets/ProductCard.js.map +0 -1
  587. package/dist/components/modules/shop/widgets/StoreHeader.d.ts +0 -6
  588. package/dist/components/modules/shop/widgets/StoreHeader.d.ts.map +0 -1
  589. package/dist/components/modules/shop/widgets/StoreHeader.js +0 -9
  590. package/dist/components/modules/shop/widgets/StoreHeader.js.map +0 -1
  591. package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts +0 -7
  592. package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts.map +0 -1
  593. package/dist/components/modules/shop/widgets/StoreProductGrid.js +0 -13
  594. package/dist/components/modules/shop/widgets/StoreProductGrid.js.map +0 -1
  595. package/dist/components/modules/shop/widgets/StoreSearchBar.d.ts +0 -9
  596. package/dist/components/modules/shop/widgets/StoreSearchBar.d.ts.map +0 -1
  597. package/dist/components/modules/shop/widgets/StoreSearchBar.js +0 -9
  598. package/dist/components/modules/shop/widgets/StoreSearchBar.js.map +0 -1
  599. package/dist/components/modules/shop/widgets/StoreSidebar.d.ts +0 -8
  600. package/dist/components/modules/shop/widgets/StoreSidebar.d.ts.map +0 -1
  601. package/dist/components/modules/shop/widgets/StoreSidebar.js +0 -8
  602. package/dist/components/modules/shop/widgets/StoreSidebar.js.map +0 -1
  603. package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts +0 -2
  604. package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts.map +0 -1
  605. package/dist/components/modules/shop/widgets/StoreTrustBadges.js +0 -29
  606. package/dist/components/modules/shop/widgets/StoreTrustBadges.js.map +0 -1
  607. package/dist/components/modules/social/SocialLayout.js +0 -113
  608. package/dist/components/modules/social/SocialLayout.js.map +0 -1
  609. package/dist/components/modules/social/widgets/EconomyWidget.d.ts +0 -2
  610. package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +0 -1
  611. package/dist/components/modules/social/widgets/EconomyWidget.js +0 -55
  612. package/dist/components/modules/social/widgets/EconomyWidget.js.map +0 -1
  613. package/dist/components/modules/social/widgets/LeagueWidget.d.ts +0 -2
  614. package/dist/components/modules/social/widgets/LeagueWidget.d.ts.map +0 -1
  615. package/dist/components/modules/social/widgets/LeagueWidget.js +0 -50
  616. package/dist/components/modules/social/widgets/LeagueWidget.js.map +0 -1
  617. package/dist/components/modules/social/widgets/MinecraftWidget.d.ts +0 -2
  618. package/dist/components/modules/social/widgets/MinecraftWidget.d.ts.map +0 -1
  619. package/dist/components/modules/social/widgets/MinecraftWidget.js +0 -53
  620. package/dist/components/modules/social/widgets/MinecraftWidget.js.map +0 -1
  621. package/dist/components/modules/social/widgets/NewMembersWidget.d.ts +0 -2
  622. package/dist/components/modules/social/widgets/NewMembersWidget.d.ts.map +0 -1
  623. package/dist/components/modules/social/widgets/NewMembersWidget.js +0 -36
  624. package/dist/components/modules/social/widgets/NewMembersWidget.js.map +0 -1
  625. package/dist/components/modules/social/widgets/PostComposer.d.ts +0 -15
  626. package/dist/components/modules/social/widgets/PostComposer.d.ts.map +0 -1
  627. package/dist/components/modules/social/widgets/PostComposer.js +0 -164
  628. package/dist/components/modules/social/widgets/PostComposer.js.map +0 -1
  629. package/dist/components/modules/social/widgets/RankingWidget.d.ts +0 -5
  630. package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +0 -1
  631. package/dist/components/modules/social/widgets/RankingWidget.js +0 -78
  632. package/dist/components/modules/social/widgets/RankingWidget.js.map +0 -1
  633. package/dist/components/modules/social/widgets/SocialSidebar.d.ts +0 -2
  634. package/dist/components/modules/social/widgets/SocialSidebar.d.ts.map +0 -1
  635. package/dist/components/modules/social/widgets/TrendingWidget.d.ts +0 -3
  636. package/dist/components/modules/social/widgets/TrendingWidget.d.ts.map +0 -1
  637. package/dist/components/modules/social/widgets/TrendingWidget.js +0 -34
  638. package/dist/components/modules/social/widgets/TrendingWidget.js.map +0 -1
  639. package/dist/components/modules/stations/widgets/StationCard.d.ts +0 -3
  640. package/dist/components/modules/stations/widgets/StationCard.d.ts.map +0 -1
  641. package/dist/components/modules/stations/widgets/StationCard.js +0 -26
  642. package/dist/components/modules/stations/widgets/StationCard.js.map +0 -1
  643. package/dist/components/modules/stations/widgets/StationQRModal.d.ts +0 -10
  644. package/dist/components/modules/stations/widgets/StationQRModal.d.ts.map +0 -1
  645. package/dist/components/modules/stations/widgets/StationQRModal.js +0 -13
  646. package/dist/components/modules/stations/widgets/StationQRModal.js.map +0 -1
  647. package/dist/components/modules/stories/widgets/AddStoryModal.d.ts +0 -13
  648. package/dist/components/modules/stories/widgets/AddStoryModal.d.ts.map +0 -1
  649. package/dist/components/modules/stories/widgets/AddStoryModal.js +0 -11
  650. package/dist/components/modules/stories/widgets/AddStoryModal.js.map +0 -1
  651. package/dist/components/modules/stories/widgets/Stories.d.ts +0 -2
  652. package/dist/components/modules/stories/widgets/Stories.d.ts.map +0 -1
  653. package/dist/components/modules/stories/widgets/Stories.js +0 -151
  654. package/dist/components/modules/stories/widgets/Stories.js.map +0 -1
  655. package/dist/components/modules/stories/widgets/StoryOverlay.d.ts +0 -10
  656. package/dist/components/modules/stories/widgets/StoryOverlay.d.ts.map +0 -1
  657. package/dist/components/modules/stories/widgets/StoryOverlay.js +0 -205
  658. package/dist/components/modules/stories/widgets/StoryOverlay.js.map +0 -1
  659. package/dist/components/modules/support/pages/SupportPage.d.ts +0 -2
  660. package/dist/components/modules/support/pages/SupportPage.d.ts.map +0 -1
  661. package/dist/components/modules/support/pages/SupportPage.js +0 -47
  662. package/dist/components/modules/support/pages/SupportPage.js.map +0 -1
  663. package/dist/components/shared/AnimatedStat.d.ts +0 -13
  664. package/dist/components/shared/AnimatedStat.d.ts.map +0 -1
  665. package/dist/components/shared/AnimatedStat.js +0 -20
  666. package/dist/components/shared/AnimatedStat.js.map +0 -1
  667. package/dist/components/shared/DevTools.d.ts +0 -2
  668. package/dist/components/shared/DevTools.d.ts.map +0 -1
  669. package/dist/components/shared/DevTools.js +0 -32
  670. package/dist/components/shared/DevTools.js.map +0 -1
  671. package/dist/components/shared/FilterTabs.d.ts +0 -16
  672. package/dist/components/shared/FilterTabs.d.ts.map +0 -1
  673. package/dist/components/shared/FilterTabs.js +0 -18
  674. package/dist/components/shared/FilterTabs.js.map +0 -1
  675. package/dist/components/shared/FloatingChatButton.js +0 -21
  676. package/dist/components/shared/FloatingChatButton.js.map +0 -1
  677. package/dist/components/shared/Footer.d.ts +0 -2
  678. package/dist/components/shared/Footer.d.ts.map +0 -1
  679. package/dist/components/shared/Footer.js +0 -10
  680. package/dist/components/shared/Footer.js.map +0 -1
  681. package/dist/components/shared/ListToolbar.d.ts +0 -32
  682. package/dist/components/shared/ListToolbar.d.ts.map +0 -1
  683. package/dist/components/shared/ListToolbar.js +0 -13
  684. package/dist/components/shared/ListToolbar.js.map +0 -1
  685. package/dist/components/shared/MainLayoutWrapper.d.ts +0 -5
  686. package/dist/components/shared/MainLayoutWrapper.d.ts.map +0 -1
  687. package/dist/components/shared/MainLayoutWrapper.js +0 -8
  688. package/dist/components/shared/MainLayoutWrapper.js.map +0 -1
  689. package/dist/components/shared/NotFound.d.ts +0 -21
  690. package/dist/components/shared/NotFound.d.ts.map +0 -1
  691. package/dist/components/shared/NotFound.js +0 -7
  692. package/dist/components/shared/NotFound.js.map +0 -1
  693. package/dist/components/shared/PageWidth.d.ts +0 -6
  694. package/dist/components/shared/PageWidth.d.ts.map +0 -1
  695. package/dist/components/shared/PageWidth.js +0 -14
  696. package/dist/components/shared/PageWidth.js.map +0 -1
  697. package/dist/components/shared/RegisterModal.d.ts +0 -7
  698. package/dist/components/shared/RegisterModal.d.ts.map +0 -1
  699. package/dist/components/shared/SearchBar.d.ts +0 -14
  700. package/dist/components/shared/SearchBar.d.ts.map +0 -1
  701. package/dist/components/shared/SearchBar.js +0 -21
  702. package/dist/components/shared/SearchBar.js.map +0 -1
  703. package/dist/components/shared/UserDrawer.d.ts +0 -23
  704. package/dist/components/shared/UserDrawer.d.ts.map +0 -1
  705. package/dist/components/shared/UserDrawer.js +0 -47
  706. package/dist/components/shared/UserDrawer.js.map +0 -1
  707. package/dist/components/showcase/AuthTab.js +0 -14
  708. package/dist/components/showcase/AuthTab.js.map +0 -1
  709. package/dist/components/showcase/CommunityTab.js +0 -6
  710. package/dist/components/showcase/CommunityTab.js.map +0 -1
  711. package/dist/components/showcase/CorporateTab.js +0 -20
  712. package/dist/components/showcase/CorporateTab.js.map +0 -1
  713. package/dist/components/showcase/GeneralTab.js +0 -6
  714. package/dist/components/showcase/GeneralTab.js.map +0 -1
  715. package/dist/components/showcase/GroupTab.d.ts +0 -2
  716. package/dist/components/showcase/GroupTab.d.ts.map +0 -1
  717. package/dist/components/showcase/GroupTab.js +0 -111
  718. package/dist/components/showcase/GroupTab.js.map +0 -1
  719. package/dist/components/showcase/MessagesTab.js +0 -25
  720. package/dist/components/showcase/MessagesTab.js.map +0 -1
  721. package/dist/components/showcase/MyPostsTab.js +0 -12
  722. package/dist/components/showcase/MyPostsTab.js.map +0 -1
  723. package/dist/components/showcase/ReelsTab.d.ts +0 -2
  724. package/dist/components/showcase/ReelsTab.d.ts.map +0 -1
  725. package/dist/components/showcase/ReelsTab.js +0 -97
  726. package/dist/components/showcase/ReelsTab.js.map +0 -1
  727. package/dist/components/showcase/RulesTab.d.ts +0 -2
  728. package/dist/components/showcase/RulesTab.d.ts.map +0 -1
  729. package/dist/components/showcase/RulesTab.js +0 -18
  730. package/dist/components/showcase/RulesTab.js.map +0 -1
  731. package/dist/components/showcase/ShopTab.js +0 -63
  732. package/dist/components/showcase/ShopTab.js.map +0 -1
  733. package/dist/components/showcase/ShowcaseNavigation.d.ts +0 -2
  734. package/dist/components/showcase/ShowcaseNavigation.d.ts.map +0 -1
  735. package/dist/components/showcase/ShowcaseNavigation.js +0 -129
  736. package/dist/components/showcase/ShowcaseNavigation.js.map +0 -1
  737. package/dist/components/showcase/SocialTab.js +0 -61
  738. package/dist/components/showcase/SocialTab.js.map +0 -1
  739. package/dist/components/showcase/StoriesTab.js +0 -7
  740. package/dist/components/showcase/StoriesTab.js.map +0 -1
  741. package/dist/context/ArmoyuContext.d.ts +0 -45
  742. package/dist/context/ArmoyuContext.d.ts.map +0 -1
  743. package/dist/context/ArmoyuContext.js +0 -92
  744. package/dist/context/ArmoyuContext.js.map +0 -1
  745. package/dist/context/AuthContext.d.ts +0 -23
  746. package/dist/context/AuthContext.d.ts.map +0 -1
  747. package/dist/context/AuthContext.js +0 -154
  748. package/dist/context/AuthContext.js.map +0 -1
  749. package/dist/context/CartContext.d.ts +0 -18
  750. package/dist/context/CartContext.d.ts.map +0 -1
  751. package/dist/context/CartContext.js +0 -63
  752. package/dist/context/CartContext.js.map +0 -1
  753. package/dist/context/ChatContext.d.ts +0 -27
  754. package/dist/context/ChatContext.d.ts.map +0 -1
  755. package/dist/context/ChatContext.js +0 -170
  756. package/dist/context/ChatContext.js.map +0 -1
  757. package/dist/context/LayoutContext.d.ts +0 -11
  758. package/dist/context/LayoutContext.d.ts.map +0 -1
  759. package/dist/context/LayoutContext.js +0 -17
  760. package/dist/context/LayoutContext.js.map +0 -1
  761. package/dist/context/SocketContext.d.ts +0 -13
  762. package/dist/context/SocketContext.d.ts.map +0 -1
  763. package/dist/context/SocketContext.js +0 -32
  764. package/dist/context/SocketContext.js.map +0 -1
  765. package/dist/context/ThemeContext.d.ts +0 -14
  766. package/dist/context/ThemeContext.d.ts.map +0 -1
  767. package/dist/context/ThemeContext.js +0 -52
  768. package/dist/context/ThemeContext.js.map +0 -1
  769. package/dist/lib/ArmoyuUI.d.ts +0 -18
  770. package/dist/lib/ArmoyuUI.d.ts.map +0 -1
  771. package/dist/lib/constants/educationData.d.ts +0 -11
  772. package/dist/lib/constants/educationData.d.ts.map +0 -1
  773. package/dist/lib/constants/educationData.js +0 -121
  774. package/dist/lib/constants/educationData.js.map +0 -1
  775. package/dist/lib/constants/punishmentData.d.ts +0 -30
  776. package/dist/lib/constants/punishmentData.d.ts.map +0 -1
  777. package/dist/lib/constants/punishmentData.js +0 -184
  778. package/dist/lib/constants/punishmentData.js.map +0 -1
  779. package/dist/lib/constants/seedData.d.ts +0 -182
  780. package/dist/lib/constants/seedData.d.ts.map +0 -1
  781. package/dist/lib/constants/seedData.js +0 -743
  782. package/dist/lib/constants/seedData.js.map +0 -1
  783. package/dist/lib/constants/stationData.d.ts +0 -16
  784. package/dist/lib/constants/stationData.d.ts.map +0 -1
  785. package/dist/lib/constants/stationData.js +0 -206
  786. package/dist/lib/constants/stationData.js.map +0 -1
  787. package/dist/lib/constants/surveyData.d.ts +0 -3
  788. package/dist/lib/constants/surveyData.d.ts.map +0 -1
  789. package/dist/lib/constants/surveyData.js +0 -51
  790. package/dist/lib/constants/surveyData.js.map +0 -1
  791. package/dist/lib/constants/teamData.d.ts +0 -19
  792. package/dist/lib/constants/teamData.d.ts.map +0 -1
  793. package/dist/lib/constants/teamData.js +0 -56
  794. package/dist/lib/constants/teamData.js.map +0 -1
  795. package/dist/lib/utils/numberFormat.d.ts +0 -10
  796. package/dist/lib/utils/numberFormat.d.ts.map +0 -1
  797. package/dist/lib/utils/numberFormat.js +0 -17
  798. package/dist/lib/utils/numberFormat.js.map +0 -1
  799. package/dist/lib/utils/odpUtils.d.ts +0 -16
  800. package/dist/lib/utils/odpUtils.d.ts.map +0 -1
  801. package/dist/lib/utils/odpUtils.js +0 -44
  802. package/dist/lib/utils/odpUtils.js.map +0 -1
  803. package/dist/lib/utils/postUtils.d.ts +0 -7
  804. package/dist/lib/utils/postUtils.d.ts.map +0 -1
  805. package/dist/lib/utils/postUtils.js +0 -40
  806. package/dist/lib/utils/postUtils.js.map +0 -1
  807. package/dist/models/auth/Session.d.ts +0 -24
  808. package/dist/models/auth/Session.d.ts.map +0 -1
  809. package/dist/models/auth/User.d.ts +0 -99
  810. package/dist/models/auth/User.d.ts.map +0 -1
  811. package/dist/models/auth/User.js +0 -236
  812. package/dist/models/auth/User.js.map +0 -1
  813. package/dist/models/community/ArmoyuEvent.d.ts +0 -62
  814. package/dist/models/community/ArmoyuEvent.d.ts.map +0 -1
  815. package/dist/models/community/ArmoyuEvent.js +0 -149
  816. package/dist/models/community/ArmoyuEvent.js.map +0 -1
  817. package/dist/models/community/Classroom.d.ts +0 -24
  818. package/dist/models/community/Classroom.d.ts.map +0 -1
  819. package/dist/models/community/Faculty.d.ts +0 -22
  820. package/dist/models/community/Faculty.d.ts.map +0 -1
  821. package/dist/models/community/Group.d.ts +0 -38
  822. package/dist/models/community/Group.d.ts.map +0 -1
  823. package/dist/models/community/School.d.ts +0 -28
  824. package/dist/models/community/School.d.ts.map +0 -1
  825. package/dist/models/community/SchoolTeam.d.ts +0 -27
  826. package/dist/models/community/SchoolTeam.d.ts.map +0 -1
  827. package/dist/models/community/Station.d.ts +0 -81
  828. package/dist/models/community/Station.d.ts.map +0 -1
  829. package/dist/models/community/Survey.d.ts +0 -27
  830. package/dist/models/community/Survey.d.ts.map +0 -1
  831. package/dist/models/community/Team.d.ts +0 -22
  832. package/dist/models/community/Team.d.ts.map +0 -1
  833. package/dist/models/community/Team.js +0 -60
  834. package/dist/models/community/Team.js.map +0 -1
  835. package/dist/models/content/Mod.d.ts +0 -21
  836. package/dist/models/content/Mod.d.ts.map +0 -1
  837. package/dist/models/content/News.d.ts +0 -41
  838. package/dist/models/content/News.d.ts.map +0 -1
  839. package/dist/models/content/Project.d.ts +0 -27
  840. package/dist/models/content/Project.d.ts.map +0 -1
  841. package/dist/models/core/PlatformStats.d.ts +0 -46
  842. package/dist/models/core/PlatformStats.d.ts.map +0 -1
  843. package/dist/models/core/PlatformStats.js +0 -88
  844. package/dist/models/core/PlatformStats.js.map +0 -1
  845. package/dist/models/core/SystemSettings.d.ts +0 -38
  846. package/dist/models/core/SystemSettings.d.ts.map +0 -1
  847. package/dist/models/core/SystemSettings.js +0 -64
  848. package/dist/models/core/SystemSettings.js.map +0 -1
  849. package/dist/models/index.d.ts +0 -58
  850. package/dist/models/index.d.ts.map +0 -1
  851. package/dist/models/social/chat/Chat.d.ts +0 -26
  852. package/dist/models/social/chat/Chat.d.ts.map +0 -1
  853. package/dist/models/social/chat/Message.d.ts +0 -18
  854. package/dist/models/social/chat/Message.d.ts.map +0 -1
  855. package/dist/models/social/feed/Comment.d.ts +0 -21
  856. package/dist/models/social/feed/Comment.d.ts.map +0 -1
  857. package/dist/models/social/feed/Post.d.ts +0 -29
  858. package/dist/models/social/feed/Post.d.ts.map +0 -1
  859. package/dist/models/social/feed/Post.js +0 -57
  860. package/dist/models/social/feed/Post.js.map +0 -1
  861. package/dist/models/social/stats/Leaderboard.d.ts +0 -29
  862. package/dist/models/social/stats/Leaderboard.d.ts.map +0 -1
  863. package/dist/models/social/user/BlockedUser.d.ts +0 -15
  864. package/dist/models/social/user/BlockedUser.d.ts.map +0 -1
  865. package/dist/types/index.d.ts +0 -4
  866. package/dist/types/index.d.ts.map +0 -1
  867. package/dist/types/index.js +0 -4
  868. package/dist/types/index.js.map +0 -1
  869. package/dist/types/stats.d.ts +0 -18
  870. package/dist/types/stats.d.ts.map +0 -1
  871. package/dist/types/stats.js +0 -2
  872. package/dist/types/stats.js.map +0 -1
  873. package/dist/utils/text/MentionUtils.d.ts +0 -8
  874. package/dist/utils/text/MentionUtils.d.ts.map +0 -1
@@ -1,151 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useState, useEffect } from 'react';
3
- import { MOCK_STORIES } from '../../../../lib/constants/seedData';
4
- import { StoryOverlay } from './StoryOverlay';
5
- import { CloudModal } from '../../cloud/CloudModal';
6
- import { AddStoryModal } from './AddStoryModal';
7
- import { Story } from '../../../../models/social/feed/Story';
8
- import { StoryAuthor } from '../../../../models/social/feed/StoryAuthor';
9
- import { useAuth } from '../../../../context/AuthContext';
10
- import { useArmoyu } from '../../../../context/ArmoyuContext';
11
- export function Stories() {
12
- const { api, isMockEnabled } = useArmoyu();
13
- const { user: currentUser } = useAuth();
14
- const [stories, setStories] = useState([]);
15
- const [myStories, setMyStories] = useState([]);
16
- const [loading, setLoading] = useState(true);
17
- const [activeStoryIndex, setActiveStoryIndex] = useState(null);
18
- const [showMyOverlay, setShowMyOverlay] = useState(false);
19
- // Modals state
20
- const [isCloudOpen, setIsCloudOpen] = useState(false);
21
- const [isShareModalOpen, setIsShareModalOpen] = useState(false);
22
- const [selectedMedia, setSelectedMedia] = useState(null);
23
- const [shareLoading, setShareLoading] = useState(false);
24
- const fetchStories = async () => {
25
- setLoading(true);
26
- try {
27
- if (isMockEnabled) {
28
- setStories(MOCK_STORIES);
29
- setMyStories([]);
30
- setLoading(false);
31
- return;
32
- }
33
- const response = await api.stories.getStories();
34
- if (response.durum === 1 && response.icerik) {
35
- const mappedStories = response.icerik.map((s) => Story.fromAPI(s));
36
- // Benim hikayelerimi ve diğerlerini ayır (authorId ile currentUser.id karşılaştır)
37
- const currentUserId = Number(currentUser?.id || 0);
38
- const mine = [];
39
- const others = [];
40
- for (const s of mappedStories) {
41
- if ((s.author?.id && s.author.id === currentUserId) ||
42
- s.author?.isMe === true) {
43
- mine.push(s);
44
- }
45
- else {
46
- others.push(s);
47
- }
48
- }
49
- setMyStories(mine);
50
- // "Ben" öğesi: her zaman en başta
51
- const meItem = new Story({
52
- id: 'me-story',
53
- author: new StoryAuthor({
54
- username: currentUser?.username || '',
55
- displayName: currentUser?.displayName || '',
56
- avatar: currentUser?.avatar || '',
57
- isMe: true
58
- }),
59
- isRead: false, // mavi kenarlık için her zaman false
60
- media: mine.length > 0 ? mine[0].media : '',
61
- });
62
- // Ben en başta, sonra diğerleri
63
- setStories([meItem, ...others]);
64
- }
65
- else {
66
- setStories(MOCK_STORIES);
67
- setMyStories([]);
68
- }
69
- }
70
- catch (error) {
71
- console.error('[ARMOYU] Stories fetch error:', error);
72
- setStories(MOCK_STORIES);
73
- setMyStories([]);
74
- }
75
- finally {
76
- setLoading(false);
77
- }
78
- };
79
- useEffect(() => {
80
- if (currentUser || isMockEnabled) {
81
- fetchStories();
82
- }
83
- else {
84
- setStories([]);
85
- setLoading(false);
86
- }
87
- }, [api, isMockEnabled, currentUser]);
88
- const handleMediaSelect = (media) => {
89
- setSelectedMedia(media);
90
- setIsCloudOpen(false);
91
- setIsShareModalOpen(true);
92
- };
93
- const handleShare = async (text) => {
94
- if (!selectedMedia)
95
- return;
96
- setShareLoading(true);
97
- try {
98
- const response = await api.stories.addStory(selectedMedia.url, text);
99
- if (response.durum === 1) {
100
- setIsShareModalOpen(false);
101
- setSelectedMedia(null);
102
- fetchStories();
103
- }
104
- else {
105
- alert(response.aciklama || 'Paylaşım başarısız.');
106
- }
107
- }
108
- catch (err) {
109
- console.error('[Stories] Share error:', err);
110
- alert('Bir hata oluştu.');
111
- }
112
- finally {
113
- setShareLoading(false);
114
- }
115
- };
116
- const handleStoryClick = (story, idx) => {
117
- if (story.id === 'me-story') {
118
- // "Ben"'e tıklandı
119
- if (myStories.length > 0) {
120
- // Benim hikayelerim var → StoryOverlay aç (sadece benim hikayelerimle)
121
- setShowMyOverlay(true);
122
- }
123
- else {
124
- // Hikayeleri yok → CloudModal aç
125
- setIsCloudOpen(true);
126
- }
127
- return;
128
- }
129
- // Diğer kullanıcıların hikayesi → normal overlay
130
- setActiveStoryIndex(idx);
131
- };
132
- const handleAddStoryFromOverlay = () => {
133
- console.log('[ARMOYU] Transitioning from Overlay to Cloud...');
134
- setShowMyOverlay(false);
135
- setActiveStoryIndex(null);
136
- setIsCloudOpen(true);
137
- };
138
- // Diğer kullanıcıların hikayeleri (overlay için)
139
- const otherStories = stories.filter(s => s.id !== 'me-story');
140
- if (loading && stories.length === 0) {
141
- return (_jsx("div", { className: "w-full bg-armoyu-card-bg border border-armoyu-card-border rounded-3xl p-4 shadow-sm overflow-hidden mb-6 flex gap-4 animate-pulse", children: [1, 2, 3, 4, 5].map((i) => (_jsxs("div", { className: "flex flex-col items-center gap-2 shrink-0", children: [_jsx("div", { className: "w-14 h-14 rounded-full bg-gray-200 dark:bg-white/5" }), _jsx("div", { className: "h-2 w-10 bg-gray-200 dark:bg-white/5 rounded" })] }, i))) }));
142
- }
143
- if (stories.length === 0)
144
- return null;
145
- 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: stories.map((story, idx) => (_jsx(StoryItem, { story: story, onClick: () => handleStoryClick(story, idx) }, story.id || idx))) }), showMyOverlay && myStories.length > 0 && (_jsx(StoryOverlay, { stories: myStories, initialStoryIndex: 0, onClose: () => setShowMyOverlay(false), onAddStory: handleAddStoryFromOverlay })), activeStoryIndex !== null && (_jsx(StoryOverlay, { stories: otherStories, initialStoryIndex: otherStories.findIndex(s => s.id === stories[activeStoryIndex]?.id), onClose: () => setActiveStoryIndex(null), onAddStory: handleAddStoryFromOverlay })), _jsx(CloudModal, { isOpen: isCloudOpen, onClose: () => setIsCloudOpen(false), isSelectionMode: true, onSelectMedia: handleMediaSelect }), _jsx(AddStoryModal, { isOpen: isShareModalOpen, onClose: () => setIsShareModalOpen(false), media: selectedMedia, onShare: handleShare, loading: shareLoading })] }));
146
- }
147
- function StoryItem({ story, onClick }) {
148
- const isMe = story.author?.isMe || false;
149
- return (_jsxs("div", { className: "flex flex-col items-center gap-1.5 shrink-0 cursor-pointer group", onClick: onClick, children: [_jsx("div", { className: `p-0.5 rounded-full border-2 ${isMe ? 'border-armoyu-primary' : story.isRead ? 'border-gray-300 dark:border-white/10' : 'border-armoyu-primary'} transition-all group-hover:scale-105 active:scale-95`, children: _jsxs("div", { className: "w-14 h-14 rounded-full border border-white/10 overflow-hidden relative", children: [story.author?.avatar ? (_jsx("img", { src: story.author.avatar, className: "w-full h-full object-cover", alt: "" })) : (_jsx("div", { className: "w-full h-full bg-gradient-to-br from-armoyu-primary to-purple-600 flex items-center justify-center text-white font-bold text-lg", children: (story.author?.displayName || '?')[0] })), isMe && (_jsx("div", { className: "absolute inset-0 bg-black/10 group-hover:bg-transparent transition-colors flex items-center justify-center", children: _jsx("div", { className: "absolute bottom-0 right-0 w-5 h-5 bg-armoyu-primary rounded-full border-2 border-[#121212] flex items-center justify-center shadow-lg transform group-hover:scale-110 transition-transform", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "white", strokeWidth: "4", 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-[10px] text-armoyu-text-secondary truncate w-14 text-center", children: isMe ? 'Ben' : story.author?.displayName || story.author?.username })] }));
150
- }
151
- //# sourceMappingURL=Stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Stories.js","sourceRoot":"","sources":["../../../../../src/components/modules/stories/widgets/Stories.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC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,SAAS,EAAC,wEAAwE,aACpF,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CACtB,cAAK,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,EAAC,4BAA4B,EAAC,GAAG,EAAC,EAAE,GAAG,CAChF,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAC,iIAAiI,YAC7I,CAAC,KAAK,CAAC,MAAM,EAAE,WAAW,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,GAClC,CACP,EACA,IAAI,IAAI,CACP,cAAK,SAAS,EAAC,4GAA4G,YACxH,cAAK,SAAS,EAAC,4LAA4L,YACxM,eAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,OAAO,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,GACtQ,GACH,CACP,IACG,GACF,EACN,eAAM,SAAS,EAAC,kEAAkE,YAC/E,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,EAAE,WAAW,IAAI,KAAK,CAAC,MAAM,EAAE,QAAQ,GAC9D,IACH,CACP,CAAC;AACJ,CAAC"}
@@ -1,10 +0,0 @@
1
- import { Story } from '../../../../models/social/feed/Story';
2
- interface StoryOverlayProps {
3
- stories: Story[];
4
- initialStoryIndex: number;
5
- onClose: () => void;
6
- onAddStory?: () => void;
7
- }
8
- export declare function StoryOverlay({ stories, initialStoryIndex, onClose, onAddStory }: StoryOverlayProps): import("react/jsx-runtime").JSX.Element | null;
9
- export {};
10
- //# sourceMappingURL=StoryOverlay.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StoryOverlay.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/stories/widgets/StoryOverlay.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAU7D,UAAU,iBAAiB;IACzB,OAAO,EAAE,KAAK,EAAE,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,iBAAiB,kDAyXlG"}
@@ -1,205 +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 { useArmoyu } from '../../../../context/ArmoyuContext';
5
- import { useAuth } from '../../../../context/AuthContext';
6
- import dynamic from 'next/dynamic';
7
- const Plyr = dynamic(() => import('plyr-react').then((mod) => mod.Plyr), {
8
- ssr: false,
9
- loading: () => _jsx("div", { className: "w-full h-full bg-black/40 animate-pulse flex items-center justify-center text-white/20 font-black italic", children: "Y\u00DCKLEN\u0130YOR..." })
10
- });
11
- export function StoryOverlay({ stories, initialStoryIndex, onClose, onAddStory }) {
12
- const { api } = useArmoyu();
13
- const { user: currentUser } = useAuth();
14
- const [currentStoryIdx, setCurrentStoryIdx] = useState(initialStoryIndex);
15
- const [currentItemIdx, setCurrentItemIdx] = useState(0);
16
- const [progress, setProgress] = useState(0);
17
- const [mounted, setMounted] = useState(false);
18
- const [lastUpdate, setLastUpdate] = useState(0);
19
- const [showViewers, setShowViewers] = useState(false);
20
- const [viewers, setViewers] = useState([]);
21
- const [loadingViewers, setLoadingViewers] = useState(false);
22
- const story = stories[currentStoryIdx];
23
- const isMe = (story?.author?.id && currentUser?.id)
24
- ? String(story.author.id) === String(currentUser.id)
25
- : (story?.author?.isMe || false);
26
- const items = story?.items || [];
27
- const currentItem = items[currentItemIdx];
28
- const currentMedia = currentItem?.media || story?.media || '';
29
- const currentTimestamp = currentItem?.timestamp || story?.timestamp || '';
30
- useEffect(() => {
31
- setMounted(true);
32
- return () => setMounted(false);
33
- }, []);
34
- // Mark story as viewed
35
- useEffect(() => {
36
- const targetItem = items[currentItemIdx];
37
- if (mounted && targetItem?.id && !targetItem.isRead) {
38
- api.stories.viewStory(Number(targetItem.id)).then(() => {
39
- targetItem.isRead = true;
40
- setLastUpdate(Date.now());
41
- }).catch(err => {
42
- console.error('[ARMOYU] Failed to mark story as viewed:', err);
43
- });
44
- }
45
- }, [currentStoryIdx, currentItemIdx, mounted]);
46
- // Handle auto-next with progress
47
- useEffect(() => {
48
- if (!mounted || showViewers)
49
- return;
50
- setProgress(0);
51
- const duration = 5000;
52
- const interval = 50;
53
- const step = (interval / duration) * 100;
54
- const timer = setInterval(() => {
55
- setProgress((prev) => {
56
- if (prev >= 100) {
57
- return 100; // Stop here, useEffect below will handle transition
58
- }
59
- return prev + step;
60
- });
61
- }, interval);
62
- return () => clearInterval(timer);
63
- }, [currentStoryIdx, currentItemIdx, mounted, showViewers]);
64
- // Separate effect to handle transitions to avoid "update while rendering" error
65
- useEffect(() => {
66
- if (progress >= 100) {
67
- handleNext();
68
- }
69
- }, [progress]);
70
- const handleNext = () => {
71
- if (currentItemIdx < items.length - 1) {
72
- setCurrentItemIdx(prev => prev + 1);
73
- setProgress(0);
74
- return;
75
- }
76
- if (currentStoryIdx < stories.length - 1) {
77
- setCurrentStoryIdx(prev => prev + 1);
78
- setCurrentItemIdx(0);
79
- setProgress(0);
80
- }
81
- else {
82
- onClose();
83
- }
84
- };
85
- const handlePrev = () => {
86
- if (currentItemIdx > 0) {
87
- setCurrentItemIdx(prev => prev - 1);
88
- setProgress(0);
89
- return;
90
- }
91
- if (currentStoryIdx > 0) {
92
- const prevStory = stories[currentStoryIdx - 1];
93
- setCurrentStoryIdx(prev => prev - 1);
94
- setCurrentItemIdx((prevStory?.items?.length || 1) - 1);
95
- setProgress(0);
96
- }
97
- };
98
- const handleLike = async (e) => {
99
- e.stopPropagation();
100
- if (!currentItem?.id)
101
- return;
102
- try {
103
- const isLiked = currentItem.isLiked;
104
- const response = await (isLiked
105
- ? api.stories.unlikeStory(Number(currentItem.id))
106
- : api.stories.likeStory(Number(currentItem.id)));
107
- if (response.durum === 1) {
108
- currentItem.isLiked = !isLiked;
109
- currentItem.likeCount = (currentItem.likeCount || 0) + (currentItem.isLiked ? 1 : -1);
110
- setLastUpdate(Date.now());
111
- }
112
- }
113
- catch (err) {
114
- console.error('[ARMOYU] Toggle like story error:', err);
115
- }
116
- };
117
- const [viewersPage, setViewersPage] = useState(1);
118
- const [hasMoreViewers, setHasMoreViewers] = useState(false);
119
- const fetchViewers = async (loadMore = false) => {
120
- if (!currentItem?.id)
121
- return;
122
- const nextPage = loadMore ? viewersPage + 1 : 1;
123
- setLoadingViewers(true);
124
- setShowViewers(true);
125
- try {
126
- const response = await api.stories.getStoryViewers(nextPage, Number(currentItem.id));
127
- if (response.durum === 1) {
128
- const newViewers = response.icerik || [];
129
- if (loadMore) {
130
- setViewers(prev => [...prev, ...newViewers]);
131
- setViewersPage(nextPage);
132
- }
133
- else {
134
- setViewers(newViewers);
135
- setViewersPage(1);
136
- }
137
- // Eğer gelen veri sayısı 10 ve üzeriyse (varsayılan limit) daha fazlası olabilir
138
- setHasMoreViewers(newViewers.length >= 10);
139
- }
140
- }
141
- catch (err) {
142
- console.error('[ARMOYU] Fetch viewers error:', err);
143
- }
144
- finally {
145
- setLoadingViewers(false);
146
- }
147
- };
148
- const handleDelete = async (e) => {
149
- e.stopPropagation();
150
- if (!currentItem?.id)
151
- return;
152
- if (!confirm('Bu hikayeyi silmek istediğinize emin misiniz?'))
153
- return;
154
- try {
155
- const response = await api.stories.deleteStory(Number(currentItem.id));
156
- if (response.durum === 1) {
157
- onClose();
158
- }
159
- else {
160
- alert(response.aciklama || 'Silme işlemi başarısız.');
161
- }
162
- }
163
- catch (err) {
164
- console.error('[ARMOYU] Delete story error:', err);
165
- }
166
- };
167
- const handleHide = async (e) => {
168
- e.stopPropagation();
169
- if (!currentItem?.id)
170
- return;
171
- if (!confirm('Bu hikayeyi gizlemek istediğinize emin misiniz?'))
172
- return;
173
- try {
174
- const response = await api.stories.hideStory(Number(currentItem.id));
175
- if (response.durum === 1) {
176
- alert('Hikaye gizlendi.');
177
- onClose();
178
- }
179
- else {
180
- alert(response.aciklama || 'Gizleme işlemi başarısız.');
181
- }
182
- }
183
- catch (err) {
184
- console.error('[ARMOYU] Hide story error:', err);
185
- }
186
- };
187
- if (!mounted || !story)
188
- return null;
189
- return (_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: currentMedia, className: "w-full h-full object-cover blur-3xl scale-110", alt: "" }, currentMedia) }), _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: items.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: {
190
- width: idx === currentItemIdx ? `${progress}%` : idx < currentItemIdx ? '100%' : '0%'
191
- } }) }, 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 ${isMe ? 'cursor-pointer' : ''} p-1`, onClick: (e) => {
192
- if (isMe) {
193
- e.stopPropagation();
194
- onAddStory?.();
195
- }
196
- }, children: [_jsxs("div", { className: "relative", children: [_jsx("div", { className: "relative w-11 h-11 rounded-full p-0.5 border-2 border-white/30 overflow-hidden shadow-lg", children: _jsx("img", { src: story.author?.avatar, className: "w-full h-full rounded-full object-cover", alt: "" }) }), isMe && (_jsx("div", { className: "absolute -bottom-1 -right-1 w-5 h-5 bg-armoyu-primary rounded-full flex items-center justify-center border-2 border-[#1a1a1a] text-white shadow-[0_0_10px_rgba(var(--armoyu-primary-rgb),0.5)] z-30", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "4", 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" })] }) }))] }), _jsxs("div", { className: "flex flex-col", children: [_jsx("span", { className: "text-white text-sm font-bold shadow-sm", children: isMe ? 'Ben' : story.author?.displayName || story.author?.username }), _jsx("span", { className: "text-white/60 text-[10px]", children: currentTimestamp || 'Az önce' })] })] }), _jsxs("div", { className: "flex items-center gap-1", children: [isMe ? (_jsx("button", { onClick: handleDelete, className: "p-2 text-white/60 hover:text-red-500 hover:bg-white/10 rounded-full transition-all", title: "Hikayeyi Sil", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M3 6h18" }), _jsx("path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" }), _jsx("path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" }), _jsx("line", { x1: "10", y1: "11", x2: "10", y2: "17" }), _jsx("line", { x1: "14", y1: "11", x2: "14", y2: "17" })] }) })) : (_jsx("button", { onClick: handleHide, className: "p-2 text-white/60 hover:text-amber-500 hover:bg-white/10 rounded-full transition-all", title: "Hikayeyi Gizle", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24" }), _jsx("path", { d: "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }), _jsx("path", { d: "M6.61 6.61A13.52 13.52 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }), _jsx("line", { x1: "2", y1: "2", x2: "22", y2: "22" })] }) })), _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 group/media overflow-hidden", children: [currentItem?.type === 'video' ? (_jsx("div", { className: "w-full h-full bg-black flex items-center justify-center [&_.plyr]:h-full [&_.plyr]:w-full [&_.plyr--video]:h-full [&_video]:h-full [&_video]:w-full", children: _jsx(Plyr, { source: { type: 'video', sources: [{ src: currentMedia }] }, options: {
197
- autoplay: true,
198
- controls: [], // Hide controls for stories
199
- clickToPlay: true,
200
- hideControls: true,
201
- settings: [],
202
- ratio: '9:16'
203
- } }, currentMedia) })) : (_jsx("img", { src: currentMedia, className: "w-full h-full object-cover", alt: "Story Content" })), _jsx("div", { className: "absolute bottom-4 left-4 right-4 z-20 flex items-center justify-between pointer-events-none", children: _jsxs("div", { className: "flex items-center gap-4", children: [_jsxs("button", { onClick: handleLike, className: "pointer-events-auto flex flex-col items-center gap-1 group/like", children: [_jsx("div", { className: `w-10 h-10 rounded-full backdrop-blur-md flex items-center justify-center transition-all active:scale-90 border border-white/10 ${currentItem?.isLiked ? 'bg-red-500 text-white' : 'bg-black/20 text-white hover:bg-white/10'}`, children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: currentItem?.isLiked ? 'currentColor' : 'none', stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: _jsx("path", { d: "M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" }) }) }), _jsx("span", { className: "text-[10px] text-white font-medium shadow-sm", children: currentItem?.likeCount || 0 })] }), isMe && (_jsxs("button", { onClick: (e) => { e.stopPropagation(); fetchViewers(); }, className: "pointer-events-auto flex flex-col items-center gap-1 group/views", children: [_jsx("div", { className: "w-10 h-10 rounded-full bg-black/20 backdrop-blur-md flex items-center justify-center text-white hover:bg-white/10 transition-all active:scale-90 border border-white/10", children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [_jsx("path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }), _jsx("circle", { cx: "12", cy: "12", r: "3" })] }) }), _jsx("span", { className: "text-[10px] text-white font-medium shadow-sm", children: currentItem?.viewCount || 0 })] }))] }) }), _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 })] })] }), _jsx("div", { className: "p-4 bg-black/40 backdrop-blur-md flex gap-3 items-center", children: _jsx("input", { type: "text", placeholder: `@${story.author?.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" }) }), showViewers && (_jsx("div", { className: "absolute inset-0 z-50 bg-black/80 backdrop-blur-xl animate-in slide-in-from-bottom duration-300", children: _jsxs("div", { className: "flex flex-col h-full", children: [_jsxs("div", { className: "p-6 border-b border-white/10 flex items-center justify-between", children: [_jsxs("h3", { className: "text-white font-bold text-lg", children: ["G\u00F6r\u00FCnt\u00FCleyenler (", currentItem?.viewCount || 0, ")"] }), _jsx("button", { onClick: () => setShowViewers(false), className: "text-white/60 hover:text-white", 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", 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 overflow-y-auto p-4 space-y-4", children: [loadingViewers ? (_jsx("div", { className: "flex items-center justify-center h-40", children: _jsx("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-white" }) })) : viewers.length > 0 ? (viewers.map((viewer, idx) => (_jsxs("div", { className: "flex items-center justify-between group", children: [_jsxs("div", { className: "flex items-center gap-3", children: [_jsx("img", { src: viewer.hgoruntuleyen_avatar, className: "w-12 h-12 rounded-full border border-white/10", alt: "" }), _jsxs("div", { className: "flex flex-col", children: [_jsx("span", { className: "text-white font-medium", children: viewer.hgoruntuleyen_adsoyad }), _jsxs("span", { className: "text-white/40 text-xs", children: ["@", viewer.hgoruntuleyen_kullaniciad] })] })] }), viewer.hgoruntuleyen_begenme === 1 && (_jsx("div", { className: "text-red-500", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: _jsx("path", { d: "M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" }) }) }))] }, idx)))) : (_jsx("div", { className: "text-center text-white/40 mt-10", children: "Hen\u00FCz kimse g\u00F6r\u00FCnt\u00FClemedi." })), hasMoreViewers && (_jsx("div", { className: "pt-4 pb-8 flex justify-center", children: _jsx("button", { onClick: () => fetchViewers(true), disabled: loadingViewers, className: "px-6 py-2 bg-white/10 hover:bg-white/20 text-white text-sm font-medium rounded-full transition-all disabled:opacity-50", children: loadingViewers ? 'Yükleniyor...' : 'Daha Fazla Yükle' }) }))] })] }) }))] })] }));
204
- }
205
- //# sourceMappingURL=StoryOverlay.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StoryOverlay.js","sourceRoot":"","sources":["../../../../../src/components/modules/stories/widgets/StoryOverlay.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,OAAO,OAAO,MAAM,cAAc,CAAC;AAEnC,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;IACvE,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,GAAG,EAAE,CAAC,cAAK,SAAS,EAAC,0GAA0G,wCAAoB;CAC7J,CAAC,CAAC;AASH,MAAM,UAAU,YAAY,CAAC,EAAE,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,UAAU,EAAqB;IACjG,MAAM,EAAE,GAAG,EAAE,GAAG,SA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AAC,GAAG,EAAC,EAAE,GAAG,EAC1G,eAAK,SAAS,EAAC,eAAe,aAC5B,eAAM,SAAS,EAAC,wBAAwB,YAAE,MAAM,CAAC,qBAAqB,GAAQ,EAC9E,gBAAM,SAAS,EAAC,uBAAuB,kBAAG,MAAM,CAAC,yBAAyB,IAAQ,IAC9E,IACF,EACL,MAAM,CAAC,qBAAqB,KAAK,CAAC,IAAI,CACrC,cAAK,SAAS,EAAC,cAAc,YAC3B,cAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,cAAc,YAAC,eAAM,CAAC,EAAC,0IAA0I,GAAE,GAAM,GAC7P,CACP,KAZO,GAAG,CAaP,CACP,CAAC,CACH,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAC,iCAAiC,+DAAiC,CAClF,EAEA,cAAc,IAAI,CACjB,cAAK,SAAS,EAAC,+BAA+B,YAC5C,iBACE,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,EACjC,QAAQ,EAAE,cAAc,EACxB,SAAS,EAAC,wHAAwH,YAEjI,cAAc,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,kBAAkB,GAC/C,GACL,CACP,IACG,IACF,GACF,CACP,IACG,IACF,CACP,CAAC;AACJ,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare function SupportPage(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=SupportPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SupportPage.d.ts","sourceRoot":"","sources":["../../../../../src/components/modules/support/pages/SupportPage.tsx"],"names":[],"mappings":"AA6CA,wBAAgB,WAAW,4CAoI1B"}
@@ -1,47 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useState } from 'react';
4
- import { PageWidth } from '../../../shared/PageWidth';
5
- import { Plus, MessageCircle, Clock, CheckCircle2, AlertCircle, Search, ChevronRight, Filter } from 'lucide-react';
6
- const MOCK_TICKETS = [
7
- {
8
- id: 'T-1042',
9
- subject: 'Hesap Doğrulama Hatası',
10
- status: 'Açık',
11
- priority: 'Yüksek',
12
- date: '2 saat önce',
13
- lastMessage: 'Belgeleriniz inceleniyor, lütfen bekleyiniz.',
14
- category: 'Hesap İşlemleri'
15
- },
16
- {
17
- id: 'T-1039',
18
- subject: 'Market Alışverişi Hakkında',
19
- status: 'Yanıtlandı',
20
- priority: 'Normal',
21
- date: '1 gün önce',
22
- lastMessage: 'Ödemeniz onaylandı, teşekkür ederiz.',
23
- category: 'Mağaza'
24
- },
25
- {
26
- id: 'T-1025',
27
- subject: 'Sunucu Bağlantı Sorunu',
28
- status: 'Kapalı',
29
- priority: 'Kritik',
30
- date: '3 gün önce',
31
- lastMessage: 'Sorun çözüldü, iyi oyunlar dileriz.',
32
- category: 'Teknik Destek'
33
- }
34
- ];
35
- export function SupportPage() {
36
- const [activeTab, setActiveTab] = useState('Tümü');
37
- const getStatusStyles = (status) => {
38
- switch (status) {
39
- case 'Açık': return 'bg-armoyu-primary/10 text-armoyu-primary border-armoyu-primary/20';
40
- case 'Yanıtlandı': return 'bg-armoyu-success/10 text-armoyu-success border-armoyu-success/20';
41
- case 'Kapalı': return 'bg-armoyu-secondary/10 text-armoyu-secondary border-armoyu-secondary/20';
42
- default: return 'bg-white/5 text-armoyu-text-muted border-white/5';
43
- }
44
- };
45
- return (_jsxs("div", { className: "pb-32 animate-in fade-in duration-700 bg-armoyu-bg min-h-screen", children: [_jsx(PageWidth, { width: "max-w-[1280px]" }), _jsxs("div", { className: "max-w-[1280px] mx-auto px-6 md:px-12", children: [_jsxs("div", { className: "flex flex-col md:flex-row items-center justify-between gap-8 mb-16 pt-12", children: [_jsxs("div", { className: "flex-1 text-center md:text-left", children: [_jsxs("h1", { className: "text-4xl md:text-6xl font-black text-armoyu-text uppercase tracking-tighter italic leading-none mb-4 drop-shadow-xl", children: ["DESTEK ", _jsx("span", { className: "text-armoyu-primary", children: "B\u0130LD\u0130R\u0130MLER\u0130" })] }), _jsx("p", { className: "text-armoyu-text-muted text-sm md:text-base font-medium opacity-80 max-w-2xl leading-relaxed mx-auto md:mx-0", children: "Ya\u015Fad\u0131\u011F\u0131n sorunlar\u0131 bize ilet, ARMOYU ekibi olarak en k\u0131sa s\u00FCrede yard\u0131mc\u0131 olal\u0131m. T\u00FCm taleplerin burada saklan\u0131r." })] }), _jsxs("button", { className: "px-8 py-5 bg-armoyu-primary text-white rounded-[25px] font-black text-xs uppercase tracking-[0.2em] shadow-2xl shadow-armoyu-primary/30 hover:scale-105 active:scale-95 transition-all flex items-center gap-3 italic", children: [_jsx(Plus, { size: 20, strokeWidth: 3 }), " YEN\u0130 DESTEK TALEB\u0130"] })] }), _jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-12 gap-12", children: [_jsxs("div", { className: "lg:col-span-3 space-y-8", children: [_jsx("div", { className: "glass-panel p-2 rounded-[32px] border border-armoyu-card-border bg-armoyu-card-bg", children: ['Tümü', 'Açık', 'Kapalı'].map((tab) => (_jsxs("button", { onClick: () => setActiveTab(tab), className: `w-full flex items-center justify-between px-6 py-4 rounded-3xl text-[10px] font-black uppercase tracking-widest transition-all ${activeTab === tab ? 'bg-armoyu-primary text-white shadow-xl shadow-armoyu-primary/20' : 'text-armoyu-text-muted hover:text-armoyu-text hover:bg-black/5 dark:hover:bg-white/5'}`, children: [_jsxs("div", { className: "flex items-center gap-3", children: [tab === 'Tümü' && _jsx(Filter, { size: 14 }), tab === 'Açık' && _jsx(Clock, { size: 14 }), tab === 'Kapalı' && _jsx(CheckCircle2, { size: 14 }), tab] }), _jsx("span", { className: `text-[10px] opacity-60 ${activeTab === tab ? 'text-white' : 'text-armoyu-primary'}`, children: tab === 'Tümü' ? '3' : tab === 'Açık' ? '2' : '1' })] }, tab))) }), _jsxs("div", { className: "glass-panel p-8 rounded-[40px] border border-armoyu-card-border bg-armoyu-card-bg shadow-xl overflow-hidden relative group", children: [_jsx("div", { className: "absolute -top-10 -right-10 w-32 h-32 bg-armoyu-primary/5 rounded-full blur-3xl group-hover:bg-armoyu-primary/10 transition-all" }), _jsx("h4", { className: "text-[10px] font-black text-armoyu-primary uppercase tracking-widest mb-4 relative z-10", children: "Ortalama Yan\u0131t S\u00FCresi" }), _jsxs("div", { className: "flex items-end gap-2 relative z-10", children: [_jsx("span", { className: "text-3xl font-black text-armoyu-text italic", children: "14" }), _jsx("span", { className: "text-xs font-bold text-armoyu-text-muted mb-1 uppercase", children: "Dakika" })] }), _jsx("p", { className: "text-[9px] font-bold text-armoyu-text-muted mt-4 uppercase tracking-widest opacity-60", children: "Son 24 saatteki verilerdir." })] })] }), _jsxs("div", { className: "lg:col-span-9 space-y-6", children: [_jsxs("div", { className: "relative group", children: [_jsx("input", { type: "text", placeholder: "B\u0130LD\u0130R\u0130M ARA (ID, KONU...)", className: "w-full h-16 pl-14 pr-6 bg-armoyu-card-bg border border-armoyu-card-border rounded-3xl text-[10px] font-black uppercase tracking-[0.15em] focus:border-armoyu-primary outline-none transition-all placeholder:text-armoyu-text-muted/40 shadow-sm" }), _jsx(Search, { size: 20, className: "absolute left-5 top-1/2 -translate-y-1/2 text-armoyu-text-muted group-focus-within:text-armoyu-primary transition-colors opacity-50" })] }), _jsx("div", { className: "space-y-4", children: MOCK_TICKETS.map((ticket) => (_jsxs("div", { className: "group glass-panel p-6 md:p-8 rounded-[40px] border border-armoyu-card-border bg-armoyu-card-bg hover:shadow-2xl transition-all cursor-pointer flex flex-col md:flex-row items-center gap-6", children: [_jsx("div", { className: `w-14 h-14 rounded-2xl flex items-center justify-center shrink-0 border ${getStatusStyles(ticket.status)}`, children: ticket.status === 'Yanıtlandı' ? _jsx(MessageCircle, { size: 24 }) : ticket.status === 'Açık' ? _jsx(Clock, { size: 24 }) : _jsx(CheckCircle2, { size: 24 }) }), _jsxs("div", { className: "flex-1 text-center md:text-left min-w-0", children: [_jsxs("div", { className: "flex flex-wrap items-center justify-center md:justify-start gap-3 mb-2", children: [_jsx("span", { className: "text-[10px] font-black text-armoyu-primary uppercase tracking-widest", children: ticket.id }), _jsx("span", { className: "text-[10px] font-black text-armoyu-text-muted opacity-40 uppercase tracking-widest", children: "\u2022" }), _jsx("span", { className: "text-[10px] font-black text-armoyu-text-muted uppercase tracking-widest", children: ticket.category })] }), _jsx("h3", { className: "text-xl font-black text-armoyu-text uppercase tracking-tight italic group-hover:text-armoyu-primary transition-colors mb-2 truncate", children: ticket.subject }), _jsx("p", { className: "text-sm text-armoyu-text-muted font-medium opacity-60 truncate", children: ticket.lastMessage })] }), _jsxs("div", { className: "flex flex-col items-center md:items-end gap-3 shrink-0", children: [_jsx("div", { className: `px-4 py-1.5 rounded-full text-[9px] font-black uppercase tracking-widest border ${getStatusStyles(ticket.status)}`, children: ticket.status }), _jsx("span", { className: "text-[10px] font-bold text-armoyu-text-muted uppercase tracking-widest opacity-40 italic", children: ticket.date })] }), _jsx("div", { className: "hidden md:flex w-10 h-10 rounded-full bg-black/5 dark:bg-white/5 items-center justify-center text-armoyu-text-muted group-hover:bg-armoyu-primary group-hover:text-white transition-all", children: _jsx(ChevronRight, { size: 20, strokeWidth: 3 }) })] }, ticket.id))) }), _jsxs("div", { className: "py-12 flex flex-col items-center justify-center text-center", children: [_jsx("div", { className: "w-12 h-12 rounded-full bg-white/5 flex items-center justify-center text-armoyu-text-muted mb-4", children: _jsx(AlertCircle, { size: 24 }) }), _jsx("h4", { className: "text-[10px] font-black text-armoyu-text uppercase tracking-widest mb-2", children: "Ba\u015Fka Bir Sorun mu Var?" }), _jsx("p", { className: "text-[11px] font-medium text-armoyu-text-muted max-w-xs leading-relaxed uppercase opacity-60", children: "E\u011Fer arad\u0131\u011F\u0131n\u0131 bulamad\u0131ysan Discord sunucumuz \u00FCzerinden de bize ula\u015Fabilirsin." })] })] })] })] })] }));
46
- }
47
- //# sourceMappingURL=SupportPage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SupportPage.js","sourceRoot":"","sources":["../../../../../src/components/modules/support/pages/SupportPage.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EACH,IAAI,EACJ,aAAa,EACb,KAAK,EACL,YAAY,EACZ,WAAW,EACX,MAAM,EACN,YAAY,EACZ,MAAM,EACT,MAAM,cAAc,CAAC;AAEtB,MAAM,YAAY,GAAG;IACjB;QACI,EAAE,EAAE,QAAQ;QACZ,OAAO,EAAE,wBAAwB;QACjC,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,8CAA8C;QAC3D,QAAQ,EAAE,iBAAiB;KAC9B;IACD;QACI,EAAE,EAAE,QAAQ;QACZ,OAAO,EAAE,4BAA4B;QACrC,MAAM,EAAE,YAAY;QACpB,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,sCAAsC;QACnD,QAAQ,EAAE,QAAQ;KACrB;IACD;QACI,EAAE,EAAE,QAAQ;QACZ,OAAO,EAAE,wBAAwB;QACjC,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,qCAAqC;QAClD,QAAQ,EAAE,eAAe;KAC5B;CACJ,CAAC;AAEF,MAAM,UAAU,WAAW;IACvB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAA6B,MAAM,CAAC,CAAC;IAE/E,MAAM,eAAe,GAAG,CAAC,MAAc,EAAE,EAAE;QACvC,QAAQ,MAAM,EAAE,CAAC;YACb,KAAK,MAAM,CAAC,CAAC,OAAO,mEAAmE,CAAC;YACxF,KAAK,YAAY,CAAC,CAAC,OAAO,mEAAmE,CAAC;Y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AAI,GACzI,EAEN,eAAK,SAAS,EAAC,yCAAyC,aACpD,eAAK,SAAS,EAAC,wEAAwE,aACnF,eAAM,SAAS,EAAC,sEAAsE,YAAE,MAAM,CAAC,EAAE,GAAQ,EACzG,eAAM,SAAS,EAAC,oFAAoF,uBAAS,EAC7G,eAAM,SAAS,EAAC,yEAAyE,YAAE,MAAM,CAAC,QAAQ,GAAQ,IAChH,EACN,aAAI,SAAS,EAAC,qIAAqI,YAC9I,MAAM,CAAC,OAAO,GACd,EACL,YAAG,SAAS,EAAC,gEAAgE,YACxE,MAAM,CAAC,WAAW,GACnB,IACF,EAEN,eAAK,SAAS,EAAC,wDAAwD,aACnE,cAAK,SAAS,EAAE,mFAAmF,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,YAC9H,MAAM,CAAC,MAAM,GACZ,EACN,eAAM,SAAS,EAAC,0FAA0F,YAAE,MAAM,CAAC,IAAI,GAAQ,IAC7H,EAEN,cAAK,SAAS,EAAC,yLAAyL,YACpM,KAAC,YAAY,IAAC,IAAI,EAAE,EAAE,EAAE,WAAW,EAAE,CAAC,GAAI,GACxC,KA9BD,MAAM,CAAC,EAAE,CA+BZ,CACT,CAAC,GACA,EAGN,eAAK,SAAS,EAAC,6DAA6D,aACxE,cAAK,SAAS,EAAC,gGAAgG,YAC3G,KAAC,WAAW,IAAC,IAAI,EAAE,EAAE,GAAI,GACvB,EACN,aAAI,SAAS,EAAC,wEAAwE,6CAA6B,EACnH,YAAG,SAAS,EAAC,8FAA8F,uIAEvG,IACF,IACJ,IACJ,IACJ,IACJ,CACT,CAAC;AACN,CAAC"}
@@ -1,13 +0,0 @@
1
- interface AnimatedStatProps {
2
- value: number | string;
3
- className?: string;
4
- showAnimation?: boolean;
5
- prefix?: string;
6
- }
7
- /**
8
- * A standard component for displaying animated numbers with unit formatting (K, M, B).
9
- * Uses formatStatValue to determine units and RollingNumber for the animation.
10
- */
11
- export declare function AnimatedStat({ value, className, showAnimation, prefix }: AnimatedStatProps): import("react/jsx-runtime").JSX.Element;
12
- export {};
13
- //# sourceMappingURL=AnimatedStat.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnimatedStat.d.ts","sourceRoot":"","sources":["../../../src/components/shared/AnimatedStat.tsx"],"names":[],"mappings":"AAIA,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,SAAc,EAAE,aAAoB,EAAE,MAAW,EAAE,EAAE,iBAAiB,2CAuB3G"}
@@ -1,20 +0,0 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
2
- import { RollingNumber } from '../RollingNumber';
3
- import { formatStatValue } from '../../lib/utils/numberFormat';
4
- /**
5
- * A standard component for displaying animated numbers with unit formatting (K, M, B).
6
- * Uses formatStatValue to determine units and RollingNumber for the animation.
7
- */
8
- export function AnimatedStat({ value, className = "", showAnimation = true, prefix = "" }) {
9
- // If value is not a number, we can't roll it easily with current logic
10
- const numericValue = typeof value === 'string' ? parseFloat(value.replace(/,/g, '')) : value;
11
- if (isNaN(numericValue)) {
12
- return _jsxs("span", { className: className, children: [prefix, value] });
13
- }
14
- const { value: formattedValue, unit } = formatStatValue(numericValue);
15
- if (!showAnimation) {
16
- return _jsxs("span", { className: className, children: [prefix, formattedValue, unit] });
17
- }
18
- return (_jsxs("div", { className: `inline-flex items-baseline ${className}`, children: [prefix && _jsx("span", { className: "mr-0.5 leading-none", children: prefix }), _jsx(RollingNumber, { value: formattedValue, suffix: unit })] }));
19
- }
20
- //# sourceMappingURL=AnimatedStat.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnimatedStat.js","sourceRoot":"","sources":["../../../src/components/shared/AnimatedStat.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAS/D;;;GAGG;AACH,MAAM,UAAU,YAAY,CAAC,EAAE,KAAK,EAAE,SAAS,GAAG,EAAE,EAAE,aAAa,GAAG,IAAI,EAAE,MAAM,GAAG,EAAE,EAAqB;IAC1G,uEAAuE;IACvE,MAAM,YAAY,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IAE7F,IAAI,KAAK,CAAC,YAAY,CAAC,EAAE,CAAC;QACxB,OAAO,gBAAM,SAAS,EAAE,SAAS,aAAG,MAAM,EAAE,KAAK,IAAQ,CAAC;IAC5D,CAAC;IAED,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,GAAG,eAAe,CAAC,YAAY,CAAC,CAAC;IAEtE,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,OAAO,gBAAM,SAAS,EAAE,SAAS,aAAG,MAAM,EAAE,cAAc,EAAE,IAAI,IAAQ,CAAC;IAC3E,CAAC;IAED,OAAO,CACL,eAAK,SAAS,EAAE,8BAA8B,SAAS,EAAE,aACtD,MAAM,IAAI,eAAM,SAAS,EAAC,qBAAqB,YAAE,MAAM,GAAQ,EAChE,KAAC,aAAa,IACZ,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,IAAI,GACZ,IACE,CACP,CAAC;AACJ,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare function DevTools(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=DevTools.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DevTools.d.ts","sourceRoot":"","sources":["../../../src/components/shared/DevTools.tsx"],"names":[],"mappings":"AAMA,wBAAgB,QAAQ,4CAkIvB"}
@@ -1,32 +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 { useArmoyu } from '../../context/ArmoyuContext';
5
- import { Key, ShieldCheck, Settings2, X, RotateCcw, Save, Server, Database, CheckCircle2, FlaskConical } from 'lucide-react';
6
- export function DevTools() {
7
- const { apiKey, token, isMockEnabled, setGlobalApiKey, setGlobalToken, setMockEnabled } = useArmoyu();
8
- const [isOpen, setIsOpen] = useState(false);
9
- const [localApiKey, setLocalApiKey] = useState(apiKey);
10
- const [localToken, setLocalToken] = useState(token);
11
- const [isSaved, setIsSaved] = useState(false);
12
- // Global state değiştiğinde yerel state'i güncelle
13
- useEffect(() => {
14
- setLocalApiKey(apiKey);
15
- setLocalToken(token);
16
- }, [apiKey, token]);
17
- const handleApply = () => {
18
- setGlobalApiKey(localApiKey.trim());
19
- setGlobalToken(localToken.trim());
20
- setIsSaved(true);
21
- setTimeout(() => setIsSaved(false), 2000);
22
- };
23
- const handleReset = () => {
24
- const defaultKey = 'armoyu_showcase_key';
25
- setLocalApiKey(defaultKey);
26
- setLocalToken('');
27
- setGlobalApiKey(defaultKey);
28
- setGlobalToken('');
29
- };
30
- return (_jsxs("div", { className: "fixed bottom-6 right-6 z-[999] flex flex-col items-end gap-4", children: [isOpen && (_jsxs("div", { className: "w-[320px] bg-white/80 dark:bg-zinc-900/90 backdrop-blur-3xl border border-armoyu-primary/20 rounded-[32px] shadow-2xl p-6 animate-in slide-in-from-bottom-8 fade-in duration-500", children: [_jsxs("div", { className: "flex items-center justify-between mb-6", children: [_jsxs("div", { className: "flex items-center gap-3", children: [_jsx("div", { className: "w-8 h-8 rounded-xl bg-armoyu-primary flex items-center justify-center shadow-lg shadow-armoyu-primary/20", children: _jsx(Settings2, { className: "w-4 h-4 text-white" }) }), _jsxs("div", { children: [_jsx("h4", { className: "text-[10px] font-black text-armoyu-primary dark:text-armoyu-primary uppercase tracking-widest leading-none", children: "DEVTOOLS" }), _jsx("p", { className: "text-[9px] font-bold text-gray-500 uppercase tracking-tighter opacity-60", children: "Sistem Denetimi" })] })] }), _jsx("button", { onClick: () => setIsOpen(false), className: "p-2 hover:bg-gray-100 dark:hover:bg-white/5 rounded-xl transition-colors", children: _jsx(X, { className: "w-4 h-4 text-gray-400" }) })] }), _jsxs("div", { className: "space-y-4", children: [_jsxs("div", { className: "flex items-center justify-between p-3 bg-armoyu-primary/5 border border-armoyu-primary/10 rounded-2xl group transition-all", children: [_jsxs("div", { className: "flex items-center gap-3", children: [isMockEnabled ? _jsx(Database, { className: "w-4 h-4 text-armoyu-primary" }) : _jsx(Server, { className: "w-4 h-4 text-emerald-500" }), _jsx("span", { className: "text-[10px] font-black uppercase tracking-tight text-gray-700 dark:text-gray-300", children: isMockEnabled ? 'MOCK VERİ AKTİF' : 'CANLI API AKTİF' })] }), _jsx("button", { onClick: () => setMockEnabled(!isMockEnabled), className: `w-10 h-5 rounded-full transition-all relative ${isMockEnabled ? 'bg-armoyu-primary' : 'bg-emerald-500'}`, children: _jsx("div", { className: `absolute top-1 w-3 h-3 bg-white rounded-full transition-all ${isMockEnabled ? 'right-1' : 'left-1'}` }) })] }), _jsxs("div", { className: "space-y-2", children: [_jsxs("div", { className: "relative group", children: [_jsx(Key, { className: "absolute left-3 top-1/2 -translate-y-1/2 w-3.5 h-3.5 text-armoyu-primary/40 group-focus-within:text-armoyu-primary transition-colors" }), _jsx("input", { type: "password", value: localApiKey, onChange: (e) => setLocalApiKey(e.target.value), placeholder: "API Key...", className: "w-full bg-gray-50 dark:bg-black/40 border border-armoyu-primary/5 focus:border-armoyu-primary/40 rounded-xl pl-10 pr-4 py-2.5 text-[10px] outline-none transition-all font-mono" })] }), _jsxs("div", { className: "relative group", children: [_jsx(ShieldCheck, { className: "absolute left-3 top-1/2 -translate-y-1/2 w-3.5 h-3.5 text-emerald-500/40 group-focus-within:text-emerald-500 transition-colors" }), _jsx("input", { type: "password", value: localToken, onChange: (e) => setLocalToken(e.target.value), placeholder: "Auth Token...", className: "w-full bg-gray-50 dark:bg-black/40 border border-emerald-500/5 focus:border-emerald-500/40 rounded-xl pl-10 pr-4 py-2.5 text-[10px] outline-none transition-all font-mono" })] })] }), _jsxs("div", { className: "flex items-center gap-2 pt-2", children: [_jsxs("button", { onClick: handleApply, className: `flex-1 h-10 rounded-xl text-[10px] font-black uppercase tracking-widest flex items-center justify-center gap-2 transition-all active:scale-95 text-white ${isSaved ? 'bg-emerald-500' : 'bg-armoyu-primary hover:bg-armoyu-primary shadow-lg shadow-armoyu-primary/20'}`, children: [isSaved ? _jsx(CheckCircle2, { className: "w-3.5 h-3.5" }) : _jsx(Save, { className: "w-3.5 h-3.5" }), isSaved ? 'KAYDEDİLDİ' : 'UYGULA'] }), _jsx("button", { onClick: handleReset, className: "w-10 h-10 flex items-center justify-center bg-gray-100 dark:bg-white/5 rounded-xl text-gray-500 hover:text-armoyu-primary transition-colors", children: _jsx(RotateCcw, { className: "w-4 h-4" }) })] })] })] })), _jsxs("button", { onClick: () => setIsOpen(!isOpen), className: `w-14 h-14 rounded-full flex items-center justify-center shadow-2xl transition-all duration-500 active:scale-90 group relative ${isOpen ? 'bg-zinc-800 rotate-90 scale-0' : 'bg-armoyu-primary scale-100'}`, children: [_jsx("div", { className: "absolute inset-0 rounded-full bg-armoyu-primary animate-ping opacity-20 group-hover:opacity-40 transition-opacity" }), _jsx(FlaskConical, { className: "w-6 h-6 text-white" }), !isOpen && (_jsx("div", { className: `absolute -top-1 -right-1 w-5 h-5 rounded-full border-2 border-white dark:border-zinc-900 flex items-center justify-center shadow-lg ${isMockEnabled ? 'bg-armoyu-primary' : 'bg-emerald-500'}`, children: isMockEnabled ? _jsx(Database, { className: "w-2.5 h-2.5 text-white" }) : _jsx(Server, { className: "w-2.5 h-2.5 text-white" }) }))] })] }));
31
- }
32
- //# sourceMappingURL=DevTools.js.map