@burdenoff/microfe-headshotmarketing 2026.624.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.
- package/dist/headshotmarketing/components/ChartCard.js +11 -9
- package/dist/headshotmarketing/components/ChartCard.js.map +1 -1
- package/dist/headshotmarketing/components/DataTable.js +3 -3
- package/dist/headshotmarketing/components/DataTable.js.map +1 -1
- package/dist/headshotmarketing/components/EmptyState.js +17 -10
- package/dist/headshotmarketing/components/EmptyState.js.map +1 -1
- package/dist/headshotmarketing/components/FilterBar.js +1 -1
- package/dist/headshotmarketing/components/FilterBar.js.map +1 -1
- package/dist/headshotmarketing/components/Modal.js +2 -2
- package/dist/headshotmarketing/components/Modal.js.map +1 -1
- package/dist/headshotmarketing/components/StatCard.js +19 -16
- 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 +259 -233
- package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +239 -223
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +167 -152
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdsPage.js +150 -111
- package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js +137 -122
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +105 -103
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js +49 -47
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js +106 -104
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js +30 -28
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js +98 -86
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js +29 -27
- package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/AutomationPage.js +100 -61
- package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/TriggersPage.js +112 -101
- package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +59 -57
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +155 -139
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +267 -262
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +221 -192
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +88 -94
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +162 -149
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +142 -140
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AIToolsPage.js +86 -78
- package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +59 -47
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js +30 -28
- package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js +46 -44
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentPage.js +85 -78
- package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/ContactsPage.js +227 -212
- package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js +63 -62
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js +76 -75
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CrmPage.js +170 -128
- package/dist/headshotmarketing/pages/crm/CrmPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/LeadsPage.js +60 -53
- package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/PipelinePage.js +185 -169
- package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/CreateEventPage.js +344 -339
- package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/EventsPage.js +107 -94
- package/dist/headshotmarketing/pages/events/EventsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js +162 -147
- package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +105 -97
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +62 -34
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +203 -188
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +134 -127
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/AccountsPage.js +40 -38
- package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js +74 -73
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/PostsPage.js +160 -148
- package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +41 -40
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +121 -93
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -1
- package/package.json +2 -2
|
@@ -6,28 +6,29 @@ import { Area as r } from "../../../node_modules/recharts/es6/cartesian/Area.js"
|
|
|
6
6
|
import { XAxis as te } from "../../../node_modules/recharts/es6/cartesian/XAxis.js";
|
|
7
7
|
import { YAxis as ne } from "../../../node_modules/recharts/es6/cartesian/YAxis.js";
|
|
8
8
|
import { AreaChart as re } from "../../../node_modules/recharts/es6/chart/AreaChart.js";
|
|
9
|
-
import { HeadshotmarketingCampaignsListDocument as
|
|
10
|
-
import { cn as
|
|
11
|
-
import { toCampaignModel as
|
|
12
|
-
import { PageLayout as
|
|
13
|
-
import { StatCard as
|
|
14
|
-
import { StatusBadge as
|
|
15
|
-
import { EmptyState as
|
|
16
|
-
import { ChartCard as
|
|
9
|
+
import { HeadshotmarketingCampaignsListDocument as ie, useDeleteHeadshotmarketingCampaignMutation as ae, useHeadshotmarketingCampaignByIdQuery as oe } from "../../../generated/wspace-operations.js";
|
|
10
|
+
import { cn as i, formatCurrency as a, formatNumber as o } from "../../utils/helpers.js";
|
|
11
|
+
import { toCampaignModel as s, toCampaignPerformanceSeries as se } from "../../utils/campaignMapper.js";
|
|
12
|
+
import { PageLayout as c } from "../../components/PageLayout.js";
|
|
13
|
+
import { StatCard as l } from "../../components/StatCard.js";
|
|
14
|
+
import { StatusBadge as ce } from "../../components/StatusBadge.js";
|
|
15
|
+
import { EmptyState as u } from "../../components/EmptyState.js";
|
|
16
|
+
import { ChartCard as d } from "../../components/ChartCard.js";
|
|
17
17
|
import "../../components/index.js";
|
|
18
|
-
import { useState as
|
|
19
|
-
import { Activity as
|
|
20
|
-
import { useParams as
|
|
21
|
-
import { jsx as
|
|
18
|
+
import { useState as f } from "react";
|
|
19
|
+
import { Activity as le, Archive as ue, ArrowLeft as p, Calendar as m, Clock as h, Copy as de, DollarSign as g, Edit as _, FileText as v, Image as y, MoreVertical as fe, Pause as pe, Target as b, Trash2 as me, TrendingUp as x } from "lucide-react";
|
|
20
|
+
import { useParams as he } from "react-router-dom";
|
|
21
|
+
import { jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
22
|
+
import { EmphasisPanel as w, NextSteps as T, PagePurpose as E } from "@burdenoff/fe-libs/ui";
|
|
22
23
|
//#region src/headshotmarketing/pages/campaigns/CampaignDetailsPage.tsx
|
|
23
|
-
var
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
],
|
|
24
|
+
var D = [
|
|
25
|
+
"var(--color-chart-1)",
|
|
26
|
+
"var(--color-chart-2)",
|
|
27
|
+
"var(--color-chart-3)",
|
|
28
|
+
"var(--color-chart-4)",
|
|
29
|
+
"var(--color-chart-5)",
|
|
30
|
+
"var(--color-chart-6)"
|
|
31
|
+
], O = [
|
|
31
32
|
{
|
|
32
33
|
name: "Alice Johnson",
|
|
33
34
|
role: "Campaign Manager",
|
|
@@ -63,7 +64,7 @@ var O = [
|
|
|
63
64
|
role: "Social Media Manager",
|
|
64
65
|
avatar: "GK"
|
|
65
66
|
}
|
|
66
|
-
],
|
|
67
|
+
], k = [
|
|
67
68
|
{
|
|
68
69
|
id: 1,
|
|
69
70
|
action: "Campaign budget increased by $2,000",
|
|
@@ -99,7 +100,7 @@ var O = [
|
|
|
99
100
|
time: "3 days ago",
|
|
100
101
|
type: "launch"
|
|
101
102
|
}
|
|
102
|
-
],
|
|
103
|
+
], A = [
|
|
103
104
|
{
|
|
104
105
|
name: "Campaign Brief.pdf",
|
|
105
106
|
size: "2.4 MB",
|
|
@@ -115,86 +116,87 @@ var O = [
|
|
|
115
116
|
size: "890 KB",
|
|
116
117
|
updated: "Feb 3, 2026"
|
|
117
118
|
}
|
|
118
|
-
],
|
|
119
|
-
let { navigate:
|
|
120
|
-
skip: !
|
|
121
|
-
variables:
|
|
122
|
-
}), [
|
|
123
|
-
if (!(!
|
|
119
|
+
], j = () => {
|
|
120
|
+
let { navigate: j, basePath: M } = e(), { id: N } = he(), { data: P, loading: F, error: I } = oe({
|
|
121
|
+
skip: !N,
|
|
122
|
+
variables: N ? { id: N } : void 0
|
|
123
|
+
}), [L, { loading: R }] = ae(), [z, B] = f("overview"), [V, H] = f(!1), [U, W] = f(null), G = P?.headshotmarketingCampaign, K = G ? s(G) : null, ge = async () => {
|
|
124
|
+
if (!(!N || !K) && window.confirm(`Delete campaign "${K.name}"? This cannot be undone.`)) {
|
|
124
125
|
W(null);
|
|
125
126
|
try {
|
|
126
|
-
await
|
|
127
|
-
variables: { id:
|
|
127
|
+
await L({
|
|
128
|
+
variables: { id: N },
|
|
128
129
|
refetchQueries: [{
|
|
129
|
-
query:
|
|
130
|
+
query: ie,
|
|
130
131
|
variables: {
|
|
131
132
|
limit: 100,
|
|
132
133
|
offset: 0
|
|
133
134
|
}
|
|
134
135
|
}],
|
|
135
136
|
awaitRefetchQueries: !0
|
|
136
|
-
}), M
|
|
137
|
+
}), j(M + "/campaigns");
|
|
137
138
|
} catch (e) {
|
|
138
139
|
W(e instanceof Error ? e.message : "Failed to delete campaign.");
|
|
139
140
|
}
|
|
140
141
|
}
|
|
141
142
|
};
|
|
142
|
-
if (!K) return /* @__PURE__ */
|
|
143
|
+
if (!K) return /* @__PURE__ */ S(c, {
|
|
143
144
|
title: "Campaign Details",
|
|
144
|
-
children: /* @__PURE__ */
|
|
145
|
+
children: /* @__PURE__ */ S(u, {
|
|
146
|
+
illustration: "empty-generic",
|
|
145
147
|
title: "Campaign not found",
|
|
146
|
-
description:
|
|
147
|
-
action: /* @__PURE__ */
|
|
148
|
-
onClick: () => M
|
|
148
|
+
description: F ? "Loading campaign details..." : I?.message ?? "The campaign you're looking for doesn't exist or has been removed.",
|
|
149
|
+
action: /* @__PURE__ */ C("button", {
|
|
150
|
+
onClick: () => j(M + "/campaigns"),
|
|
149
151
|
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
|
-
children: [/* @__PURE__ */
|
|
152
|
+
children: [/* @__PURE__ */ S(p, { className: "h-4 w-4" }), "Back to Campaigns"]
|
|
151
153
|
})
|
|
152
154
|
})
|
|
153
155
|
});
|
|
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__ */
|
|
156
|
+
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), _e = /* @__PURE__ */ new Date(), X = Math.max(1, Math.ceil((Y.getTime() - J.getTime()) / (1e3 * 60 * 60 * 24))), Z = Math.max(0, Math.ceil((_e.getTime() - J.getTime()) / (1e3 * 60 * 60 * 24))), ve = Math.max(0, X - Z), Q = Math.min(Math.round(Z / X * 100), 100), $ = O.filter((e) => K.team.includes(e.name)), ye = se(K);
|
|
157
|
+
return /* @__PURE__ */ C(c, {
|
|
156
158
|
title: K.name,
|
|
157
159
|
description: K.description,
|
|
158
|
-
actions: /* @__PURE__ */
|
|
160
|
+
actions: /* @__PURE__ */ C("div", {
|
|
159
161
|
className: "flex items-center gap-2",
|
|
160
162
|
children: [
|
|
161
|
-
/* @__PURE__ */
|
|
162
|
-
/* @__PURE__ */
|
|
163
|
-
onClick: () => M
|
|
164
|
-
className: "inline-flex items-center gap-2 rounded-md border border-border-
|
|
165
|
-
children: [/* @__PURE__ */
|
|
163
|
+
/* @__PURE__ */ S(ce, { status: K.status }),
|
|
164
|
+
/* @__PURE__ */ C("button", {
|
|
165
|
+
onClick: () => j(M + "/campaigns"),
|
|
166
|
+
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",
|
|
167
|
+
children: [/* @__PURE__ */ S(p, { className: "h-4 w-4" }), "Back"]
|
|
166
168
|
}),
|
|
167
|
-
/* @__PURE__ */
|
|
168
|
-
onClick: () => M
|
|
169
|
+
/* @__PURE__ */ C("button", {
|
|
170
|
+
onClick: () => j(M + "/campaigns/" + K.id + "/edit"),
|
|
169
171
|
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
|
-
children: [/* @__PURE__ */
|
|
172
|
+
children: [/* @__PURE__ */ S(_, { className: "h-4 w-4" }), "Edit"]
|
|
171
173
|
}),
|
|
172
|
-
/* @__PURE__ */
|
|
174
|
+
/* @__PURE__ */ C("div", {
|
|
173
175
|
className: "relative",
|
|
174
|
-
children: [/* @__PURE__ */
|
|
176
|
+
children: [/* @__PURE__ */ S("button", {
|
|
175
177
|
onClick: () => H(!V),
|
|
176
|
-
className: "rounded-md border border-border-
|
|
177
|
-
children: /* @__PURE__ */
|
|
178
|
-
}), V && /* @__PURE__ */
|
|
179
|
-
className: "absolute right-0 top-full mt-1 w-44 rounded-lg border border-border-
|
|
178
|
+
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",
|
|
179
|
+
children: /* @__PURE__ */ S(fe, { className: "h-4 w-4" })
|
|
180
|
+
}), V && /* @__PURE__ */ C("div", {
|
|
181
|
+
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
182
|
children: [
|
|
181
|
-
/* @__PURE__ */
|
|
183
|
+
/* @__PURE__ */ C("button", {
|
|
182
184
|
className: "flex w-full items-center gap-2 rounded-md px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken",
|
|
183
|
-
children: [/* @__PURE__ */
|
|
185
|
+
children: [/* @__PURE__ */ S(pe, { className: "h-4 w-4" }), " Pause"]
|
|
184
186
|
}),
|
|
185
|
-
/* @__PURE__ */
|
|
187
|
+
/* @__PURE__ */ C("button", {
|
|
186
188
|
className: "flex w-full items-center gap-2 rounded-md px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken",
|
|
187
|
-
children: [/* @__PURE__ */
|
|
189
|
+
children: [/* @__PURE__ */ S(de, { className: "h-4 w-4" }), " Duplicate"]
|
|
188
190
|
}),
|
|
189
|
-
/* @__PURE__ */
|
|
191
|
+
/* @__PURE__ */ C("button", {
|
|
190
192
|
className: "flex w-full items-center gap-2 rounded-md px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken",
|
|
191
|
-
children: [/* @__PURE__ */
|
|
193
|
+
children: [/* @__PURE__ */ S(ue, { className: "h-4 w-4" }), " Archive"]
|
|
192
194
|
}),
|
|
193
|
-
/* @__PURE__ */
|
|
194
|
-
onClick:
|
|
195
|
+
/* @__PURE__ */ C("button", {
|
|
196
|
+
onClick: ge,
|
|
195
197
|
disabled: R,
|
|
196
198
|
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",
|
|
197
|
-
children: [/* @__PURE__ */
|
|
199
|
+
children: [/* @__PURE__ */ S(me, { className: "h-4 w-4" }), " Delete"]
|
|
198
200
|
})
|
|
199
201
|
]
|
|
200
202
|
})]
|
|
@@ -202,42 +204,69 @@ var O = [
|
|
|
202
204
|
]
|
|
203
205
|
}),
|
|
204
206
|
children: [
|
|
205
|
-
/* @__PURE__ */
|
|
207
|
+
/* @__PURE__ */ S(E, { children: "Everything about this campaign in one workspace — track budget pacing and ROAS, review performance trends, audience targeting, creative assets and the team working on it. Use the tabs below to dig into each area." }),
|
|
208
|
+
/* @__PURE__ */ S(w, { children: /* @__PURE__ */ C("div", {
|
|
206
209
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-5",
|
|
207
210
|
children: [
|
|
208
|
-
/* @__PURE__ */
|
|
211
|
+
/* @__PURE__ */ S(l, {
|
|
209
212
|
title: "Revenue",
|
|
210
|
-
value:
|
|
211
|
-
icon: /* @__PURE__ */
|
|
213
|
+
value: a(K.metrics.revenue),
|
|
214
|
+
icon: /* @__PURE__ */ S(g, { className: "h-5 w-5" })
|
|
212
215
|
}),
|
|
213
|
-
/* @__PURE__ */
|
|
216
|
+
/* @__PURE__ */ S(l, {
|
|
214
217
|
title: "Conversions",
|
|
215
|
-
value:
|
|
216
|
-
icon: /* @__PURE__ */
|
|
218
|
+
value: o(K.metrics.conversions),
|
|
219
|
+
icon: /* @__PURE__ */ S(b, { className: "h-5 w-5" })
|
|
217
220
|
}),
|
|
218
|
-
/* @__PURE__ */
|
|
221
|
+
/* @__PURE__ */ S(l, {
|
|
219
222
|
title: "ROAS",
|
|
220
223
|
value: `${K.metrics.roas.toFixed(1)}x`,
|
|
221
|
-
icon: /* @__PURE__ */
|
|
224
|
+
icon: /* @__PURE__ */ S(x, { className: "h-5 w-5" })
|
|
222
225
|
}),
|
|
223
|
-
/* @__PURE__ */
|
|
226
|
+
/* @__PURE__ */ S(l, {
|
|
224
227
|
title: "Budget Used",
|
|
225
228
|
value: `${q}%`,
|
|
226
|
-
icon: /* @__PURE__ */
|
|
229
|
+
icon: /* @__PURE__ */ S(g, { className: "h-5 w-5" }),
|
|
227
230
|
className: "relative"
|
|
228
231
|
}),
|
|
229
|
-
/* @__PURE__ */
|
|
232
|
+
/* @__PURE__ */ S(l, {
|
|
230
233
|
title: "Days Remaining",
|
|
231
|
-
value: String(
|
|
232
|
-
icon: /* @__PURE__ */
|
|
234
|
+
value: String(ve),
|
|
235
|
+
icon: /* @__PURE__ */ S(m, { className: "h-5 w-5" })
|
|
233
236
|
})
|
|
234
237
|
]
|
|
238
|
+
}) }),
|
|
239
|
+
/* @__PURE__ */ S(T, {
|
|
240
|
+
storageKey: "headshotmarketing-campaign-details",
|
|
241
|
+
steps: [
|
|
242
|
+
{
|
|
243
|
+
id: "analytics",
|
|
244
|
+
label: "Review performance",
|
|
245
|
+
description: "See revenue, cost and conversion trends over time.",
|
|
246
|
+
icon: /* @__PURE__ */ S(x, { className: "h-4 w-4" }),
|
|
247
|
+
onClick: () => B("analytics")
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
id: "audience",
|
|
251
|
+
label: "Check audience targeting",
|
|
252
|
+
description: "Confirm demographics, interests and locations.",
|
|
253
|
+
icon: /* @__PURE__ */ S(b, { className: "h-4 w-4" }),
|
|
254
|
+
onClick: () => B("audience")
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
id: "edit",
|
|
258
|
+
label: "Adjust budget or schedule",
|
|
259
|
+
description: "Open the campaign editor to refine the setup.",
|
|
260
|
+
icon: /* @__PURE__ */ S(_, { className: "h-4 w-4" }),
|
|
261
|
+
onClick: () => j(M + "/campaigns/" + K.id + "/edit")
|
|
262
|
+
}
|
|
263
|
+
]
|
|
235
264
|
}),
|
|
236
|
-
U && /* @__PURE__ */
|
|
265
|
+
U && /* @__PURE__ */ S("div", {
|
|
237
266
|
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
267
|
children: U
|
|
239
268
|
}),
|
|
240
|
-
/* @__PURE__ */
|
|
269
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("div", {
|
|
241
270
|
className: "flex items-center gap-1 border-b border-border-subtle",
|
|
242
271
|
children: [
|
|
243
272
|
{
|
|
@@ -260,103 +289,103 @@ var O = [
|
|
|
260
289
|
key: "team",
|
|
261
290
|
label: "Team"
|
|
262
291
|
}
|
|
263
|
-
].map((e) => /* @__PURE__ */
|
|
292
|
+
].map((e) => /* @__PURE__ */ S("button", {
|
|
264
293
|
onClick: () => {
|
|
265
294
|
B(e.key), H(!1);
|
|
266
295
|
},
|
|
267
|
-
className:
|
|
296
|
+
className: i("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
297
|
children: e.label
|
|
269
298
|
}, e.key))
|
|
270
|
-
}), /* @__PURE__ */
|
|
299
|
+
}), /* @__PURE__ */ C("div", {
|
|
271
300
|
className: "mt-6",
|
|
272
301
|
children: [
|
|
273
|
-
z === "overview" && /* @__PURE__ */
|
|
302
|
+
z === "overview" && /* @__PURE__ */ C("div", {
|
|
274
303
|
className: "space-y-6",
|
|
275
304
|
children: [
|
|
276
|
-
/* @__PURE__ */
|
|
305
|
+
/* @__PURE__ */ C("div", {
|
|
277
306
|
className: "grid grid-cols-1 gap-6 lg:grid-cols-2",
|
|
278
|
-
children: [/* @__PURE__ */
|
|
279
|
-
className: "rounded-lg border border-border-
|
|
307
|
+
children: [/* @__PURE__ */ C("div", {
|
|
308
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
280
309
|
children: [
|
|
281
|
-
/* @__PURE__ */
|
|
310
|
+
/* @__PURE__ */ C("h4", {
|
|
282
311
|
className: "text-sm font-semibold text-text-primary mb-3 flex items-center gap-2",
|
|
283
|
-
children: [/* @__PURE__ */
|
|
312
|
+
children: [/* @__PURE__ */ S(h, { className: "h-4 w-4 text-text-secondary" }), "Timeline Progress"]
|
|
284
313
|
}),
|
|
285
|
-
/* @__PURE__ */
|
|
314
|
+
/* @__PURE__ */ C("div", {
|
|
286
315
|
className: "flex items-center justify-between text-xs text-text-secondary mb-1.5",
|
|
287
316
|
children: [
|
|
288
|
-
/* @__PURE__ */
|
|
289
|
-
/* @__PURE__ */
|
|
290
|
-
/* @__PURE__ */
|
|
317
|
+
/* @__PURE__ */ S("span", { children: J.toLocaleDateString() }),
|
|
318
|
+
/* @__PURE__ */ C("span", { children: [Q, "%"] }),
|
|
319
|
+
/* @__PURE__ */ S("span", { children: Y.toLocaleDateString() })
|
|
291
320
|
]
|
|
292
321
|
}),
|
|
293
|
-
/* @__PURE__ */
|
|
322
|
+
/* @__PURE__ */ S("div", {
|
|
294
323
|
className: "h-2.5 w-full rounded-full bg-bg-sunken",
|
|
295
|
-
children: /* @__PURE__ */
|
|
324
|
+
children: /* @__PURE__ */ S("div", {
|
|
296
325
|
className: "h-2.5 rounded-full bg-action-primary-bg transition-all",
|
|
297
326
|
style: { width: `${Q}%` }
|
|
298
327
|
})
|
|
299
328
|
})
|
|
300
329
|
]
|
|
301
|
-
}), /* @__PURE__ */
|
|
302
|
-
className: "rounded-lg border border-border-
|
|
330
|
+
}), /* @__PURE__ */ C("div", {
|
|
331
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
303
332
|
children: [
|
|
304
|
-
/* @__PURE__ */
|
|
333
|
+
/* @__PURE__ */ C("h4", {
|
|
305
334
|
className: "text-sm font-semibold text-text-primary mb-3 flex items-center gap-2",
|
|
306
|
-
children: [/* @__PURE__ */
|
|
335
|
+
children: [/* @__PURE__ */ S(g, { className: "h-4 w-4 text-text-secondary" }), "Budget Progress"]
|
|
307
336
|
}),
|
|
308
|
-
/* @__PURE__ */
|
|
337
|
+
/* @__PURE__ */ C("div", {
|
|
309
338
|
className: "flex items-center justify-between text-xs text-text-secondary mb-1.5",
|
|
310
339
|
children: [
|
|
311
|
-
/* @__PURE__ */
|
|
312
|
-
/* @__PURE__ */
|
|
313
|
-
/* @__PURE__ */
|
|
340
|
+
/* @__PURE__ */ C("span", { children: [a(K.budget.spent), " spent"] }),
|
|
341
|
+
/* @__PURE__ */ C("span", { children: [q, "%"] }),
|
|
342
|
+
/* @__PURE__ */ C("span", { children: [a(K.budget.total), " total"] })
|
|
314
343
|
]
|
|
315
344
|
}),
|
|
316
|
-
/* @__PURE__ */
|
|
345
|
+
/* @__PURE__ */ S("div", {
|
|
317
346
|
className: "h-2.5 w-full rounded-full bg-bg-sunken",
|
|
318
|
-
children: /* @__PURE__ */
|
|
319
|
-
className:
|
|
347
|
+
children: /* @__PURE__ */ S("div", {
|
|
348
|
+
className: i("h-2.5 rounded-full transition-all", q >= 90 ? "bg-status-error-bg" : "bg-action-primary-bg"),
|
|
320
349
|
style: { width: `${q}%` }
|
|
321
350
|
})
|
|
322
351
|
})
|
|
323
352
|
]
|
|
324
353
|
})]
|
|
325
354
|
}),
|
|
326
|
-
/* @__PURE__ */
|
|
327
|
-
className: "rounded-lg border border-border-
|
|
328
|
-
children: [/* @__PURE__ */
|
|
355
|
+
/* @__PURE__ */ C("div", {
|
|
356
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
357
|
+
children: [/* @__PURE__ */ S("h4", {
|
|
329
358
|
className: "text-sm font-semibold text-text-primary mb-3",
|
|
330
359
|
children: "Active Channels"
|
|
331
|
-
}), /* @__PURE__ */
|
|
360
|
+
}), /* @__PURE__ */ S("div", {
|
|
332
361
|
className: "flex flex-wrap gap-2",
|
|
333
|
-
children: K.channels.map((e) => /* @__PURE__ */
|
|
362
|
+
children: K.channels.map((e) => /* @__PURE__ */ S("span", {
|
|
334
363
|
className: "inline-flex items-center rounded-full bg-bg-sunken px-3 py-1 text-xs font-medium text-text-primary",
|
|
335
364
|
children: e
|
|
336
365
|
}, e))
|
|
337
366
|
})]
|
|
338
367
|
}),
|
|
339
|
-
/* @__PURE__ */
|
|
340
|
-
className: "rounded-lg border border-border-
|
|
341
|
-
children: [/* @__PURE__ */
|
|
368
|
+
/* @__PURE__ */ C("div", {
|
|
369
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
370
|
+
children: [/* @__PURE__ */ C("h4", {
|
|
342
371
|
className: "text-sm font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
343
|
-
children: [/* @__PURE__ */
|
|
344
|
-
}), /* @__PURE__ */
|
|
372
|
+
children: [/* @__PURE__ */ S(le, { className: "h-4 w-4 text-text-secondary" }), "Recent Activity"]
|
|
373
|
+
}), /* @__PURE__ */ S("div", {
|
|
345
374
|
className: "space-y-4",
|
|
346
|
-
children:
|
|
375
|
+
children: k.map((e, t) => /* @__PURE__ */ C("div", {
|
|
347
376
|
className: "flex items-start gap-3",
|
|
348
|
-
children: [/* @__PURE__ */
|
|
377
|
+
children: [/* @__PURE__ */ C("div", {
|
|
349
378
|
className: "relative flex-shrink-0",
|
|
350
|
-
children: [/* @__PURE__ */
|
|
379
|
+
children: [/* @__PURE__ */ S("div", {
|
|
351
380
|
className: "h-8 w-8 rounded-full bg-bg-sunken flex items-center justify-center text-xs font-medium text-text-secondary",
|
|
352
381
|
children: e.user.split(" ").map((e) => e[0]).join("")
|
|
353
|
-
}), t <
|
|
354
|
-
}), /* @__PURE__ */
|
|
382
|
+
}), t < k.length - 1 && /* @__PURE__ */ S("div", { className: "absolute left-4 top-8 h-6 w-px bg-border" })]
|
|
383
|
+
}), /* @__PURE__ */ C("div", {
|
|
355
384
|
className: "flex-1 min-w-0",
|
|
356
|
-
children: [/* @__PURE__ */
|
|
385
|
+
children: [/* @__PURE__ */ S("p", {
|
|
357
386
|
className: "text-sm text-text-primary",
|
|
358
387
|
children: e.action
|
|
359
|
-
}), /* @__PURE__ */
|
|
388
|
+
}), /* @__PURE__ */ C("p", {
|
|
360
389
|
className: "text-xs text-text-secondary mt-0.5",
|
|
361
390
|
children: [
|
|
362
391
|
e.user,
|
|
@@ -370,57 +399,57 @@ var O = [
|
|
|
370
399
|
})
|
|
371
400
|
]
|
|
372
401
|
}),
|
|
373
|
-
z === "analytics" && /* @__PURE__ */
|
|
402
|
+
z === "analytics" && /* @__PURE__ */ S(d, {
|
|
374
403
|
title: "Performance Over Time",
|
|
375
404
|
subtitle: "Revenue, cost, and conversions trend",
|
|
376
|
-
children: /* @__PURE__ */
|
|
405
|
+
children: /* @__PURE__ */ S(ee, {
|
|
377
406
|
width: "100%",
|
|
378
407
|
height: 350,
|
|
379
|
-
children: /* @__PURE__ */
|
|
380
|
-
data:
|
|
408
|
+
children: /* @__PURE__ */ C(re, {
|
|
409
|
+
data: ye,
|
|
381
410
|
children: [
|
|
382
|
-
/* @__PURE__ */
|
|
411
|
+
/* @__PURE__ */ S(n, {
|
|
383
412
|
strokeDasharray: "3 3",
|
|
384
413
|
className: "stroke-border"
|
|
385
414
|
}),
|
|
386
|
-
/* @__PURE__ */
|
|
415
|
+
/* @__PURE__ */ S(te, {
|
|
387
416
|
dataKey: "date",
|
|
388
417
|
tick: { fontSize: 11 },
|
|
389
418
|
className: "text-text-secondary",
|
|
390
419
|
tickFormatter: (e) => e.slice(5)
|
|
391
420
|
}),
|
|
392
|
-
/* @__PURE__ */
|
|
421
|
+
/* @__PURE__ */ S(ne, {
|
|
393
422
|
tick: { fontSize: 11 },
|
|
394
423
|
className: "text-text-secondary"
|
|
395
424
|
}),
|
|
396
|
-
/* @__PURE__ */
|
|
425
|
+
/* @__PURE__ */ S(t, { contentStyle: {
|
|
397
426
|
backgroundColor: "var(--color-card)",
|
|
398
427
|
border: "1px solid var(--color-border)",
|
|
399
428
|
borderRadius: 8
|
|
400
429
|
} }),
|
|
401
|
-
/* @__PURE__ */
|
|
430
|
+
/* @__PURE__ */ S(r, {
|
|
402
431
|
type: "monotone",
|
|
403
432
|
dataKey: "revenue",
|
|
404
|
-
stroke:
|
|
405
|
-
fill:
|
|
433
|
+
stroke: D[0],
|
|
434
|
+
fill: D[0],
|
|
406
435
|
fillOpacity: .15,
|
|
407
436
|
strokeWidth: 2,
|
|
408
437
|
name: "Revenue"
|
|
409
438
|
}),
|
|
410
|
-
/* @__PURE__ */
|
|
439
|
+
/* @__PURE__ */ S(r, {
|
|
411
440
|
type: "monotone",
|
|
412
441
|
dataKey: "cost",
|
|
413
|
-
stroke:
|
|
414
|
-
fill:
|
|
442
|
+
stroke: D[3],
|
|
443
|
+
fill: D[3],
|
|
415
444
|
fillOpacity: .1,
|
|
416
445
|
strokeWidth: 2,
|
|
417
446
|
name: "Cost"
|
|
418
447
|
}),
|
|
419
|
-
/* @__PURE__ */
|
|
448
|
+
/* @__PURE__ */ S(r, {
|
|
420
449
|
type: "monotone",
|
|
421
450
|
dataKey: "conversions",
|
|
422
|
-
stroke:
|
|
423
|
-
fill:
|
|
451
|
+
stroke: D[1],
|
|
452
|
+
fill: D[1],
|
|
424
453
|
fillOpacity: .1,
|
|
425
454
|
strokeWidth: 2,
|
|
426
455
|
name: "Conversions"
|
|
@@ -429,28 +458,28 @@ var O = [
|
|
|
429
458
|
})
|
|
430
459
|
})
|
|
431
460
|
}),
|
|
432
|
-
z === "audience" && /* @__PURE__ */
|
|
461
|
+
z === "audience" && /* @__PURE__ */ C("div", {
|
|
433
462
|
className: "grid grid-cols-1 gap-6 lg:grid-cols-3",
|
|
434
463
|
children: [
|
|
435
|
-
/* @__PURE__ */
|
|
436
|
-
className: "rounded-lg border border-border-
|
|
437
|
-
children: [/* @__PURE__ */
|
|
464
|
+
/* @__PURE__ */ C("div", {
|
|
465
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
466
|
+
children: [/* @__PURE__ */ S("h4", {
|
|
438
467
|
className: "text-sm font-semibold text-text-primary mb-3",
|
|
439
468
|
children: "Demographics"
|
|
440
|
-
}), /* @__PURE__ */
|
|
469
|
+
}), /* @__PURE__ */ C("div", {
|
|
441
470
|
className: "space-y-2",
|
|
442
|
-
children: [K.targeting.demographics.map((e) => /* @__PURE__ */
|
|
471
|
+
children: [K.targeting.demographics.map((e) => /* @__PURE__ */ C("div", {
|
|
443
472
|
className: "flex items-center gap-2",
|
|
444
|
-
children: [/* @__PURE__ */
|
|
473
|
+
children: [/* @__PURE__ */ S("div", { className: "h-2 w-2 rounded-full bg-action-primary-bg" }), /* @__PURE__ */ S("span", {
|
|
445
474
|
className: "text-sm text-text-primary",
|
|
446
475
|
children: e
|
|
447
476
|
})]
|
|
448
|
-
}, e)), /* @__PURE__ */
|
|
477
|
+
}, e)), /* @__PURE__ */ C("div", {
|
|
449
478
|
className: "pt-2 border-t border-border-subtle mt-2",
|
|
450
|
-
children: [/* @__PURE__ */
|
|
479
|
+
children: [/* @__PURE__ */ S("p", {
|
|
451
480
|
className: "text-xs text-text-secondary",
|
|
452
481
|
children: "Age Range"
|
|
453
|
-
}), /* @__PURE__ */
|
|
482
|
+
}), /* @__PURE__ */ C("p", {
|
|
454
483
|
className: "text-sm font-medium text-text-primary",
|
|
455
484
|
children: [
|
|
456
485
|
K.targeting.ageRange.min,
|
|
@@ -462,32 +491,32 @@ var O = [
|
|
|
462
491
|
})]
|
|
463
492
|
})]
|
|
464
493
|
}),
|
|
465
|
-
/* @__PURE__ */
|
|
466
|
-
className: "rounded-lg border border-border-
|
|
467
|
-
children: [/* @__PURE__ */
|
|
494
|
+
/* @__PURE__ */ C("div", {
|
|
495
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
496
|
+
children: [/* @__PURE__ */ S("h4", {
|
|
468
497
|
className: "text-sm font-semibold text-text-primary mb-3",
|
|
469
498
|
children: "Interests"
|
|
470
|
-
}), /* @__PURE__ */
|
|
499
|
+
}), /* @__PURE__ */ S("div", {
|
|
471
500
|
className: "space-y-2",
|
|
472
|
-
children: K.targeting.interests.map((e) => /* @__PURE__ */
|
|
501
|
+
children: K.targeting.interests.map((e) => /* @__PURE__ */ C("div", {
|
|
473
502
|
className: "flex items-center gap-2",
|
|
474
|
-
children: [/* @__PURE__ */
|
|
503
|
+
children: [/* @__PURE__ */ S("div", { className: "h-2 w-2 rounded-full bg-status-success-text" }), /* @__PURE__ */ S("span", {
|
|
475
504
|
className: "text-sm text-text-primary",
|
|
476
505
|
children: e
|
|
477
506
|
})]
|
|
478
507
|
}, e))
|
|
479
508
|
})]
|
|
480
509
|
}),
|
|
481
|
-
/* @__PURE__ */
|
|
482
|
-
className: "rounded-lg border border-border-
|
|
483
|
-
children: [/* @__PURE__ */
|
|
510
|
+
/* @__PURE__ */ C("div", {
|
|
511
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
512
|
+
children: [/* @__PURE__ */ S("h4", {
|
|
484
513
|
className: "text-sm font-semibold text-text-primary mb-3",
|
|
485
514
|
children: "Locations"
|
|
486
|
-
}), /* @__PURE__ */
|
|
515
|
+
}), /* @__PURE__ */ S("div", {
|
|
487
516
|
className: "space-y-2",
|
|
488
|
-
children: K.targeting.locations.map((e) => /* @__PURE__ */
|
|
517
|
+
children: K.targeting.locations.map((e) => /* @__PURE__ */ C("div", {
|
|
489
518
|
className: "flex items-center gap-2",
|
|
490
|
-
children: [/* @__PURE__ */
|
|
519
|
+
children: [/* @__PURE__ */ S("div", { className: "h-2 w-2 rounded-full bg-status-warning-text" }), /* @__PURE__ */ S("span", {
|
|
491
520
|
className: "text-sm text-text-primary",
|
|
492
521
|
children: e
|
|
493
522
|
})]
|
|
@@ -496,46 +525,46 @@ var O = [
|
|
|
496
525
|
})
|
|
497
526
|
]
|
|
498
527
|
}),
|
|
499
|
-
z === "assets" && /* @__PURE__ */
|
|
528
|
+
z === "assets" && /* @__PURE__ */ C("div", {
|
|
500
529
|
className: "space-y-6",
|
|
501
|
-
children: [/* @__PURE__ */
|
|
502
|
-
className: "rounded-lg border border-border-
|
|
503
|
-
children: [/* @__PURE__ */
|
|
530
|
+
children: [/* @__PURE__ */ C("div", {
|
|
531
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
532
|
+
children: [/* @__PURE__ */ C("h4", {
|
|
504
533
|
className: "text-sm font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
505
|
-
children: [/* @__PURE__ */
|
|
506
|
-
}), /* @__PURE__ */
|
|
534
|
+
children: [/* @__PURE__ */ S(y, { className: "h-4 w-4 text-text-secondary" }), "Images & Media"]
|
|
535
|
+
}), /* @__PURE__ */ S("div", {
|
|
507
536
|
className: "grid grid-cols-2 gap-4 sm:grid-cols-3 lg:grid-cols-4",
|
|
508
|
-
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__ */
|
|
537
|
+
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__ */ S("div", {
|
|
509
538
|
className: "aspect-video rounded-lg border border-border-subtle bg-bg-sunken flex items-center justify-center",
|
|
510
|
-
children: /* @__PURE__ */
|
|
539
|
+
children: /* @__PURE__ */ S(y, { className: "h-8 w-8 text-text-secondary" })
|
|
511
540
|
}, e)) : [
|
|
512
541
|
1,
|
|
513
542
|
2,
|
|
514
543
|
3
|
|
515
|
-
].map((e) => /* @__PURE__ */
|
|
544
|
+
].map((e) => /* @__PURE__ */ S("div", {
|
|
516
545
|
className: "aspect-video rounded-lg border border-dashed border-border-subtle bg-bg-sunken/30 flex items-center justify-center",
|
|
517
|
-
children: /* @__PURE__ */
|
|
546
|
+
children: /* @__PURE__ */ S(y, { className: "h-8 w-8 text-text-secondary/50" })
|
|
518
547
|
}, e))
|
|
519
548
|
})]
|
|
520
|
-
}), /* @__PURE__ */
|
|
521
|
-
className: "rounded-lg border border-border-
|
|
522
|
-
children: [/* @__PURE__ */
|
|
549
|
+
}), /* @__PURE__ */ C("div", {
|
|
550
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
551
|
+
children: [/* @__PURE__ */ C("h4", {
|
|
523
552
|
className: "text-sm font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
524
|
-
children: [/* @__PURE__ */
|
|
525
|
-
}), /* @__PURE__ */
|
|
553
|
+
children: [/* @__PURE__ */ S(v, { className: "h-4 w-4 text-text-secondary" }), "Documents"]
|
|
554
|
+
}), /* @__PURE__ */ S("div", {
|
|
526
555
|
className: "space-y-2",
|
|
527
|
-
children:
|
|
556
|
+
children: A.map((e) => /* @__PURE__ */ C("div", {
|
|
528
557
|
className: "flex items-center justify-between rounded-md border border-border-subtle p-3 hover:bg-bg-sunken/50 transition-colors",
|
|
529
|
-
children: [/* @__PURE__ */
|
|
558
|
+
children: [/* @__PURE__ */ C("div", {
|
|
530
559
|
className: "flex items-center gap-3",
|
|
531
|
-
children: [/* @__PURE__ */
|
|
560
|
+
children: [/* @__PURE__ */ S(v, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
532
561
|
className: "text-sm font-medium text-text-primary",
|
|
533
562
|
children: e.name
|
|
534
|
-
}), /* @__PURE__ */
|
|
563
|
+
}), /* @__PURE__ */ S("p", {
|
|
535
564
|
className: "text-xs text-text-secondary",
|
|
536
565
|
children: e.size
|
|
537
566
|
})] })]
|
|
538
|
-
}), /* @__PURE__ */
|
|
567
|
+
}), /* @__PURE__ */ S("span", {
|
|
539
568
|
className: "text-xs text-text-secondary",
|
|
540
569
|
children: e.updated
|
|
541
570
|
})]
|
|
@@ -543,24 +572,24 @@ var O = [
|
|
|
543
572
|
})]
|
|
544
573
|
})]
|
|
545
574
|
}),
|
|
546
|
-
z === "team" && /* @__PURE__ */
|
|
575
|
+
z === "team" && /* @__PURE__ */ C("div", {
|
|
547
576
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
|
|
548
|
-
children: [$.map((e) => /* @__PURE__ */
|
|
549
|
-
className: "rounded-lg border border-border-
|
|
550
|
-
children: [/* @__PURE__ */
|
|
577
|
+
children: [$.map((e) => /* @__PURE__ */ C("div", {
|
|
578
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop flex items-center gap-4",
|
|
579
|
+
children: [/* @__PURE__ */ S("div", {
|
|
551
580
|
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
581
|
children: e.avatar
|
|
553
|
-
}), /* @__PURE__ */
|
|
582
|
+
}), /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
554
583
|
className: "text-sm font-semibold text-text-primary",
|
|
555
584
|
children: e.name
|
|
556
|
-
}), /* @__PURE__ */
|
|
585
|
+
}), /* @__PURE__ */ S("p", {
|
|
557
586
|
className: "text-xs text-text-secondary",
|
|
558
587
|
children: e.role
|
|
559
588
|
})] })]
|
|
560
|
-
}, e.name)), $.length === 0 && /* @__PURE__ */
|
|
589
|
+
}, e.name)), $.length === 0 && /* @__PURE__ */ S("div", {
|
|
561
590
|
className: "col-span-full",
|
|
562
|
-
children: /* @__PURE__ */
|
|
563
|
-
|
|
591
|
+
children: /* @__PURE__ */ S(u, {
|
|
592
|
+
illustration: "empty-people",
|
|
564
593
|
title: "No team members",
|
|
565
594
|
description: "No team members have been assigned to this campaign yet."
|
|
566
595
|
})
|
|
@@ -572,6 +601,6 @@ var O = [
|
|
|
572
601
|
});
|
|
573
602
|
};
|
|
574
603
|
//#endregion
|
|
575
|
-
export {
|
|
604
|
+
export { j as CampaignDetailsPage };
|
|
576
605
|
|
|
577
606
|
//# sourceMappingURL=CampaignDetailsPage.js.map
|