@armoyu/ui 1.1.1 → 1.1.4

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 (381) hide show
  1. package/dist/app/Providers.d.ts.map +1 -1
  2. package/dist/app/Providers.js +1 -6
  3. package/dist/app/Providers.js.map +1 -1
  4. package/dist/app/page.js +2 -2
  5. package/dist/app/page.js.map +1 -1
  6. package/dist/components/Button.d.ts +7 -7
  7. package/dist/components/Button.js +15 -15
  8. package/dist/components/GenderStatsBar.d.ts +5 -5
  9. package/dist/components/GenderStatsBar.js +7 -7
  10. package/dist/components/RollingNumber.d.ts +6 -6
  11. package/dist/components/RollingNumber.js +23 -23
  12. package/dist/components/Slider.d.ts +10 -10
  13. package/dist/components/Slider.js +35 -35
  14. package/dist/components/StatsGrid.js +13 -13
  15. package/dist/components/ViewModeToggle.d.ts +7 -7
  16. package/dist/components/ViewModeToggle.js +9 -9
  17. package/dist/components/modules/chat/widgets/ChatList.js +1 -1
  18. package/dist/components/modules/chat/widgets/ChatList.js.map +1 -1
  19. package/dist/components/modules/community/CommunityLayout.d.ts.map +1 -1
  20. package/dist/components/modules/community/CommunityLayout.js +4 -3
  21. package/dist/components/modules/community/CommunityLayout.js.map +1 -1
  22. package/dist/components/modules/community/widgets/EventDetailLayout.d.ts +7 -0
  23. package/dist/components/modules/community/widgets/EventDetailLayout.d.ts.map +1 -0
  24. package/dist/components/modules/community/widgets/EventDetailLayout.js +54 -0
  25. package/dist/components/modules/community/widgets/EventDetailLayout.js.map +1 -0
  26. package/dist/components/modules/events/DetailLayout.d.ts +7 -0
  27. package/dist/components/modules/events/DetailLayout.d.ts.map +1 -0
  28. package/dist/components/modules/events/DetailLayout.js +54 -0
  29. package/dist/components/modules/events/DetailLayout.js.map +1 -0
  30. package/dist/components/modules/events/DetailPage.d.ts +7 -0
  31. package/dist/components/modules/events/DetailPage.d.ts.map +1 -0
  32. package/dist/components/modules/events/DetailPage.js +54 -0
  33. package/dist/components/modules/events/DetailPage.js.map +1 -0
  34. package/dist/components/modules/events/EventsLayout.d.ts +8 -0
  35. package/dist/components/modules/events/EventsLayout.d.ts.map +1 -0
  36. package/dist/components/modules/events/EventsLayout.js +6 -0
  37. package/dist/components/modules/events/EventsLayout.js.map +1 -0
  38. package/dist/components/modules/events/EventsPage.d.ts +8 -0
  39. package/dist/components/modules/events/EventsPage.d.ts.map +1 -0
  40. package/dist/components/modules/events/EventsPage.js +75 -0
  41. package/dist/components/modules/events/EventsPage.js.map +1 -0
  42. package/dist/components/modules/events/index.d.ts +7 -0
  43. package/dist/components/modules/events/index.d.ts.map +1 -0
  44. package/dist/components/modules/events/index.js +7 -0
  45. package/dist/components/modules/events/index.js.map +1 -0
  46. package/dist/components/modules/events/widgets/EventCard.d.ts +11 -0
  47. package/dist/components/modules/events/widgets/EventCard.d.ts.map +1 -0
  48. package/dist/components/modules/events/widgets/EventCard.js +10 -0
  49. package/dist/components/modules/events/widgets/EventCard.js.map +1 -0
  50. package/dist/components/modules/events/widgets/EventFormModal.d.ts +9 -0
  51. package/dist/components/modules/events/widgets/EventFormModal.d.ts.map +1 -0
  52. package/dist/components/modules/events/widgets/EventFormModal.js +24 -0
  53. package/dist/components/modules/events/widgets/EventFormModal.js.map +1 -0
  54. package/dist/components/modules/events/widgets/EventList.d.ts +10 -0
  55. package/dist/components/modules/events/widgets/EventList.d.ts.map +1 -0
  56. package/dist/components/modules/events/widgets/EventList.js +29 -0
  57. package/dist/components/modules/events/widgets/EventList.js.map +1 -0
  58. package/dist/components/modules/posts/widgets/PostCard.d.ts +9 -1
  59. package/dist/components/modules/posts/widgets/PostCard.d.ts.map +1 -1
  60. package/dist/components/modules/posts/widgets/PostCard.js +103 -40
  61. package/dist/components/modules/posts/widgets/PostCard.js.map +1 -1
  62. package/dist/components/modules/posts/widgets/SocialFeed.d.ts +19 -0
  63. package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +1 -0
  64. package/dist/components/modules/posts/widgets/SocialFeed.js +117 -0
  65. package/dist/components/modules/posts/widgets/SocialFeed.js.map +1 -0
  66. package/dist/components/modules/posts/widgets/Stories.d.ts.map +1 -1
  67. package/dist/components/modules/posts/widgets/Stories.js +4 -1
  68. package/dist/components/modules/posts/widgets/Stories.js.map +1 -1
  69. package/dist/components/modules/profile/ProfileLayout.d.ts.map +1 -1
  70. package/dist/components/modules/profile/ProfileLayout.js +1 -2
  71. package/dist/components/modules/profile/ProfileLayout.js.map +1 -1
  72. package/dist/components/modules/profile/tabs/PostsTab.d.ts.map +1 -1
  73. package/dist/components/modules/profile/tabs/PostsTab.js +5 -63
  74. package/dist/components/modules/profile/tabs/PostsTab.js.map +1 -1
  75. package/dist/components/modules/social/SocialLayout.d.ts.map +1 -1
  76. package/dist/components/modules/social/SocialLayout.js +23 -147
  77. package/dist/components/modules/social/SocialLayout.js.map +1 -1
  78. package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +1 -1
  79. package/dist/components/modules/social/widgets/EconomyWidget.js +8 -1
  80. package/dist/components/modules/social/widgets/EconomyWidget.js.map +1 -1
  81. package/dist/components/modules/social/widgets/LeagueWidget.d.ts.map +1 -1
  82. package/dist/components/modules/social/widgets/LeagueWidget.js +8 -1
  83. package/dist/components/modules/social/widgets/LeagueWidget.js.map +1 -1
  84. package/dist/components/modules/social/widgets/MinecraftWidget.d.ts.map +1 -1
  85. package/dist/components/modules/social/widgets/MinecraftWidget.js +8 -1
  86. package/dist/components/modules/social/widgets/MinecraftWidget.js.map +1 -1
  87. package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +1 -1
  88. package/dist/components/modules/social/widgets/RankingWidget.js +7 -1
  89. package/dist/components/modules/social/widgets/RankingWidget.js.map +1 -1
  90. package/dist/components/shared/Footer.d.ts +1 -1
  91. package/dist/components/shared/Footer.js +9 -9
  92. package/dist/components/shared/Header.d.ts.map +1 -1
  93. package/dist/components/shared/Header.js +33 -10
  94. package/dist/components/shared/Header.js.map +1 -1
  95. package/dist/components/shared/PageWidth.d.ts +5 -5
  96. package/dist/components/shared/PageWidth.js +13 -13
  97. package/dist/components/showcase/EventsTab.d.ts.map +1 -1
  98. package/dist/components/showcase/EventsTab.js +22 -7
  99. package/dist/components/showcase/EventsTab.js.map +1 -1
  100. package/dist/components/showcase/GroupTab.js +1 -1
  101. package/dist/components/showcase/GroupTab.js.map +1 -1
  102. package/dist/components/showcase/SocialTab.d.ts.map +1 -1
  103. package/dist/components/showcase/SocialTab.js +14 -97
  104. package/dist/components/showcase/SocialTab.js.map +1 -1
  105. package/dist/context/ArmoyuContext.js +1 -1
  106. package/dist/context/ArmoyuContext.js.map +1 -1
  107. package/dist/context/AuthContext.d.ts.map +1 -1
  108. package/dist/context/AuthContext.js +4 -7
  109. package/dist/context/AuthContext.js.map +1 -1
  110. package/dist/context/CartContext.js +63 -63
  111. package/dist/context/ChatContext.d.ts.map +1 -1
  112. package/dist/context/ChatContext.js +3 -2
  113. package/dist/context/ChatContext.js.map +1 -1
  114. package/dist/context/LayoutContext.d.ts +10 -10
  115. package/dist/context/LayoutContext.js +16 -16
  116. package/dist/context/ThemeContext.d.ts +10 -10
  117. package/dist/context/ThemeContext.js +39 -39
  118. package/dist/index.d.ts +3 -1
  119. package/dist/index.d.ts.map +1 -1
  120. package/dist/index.js +3 -1
  121. package/dist/index.js.map +1 -1
  122. package/dist/lib/constants/educationData.js +117 -117
  123. package/dist/lib/constants/punishmentData.d.ts +29 -29
  124. package/dist/lib/constants/punishmentData.js +183 -183
  125. package/dist/lib/constants/surveyData.js +49 -49
  126. package/dist/lib/constants/teamData.js +65 -65
  127. package/dist/lib/utils/postUtils.d.ts +7 -0
  128. package/dist/lib/utils/postUtils.d.ts.map +1 -0
  129. package/dist/lib/utils/postUtils.js +49 -0
  130. package/dist/lib/utils/postUtils.js.map +1 -0
  131. package/dist/types/stats.d.ts +17 -17
  132. package/dist/types/stats.js +1 -1
  133. package/package.json +2 -2
  134. package/dist/components/modules/auth/Dashboard.d.ts +0 -2
  135. package/dist/components/modules/auth/Dashboard.d.ts.map +0 -1
  136. package/dist/components/modules/auth/Dashboard.js +0 -251
  137. package/dist/components/modules/auth/Dashboard.js.map +0 -1
  138. package/dist/components/modules/auth/MediaLightbox.d.ts +0 -14
  139. package/dist/components/modules/auth/MediaLightbox.d.ts.map +0 -1
  140. package/dist/components/modules/auth/MediaLightbox.js +0 -47
  141. package/dist/components/modules/auth/MediaLightbox.js.map +0 -1
  142. package/dist/components/modules/auth/PostCard.d.ts +0 -26
  143. package/dist/components/modules/auth/PostCard.d.ts.map +0 -1
  144. package/dist/components/modules/auth/PostCard.js +0 -116
  145. package/dist/components/modules/auth/PostCard.js.map +0 -1
  146. package/dist/components/modules/auth/PostInteractionsModal.d.ts +0 -12
  147. package/dist/components/modules/auth/PostInteractionsModal.d.ts.map +0 -1
  148. package/dist/components/modules/auth/PostInteractionsModal.js +0 -13
  149. package/dist/components/modules/auth/PostInteractionsModal.js.map +0 -1
  150. package/dist/components/modules/auth/RepostModal.d.ts +0 -22
  151. package/dist/components/modules/auth/RepostModal.d.ts.map +0 -1
  152. package/dist/components/modules/auth/RepostModal.js +0 -76
  153. package/dist/components/modules/auth/RepostModal.js.map +0 -1
  154. package/dist/components/modules/auth/SidebarLeft.d.ts +0 -2
  155. package/dist/components/modules/auth/SidebarLeft.d.ts.map +0 -1
  156. package/dist/components/modules/auth/SidebarLeft.js +0 -9
  157. package/dist/components/modules/auth/SidebarLeft.js.map +0 -1
  158. package/dist/components/modules/auth/Stories.d.ts +0 -2
  159. package/dist/components/modules/auth/Stories.d.ts.map +0 -1
  160. package/dist/components/modules/auth/Stories.js +0 -16
  161. package/dist/components/modules/auth/Stories.js.map +0 -1
  162. package/dist/components/modules/auth/StoryViewer.d.ts +0 -10
  163. package/dist/components/modules/auth/StoryViewer.d.ts.map +0 -1
  164. package/dist/components/modules/auth/StoryViewer.js +0 -48
  165. package/dist/components/modules/auth/StoryViewer.js.map +0 -1
  166. package/dist/components/modules/auth/widgets/EconomyWidget.d.ts +0 -2
  167. package/dist/components/modules/auth/widgets/EconomyWidget.d.ts.map +0 -1
  168. package/dist/components/modules/auth/widgets/EconomyWidget.js +0 -38
  169. package/dist/components/modules/auth/widgets/EconomyWidget.js.map +0 -1
  170. package/dist/components/modules/auth/widgets/LeagueWidget.d.ts +0 -2
  171. package/dist/components/modules/auth/widgets/LeagueWidget.d.ts.map +0 -1
  172. package/dist/components/modules/auth/widgets/LeagueWidget.js +0 -36
  173. package/dist/components/modules/auth/widgets/LeagueWidget.js.map +0 -1
  174. package/dist/components/modules/auth/widgets/MinecraftWidget.d.ts +0 -2
  175. package/dist/components/modules/auth/widgets/MinecraftWidget.d.ts.map +0 -1
  176. package/dist/components/modules/auth/widgets/MinecraftWidget.js +0 -36
  177. package/dist/components/modules/auth/widgets/MinecraftWidget.js.map +0 -1
  178. package/dist/components/modules/auth/widgets/RankingWidget.d.ts +0 -5
  179. package/dist/components/modules/auth/widgets/RankingWidget.d.ts.map +0 -1
  180. package/dist/components/modules/auth/widgets/RankingWidget.js +0 -79
  181. package/dist/components/modules/auth/widgets/RankingWidget.js.map +0 -1
  182. package/dist/components/modules/chat/ChatContainer.d.ts +0 -2
  183. package/dist/components/modules/chat/ChatContainer.d.ts.map +0 -1
  184. package/dist/components/modules/chat/ChatContainer.js +0 -199
  185. package/dist/components/modules/chat/ChatContainer.js.map +0 -1
  186. package/dist/components/modules/chat/ChatInput.d.ts +0 -5
  187. package/dist/components/modules/chat/ChatInput.d.ts.map +0 -1
  188. package/dist/components/modules/chat/ChatInput.js +0 -31
  189. package/dist/components/modules/chat/ChatInput.js.map +0 -1
  190. package/dist/components/modules/chat/ChatList.d.ts +0 -7
  191. package/dist/components/modules/chat/ChatList.d.ts.map +0 -1
  192. package/dist/components/modules/chat/ChatList.js +0 -53
  193. package/dist/components/modules/chat/ChatList.js.map +0 -1
  194. package/dist/components/modules/chat/ChatMessage.d.ts +0 -12
  195. package/dist/components/modules/chat/ChatMessage.d.ts.map +0 -1
  196. package/dist/components/modules/chat/ChatMessage.js +0 -7
  197. package/dist/components/modules/chat/ChatMessage.js.map +0 -1
  198. package/dist/components/modules/chat/ChatNotes.d.ts +0 -2
  199. package/dist/components/modules/chat/ChatNotes.d.ts.map +0 -1
  200. package/dist/components/modules/chat/ChatNotes.js +0 -12
  201. package/dist/components/modules/chat/ChatNotes.js.map +0 -1
  202. package/dist/components/modules/community/GroupHeader.d.ts +0 -11
  203. package/dist/components/modules/community/GroupHeader.d.ts.map +0 -1
  204. package/dist/components/modules/community/GroupHeader.js +0 -18
  205. package/dist/components/modules/community/GroupHeader.js.map +0 -1
  206. package/dist/components/modules/community/GroupMenu.d.ts +0 -10
  207. package/dist/components/modules/community/GroupMenu.d.ts.map +0 -1
  208. package/dist/components/modules/community/GroupMenu.js +0 -17
  209. package/dist/components/modules/community/GroupMenu.js.map +0 -1
  210. package/dist/components/modules/community/GroupProfileContent.d.ts +0 -7
  211. package/dist/components/modules/community/GroupProfileContent.d.ts.map +0 -1
  212. package/dist/components/modules/community/GroupProfileContent.js +0 -127
  213. package/dist/components/modules/community/GroupProfileContent.js.map +0 -1
  214. package/dist/components/modules/community/SchoolCard.d.ts +0 -7
  215. package/dist/components/modules/community/SchoolCard.d.ts.map +0 -1
  216. package/dist/components/modules/community/SchoolCard.js +0 -8
  217. package/dist/components/modules/community/SchoolCard.js.map +0 -1
  218. package/dist/components/modules/community/SurveyCard.d.ts +0 -7
  219. package/dist/components/modules/community/SurveyCard.d.ts.map +0 -1
  220. package/dist/components/modules/community/SurveyCard.js +0 -38
  221. package/dist/components/modules/community/SurveyCard.js.map +0 -1
  222. package/dist/components/modules/forum/ForumBoard.d.ts +0 -17
  223. package/dist/components/modules/forum/ForumBoard.d.ts.map +0 -1
  224. package/dist/components/modules/forum/ForumBoard.js +0 -7
  225. package/dist/components/modules/forum/ForumBoard.js.map +0 -1
  226. package/dist/components/modules/forum/ForumPost.d.ts +0 -14
  227. package/dist/components/modules/forum/ForumPost.d.ts.map +0 -1
  228. package/dist/components/modules/forum/ForumPost.js +0 -6
  229. package/dist/components/modules/forum/ForumPost.js.map +0 -1
  230. package/dist/components/modules/forum/NewTopicModal.d.ts +0 -8
  231. package/dist/components/modules/forum/NewTopicModal.d.ts.map +0 -1
  232. package/dist/components/modules/forum/NewTopicModal.js +0 -27
  233. package/dist/components/modules/forum/NewTopicModal.js.map +0 -1
  234. package/dist/components/modules/forum/TopicItem.d.ts +0 -16
  235. package/dist/components/modules/forum/TopicItem.d.ts.map +0 -1
  236. package/dist/components/modules/forum/TopicItem.js +0 -7
  237. package/dist/components/modules/forum/TopicItem.js.map +0 -1
  238. package/dist/components/modules/galleries/GalleryCard.d.ts +0 -10
  239. package/dist/components/modules/galleries/GalleryCard.d.ts.map +0 -1
  240. package/dist/components/modules/galleries/GalleryCard.js +0 -6
  241. package/dist/components/modules/galleries/GalleryCard.js.map +0 -1
  242. package/dist/components/modules/giveaways/GiveawayCard.d.ts +0 -10
  243. package/dist/components/modules/giveaways/GiveawayCard.d.ts.map +0 -1
  244. package/dist/components/modules/giveaways/GiveawayCard.js +0 -7
  245. package/dist/components/modules/giveaways/GiveawayCard.js.map +0 -1
  246. package/dist/components/modules/groups/ApplicationModal.d.ts +0 -8
  247. package/dist/components/modules/groups/ApplicationModal.d.ts.map +0 -1
  248. package/dist/components/modules/groups/ApplicationModal.js +0 -28
  249. package/dist/components/modules/groups/ApplicationModal.js.map +0 -1
  250. package/dist/components/modules/groups/GroupCard.d.ts +0 -14
  251. package/dist/components/modules/groups/GroupCard.d.ts.map +0 -1
  252. package/dist/components/modules/groups/GroupCard.js +0 -8
  253. package/dist/components/modules/groups/GroupCard.js.map +0 -1
  254. package/dist/components/modules/guest/Introduction.d.ts +0 -2
  255. package/dist/components/modules/guest/Introduction.d.ts.map +0 -1
  256. package/dist/components/modules/guest/Introduction.js +0 -14
  257. package/dist/components/modules/guest/Introduction.js.map +0 -1
  258. package/dist/components/modules/magaza/BackToStore.d.ts +0 -2
  259. package/dist/components/modules/magaza/BackToStore.d.ts.map +0 -1
  260. package/dist/components/modules/magaza/BackToStore.js +0 -11
  261. package/dist/components/modules/magaza/BackToStore.js.map +0 -1
  262. package/dist/components/modules/magaza/StoreHeader.d.ts +0 -6
  263. package/dist/components/modules/magaza/StoreHeader.d.ts.map +0 -1
  264. package/dist/components/modules/magaza/StoreHeader.js +0 -9
  265. package/dist/components/modules/magaza/StoreHeader.js.map +0 -1
  266. package/dist/components/modules/magaza/widgets/StoreProductGrid.d.ts +0 -7
  267. package/dist/components/modules/magaza/widgets/StoreProductGrid.d.ts.map +0 -1
  268. package/dist/components/modules/magaza/widgets/StoreProductGrid.js +0 -13
  269. package/dist/components/modules/magaza/widgets/StoreProductGrid.js.map +0 -1
  270. package/dist/components/modules/magaza/widgets/StoreSidebar.d.ts +0 -8
  271. package/dist/components/modules/magaza/widgets/StoreSidebar.d.ts.map +0 -1
  272. package/dist/components/modules/magaza/widgets/StoreSidebar.js +0 -8
  273. package/dist/components/modules/magaza/widgets/StoreSidebar.js.map +0 -1
  274. package/dist/components/modules/magaza/widgets/StoreTrustBadges.d.ts +0 -2
  275. package/dist/components/modules/magaza/widgets/StoreTrustBadges.d.ts.map +0 -1
  276. package/dist/components/modules/magaza/widgets/StoreTrustBadges.js +0 -6
  277. package/dist/components/modules/magaza/widgets/StoreTrustBadges.js.map +0 -1
  278. package/dist/components/modules/news/NewsCard.d.ts +0 -12
  279. package/dist/components/modules/news/NewsCard.d.ts.map +0 -1
  280. package/dist/components/modules/news/NewsCard.js +0 -7
  281. package/dist/components/modules/news/NewsCard.js.map +0 -1
  282. package/dist/components/modules/news/NewsComments.d.ts +0 -2
  283. package/dist/components/modules/news/NewsComments.d.ts.map +0 -1
  284. package/dist/components/modules/news/NewsComments.js +0 -53
  285. package/dist/components/modules/news/NewsComments.js.map +0 -1
  286. package/dist/components/modules/posts/MediaLightbox.d.ts +0 -14
  287. package/dist/components/modules/posts/MediaLightbox.d.ts.map +0 -1
  288. package/dist/components/modules/posts/MediaLightbox.js +0 -47
  289. package/dist/components/modules/posts/MediaLightbox.js.map +0 -1
  290. package/dist/components/modules/posts/PostCard.d.ts +0 -26
  291. package/dist/components/modules/posts/PostCard.d.ts.map +0 -1
  292. package/dist/components/modules/posts/PostCard.js +0 -116
  293. package/dist/components/modules/posts/PostCard.js.map +0 -1
  294. package/dist/components/modules/posts/PostInteractionsModal.d.ts +0 -12
  295. package/dist/components/modules/posts/PostInteractionsModal.d.ts.map +0 -1
  296. package/dist/components/modules/posts/PostInteractionsModal.js +0 -13
  297. package/dist/components/modules/posts/PostInteractionsModal.js.map +0 -1
  298. package/dist/components/modules/posts/RepostModal.d.ts +0 -22
  299. package/dist/components/modules/posts/RepostModal.d.ts.map +0 -1
  300. package/dist/components/modules/posts/RepostModal.js +0 -76
  301. package/dist/components/modules/posts/RepostModal.js.map +0 -1
  302. package/dist/components/modules/posts/Stories.d.ts +0 -2
  303. package/dist/components/modules/posts/Stories.d.ts.map +0 -1
  304. package/dist/components/modules/posts/Stories.js +0 -16
  305. package/dist/components/modules/posts/Stories.js.map +0 -1
  306. package/dist/components/modules/posts/StoryViewer.d.ts +0 -10
  307. package/dist/components/modules/posts/StoryViewer.d.ts.map +0 -1
  308. package/dist/components/modules/posts/StoryViewer.js +0 -48
  309. package/dist/components/modules/posts/StoryViewer.js.map +0 -1
  310. package/dist/components/modules/posts/reels/ReelCard.d.ts +0 -16
  311. package/dist/components/modules/posts/reels/ReelCard.d.ts.map +0 -1
  312. package/dist/components/modules/posts/reels/ReelCard.js +0 -70
  313. package/dist/components/modules/posts/reels/ReelCard.js.map +0 -1
  314. package/dist/components/modules/posts/reels/ReelsContainer.d.ts +0 -8
  315. package/dist/components/modules/posts/reels/ReelsContainer.d.ts.map +0 -1
  316. package/dist/components/modules/posts/reels/ReelsContainer.js +0 -37
  317. package/dist/components/modules/posts/reels/ReelsContainer.js.map +0 -1
  318. package/dist/components/modules/profile/CloudStorageModal.d.ts +0 -9
  319. package/dist/components/modules/profile/CloudStorageModal.d.ts.map +0 -1
  320. package/dist/components/modules/profile/CloudStorageModal.js +0 -32
  321. package/dist/components/modules/profile/CloudStorageModal.js.map +0 -1
  322. package/dist/components/modules/profile/EditProfileModal.d.ts +0 -9
  323. package/dist/components/modules/profile/EditProfileModal.d.ts.map +0 -1
  324. package/dist/components/modules/profile/EditProfileModal.js +0 -28
  325. package/dist/components/modules/profile/EditProfileModal.js.map +0 -1
  326. package/dist/components/modules/profile/ProfileContent.d.ts +0 -5
  327. package/dist/components/modules/profile/ProfileContent.d.ts.map +0 -1
  328. package/dist/components/modules/profile/ProfileContent.js +0 -117
  329. package/dist/components/modules/profile/ProfileContent.js.map +0 -1
  330. package/dist/components/modules/profile/ProfileHeader.d.ts +0 -8
  331. package/dist/components/modules/profile/ProfileHeader.d.ts.map +0 -1
  332. package/dist/components/modules/profile/ProfileHeader.js +0 -20
  333. package/dist/components/modules/profile/ProfileHeader.js.map +0 -1
  334. package/dist/components/modules/profile/ProfileSidebar.d.ts +0 -11
  335. package/dist/components/modules/profile/ProfileSidebar.d.ts.map +0 -1
  336. package/dist/components/modules/profile/ProfileSidebar.js +0 -9
  337. package/dist/components/modules/profile/ProfileSidebar.js.map +0 -1
  338. package/dist/components/modules/profile/ProfileStats.d.ts +0 -7
  339. package/dist/components/modules/profile/ProfileStats.d.ts.map +0 -1
  340. package/dist/components/modules/profile/ProfileStats.js +0 -20
  341. package/dist/components/modules/profile/ProfileStats.js.map +0 -1
  342. package/dist/components/modules/profile/ProfileTabsArea.d.ts +0 -14
  343. package/dist/components/modules/profile/ProfileTabsArea.d.ts.map +0 -1
  344. package/dist/components/modules/profile/ProfileTabsArea.js +0 -59
  345. package/dist/components/modules/profile/ProfileTabsArea.js.map +0 -1
  346. package/dist/components/modules/profile/TeamSelectorModal.d.ts +0 -11
  347. package/dist/components/modules/profile/TeamSelectorModal.d.ts.map +0 -1
  348. package/dist/components/modules/profile/TeamSelectorModal.js +0 -17
  349. package/dist/components/modules/profile/TeamSelectorModal.js.map +0 -1
  350. package/dist/components/modules/shop/BackToStore.d.ts +0 -2
  351. package/dist/components/modules/shop/BackToStore.d.ts.map +0 -1
  352. package/dist/components/modules/shop/BackToStore.js +0 -11
  353. package/dist/components/modules/shop/BackToStore.js.map +0 -1
  354. package/dist/components/modules/shop/ProductCard.d.ts +0 -8
  355. package/dist/components/modules/shop/ProductCard.d.ts.map +0 -1
  356. package/dist/components/modules/shop/ProductCard.js +0 -11
  357. package/dist/components/modules/shop/ProductCard.js.map +0 -1
  358. package/dist/components/modules/shop/ProductDetailPage.d.ts +0 -8
  359. package/dist/components/modules/shop/ProductDetailPage.d.ts.map +0 -1
  360. package/dist/components/modules/shop/ProductDetailPage.js +0 -22
  361. package/dist/components/modules/shop/ProductDetailPage.js.map +0 -1
  362. package/dist/components/modules/shop/StoreHeader.d.ts +0 -6
  363. package/dist/components/modules/shop/StoreHeader.d.ts.map +0 -1
  364. package/dist/components/modules/shop/StoreHeader.js +0 -9
  365. package/dist/components/modules/shop/StoreHeader.js.map +0 -1
  366. package/dist/components/modules/social/Dashboard.d.ts +0 -2
  367. package/dist/components/modules/social/Dashboard.d.ts.map +0 -1
  368. package/dist/components/modules/social/Dashboard.js +0 -251
  369. package/dist/components/modules/social/Dashboard.js.map +0 -1
  370. package/dist/components/modules/social/SidebarLeft.d.ts +0 -2
  371. package/dist/components/modules/social/SidebarLeft.d.ts.map +0 -1
  372. package/dist/components/modules/social/SidebarLeft.js +0 -9
  373. package/dist/components/modules/social/SidebarLeft.js.map +0 -1
  374. package/dist/components/modules/stations/StationCard.d.ts +0 -3
  375. package/dist/components/modules/stations/StationCard.d.ts.map +0 -1
  376. package/dist/components/modules/stations/StationCard.js +0 -26
  377. package/dist/components/modules/stations/StationCard.js.map +0 -1
  378. package/dist/components/modules/stations/StationQRModal.d.ts +0 -10
  379. package/dist/components/modules/stations/StationQRModal.d.ts.map +0 -1
  380. package/dist/components/modules/stations/StationQRModal.js +0 -13
  381. package/dist/components/modules/stations/StationQRModal.js.map +0 -1
