@armoyu/ui 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/dist/app/api/proxy/[...path]/route.d.ts +22 -0
  2. package/dist/app/api/proxy/[...path]/route.d.ts.map +1 -0
  3. package/dist/app/api/proxy/[...path]/route.js +89 -0
  4. package/dist/app/api/proxy/[...path]/route.js.map +1 -0
  5. package/dist/app/layout.d.ts.map +1 -1
  6. package/dist/app/layout.js +2 -5
  7. package/dist/app/layout.js.map +1 -1
  8. package/dist/components/RollingNumber.d.ts +6 -6
  9. package/dist/components/RollingNumber.js +23 -23
  10. package/dist/components/RollingNumber.js.map +1 -1
  11. package/dist/components/StatsGrid.d.ts +5 -5
  12. package/dist/components/modules/auth/Dashboard.d.ts +1 -1
  13. package/dist/components/modules/auth/PostCard.d.ts +24 -24
  14. package/dist/components/modules/auth/PostInteractionsModal.d.ts +11 -11
  15. package/dist/components/modules/auth/RepostModal.d.ts +21 -21
  16. package/dist/components/modules/auth/SidebarLeft.d.ts +1 -1
  17. package/dist/components/modules/auth/Stories.d.ts +1 -1
  18. package/dist/components/modules/auth/StoryViewer.d.ts +9 -9
  19. package/dist/components/modules/chat/ChatContainer.d.ts +1 -1
  20. package/dist/components/modules/chat/ChatInput.d.ts +4 -4
  21. package/dist/components/modules/chat/ChatList.d.ts +6 -6
  22. package/dist/components/modules/chat/ChatNotes.d.ts +1 -1
  23. package/dist/components/modules/community/GroupHeader.d.ts +10 -10
  24. package/dist/components/modules/community/GroupMenu.d.ts +9 -9
  25. package/dist/components/modules/community/SchoolCard.d.ts +6 -6
  26. package/dist/components/modules/community/SurveyCard.d.ts +6 -6
  27. package/dist/components/modules/guest/Introduction.d.ts +1 -1
  28. package/dist/components/modules/magaza/BackToStore.d.ts +1 -1
  29. package/dist/components/modules/magaza/StoreHeader.d.ts +5 -5
  30. package/dist/components/modules/news/NewsCard.d.ts +11 -11
  31. package/dist/components/modules/news/NewsComments.d.ts +1 -1
  32. package/dist/components/modules/profile/ProfileContent.d.ts +4 -4
  33. package/dist/components/modules/profile/ProfileHeader.d.ts +7 -7
  34. package/dist/components/modules/profile/ProfileStats.d.ts +1 -1
  35. package/dist/components/modules/profile/ProfileStats.js +14 -14
  36. package/dist/components/modules/profile/ProfileStats.js.map +1 -1
  37. package/dist/components/modules/profile/TeamSelectorModal.d.ts +10 -10
  38. package/dist/components/modules/stations/StationCard.d.ts +2 -2
  39. package/dist/components/modules/stations/StationQRModal.d.ts +9 -9
  40. package/dist/components/shared/FloatingChatButton.d.ts +4 -4
  41. package/dist/components/shared/Header.d.ts +1 -1
  42. package/dist/components/shared/LoginModal.d.ts +4 -4
  43. package/dist/components/shared/LoginModal.d.ts.map +1 -1
  44. package/dist/components/shared/LoginModal.js +65 -69
  45. package/dist/components/shared/LoginModal.js.map +1 -1
  46. package/dist/components/shared/MainLayoutWrapper.d.ts +3 -3
  47. package/dist/components/showcase/SocialTab.d.ts.map +1 -1
  48. package/dist/components/showcase/SocialTab.js +47 -2
  49. package/dist/components/showcase/SocialTab.js.map +1 -1
  50. package/dist/context/AuthContext.d.ts +18 -18
  51. package/dist/context/AuthContext.d.ts.map +1 -1
  52. package/dist/context/AuthContext.js +93 -74
  53. package/dist/context/AuthContext.js.map +1 -1
  54. package/dist/context/CartContext.d.ts +16 -16
  55. package/dist/context/SocketContext.d.ts +12 -12
  56. package/dist/index.d.ts +65 -65
  57. package/dist/lib/constants/educationData.d.ts +7 -7
  58. package/dist/lib/constants/seedData.d.ts +164 -164
  59. package/dist/lib/constants/stationData.d.ts +13 -13
  60. package/dist/lib/constants/surveyData.d.ts +2 -2
  61. package/dist/lib/constants/teamData.d.ts +12 -12
  62. package/package.json +13 -11
  63. package/next.config.ts +0 -13
  64. package/postcss.config.js +0 -6
  65. package/src/app/layout.tsx +0 -67
  66. package/src/app/page.tsx +0 -101
  67. package/src/components/Button.tsx +0 -41
  68. package/src/components/GenderStatsBar.tsx +0 -66
  69. package/src/components/RollingNumber.tsx +0 -50
  70. package/src/components/Slider.tsx +0 -114
  71. package/src/components/StatsGrid.tsx +0 -35
  72. package/src/components/ViewModeToggle.tsx +0 -39
  73. package/src/components/modules/auth/Dashboard.tsx +0 -649
  74. package/src/components/modules/auth/MediaLightbox.tsx +0 -112
  75. package/src/components/modules/auth/PostCard.tsx +0 -556
  76. package/src/components/modules/auth/PostInteractionsModal.tsx +0 -138
  77. package/src/components/modules/auth/RepostModal.tsx +0 -167
  78. package/src/components/modules/auth/SidebarLeft.tsx +0 -237
  79. package/src/components/modules/auth/Stories.tsx +0 -69
  80. package/src/components/modules/auth/StoryViewer.tsx +0 -146
  81. package/src/components/modules/chat/ChatContainer.tsx +0 -332
  82. package/src/components/modules/chat/ChatInput.tsx +0 -57
  83. package/src/components/modules/chat/ChatList.tsx +0 -179
  84. package/src/components/modules/chat/ChatMessage.tsx +0 -43
  85. package/src/components/modules/chat/ChatNotes.tsx +0 -58
  86. package/src/components/modules/community/GroupHeader.tsx +0 -111
  87. package/src/components/modules/community/GroupMenu.tsx +0 -82
  88. package/src/components/modules/community/SchoolCard.tsx +0 -104
  89. package/src/components/modules/community/SurveyCard.tsx +0 -149
  90. package/src/components/modules/forum/ForumBoard.tsx +0 -78
  91. package/src/components/modules/forum/ForumPost.tsx +0 -71
  92. package/src/components/modules/forum/NewTopicModal.tsx +0 -112
  93. package/src/components/modules/forum/TopicItem.tsx +0 -72
  94. package/src/components/modules/galleries/GalleryCard.tsx +0 -66
  95. package/src/components/modules/giveaways/GiveawayCard.tsx +0 -76
  96. package/src/components/modules/groups/ApplicationModal.tsx +0 -133
  97. package/src/components/modules/groups/GroupCard.tsx +0 -96
  98. package/src/components/modules/guest/Introduction.tsx +0 -60
  99. package/src/components/modules/magaza/BackToStore.tsx +0 -53
  100. package/src/components/modules/magaza/StoreHeader.tsx +0 -74
  101. package/src/components/modules/news/NewsCard.tsx +0 -66
  102. package/src/components/modules/news/NewsComments.tsx +0 -141
  103. package/src/components/modules/profile/CloudStorageModal.tsx +0 -200
  104. package/src/components/modules/profile/EditProfileModal.tsx +0 -191
  105. package/src/components/modules/profile/ProfileContent.tsx +0 -491
  106. package/src/components/modules/profile/ProfileHeader.tsx +0 -128
  107. package/src/components/modules/profile/ProfileStats.tsx +0 -72
  108. package/src/components/modules/profile/TeamSelectorModal.tsx +0 -129
  109. package/src/components/modules/stations/StationCard.tsx +0 -95
  110. package/src/components/modules/stations/StationQRModal.tsx +0 -102
  111. package/src/components/shared/FloatingChatButton.tsx +0 -57
  112. package/src/components/shared/Footer.tsx +0 -77
  113. package/src/components/shared/Header.tsx +0 -799
  114. package/src/components/shared/LoginModal.tsx +0 -208
  115. package/src/components/shared/MainLayoutWrapper.tsx +0 -15
  116. package/src/components/shared/PageWidth.tsx +0 -22
  117. package/src/components/showcase/CommunityTab.tsx +0 -22
  118. package/src/components/showcase/CorporateTab.tsx +0 -38
  119. package/src/components/showcase/GeneralTab.tsx +0 -41
  120. package/src/components/showcase/MessagesTab.tsx +0 -26
  121. package/src/components/showcase/ProfileTab.tsx +0 -20
  122. package/src/components/showcase/ShopTab.tsx +0 -24
  123. package/src/components/showcase/SocialTab.tsx +0 -28
  124. package/src/context/AuthContext.tsx +0 -104
  125. package/src/context/CartContext.tsx +0 -93
  126. package/src/context/ChatContext.tsx +0 -32
  127. package/src/context/LayoutContext.tsx +0 -29
  128. package/src/context/SocketContext.tsx +0 -50
  129. package/src/context/ThemeContext.tsx +0 -52
  130. package/src/index.ts +0 -96
  131. package/src/lib/constants/educationData.ts +0 -124
  132. package/src/lib/constants/punishmentData.ts +0 -201
  133. package/src/lib/constants/seedData.ts +0 -758
  134. package/src/lib/constants/stationData.ts +0 -170
  135. package/src/lib/constants/surveyData.ts +0 -53
  136. package/src/lib/constants/teamData.ts +0 -69
  137. package/src/lib/utils/numberFormat.ts +0 -16
  138. package/src/lib/utils/odpUtils.ts +0 -51
  139. package/src/types/index.ts +0 -1
  140. package/src/types/stats.ts +0 -17
