@burdenoff/microfe-comradecircle 2026.509.101
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.
- package/README.md +12 -0
- package/dist/comradecircle/ComradeCircleRoot.d.ts +5 -0
- package/dist/comradecircle/ComradeCircleRoot.d.ts.map +1 -0
- package/dist/comradecircle/ComradeCircleRoot.js +111 -0
- package/dist/comradecircle/ComradeCircleRoot.js.map +1 -0
- package/dist/comradecircle/ComradeCircleRoutes.d.ts +2 -0
- package/dist/comradecircle/ComradeCircleRoutes.d.ts.map +1 -0
- package/dist/comradecircle/ComradeCircleRoutes.js +43 -0
- package/dist/comradecircle/ComradeCircleRoutes.js.map +1 -0
- package/dist/comradecircle/index.d.ts +5 -0
- package/dist/comradecircle/index.d.ts.map +1 -0
- package/dist/comradecircle/index.js +3 -0
- package/dist/comradecircle/pages/CommunitiesPage.d.ts +2 -0
- package/dist/comradecircle/pages/CommunitiesPage.d.ts.map +1 -0
- package/dist/comradecircle/pages/CommunitiesPage.js +299 -0
- package/dist/comradecircle/pages/CommunitiesPage.js.map +1 -0
- package/dist/comradecircle/pages/CreatorPage.d.ts +2 -0
- package/dist/comradecircle/pages/CreatorPage.d.ts.map +1 -0
- package/dist/comradecircle/pages/CreatorPage.js +399 -0
- package/dist/comradecircle/pages/CreatorPage.js.map +1 -0
- package/dist/comradecircle/pages/DashboardPage.d.ts +2 -0
- package/dist/comradecircle/pages/DashboardPage.d.ts.map +1 -0
- package/dist/comradecircle/pages/DashboardPage.js +265 -0
- package/dist/comradecircle/pages/DashboardPage.js.map +1 -0
- package/dist/comradecircle/providers/ComradeCircleProvider.d.ts +6 -0
- package/dist/comradecircle/providers/ComradeCircleProvider.d.ts.map +1 -0
- package/dist/comradecircle/providers/ComradeCircleProvider.js +27 -0
- package/dist/comradecircle/providers/ComradeCircleProvider.js.map +1 -0
- package/dist/comradecircle/store/comradecircleStore.d.ts +28 -0
- package/dist/comradecircle/store/comradecircleStore.d.ts.map +1 -0
- package/dist/comradecircle/store/comradecircleStore.js +345 -0
- package/dist/comradecircle/store/comradecircleStore.js.map +1 -0
- package/dist/comradecircle/types/index.d.ts +162 -0
- package/dist/comradecircle/types/index.d.ts.map +1 -0
- package/dist/comradecircle/utils/cn.d.ts +4 -0
- package/dist/comradecircle/utils/cn.d.ts.map +1 -0
- package/dist/comradecircle/utils/navigation.d.ts +2 -0
- package/dist/comradecircle/utils/navigation.d.ts.map +1 -0
- package/dist/comradecircle/utils/navigation.js +8 -0
- package/dist/comradecircle/utils/navigation.js.map +1 -0
- package/dist/dev/main.d.ts +2 -0
- package/dist/dev/main.d.ts.map +1 -0
- package/dist/generated/global-operations.d.ts +2 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-types.d.ts +18199 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +2 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-types.d.ts +43046 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/package.json +107 -0
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
import { useComradeCircleStore as e } from "../store/comradecircleStore.js";
|
|
2
|
+
import { useState as t } from "react";
|
|
3
|
+
import { useI18n as n } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
4
|
+
import { ArrowDownRight as r, ArrowUpRight as i, BarChart3 as a, DollarSign as o, Download as s, Eye as c, Heart as l, MessageSquare as u, Plus as d, Settings as f, Star as p, TrendingUp as m, Users as h, Zap as g } from "lucide-react";
|
|
5
|
+
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
6
|
+
import { Badge as y, Button as b, Card as x, CardContent as S, CardDescription as C, CardHeader as w, CardTitle as T } from "@burdenoff/fe-libs/ui";
|
|
7
|
+
//#region src/comradecircle/pages/CreatorPage.tsx
|
|
8
|
+
function E(e) {
|
|
9
|
+
return new Intl.NumberFormat("en-US", {
|
|
10
|
+
style: "currency",
|
|
11
|
+
currency: "USD"
|
|
12
|
+
}).format(e);
|
|
13
|
+
}
|
|
14
|
+
function D(e) {
|
|
15
|
+
return new Intl.NumberFormat("en-US", {
|
|
16
|
+
notation: "compact",
|
|
17
|
+
maximumFractionDigits: 1
|
|
18
|
+
}).format(e);
|
|
19
|
+
}
|
|
20
|
+
function O({ value: e }) {
|
|
21
|
+
let t = e > 0;
|
|
22
|
+
return /* @__PURE__ */ v("div", {
|
|
23
|
+
className: `flex items-center space-x-1 ${t ? "text-emerald-600" : "text-red-600"}`,
|
|
24
|
+
children: [/* @__PURE__ */ _(t ? i : r, { className: "h-3 w-3" }), /* @__PURE__ */ v("span", {
|
|
25
|
+
className: "text-sm font-medium",
|
|
26
|
+
children: [Math.abs(e), "%"]
|
|
27
|
+
})]
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
function k() {
|
|
31
|
+
let { t: r } = n(), { revenueStats: i, subscriptionTiers: k, topContent: A, revenueBreakdown: j, creatorActiveTab: M, creatorTimeRange: N, setCreatorActiveTab: P, setCreatorTimeRange: F } = e(), [I] = t(M), L = {
|
|
32
|
+
overview: r("comradecircle.creator.tabs.overview", { defaultValue: "Overview" }),
|
|
33
|
+
revenue: r("comradecircle.creator.tabs.revenue", { defaultValue: "Revenue" }),
|
|
34
|
+
analytics: r("comradecircle.creator.tabs.analytics", { defaultValue: "Analytics" }),
|
|
35
|
+
content: r("comradecircle.creator.tabs.content", { defaultValue: "Content" })
|
|
36
|
+
}, R = {
|
|
37
|
+
video: r("comradecircle.creator.contentType.video", { defaultValue: "video" }),
|
|
38
|
+
article: r("comradecircle.creator.contentType.article", { defaultValue: "article" }),
|
|
39
|
+
livestream: r("comradecircle.creator.contentType.livestream", { defaultValue: "livestream" }),
|
|
40
|
+
course: r("comradecircle.creator.contentType.course", { defaultValue: "course" })
|
|
41
|
+
};
|
|
42
|
+
return /* @__PURE__ */ v("div", {
|
|
43
|
+
className: "space-y-6 p-6",
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ v("div", {
|
|
46
|
+
className: "flex flex-col sm:flex-row sm:items-center sm:justify-between",
|
|
47
|
+
children: [/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("h1", {
|
|
48
|
+
className: "text-3xl font-bold",
|
|
49
|
+
children: r("comradecircle.creator.title", { defaultValue: "Creator Hub" })
|
|
50
|
+
}), /* @__PURE__ */ _("p", {
|
|
51
|
+
className: "text-muted-foreground mt-1",
|
|
52
|
+
children: r("comradecircle.creator.subtitle", { defaultValue: "Manage your content, track earnings, and grow your community" })
|
|
53
|
+
})] }), /* @__PURE__ */ v("div", {
|
|
54
|
+
className: "flex items-center space-x-2 mt-4 sm:mt-0",
|
|
55
|
+
children: [/* @__PURE__ */ v(b, {
|
|
56
|
+
variant: "outline",
|
|
57
|
+
size: "sm",
|
|
58
|
+
children: [/* @__PURE__ */ _(s, { className: "w-4 h-4 mr-2" }), r("comradecircle.creator.actions.exportData", { defaultValue: "Export Data" })]
|
|
59
|
+
}), /* @__PURE__ */ v(b, { children: [/* @__PURE__ */ _(d, { className: "w-4 h-4 mr-2" }), r("comradecircle.creator.actions.createContent", { defaultValue: "Create Content" })] })]
|
|
60
|
+
})]
|
|
61
|
+
}),
|
|
62
|
+
/* @__PURE__ */ v("div", {
|
|
63
|
+
className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",
|
|
64
|
+
children: [
|
|
65
|
+
/* @__PURE__ */ _(x, { children: /* @__PURE__ */ _(S, {
|
|
66
|
+
className: "p-4",
|
|
67
|
+
children: /* @__PURE__ */ v("div", {
|
|
68
|
+
className: "flex items-center justify-between",
|
|
69
|
+
children: [/* @__PURE__ */ v("div", { children: [
|
|
70
|
+
/* @__PURE__ */ _("p", {
|
|
71
|
+
className: "text-sm font-medium text-muted-foreground",
|
|
72
|
+
children: r("comradecircle.creator.stats.totalRevenue", { defaultValue: "Total Revenue" })
|
|
73
|
+
}),
|
|
74
|
+
/* @__PURE__ */ _("p", {
|
|
75
|
+
className: "text-2xl font-bold",
|
|
76
|
+
children: E(i.totalRevenue)
|
|
77
|
+
}),
|
|
78
|
+
/* @__PURE__ */ _(O, { value: i.monthlyGrowth })
|
|
79
|
+
] }), /* @__PURE__ */ _(o, { className: "h-8 w-8 text-emerald-600" })]
|
|
80
|
+
})
|
|
81
|
+
}) }),
|
|
82
|
+
/* @__PURE__ */ _(x, { children: /* @__PURE__ */ _(S, {
|
|
83
|
+
className: "p-4",
|
|
84
|
+
children: /* @__PURE__ */ v("div", {
|
|
85
|
+
className: "flex items-center justify-between",
|
|
86
|
+
children: [/* @__PURE__ */ v("div", { children: [
|
|
87
|
+
/* @__PURE__ */ _("p", {
|
|
88
|
+
className: "text-sm font-medium text-muted-foreground",
|
|
89
|
+
children: r("comradecircle.creator.stats.monthlyRevenue", { defaultValue: "Monthly Revenue" })
|
|
90
|
+
}),
|
|
91
|
+
/* @__PURE__ */ _("p", {
|
|
92
|
+
className: "text-2xl font-bold",
|
|
93
|
+
children: E(i.monthlyRevenue)
|
|
94
|
+
}),
|
|
95
|
+
/* @__PURE__ */ _(O, { value: i.weeklyGrowth })
|
|
96
|
+
] }), /* @__PURE__ */ _(m, { className: "h-8 w-8 text-blue-600" })]
|
|
97
|
+
})
|
|
98
|
+
}) }),
|
|
99
|
+
/* @__PURE__ */ _(x, { children: /* @__PURE__ */ _(S, {
|
|
100
|
+
className: "p-4",
|
|
101
|
+
children: /* @__PURE__ */ v("div", {
|
|
102
|
+
className: "flex items-center justify-between",
|
|
103
|
+
children: [/* @__PURE__ */ v("div", { children: [
|
|
104
|
+
/* @__PURE__ */ _("p", {
|
|
105
|
+
className: "text-sm font-medium text-muted-foreground",
|
|
106
|
+
children: r("comradecircle.creator.stats.activeSubscribers", { defaultValue: "Active Subscribers" })
|
|
107
|
+
}),
|
|
108
|
+
/* @__PURE__ */ _("p", {
|
|
109
|
+
className: "text-2xl font-bold",
|
|
110
|
+
children: i.subscribers.toLocaleString()
|
|
111
|
+
}),
|
|
112
|
+
/* @__PURE__ */ _(O, { value: 18.5 })
|
|
113
|
+
] }), /* @__PURE__ */ _(h, { className: "h-8 w-8 text-violet-600" })]
|
|
114
|
+
})
|
|
115
|
+
}) }),
|
|
116
|
+
/* @__PURE__ */ _(x, { children: /* @__PURE__ */ _(S, {
|
|
117
|
+
className: "p-4",
|
|
118
|
+
children: /* @__PURE__ */ v("div", {
|
|
119
|
+
className: "flex items-center justify-between",
|
|
120
|
+
children: [/* @__PURE__ */ v("div", { children: [
|
|
121
|
+
/* @__PURE__ */ _("p", {
|
|
122
|
+
className: "text-sm font-medium text-muted-foreground",
|
|
123
|
+
children: r("comradecircle.creator.stats.platformFee", { defaultValue: "Platform Fee (5%)" })
|
|
124
|
+
}),
|
|
125
|
+
/* @__PURE__ */ _("p", {
|
|
126
|
+
className: "text-2xl font-bold",
|
|
127
|
+
children: E(i.platformFee)
|
|
128
|
+
}),
|
|
129
|
+
/* @__PURE__ */ _("p", {
|
|
130
|
+
className: "text-xs text-emerald-600 font-medium",
|
|
131
|
+
children: r("comradecircle.creator.stats.platformFeeHint", { defaultValue: "Lowest in industry" })
|
|
132
|
+
})
|
|
133
|
+
] }), /* @__PURE__ */ _(g, { className: "h-8 w-8 text-amber-500" })]
|
|
134
|
+
})
|
|
135
|
+
}) })
|
|
136
|
+
]
|
|
137
|
+
}),
|
|
138
|
+
/* @__PURE__ */ _("div", {
|
|
139
|
+
className: "flex space-x-4 border-b border-border",
|
|
140
|
+
children: [
|
|
141
|
+
"overview",
|
|
142
|
+
"revenue",
|
|
143
|
+
"analytics",
|
|
144
|
+
"content"
|
|
145
|
+
].map((e) => /* @__PURE__ */ _("button", {
|
|
146
|
+
className: `pb-2 px-1 border-b-2 font-medium text-sm transition-colors ${M === e ? "border-primary text-primary" : "border-transparent text-muted-foreground hover:text-foreground"}`,
|
|
147
|
+
onClick: () => P(e),
|
|
148
|
+
children: L[e]
|
|
149
|
+
}, e))
|
|
150
|
+
}),
|
|
151
|
+
/* @__PURE__ */ _("div", {
|
|
152
|
+
className: "flex justify-end",
|
|
153
|
+
children: /* @__PURE__ */ _("div", {
|
|
154
|
+
className: "flex space-x-1 bg-muted rounded-lg p-1",
|
|
155
|
+
children: [
|
|
156
|
+
"7d",
|
|
157
|
+
"30d",
|
|
158
|
+
"90d",
|
|
159
|
+
"1y"
|
|
160
|
+
].map((e) => /* @__PURE__ */ _("button", {
|
|
161
|
+
className: `px-3 py-1 rounded-md text-sm font-medium transition-colors ${N === e ? "bg-background text-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"}`,
|
|
162
|
+
onClick: () => F(e),
|
|
163
|
+
children: e.toUpperCase()
|
|
164
|
+
}, e))
|
|
165
|
+
})
|
|
166
|
+
}),
|
|
167
|
+
M === "overview" && /* @__PURE__ */ v("div", {
|
|
168
|
+
className: "grid grid-cols-1 lg:grid-cols-3 gap-6",
|
|
169
|
+
children: [/* @__PURE__ */ v("div", {
|
|
170
|
+
className: "lg:col-span-2 space-y-6",
|
|
171
|
+
children: [/* @__PURE__ */ v(x, { children: [/* @__PURE__ */ v(w, { children: [/* @__PURE__ */ v(T, {
|
|
172
|
+
className: "flex items-center space-x-2",
|
|
173
|
+
children: [/* @__PURE__ */ _(p, { className: "h-5 w-5 text-amber-500" }), /* @__PURE__ */ _("span", { children: r("comradecircle.creator.sections.subscriptionTiers.title", { defaultValue: "Subscription Tiers" }) })]
|
|
174
|
+
}), /* @__PURE__ */ _(C, { children: r("comradecircle.creator.sections.subscriptionTiers.description", { defaultValue: "Your subscription offerings and their performance" }) })] }), /* @__PURE__ */ _(S, { children: /* @__PURE__ */ _("div", {
|
|
175
|
+
className: "space-y-4",
|
|
176
|
+
children: k.map((e) => /* @__PURE__ */ v("div", {
|
|
177
|
+
className: "flex items-center justify-between p-4 bg-muted/50 rounded-lg",
|
|
178
|
+
children: [/* @__PURE__ */ v("div", {
|
|
179
|
+
className: "flex-1",
|
|
180
|
+
children: [
|
|
181
|
+
/* @__PURE__ */ v("div", {
|
|
182
|
+
className: "flex items-center space-x-3",
|
|
183
|
+
children: [
|
|
184
|
+
/* @__PURE__ */ _("h4", {
|
|
185
|
+
className: "font-semibold",
|
|
186
|
+
children: e.name
|
|
187
|
+
}),
|
|
188
|
+
/* @__PURE__ */ v(y, {
|
|
189
|
+
variant: "secondary",
|
|
190
|
+
children: [E(e.price), "/month"]
|
|
191
|
+
}),
|
|
192
|
+
/* @__PURE__ */ _(O, { value: e.growthRate })
|
|
193
|
+
]
|
|
194
|
+
}),
|
|
195
|
+
/* @__PURE__ */ _("p", {
|
|
196
|
+
className: "text-sm text-muted-foreground mt-1",
|
|
197
|
+
children: e.description
|
|
198
|
+
}),
|
|
199
|
+
/* @__PURE__ */ v("div", {
|
|
200
|
+
className: "flex items-center space-x-4 mt-2 text-sm",
|
|
201
|
+
children: [/* @__PURE__ */ v("span", {
|
|
202
|
+
className: "flex items-center space-x-1",
|
|
203
|
+
children: [/* @__PURE__ */ _(h, { className: "h-3 w-3" }), /* @__PURE__ */ v("span", { children: [
|
|
204
|
+
e.subscribers,
|
|
205
|
+
" ",
|
|
206
|
+
r("comradecircle.creator.subscriptionTier.subscribers", { defaultValue: "subscribers" })
|
|
207
|
+
] })]
|
|
208
|
+
}), /* @__PURE__ */ v("span", {
|
|
209
|
+
className: "flex items-center space-x-1",
|
|
210
|
+
children: [/* @__PURE__ */ _(o, { className: "h-3 w-3" }), /* @__PURE__ */ v("span", { children: [
|
|
211
|
+
E(e.monthlyRevenue),
|
|
212
|
+
"/",
|
|
213
|
+
r("comradecircle.creator.subscriptionTier.month", { defaultValue: "month" })
|
|
214
|
+
] })]
|
|
215
|
+
})]
|
|
216
|
+
})
|
|
217
|
+
]
|
|
218
|
+
}), /* @__PURE__ */ v("div", {
|
|
219
|
+
className: "flex space-x-2",
|
|
220
|
+
children: [/* @__PURE__ */ _(b, {
|
|
221
|
+
variant: "outline",
|
|
222
|
+
size: "sm",
|
|
223
|
+
children: r("comradecircle.creator.actions.edit", { defaultValue: "Edit" })
|
|
224
|
+
}), /* @__PURE__ */ _(b, {
|
|
225
|
+
size: "sm",
|
|
226
|
+
children: r("comradecircle.creator.actions.viewDetails", { defaultValue: "View Details" })
|
|
227
|
+
})]
|
|
228
|
+
})]
|
|
229
|
+
}, e.id))
|
|
230
|
+
}) })] }), /* @__PURE__ */ v(x, { children: [/* @__PURE__ */ v(w, { children: [/* @__PURE__ */ v(T, {
|
|
231
|
+
className: "flex items-center space-x-2",
|
|
232
|
+
children: [/* @__PURE__ */ _(m, { className: "h-5 w-5 text-emerald-600" }), /* @__PURE__ */ _("span", { children: r("comradecircle.creator.sections.topContent.title", { defaultValue: "Top Performing Content" }) })]
|
|
233
|
+
}), /* @__PURE__ */ _(C, { children: r("comradecircle.creator.sections.topContent.description", { defaultValue: "Your best performing content this month" }) })] }), /* @__PURE__ */ _(S, { children: /* @__PURE__ */ _("div", {
|
|
234
|
+
className: "space-y-4",
|
|
235
|
+
children: A.map((e) => /* @__PURE__ */ v("div", {
|
|
236
|
+
className: "flex items-center justify-between",
|
|
237
|
+
children: [/* @__PURE__ */ v("div", {
|
|
238
|
+
className: "flex-1",
|
|
239
|
+
children: [/* @__PURE__ */ v("div", {
|
|
240
|
+
className: "flex items-center space-x-2",
|
|
241
|
+
children: [/* @__PURE__ */ _("h4", {
|
|
242
|
+
className: "font-medium",
|
|
243
|
+
children: e.title
|
|
244
|
+
}), /* @__PURE__ */ _(y, {
|
|
245
|
+
variant: "outline",
|
|
246
|
+
className: "capitalize text-xs",
|
|
247
|
+
children: R[e.type] ?? e.type
|
|
248
|
+
})]
|
|
249
|
+
}), /* @__PURE__ */ v("div", {
|
|
250
|
+
className: "flex items-center space-x-4 mt-2 text-sm text-muted-foreground",
|
|
251
|
+
children: [
|
|
252
|
+
/* @__PURE__ */ v("span", {
|
|
253
|
+
className: "flex items-center space-x-1",
|
|
254
|
+
children: [/* @__PURE__ */ _(c, { className: "h-3 w-3" }), /* @__PURE__ */ _("span", { children: D(e.views) })]
|
|
255
|
+
}),
|
|
256
|
+
/* @__PURE__ */ v("span", {
|
|
257
|
+
className: "flex items-center space-x-1",
|
|
258
|
+
children: [/* @__PURE__ */ _(l, { className: "h-3 w-3" }), /* @__PURE__ */ _("span", { children: D(e.likes) })]
|
|
259
|
+
}),
|
|
260
|
+
/* @__PURE__ */ v("span", {
|
|
261
|
+
className: "flex items-center space-x-1",
|
|
262
|
+
children: [/* @__PURE__ */ _(u, { className: "h-3 w-3" }), /* @__PURE__ */ _("span", { children: e.comments })]
|
|
263
|
+
}),
|
|
264
|
+
/* @__PURE__ */ v("span", {
|
|
265
|
+
className: "flex items-center space-x-1",
|
|
266
|
+
children: [/* @__PURE__ */ _(o, { className: "h-3 w-3" }), /* @__PURE__ */ _("span", { children: E(e.revenue) })]
|
|
267
|
+
})
|
|
268
|
+
]
|
|
269
|
+
})]
|
|
270
|
+
}), /* @__PURE__ */ v("div", {
|
|
271
|
+
className: "text-right",
|
|
272
|
+
children: [/* @__PURE__ */ v(y, {
|
|
273
|
+
variant: e.engagement > 7 ? "default" : "secondary",
|
|
274
|
+
children: [
|
|
275
|
+
e.engagement,
|
|
276
|
+
"%",
|
|
277
|
+
" ",
|
|
278
|
+
r("comradecircle.creator.topContent.engagement", { defaultValue: "engagement" })
|
|
279
|
+
]
|
|
280
|
+
}), /* @__PURE__ */ _("p", {
|
|
281
|
+
className: "text-xs text-muted-foreground mt-1",
|
|
282
|
+
children: e.publishDate
|
|
283
|
+
})]
|
|
284
|
+
})]
|
|
285
|
+
}, e.id))
|
|
286
|
+
}) })] })]
|
|
287
|
+
}), /* @__PURE__ */ v("div", {
|
|
288
|
+
className: "space-y-6",
|
|
289
|
+
children: [/* @__PURE__ */ v(x, { children: [/* @__PURE__ */ _(w, { children: /* @__PURE__ */ _(T, {
|
|
290
|
+
className: "text-lg",
|
|
291
|
+
children: r("comradecircle.creator.sections.quickActions.title", { defaultValue: "Quick Actions" })
|
|
292
|
+
}) }), /* @__PURE__ */ v(S, {
|
|
293
|
+
className: "space-y-2",
|
|
294
|
+
children: [
|
|
295
|
+
/* @__PURE__ */ v(b, {
|
|
296
|
+
className: "w-full",
|
|
297
|
+
children: [/* @__PURE__ */ _(d, { className: "w-4 h-4 mr-2" }), r("comradecircle.creator.quickActions.createNewContent", { defaultValue: "Create New Content" })]
|
|
298
|
+
}),
|
|
299
|
+
/* @__PURE__ */ v(b, {
|
|
300
|
+
variant: "outline",
|
|
301
|
+
className: "w-full",
|
|
302
|
+
children: [/* @__PURE__ */ _(h, { className: "w-4 h-4 mr-2" }), r("comradecircle.creator.quickActions.manageSubscribers", { defaultValue: "Manage Subscribers" })]
|
|
303
|
+
}),
|
|
304
|
+
/* @__PURE__ */ v(b, {
|
|
305
|
+
variant: "outline",
|
|
306
|
+
className: "w-full",
|
|
307
|
+
children: [/* @__PURE__ */ _(a, { className: "w-4 h-4 mr-2" }), r("comradecircle.creator.quickActions.viewFullAnalytics", { defaultValue: "View Full Analytics" })]
|
|
308
|
+
}),
|
|
309
|
+
/* @__PURE__ */ v(b, {
|
|
310
|
+
variant: "outline",
|
|
311
|
+
className: "w-full",
|
|
312
|
+
children: [/* @__PURE__ */ _(f, { className: "w-4 h-4 mr-2" }), r("comradecircle.creator.quickActions.creatorSettings", { defaultValue: "Creator Settings" })]
|
|
313
|
+
})
|
|
314
|
+
]
|
|
315
|
+
})] }), /* @__PURE__ */ v(x, { children: [/* @__PURE__ */ _(w, { children: /* @__PURE__ */ _(T, {
|
|
316
|
+
className: "text-lg",
|
|
317
|
+
children: r("comradecircle.creator.sections.revenueBreakdown.title", { defaultValue: "Revenue Breakdown" })
|
|
318
|
+
}) }), /* @__PURE__ */ _(S, { children: /* @__PURE__ */ v("div", {
|
|
319
|
+
className: "space-y-3",
|
|
320
|
+
children: [
|
|
321
|
+
/* @__PURE__ */ v("div", {
|
|
322
|
+
className: "flex justify-between items-center",
|
|
323
|
+
children: [/* @__PURE__ */ _("span", {
|
|
324
|
+
className: "text-sm text-muted-foreground",
|
|
325
|
+
children: r("comradecircle.creator.revenueBreakdown.subscriptions", { defaultValue: "Subscriptions" })
|
|
326
|
+
}), /* @__PURE__ */ _("span", {
|
|
327
|
+
className: "font-medium",
|
|
328
|
+
children: E(j.subscriptions)
|
|
329
|
+
})]
|
|
330
|
+
}),
|
|
331
|
+
/* @__PURE__ */ v("div", {
|
|
332
|
+
className: "flex justify-between items-center",
|
|
333
|
+
children: [/* @__PURE__ */ _("span", {
|
|
334
|
+
className: "text-sm text-muted-foreground",
|
|
335
|
+
children: r("comradecircle.creator.revenueBreakdown.oneTimePurchases", { defaultValue: "One-time Purchases" })
|
|
336
|
+
}), /* @__PURE__ */ _("span", {
|
|
337
|
+
className: "font-medium",
|
|
338
|
+
children: E(j.oneTime)
|
|
339
|
+
})]
|
|
340
|
+
}),
|
|
341
|
+
/* @__PURE__ */ v("div", {
|
|
342
|
+
className: "flex justify-between items-center",
|
|
343
|
+
children: [/* @__PURE__ */ _("span", {
|
|
344
|
+
className: "text-sm text-muted-foreground",
|
|
345
|
+
children: r("comradecircle.creator.revenueBreakdown.tipsAndDonations", { defaultValue: "Tips & Donations" })
|
|
346
|
+
}), /* @__PURE__ */ _("span", {
|
|
347
|
+
className: "font-medium",
|
|
348
|
+
children: E(j.tips)
|
|
349
|
+
})]
|
|
350
|
+
}),
|
|
351
|
+
/* @__PURE__ */ v("div", {
|
|
352
|
+
className: "flex justify-between items-center",
|
|
353
|
+
children: [/* @__PURE__ */ _("span", {
|
|
354
|
+
className: "text-sm text-muted-foreground",
|
|
355
|
+
children: r("comradecircle.creator.revenueBreakdown.merchandise", { defaultValue: "Merchandise" })
|
|
356
|
+
}), /* @__PURE__ */ _("span", {
|
|
357
|
+
className: "font-medium",
|
|
358
|
+
children: E(j.merchandise)
|
|
359
|
+
})]
|
|
360
|
+
}),
|
|
361
|
+
/* @__PURE__ */ v("div", {
|
|
362
|
+
className: "border-t pt-2 flex justify-between items-center font-semibold",
|
|
363
|
+
children: [/* @__PURE__ */ _("span", { children: r("comradecircle.creator.revenueBreakdown.total", { defaultValue: "Total" }) }), /* @__PURE__ */ _("span", { children: E(j.subscriptions + j.oneTime + j.tips + j.merchandise) })]
|
|
364
|
+
})
|
|
365
|
+
]
|
|
366
|
+
}) })] })]
|
|
367
|
+
})]
|
|
368
|
+
}),
|
|
369
|
+
M !== "overview" && /* @__PURE__ */ _(x, { children: /* @__PURE__ */ v(S, {
|
|
370
|
+
className: "p-12 text-center",
|
|
371
|
+
children: [
|
|
372
|
+
/* @__PURE__ */ _(a, { className: "h-12 w-12 text-muted-foreground mx-auto mb-4" }),
|
|
373
|
+
/* @__PURE__ */ v("h3", {
|
|
374
|
+
className: "text-lg font-semibold mb-2",
|
|
375
|
+
children: [
|
|
376
|
+
L[M],
|
|
377
|
+
" ",
|
|
378
|
+
r("comradecircle.creator.placeholder.dashboard", { defaultValue: "Dashboard" })
|
|
379
|
+
]
|
|
380
|
+
}),
|
|
381
|
+
/* @__PURE__ */ v("p", {
|
|
382
|
+
className: "text-muted-foreground",
|
|
383
|
+
children: [
|
|
384
|
+
r("comradecircle.creator.placeholder.comingSoonPrefix", { defaultValue: "Detailed" }),
|
|
385
|
+
" ",
|
|
386
|
+
L[M].toLowerCase(),
|
|
387
|
+
" ",
|
|
388
|
+
r("comradecircle.creator.placeholder.comingSoonSuffix", { defaultValue: "insights and management tools coming soon." })
|
|
389
|
+
]
|
|
390
|
+
})
|
|
391
|
+
]
|
|
392
|
+
}) })
|
|
393
|
+
]
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
//#endregion
|
|
397
|
+
export { k as CreatorPage };
|
|
398
|
+
|
|
399
|
+
//# sourceMappingURL=CreatorPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreatorPage.js","names":[],"sources":["../../../src/comradecircle/pages/CreatorPage.tsx"],"sourcesContent":["import { useState } from 'react';\nimport { useI18n } from '@burdenoff/fe-libs/shared/providers/shell/I18nProvider';\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n Badge,\n Button,\n} from '@burdenoff/fe-libs/ui';\nimport {\n DollarSign,\n TrendingUp,\n Users,\n Eye,\n Heart,\n MessageSquare,\n Download,\n Zap,\n BarChart3,\n Star,\n Settings,\n Plus,\n ArrowUpRight,\n ArrowDownRight,\n} from 'lucide-react';\nimport { useComradeCircleStore } from '../store/comradecircleStore';\n\nfunction formatCurrency(amount: number) {\n return new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }).format(amount);\n}\n\nfunction formatNumber(num: number) {\n return new Intl.NumberFormat('en-US', { notation: 'compact', maximumFractionDigits: 1 }).format(\n num\n );\n}\n\nfunction ChangeIndicator({ value }: { value: number }) {\n const isPositive = value > 0;\n const Icon = isPositive ? ArrowUpRight : ArrowDownRight;\n const color = isPositive ? 'text-emerald-600' : 'text-red-600';\n return (\n <div className={`flex items-center space-x-1 ${color}`}>\n <Icon className=\"h-3 w-3\" />\n <span className=\"text-sm font-medium\">{Math.abs(value)}%</span>\n </div>\n );\n}\n\nexport function CreatorPage() {\n const { t } = useI18n();\n const {\n revenueStats,\n subscriptionTiers,\n topContent,\n revenueBreakdown,\n creatorActiveTab,\n creatorTimeRange,\n setCreatorActiveTab,\n setCreatorTimeRange,\n } = useComradeCircleStore();\n\n const [_activeTab] = useState(creatorActiveTab);\n\n const tabLabelByValue = {\n overview: t('comradecircle.creator.tabs.overview', { defaultValue: 'Overview' }),\n revenue: t('comradecircle.creator.tabs.revenue', { defaultValue: 'Revenue' }),\n analytics: t('comradecircle.creator.tabs.analytics', { defaultValue: 'Analytics' }),\n content: t('comradecircle.creator.tabs.content', { defaultValue: 'Content' }),\n };\n\n const contentTypeLabelByValue = {\n video: t('comradecircle.creator.contentType.video', { defaultValue: 'video' }),\n article: t('comradecircle.creator.contentType.article', { defaultValue: 'article' }),\n livestream: t('comradecircle.creator.contentType.livestream', { defaultValue: 'livestream' }),\n course: t('comradecircle.creator.contentType.course', { defaultValue: 'course' }),\n };\n\n return (\n <div className=\"space-y-6 p-6\">\n {/* Header */}\n <div className=\"flex flex-col sm:flex-row sm:items-center sm:justify-between\">\n <div>\n <h1 className=\"text-3xl font-bold\">\n {t('comradecircle.creator.title', { defaultValue: 'Creator Hub' })}\n </h1>\n <p className=\"text-muted-foreground mt-1\">\n {t('comradecircle.creator.subtitle', {\n defaultValue: 'Manage your content, track earnings, and grow your community',\n })}\n </p>\n </div>\n <div className=\"flex items-center space-x-2 mt-4 sm:mt-0\">\n <Button variant=\"outline\" size=\"sm\">\n <Download className=\"w-4 h-4 mr-2\" />\n {t('comradecircle.creator.actions.exportData', { defaultValue: 'Export Data' })}\n </Button>\n <Button>\n <Plus className=\"w-4 h-4 mr-2\" />\n {t('comradecircle.creator.actions.createContent', { defaultValue: 'Create Content' })}\n </Button>\n </div>\n </div>\n\n {/* Revenue Overview Cards */}\n <div className=\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4\">\n <Card>\n <CardContent className=\"p-4\">\n <div className=\"flex items-center justify-between\">\n <div>\n <p className=\"text-sm font-medium text-muted-foreground\">\n {t('comradecircle.creator.stats.totalRevenue', { defaultValue: 'Total Revenue' })}\n </p>\n <p className=\"text-2xl font-bold\">{formatCurrency(revenueStats.totalRevenue)}</p>\n <ChangeIndicator value={revenueStats.monthlyGrowth} />\n </div>\n <DollarSign className=\"h-8 w-8 text-emerald-600\" />\n </div>\n </CardContent>\n </Card>\n\n <Card>\n <CardContent className=\"p-4\">\n <div className=\"flex items-center justify-between\">\n <div>\n <p className=\"text-sm font-medium text-muted-foreground\">\n {t('comradecircle.creator.stats.monthlyRevenue', {\n defaultValue: 'Monthly Revenue',\n })}\n </p>\n <p className=\"text-2xl font-bold\">{formatCurrency(revenueStats.monthlyRevenue)}</p>\n <ChangeIndicator value={revenueStats.weeklyGrowth} />\n </div>\n <TrendingUp className=\"h-8 w-8 text-blue-600\" />\n </div>\n </CardContent>\n </Card>\n\n <Card>\n <CardContent className=\"p-4\">\n <div className=\"flex items-center justify-between\">\n <div>\n <p className=\"text-sm font-medium text-muted-foreground\">\n {t('comradecircle.creator.stats.activeSubscribers', {\n defaultValue: 'Active Subscribers',\n })}\n </p>\n <p className=\"text-2xl font-bold\">{revenueStats.subscribers.toLocaleString()}</p>\n <ChangeIndicator value={18.5} />\n </div>\n <Users className=\"h-8 w-8 text-violet-600\" />\n </div>\n </CardContent>\n </Card>\n\n <Card>\n <CardContent className=\"p-4\">\n <div className=\"flex items-center justify-between\">\n <div>\n <p className=\"text-sm font-medium text-muted-foreground\">\n {t('comradecircle.creator.stats.platformFee', {\n defaultValue: 'Platform Fee (5%)',\n })}\n </p>\n <p className=\"text-2xl font-bold\">{formatCurrency(revenueStats.platformFee)}</p>\n <p className=\"text-xs text-emerald-600 font-medium\">\n {t('comradecircle.creator.stats.platformFeeHint', {\n defaultValue: 'Lowest in industry',\n })}\n </p>\n </div>\n <Zap className=\"h-8 w-8 text-amber-500\" />\n </div>\n </CardContent>\n </Card>\n </div>\n\n {/* Tab Navigation */}\n <div className=\"flex space-x-4 border-b border-border\">\n {(['overview', 'revenue', 'analytics', 'content'] as const).map((tab) => (\n <button\n key={tab}\n className={`pb-2 px-1 border-b-2 font-medium text-sm transition-colors ${\n creatorActiveTab === tab\n ? 'border-primary text-primary'\n : 'border-transparent text-muted-foreground hover:text-foreground'\n }`}\n onClick={() => setCreatorActiveTab(tab)}\n >\n {tabLabelByValue[tab]}\n </button>\n ))}\n </div>\n\n {/* Time Range Filter */}\n <div className=\"flex justify-end\">\n <div className=\"flex space-x-1 bg-muted rounded-lg p-1\">\n {(['7d', '30d', '90d', '1y'] as const).map((range) => (\n <button\n key={range}\n className={`px-3 py-1 rounded-md text-sm font-medium transition-colors ${\n creatorTimeRange === range\n ? 'bg-background text-foreground shadow-sm'\n : 'text-muted-foreground hover:text-foreground'\n }`}\n onClick={() => setCreatorTimeRange(range)}\n >\n {range.toUpperCase()}\n </button>\n ))}\n </div>\n </div>\n\n {/* Overview Tab */}\n {creatorActiveTab === 'overview' && (\n <div className=\"grid grid-cols-1 lg:grid-cols-3 gap-6\">\n <div className=\"lg:col-span-2 space-y-6\">\n {/* Subscription Tiers */}\n <Card>\n <CardHeader>\n <CardTitle className=\"flex items-center space-x-2\">\n <Star className=\"h-5 w-5 text-amber-500\" />\n <span>\n {t('comradecircle.creator.sections.subscriptionTiers.title', {\n defaultValue: 'Subscription Tiers',\n })}\n </span>\n </CardTitle>\n <CardDescription>\n {t('comradecircle.creator.sections.subscriptionTiers.description', {\n defaultValue: 'Your subscription offerings and their performance',\n })}\n </CardDescription>\n </CardHeader>\n <CardContent>\n <div className=\"space-y-4\">\n {subscriptionTiers.map((tier) => (\n <div\n key={tier.id}\n className=\"flex items-center justify-between p-4 bg-muted/50 rounded-lg\"\n >\n <div className=\"flex-1\">\n <div className=\"flex items-center space-x-3\">\n <h4 className=\"font-semibold\">{tier.name}</h4>\n <Badge variant=\"secondary\">{formatCurrency(tier.price)}/month</Badge>\n <ChangeIndicator value={tier.growthRate} />\n </div>\n <p className=\"text-sm text-muted-foreground mt-1\">{tier.description}</p>\n <div className=\"flex items-center space-x-4 mt-2 text-sm\">\n <span className=\"flex items-center space-x-1\">\n <Users className=\"h-3 w-3\" />\n <span>\n {tier.subscribers}{' '}\n {t('comradecircle.creator.subscriptionTier.subscribers', {\n defaultValue: 'subscribers',\n })}\n </span>\n </span>\n <span className=\"flex items-center space-x-1\">\n <DollarSign className=\"h-3 w-3\" />\n <span>\n {formatCurrency(tier.monthlyRevenue)}/\n {t('comradecircle.creator.subscriptionTier.month', {\n defaultValue: 'month',\n })}\n </span>\n </span>\n </div>\n </div>\n <div className=\"flex space-x-2\">\n <Button variant=\"outline\" size=\"sm\">\n {t('comradecircle.creator.actions.edit', { defaultValue: 'Edit' })}\n </Button>\n <Button size=\"sm\">\n {t('comradecircle.creator.actions.viewDetails', {\n defaultValue: 'View Details',\n })}\n </Button>\n </div>\n </div>\n ))}\n </div>\n </CardContent>\n </Card>\n\n {/* Top Performing Content */}\n <Card>\n <CardHeader>\n <CardTitle className=\"flex items-center space-x-2\">\n <TrendingUp className=\"h-5 w-5 text-emerald-600\" />\n <span>\n {t('comradecircle.creator.sections.topContent.title', {\n defaultValue: 'Top Performing Content',\n })}\n </span>\n </CardTitle>\n <CardDescription>\n {t('comradecircle.creator.sections.topContent.description', {\n defaultValue: 'Your best performing content this month',\n })}\n </CardDescription>\n </CardHeader>\n <CardContent>\n <div className=\"space-y-4\">\n {topContent.map((content) => (\n <div key={content.id} className=\"flex items-center justify-between\">\n <div className=\"flex-1\">\n <div className=\"flex items-center space-x-2\">\n <h4 className=\"font-medium\">{content.title}</h4>\n <Badge variant=\"outline\" className=\"capitalize text-xs\">\n {contentTypeLabelByValue[content.type] ?? content.type}\n </Badge>\n </div>\n <div className=\"flex items-center space-x-4 mt-2 text-sm text-muted-foreground\">\n <span className=\"flex items-center space-x-1\">\n <Eye className=\"h-3 w-3\" />\n <span>{formatNumber(content.views)}</span>\n </span>\n <span className=\"flex items-center space-x-1\">\n <Heart className=\"h-3 w-3\" />\n <span>{formatNumber(content.likes)}</span>\n </span>\n <span className=\"flex items-center space-x-1\">\n <MessageSquare className=\"h-3 w-3\" />\n <span>{content.comments}</span>\n </span>\n <span className=\"flex items-center space-x-1\">\n <DollarSign className=\"h-3 w-3\" />\n <span>{formatCurrency(content.revenue)}</span>\n </span>\n </div>\n </div>\n <div className=\"text-right\">\n <Badge variant={content.engagement > 7 ? 'default' : 'secondary'}>\n {content.engagement}%{' '}\n {t('comradecircle.creator.topContent.engagement', {\n defaultValue: 'engagement',\n })}\n </Badge>\n <p className=\"text-xs text-muted-foreground mt-1\">{content.publishDate}</p>\n </div>\n </div>\n ))}\n </div>\n </CardContent>\n </Card>\n </div>\n\n {/* Sidebar */}\n <div className=\"space-y-6\">\n <Card>\n <CardHeader>\n <CardTitle className=\"text-lg\">\n {t('comradecircle.creator.sections.quickActions.title', {\n defaultValue: 'Quick Actions',\n })}\n </CardTitle>\n </CardHeader>\n <CardContent className=\"space-y-2\">\n <Button className=\"w-full\">\n <Plus className=\"w-4 h-4 mr-2\" />\n {t('comradecircle.creator.quickActions.createNewContent', {\n defaultValue: 'Create New Content',\n })}\n </Button>\n <Button variant=\"outline\" className=\"w-full\">\n <Users className=\"w-4 h-4 mr-2\" />\n {t('comradecircle.creator.quickActions.manageSubscribers', {\n defaultValue: 'Manage Subscribers',\n })}\n </Button>\n <Button variant=\"outline\" className=\"w-full\">\n <BarChart3 className=\"w-4 h-4 mr-2\" />\n {t('comradecircle.creator.quickActions.viewFullAnalytics', {\n defaultValue: 'View Full Analytics',\n })}\n </Button>\n <Button variant=\"outline\" className=\"w-full\">\n <Settings className=\"w-4 h-4 mr-2\" />\n {t('comradecircle.creator.quickActions.creatorSettings', {\n defaultValue: 'Creator Settings',\n })}\n </Button>\n </CardContent>\n </Card>\n\n <Card>\n <CardHeader>\n <CardTitle className=\"text-lg\">\n {t('comradecircle.creator.sections.revenueBreakdown.title', {\n defaultValue: 'Revenue Breakdown',\n })}\n </CardTitle>\n </CardHeader>\n <CardContent>\n <div className=\"space-y-3\">\n <div className=\"flex justify-between items-center\">\n <span className=\"text-sm text-muted-foreground\">\n {t('comradecircle.creator.revenueBreakdown.subscriptions', {\n defaultValue: 'Subscriptions',\n })}\n </span>\n <span className=\"font-medium\">\n {formatCurrency(revenueBreakdown.subscriptions)}\n </span>\n </div>\n <div className=\"flex justify-between items-center\">\n <span className=\"text-sm text-muted-foreground\">\n {t('comradecircle.creator.revenueBreakdown.oneTimePurchases', {\n defaultValue: 'One-time Purchases',\n })}\n </span>\n <span className=\"font-medium\">{formatCurrency(revenueBreakdown.oneTime)}</span>\n </div>\n <div className=\"flex justify-between items-center\">\n <span className=\"text-sm text-muted-foreground\">\n {t('comradecircle.creator.revenueBreakdown.tipsAndDonations', {\n defaultValue: 'Tips & Donations',\n })}\n </span>\n <span className=\"font-medium\">{formatCurrency(revenueBreakdown.tips)}</span>\n </div>\n <div className=\"flex justify-between items-center\">\n <span className=\"text-sm text-muted-foreground\">\n {t('comradecircle.creator.revenueBreakdown.merchandise', {\n defaultValue: 'Merchandise',\n })}\n </span>\n <span className=\"font-medium\">\n {formatCurrency(revenueBreakdown.merchandise)}\n </span>\n </div>\n <div className=\"border-t pt-2 flex justify-between items-center font-semibold\">\n <span>\n {t('comradecircle.creator.revenueBreakdown.total', { defaultValue: 'Total' })}\n </span>\n <span>\n {formatCurrency(\n revenueBreakdown.subscriptions +\n revenueBreakdown.oneTime +\n revenueBreakdown.tips +\n revenueBreakdown.merchandise\n )}\n </span>\n </div>\n </div>\n </CardContent>\n </Card>\n </div>\n </div>\n )}\n\n {/* Other tabs placeholder */}\n {creatorActiveTab !== 'overview' && (\n <Card>\n <CardContent className=\"p-12 text-center\">\n <BarChart3 className=\"h-12 w-12 text-muted-foreground mx-auto mb-4\" />\n <h3 className=\"text-lg font-semibold mb-2\">\n {tabLabelByValue[creatorActiveTab]}{' '}\n {t('comradecircle.creator.placeholder.dashboard', { defaultValue: 'Dashboard' })}\n </h3>\n <p className=\"text-muted-foreground\">\n {t('comradecircle.creator.placeholder.comingSoonPrefix', {\n defaultValue: 'Detailed',\n })}{' '}\n {tabLabelByValue[creatorActiveTab].toLowerCase()}{' '}\n {t('comradecircle.creator.placeholder.comingSoonSuffix', {\n defaultValue: 'insights and management tools coming soon.',\n })}\n </p>\n </CardContent>\n </Card>\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;AA6BA,SAAS,EAAe,GAAgB;AACtC,QAAO,IAAI,KAAK,aAAa,SAAS;EAAE,OAAO;EAAY,UAAU;EAAO,CAAC,CAAC,OAAO,EAAO;;AAG9F,SAAS,EAAa,GAAa;AACjC,QAAO,IAAI,KAAK,aAAa,SAAS;EAAE,UAAU;EAAW,uBAAuB;EAAG,CAAC,CAAC,OACvF,EACD;;AAGH,SAAS,EAAgB,EAAE,YAA4B;CACrD,IAAM,IAAa,IAAQ;A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,EAAE,sDAAsD,EACvD,cAAc,eACf,CAAC;SACG,CAAA,EACP,kBAAC,QAAD;SAAM,WAAU;mBACb,EAAe,EAAiB,YAAY;SACxC,CAAA,CACH;;OACN,kBAAC,OAAD;QAAK,WAAU;kBAAf,CACE,kBAAC,QAAD,EAAA,UACG,EAAE,gDAAgD,EAAE,cAAc,SAAS,CAAC,EACxE,CAAA,EACP,kBAAC,QAAD,EAAA,UACG,EACC,EAAiB,gBACf,EAAiB,UACjB,EAAiB,OACjB,EAAiB,YACpB,EACI,CAAA,CACH;;OACF;SACM,CAAA,CACT,EAAA,CAAA,CACH;OACF;;GAIP,MAAqB,cACpB,kBAAC,GAAD,EAAA,UACE,kBAAC,GAAD;IAAa,WAAU;cAAvB;KACE,kBAAC,GAAD,EAAW,WAAU,gDAAiD,CAAA;KACtE,kBAAC,MAAD;MAAI,WAAU;gBAAd;OACG,EAAgB;OAAmB;OACnC,EAAE,+CAA+C,EAAE,cAAc,aAAa,CAAC;OAC7E;;KACL,kBAAC,KAAD;MAAG,WAAU;gBAAb;OACG,EAAE,sDAAsD,EACvD,cAAc,YACf,CAAC;OAAE;OACH,EAAgB,GAAkB,aAAa;OAAE;OACjD,EAAE,sDAAsD,EACvD,cAAc,8CACf,CAAC;OACA;;KACQ;OACT,CAAA;GAEL"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashboardPage.d.ts","sourceRoot":"","sources":["../../../src/comradecircle/pages/DashboardPage.tsx"],"names":[],"mappings":"AAyBA,wBAAgB,aAAa,4CA+V5B"}
|