@@ -1,184 +1,184 @@
1
- export const PUNISHMENT_RULES = [
2
- // SOHBET (M1.X)
3
- {
4
- id: 'spam-flood',
5
- article: 'M1.1',
6
- category: 'SOHBET',
7
- name: 'Spam / Flood',
8
- description: 'Sohbet veya yorum alanlarında tekrarlayıcı ve rahatsız edici içerik paylaşımı.',
9
- duration: 24,
10
- restrictions: ['CHAT_BAN'],
11
- severity: 'low',
12
- isMajor: false
13
- },
14
- {
15
- id: 'inappropriate-lang',
16
- article: 'M1.2',
17
- category: 'SOHBET',
18
- name: 'Uygunsuz Dil / Küfür',
19
- description: 'Diğer kullanıcılara yönelik hakaret, küfür veya aşağılayıcı ifadeler.',
20
- duration: 72,
21
- restrictions: ['CHAT_BAN'],
22
- severity: 'medium',
23
- isMajor: true
24
- },
25
- {
26
- id: 'toxic-behavior',
27
- article: 'M1.3',
28
- category: 'SOHBET',
29
- name: 'Toksik Davranış / Kışkırtma',
30
- description: 'Topluluk huzurunu bozmaya yönelik kışkırtmalar ve huzursuzluk çıkarma.',
31
- duration: 48,
32
- restrictions: ['CHAT_BAN'],
33
- severity: 'low',
34
- isMajor: false
35
- },
36
- // İÇERİK (M2.X)
37
- {
38
- id: 'misleading-content',
39
- article: 'M2.1',
40
- category: 'İÇERİK',
41
- name: 'Hatalı Paylaşım / Clickbait',
42
- description: 'Topluluğu yanıltıcı veya gereksiz (çöp) içerik üretimi.',
43
- duration: 48,
44
- restrictions: ['POST_BAN'],
45
- severity: 'low',
46
- isMajor: false
47
- },
48
- {
49
- id: 'illegal-content',
50
- article: 'M2.2',
51
- category: 'İÇERİK',
52
- name: 'İllegal / Uygunsuz Paylaşım',
53
- description: 'Yasal olmayan içeriklerin, korsan yazılım veya uygunsuz medyanın paylaşımı.',
54
- duration: 0,
55
- restrictions: ['PERMANENT_BAN'],
56
- severity: 'critical',
57
- isMajor: true
58
- },
59
- {
60
- id: 'ad-sharing',
61
- article: 'M2.3',
62
- category: 'İÇERİK',
63
- name: 'İzinsiz Reklam / Tanıtım',
64
- description: 'Yönetimden izin almadan yapılan topluluk, yayıncı veya ürün reklamları.',
65
- duration: 168,
66
- restrictions: ['POST_BAN', 'CHAT_BAN'],
67
- severity: 'medium',
68
- isMajor: false
69
- },
70
- // GÜVENLİK (M3.X)
71
- {
72
- id: 'harassment',
73
- article: 'M3.1',
74
- category: 'GÜVENLİK',
75
- name: 'Kullanıcı Taciz / Rahatsızlık',
76
- description: 'Kullanıcıları sistematik olarak rahatsız etme veya taciz etme.',
77
- duration: 168,
78
- restrictions: ['CHAT_BAN', 'POST_BAN', 'PROFILE_EDIT_BAN'],
79
- severity: 'high',
80
- isMajor: true
81
- },
82
- {
83
- id: 'doxxing',
84
- article: 'M3.2',
85
- category: 'GÜVENLİK',
86
- name: 'Kişisel Veri İhlali / Doxxing',
87
- description: 'Bir kullanıcının gerçek hayat verilerini, adresini veya telefonunu izinsiz paylaşma.',
88
- duration: 0,
89
- restrictions: ['PERMANENT_BAN'],
90
- severity: 'critical',
91
- isMajor: true
92
- },
93
- {
94
- id: 'bug-abuse',
95
- article: 'M3.3',
96
- category: 'GÜVENLİK',
97
- name: 'Sistem Odaklı Hata Kullanımı',
98
- description: 'Platformdaki hataları (bug) bildirmek yerine kendi çıkarı için kullanma.',
99
- duration: 720, // 1 month
100
- restrictions: ['LOGIN_BAN', 'POST_BAN'],
101
- severity: 'high',
102
- isMajor: true
103
- },
104
- // HESAP (M4.X)
105
- {
106
- id: 'fake-identity',
107
- article: 'M4.1',
108
- category: 'HESAP',
109
- name: 'Sahte Kimlik / Taklit',
110
- description: 'Başka bir kullanıcıyı veya yetkiliyi taklit etme.',
111
- duration: 0,
112
- restrictions: ['PERMANENT_BAN'],
113
- severity: 'critical',
114
- isMajor: true
115
- },
116
- {
117
- id: 'hate-speech',
118
- article: 'M4.2',
119
- category: 'HESAP',
120
- name: 'Nefret Söylemi / Değerlere Hakaret',
121
- description: 'Dini, milli veya manevi değerlere yönelik ağır hakaret ve saldırı.',
122
- duration: 0,
123
- restrictions: ['PERMANENT_BAN'],
124
- severity: 'critical',
125
- isMajor: true
126
- },
127
- {
128
- id: 'fraud',
129
- article: 'M4.3',
130
- category: 'HESAP',
131
- name: 'Dolandırıcılık / Sahtekarlık',
132
- description: 'Hizmet veya ürün alımlarında kullanıcıları veya sistemi dolandırma girişimi.',
133
- duration: 0,
134
- restrictions: ['PERMANENT_BAN'],
135
- severity: 'critical',
136
- isMajor: true
137
- },
138
- {
139
- id: 'multi-account',
140
- article: 'M4.4',
141
- category: 'HESAP',
142
- name: 'Çoklu Hesap / Multi Account',
143
- description: 'Yasaklandığı halde farklı hesaplarla sisteme tekrar dahil olma girişimi.',
144
- duration: 0,
145
- restrictions: ['PERMANENT_BAN'],
146
- severity: 'critical',
147
- isMajor: true
148
- }
149
- ];
150
- export const getRestrictionLabel = (type) => {
151
- switch (type) {
152
- case 'CHAT_BAN': return 'Sohbet Yasağı';
153
- case 'POST_BAN': return 'Paylaşım Yasağı';
154
- case 'PROFILE_EDIT_BAN': return 'Profil Düzenleme Yasağı';
155
- case 'LOGIN_BAN': return 'Giriş Yasağı';
156
- case 'PERMANENT_BAN': return 'Kalıcı Yasaklama (Ban)';
157
- default: return 'Bilinmeyen Kısıtlama';
158
- }
159
- };
160
- /**
161
- * Calculates the escalated duration based on the number of previous punishments.
162
- * Formula: base * multiplier
163
- */
164
- export const calculateEscalatedDuration = (baseDuration, punishmentCount) => {
165
- if (baseDuration === 0)
166
- return 0; // Permanent stays permanent
167
- const level = getCommunityComplianceLevel(punishmentCount);
168
- return Math.round(baseDuration * level.multiplier);
169
- };
170
- /**
171
- * Returns the community compliance level details based on involvement count.
172
- */
173
- export const getCommunityComplianceLevel = (count) => {
174
- if (count === 0)
175
- return { label: 'Tam Uyumlu', color: '#10b981', multiplier: 1.0, severity: 'safe' };
176
- if (count < 3)
177
- return { label: 'Biliyor', color: '#3b82f6', multiplier: 1.1, severity: 'low' };
178
- if (count < 6)
179
- return { label: 'Dikkat Etmeli', color: '#eab308', multiplier: 1.3, severity: 'medium' };
180
- if (count < 9)
181
- return { label: 'Rehberlik Gerekli', color: '#f97316', multiplier: 1.6, severity: 'high' };
182
- return { label: 'İnceleme Altında', color: '#ef4444', multiplier: 2.0, severity: 'critical' };
183
- };
1
+ export const PUNISHMENT_RULES = [
2
+ // SOHBET (M1.X)
3
+ {
4
+ id: 'spam-flood',
5
+ article: 'M1.1',
6
+ category: 'SOHBET',
7
+ name: 'Spam / Flood',
8
+ description: 'Sohbet veya yorum alanlarında tekrarlayıcı ve rahatsız edici içerik paylaşımı.',
9
+ duration: 24,
10
+ restrictions: ['CHAT_BAN'],
11
+ severity: 'low',
12
+ isMajor: false
13
+ },
14
+ {
15
+ id: 'inappropriate-lang',
16
+ article: 'M1.2',
17
+ category: 'SOHBET',
18
+ name: 'Uygunsuz Dil / Küfür',
19
+ description: 'Diğer kullanıcılara yönelik hakaret, küfür veya aşağılayıcı ifadeler.',
20
+ duration: 72,
21
+ restrictions: ['CHAT_BAN'],
22
+ severity: 'medium',
23
+ isMajor: true
24
+ },
25
+ {
26
+ id: 'toxic-behavior',
27
+ article: 'M1.3',
28
+ category: 'SOHBET',
29
+ name: 'Toksik Davranış / Kışkırtma',
30
+ description: 'Topluluk huzurunu bozmaya yönelik kışkırtmalar ve huzursuzluk çıkarma.',
31
+ duration: 48,
32
+ restrictions: ['CHAT_BAN'],
33
+ severity: 'low',
34
+ isMajor: false
35
+ },
36
+ // İÇERİK (M2.X)
37
+ {
38
+ id: 'misleading-content',
39
+ article: 'M2.1',
40
+ category: 'İÇERİK',
41
+ name: 'Hatalı Paylaşım / Clickbait',
42
+ description: 'Topluluğu yanıltıcı veya gereksiz (çöp) içerik üretimi.',
43
+ duration: 48,
44
+ restrictions: ['POST_BAN'],
45
+ severity: 'low',
46
+ isMajor: false
47
+ },
48
+ {
49
+ id: 'illegal-content',
50
+ article: 'M2.2',
51
+ category: 'İÇERİK',
52
+ name: 'İllegal / Uygunsuz Paylaşım',
53
+ description: 'Yasal olmayan içeriklerin, korsan yazılım veya uygunsuz medyanın paylaşımı.',
54
+ duration: 0,
55
+ restrictions: ['PERMANENT_BAN'],
56
+ severity: 'critical',
57
+ isMajor: true
58
+ },
59
+ {
60
+ id: 'ad-sharing',
61
+ article: 'M2.3',
62
+ category: 'İÇERİK',
63
+ name: 'İzinsiz Reklam / Tanıtım',
64
+ description: 'Yönetimden izin almadan yapılan topluluk, yayıncı veya ürün reklamları.',
65
+ duration: 168,
66
+ restrictions: ['POST_BAN', 'CHAT_BAN'],
67
+ severity: 'medium',
68
+ isMajor: false
69
+ },
70
+ // GÜVENLİK (M3.X)
71
+ {
72
+ id: 'harassment',
73
+ article: 'M3.1',
74
+ category: 'GÜVENLİK',
75
+ name: 'Kullanıcı Taciz / Rahatsızlık',
76
+ description: 'Kullanıcıları sistematik olarak rahatsız etme veya taciz etme.',
77
+ duration: 168,
78
+ restrictions: ['CHAT_BAN', 'POST_BAN', 'PROFILE_EDIT_BAN'],
79
+ severity: 'high',
80
+ isMajor: true
81
+ },
82
+ {
83
+ id: 'doxxing',
84
+ article: 'M3.2',
85
+ category: 'GÜVENLİK',
86
+ name: 'Kişisel Veri İhlali / Doxxing',
87
+ description: 'Bir kullanıcının gerçek hayat verilerini, adresini veya telefonunu izinsiz paylaşma.',
88
+ duration: 0,
89
+ restrictions: ['PERMANENT_BAN'],
90
+ severity: 'critical',
91
+ isMajor: true
92
+ },
93
+ {
94
+ id: 'bug-abuse',
95
+ article: 'M3.3',
96
+ category: 'GÜVENLİK',
97
+ name: 'Sistem Odaklı Hata Kullanımı',
98
+ description: 'Platformdaki hataları (bug) bildirmek yerine kendi çıkarı için kullanma.',
99
+ duration: 720, // 1 month
100
+ restrictions: ['LOGIN_BAN', 'POST_BAN'],
101
+ severity: 'high',
102
+ isMajor: true
103
+ },
104
+ // HESAP (M4.X)
105
+ {
106
+ id: 'fake-identity',
107
+ article: 'M4.1',
108
+ category: 'HESAP',
109
+ name: 'Sahte Kimlik / Taklit',
110
+ description: 'Başka bir kullanıcıyı veya yetkiliyi taklit etme.',
111
+ duration: 0,
112
+ restrictions: ['PERMANENT_BAN'],
113
+ severity: 'critical',
114
+ isMajor: true
115
+ },
116
+ {
117
+ id: 'hate-speech',
118
+ article: 'M4.2',
119
+ category: 'HESAP',
120
+ name: 'Nefret Söylemi / Değerlere Hakaret',
121
+ description: 'Dini, milli veya manevi değerlere yönelik ağır hakaret ve saldırı.',
122
+ duration: 0,
123
+ restrictions: ['PERMANENT_BAN'],
124
+ severity: 'critical',
125
+ isMajor: true
126
+ },
127
+ {
128
+ id: 'fraud',
129
+ article: 'M4.3',
130
+ category: 'HESAP',
131
+ name: 'Dolandırıcılık / Sahtekarlık',
132
+ description: 'Hizmet veya ürün alımlarında kullanıcıları veya sistemi dolandırma girişimi.',
133
+ duration: 0,
134
+ restrictions: ['PERMANENT_BAN'],
135
+ severity: 'critical',
136
+ isMajor: true
137
+ },
138
+ {
139
+ id: 'multi-account',
140
+ article: 'M4.4',
141
+ category: 'HESAP',
142
+ name: 'Çoklu Hesap / Multi Account',
143
+ description: 'Yasaklandığı halde farklı hesaplarla sisteme tekrar dahil olma girişimi.',
144
+ duration: 0,
145
+ restrictions: ['PERMANENT_BAN'],
146
+ severity: 'critical',
147
+ isMajor: true
148
+ }
149
+ ];
150
+ export const getRestrictionLabel = (type) => {
151
+ switch (type) {
152
+ case 'CHAT_BAN': return 'Sohbet Yasağı';
153
+ case 'POST_BAN': return 'Paylaşım Yasağı';
154
+ case 'PROFILE_EDIT_BAN': return 'Profil Düzenleme Yasağı';
155
+ case 'LOGIN_BAN': return 'Giriş Yasağı';
156
+ case 'PERMANENT_BAN': return 'Kalıcı Yasaklama (Ban)';
157
+ default: return 'Bilinmeyen Kısıtlama';
158
+ }
159
+ };
160
+ /**
161
+ * Calculates the escalated duration based on the number of previous punishments.
162
+ * Formula: base * multiplier
163
+ */
164
+ export const calculateEscalatedDuration = (baseDuration, punishmentCount) => {
165
+ if (baseDuration === 0)
166
+ return 0; // Permanent stays permanent
167
+ const level = getCommunityComplianceLevel(punishmentCount);
168
+ return Math.round(baseDuration * level.multiplier);
169
+ };
170
+ /**
171
+ * Returns the community compliance level details based on involvement count.
172
+ */
173
+ export const getCommunityComplianceLevel = (count) => {
174
+ if (count === 0)
175
+ return { label: 'Tam Uyumlu', color: '#10b981', multiplier: 1.0, severity: 'safe' };
176
+ if (count < 3)
177
+ return { label: 'Biliyor', color: '#3b82f6', multiplier: 1.1, severity: 'low' };
178
+ if (count < 6)
179
+ return { label: 'Dikkat Etmeli', color: '#eab308', multiplier: 1.3, severity: 'medium' };
180
+ if (count < 9)
181
+ return { label: 'Rehberlik Gerekli', color: '#f97316', multiplier: 1.6, severity: 'high' };
182
+ return { label: 'İnceleme Altında', color: '#ef4444', multiplier: 2.0, severity: 'critical' };
183
+ };
184
184
  //# sourceMappingURL=punishmentData.js.map
