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