@burdenoff/microfe-headshotmarketing 2026.625.1 → 2026.625.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 (87) hide show
  1. package/dist/headshotmarketing/pages/HomePage.js +176 -175
  2. package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
  3. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +234 -218
  4. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
  5. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +162 -147
  6. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
  7. package/dist/headshotmarketing/pages/ads/AdsPage.js +138 -99
  8. package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -1
  9. package/dist/headshotmarketing/pages/ads/AudiencesPage.js +133 -118
  10. package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
  11. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +101 -99
  12. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
  13. package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js +40 -38
  14. package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js.map +1 -1
  15. package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js +98 -96
  16. package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js.map +1 -1
  17. package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js +23 -21
  18. package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js.map +1 -1
  19. package/dist/headshotmarketing/pages/analytics/ReportsPage.js +95 -83
  20. package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
  21. package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js +23 -21
  22. package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js.map +1 -1
  23. package/dist/headshotmarketing/pages/automation/AutomationPage.js +98 -59
  24. package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
  25. package/dist/headshotmarketing/pages/automation/TriggersPage.js +105 -94
  26. package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
  27. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +43 -41
  28. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
  29. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +155 -139
  30. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
  31. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +266 -261
  32. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
  33. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +201 -173
  34. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
  35. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +85 -91
  36. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
  37. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +160 -147
  38. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -1
  39. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +136 -134
  40. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
  41. package/dist/headshotmarketing/pages/content/AIToolsPage.js +82 -74
  42. package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
  43. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +58 -46
  44. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
  45. package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js +23 -21
  46. package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js.map +1 -1
  47. package/dist/headshotmarketing/pages/content/ContentCreationPage.js +39 -37
  48. package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
  49. package/dist/headshotmarketing/pages/content/ContentPage.js +82 -75
  50. package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
  51. package/dist/headshotmarketing/pages/crm/ContactsPage.js +227 -212
  52. package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -1
  53. package/dist/headshotmarketing/pages/crm/CreateContactPage.js +62 -61
  54. package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
  55. package/dist/headshotmarketing/pages/crm/CreateDealPage.js +75 -74
  56. package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
  57. package/dist/headshotmarketing/pages/crm/CrmPage.js +162 -120
  58. package/dist/headshotmarketing/pages/crm/CrmPage.js.map +1 -1
  59. package/dist/headshotmarketing/pages/crm/LeadsPage.js +58 -51
  60. package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
  61. package/dist/headshotmarketing/pages/crm/PipelinePage.js +173 -157
  62. package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
  63. package/dist/headshotmarketing/pages/events/CreateEventPage.js +344 -339
  64. package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
  65. package/dist/headshotmarketing/pages/events/EventsPage.js +100 -87
  66. package/dist/headshotmarketing/pages/events/EventsPage.js.map +1 -1
  67. package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js +162 -147
  68. package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js.map +1 -1
  69. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +91 -83
  70. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
  71. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +56 -28
  72. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
  73. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +199 -184
  74. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
  75. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +118 -111
  76. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
  77. package/dist/headshotmarketing/pages/social-media/AccountsPage.js +27 -25
  78. package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -1
  79. package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js +55 -54
  80. package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js.map +1 -1
  81. package/dist/headshotmarketing/pages/social-media/PostsPage.js +149 -137
  82. package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
  83. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +27 -26
  84. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
  85. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +104 -76
  86. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -1
  87. package/package.json +2 -2
@@ -12,342 +12,343 @@ import { AreaChart as ne } from "../../node_modules/recharts/es6/chart/AreaChart
12
12
  import { useHeadshotmarketingBootstrapDataQuery as c } from "../../generated/wspace-operations.js";
13
13
  import { cn as l, formatCurrency as u, formatNumber as d } from "../utils/helpers.js";
14
14
  import { toCampaignModel as f } from "../utils/campaignMapper.js";
15
- import { toAdCampaignModel as p } from "../utils/adsMapper.js";
16
- import { toCampaignTimeSeries as m, toChannelPerformance as h } from "../utils/analyticsMapper.js";
17
- import { StatCard as g } from "../components/StatCard.js";
18
- import { DataTable as _ } from "../components/DataTable.js";
19
- import { StatusBadge as re } from "../components/StatusBadge.js";
20
- import { ChartCard as v } from "../components/ChartCard.js";
15
+ import { toAdCampaignModel as re } from "../utils/adsMapper.js";
16
+ import { toCampaignTimeSeries as p, toChannelPerformance as m } from "../utils/analyticsMapper.js";
17
+ import { StatCard as h } from "../components/StatCard.js";
18
+ import { DataTable as g } from "../components/DataTable.js";
19
+ import { StatusBadge as ie } from "../components/StatusBadge.js";
20
+ import { ChartCard as _ } from "../components/ChartCard.js";
21
21
  import "../components/index.js";