@@ -1,50 +1,50 @@
1
- import { Survey, SurveyAnswer } from '@armoyu/core';
2
- // Assuming we need userList from seedData, but let's define some IDs locally
3
- // to avoid circular dependencies if we move it.
4
- // For now, let's just use the existing author objects from what we know.
5
- export const MOCK_SURVEYS_DATA = (userList) => [
6
- new Survey({
7
- id: 's1',
8
- question: 'Bir sonraki turnuva hangi oyunda olmalı?',
9
- description: 'Topluluk haftalık turnuvaları için oyun seçimi yapıyoruz. Oyununuzu kullanın!',
10
- createdAt: '2 gün önce',
11
- expiresAt: '2024-05-10',
12
- author: userList[0],
13
- options: [
14
- new SurveyAnswer({ id: 'o1', text: 'Counter-Strike 2', votes: 145 }),
15
- new SurveyAnswer({ id: 'o2', text: 'League of Legends', votes: 89 }),
16
- new SurveyAnswer({ id: 'o3', text: 'Valorant', votes: 210 }),
17
- new SurveyAnswer({ id: 'o4', text: 'Rocket League', votes: 42 }),
18
- ],
19
- hasVoted: true,
20
- myVoteId: 'o3'
21
- }),
22
- new Survey({
23
- id: 's2',
24
- question: 'ARMOYU V3 tasarımı hakkında ne düşünüyorsunuz?',
25
- description: 'Yeni nesil arayüzümüz hakkındaki görüşleriniz bizim için çok değerli. Lütfen puan verin!',
26
- createdAt: '5 saat önce',
27
- author: userList[0],
28
- options: [
29
- new SurveyAnswer({ id: 'o1', text: 'Mükemmel, çok modern!', votes: 450 }),
30
- new SurveyAnswer({ id: 'o2', text: 'Güzel ama gelişmesi gereken yerler var.', votes: 65 }),
31
- new SurveyAnswer({ id: 'o3', text: 'Eskisi daha iyiydi.', votes: 12 }),
32
- ],
33
- hasVoted: false
34
- }),
35
- new Survey({
36
- id: 's3',
37
- question: 'Yazılım ekibimize yeni üyeler katılmalı mı?',
38
- description: 'Genişleyen projelerimiz için yeni yetenekler arıyoruz.',
39
- createdAt: '1 gün önce',
40
- expiresAt: '2024-04-30',
41
- author: userList[1],
42
- options: [
43
- new SurveyAnswer({ id: 'o1', text: 'Evet, daha hızlı ilerleriz.', votes: 210 }),
44
- new SurveyAnswer({ id: 'o2', text: 'Hayır, şu anki ekip yeterli.', votes: 45 }),
45
- ],
46
- hasVoted: true,
47
- myVoteId: 'o1'
48
- })
49
- ];
1
+ import { Survey, SurveyAnswer } from '@armoyu/core';
2
+ // Assuming we need userList from seedData, but let's define some IDs locally
3
+ // to avoid circular dependencies if we move it.
4
+ // For now, let's just use the existing author objects from what we know.
5
+ export const MOCK_SURVEYS_DATA = (userList) => [
6
+ new Survey({
7
+ id: 's1',
8
+ question: 'Bir sonraki turnuva hangi oyunda olmalı?',
9
+ description: 'Topluluk haftalık turnuvaları için oyun seçimi yapıyoruz. Oyununuzu kullanın!',
10
+ createdAt: '2 gün önce',
11
+ expiresAt: '2024-05-10',
12
+ author: userList[0],
13
+ options: [
14
+ new SurveyAnswer({ id: 'o1', text: 'Counter-Strike 2', votes: 145 }),
15
+ new SurveyAnswer({ id: 'o2', text: 'League of Legends', votes: 89 }),
16
+ new SurveyAnswer({ id: 'o3', text: 'Valorant', votes: 210 }),
17
+ new SurveyAnswer({ id: 'o4', text: 'Rocket League', votes: 42 }),
18
+ ],
19
+ hasVoted: true,
20
+ myVoteId: 'o3'
21
+ }),
22
+ new Survey({
23
+ id: 's2',
24
+ question: 'ARMOYU V3 tasarımı hakkında ne düşünüyorsunuz?',
25
+ description: 'Yeni nesil arayüzümüz hakkındaki görüşleriniz bizim için çok değerli. Lütfen puan verin!',
26
+ createdAt: '5 saat önce',
27
+ author: userList[0],
28
+ options: [
29
+ new SurveyAnswer({ id: 'o1', text: 'Mükemmel, çok modern!', votes: 450 }),
30
+ new SurveyAnswer({ id: 'o2', text: 'Güzel ama gelişmesi gereken yerler var.', votes: 65 }),
31
+ new SurveyAnswer({ id: 'o3', text: 'Eskisi daha iyiydi.', votes: 12 }),
32
+ ],
33
+ hasVoted: false
34
+ }),
35
+ new Survey({
36
+ id: 's3',
37
+ question: 'Yazılım ekibimize yeni üyeler katılmalı mı?',
38
+ description: 'Genişleyen projelerimiz için yeni yetenekler arıyoruz.',
39
+ createdAt: '1 gün önce',
40
+ expiresAt: '2024-04-30',
41
+ author: userList[1],
42
+ options: [
43
+ new SurveyAnswer({ id: 'o1', text: 'Evet, daha hızlı ilerleriz.', votes: 210 }),
44
+ new SurveyAnswer({ id: 'o2', text: 'Hayır, şu anki ekip yeterli.', votes: 45 }),
45
+ ],
46
+ hasVoted: true,
47
+ myVoteId: 'o1'
48
+ })
49
+ ];
50
50
  //# sourceMappingURL=surveyData.js.map