@@ -0,0 +1,22 @@
1
+ import { NextRequest, NextResponse } from 'next/server';
2
+ export declare function POST(req: NextRequest, { params }: {
3
+ params: Promise<{
4
+ path: string[];
5
+ }>;
6
+ }): Promise<NextResponse<any>>;
7
+ export declare function GET(req: NextRequest, { params }: {
8
+ params: Promise<{
9
+ path: string[];
10
+ }>;
11
+ }): Promise<NextResponse<any>>;
12
+ export declare function PUT(req: NextRequest, { params }: {
13
+ params: Promise<{
14
+ path: string[];
15
+ }>;
16
+ }): Promise<NextResponse<any>>;
17
+ export declare function DELETE(req: NextRequest, { params }: {
18
+ params: Promise<{
19
+ path: string[];
20
+ }>;
21
+ }): Promise<NextResponse<any>>;
22
+ //# sourceMappingURL=route.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../src/app/api/proxy/[...path]/route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAExD,wBAAsB,IAAI,CAAC,GAAG,EAAE,WAAW,EAAE,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAA;CAAE,8BAG/F;AAED,wBAAsB,GAAG,CAAC,GAAG,EAAE,WAAW,EAAE,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAA;CAAE,8BAG9F;AAED,wBAAsB,GAAG,CAAC,GAAG,EAAE,WAAW,EAAE,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAA;CAAE,8BAG9F;AAED,wBAAsB,MAAM,CAAC,GAAG,EAAE,WAAW,EAAE,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAA;CAAE,8BAGjG"}
@@ -0,0 +1,89 @@
1
+ import { NextResponse } from 'next/server';
2
+ export async function POST(req, { params }) {
3
+ const { path } = await params;
4
+ return handleProxy(req, path);
5
+ }
6
+ export async function GET(req, { params }) {
7
+ const { path } = await params;
8
+ return handleProxy(req, path);
9
+ }
10
+ export async function PUT(req, { params }) {
11
+ const { path } = await params;
12
+ return handleProxy(req, path);
13
+ }
14
+ export async function DELETE(req, { params }) {
15
+ const { path } = await params;
16
+ return handleProxy(req, path);
17
+ }
18
+ async function handleProxy(req, pathSegments) {
19
+ const apiKey = req.headers.get('x-api-key') || '';
20
+ const endpoint = '/' + pathSegments.join('/');
21
+ if (!apiKey) {
22
+ return NextResponse.json({ durum: 0, aciklama: 'X-API-KEY header missing' }, { status: 400 });
23
+ }
24
+ // Target Armoyu API
25
+ const targetUrl = `https://api.armoyu.com/botlar/${apiKey}${endpoint}`;
26
+ const method = req.method;
27
+ const headers = new Headers();
28
+ // Helper to safely set headers and avoid ISO-8859-1 errors
29
+ const safeSetHeader = (key, value) => {
30
+ if (!value)
31
+ return;
32
+ const isAscii = /^[ -~]*$/.test(value);
33
+ if (isAscii) {
34
+ headers.set(key, value);
35
+ }
36
+ else {
37
+ console.warn(`[Proxy] Skipping header ${key} due to non-ASCII characters`);
38
+ }
39
+ };
40
+ // Whitelist of headers to forward
41
+ const allowedHeaders = ['authorization', 'content-type', 'x-api-key', 'accept', 'user-agent', 'x-requested-with'];
42
+ req.headers.forEach((value, key) => {
43
+ if (allowedHeaders.includes(key.toLowerCase())) {
44
+ safeSetHeader(key, value);
45
+ }
46
+ });
47
+ if (apiKey) {
48
+ safeSetHeader('X-API-KEY', apiKey);
49
+ }
50
+ try {
51
+ const fetchOptions = {
52
+ method,
53
+ headers,
54
+ cache: 'no-store'
55
+ };
56
+ if (method !== 'GET' && method !== 'HEAD') {
57
+ try {
58
+ const bodyClone = req.clone();
59
+ const arrayBuffer = await bodyClone.arrayBuffer();
60
+ if (arrayBuffer.byteLength > 0) {
61
+ fetchOptions.body = arrayBuffer;
62
+ }
63
+ }
64
+ catch (bodyError) {
65
+ console.warn(`[Proxy] Body read warning: ${bodyError.message}`);
66
+ }
67
+ }
68
+ const response = await fetch(targetUrl, fetchOptions);
69
+ const responseText = await response.text();
70
+ let responseData;
71
+ try {
72
+ responseData = JSON.parse(responseText);
73
+ }
74
+ catch {
75
+ responseData = responseText;
76
+ }
77
+ return NextResponse.json(responseData, { status: response.status });
78
+ }
79
+ catch (error) {
80
+ console.error(`[Proxy Error] ${method} ${targetUrl}:`, error);
81
+ return NextResponse.json({
82
+ durum: 0,
83
+ aciklama: `Proxy Error: ${error.message}`,
84
+ targetUrl,
85
+ error: error.stack
86
+ }, { status: 500 });
87
+ }
88
+ }
89
+ //# sourceMappingURL=route.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route.js","sourceRoot":"","sources":["../../../../../src/app/api/proxy/[...path]/route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,YAAY,EAAE,MAAM,aAAa,CAAC;AAExD,MAAM,CAAC,KAAK,UAAU,IAAI,CAAC,GAAgB,EAAE,EAAE,MAAM,EAA2C;IAC9F,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC;IAC9B,OAAO,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AAChC,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,GAAG,CAAC,GAAgB,EAAE,EAAE,MAAM,EAA2C;IAC7F,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC;IAC9B,OAAO,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AAChC,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,GAAG,CAAC,GAAgB,EAAE,EAAE,MAAM,EAA2C;IAC7F,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC;IAC9B,OAAO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C,CAAC;QAC1C,CAAC;QAAC,MAAM,CAAC;YACP,YAAY,GAAG,YAAY,CAAC;QAC9B,CAAC;QAED,OAAO,YAAY,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;IACtE,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QACpB,OAAO,CAAC,KAAK,CAAC,iBAAiB,MAAM,IAAI,SAAS,GAAG,EAAE,KAAK,CAAC,CAAC;QAC9D,OAAO,YAAY,CAAC,IAAI,CAAC;YACvB,KAAK,EAAE,CAAC;YACR,QAAQ,EAAE,gBAAgB,KAAK,CAAC,OAAO,EAAE;YACzC,SAAS;YACT,KAAK,EAAE,KAAK,CAAC,KAAK;SACnB,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC;IACtB,CAAC;AACH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/app/layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAErC,OAAO,gBAAgB,CAAC;AAaxB,eAAO,MAAM,QAAQ,EAAE,QAGtB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,QAAQ,GACT,EAAE,QAAQ,CAAC;IACV,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC,2CA0CD"}
1
+ {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/app/layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAErC,OAAO,gBAAgB,CAAC;AAUxB,eAAO,MAAM,QAAQ,EAAE,QAGtB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,QAAQ,GACT,EAAE,QAAQ,CAAC;IACV,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC,2CA0CD"}
@@ -7,10 +7,7 @@ import { AuthProvider } from "../context/AuthContext";
7
7
  import { SocketProvider } from "../context/SocketContext";
8
8
  import { CartProvider } from "../context/CartContext";
9
9
  import { ChatProvider } from "../context/ChatContext";
10
- const inter = Inter({
11
- subsets: ['latin'],
12
- variable: '--font-inter',
13
- });
10
+ const inter = Inter({ subsets: ['latin'] });
14
11
  export const metadata = {
15
12
  title: "ARMOYU UI Showcase",
16
13
  description: "Visual component gallery for Armoyu UI Library",
@@ -29,6 +26,6 @@ export default function RootLayout({ children, }) {
29
26
  } catch (e) {}
30
27
  })();
