@burdenoff/microfe-headshotmarketing 2026.608.1 → 2026.625.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/components/ChartCard.js +12 -10
- package/dist/headshotmarketing/components/ChartCard.js.map +1 -1
- package/dist/headshotmarketing/components/DataTable.js +12 -12
- package/dist/headshotmarketing/components/DataTable.js.map +1 -1
- package/dist/headshotmarketing/components/EmptyState.js +19 -12
- package/dist/headshotmarketing/components/EmptyState.js.map +1 -1
- package/dist/headshotmarketing/components/FilterBar.js +4 -4
- package/dist/headshotmarketing/components/FilterBar.js.map +1 -1
- package/dist/headshotmarketing/components/Modal.js +6 -6
- package/dist/headshotmarketing/components/Modal.js.map +1 -1
- package/dist/headshotmarketing/components/PageLayout.js +2 -2
- package/dist/headshotmarketing/components/PageLayout.js.map +1 -1
- package/dist/headshotmarketing/components/StatCard.js +21 -18
- package/dist/headshotmarketing/components/StatCard.js.map +1 -1
- package/dist/headshotmarketing/components/StatusBadge.js +25 -25
- package/dist/headshotmarketing/components/StatusBadge.js.map +1 -1
- package/dist/headshotmarketing/pages/HomePage.js +264 -239
- package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +36 -36
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +22 -22
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdsPage.js +25 -25
- package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js +21 -21
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +65 -65
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js +21 -21
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js +32 -32
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js +13 -13
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js +27 -27
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js +13 -13
- package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/AutomationPage.js +17 -17
- package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/TriggersPage.js +14 -14
- package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +47 -47
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +16 -16
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +48 -48
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +105 -104
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +20 -20
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +31 -31
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +56 -56
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AIToolsPage.js +22 -22
- package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +13 -13
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js +14 -14
- package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js +35 -35
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentPage.js +19 -19
- package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/ContactsPage.js +24 -24
- package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js +17 -17
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js +16 -16
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CrmPage.js +29 -29
- package/dist/headshotmarketing/pages/crm/CrmPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/LeadsPage.js +11 -11
- package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/PipelinePage.js +43 -43
- package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/CreateEventPage.js +29 -29
- package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/EventsPage.js +28 -28
- package/dist/headshotmarketing/pages/events/EventsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js +22 -22
- package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +34 -34
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +25 -25
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +30 -30
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +43 -43
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/AccountsPage.js +24 -24
- package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js +38 -38
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/PostsPage.js +32 -32
- package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +37 -37
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +31 -31
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -1
- package/package.json +2 -2
|
@@ -8,25 +8,25 @@ import { YAxis as ne } from "../../../node_modules/recharts/es6/cartesian/YAxis.
|
|
|
8
8
|
import { AreaChart as re } from "../../../node_modules/recharts/es6/chart/AreaChart.js";
|
|
9
9
|
import { HeadshotmarketingCampaignsListDocument as i, useDeleteHeadshotmarketingCampaignMutation as a, useHeadshotmarketingCampaignByIdQuery as o } from "../../../generated/wspace-operations.js";
|
|
10
10
|
import { cn as s, formatCurrency as c, formatNumber as l } from "../../utils/helpers.js";
|
|
11
|
-
import { toCampaignModel as u, toCampaignPerformanceSeries as
|
|
12
|
-
import { PageLayout as
|
|
13
|
-
import { StatCard as
|
|
14
|
-
import { StatusBadge as
|
|
15
|
-
import { EmptyState as
|
|
16
|
-
import { ChartCard as
|
|
11
|
+
import { toCampaignModel as u, toCampaignPerformanceSeries as ie } from "../../utils/campaignMapper.js";
|
|
12
|
+
import { PageLayout as d } from "../../components/PageLayout.js";
|
|
13
|
+
import { StatCard as f } from "../../components/StatCard.js";
|
|
14
|
+
import { StatusBadge as ae } from "../../components/StatusBadge.js";
|
|
15
|
+
import { EmptyState as p } from "../../components/EmptyState.js";
|
|
16
|
+
import { ChartCard as m } from "../../components/ChartCard.js";
|
|
17
17
|
import "../../components/index.js";
|
|
18
18
|
import { useState as h } from "react";
|
|
19
|
-
import { Activity as g, Archive as _, ArrowLeft as v, Calendar as oe, Clock as se, Copy as ce, DollarSign as y, Edit as le, FileText as b, Image as x, MoreVertical as ue, Pause as de, Target as
|
|
19
|
+
import { Activity as g, Archive as _, ArrowLeft as v, Calendar as oe, Clock as se, Copy as ce, DollarSign as y, Edit as le, FileText as b, Image as x, MoreVertical as ue, Pause as de, Target as S, Trash2 as C, TrendingUp as w } from "lucide-react";
|
|
20
20
|
import { useParams as T } from "react-router-dom";
|
|
21
21
|
import { jsx as E, jsxs as D } from "react/jsx-runtime";
|
|
22
22
|
//#region src/headshotmarketing/pages/campaigns/CampaignDetailsPage.tsx
|
|
23
23
|
var O = [
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
24
|
+
"var(--color-chart-1)",
|
|
25
|
+
"var(--color-chart-2)",
|
|
26
|
+
"var(--color-chart-3)",
|
|
27
|
+
"var(--color-chart-4)",
|
|
28
|
+
"var(--color-chart-5)",
|
|
29
|
+
"var(--color-chart-6)"
|
|
30
30
|
], k = [
|
|
31
31
|
{
|
|
32
32
|
name: "Alice Johnson",
|
|
@@ -119,11 +119,11 @@ var O = [
|
|
|
119
119
|
let { navigate: M, basePath: N } = e(), { id: P } = T(), { data: F, loading: I, error: L } = o({
|
|
120
120
|
skip: !P,
|
|
121
121
|
variables: P ? { id: P } : void 0
|
|
122
|
-
}), [
|
|
122
|
+
}), [R, { loading: fe }] = a(), [z, B] = h("overview"), [V, H] = h(!1), [U, W] = h(null), G = F?.headshotmarketingCampaign, K = G ? u(G) : null, pe = async () => {
|
|
123
123
|
if (!(!P || !K) && window.confirm(`Delete campaign "${K.name}"? This cannot be undone.`)) {
|
|
124
124
|
W(null);
|
|
125
125
|
try {
|
|
126
|
-
await
|
|
126
|
+
await R({
|
|
127
127
|
variables: { id: P },
|
|
128
128
|
refetchQueries: [{
|
|
129
129
|
query: i,
|
|
@@ -139,62 +139,63 @@ var O = [
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
|
-
if (!K) return /* @__PURE__ */ E(
|
|
142
|
+
if (!K) return /* @__PURE__ */ E(d, {
|
|
143
143
|
title: "Campaign Details",
|
|
144
|
-
children: /* @__PURE__ */ E(
|
|
144
|
+
children: /* @__PURE__ */ E(p, {
|
|
145
|
+
illustration: "empty-generic",
|
|
145
146
|
title: "Campaign not found",
|
|
146
147
|
description: I ? "Loading campaign details..." : L?.message ?? "The campaign you're looking for doesn't exist or has been removed.",
|
|
147
148
|
action: /* @__PURE__ */ D("button", {
|
|
148
149
|
onClick: () => M(N + "/campaigns"),
|
|
149
|
-
className: "inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-
|
|
150
|
+
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",
|
|
150
151
|
children: [/* @__PURE__ */ E(v, { className: "h-4 w-4" }), "Back to Campaigns"]
|
|
151
152
|
})
|
|
152
153
|
})
|
|
153
154
|
});
|
|
154
|
-
let q = K.budget.total > 0 ? Math.round(K.budget.spent / K.budget.total * 100) : 0, J = new Date(K.timeline.startDate), Y = new Date(K.timeline.endDate),
|
|
155
|
-
return /* @__PURE__ */ D(
|
|
155
|
+
let q = K.budget.total > 0 ? Math.round(K.budget.spent / K.budget.total * 100) : 0, J = new Date(K.timeline.startDate), Y = new Date(K.timeline.endDate), me = /* @__PURE__ */ new Date(), X = Math.max(1, Math.ceil((Y.getTime() - J.getTime()) / (1e3 * 60 * 60 * 24))), Z = Math.max(0, Math.ceil((me.getTime() - J.getTime()) / (1e3 * 60 * 60 * 24))), he = Math.max(0, X - Z), Q = Math.min(Math.round(Z / X * 100), 100), $ = k.filter((e) => K.team.includes(e.name)), ge = ie(K);
|
|
156
|
+
return /* @__PURE__ */ D(d, {
|
|
156
157
|
title: K.name,
|
|
157
158
|
description: K.description,
|
|
158
159
|
actions: /* @__PURE__ */ D("div", {
|
|
159
160
|
className: "flex items-center gap-2",
|
|
160
161
|
children: [
|
|
161
|
-
/* @__PURE__ */ E(
|
|
162
|
+
/* @__PURE__ */ E(ae, { status: K.status }),
|
|
162
163
|
/* @__PURE__ */ D("button", {
|
|
163
164
|
onClick: () => M(N + "/campaigns"),
|
|
164
|
-
className: "inline-flex items-center gap-2 rounded-md border border-border bg-card px-3 py-2 text-sm font-medium text-
|
|
165
|
+
className: "inline-flex items-center gap-2 rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken",
|
|
165
166
|
children: [/* @__PURE__ */ E(v, { className: "h-4 w-4" }), "Back"]
|
|
166
167
|
}),
|
|
167
168
|
/* @__PURE__ */ D("button", {
|
|
168
169
|
onClick: () => M(N + "/campaigns/" + K.id + "/edit"),
|
|
169
|
-
className: "inline-flex items-center gap-2 rounded-md bg-primary px-3 py-2 text-sm font-medium text-primary-
|
|
170
|
+
className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-3 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90",
|
|
170
171
|
children: [/* @__PURE__ */ E(le, { className: "h-4 w-4" }), "Edit"]
|
|
171
172
|
}),
|
|
172
173
|
/* @__PURE__ */ D("div", {
|
|
173
174
|
className: "relative",
|
|
174
175
|
children: [/* @__PURE__ */ E("button", {
|
|
175
176
|
onClick: () => H(!V),
|
|
176
|
-
className: "rounded-md border border-border bg-card p-2 text-
|
|
177
|
+
className: "rounded-md border border-border-seam bg-gloss-card shadow-pop p-2 text-text-secondary hover:text-text-primary hover:bg-bg-sunken",
|
|
177
178
|
children: /* @__PURE__ */ E(ue, { className: "h-4 w-4" })
|
|
178
179
|
}), V && /* @__PURE__ */ D("div", {
|
|
179
|
-
className: "absolute right-0 top-full mt-1 w-44 rounded-lg border border-border bg-card p-1 shadow-lg z-10",
|
|
180
|
+
className: "absolute right-0 top-full mt-1 w-44 rounded-lg border border-border-seam bg-gloss-card shadow-pop p-1 shadow-lg z-10",
|
|
180
181
|
children: [
|
|
181
182
|
/* @__PURE__ */ D("button", {
|
|
182
|
-
className: "flex w-full items-center gap-2 rounded-md px-3 py-2 text-sm text-
|
|
183
|
+
className: "flex w-full items-center gap-2 rounded-md px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken",
|
|
183
184
|
children: [/* @__PURE__ */ E(de, { className: "h-4 w-4" }), " Pause"]
|
|
184
185
|
}),
|
|
185
186
|
/* @__PURE__ */ D("button", {
|
|
186
|
-
className: "flex w-full items-center gap-2 rounded-md px-3 py-2 text-sm text-
|
|
187
|
+
className: "flex w-full items-center gap-2 rounded-md px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken",
|
|
187
188
|
children: [/* @__PURE__ */ E(ce, { className: "h-4 w-4" }), " Duplicate"]
|
|
188
189
|
}),
|
|
189
190
|
/* @__PURE__ */ D("button", {
|
|
190
|
-
className: "flex w-full items-center gap-2 rounded-md px-3 py-2 text-sm text-
|
|
191
|
+
className: "flex w-full items-center gap-2 rounded-md px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken",
|
|
191
192
|
children: [/* @__PURE__ */ E(_, { className: "h-4 w-4" }), " Archive"]
|
|
192
193
|
}),
|
|
193
194
|
/* @__PURE__ */ D("button", {
|
|
194
|
-
onClick:
|
|
195
|
-
disabled:
|
|
196
|
-
className: "flex w-full items-center gap-2 rounded-md px-3 py-2 text-sm text-
|
|
197
|
-
children: [/* @__PURE__ */ E(
|
|
195
|
+
onClick: pe,
|
|
196
|
+
disabled: fe,
|
|
197
|
+
className: "flex w-full items-center gap-2 rounded-md px-3 py-2 text-sm text-status-error-text hover:bg-bg-sunken disabled:opacity-60",
|
|
198
|
+
children: [/* @__PURE__ */ E(C, { className: "h-4 w-4" }), " Delete"]
|
|
198
199
|
})
|
|
199
200
|
]
|
|
200
201
|
})]
|
|
@@ -205,40 +206,40 @@ var O = [
|
|
|
205
206
|
/* @__PURE__ */ D("div", {
|
|
206
207
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-5",
|
|
207
208
|
children: [
|
|
208
|
-
/* @__PURE__ */ E(
|
|
209
|
+
/* @__PURE__ */ E(f, {
|
|
209
210
|
title: "Revenue",
|
|
210
211
|
value: c(K.metrics.revenue),
|
|
211
212
|
icon: /* @__PURE__ */ E(y, { className: "h-5 w-5" })
|
|
212
213
|
}),
|
|
213
|
-
/* @__PURE__ */ E(
|
|
214
|
+
/* @__PURE__ */ E(f, {
|
|
214
215
|
title: "Conversions",
|
|
215
216
|
value: l(K.metrics.conversions),
|
|
216
|
-
icon: /* @__PURE__ */ E(
|
|
217
|
+
icon: /* @__PURE__ */ E(S, { className: "h-5 w-5" })
|
|
217
218
|
}),
|
|
218
|
-
/* @__PURE__ */ E(
|
|
219
|
+
/* @__PURE__ */ E(f, {
|
|
219
220
|
title: "ROAS",
|
|
220
221
|
value: `${K.metrics.roas.toFixed(1)}x`,
|
|
221
|
-
icon: /* @__PURE__ */ E(
|
|
222
|
+
icon: /* @__PURE__ */ E(w, { className: "h-5 w-5" })
|
|
222
223
|
}),
|
|
223
|
-
/* @__PURE__ */ E(
|
|
224
|
+
/* @__PURE__ */ E(f, {
|
|
224
225
|
title: "Budget Used",
|
|
225
226
|
value: `${q}%`,
|
|
226
227
|
icon: /* @__PURE__ */ E(y, { className: "h-5 w-5" }),
|
|
227
228
|
className: "relative"
|
|
228
229
|
}),
|
|
229
|
-
/* @__PURE__ */ E(
|
|
230
|
+
/* @__PURE__ */ E(f, {
|
|
230
231
|
title: "Days Remaining",
|
|
231
|
-
value: String(
|
|
232
|
+
value: String(he),
|
|
232
233
|
icon: /* @__PURE__ */ E(oe, { className: "h-5 w-5" })
|
|
233
234
|
})
|
|
234
235
|
]
|
|
235
236
|
}),
|
|
236
237
|
U && /* @__PURE__ */ E("div", {
|
|
237
|
-
className: "rounded-lg border border-
|
|
238
|
+
className: "rounded-lg border border-status-error-border/30 bg-status-error-bg/10 px-4 py-3 text-sm text-status-error-text",
|
|
238
239
|
children: U
|
|
239
240
|
}),
|
|
240
241
|
/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("div", {
|
|
241
|
-
className: "flex items-center gap-1 border-b border-border",
|
|
242
|
+
className: "flex items-center gap-1 border-b border-border-subtle",
|
|
242
243
|
children: [
|
|
243
244
|
{
|
|
244
245
|
key: "overview",
|
|
@@ -264,7 +265,7 @@ var O = [
|
|
|
264
265
|
onClick: () => {
|
|
265
266
|
B(e.key), H(!1);
|
|
266
267
|
},
|
|
267
|
-
className: s("px-4 py-2 text-sm font-medium border-b-2 transition-colors -mb-px", z === e.key ? "border-primary text-
|
|
268
|
+
className: s("px-4 py-2 text-sm font-medium border-b-2 transition-colors -mb-px", z === e.key ? "border-primary text-text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
|
|
268
269
|
children: e.label
|
|
269
270
|
}, e.key))
|
|
270
271
|
}), /* @__PURE__ */ D("div", {
|
|
@@ -276,14 +277,14 @@ var O = [
|
|
|
276
277
|
/* @__PURE__ */ D("div", {
|
|
277
278
|
className: "grid grid-cols-1 gap-6 lg:grid-cols-2",
|
|
278
279
|
children: [/* @__PURE__ */ D("div", {
|
|
279
|
-
className: "rounded-lg border border-border bg-card p-5 shadow-
|
|
280
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
280
281
|
children: [
|
|
281
282
|
/* @__PURE__ */ D("h4", {
|
|
282
|
-
className: "text-sm font-semibold text-
|
|
283
|
-
children: [/* @__PURE__ */ E(se, { className: "h-4 w-4 text-
|
|
283
|
+
className: "text-sm font-semibold text-text-primary mb-3 flex items-center gap-2",
|
|
284
|
+
children: [/* @__PURE__ */ E(se, { className: "h-4 w-4 text-text-secondary" }), "Timeline Progress"]
|
|
284
285
|
}),
|
|
285
286
|
/* @__PURE__ */ D("div", {
|
|
286
|
-
className: "flex items-center justify-between text-xs text-
|
|
287
|
+
className: "flex items-center justify-between text-xs text-text-secondary mb-1.5",
|
|
287
288
|
children: [
|
|
288
289
|
/* @__PURE__ */ E("span", { children: J.toLocaleDateString() }),
|
|
289
290
|
/* @__PURE__ */ D("span", { children: [Q, "%"] }),
|
|
@@ -291,22 +292,22 @@ var O = [
|
|
|
291
292
|
]
|
|
292
293
|
}),
|
|
293
294
|
/* @__PURE__ */ E("div", {
|
|
294
|
-
className: "h-2.5 w-full rounded-full bg-
|
|
295
|
+
className: "h-2.5 w-full rounded-full bg-bg-sunken",
|
|
295
296
|
children: /* @__PURE__ */ E("div", {
|
|
296
|
-
className: "h-2.5 rounded-full bg-primary transition-all",
|
|
297
|
+
className: "h-2.5 rounded-full bg-action-primary-bg transition-all",
|
|
297
298
|
style: { width: `${Q}%` }
|
|
298
299
|
})
|
|
299
300
|
})
|
|
300
301
|
]
|
|
301
302
|
}), /* @__PURE__ */ D("div", {
|
|
302
|
-
className: "rounded-lg border border-border bg-card p-5 shadow-
|
|
303
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
303
304
|
children: [
|
|
304
305
|
/* @__PURE__ */ D("h4", {
|
|
305
|
-
className: "text-sm font-semibold text-
|
|
306
|
-
children: [/* @__PURE__ */ E(y, { className: "h-4 w-4 text-
|
|
306
|
+
className: "text-sm font-semibold text-text-primary mb-3 flex items-center gap-2",
|
|
307
|
+
children: [/* @__PURE__ */ E(y, { className: "h-4 w-4 text-text-secondary" }), "Budget Progress"]
|
|
307
308
|
}),
|
|
308
309
|
/* @__PURE__ */ D("div", {
|
|
309
|
-
className: "flex items-center justify-between text-xs text-
|
|
310
|
+
className: "flex items-center justify-between text-xs text-text-secondary mb-1.5",
|
|
310
311
|
children: [
|
|
311
312
|
/* @__PURE__ */ D("span", { children: [c(K.budget.spent), " spent"] }),
|
|
312
313
|
/* @__PURE__ */ D("span", { children: [q, "%"] }),
|
|
@@ -314,9 +315,9 @@ var O = [
|
|
|
314
315
|
]
|
|
315
316
|
}),
|
|
316
317
|
/* @__PURE__ */ E("div", {
|
|
317
|
-
className: "h-2.5 w-full rounded-full bg-
|
|
318
|
+
className: "h-2.5 w-full rounded-full bg-bg-sunken",
|
|
318
319
|
children: /* @__PURE__ */ E("div", {
|
|
319
|
-
className: s("h-2.5 rounded-full transition-all", q >= 90 ? "bg-
|
|
320
|
+
className: s("h-2.5 rounded-full transition-all", q >= 90 ? "bg-status-error-bg" : "bg-action-primary-bg"),
|
|
320
321
|
style: { width: `${q}%` }
|
|
321
322
|
})
|
|
322
323
|
})
|
|
@@ -324,23 +325,23 @@ var O = [
|
|
|
324
325
|
})]
|
|
325
326
|
}),
|
|
326
327
|
/* @__PURE__ */ D("div", {
|
|
327
|
-
className: "rounded-lg border border-border bg-card p-5 shadow-
|
|
328
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
328
329
|
children: [/* @__PURE__ */ E("h4", {
|
|
329
|
-
className: "text-sm font-semibold text-
|
|
330
|
+
className: "text-sm font-semibold text-text-primary mb-3",
|
|
330
331
|
children: "Active Channels"
|
|
331
332
|
}), /* @__PURE__ */ E("div", {
|
|
332
333
|
className: "flex flex-wrap gap-2",
|
|
333
334
|
children: K.channels.map((e) => /* @__PURE__ */ E("span", {
|
|
334
|
-
className: "inline-flex items-center rounded-full bg-
|
|
335
|
+
className: "inline-flex items-center rounded-full bg-bg-sunken px-3 py-1 text-xs font-medium text-text-primary",
|
|
335
336
|
children: e
|
|
336
337
|
}, e))
|
|
337
338
|
})]
|
|
338
339
|
}),
|
|
339
340
|
/* @__PURE__ */ D("div", {
|
|
340
|
-
className: "rounded-lg border border-border bg-card p-5 shadow-
|
|
341
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
341
342
|
children: [/* @__PURE__ */ D("h4", {
|
|
342
|
-
className: "text-sm font-semibold text-
|
|
343
|
-
children: [/* @__PURE__ */ E(g, { className: "h-4 w-4 text-
|
|
343
|
+
className: "text-sm font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
344
|
+
children: [/* @__PURE__ */ E(g, { className: "h-4 w-4 text-text-secondary" }), "Recent Activity"]
|
|
344
345
|
}), /* @__PURE__ */ E("div", {
|
|
345
346
|
className: "space-y-4",
|
|
346
347
|
children: A.map((e, t) => /* @__PURE__ */ D("div", {
|
|
@@ -348,16 +349,16 @@ var O = [
|
|
|
348
349
|
children: [/* @__PURE__ */ D("div", {
|
|
349
350
|
className: "relative flex-shrink-0",
|
|
350
351
|
children: [/* @__PURE__ */ E("div", {
|
|
351
|
-
className: "h-8 w-8 rounded-full bg-
|
|
352
|
+
className: "h-8 w-8 rounded-full bg-bg-sunken flex items-center justify-center text-xs font-medium text-text-secondary",
|
|
352
353
|
children: e.user.split(" ").map((e) => e[0]).join("")
|
|
353
354
|
}), t < A.length - 1 && /* @__PURE__ */ E("div", { className: "absolute left-4 top-8 h-6 w-px bg-border" })]
|
|
354
355
|
}), /* @__PURE__ */ D("div", {
|
|
355
356
|
className: "flex-1 min-w-0",
|
|
356
357
|
children: [/* @__PURE__ */ E("p", {
|
|
357
|
-
className: "text-sm text-
|
|
358
|
+
className: "text-sm text-text-primary",
|
|
358
359
|
children: e.action
|
|
359
360
|
}), /* @__PURE__ */ D("p", {
|
|
360
|
-
className: "text-xs text-
|
|
361
|
+
className: "text-xs text-text-secondary mt-0.5",
|
|
361
362
|
children: [
|
|
362
363
|
e.user,
|
|
363
364
|
" · ",
|
|
@@ -370,14 +371,14 @@ var O = [
|
|
|
370
371
|
})
|
|
371
372
|
]
|
|
372
373
|
}),
|
|
373
|
-
z === "analytics" && /* @__PURE__ */ E(
|
|
374
|
+
z === "analytics" && /* @__PURE__ */ E(m, {
|
|
374
375
|
title: "Performance Over Time",
|
|
375
376
|
subtitle: "Revenue, cost, and conversions trend",
|
|
376
377
|
children: /* @__PURE__ */ E(ee, {
|
|
377
378
|
width: "100%",
|
|
378
379
|
height: 350,
|
|
379
380
|
children: /* @__PURE__ */ D(re, {
|
|
380
|
-
data:
|
|
381
|
+
data: ge,
|
|
381
382
|
children: [
|
|
382
383
|
/* @__PURE__ */ E(n, {
|
|
383
384
|
strokeDasharray: "3 3",
|
|
@@ -386,12 +387,12 @@ var O = [
|
|
|
386
387
|
/* @__PURE__ */ E(te, {
|
|
387
388
|
dataKey: "date",
|
|
388
389
|
tick: { fontSize: 11 },
|
|
389
|
-
className: "text-
|
|
390
|
+
className: "text-text-secondary",
|
|
390
391
|
tickFormatter: (e) => e.slice(5)
|
|
391
392
|
}),
|
|
392
393
|
/* @__PURE__ */ E(ne, {
|
|
393
394
|
tick: { fontSize: 11 },
|
|
394
|
-
className: "text-
|
|
395
|
+
className: "text-text-secondary"
|
|
395
396
|
}),
|
|
396
397
|
/* @__PURE__ */ E(t, { contentStyle: {
|
|
397
398
|
backgroundColor: "var(--color-card)",
|
|
@@ -433,25 +434,25 @@ var O = [
|
|
|
433
434
|
className: "grid grid-cols-1 gap-6 lg:grid-cols-3",
|
|
434
435
|
children: [
|
|
435
436
|
/* @__PURE__ */ D("div", {
|
|
436
|
-
className: "rounded-lg border border-border bg-card p-5 shadow-
|
|
437
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
437
438
|
children: [/* @__PURE__ */ E("h4", {
|
|
438
|
-
className: "text-sm font-semibold text-
|
|
439
|
+
className: "text-sm font-semibold text-text-primary mb-3",
|
|
439
440
|
children: "Demographics"
|
|
440
441
|
}), /* @__PURE__ */ D("div", {
|
|
441
442
|
className: "space-y-2",
|
|
442
443
|
children: [K.targeting.demographics.map((e) => /* @__PURE__ */ D("div", {
|
|
443
444
|
className: "flex items-center gap-2",
|
|
444
|
-
children: [/* @__PURE__ */ E("div", { className: "h-2 w-2 rounded-full bg-primary" }), /* @__PURE__ */ E("span", {
|
|
445
|
-
className: "text-sm text-
|
|
445
|
+
children: [/* @__PURE__ */ E("div", { className: "h-2 w-2 rounded-full bg-action-primary-bg" }), /* @__PURE__ */ E("span", {
|
|
446
|
+
className: "text-sm text-text-primary",
|
|
446
447
|
children: e
|
|
447
448
|
})]
|
|
448
449
|
}, e)), /* @__PURE__ */ D("div", {
|
|
449
|
-
className: "pt-2 border-t border-border mt-2",
|
|
450
|
+
className: "pt-2 border-t border-border-subtle mt-2",
|
|
450
451
|
children: [/* @__PURE__ */ E("p", {
|
|
451
|
-
className: "text-xs text-
|
|
452
|
+
className: "text-xs text-text-secondary",
|
|
452
453
|
children: "Age Range"
|
|
453
454
|
}), /* @__PURE__ */ D("p", {
|
|
454
|
-
className: "text-sm font-medium text-
|
|
455
|
+
className: "text-sm font-medium text-text-primary",
|
|
455
456
|
children: [
|
|
456
457
|
K.targeting.ageRange.min,
|
|
457
458
|
" -",
|
|
@@ -463,32 +464,32 @@ var O = [
|
|
|
463
464
|
})]
|
|
464
465
|
}),
|
|
465
466
|
/* @__PURE__ */ D("div", {
|
|
466
|
-
className: "rounded-lg border border-border bg-card p-5 shadow-
|
|
467
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
467
468
|
children: [/* @__PURE__ */ E("h4", {
|
|
468
|
-
className: "text-sm font-semibold text-
|
|
469
|
+
className: "text-sm font-semibold text-text-primary mb-3",
|
|
469
470
|
children: "Interests"
|
|
470
471
|
}), /* @__PURE__ */ E("div", {
|
|
471
472
|
className: "space-y-2",
|
|
472
473
|
children: K.targeting.interests.map((e) => /* @__PURE__ */ D("div", {
|
|
473
474
|
className: "flex items-center gap-2",
|
|
474
|
-
children: [/* @__PURE__ */ E("div", { className: "h-2 w-2 rounded-full bg-
|
|
475
|
-
className: "text-sm text-
|
|
475
|
+
children: [/* @__PURE__ */ E("div", { className: "h-2 w-2 rounded-full bg-status-success-text" }), /* @__PURE__ */ E("span", {
|
|
476
|
+
className: "text-sm text-text-primary",
|
|
476
477
|
children: e
|
|
477
478
|
})]
|
|
478
479
|
}, e))
|
|
479
480
|
})]
|
|
480
481
|
}),
|
|
481
482
|
/* @__PURE__ */ D("div", {
|
|
482
|
-
className: "rounded-lg border border-border bg-card p-5 shadow-
|
|
483
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
483
484
|
children: [/* @__PURE__ */ E("h4", {
|
|
484
|
-
className: "text-sm font-semibold text-
|
|
485
|
+
className: "text-sm font-semibold text-text-primary mb-3",
|
|
485
486
|
children: "Locations"
|
|
486
487
|
}), /* @__PURE__ */ E("div", {
|
|
487
488
|
className: "space-y-2",
|
|
488
489
|
children: K.targeting.locations.map((e) => /* @__PURE__ */ D("div", {
|
|
489
490
|
className: "flex items-center gap-2",
|
|
490
|
-
children: [/* @__PURE__ */ E("div", { className: "h-2 w-2 rounded-full bg-
|
|
491
|
-
className: "text-sm text-
|
|
491
|
+
children: [/* @__PURE__ */ E("div", { className: "h-2 w-2 rounded-full bg-status-warning-text" }), /* @__PURE__ */ E("span", {
|
|
492
|
+
className: "text-sm text-text-primary",
|
|
492
493
|
children: e
|
|
493
494
|
})]
|
|
494
495
|
}, e))
|
|
@@ -499,44 +500,44 @@ var O = [
|
|
|
499
500
|
z === "assets" && /* @__PURE__ */ D("div", {
|
|
500
501
|
className: "space-y-6",
|
|
501
502
|
children: [/* @__PURE__ */ D("div", {
|
|
502
|
-
className: "rounded-lg border border-border bg-card p-5 shadow-
|
|
503
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
503
504
|
children: [/* @__PURE__ */ D("h4", {
|
|
504
|
-
className: "text-sm font-semibold text-
|
|
505
|
-
children: [/* @__PURE__ */ E(x, { className: "h-4 w-4 text-
|
|
505
|
+
className: "text-sm font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
506
|
+
children: [/* @__PURE__ */ E(x, { className: "h-4 w-4 text-text-secondary" }), "Images & Media"]
|
|
506
507
|
}), /* @__PURE__ */ E("div", {
|
|
507
508
|
className: "grid grid-cols-2 gap-4 sm:grid-cols-3 lg:grid-cols-4",
|
|
508
509
|
children: K.assets.filter((e) => e.match(/\.(jpg|jpeg|png|gif|mp4|webm)$/i)).length > 0 ? K.assets.filter((e) => e.match(/\.(jpg|jpeg|png|gif|mp4|webm)$/i)).map((e) => /* @__PURE__ */ E("div", {
|
|
509
|
-
className: "aspect-video rounded-lg border border-border bg-
|
|
510
|
-
children: /* @__PURE__ */ E(x, { className: "h-8 w-8 text-
|
|
510
|
+
className: "aspect-video rounded-lg border border-border-subtle bg-bg-sunken flex items-center justify-center",
|
|
511
|
+
children: /* @__PURE__ */ E(x, { className: "h-8 w-8 text-text-secondary" })
|
|
511
512
|
}, e)) : [
|
|
512
513
|
1,
|
|
513
514
|
2,
|
|
514
515
|
3
|
|
515
516
|
].map((e) => /* @__PURE__ */ E("div", {
|
|
516
|
-
className: "aspect-video rounded-lg border border-dashed border-border bg-
|
|
517
|
-
children: /* @__PURE__ */ E(x, { className: "h-8 w-8 text-
|
|
517
|
+
className: "aspect-video rounded-lg border border-dashed border-border-subtle bg-bg-sunken/30 flex items-center justify-center",
|
|
518
|
+
children: /* @__PURE__ */ E(x, { className: "h-8 w-8 text-text-secondary/50" })
|
|
518
519
|
}, e))
|
|
519
520
|
})]
|
|
520
521
|
}), /* @__PURE__ */ D("div", {
|
|
521
|
-
className: "rounded-lg border border-border bg-card p-5 shadow-
|
|
522
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
522
523
|
children: [/* @__PURE__ */ D("h4", {
|
|
523
|
-
className: "text-sm font-semibold text-
|
|
524
|
-
children: [/* @__PURE__ */ E(b, { className: "h-4 w-4 text-
|
|
524
|
+
className: "text-sm font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
525
|
+
children: [/* @__PURE__ */ E(b, { className: "h-4 w-4 text-text-secondary" }), "Documents"]
|
|
525
526
|
}), /* @__PURE__ */ E("div", {
|
|
526
527
|
className: "space-y-2",
|
|
527
528
|
children: j.map((e) => /* @__PURE__ */ D("div", {
|
|
528
|
-
className: "flex items-center justify-between rounded-md border border-border p-3 hover:bg-
|
|
529
|
+
className: "flex items-center justify-between rounded-md border border-border-subtle p-3 hover:bg-bg-sunken/50 transition-colors",
|
|
529
530
|
children: [/* @__PURE__ */ D("div", {
|
|
530
531
|
className: "flex items-center gap-3",
|
|
531
|
-
children: [/* @__PURE__ */ E(b, { className: "h-5 w-5 text-
|
|
532
|
-
className: "text-sm font-medium text-
|
|
532
|
+
children: [/* @__PURE__ */ E(b, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
|
|
533
|
+
className: "text-sm font-medium text-text-primary",
|
|
533
534
|
children: e.name
|
|
534
535
|
}), /* @__PURE__ */ E("p", {
|
|
535
|
-
className: "text-xs text-
|
|
536
|
+
className: "text-xs text-text-secondary",
|
|
536
537
|
children: e.size
|
|
537
538
|
})] })]
|
|
538
539
|
}), /* @__PURE__ */ E("span", {
|
|
539
|
-
className: "text-xs text-
|
|
540
|
+
className: "text-xs text-text-secondary",
|
|
540
541
|
children: e.updated
|
|
541
542
|
})]
|
|
542
543
|
}, e.name))
|
|
@@ -546,21 +547,21 @@ var O = [
|
|
|
546
547
|
z === "team" && /* @__PURE__ */ D("div", {
|
|
547
548
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
|
|
548
549
|
children: [$.map((e) => /* @__PURE__ */ D("div", {
|
|
549
|
-
className: "rounded-lg border border-border bg-card p-5 shadow-
|
|
550
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop flex items-center gap-4",
|
|
550
551
|
children: [/* @__PURE__ */ E("div", {
|
|
551
|
-
className: "h-12 w-12 rounded-full bg-primary/10 flex items-center justify-center text-sm font-semibold text-primary flex-shrink-0",
|
|
552
|
+
className: "h-12 w-12 rounded-full bg-action-primary-bg/10 flex items-center justify-center text-sm font-semibold text-primary flex-shrink-0",
|
|
552
553
|
children: e.avatar
|
|
553
554
|
}), /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
|
|
554
|
-
className: "text-sm font-semibold text-
|
|
555
|
+
className: "text-sm font-semibold text-text-primary",
|
|
555
556
|
children: e.name
|
|
556
557
|
}), /* @__PURE__ */ E("p", {
|
|
557
|
-
className: "text-xs text-
|
|
558
|
+
className: "text-xs text-text-secondary",
|
|
558
559
|
children: e.role
|
|
559
560
|
})] })]
|
|
560
561
|
}, e.name)), $.length === 0 && /* @__PURE__ */ E("div", {
|
|
561
562
|
className: "col-span-full",
|
|
562
|
-
children: /* @__PURE__ */ E(
|
|
563
|
-
|
|
563
|
+
children: /* @__PURE__ */ E(p, {
|
|
564
|
+
illustration: "empty-people",
|
|
564
565
|
title: "No team members",
|
|
565
566
|
description: "No team members have been assigned to this campaign yet."
|
|
566
567
|
})
|