22
- import { useState as ie } from "react";
23
- import { AlertCircle as y, AlertTriangle as b, CheckCircle2 as x, DollarSign as S, Download as C, Heart as w, Info as T, Megaphone as E, Percent as D, RefreshCw as O, ShoppingCart as k, Target as A, TrendingUp as j, Users as M } from "lucide-react";
24
- import { useI18n as N } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
25
- import { jsx as P, jsxs as F } from "react/jsx-runtime";
26
- import { AuroraBackground as I, EmphasisPanel as ae, GradientText as L, ShowMore as R } from "@burdenoff/fe-libs/ui";
22
+ import { useState as ae } from "react";
23
+ import { AlertCircle as v, AlertTriangle as y, CheckCircle2 as b, DollarSign as x, Download as S, Heart as C, Info as w, Megaphone as T, Percent as E, RefreshCw as D, ShoppingCart as O, Target as k, TrendingUp as A, Users as j } from "lucide-react";
24
+ import { useI18n as M } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
25
+ import { jsx as N, jsxs as P } from "react/jsx-runtime";
26
+ import { AuroraBackground as F, EmphasisPanel as I, GradientText as L, PagePurpose as R, ShowMore as z } from "@burdenoff/fe-libs/ui";
27
27
  //#region src/headshotmarketing/pages/HomePage.tsx