31
28
  `,
32
- } }) }), _jsx("body", { className: `${inter.variable} ${inter.className} bg-armoyu-bg text-armoyu-text min-h-screen flex flex-col antialiased relative transition-colors duration-500`, children: _jsx(ThemeProvider, { children: _jsx(AuthProvider, { children: _jsx(SocketProvider, { children: _jsx(LayoutProvider, { children: _jsx(CartProvider, { children: _jsxs(ChatProvider, { children: [_jsxs("div", { className: "fixed inset-0 pointer-events-none z-[-1]", children: [_jsx("div", { className: "absolute top-[-10%] left-[-10%] w-[40%] h-[40%] bg-blue-600/20 blur-[120px] rounded-full" }), _jsx("div", { className: "absolute bottom-[-10%] right-[-10%] w-[40%] h-[40%] bg-purple-600/20 blur-[120px] rounded-full" })] }), children] }) }) }) }) }) }) })] }));
29
+ } }) }), _jsx("body", { className: `${inter.className} bg-armoyu-bg text-armoyu-text min-h-screen flex flex-col antialiased relative transition-colors duration-500`, children: _jsx(ThemeProvider, { children: _jsx(AuthProvider, { children: _jsx(SocketProvider, { children: _jsx(LayoutProvider, { children: _jsx(CartProvider, { children: _jsxs(ChatProvider, { children: [_jsxs("div", { className: "fixed inset-0 pointer-events-none z-[-1]", children: [_jsx("div", { className: "absolute top-[-10%] left-[-10%] w-[40%] h-[40%] bg-blue-600/20 blur-[120px] rounded-full" }), _jsx("div", { className: "absolute bottom-[-10%] right-[-10%] w-[40%] h-[40%] bg-purple-600/20 blur-[120px] rounded-full" })] }), children] }) }) }) }) }) }) })] }));
33
30
  }
34
31
  //# sourceMappingURL=layout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"layout.js","sourceRoot":"","sources":["../../src/app/layout.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,gBAAgB,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD,MAAM,KAAK,GAAG,KAAK,CAAC;IAClB,OAAO,EAAE,CAAC,OAAO,CAAC;IAClB,QAAQ,EAAE,cAAc;CACzB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,KAAK,EAAE,oBAAoB;IAC3B,WAAW,EAAE,gDAAgD;CAC9D,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,QAAQ,GAGR;IACA,OAAO,CACL,gBAAM,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,oBAAoB,EAAC,wBAAwB,mBACrE,yBACE,iBACE,uBAAuB,EAAE;wBACvB,MAAM,EAAE;;;;;;;;;;;aAWP;qBACF,GACD,GACG,EACP,eAAM,SAAS,EAAE,GAAG,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,SAAS,+GAA+G,YAClK,KAAC,aAAa,cACZ,KAAC,YAAY,cACX,KAAC,cAAc,cACb,KAAC,cAAc,cACb,KAAC,YAAY,cACX,MAAC,YAAY,eACX,eAAK,SAAS,EAAC,0CAA0C,aACvD,cAAK,SAAS,EAAC,0FAA0F,GAA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,EAC5G,cAAK,SAAS,EAAC,gGAAgG,GAAG,IAC9G,EACL,QAAQ,IACI,GACF,GACA,GACF,GACJ,GACD,GACX,IACF,CACR,CAAC;AACJ,CAAC"}
@@ -1,7 +1,7 @@
1
- interface RollingNumberProps {
2
- value: number | string;
3
- className?: string;
4
- }
5
- export declare function RollingNumber({ value, className }: RollingNumberProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
1
+ interface RollingNumberProps {
2
+ value: number | string;
3
+ className?: string;
4
+ }
5
+ export declare function RollingNumber({ value, className }: RollingNumberProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
7
  //# sourceMappingURL=RollingNumber.d.ts.map
@@ -1,24 +1,24 @@
1
- 'use client';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { useEffect, useState } from 'react';
4
- export function RollingNumber({ value, className = "" }) {
5
- const [digits, setDigits] = useState([]);
6
- useEffect(() => {
7
- setDigits(value.toString().split(''));
8
- }, [value]);
9
- return (_jsx("div", { className: `flex items-baseline overflow-hidden h-[1.2em] leading-none ${className}`, children: digits.map((digit, idx) => (_jsx(Digit, { char: digit }, `${idx}-${digit}`))) }));
10
- }
11
- function Digit({ char }) {
12
- const isNumber = !isNaN(parseInt(char));
13
- const [offset, setOffset] = useState(0);
14
- useEffect(() => {
15
- if (isNumber) {
16
- setOffset(parseInt(char) * 100);
17
- }
18
- }, [char, isNumber]);
19
- if (!isNumber) {
20
- return _jsx("span", { className: "inline-block transition-all duration-500 min-w-[0.2em] text-center", children: char });
21
- }
22
- return (_jsx("div", { className: "relative w-[0.65em] h-[1.2em] flex flex-col transition-transform duration-500 ease-out shrink-0", style: { transform: `translateY(-${offset}%)` }, children: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map((n) => (_jsx("span", { className: "h-[1.2em] flex items-center justify-center shrink-0", children: n }, n))) }));
23
- }
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { useEffect, useState } from 'react';
4
+ export function RollingNumber({ value, className = "" }) {
5
+ const [digits, setDigits] = useState([]);
6
+ useEffect(() => {
7
+ setDigits(value.toString().split(''));
8
+ }, [value]);
9
+ return (_jsx("div", { className: `flex items-center overflow-hidden h-[1.2em] leading-[1.2em] ${className}`, children: digits.map((digit, idx) => (_jsx(Digit, { char: digit }, `${idx}-${digit}`))) }));
10
+ }
11
+ function Digit({ char }) {
12
+ const isNumber = !isNaN(parseInt(char));
13
+ const [offset, setOffset] = useState(0);
14
+ useEffect(() => {
15
+ if (isNumber) {
16
+ setOffset(parseInt(char) * 100);
17
+ }
18
+ }, [char, isNumber]);
19
+ if (!isNumber) {
20
+ return _jsx("span", { className: "inline-block transition-all duration-500", children: char });
21
+ }
22
+ return (_jsx("div", { className: "relative w-[0.6em] h-[1.2em] flex flex-col transition-transform duration-500 ease-out", style: { transform: `translateY(-${offset}%)` }, children: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map((n) => (_jsx("span", { className: "h-[1.2em] flex items-center justify-center shrink-0", children: n }, n))) }));
23
+ }
24
24
  //# sourceMappingURL=RollingNumber.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RollingNumber.js","sourceRoot":"","sources":["../../src/components/RollingNumber.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAOnD,MAAM,UAAU,aAAa,CAAC,EAAE,KAAK,EAAE,SAAS,GAAG,EAAE,EAAsB;IACzE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAW,EAAE,CAAC,CAAC;IAEnD,SAAS,CAAC,GAAG,EAAE;QACb,SAAS,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;IACxC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAEZ,OAAO,CACL,cAAK,SAAS,EAAE,8DAA8D,SAAS,EAAE,YACtF,MAAM,CA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AAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CACzC,eAAc,SAAS,EAAC,qDAAqD,YAC1E,CAAC,IADO,CAAC,CAEL,CACR,CAAC,GACE,CACP,CAAC;AACJ,CAAC"}
@@ -1,6 +1,6 @@
1
- import { GlobalStats } from "@armoyu/core";
2
- export interface StatsGridProps {
3
- stats: GlobalStats;
4
- }
5
- export declare function StatsGrid({ stats }: StatsGridProps): import("react/jsx-runtime").JSX.Element;
1
+ import { GlobalStats } from "@armoyu/core";
2
+ export interface StatsGridProps {
3
+ stats: GlobalStats;
4
+ }
5
+ export declare function StatsGrid({ stats }: StatsGridProps): import("react/jsx-runtime").JSX.Element;
6
6
  //# sourceMappingURL=StatsGrid.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare function Dashboard(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function Dashboard(): import("react/jsx-runtime").JSX.Element;
2
2
  //# sourceMappingURL=Dashboard.d.ts.map
@@ -1,25 +1,25 @@
1
- import { PostMedia } from './MediaLightbox';
2
- import { User } from '@armoyu/core';
3
- export interface PostCardProps {
4
- id: string;
5
- author: User | null;
6
- content: string;
7
- imageUrl?: string;
8
- media?: PostMedia[];
9
- createdAt: string;
10
- stats: {
11
- likes: number;
12
- comments: number;
13
- reposts?: number;
14
- shares: number;
15
- };
16
- hashtags?: string[];
17
- onTagClick?: (tag: string) => void;
18
- isPending?: boolean;
19
- likeList?: User[];
20
- repostList?: User[];
21
- commentList?: any[];
22
- repostOf?: any;
23
- }
24
- export declare function PostCard({ id, author, content, imageUrl, media, createdAt, stats, hashtags, onTagClick, isPending, likeList, repostList, commentList, repostOf }: PostCardProps): import("react/jsx-runtime").JSX.Element | null;
1
+ import { PostMedia } from './MediaLightbox';
2
+ import { User } from '@armoyu/core';
3
+ export interface PostCardProps {
4
+ id: string;
5
+ author: User | null;
6
+ content: string;
7
+ imageUrl?: string;
8
+ media?: PostMedia[];
9
+ createdAt: string;
10
+ stats: {
11
+ likes: number;
12
+ comments: number;
13
+ reposts?: number;
14
+ shares: number;
15
+ };
16
+ hashtags?: string[];
17
+ onTagClick?: (tag: string) => void;
18
+ isPending?: boolean;
19
+ likeList?: User[];
20
+ repostList?: User[];
21
+ commentList?: any[];
22
+ repostOf?: any;
23
+ }
24
+ export declare function PostCard({ id, author, content, imageUrl, media, createdAt, stats, hashtags, onTagClick, isPending, likeList, repostList, commentList, repostOf }: PostCardProps): import("react/jsx-runtime").JSX.Element | null;
25
25
  //# sourceMappingURL=PostCard.d.ts.map
@@ -1,12 +1,12 @@
1
- import { User } from '@armoyu/core';
2
- interface PostInteractionsModalProps {
3
- isOpen: boolean;
4
- onClose: () => void;
5
- title?: string;
6
- likes?: User[];
7
- reposts?: User[];
8
- defaultTab?: 'likes' | 'reposts';
9
- }
10
- export declare function PostInteractionsModal({ isOpen, onClose, title, likes, reposts, defaultTab }: PostInteractionsModalProps): import("react/jsx-runtime").JSX.Element | null;
11
- export {};
1
+ import { User } from '@armoyu/core';
2
+ interface PostInteractionsModalProps {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ title?: string;
6
+ likes?: User[];
7
+ reposts?: User[];
8
+ defaultTab?: 'likes' | 'reposts';
9
+ }
10
+ export declare function PostInteractionsModal({ isOpen, onClose, title, likes, reposts, defaultTab }: PostInteractionsModalProps): import("react/jsx-runtime").JSX.Element | null;
11
+ export {};
12
12
  //# sourceMappingURL=PostInteractionsModal.d.ts.map
@@ -1,22 +1,22 @@
1
- import { User } from '@armoyu/core';
2
- import { PostMedia } from './MediaLightbox';
3
- interface RepostModalProps {
4
- isOpen: boolean;
5
- onClose: () => void;
6
- post: {
7
- id: string;
8
- author: User;
9
- content: string;
10
- media?: PostMedia[];
11
- createdAt: string;
12
- stats?: {
13
- likes: number;
14
- comments: number;
15
- reposts?: number;
16
- shares: number;
17
- };
18
- };
19
- }
20
- export declare function RepostModal({ isOpen, onClose, post }: RepostModalProps): import("react/jsx-runtime").JSX.Element | null;
21
- export {};
1
+ import { User } from '@armoyu/core';
2
+ import { PostMedia } from './MediaLightbox';
3
+ interface RepostModalProps {
4
+ isOpen: boolean;
5
+ onClose: () => void;
6
+ post: {
7
+ id: string;
8
+ author: User;
9
+ content: string;
10
+ media?: PostMedia[];
11
+ createdAt: string;
12
+ stats?: {
13
+ likes: number;
14
+ comments: number;
15
+ reposts?: number;
16
+ shares: number;
17
+ };
18
+ };
19
+ }
20
+ export declare function RepostModal({ isOpen, onClose, post }: RepostModalProps): import("react/jsx-runtime").JSX.Element | null;
21
+ export {};
22
22
  //# sourceMappingURL=RepostModal.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare function SidebarLeft(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function SidebarLeft(): import("react/jsx-runtime").JSX.Element;
2
2
  //# sourceMappingURL=SidebarLeft.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare function Stories(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function Stories(): import("react/jsx-runtime").JSX.Element;
2
2
  //# sourceMappingURL=Stories.d.ts.map
@@ -1,10 +1,10 @@
1
- import React from 'react';
2
- import { Story } from '@armoyu/core';
3
- interface StoryViewerProps {
4
- stories: Story[];
5
- initialStoryIndex: number;
6
- onClose: () => void;
7
- }
8
- export declare function StoryViewer({ stories, initialStoryIndex, onClose }: StoryViewerProps): React.ReactPortal;
9
- export {};
1
+ import React from 'react';
2
+ import { Story } from '@armoyu/core';
3
+ interface StoryViewerProps {
4
+ stories: Story[];
5
+ initialStoryIndex: number;
6
+ onClose: () => void;
7
+ }
8
+ export declare function StoryViewer({ stories, initialStoryIndex, onClose }: StoryViewerProps): React.ReactPortal;
9
+ export {};
10
10
  //# sourceMappingURL=StoryViewer.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare function ChatContainer(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function ChatContainer(): import("react/jsx-runtime").JSX.Element;
2
2
  //# sourceMappingURL=ChatContainer.d.ts.map
@@ -1,5 +1,5 @@
1
- export declare function ChatInput({ onSend, chatId }: {
2
- onSend: (text: string) => void;
3
- chatId?: string;
4
- }): import("react/jsx-runtime").JSX.Element;
1
+ export declare function ChatInput({ onSend, chatId }: {
2
+ onSend: (text: string) => void;
3
+ chatId?: string;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
5
  //# sourceMappingURL=ChatInput.d.ts.map
@@ -1,7 +1,7 @@
1
- import { Chat } from '@armoyu/core';
2
- export declare function ChatList({ contacts, activeId, onSelect }: {
3
- contacts: Chat[];
4
- activeId: string;
5
- onSelect: (id: string) => void;
6
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { Chat } from '@armoyu/core';
2
+ export declare function ChatList({ contacts, activeId, onSelect }: {
3
+ contacts: Chat[];
4
+ activeId: string;
5
+ onSelect: (id: string) => void;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
7
  //# sourceMappingURL=ChatList.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare function ChatNotes(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function ChatNotes(): import("react/jsx-runtime").JSX.Element;
2
2
  //# sourceMappingURL=ChatNotes.d.ts.map
@@ -1,11 +1,11 @@
1
- import { Group } from '@armoyu/core';
2
- interface GroupHeaderProps {
3
- group: Group;
4
- isMember: boolean;
5
- onJoin?: () => void;
6
- onLeave?: () => void;
7
- onReport?: () => void;
8
- }
9
- export declare function GroupHeader({ group, isMember, onJoin, onLeave, onReport }: GroupHeaderProps): import("react/jsx-runtime").JSX.Element;
10
- export {};
1
+ import { Group } from '@armoyu/core';
2
+ interface GroupHeaderProps {
3
+ group: Group;
4
+ isMember: boolean;
5
+ onJoin?: () => void;
6
+ onLeave?: () => void;
7
+ onReport?: () => void;
8
+ }
9
+ export declare function GroupHeader({ group, isMember, onJoin, onLeave, onReport }: GroupHeaderProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
11
11
  //# sourceMappingURL=GroupHeader.d.ts.map
@@ -1,10 +1,10 @@
1
- import { Group } from '@armoyu/core';
2
- import { User } from '@armoyu/core';
3
- interface GroupMenuProps {
4
- group: Group;
5
- user: User;
6
- onLeave?: () => void;
7
- }
8
- export declare function GroupMenu({ group, user, onLeave }: GroupMenuProps): import("react/jsx-runtime").JSX.Element;
9
- export {};
1
+ import { Group } from '@armoyu/core';
2
+ import { User } from '@armoyu/core';
3
+ interface GroupMenuProps {
4
+ group: Group;
5
+ user: User;
6
+ onLeave?: () => void;
7
+ }
8
+ export declare function GroupMenu({ group, user, onLeave }: GroupMenuProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
10
  //# sourceMappingURL=GroupMenu.d.ts.map
@@ -1,7 +1,7 @@
1
- import { School } from '@armoyu/core';
2
- interface SchoolCardProps {
3
- school: School;
4
- }
5
- export declare function SchoolCard({ school }: SchoolCardProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
1
+ import { School } from '@armoyu/core';
2
+ interface SchoolCardProps {
3
+ school: School;
4
+ }
5
+ export declare function SchoolCard({ school }: SchoolCardProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
7
  //# sourceMappingURL=SchoolCard.d.ts.map
@@ -1,7 +1,7 @@
1
- import { Survey } from '@armoyu/core';
2
- interface SurveyCardProps {
3
- survey: Survey;
4
- }
5
- export declare function SurveyCard({ survey }: SurveyCardProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
1
+ import { Survey } from '@armoyu/core';
2
+ interface SurveyCardProps {
3
+ survey: Survey;
4
+ }
5
+ export declare function SurveyCard({ survey }: SurveyCardProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
7
  //# sourceMappingURL=SurveyCard.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare function Introduction(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function Introduction(): import("react/jsx-runtime").JSX.Element;
2
2
  //# sourceMappingURL=Introduction.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare function BackToStore(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function BackToStore(): import("react/jsx-runtime").JSX.Element;
2
2
  //# sourceMappingURL=BackToStore.d.ts.map
@@ -1,6 +1,6 @@
1
- export interface StoreHeaderProps {
2
- searchQuery: string;
3
- setSearchQuery: (query: string) => void;
4
- }
5
- export declare function StoreHeader({ searchQuery, setSearchQuery }: StoreHeaderProps): import("react/jsx-runtime").JSX.Element;
1
+ export interface StoreHeaderProps {
2
+ searchQuery: string;
3
+ setSearchQuery: (query: string) => void;
4
+ }
5
+ export declare function StoreHeader({ searchQuery, setSearchQuery }: StoreHeaderProps): import("react/jsx-runtime").JSX.Element;
6
6
  //# sourceMappingURL=StoreHeader.d.ts.map
@@ -1,12 +1,12 @@
1
- import { User } from '@armoyu/core';
2
- export interface NewsCardProps {
3
- slug: string;
4
- title: string;
5
- excerpt: string;
6
- date: string;
7
- category: string;
8
- image: string;
9
- author: User | null;
10
- }
11
- export declare function NewsCard({ slug, title, excerpt, date, category, image, author }: NewsCardProps): import("react/jsx-runtime").JSX.Element;
1
+ import { User } from '@armoyu/core';
2
+ export interface NewsCardProps {
3
+ slug: string;
4
+ title: string;
5
+ excerpt: string;
6
+ date: string;
7
+ category: string;
8
+ image: string;
9
+ author: User | null;
10
+ }
11
+ export declare function NewsCard({ slug, title, excerpt, date, category, image, author }: NewsCardProps): import("react/jsx-runtime").JSX.Element;
12
12
  //# sourceMappingURL=NewsCard.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare function NewsComments(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function NewsComments(): import("react/jsx-runtime").JSX.Element;
2
2
  //# sourceMappingURL=NewsComments.d.ts.map
@@ -1,5 +1,5 @@
1
- import { User } from '@armoyu/core';
2
- export declare function ProfileContent({ user }: {
3
- user?: User;
4
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { User } from '@armoyu/core';
2
+ export declare function ProfileContent({ user }: {
3
+ user?: User;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
5
  //# sourceMappingURL=ProfileContent.d.ts.map
@@ -1,8 +1,8 @@
1
- import { User } from '@armoyu/core';
2
- interface ProfileHeaderProps {
3
- user: User | any;
4
- isOwnProfile?: boolean;
5
- }
6
- export declare function ProfileHeader({ user, isOwnProfile }: ProfileHeaderProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
1
+ import { User } from '@armoyu/core';
2
+ interface ProfileHeaderProps {
3
+ user: User | any;
4
+ isOwnProfile?: boolean;
5
+ }
6
+ export declare function ProfileHeader({ user, isOwnProfile }: ProfileHeaderProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
8
8
  //# sourceMappingURL=ProfileHeader.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare function ProfileStats(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function ProfileStats(): import("react/jsx-runtime").JSX.Element;
2
2
  //# sourceMappingURL=ProfileStats.d.ts.map