@burdenoff/microfe-headshotmarketing 2026.827.1 → 2026.830.1
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/dist/headshotmarketing/HeadshotMarketingRoot.d.ts.map +1 -1
- package/dist/headshotmarketing/HeadshotMarketingRoot.js +43 -49
- package/dist/headshotmarketing/HeadshotMarketingRoot.js.map +1 -1
- package/dist/headshotmarketing/components/DataTable.d.ts.map +1 -1
- package/dist/headshotmarketing/components/DataTable.js +87 -79
- package/dist/headshotmarketing/components/DataTable.js.map +1 -1
- package/dist/headshotmarketing/components/Pagination.js +23 -23
- package/dist/headshotmarketing/components/QueryStateBoundary.js +12 -12
- package/dist/headshotmarketing/hooks/index.d.ts +1 -0
- package/dist/headshotmarketing/hooks/index.d.ts.map +1 -1
- package/dist/headshotmarketing/hooks/index.js +1 -0
- package/dist/headshotmarketing/pages/HomePage.js +164 -164
- package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdsPage.js +57 -57
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +5 -5
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +115 -115
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -1
- package/dist/shared/hooks/useTr.d.ts +17 -0
- package/dist/shared/hooks/useTr.d.ts.map +1 -0
- package/dist/shared/hooks/useTr.js +14 -0
- package/dist/shared/hooks/useTr.js.map +1 -0
- package/package.json +1 -1
|
@@ -4,24 +4,24 @@ import { Tooltip as n } from "../../../node_modules/recharts/es6/component/Toolt
|
|
|
4
4
|
import { ResponsiveContainer as r } from "../../../node_modules/recharts/es6/component/ResponsiveContainer.js";
|
|
5
5
|
import { Bar as i } from "../../../node_modules/recharts/es6/cartesian/Bar.js";
|
|
6
6
|
import { CartesianGrid as a } from "../../../node_modules/recharts/es6/cartesian/CartesianGrid.js";
|
|
7
|
-
import { XAxis as
|
|
8
|
-
import { YAxis as
|
|
9
|
-
import { BarChart as
|
|
10
|
-
import { cn as
|
|
11
|
-
import { PageLayout as
|
|
12
|
-
import { StatCard as
|
|
13
|
-
import { StatusBadge as
|
|
14
|
-
import { ChartCard as
|
|
15
|
-
import { QueryStateBoundary as
|
|
7
|
+
import { XAxis as ee } from "../../../node_modules/recharts/es6/cartesian/XAxis.js";
|
|
8
|
+
import { YAxis as o } from "../../../node_modules/recharts/es6/cartesian/YAxis.js";
|
|
9
|
+
import { BarChart as te } from "../../../node_modules/recharts/es6/chart/BarChart.js";
|
|
10
|
+
import { cn as s, formatNumber as c, formatPercentage as l } from "../../utils/helpers.js";
|
|
11
|
+
import { PageLayout as u } from "../../components/PageLayout.js";
|
|
12
|
+
import { StatCard as d } from "../../components/StatCard.js";
|
|
13
|
+
import { StatusBadge as f } from "../../components/StatusBadge.js";
|
|
14
|
+
import { ChartCard as p } from "../../components/ChartCard.js";
|
|
15
|
+
import { QueryStateBoundary as m } from "../../components/QueryStateBoundary.js";
|
|
16
16
|
import "../../components/index.js";
|
|
17
|
-
import { useHeadshotmarketingBootstrap as
|
|
18
|
-
import { toEngagementSeries as
|
|
17
|
+
import { useHeadshotmarketingBootstrap as h } from "../../hooks/useHeadshotmarketingBootstrap.js";
|
|
18
|
+
import { toEngagementSeries as g, toHashtagSuggestions as _, toSocialAccountModel as v, toSocialPostModel as y } from "../../utils/socialMapper.js";
|
|
19
19
|
import "../../hooks/index.js";
|
|
20
|
-
import { useMemo as
|
|
21
|
-
import { CalendarDays as
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
20
|
+
import { useMemo as b, useState as x } from "react";
|
|
21
|
+
import { CalendarDays as S, Eye as C, Hash as w, Heart as ne, PenSquare as T, RefreshCw as E, TrendingUp as D, Users as O } from "lucide-react";
|
|
22
|
+
import { jsx as k, jsxs as A } from "react/jsx-runtime";
|
|
23
|
+
import { EmphasisPanel as j, NextSteps as M, PagePurpose as N } from "@burdenoff/fe-libs/ui";
|
|
24
|
+
import { useI18n as P } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
25
25
|
//#region src/headshotmarketing/pages/social-media/SocialMediaPage.tsx
|
|
26
26
|
var F = [
|
|
27
27
|
"var(--color-chart-1)",
|
|
@@ -38,14 +38,14 @@ var F = [
|
|
|
38
38
|
youtube: "bg-status-error-bg text-status-error-text",
|
|
39
39
|
tiktok: "bg-bg-sunken text-text-secondary"
|
|
40
40
|
}, L = () => {
|
|
41
|
-
let { navigate: L, basePath: R } = e(), { t: z } =
|
|
41
|
+
let { navigate: L, basePath: R } = e(), { t: z } = P(), B = (e, t) => {
|
|
42
42
|
let n = z(e);
|
|
43
43
|
return n === e ? t : n;
|
|
44
|
-
}, { data: V, loading: H, error: U, refetch: W } =
|
|
44
|
+
}, { data: V, loading: H, error: U, refetch: W } = h(), [G, K] = x("overview"), [q, J] = x("all"), Y = b(() => (V?.headshotmarketingSocialAccounts.items ?? []).map((e) => v(e)), [V?.headshotmarketingSocialAccounts.items]), X = b(() => Object.fromEntries((V?.headshotmarketingSocialAccounts.items ?? []).map((e) => [e.id, e.accountName])), [V?.headshotmarketingSocialAccounts.items]), Z = b(() => Object.fromEntries(Y.map((e) => [e.id, e.platform])), [Y]), Q = b(() => (V?.headshotmarketingSocialPosts.items ?? []).map((e) => y(e, X, Z)), [
|
|
45
45
|
V?.headshotmarketingSocialPosts.items,
|
|
46
46
|
X,
|
|
47
47
|
Z
|
|
48
|
-
]), $ =
|
|
48
|
+
]), $ = b(() => {
|
|
49
49
|
let e = V?.headshotmarketingSocialMetrics, t = Q.reduce((e, t) => e + t.metrics.reach, 0), n = Q.reduce((e, t) => e + t.metrics.impressions, 0), r = Q.filter((e) => e.status === "published"), i = r.length > 0 ? r.reduce((e, t) => e + t.metrics.engagementRate, 0) / r.length : 0, a = Object.values(Y.reduce((e, t) => (e[t.platform] || (e[t.platform] = {
|
|
50
50
|
platform: t.platform,
|
|
51
51
|
followers: 0,
|
|
@@ -74,7 +74,7 @@ var F = [
|
|
|
74
74
|
V?.headshotmarketingSocialMetrics,
|
|
75
75
|
Y,
|
|
76
76
|
Q
|
|
77
|
-
]), re =
|
|
77
|
+
]), re = b(() => _(Q), [Q]), ie = b(() => g(Q), [Q]), ae = b(() => q === "all" ? Q : Q.filter((e) => e.platform === q), [q, Q]), oe = [
|
|
78
78
|
{
|
|
79
79
|
key: "overview",
|
|
80
80
|
label: B("headshotmarketing.social.tabs.overview", "Overview")
|
|
@@ -88,169 +88,169 @@ var F = [
|
|
|
88
88
|
label: B("headshotmarketing.social.tabs.analytics", "Analytics")
|
|
89
89
|
}
|
|
90
90
|
];
|
|
91
|
-
return /* @__PURE__ */
|
|
91
|
+
return /* @__PURE__ */ A(u, {
|
|
92
92
|
title: B("headshotmarketing.social.title", "Social Media"),
|
|
93
93
|
description: B("headshotmarketing.social.description", "Manage and monitor your social media presence across all platforms"),
|
|
94
|
-
actions: /* @__PURE__ */
|
|
94
|
+
actions: /* @__PURE__ */ A("div", {
|
|
95
95
|
className: "flex flex-wrap items-center gap-2",
|
|
96
96
|
children: [
|
|
97
|
-
/* @__PURE__ */
|
|
97
|
+
/* @__PURE__ */ A("button", {
|
|
98
98
|
onClick: () => W(),
|
|
99
99
|
disabled: H,
|
|
100
100
|
className: "inline-flex items-center gap-2 rounded-md border border-border-subtle px-3 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken disabled:opacity-60",
|
|
101
|
-
children: [/* @__PURE__ */
|
|
101
|
+
children: [/* @__PURE__ */ k(E, { className: s("h-4 w-4", H && "animate-spin") }), B("headshotmarketing.common.refresh", "Refresh")]
|
|
102
102
|
}),
|
|
103
|
-
/* @__PURE__ */
|
|
103
|
+
/* @__PURE__ */ A("button", {
|
|
104
104
|
onClick: () => L(R + "/social/compose"),
|
|
105
105
|
className: "inline-flex items-center gap-2 rounded-md bg-foreground px-4 py-2 text-sm font-medium text-background hover:bg-foreground/90",
|
|
106
|
-
children: [/* @__PURE__ */
|
|
106
|
+
children: [/* @__PURE__ */ k(T, { className: "h-4 w-4" }), B("headshotmarketing.social.actions.composePost", "Compose Post")]
|
|
107
107
|
}),
|
|
108
|
-
/* @__PURE__ */
|
|
108
|
+
/* @__PURE__ */ A("button", {
|
|
109
109
|
onClick: () => L(R + "/social/calendar"),
|
|
110
110
|
className: "inline-flex items-center gap-2 rounded-md border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken",
|
|
111
|
-
children: [/* @__PURE__ */
|
|
111
|
+
children: [/* @__PURE__ */ k(S, { className: "h-4 w-4" }), B("headshotmarketing.social.actions.calendar", "Calendar")]
|
|
112
112
|
})
|
|
113
113
|
]
|
|
114
114
|
}),
|
|
115
115
|
children: [
|
|
116
|
-
/* @__PURE__ */
|
|
117
|
-
/* @__PURE__ */
|
|
116
|
+
/* @__PURE__ */ k(N, { children: B("headshotmarketing.social.purpose", "Run all your social channels from one place. See followers, engagement and reach across every connected account, schedule and publish posts, and spot which content and platforms are working best.") }),
|
|
117
|
+
/* @__PURE__ */ k(M, {
|
|
118
118
|
storageKey: "headshotmarketing-social-overview",
|
|
119
119
|
steps: [
|
|
120
120
|
{
|
|
121
121
|
id: "compose",
|
|
122
122
|
label: B("headshotmarketing.social.actions.composePost", "Compose Post"),
|
|
123
123
|
description: B("headshotmarketing.social.next.composeDesc", "Write and publish to one or more channels at once."),
|
|
124
|
-
icon: /* @__PURE__ */
|
|
124
|
+
icon: /* @__PURE__ */ k(T, { className: "h-4 w-4" }),
|
|
125
125
|
onClick: () => L(R + "/social/compose")
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
128
|
id: "calendar",
|
|
129
129
|
label: B("headshotmarketing.social.actions.calendar", "Calendar"),
|
|
130
130
|
description: B("headshotmarketing.social.next.calendarDesc", "Plan and schedule your posting cadence."),
|
|
131
|
-
icon: /* @__PURE__ */
|
|
131
|
+
icon: /* @__PURE__ */ k(S, { className: "h-4 w-4" }),
|
|
132
132
|
onClick: () => L(R + "/social/calendar")
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
135
|
id: "accounts",
|
|
136
136
|
label: B("headshotmarketing.social.next.accounts", "Connect accounts"),
|
|
137
137
|
description: B("headshotmarketing.social.next.accountsDesc", "Link the social platforms you want to manage."),
|
|
138
|
-
icon: /* @__PURE__ */
|
|
138
|
+
icon: /* @__PURE__ */ k(O, { className: "h-4 w-4" }),
|
|
139
139
|
onClick: () => L(R + "/social/accounts")
|
|
140
140
|
}
|
|
141
141
|
]
|
|
142
142
|
}),
|
|
143
|
-
/* @__PURE__ */
|
|
143
|
+
/* @__PURE__ */ A(m, {
|
|
144
144
|
loading: H,
|
|
145
145
|
error: U,
|
|
146
146
|
onRetry: W,
|
|
147
147
|
hasData: !!V,
|
|
148
148
|
children: [
|
|
149
|
-
/* @__PURE__ */
|
|
149
|
+
/* @__PURE__ */ k("div", {
|
|
150
150
|
className: "flex items-center gap-3 overflow-x-auto pb-2",
|
|
151
|
-
children: Y.filter((e) => e.connected).map((e) => /* @__PURE__ */
|
|
151
|
+
children: Y.filter((e) => e.connected).map((e) => /* @__PURE__ */ A("div", {
|
|
152
152
|
className: "flex items-center gap-2 rounded-full border border-border-seam bg-gloss-card shadow-pop px-4 py-2 text-sm whitespace-nowrap",
|
|
153
153
|
children: [
|
|
154
|
-
/* @__PURE__ */
|
|
155
|
-
className:
|
|
154
|
+
/* @__PURE__ */ k("span", {
|
|
155
|
+
className: s("inline-block rounded-full px-2 py-0.5 text-xs font-medium capitalize", I[e.platform]),
|
|
156
156
|
children: e.platform
|
|
157
157
|
}),
|
|
158
|
-
/* @__PURE__ */
|
|
158
|
+
/* @__PURE__ */ k("span", {
|
|
159
159
|
className: "text-text-primary font-medium",
|
|
160
160
|
children: e.handle
|
|
161
161
|
}),
|
|
162
|
-
/* @__PURE__ */
|
|
162
|
+
/* @__PURE__ */ k("span", {
|
|
163
163
|
className: "text-text-secondary",
|
|
164
|
-
children:
|
|
164
|
+
children: c(e.followers)
|
|
165
165
|
})
|
|
166
166
|
]
|
|
167
167
|
}, e.id))
|
|
168
168
|
}),
|
|
169
|
-
/* @__PURE__ */
|
|
169
|
+
/* @__PURE__ */ k("div", {
|
|
170
170
|
className: "border-b border-border-subtle",
|
|
171
|
-
children: /* @__PURE__ */
|
|
171
|
+
children: /* @__PURE__ */ k("div", {
|
|
172
172
|
className: "flex flex-nowrap gap-4 overflow-x-auto",
|
|
173
|
-
children: oe.map((e) => /* @__PURE__ */
|
|
173
|
+
children: oe.map((e) => /* @__PURE__ */ k("button", {
|
|
174
174
|
onClick: () => K(e.key),
|
|
175
|
-
className:
|
|
175
|
+
className: s("px-1 py-3 text-sm font-medium border-b-2 transition-colors", G === e.key ? "border-foreground text-text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
|
|
176
176
|
children: e.label
|
|
177
177
|
}, e.key))
|
|
178
178
|
})
|
|
179
179
|
}),
|
|
180
|
-
G === "overview" && /* @__PURE__ */
|
|
180
|
+
G === "overview" && /* @__PURE__ */ A("div", {
|
|
181
181
|
className: "space-y-6",
|
|
182
182
|
children: [
|
|
183
|
-
/* @__PURE__ */
|
|
183
|
+
/* @__PURE__ */ k(j, { children: /* @__PURE__ */ A("div", {
|
|
184
184
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",
|
|
185
185
|
children: [
|
|
186
|
-
/* @__PURE__ */
|
|
186
|
+
/* @__PURE__ */ k(d, {
|
|
187
187
|
title: B("headshotmarketing.social.stats.totalFollowers", "Total Followers"),
|
|
188
|
-
value:
|
|
188
|
+
value: c($.totalFollowers),
|
|
189
189
|
change: 8.4,
|
|
190
190
|
changeLabel: B("headshotmarketing.common.vsLastMonth", "vs last month"),
|
|
191
|
-
icon: /* @__PURE__ */
|
|
191
|
+
icon: /* @__PURE__ */ k(O, { className: "h-4 w-4" })
|
|
192
192
|
}),
|
|
193
|
-
/* @__PURE__ */
|
|
193
|
+
/* @__PURE__ */ k(d, {
|
|
194
194
|
title: B("headshotmarketing.social.stats.totalEngagement", "Total Engagement"),
|
|
195
|
-
value:
|
|
195
|
+
value: c($.totalEngagement),
|
|
196
196
|
change: 12.3,
|
|
197
197
|
changeLabel: B("headshotmarketing.common.vsLastMonth", "vs last month"),
|
|
198
|
-
icon: /* @__PURE__ */
|
|
198
|
+
icon: /* @__PURE__ */ k(ne, { className: "h-4 w-4" })
|
|
199
199
|
}),
|
|
200
|
-
/* @__PURE__ */
|
|
200
|
+
/* @__PURE__ */ k(d, {
|
|
201
201
|
title: B("headshotmarketing.social.stats.totalReach", "Total Reach"),
|
|
202
|
-
value:
|
|
202
|
+
value: c($.totalReach),
|
|
203
203
|
change: 5.7,
|
|
204
204
|
changeLabel: B("headshotmarketing.common.vsLastMonth", "vs last month"),
|
|
205
|
-
icon: /* @__PURE__ */
|
|
205
|
+
icon: /* @__PURE__ */ k(C, { className: "h-4 w-4" })
|
|
206
206
|
}),
|
|
207
|
-
/* @__PURE__ */
|
|
207
|
+
/* @__PURE__ */ k(d, {
|
|
208
208
|
title: B("headshotmarketing.social.stats.avgEngagementRate", "Avg Engagement Rate"),
|
|
209
|
-
value:
|
|
209
|
+
value: l($.averageEngagementRate),
|
|
210
210
|
change: .8,
|
|
211
211
|
changeLabel: B("headshotmarketing.common.vsLastMonth", "vs last month"),
|
|
212
|
-
icon: /* @__PURE__ */
|
|
212
|
+
icon: /* @__PURE__ */ k(D, { className: "h-4 w-4" })
|
|
213
213
|
})
|
|
214
214
|
]
|
|
215
215
|
}) }),
|
|
216
|
-
/* @__PURE__ */
|
|
216
|
+
/* @__PURE__ */ A("div", {
|
|
217
217
|
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-6",
|
|
218
|
-
children: [/* @__PURE__ */
|
|
218
|
+
children: [/* @__PURE__ */ k("h3", {
|
|
219
219
|
className: "text-sm font-semibold text-text-primary mb-4",
|
|
220
220
|
children: B("headshotmarketing.social.sections.platformPerformance", "Platform Performance")
|
|
221
|
-
}), /* @__PURE__ */
|
|
221
|
+
}), /* @__PURE__ */ k("div", {
|
|
222
222
|
className: "space-y-3",
|
|
223
|
-
children: $.platformBreakdown.map((e) => /* @__PURE__ */
|
|
223
|
+
children: $.platformBreakdown.map((e) => /* @__PURE__ */ A("div", {
|
|
224
224
|
className: "flex flex-wrap items-center justify-between gap-2",
|
|
225
|
-
children: [/* @__PURE__ */
|
|
225
|
+
children: [/* @__PURE__ */ k("div", {
|
|
226
226
|
className: "flex items-center gap-3",
|
|
227
|
-
children: /* @__PURE__ */
|
|
228
|
-
className:
|
|
227
|
+
children: /* @__PURE__ */ k("span", {
|
|
228
|
+
className: s("inline-block rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", I[e.platform]),
|
|
229
229
|
children: e.platform
|
|
230
230
|
})
|
|
231
|
-
}), /* @__PURE__ */
|
|
231
|
+
}), /* @__PURE__ */ A("div", {
|
|
232
232
|
className: "flex flex-wrap items-center gap-x-6 gap-y-1 text-sm",
|
|
233
233
|
children: [
|
|
234
|
-
/* @__PURE__ */
|
|
234
|
+
/* @__PURE__ */ A("span", {
|
|
235
235
|
className: "text-text-secondary",
|
|
236
236
|
children: [
|
|
237
|
-
|
|
237
|
+
c(e.followers),
|
|
238
238
|
" ",
|
|
239
239
|
B("headshotmarketing.social.metrics.followers", "followers")
|
|
240
240
|
]
|
|
241
241
|
}),
|
|
242
|
-
/* @__PURE__ */
|
|
242
|
+
/* @__PURE__ */ A("span", {
|
|
243
243
|
className: "text-text-secondary",
|
|
244
244
|
children: [
|
|
245
|
-
|
|
245
|
+
c(e.engagement),
|
|
246
246
|
" ",
|
|
247
247
|
B("headshotmarketing.social.metrics.engagement", "engagement")
|
|
248
248
|
]
|
|
249
249
|
}),
|
|
250
|
-
/* @__PURE__ */
|
|
250
|
+
/* @__PURE__ */ A("span", {
|
|
251
251
|
className: "text-text-secondary",
|
|
252
252
|
children: [
|
|
253
|
-
|
|
253
|
+
c(e.reach),
|
|
254
254
|
" ",
|
|
255
255
|
B("headshotmarketing.social.metrics.reach", "reach")
|
|
256
256
|
]
|
|
@@ -260,94 +260,94 @@ var F = [
|
|
|
260
260
|
}, e.platform))
|
|
261
261
|
})]
|
|
262
262
|
}),
|
|
263
|
-
/* @__PURE__ */
|
|
263
|
+
/* @__PURE__ */ A("div", {
|
|
264
264
|
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-6",
|
|
265
|
-
children: [/* @__PURE__ */
|
|
265
|
+
children: [/* @__PURE__ */ A("h3", {
|
|
266
266
|
className: "text-sm font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
267
|
-
children: [/* @__PURE__ */
|
|
268
|
-
}), /* @__PURE__ */
|
|
267
|
+
children: [/* @__PURE__ */ k(w, { className: "h-4 w-4" }), B("headshotmarketing.social.sections.trendingHashtags", "Trending Hashtags")]
|
|
268
|
+
}), /* @__PURE__ */ k("div", {
|
|
269
269
|
className: "flex flex-wrap gap-2",
|
|
270
|
-
children: re.map((e) => /* @__PURE__ */
|
|
270
|
+
children: re.map((e) => /* @__PURE__ */ A("span", {
|
|
271
271
|
className: "inline-flex items-center gap-1 rounded-full border border-border-subtle px-3 py-1.5 text-sm text-text-primary",
|
|
272
|
-
children: [e.tag, /* @__PURE__ */
|
|
272
|
+
children: [e.tag, /* @__PURE__ */ k("span", {
|
|
273
273
|
className: "text-xs text-text-secondary",
|
|
274
|
-
children:
|
|
274
|
+
children: c(e.engagement)
|
|
275
275
|
})]
|
|
276
276
|
}, e.tag))
|
|
277
277
|
})]
|
|
278
278
|
})
|
|
279
279
|
]
|
|
280
280
|
}),
|
|
281
|
-
G === "posts" && /* @__PURE__ */
|
|
281
|
+
G === "posts" && /* @__PURE__ */ A("div", {
|
|
282
282
|
className: "space-y-4",
|
|
283
|
-
children: [/* @__PURE__ */
|
|
283
|
+
children: [/* @__PURE__ */ k("div", {
|
|
284
284
|
className: "flex items-center gap-2",
|
|
285
|
-
children: /* @__PURE__ */
|
|
285
|
+
children: /* @__PURE__ */ A("select", {
|
|
286
286
|
value: q,
|
|
287
287
|
onChange: (e) => J(e.target.value),
|
|
288
288
|
className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
|
|
289
289
|
children: [
|
|
290
|
-
/* @__PURE__ */
|
|
290
|
+
/* @__PURE__ */ k("option", {
|
|
291
291
|
value: "all",
|
|
292
292
|
children: B("headshotmarketing.social.filters.allPlatforms", "All Platforms")
|
|
293
293
|
}),
|
|
294
|
-
/* @__PURE__ */
|
|
294
|
+
/* @__PURE__ */ k("option", {
|
|
295
295
|
value: "instagram",
|
|
296
296
|
children: "Instagram"
|
|
297
297
|
}),
|
|
298
|
-
/* @__PURE__ */
|
|
298
|
+
/* @__PURE__ */ k("option", {
|
|
299
299
|
value: "facebook",
|
|
300
300
|
children: "Facebook"
|
|
301
301
|
}),
|
|
302
|
-
/* @__PURE__ */
|
|
302
|
+
/* @__PURE__ */ k("option", {
|
|
303
303
|
value: "twitter",
|
|
304
304
|
children: "Twitter"
|
|
305
305
|
}),
|
|
306
|
-
/* @__PURE__ */
|
|
306
|
+
/* @__PURE__ */ k("option", {
|
|
307
307
|
value: "linkedin",
|
|
308
308
|
children: "LinkedIn"
|
|
309
309
|
}),
|
|
310
|
-
/* @__PURE__ */
|
|
310
|
+
/* @__PURE__ */ k("option", {
|
|
311
311
|
value: "youtube",
|
|
312
312
|
children: "YouTube"
|
|
313
313
|
}),
|
|
314
|
-
/* @__PURE__ */
|
|
314
|
+
/* @__PURE__ */ k("option", {
|
|
315
315
|
value: "tiktok",
|
|
316
316
|
children: "TikTok"
|
|
317
317
|
})
|
|
318
318
|
]
|
|
319
319
|
})
|
|
320
|
-
}), /* @__PURE__ */
|
|
320
|
+
}), /* @__PURE__ */ k("div", {
|
|
321
321
|
className: "grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",
|
|
322
|
-
children: ae.map((e) => /* @__PURE__ */
|
|
322
|
+
children: ae.map((e) => /* @__PURE__ */ A("div", {
|
|
323
323
|
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-4 space-y-3",
|
|
324
324
|
children: [
|
|
325
|
-
/* @__PURE__ */
|
|
325
|
+
/* @__PURE__ */ A("div", {
|
|
326
326
|
className: "flex items-center justify-between",
|
|
327
|
-
children: [/* @__PURE__ */
|
|
328
|
-
className:
|
|
327
|
+
children: [/* @__PURE__ */ k("span", {
|
|
328
|
+
className: s("rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", I[e.platform]),
|
|
329
329
|
children: e.platform
|
|
330
|
-
}), /* @__PURE__ */
|
|
330
|
+
}), /* @__PURE__ */ k(f, { status: e.status })]
|
|
331
331
|
}),
|
|
332
|
-
/* @__PURE__ */
|
|
332
|
+
/* @__PURE__ */ k("p", {
|
|
333
333
|
className: "text-sm text-text-primary line-clamp-3",
|
|
334
334
|
children: e.content
|
|
335
335
|
}),
|
|
336
|
-
e.status === "published" && /* @__PURE__ */
|
|
336
|
+
e.status === "published" && /* @__PURE__ */ A("div", {
|
|
337
337
|
className: "flex items-center gap-4 text-xs text-text-secondary",
|
|
338
338
|
children: [
|
|
339
|
-
/* @__PURE__ */
|
|
340
|
-
|
|
339
|
+
/* @__PURE__ */ A("span", { children: [
|
|
340
|
+
c(e.metrics.likes),
|
|
341
341
|
" ",
|
|
342
342
|
B("headshotmarketing.social.metrics.likes", "likes")
|
|
343
343
|
] }),
|
|
344
|
-
/* @__PURE__ */
|
|
345
|
-
|
|
344
|
+
/* @__PURE__ */ A("span", { children: [
|
|
345
|
+
c(e.metrics.comments),
|
|
346
346
|
" ",
|
|
347
347
|
B("headshotmarketing.social.metrics.comments", "comments")
|
|
348
348
|
] }),
|
|
349
|
-
/* @__PURE__ */
|
|
350
|
-
|
|
349
|
+
/* @__PURE__ */ A("span", { children: [
|
|
350
|
+
c(e.metrics.shares),
|
|
351
351
|
" ",
|
|
352
352
|
B("headshotmarketing.social.metrics.shares", "shares")
|
|
353
353
|
] })
|
|
@@ -357,34 +357,34 @@ var F = [
|
|
|
357
357
|
}, e.id))
|
|
358
358
|
})]
|
|
359
359
|
}),
|
|
360
|
-
G === "analytics" && /* @__PURE__ */
|
|
360
|
+
G === "analytics" && /* @__PURE__ */ k(p, {
|
|
361
361
|
title: B("headshotmarketing.social.charts.engagementByDay", "Engagement by Day"),
|
|
362
362
|
subtitle: B("headshotmarketing.social.charts.engagementByDaySubtitle", "Weekly engagement breakdown across all platforms"),
|
|
363
|
-
children: /* @__PURE__ */
|
|
363
|
+
children: /* @__PURE__ */ k(r, {
|
|
364
364
|
width: "100%",
|
|
365
365
|
height: 320,
|
|
366
|
-
children: /* @__PURE__ */
|
|
366
|
+
children: /* @__PURE__ */ A(te, {
|
|
367
367
|
data: ie,
|
|
368
368
|
children: [
|
|
369
|
-
/* @__PURE__ */
|
|
369
|
+
/* @__PURE__ */ k(a, {
|
|
370
370
|
strokeDasharray: "3 3",
|
|
371
371
|
className: "stroke-border"
|
|
372
372
|
}),
|
|
373
|
-
/* @__PURE__ */
|
|
373
|
+
/* @__PURE__ */ k(ee, {
|
|
374
374
|
dataKey: "date",
|
|
375
375
|
className: "text-xs",
|
|
376
376
|
tick: { fill: "currentColor" }
|
|
377
377
|
}),
|
|
378
|
-
/* @__PURE__ */
|
|
378
|
+
/* @__PURE__ */ k(o, {
|
|
379
379
|
className: "text-xs",
|
|
380
380
|
tick: { fill: "currentColor" }
|
|
381
381
|
}),
|
|
382
|
-
/* @__PURE__ */
|
|
382
|
+
/* @__PURE__ */ k(n, { contentStyle: {
|
|
383
383
|
backgroundColor: "var(--color-card)",
|
|
384
384
|
border: "1px solid var(--color-border)"
|
|
385
385
|
} }),
|
|
386
|
-
/* @__PURE__ */
|
|
387
|
-
/* @__PURE__ */
|
|
386
|
+
/* @__PURE__ */ k(t, {}),
|
|
387
|
+
/* @__PURE__ */ k(i, {
|
|
388
388
|
dataKey: "likes",
|
|
389
389
|
fill: F[0],
|
|
390
390
|
name: B("headshotmarketing.social.charts.likes", "Likes"),
|
|
@@ -395,7 +395,7 @@ var F = [
|
|
|
395
395
|
0
|
|
396
396
|
]
|
|
397
397
|
}),
|
|
398
|
-
/* @__PURE__ */
|
|
398
|
+
/* @__PURE__ */ k(i, {
|
|
399
399
|
dataKey: "comments",
|
|
400
400
|
fill: F[1],
|
|
401
401
|
name: B("headshotmarketing.social.charts.comments", "Comments"),
|
|
@@ -406,7 +406,7 @@ var F = [
|
|
|
406
406
|
0
|
|
407
407
|
]
|
|
408
408
|
}),
|
|
409
|
-
/* @__PURE__ */
|
|
409
|
+
/* @__PURE__ */ k(i, {
|
|
410
410
|
dataKey: "shares",
|
|
411
411
|
fill: F[2],
|
|
412
412
|
name: B("headshotmarketing.social.charts.shares", "Shares"),
|