28
- var z = [
28
+ var B = [
29
29
  "var(--color-chart-1)",
30
30
  "var(--color-chart-2)",
31
31
  "var(--color-chart-3)",
32
32
  "var(--color-chart-4)",
33
33
  "var(--color-chart-5)",
34
34
  "var(--color-chart-6)"
35
- ], B = {
36
- success: x,
37
- warning: b,
38
- error: y,
39
- info: T
40
- }, V = {
35
+ ], V = {
36
+ success: b,
37
+ warning: y,
38
+ error: v,
39
+ info: w
40
+ }, H = {
41
41
  success: "border-status-success-border bg-status-success-bg text-status-success-text",
42
42
  warning: "border-status-warning-border bg-status-warning-bg text-status-warning-text",
43
43
  error: "border-status-error-border bg-status-error-bg text-status-error-text",
44
44
  info: "border-status-info-border bg-status-info-bg text-status-info-text"
45
- }, H = {
45
+ }, U = {
46
46
  success: "text-status-success-text",
47
47
  warning: "text-status-warning-text",
48
48
  error: "text-status-error-text",
49
49
  info: "text-status-info-text"
50
- }, U = () => {
51
- let { navigate: y, basePath: b } = e(), { t: x } = N(), U = (e, t) => {
52
- let n = x(e);
50
+ }, W = () => {
51
+ let { navigate: v, basePath: y } = e(), { t: b } = M(), W = (e, t) => {
52
+ let n = b(e);
53
53
  return n === e ? t : n;
54
- }, { data: W } = c({ variables: {
54
+ }, { data: G } = c({ variables: {
55
55
  limit: 200,
56
56
  offset: 0
57
- } }), [G, K] = ie("overview"), q = (W?.headshotmarketingCampaigns.items ?? []).map((e) => f(e)), J = (W?.headshotmarketingAdCampaigns.items ?? []).map((e) => p(e)), oe = m(q), Y = h(q, J), se = [
57
+ } }), [K, q] = ae("overview"), J = (G?.headshotmarketingCampaigns.items ?? []).map((e) => f(e)), oe = (G?.headshotmarketingAdCampaigns.items ?? []).map((e) => re(e)), se = p(J), Y = m(J, oe), ce = [
58
58
  {
59
- label: U("headshotmarketing.home.goals.revenue", "Revenue"),
59
+ label: W("headshotmarketing.home.goals.revenue", "Revenue"),
60
60
  percent: 78
61
61
  },
62
62
  {
63
- label: U("headshotmarketing.home.goals.customers", "Customers"),
63
+ label: W("headshotmarketing.home.goals.customers", "Customers"),
64
64
  percent: 65
65
65
  },
66
66
  {
67
- label: U("headshotmarketing.home.goals.roi", "ROI"),
67
+ label: W("headshotmarketing.home.goals.roi", "ROI"),
68
68
  percent: 82
69
69
  },
70
70
  {
71
- label: U("headshotmarketing.home.goals.traffic", "Traffic"),
71
+ label: W("headshotmarketing.home.goals.traffic", "Traffic"),
72
72
  percent: 91
73
73
  }
74
- ], ce = [
74
+ ], le = [
75
75
  {
76
- device: U("headshotmarketing.home.devices.desktop", "Desktop"),
76
+ device: W("headshotmarketing.home.devices.desktop", "Desktop"),
77
77
  sessions: 58
78
78
  },
79
79
  {
80
- device: U("headshotmarketing.home.devices.mobile", "Mobile"),
80
+ device: W("headshotmarketing.home.devices.mobile", "Mobile"),
81
81
  sessions: 32
82
82
  },
83
83
  {
84
- device: U("headshotmarketing.home.devices.tablet", "Tablet"),
84
+ device: W("headshotmarketing.home.devices.tablet", "Tablet"),
85
85
  sessions: 10
86
86
  }
87
- ], le = [
87
+ ], ue = [
88
88
  {
89
89
  key: "name",
90
- header: U("headshotmarketing.home.table.columns.name", "Name"),
90
+ header: W("headshotmarketing.home.table.columns.name", "Name"),
91
91
  sortable: !0
92
92
  },
93
93
  {
94
94
  key: "type",
95
- header: U("headshotmarketing.home.table.columns.type", "Type"),
95
+ header: W("headshotmarketing.home.table.columns.type", "Type"),
96
96
  sortable: !0,
97
- render: (e) => /* @__PURE__ */ P("span", {
97
+ render: (e) => /* @__PURE__ */ N("span", {
98
98
  className: "capitalize",
99
99
  children: e.type
100
100
  })
101
101
  },
102
102
  {
103
103
  key: "status",
104
- header: U("headshotmarketing.home.table.columns.status", "Status"),
105
- render: (e) => /* @__PURE__ */ P(re, { status: e.status })
104
+ header: W("headshotmarketing.home.table.columns.status", "Status"),
105
+ render: (e) => /* @__PURE__ */ N(ie, { status: e.status })
106
106
  },
107
107
  {
108
108
  key: "impressions",
109
- header: U("headshotmarketing.home.table.columns.impressions", "Impressions"),
109
+ header: W("headshotmarketing.home.table.columns.impressions", "Impressions"),
110
110
  sortable: !0,
111
111
  render: (e) => d(e.metrics.impressions)
112
112
  },
113
113
  {
114
114
  key: "clicks",
115
- header: U("headshotmarketing.home.table.columns.clicks", "Clicks"),
115
+ header: W("headshotmarketing.home.table.columns.clicks", "Clicks"),
116
116
  sortable: !0,
117
117
  render: (e) => d(e.metrics.clicks)
118
118
  },
119
119
  {
120
120
  key: "conversions",
121
- header: U("headshotmarketing.home.table.columns.conversions", "Conversions"),
121
+ header: W("headshotmarketing.home.table.columns.conversions", "Conversions"),
122
122
  sortable: !0,
123
123
  render: (e) => d(e.metrics.conversions)
124
124
  },
125
125
  {
126
126
  key: "roas",
127
- header: U("headshotmarketing.home.table.columns.roas", "ROAS"),
127
+ header: W("headshotmarketing.home.table.columns.roas", "ROAS"),
128
128
  sortable: !0,
129
129
  render: (e) => `${e.metrics.roas.toFixed(1)}x`
130
130
  }
131
- ], X = q.reduce((e, t) => (e.revenue += t.metrics.revenue, e.conversions += t.metrics.conversions, e), {
131
+ ], X = J.reduce((e, t) => (e.revenue += t.metrics.revenue, e.conversions += t.metrics.conversions, e), {
132
132
  revenue: 0,
133
133
  conversions: 0
134
- }), Z = q.reduce((e, t) => e + t.metrics.cost, 0), Q = Z > 0 ? X.revenue / Z : 0, $ = {
134
+ }), Z = J.reduce((e, t) => e + t.metrics.cost, 0), Q = Z > 0 ? X.revenue / Z : 0, $ = {
135
135
  topChannels: Y,
136
136
  recentAlerts: [{
137
137
  id: "alert-1",
138
138
  type: Q >= 3 ? "success" : "warning",
139
- message: Q >= 3 ? U("headshotmarketing.home.alerts.roasHealthy", "ROAS is healthy across active channels.") : U("headshotmarketing.home.alerts.roasDropped", "ROAS dropped below target in this period."),
139
+ message: Q >= 3 ? W("headshotmarketing.home.alerts.roasHealthy", "ROAS is healthy across active channels.") : W("headshotmarketing.home.alerts.roasDropped", "ROAS dropped below target in this period."),
140
140
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
141
141
  }, {
142
142
  id: "alert-2",
143
- type: q.length > 0 ? "info" : "error",
144
- message: q.length > 0 ? `${q.length} ${U("headshotmarketing.home.alerts.campaignsTrackedSuffix", "campaigns are currently tracked.")}` : U("headshotmarketing.home.alerts.noCampaigns", "No campaigns found in workspace data."),
143
+ type: J.length > 0 ? "info" : "error",
144
+ message: J.length > 0 ? `${J.length} ${W("headshotmarketing.home.alerts.campaignsTrackedSuffix", "campaigns are currently tracked.")}` : W("headshotmarketing.home.alerts.noCampaigns", "No campaigns found in workspace data."),
145
145
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
146
146
  }]
147
- }, ue = [
147
+ }, de = [
148
148
  {
149
149
  key: "overview",
150
- label: U("headshotmarketing.home.tabs.overview", "Overview")
150
+ label: W("headshotmarketing.home.tabs.overview", "Overview")
151
151
  },
152
152
  {
153
153
  key: "performance",
154
- label: U("headshotmarketing.home.tabs.performance", "Performance")
154
+ label: W("headshotmarketing.home.tabs.performance", "Performance")
155
155
  },
156
156
  {
157
157
  key: "audience",
158
- label: U("headshotmarketing.home.tabs.audience", "Audience")
158
+ label: W("headshotmarketing.home.tabs.audience", "Audience")
159
159
  },
160
160
  {
161
161
  key: "campaigns",
162
- label: U("headshotmarketing.home.tabs.campaigns", "Campaigns")
162
+ label: W("headshotmarketing.home.tabs.campaigns", "Campaigns")
163
163
  }
164
164
  ];
165
- return /* @__PURE__ */ F("div", {
165
+ return /* @__PURE__ */ P("div", {
166
166
  className: "space-y-6",
167
167
  children: [
168
- /* @__PURE__ */ F("header", {
168
+ /* @__PURE__ */ P("header", {
169
169
  className: "relative overflow-hidden rounded-card border border-border-seam bg-gloss-card px-6 py-7 shadow-[var(--shadow-pop)] sm:px-8",
170
- children: [/* @__PURE__ */ P(I, { intensity: "subtle" }), /* @__PURE__ */ F("div", {
170
+ children: [/* @__PURE__ */ N(F, { intensity: "subtle" }), /* @__PURE__ */ P("div", {
171
171
  className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
172
- children: [/* @__PURE__ */ F("div", { children: [/* @__PURE__ */ P("h1", {
172
+ children: [/* @__PURE__ */ P("div", { children: [/* @__PURE__ */ N("h1", {
173
173
  className: "text-2xl font-bold tracking-tight text-text-primary sm:text-3xl",
174
- children: /* @__PURE__ */ P(L, { children: U("headshotmarketing.home.title", "Dashboard") })
175
- }), /* @__PURE__ */ P("p", {
174
+ children: /* @__PURE__ */ N(L, { children: W("headshotmarketing.home.title", "Dashboard") })
175
+ }), /* @__PURE__ */ N("p", {
176
176
  className: "mt-1 text-sm text-text-secondary",
177
- children: U("headshotmarketing.home.subtitle", "Your marketing performance at a glance.")
178
- })] }), /* @__PURE__ */ F("div", {
177
+ children: W("headshotmarketing.home.subtitle", "Your marketing performance at a glance.")
178
+ })] }), /* @__PURE__ */ P("div", {
179
179
  className: "flex items-center gap-2",
180
- children: [/* @__PURE__ */ F("button", {
180
+ children: [/* @__PURE__ */ P("button", {
181
181
  type: "button",
182
182
  className: "inline-flex min-h-[44px] items-center gap-2 rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm font-medium text-text-primary transition-colors hover:bg-bg-sunken focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
183
- children: [/* @__PURE__ */ P(O, {
183
+ children: [/* @__PURE__ */ N(D, {
184
184
  className: "h-4 w-4",
185
185
  "aria-hidden": "true"
186
- }), U("headshotmarketing.home.actions.refresh", "Refresh")]
187
- }), /* @__PURE__ */ F("button", {
186
+ }), W("headshotmarketing.home.actions.refresh", "Refresh")]
187
+ }), /* @__PURE__ */ P("button", {
188
188
  type: "button",
189
189
  className: "inline-flex min-h-[44px] items-center gap-2 rounded-md bg-action-primary-bg px-3 py-2 text-sm font-medium text-action-primary-text shadow-pop transition-colors hover:bg-action-primary-bg/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
190
- children: [/* @__PURE__ */ P(C, {
190
+ children: [/* @__PURE__ */ N(S, {
191
191
  className: "h-4 w-4",
192
192
  "aria-hidden": "true"
193
- }), U("headshotmarketing.home.actions.export", "Export")]
193
+ }), W("headshotmarketing.home.actions.export", "Export")]
194
194
  })]
195
195
  })]
196
196
  })]
197
197
  }),
198
- /* @__PURE__ */ F("div", {
198
+ /* @__PURE__ */ N(R, { children: W("headshotmarketing.home.purpose", "Your marketing at a glance. This dashboard pulls revenue, active campaigns, conversions and ROAS into one view, then lets you dig into performance, audience and campaign detail — so you always know what's working and where to act next.") }),
199
+ /* @__PURE__ */ P("div", {
199
200
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",
200
201
  children: [
201
- /* @__PURE__ */ P(g, {
202
+ /* @__PURE__ */ N(h, {
202
203
  featured: !0,
203
- title: U("headshotmarketing.home.stats.totalRevenue", "Total Revenue"),
204
+ title: W("headshotmarketing.home.stats.totalRevenue", "Total Revenue"),
204
205
  value: u(X.revenue),
205
206
  change: 12.5,
206
- changeLabel: U("headshotmarketing.common.vsLastMonth", "vs last month"),
207
- icon: /* @__PURE__ */ P(S, { className: "h-5 w-5" })
207
+ changeLabel: W("headshotmarketing.common.vsLastMonth", "vs last month"),
208
+ icon: /* @__PURE__ */ N(x, { className: "h-5 w-5" })
208
209
  }),
209
- /* @__PURE__ */ P(g, {
210
- title: U("headshotmarketing.home.stats.activeCampaigns", "Active Campaigns"),
211
- value: String(q.filter((e) => e.status === "active").length),
210
+ /* @__PURE__ */ N(h, {
211
+ title: W("headshotmarketing.home.stats.activeCampaigns", "Active Campaigns"),
212
+ value: String(J.filter((e) => e.status === "active").length),
212
213
  change: 8.3,
213
- changeLabel: U("headshotmarketing.common.vsLastMonth", "vs last month"),
214
- icon: /* @__PURE__ */ P(E, { className: "h-5 w-5" })
214
+ changeLabel: W("headshotmarketing.common.vsLastMonth", "vs last month"),
215
+ icon: /* @__PURE__ */ N(T, { className: "h-5 w-5" })
215
216
  }),
216
- /* @__PURE__ */ P(g, {
217
- title: U("headshotmarketing.home.stats.conversions", "Conversions"),
217
+ /* @__PURE__ */ N(h, {
218
+ title: W("headshotmarketing.home.stats.conversions", "Conversions"),
218
219
  value: d(X.conversions),
219
220
  change: 15.2,
220
- changeLabel: U("headshotmarketing.common.vsLastMonth", "vs last month"),
221
- icon: /* @__PURE__ */ P(A, { className: "h-5 w-5" })
221
+ changeLabel: W("headshotmarketing.common.vsLastMonth", "vs last month"),
222
+ icon: /* @__PURE__ */ N(k, { className: "h-5 w-5" })
222
223
  }),
223
- /* @__PURE__ */ P(g, {
224
- title: U("headshotmarketing.home.stats.roas", "ROAS"),
224
+ /* @__PURE__ */ N(h, {
225
+ title: W("headshotmarketing.home.stats.roas", "ROAS"),
225
226
  value: `${Q.toFixed(1)}x`,
226
227
  change: 5.1,
227
- changeLabel: U("headshotmarketing.common.vsLastMonth", "vs last month"),
228
- icon: /* @__PURE__ */ P(j, { className: "h-5 w-5" })
228
+ changeLabel: W("headshotmarketing.common.vsLastMonth", "vs last month"),
229
+ icon: /* @__PURE__ */ N(A, { className: "h-5 w-5" })
229
230
  })
230
231
  ]
231
232
  }),
232
- /* @__PURE__ */ P(R, {
233
+ /* @__PURE__ */ N(z, {
233
234
  collapsedHeight: 0,
234
- label: U("headshotmarketing.home.actions.moreMetrics", "More metrics"),
235
- children: /* @__PURE__ */ F("div", {
235
+ label: W("headshotmarketing.home.actions.moreMetrics", "More metrics"),
236
+ children: /* @__PURE__ */ P("div", {
236
237
  className: "grid grid-cols-1 gap-4 pt-1 sm:grid-cols-2 lg:grid-cols-4",
237
238
  children: [
238
- /* @__PURE__ */ P(g, {
239
- title: U("headshotmarketing.home.stats.conversionRate", "Conversion Rate"),
239
+ /* @__PURE__ */ N(h, {
240
+ title: W("headshotmarketing.home.stats.conversionRate", "Conversion Rate"),
240
241
  value: "3.2%",
241
- icon: /* @__PURE__ */ P(D, { className: "h-5 w-5" })
242
+ icon: /* @__PURE__ */ N(E, { className: "h-5 w-5" })
242
243
  }),
243
- /* @__PURE__ */ P(g, {
244
- title: U("headshotmarketing.home.stats.avgOrderValue", "Avg Order Value"),
244
+ /* @__PURE__ */ N(h, {
245
+ title: W("headshotmarketing.home.stats.avgOrderValue", "Avg Order Value"),
245
246
  value: u(68),
246
- icon: /* @__PURE__ */ P(k, { className: "h-5 w-5" })
247
+ icon: /* @__PURE__ */ N(O, { className: "h-5 w-5" })
247
248
  }),
248
- /* @__PURE__ */ P(g, {
249
- title: U("headshotmarketing.home.stats.customerLtv", "Customer LTV"),
249
+ /* @__PURE__ */ N(h, {
250
+ title: W("headshotmarketing.home.stats.customerLtv", "Customer LTV"),
250
251
  value: u(450),
251
- icon: /* @__PURE__ */ P(w, { className: "h-5 w-5" })
252
+ icon: /* @__PURE__ */ N(C, { className: "h-5 w-5" })
252
253
  }),
253
- /* @__PURE__ */ P(g, {
254
- title: U("headshotmarketing.home.stats.monthlyVisitors", "Monthly Visitors"),
254
+ /* @__PURE__ */ N(h, {
255
+ title: W("headshotmarketing.home.stats.monthlyVisitors", "Monthly Visitors"),
255
256
  value: "45.2K",
256
- icon: /* @__PURE__ */ P(M, { className: "h-5 w-5" })
257
+ icon: /* @__PURE__ */ N(j, { className: "h-5 w-5" })
257
258
  })
258
259
  ]
259
260
  })
260
261
  }),
261
- /* @__PURE__ */ F(ae, { children: [/* @__PURE__ */ P("h3", {
262
+ /* @__PURE__ */ P(I, { children: [/* @__PURE__ */ N("h3", {
262
263
  className: "text-sm font-semibold text-text-primary mb-4",
263
- children: U("headshotmarketing.home.sections.monthlyGoals", "Monthly Goals")
264
- }), /* @__PURE__ */ P("div", {
264
+ children: W("headshotmarketing.home.sections.monthlyGoals", "Monthly Goals")
265
+ }), /* @__PURE__ */ N("div", {
265
266
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",
266
- children: se.map((e) => /* @__PURE__ */ F("div", { children: [/* @__PURE__ */ F("div", {
267
+ children: ce.map((e) => /* @__PURE__ */ P("div", { children: [/* @__PURE__ */ P("div", {
267
268
  className: "flex items-center justify-between mb-1",
268
- children: [/* @__PURE__ */ P("span", {
269
+ children: [/* @__PURE__ */ N("span", {
269
270
  className: "text-sm font-medium text-text-primary",
270
271
  children: e.label
271
- }), /* @__PURE__ */ F("span", {
272
+ }), /* @__PURE__ */ P("span", {
272
273
  className: "text-sm font-medium tabular-nums text-text-secondary",
273
274
  children: [e.percent, "%"]
274
275
  })]
275
- }), /* @__PURE__ */ P("div", {
276
+ }), /* @__PURE__ */ N("div", {
276
277
  className: "h-2 w-full rounded-full bg-bg-sunken",
277
- children: /* @__PURE__ */ P("div", {
278
+ children: /* @__PURE__ */ N("div", {
278
279
  className: "h-2 rounded-full bg-action-primary-bg transition-all",
279
280
  style: { width: `${e.percent}%` }
280
281
  })
281
282
  })] }, e.label))
282
283
  })] }),
283
- /* @__PURE__ */ F("div", { children: [/* @__PURE__ */ P("div", {
284
+ /* @__PURE__ */ P("div", { children: [/* @__PURE__ */ N("div", {
284
285
  className: "flex items-center gap-1 border-b border-border-subtle",
285
- children: ue.map((e) => /* @__PURE__ */ P("button", {
286
- onClick: () => K(e.key),
287
- className: l("px-4 py-2 text-sm font-medium border-b-2 transition-colors -mb-px", G === e.key ? "border-primary text-text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
286
+ children: de.map((e) => /* @__PURE__ */ N("button", {
287
+ onClick: () => q(e.key),
288
+ className: l("px-4 py-2 text-sm font-medium border-b-2 transition-colors -mb-px", K === e.key ? "border-primary text-text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
288
289
  children: e.label
289
290
  }, e.key))
290
- }), /* @__PURE__ */ F("div", {
291
+ }), /* @__PURE__ */ P("div", {
291
292
  className: "mt-6",
292
293
  children: [
293
- G === "overview" && /* @__PURE__ */ F("div", {
294
+ K === "overview" && /* @__PURE__ */ P("div", {
294
295
  className: "grid grid-cols-1 gap-6 lg:grid-cols-2",
295
- children: [/* @__PURE__ */ P(v, {
296
- title: U("headshotmarketing.home.charts.revenueTrend", "Revenue Trend"),
297
- subtitle: U("headshotmarketing.home.charts.last30Days", "Last 30 days"),
298
- children: /* @__PURE__ */ P(n, {
296
+ children: [/* @__PURE__ */ N(_, {
297
+ title: W("headshotmarketing.home.charts.revenueTrend", "Revenue Trend"),
298
+ subtitle: W("headshotmarketing.home.charts.last30Days", "Last 30 days"),
299
+ children: /* @__PURE__ */ N(n, {
299
300
  width: "100%",
300
301
  height: 280,
301
- children: /* @__PURE__ */ F(ne, {
302
- data: oe,
302
+ children: /* @__PURE__ */ P(ne, {
303
+ data: se,
303
304
  children: [
304
- /* @__PURE__ */ P(a, {
305
+ /* @__PURE__ */ N(a, {
305
306
  strokeDasharray: "3 3",
306
307
  className: "stroke-border"
307
308
  }),
308
- /* @__PURE__ */ P(s, {
309
+ /* @__PURE__ */ N(s, {
309
310
  dataKey: "date",
310
311
  tick: { fontSize: 11 },
311
312
  className: "text-text-secondary",
312
313
  tickFormatter: (e) => e.slice(5)
313
314
  }),
314
- /* @__PURE__ */ P(ee, {
315
+ /* @__PURE__ */ N(ee, {
315
316
  tick: { fontSize: 11 },
316
317
  className: "text-text-secondary"
317
318
  }),
318
- /* @__PURE__ */ P(t, { contentStyle: {
319
+ /* @__PURE__ */ N(t, { contentStyle: {
319
320
  backgroundColor: "var(--color-card)",
320
321
  border: "1px solid var(--color-border)",
321
322
  borderRadius: 8
322
323
  } }),
323
- /* @__PURE__ */ P(o, {
324
+ /* @__PURE__ */ N(o, {
324
325
  type: "monotone",
325
326
  dataKey: "revenue",
326
- stroke: z[0],
327
- fill: z[0],
327
+ stroke: B[0],
328
+ fill: B[0],
328
329
  fillOpacity: .15,
329
330
  strokeWidth: 2,
330
- name: U("headshotmarketing.home.charts.revenue", "Revenue")
331
+ name: W("headshotmarketing.home.charts.revenue", "Revenue")
331
332
  }),
332
- /* @__PURE__ */ P(o, {
333
+ /* @__PURE__ */ N(o, {
333
334
  type: "monotone",
334
335
  dataKey: "cost",
335
- stroke: z[3],
336
- fill: z[3],
336
+ stroke: B[3],
337
+ fill: B[3],
337
338
  fillOpacity: .1,
338
339
  strokeWidth: 2,
339
- name: U("headshotmarketing.home.charts.cost", "Cost")
340
+ name: W("headshotmarketing.home.charts.cost", "Cost")
340
341
  })
341
342
  ]
342
343
  })
343
344
  })
344
- }), /* @__PURE__ */ P(v, {
345
- title: U("headshotmarketing.home.charts.channelPerformance", "Channel Performance"),
346
- subtitle: U("headshotmarketing.home.charts.revenueDistribution", "Revenue distribution"),
347
- children: /* @__PURE__ */ P(n, {
345
+ }), /* @__PURE__ */ N(_, {
346
+ title: W("headshotmarketing.home.charts.channelPerformance", "Channel Performance"),
347
+ subtitle: W("headshotmarketing.home.charts.revenueDistribution", "Revenue distribution"),
348
+ children: /* @__PURE__ */ N(n, {
348
349
  width: "100%",
349
350
  height: 280,
350
- children: /* @__PURE__ */ F(te, { children: [/* @__PURE__ */ P(i, {
351
+ children: /* @__PURE__ */ P(te, { children: [/* @__PURE__ */ N(i, {
351
352
  data: Y,
352
353
  dataKey: "revenue",
353
354
  nameKey: "channel",
@@ -355,8 +356,8 @@ var z = [
355
356
  cy: "50%",
356
357
  outerRadius: 100,
357
358
  label: ({ name: e, percent: t }) => `${e} ${(t * 100).toFixed(0)}%`,
358
- children: Y.map((e, t) => /* @__PURE__ */ P(r, { fill: z[t % z.length] }, e.channel))
359
- }), /* @__PURE__ */ P(t, {
359
+ children: Y.map((e, t) => /* @__PURE__ */ N(r, { fill: B[t % B.length] }, e.channel))
360
+ }), /* @__PURE__ */ N(t, {
360
361
  contentStyle: {
361
362
  backgroundColor: "var(--color-card)",
362
363
  border: "1px solid var(--color-border)",
@@ -367,93 +368,93 @@ var z = [
367
368
  })
368
369
  })]
369
370
  }),
370
- G === "performance" && /* @__PURE__ */ F("div", {
371
+ K === "performance" && /* @__PURE__ */ P("div", {
371
372
  className: "rounded-card border border-border-seam bg-gloss-card p-6 shadow-[var(--shadow-pop)]",
372
- children: [/* @__PURE__ */ P("h3", {
373
+ children: [/* @__PURE__ */ N("h3", {
373
374
  className: "text-sm font-semibold text-text-primary mb-4",
374
- children: U("headshotmarketing.home.sections.topChannels", "Top Channels")
375
- }), /* @__PURE__ */ P("div", {
375
+ children: W("headshotmarketing.home.sections.topChannels", "Top Channels")
376
+ }), /* @__PURE__ */ N("div", {
376
377
  className: "space-y-4",
377
- children: $.topChannels.slice(0, 5).map((e) => /* @__PURE__ */ F("div", {
378
+ children: $.topChannels.slice(0, 5).map((e) => /* @__PURE__ */ P("div", {
378
379
  className: "flex items-center justify-between",
379
- children: [/* @__PURE__ */ F("div", {
380
+ children: [/* @__PURE__ */ P("div", {
380
381
  className: "flex items-center gap-3",
381
- children: [/* @__PURE__ */ P("div", {
382
+ children: [/* @__PURE__ */ N("div", {
382
383
  className: "h-3 w-3 rounded-full motion-safe:animate-vc-glow-pulse",
383
384
  style: { backgroundColor: e.color }
384
- }), /* @__PURE__ */ P("span", {
385
+ }), /* @__PURE__ */ N("span", {
385
386
  className: "text-sm font-medium text-text-primary",
386
387
  children: e.channel
387
388
  })]
388
- }), /* @__PURE__ */ F("div", {
389
+ }), /* @__PURE__ */ P("div", {
389
390
  className: "flex items-center gap-4",
390
- children: [/* @__PURE__ */ P("span", {
391
+ children: [/* @__PURE__ */ N("span", {
391
392
  className: "text-sm font-semibold tabular-nums text-text-primary",
392
393
  children: u(e.revenue)
393
- }), /* @__PURE__ */ F("span", {
394
+ }), /* @__PURE__ */ P("span", {
394
395
  className: l("inline-flex items-center rounded-full border px-2 py-0.5 text-xs font-medium tabular-nums", e.roas >= 3.5 ? "bg-status-success-bg text-status-success-text border-status-success-border" : "bg-status-warning-bg text-status-warning-text border-status-warning-border"),
395
396
  children: [
396
397
  e.roas.toFixed(1),
397
398
  "x",
398
399
  " ",
399
- U("headshotmarketing.home.stats.roas", "ROAS")
400
+ W("headshotmarketing.home.stats.roas", "ROAS")
400
401
  ]
401
402
  })]
402
403
  })]
403
404
  }, e.channel))
404
405
  })]
405
406
  }),
406
- G === "audience" && /* @__PURE__ */ F("div", {
407
+ K === "audience" && /* @__PURE__ */ P("div", {
407
408
  className: "rounded-card border border-border-seam bg-gloss-card p-6 shadow-[var(--shadow-pop)]",
408
- children: [/* @__PURE__ */ P("h3", {
409
+ children: [/* @__PURE__ */ N("h3", {
409
410
  className: "text-sm font-semibold text-text-primary mb-4",
410
- children: U("headshotmarketing.home.sections.deviceBreakdown", "Device Breakdown")
411
- }), /* @__PURE__ */ P("div", {
411
+ children: W("headshotmarketing.home.sections.deviceBreakdown", "Device Breakdown")
412
+ }), /* @__PURE__ */ N("div", {
412
413
  className: "space-y-4",
413
- children: ce.map((e) => /* @__PURE__ */ F("div", { children: [/* @__PURE__ */ F("div", {
414
+ children: le.map((e) => /* @__PURE__ */ P("div", { children: [/* @__PURE__ */ P("div", {
414
415
  className: "flex items-center justify-between mb-1",
415
- children: [/* @__PURE__ */ P("span", {
416
+ children: [/* @__PURE__ */ N("span", {
416
417
  className: "text-sm font-medium text-text-primary",
417
418
  children: e.device
418
- }), /* @__PURE__ */ F("span", {
419
+ }), /* @__PURE__ */ P("span", {
419
420
  className: "text-sm tabular-nums text-text-secondary",
420
421
  children: [e.sessions, "%"]
421
422
  })]
422
- }), /* @__PURE__ */ P("div", {
423
+ }), /* @__PURE__ */ N("div", {
423
424
  className: "h-3 w-full rounded-full bg-bg-sunken",
424
- children: /* @__PURE__ */ P("div", {
425
+ children: /* @__PURE__ */ N("div", {
425
426
  className: "h-3 rounded-full bg-action-primary-bg transition-all",
426
427
  style: { width: `${e.sessions}%` }
427
428
  })
428
429
  })] }, e.device))
429
430
  })]
430
431
  }),
431
- G === "campaigns" && /* @__PURE__ */ P(_, {
432
- data: q,
433
- columns: le,
432
+ K === "campaigns" && /* @__PURE__ */ N(g, {
433
+ data: J,
434
+ columns: ue,
434
435
  pageSize: 8,
435
- onRowClick: (e) => y(b + "/campaigns/" + e.id),
436
- emptyMessage: U("headshotmarketing.home.table.empty", "No campaigns found")
436
+ onRowClick: (e) => v(y + "/campaigns/" + e.id),
437
+ emptyMessage: W("headshotmarketing.home.table.empty", "No campaigns found")
437
438
  })
438
439
  ]
439
440
  })] }),
440
- /* @__PURE__ */ F("div", {
441
+ /* @__PURE__ */ P("div", {
441
442
  className: "rounded-card border border-border-seam bg-gloss-card p-6 shadow-[var(--shadow-pop)]",
442
- children: [/* @__PURE__ */ P("h3", {
443
+ children: [/* @__PURE__ */ N("h3", {
443
444
  className: "text-sm font-semibold text-text-primary mb-4",
444
- children: U("headshotmarketing.home.sections.recentAlerts", "Recent Alerts")
445
- }), /* @__PURE__ */ P("div", {
445
+ children: W("headshotmarketing.home.sections.recentAlerts", "Recent Alerts")
446
+ }), /* @__PURE__ */ N("div", {
446
447
  className: "space-y-3",
447
448
  children: $.recentAlerts.map((e) => {
448
- let t = B[e.type] || T;
449
- return /* @__PURE__ */ F("div", {
450
- className: l("flex items-start gap-3 rounded-lg border p-3", V[e.type]),
451
- children: [/* @__PURE__ */ P(t, { className: l("h-4 w-4 mt-0.5 flex-shrink-0", H[e.type]) }), /* @__PURE__ */ F("div", {
449
+ let t = V[e.type] || w;
450
+ return /* @__PURE__ */ P("div", {
451
+ className: l("flex items-start gap-3 rounded-lg border p-3", H[e.type]),
452
+ children: [/* @__PURE__ */ N(t, { className: l("h-4 w-4 mt-0.5 flex-shrink-0", U[e.type]) }), /* @__PURE__ */ P("div", {
452
453
  className: "flex-1 min-w-0",
453
- children: [/* @__PURE__ */ P("p", {
454
+ children: [/* @__PURE__ */ N("p", {
454
455
  className: "text-sm",
455
456
  children: e.message
456
- }), /* @__PURE__ */ P("p", {
457
+ }), /* @__PURE__ */ N("p", {
457
458
  className: "text-xs mt-1 opacity-75",
458
459
  children: new Date(e.timestamp).toLocaleString()
459
460
  })]
@@ -466,6 +467,6 @@ var z = [
466
467
  });
467
468
  };
468
469
  //#endregion
469
- export { U as HomePage };
470
+ export { W as HomePage };
470
471
 
471
472
  //# sourceMappingURL=HomePage.js.map