@@ -1,66 +1,66 @@
1
- import { Team } from '@armoyu/core';
2
- /**
3
- * Super League Teams Data
4
- */
5
- export const SUPER_LEAGUE_TEAMS = [
6
- new Team({
7
- id: 't1',
8
- name: 'Galatasaray',
9
- shortName: 'GS',
10
- logo: 'https://upload.wikimedia.org/wikipedia/commons/thumb/3/37/Galatasaray_Star_Logo.png/600px-Galatasaray_Star_Logo.png',
11
- primaryColor: '#ef4444'
12
- }),
13
- new Team({
14
- id: 't2',
15
- name: 'Fenerbahçe',
16
- shortName: 'FB',
17
- logo: 'https://upload.wikimedia.org/wikipedia/tr/thumb/8/86/Fenerbah%C3%A7e_SK.png/600px-Fenerbah%C3%A7e_SK.png',
18
- primaryColor: '#fbbf24'
19
- }),
20
- new Team({
21
- id: 't3',
22
- name: 'Beşiktaş',
23
- shortName: 'BJK',
24
- logo: 'https://upload.wikimedia.org/wikipedia/commons/thumb/2/20/Logo_of_Be%C5%9Fikta%C5%9F_JK.svg/600px-Logo_of_Be%C5%9Fikta%C5%9F_JK.svg.png',
25
- primaryColor: '#000000'
26
- }),
27
- new Team({
28
- id: 't4',
29
- name: 'Trabzonspor',
30
- shortName: 'TS',
31
- logo: 'https://upload.wikimedia.org/wikipedia/tr/thumb/a/ab/Trabzonspor_Logo.png/600px-Trabzonspor_Logo.png',
32
- primaryColor: '#9d174d'
33
- }),
34
- new Team({
35
- id: 't5',
36
- name: 'Başakşehir',
37
- shortName: 'IBFK',
38
- logo: 'https://upload.wikimedia.org/wikipedia/tr/thumb/c/c6/Istanbul_Basaksehir_FK.png/600px-Istanbul_Basaksehir_FK.png',
39
- primaryColor: '#f97316'
40
- }),
41
- new Team({
42
- id: 'none',
43
- name: 'Takım Tutmuyorum',
44
- shortName: 'NONE',
45
- logo: '',
46
- primaryColor: '#808080'
47
- })
48
- ];
49
- /**
50
- * Zodiac Signs Data
51
- */
52
- export const ZODIAC_SIGNS = [
53
- { name: 'Koç', icon: '♈' },
54
- { name: 'Boğa', icon: '♉' },
55
- { name: 'İkizler', icon: '♊' },
56
- { name: 'Yengeç', icon: '♋' },
57
- { name: 'Aslan', icon: '♌' },
58
- { name: 'Başak', icon: '♍' },
59
- { name: 'Terazi', icon: '♎' },
60
- { name: 'Akrep', icon: '♏' },
61
- { name: 'Yay', icon: '♐' },
62
- { name: 'Oğlak', icon: '♑' },
63
- { name: 'Kova', icon: '♒' },
64
- { name: 'Balık', icon: '♓' }
65
- ];
1
+ import { Team } from '@armoyu/core';
2
+ /**
3
+ * Super League Teams Data
4
+ */
5
+ export const SUPER_LEAGUE_TEAMS = [
6
+ new Team({
7
+ id: 't1',
8
+ name: 'Galatasaray',
9
+ shortName: 'GS',
10
+ logo: 'https://upload.wikimedia.org/wikipedia/commons/thumb/3/37/Galatasaray_Star_Logo.png/600px-Galatasaray_Star_Logo.png',
11
+ primaryColor: '#ef4444'
12
+ }),
13
+ new Team({
14
+ id: 't2',
15
+ name: 'Fenerbahçe',
16
+ shortName: 'FB',
17
+ logo: 'https://upload.wikimedia.org/wikipedia/tr/thumb/8/86/Fenerbah%C3%A7e_SK.png/600px-Fenerbah%C3%A7e_SK.png',
18
+ primaryColor: '#fbbf24'
19
+ }),
20
+ new Team({
21
+ id: 't3',
22
+ name: 'Beşiktaş',
23
+ shortName: 'BJK',
24
+ logo: 'https://upload.wikimedia.org/wikipedia/commons/thumb/2/20/Logo_of_Be%C5%9Fikta%C5%9F_JK.svg/600px-Logo_of_Be%C5%9Fikta%C5%9F_JK.svg.png',
25
+ primaryColor: '#000000'
26
+ }),
27
+ new Team({
28
+ id: 't4',
29
+ name: 'Trabzonspor',
30
+ shortName: 'TS',
31
+ logo: 'https://upload.wikimedia.org/wikipedia/tr/thumb/a/ab/Trabzonspor_Logo.png/600px-Trabzonspor_Logo.png',
32
+ primaryColor: '#9d174d'
33
+ }),
34
+ new Team({
35
+ id: 't5',
36
+ name: 'Başakşehir',
37
+ shortName: 'IBFK',
38
+ logo: 'https://upload.wikimedia.org/wikipedia/tr/thumb/c/c6/Istanbul_Basaksehir_FK.png/600px-Istanbul_Basaksehir_FK.png',
39
+ primaryColor: '#f97316'
40
+ }),
41
+ new Team({
42
+ id: 'none',
43
+ name: 'Takım Tutmuyorum',
44
+ shortName: 'NONE',
45
+ logo: '',
46
+ primaryColor: '#808080'
47
+ })
48
+ ];
49
+ /**
50
+ * Zodiac Signs Data
51
+ */
52
+ export const ZODIAC_SIGNS = [
53
+ { name: 'Koç', icon: '♈' },
54
+ { name: 'Boğa', icon: '♉' },
55
+ { name: 'İkizler', icon: '♊' },
56
+ { name: 'Yengeç', icon: '♋' },
57
+ { name: 'Aslan', icon: '♌' },
58
+ { name: 'Başak', icon: '♍' },
59
+ { name: 'Terazi', icon: '♎' },
60
+ { name: 'Akrep', icon: '♏' },
61
+ { name: 'Yay', icon: '♐' },
62
+ { name: 'Oğlak', icon: '♑' },
63
+ { name: 'Kova', icon: '♒' },
64
+ { name: 'Balık', icon: '♓' }
65
+ ];
66
66
  //# sourceMappingURL=teamData.js.map
@@ -0,0 +1,7 @@
1
+ import { PostCardProps } from '../../components/modules/posts/widgets/PostCard';
2
+ /**
3
+ * Standardizes API post objects into PostCardProps for UI components.
4
+ * Handles different field naming conventions across ARMOYU API versions.
5
+ */
6
+ export declare function mapApiPostToCardProps(p: any): PostCardProps;
7
+ //# sourceMappingURL=postUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postUtils.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/postUtils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAEhF;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,GAAG,GAAG,aAAa,CA0C3D"}