@burdenoff/microfe-headshotmarketing 2026.625.1 → 2026.626.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/DataTable.js +58 -53
- package/dist/headshotmarketing/components/DataTable.js.map +1 -1
- package/dist/headshotmarketing/pages/HomePage.js +146 -119
- package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +276 -219
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +202 -146
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdsPage.js +138 -99
- package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js +173 -117
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +196 -194
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js +40 -38
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js +123 -95
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js +23 -21
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js +95 -83
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js +23 -21
- package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/AutomationPage.js +98 -59
- package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/TriggersPage.js +134 -97
- package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +46 -44
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +220 -137
- 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 +201 -173
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +85 -91
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +160 -147
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +66 -64
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AIToolsPage.js +82 -74
- package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +93 -48
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js +23 -21
- package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js +39 -37
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentPage.js +82 -75
- package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/ContactsPage.js +261 -213
- package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js +64 -63
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js +77 -76
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CrmPage.js +162 -120
- package/dist/headshotmarketing/pages/crm/CrmPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/LeadsPage.js +58 -51
- package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/PipelinePage.js +173 -157
- package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/CreateEventPage.js +345 -340
- package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/EventsPage.js +100 -87
- 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 +136 -87
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +56 -28
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +246 -184
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +144 -111
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/AccountsPage.js +27 -25
- package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js +269 -242
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/PostsPage.js +149 -137
- package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +119 -118
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +104 -76
- 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
|
+
var D = [
|
|
24
25
|
"var(--color-chart-1)",
|
|
25
26
|
"var(--color-chart-2)",
|
|
26
27
|
"var(--color-chart-3)",
|
|
27
28
|
"var(--color-chart-4)",
|
|
28
29
|
"var(--color-chart-5)",
|
|
29
30
|
"var(--color-chart-6)"
|
|
30
|
-
],
|
|
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,87 +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, {
|
|
145
146
|
illustration: "empty-generic",
|
|
146
147
|
title: "Campaign not found",
|
|
147
|
-
description:
|
|
148
|
-
action: /* @__PURE__ */
|
|
149
|
-
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"),
|
|
150
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",
|
|
151
|
-
children: [/* @__PURE__ */
|
|
152
|
+
children: [/* @__PURE__ */ S(p, { className: "h-4 w-4" }), "Back to Campaigns"]
|
|
152
153
|
})
|
|
153
154
|
})
|
|
154
155
|
});
|
|
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),
|
|
156
|
-
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, {
|
|
157
158
|
title: K.name,
|
|
158
159
|
description: K.description,
|
|
159
|
-
actions: /* @__PURE__ */
|
|
160
|
+
actions: /* @__PURE__ */ C("div", {
|
|
160
161
|
className: "flex items-center gap-2",
|
|
161
162
|
children: [
|
|
162
|
-
/* @__PURE__ */
|
|
163
|
-
/* @__PURE__ */
|
|
164
|
-
onClick: () => M
|
|
163
|
+
/* @__PURE__ */ S(ce, { status: K.status }),
|
|
164
|
+
/* @__PURE__ */ C("button", {
|
|
165
|
+
onClick: () => j(M + "/campaigns"),
|
|
165
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",
|
|
166
|
-
children: [/* @__PURE__ */
|
|
167
|
+
children: [/* @__PURE__ */ S(p, { className: "h-4 w-4" }), "Back"]
|
|
167
168
|
}),
|
|
168
|
-
/* @__PURE__ */
|
|
169
|
-
onClick: () => M
|
|
169
|
+
/* @__PURE__ */ C("button", {
|
|
170
|
+
onClick: () => j(M + "/campaigns/" + K.id + "/edit"),
|
|
170
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",
|
|
171
|
-
children: [/* @__PURE__ */
|
|
172
|
+
children: [/* @__PURE__ */ S(_, { className: "h-4 w-4" }), "Edit"]
|
|
172
173
|
}),
|
|
173
|
-
/* @__PURE__ */
|
|
174
|
+
/* @__PURE__ */ C("div", {
|
|
174
175
|
className: "relative",
|
|
175
|
-
children: [/* @__PURE__ */
|
|
176
|
+
children: [/* @__PURE__ */ S("button", {
|
|
176
177
|
onClick: () => H(!V),
|
|
177
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",
|
|
178
|
-
children: /* @__PURE__ */
|
|
179
|
-
}), V && /* @__PURE__ */
|
|
179
|
+
children: /* @__PURE__ */ S(fe, { className: "h-4 w-4" })
|
|
180
|
+
}), V && /* @__PURE__ */ C("div", {
|
|
180
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",
|
|
181
182
|
children: [
|
|
182
|
-
/* @__PURE__ */
|
|
183
|
+
/* @__PURE__ */ C("button", {
|
|
183
184
|
className: "flex w-full items-center gap-2 rounded-md px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken",
|
|
184
|
-
children: [/* @__PURE__ */
|
|
185
|
+
children: [/* @__PURE__ */ S(pe, { className: "h-4 w-4" }), " Pause"]
|
|
185
186
|
}),
|
|
186
|
-
/* @__PURE__ */
|
|
187
|
+
/* @__PURE__ */ C("button", {
|
|
187
188
|
className: "flex w-full items-center gap-2 rounded-md px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken",
|
|
188
|
-
children: [/* @__PURE__ */
|
|
189
|
+
children: [/* @__PURE__ */ S(de, { className: "h-4 w-4" }), " Duplicate"]
|
|
189
190
|
}),
|
|
190
|
-
/* @__PURE__ */
|
|
191
|
+
/* @__PURE__ */ C("button", {
|
|
191
192
|
className: "flex w-full items-center gap-2 rounded-md px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken",
|
|
192
|
-
children: [/* @__PURE__ */
|
|
193
|
+
children: [/* @__PURE__ */ S(ue, { className: "h-4 w-4" }), " Archive"]
|
|
193
194
|
}),
|
|
194
|
-
/* @__PURE__ */
|
|
195
|
-
onClick:
|
|
196
|
-
disabled:
|
|
195
|
+
/* @__PURE__ */ C("button", {
|
|
196
|
+
onClick: ge,
|
|
197
|
+
disabled: R,
|
|
197
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",
|
|
198
|
-
children: [/* @__PURE__ */
|
|
199
|
+
children: [/* @__PURE__ */ S(me, { className: "h-4 w-4" }), " Delete"]
|
|
199
200
|
})
|
|
200
201
|
]
|
|
201
202
|
})]
|
|
@@ -203,42 +204,69 @@ var O = [
|
|
|
203
204
|
]
|
|
204
205
|
}),
|
|
205
206
|
children: [
|
|
206
|
-
/* @__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", {
|
|
207
209
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-5",
|
|
208
210
|
children: [
|
|
209
|
-
/* @__PURE__ */
|
|
211
|
+
/* @__PURE__ */ S(l, {
|
|
210
212
|
title: "Revenue",
|
|
211
|
-
value:
|
|
212
|
-
icon: /* @__PURE__ */
|
|
213
|
+
value: a(K.metrics.revenue),
|
|
214
|
+
icon: /* @__PURE__ */ S(g, { className: "h-5 w-5" })
|
|
213
215
|
}),
|
|
214
|
-
/* @__PURE__ */
|
|
216
|
+
/* @__PURE__ */ S(l, {
|
|
215
217
|
title: "Conversions",
|
|
216
|
-
value:
|
|
217
|
-
icon: /* @__PURE__ */
|
|
218
|
+
value: o(K.metrics.conversions),
|
|
219
|
+
icon: /* @__PURE__ */ S(b, { className: "h-5 w-5" })
|
|
218
220
|
}),
|
|
219
|
-
/* @__PURE__ */
|
|
221
|
+
/* @__PURE__ */ S(l, {
|
|
220
222
|
title: "ROAS",
|
|
221
223
|
value: `${K.metrics.roas.toFixed(1)}x`,
|
|
222
|
-
icon: /* @__PURE__ */
|
|
224
|
+
icon: /* @__PURE__ */ S(x, { className: "h-5 w-5" })
|
|
223
225
|
}),
|
|
224
|
-
/* @__PURE__ */
|
|
226
|
+
/* @__PURE__ */ S(l, {
|
|
225
227
|
title: "Budget Used",
|
|
226
228
|
value: `${q}%`,
|
|
227
|
-
icon: /* @__PURE__ */
|
|
229
|
+
icon: /* @__PURE__ */ S(g, { className: "h-5 w-5" }),
|
|
228
230
|
className: "relative"
|
|
229
231
|
}),
|
|
230
|
-
/* @__PURE__ */
|
|
232
|
+
/* @__PURE__ */ S(l, {
|
|
231
233
|
title: "Days Remaining",
|
|
232
|
-
value: String(
|
|
233
|
-
icon: /* @__PURE__ */
|
|
234
|
+
value: String(ve),
|
|
235
|
+
icon: /* @__PURE__ */ S(m, { className: "h-5 w-5" })
|
|
234
236
|
})
|
|
235
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
|
+
]
|
|
236
264
|
}),
|
|
237
|
-
U && /* @__PURE__ */
|
|
265
|
+
U && /* @__PURE__ */ S("div", {
|
|
238
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",
|
|
239
267
|
children: U
|
|
240
268
|
}),
|
|
241
|
-
/* @__PURE__ */
|
|
269
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("div", {
|
|
242
270
|
className: "flex items-center gap-1 border-b border-border-subtle",
|
|
243
271
|
children: [
|
|
244
272
|
{
|
|
@@ -261,103 +289,103 @@ var O = [
|
|
|
261
289
|
key: "team",
|
|
262
290
|
label: "Team"
|
|
263
291
|
}
|
|
264
|
-
].map((e) => /* @__PURE__ */
|
|
292
|
+
].map((e) => /* @__PURE__ */ S("button", {
|
|
265
293
|
onClick: () => {
|
|
266
294
|
B(e.key), H(!1);
|
|
267
295
|
},
|
|
268
|
-
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"),
|
|
269
297
|
children: e.label
|
|
270
298
|
}, e.key))
|
|
271
|
-
}), /* @__PURE__ */
|
|
299
|
+
}), /* @__PURE__ */ C("div", {
|
|
272
300
|
className: "mt-6",
|
|
273
301
|
children: [
|
|
274
|
-
z === "overview" && /* @__PURE__ */
|
|
302
|
+
z === "overview" && /* @__PURE__ */ C("div", {
|
|
275
303
|
className: "space-y-6",
|
|
276
304
|
children: [
|
|
277
|
-
/* @__PURE__ */
|
|
305
|
+
/* @__PURE__ */ C("div", {
|
|
278
306
|
className: "grid grid-cols-1 gap-6 lg:grid-cols-2",
|
|
279
|
-
children: [/* @__PURE__ */
|
|
307
|
+
children: [/* @__PURE__ */ C("div", {
|
|
280
308
|
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
281
309
|
children: [
|
|
282
|
-
/* @__PURE__ */
|
|
310
|
+
/* @__PURE__ */ C("h4", {
|
|
283
311
|
className: "text-sm font-semibold text-text-primary mb-3 flex items-center gap-2",
|
|
284
|
-
children: [/* @__PURE__ */
|
|
312
|
+
children: [/* @__PURE__ */ S(h, { className: "h-4 w-4 text-text-secondary" }), "Timeline Progress"]
|
|
285
313
|
}),
|
|
286
|
-
/* @__PURE__ */
|
|
314
|
+
/* @__PURE__ */ C("div", {
|
|
287
315
|
className: "flex items-center justify-between text-xs text-text-secondary mb-1.5",
|
|
288
316
|
children: [
|
|
289
|
-
/* @__PURE__ */
|
|
290
|
-
/* @__PURE__ */
|
|
291
|
-
/* @__PURE__ */
|
|
317
|
+
/* @__PURE__ */ S("span", { children: J.toLocaleDateString() }),
|
|
318
|
+
/* @__PURE__ */ C("span", { children: [Q, "%"] }),
|
|
319
|
+
/* @__PURE__ */ S("span", { children: Y.toLocaleDateString() })
|
|
292
320
|
]
|
|
293
321
|
}),
|
|
294
|
-
/* @__PURE__ */
|
|
322
|
+
/* @__PURE__ */ S("div", {
|
|
295
323
|
className: "h-2.5 w-full rounded-full bg-bg-sunken",
|
|
296
|
-
children: /* @__PURE__ */
|
|
324
|
+
children: /* @__PURE__ */ S("div", {
|
|
297
325
|
className: "h-2.5 rounded-full bg-action-primary-bg transition-all",
|
|
298
326
|
style: { width: `${Q}%` }
|
|
299
327
|
})
|
|
300
328
|
})
|
|
301
329
|
]
|
|
302
|
-
}), /* @__PURE__ */
|
|
330
|
+
}), /* @__PURE__ */ C("div", {
|
|
303
331
|
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
304
332
|
children: [
|
|
305
|
-
/* @__PURE__ */
|
|
333
|
+
/* @__PURE__ */ C("h4", {
|
|
306
334
|
className: "text-sm font-semibold text-text-primary mb-3 flex items-center gap-2",
|
|
307
|
-
children: [/* @__PURE__ */
|
|
335
|
+
children: [/* @__PURE__ */ S(g, { className: "h-4 w-4 text-text-secondary" }), "Budget Progress"]
|
|
308
336
|
}),
|
|
309
|
-
/* @__PURE__ */
|
|
337
|
+
/* @__PURE__ */ C("div", {
|
|
310
338
|
className: "flex items-center justify-between text-xs text-text-secondary mb-1.5",
|
|
311
339
|
children: [
|
|
312
|
-
/* @__PURE__ */
|
|
313
|
-
/* @__PURE__ */
|
|
314
|
-
/* @__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"] })
|
|
315
343
|
]
|
|
316
344
|
}),
|
|
317
|
-
/* @__PURE__ */
|
|
345
|
+
/* @__PURE__ */ S("div", {
|
|
318
346
|
className: "h-2.5 w-full rounded-full bg-bg-sunken",
|
|
319
|
-
children: /* @__PURE__ */
|
|
320
|
-
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"),
|
|
321
349
|
style: { width: `${q}%` }
|
|
322
350
|
})
|
|
323
351
|
})
|
|
324
352
|
]
|
|
325
353
|
})]
|
|
326
354
|
}),
|
|
327
|
-
/* @__PURE__ */
|
|
355
|
+
/* @__PURE__ */ C("div", {
|
|
328
356
|
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
329
|
-
children: [/* @__PURE__ */
|
|
357
|
+
children: [/* @__PURE__ */ S("h4", {
|
|
330
358
|
className: "text-sm font-semibold text-text-primary mb-3",
|
|
331
359
|
children: "Active Channels"
|
|
332
|
-
}), /* @__PURE__ */
|
|
360
|
+
}), /* @__PURE__ */ S("div", {
|
|
333
361
|
className: "flex flex-wrap gap-2",
|
|
334
|
-
children: K.channels.map((e) => /* @__PURE__ */
|
|
362
|
+
children: K.channels.map((e) => /* @__PURE__ */ S("span", {
|
|
335
363
|
className: "inline-flex items-center rounded-full bg-bg-sunken px-3 py-1 text-xs font-medium text-text-primary",
|
|
336
364
|
children: e
|
|
337
365
|
}, e))
|
|
338
366
|
})]
|
|
339
367
|
}),
|
|
340
|
-
/* @__PURE__ */
|
|
368
|
+
/* @__PURE__ */ C("div", {
|
|
341
369
|
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
342
|
-
children: [/* @__PURE__ */
|
|
370
|
+
children: [/* @__PURE__ */ C("h4", {
|
|
343
371
|
className: "text-sm font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
344
|
-
children: [/* @__PURE__ */
|
|
345
|
-
}), /* @__PURE__ */
|
|
372
|
+
children: [/* @__PURE__ */ S(le, { className: "h-4 w-4 text-text-secondary" }), "Recent Activity"]
|
|
373
|
+
}), /* @__PURE__ */ S("div", {
|
|
346
374
|
className: "space-y-4",
|
|
347
|
-
children:
|
|
375
|
+
children: k.map((e, t) => /* @__PURE__ */ C("div", {
|
|
348
376
|
className: "flex items-start gap-3",
|
|
349
|
-
children: [/* @__PURE__ */
|
|
377
|
+
children: [/* @__PURE__ */ C("div", {
|
|
350
378
|
className: "relative flex-shrink-0",
|
|
351
|
-
children: [/* @__PURE__ */
|
|
379
|
+
children: [/* @__PURE__ */ S("div", {
|
|
352
380
|
className: "h-8 w-8 rounded-full bg-bg-sunken flex items-center justify-center text-xs font-medium text-text-secondary",
|
|
353
381
|
children: e.user.split(" ").map((e) => e[0]).join("")
|
|
354
|
-
}), t <
|
|
355
|
-
}), /* @__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", {
|
|
356
384
|
className: "flex-1 min-w-0",
|
|
357
|
-
children: [/* @__PURE__ */
|
|
385
|
+
children: [/* @__PURE__ */ S("p", {
|
|
358
386
|
className: "text-sm text-text-primary",
|
|
359
387
|
children: e.action
|
|
360
|
-
}), /* @__PURE__ */
|
|
388
|
+
}), /* @__PURE__ */ C("p", {
|
|
361
389
|
className: "text-xs text-text-secondary mt-0.5",
|
|
362
390
|
children: [
|
|
363
391
|
e.user,
|
|
@@ -371,57 +399,57 @@ var O = [
|
|
|
371
399
|
})
|
|
372
400
|
]
|
|
373
401
|
}),
|
|
374
|
-
z === "analytics" && /* @__PURE__ */
|
|
402
|
+
z === "analytics" && /* @__PURE__ */ S(d, {
|
|
375
403
|
title: "Performance Over Time",
|
|
376
404
|
subtitle: "Revenue, cost, and conversions trend",
|
|
377
|
-
children: /* @__PURE__ */
|
|
405
|
+
children: /* @__PURE__ */ S(ee, {
|
|
378
406
|
width: "100%",
|
|
379
407
|
height: 350,
|
|
380
|
-
children: /* @__PURE__ */
|
|
381
|
-
data:
|
|
408
|
+
children: /* @__PURE__ */ C(re, {
|
|
409
|
+
data: ye,
|
|
382
410
|
children: [
|
|
383
|
-
/* @__PURE__ */
|
|
411
|
+
/* @__PURE__ */ S(n, {
|
|
384
412
|
strokeDasharray: "3 3",
|
|
385
413
|
className: "stroke-border"
|
|
386
414
|
}),
|
|
387
|
-
/* @__PURE__ */
|
|
415
|
+
/* @__PURE__ */ S(te, {
|
|
388
416
|
dataKey: "date",
|
|
389
417
|
tick: { fontSize: 11 },
|
|
390
418
|
className: "text-text-secondary",
|
|
391
419
|
tickFormatter: (e) => e.slice(5)
|
|
392
420
|
}),
|
|
393
|
-
/* @__PURE__ */
|
|
421
|
+
/* @__PURE__ */ S(ne, {
|
|
394
422
|
tick: { fontSize: 11 },
|
|
395
423
|
className: "text-text-secondary"
|
|
396
424
|
}),
|
|
397
|
-
/* @__PURE__ */
|
|
425
|
+
/* @__PURE__ */ S(t, { contentStyle: {
|
|
398
426
|
backgroundColor: "var(--color-card)",
|
|
399
427
|
border: "1px solid var(--color-border)",
|
|
400
428
|
borderRadius: 8
|
|
401
429
|
} }),
|
|
402
|
-
/* @__PURE__ */
|
|
430
|
+
/* @__PURE__ */ S(r, {
|
|
403
431
|
type: "monotone",
|
|
404
432
|
dataKey: "revenue",
|
|
405
|
-
stroke:
|
|
406
|
-
fill:
|
|
433
|
+
stroke: D[0],
|
|
434
|
+
fill: D[0],
|
|
407
435
|
fillOpacity: .15,
|
|
408
436
|
strokeWidth: 2,
|
|
409
437
|
name: "Revenue"
|
|
410
438
|
}),
|
|
411
|
-
/* @__PURE__ */
|
|
439
|
+
/* @__PURE__ */ S(r, {
|
|
412
440
|
type: "monotone",
|
|
413
441
|
dataKey: "cost",
|
|
414
|
-
stroke:
|
|
415
|
-
fill:
|
|
442
|
+
stroke: D[3],
|
|
443
|
+
fill: D[3],
|
|
416
444
|
fillOpacity: .1,
|
|
417
445
|
strokeWidth: 2,
|
|
418
446
|
name: "Cost"
|
|
419
447
|
}),
|
|
420
|
-
/* @__PURE__ */
|
|
448
|
+
/* @__PURE__ */ S(r, {
|
|
421
449
|
type: "monotone",
|
|
422
450
|
dataKey: "conversions",
|
|
423
|
-
stroke:
|
|
424
|
-
fill:
|
|
451
|
+
stroke: D[1],
|
|
452
|
+
fill: D[1],
|
|
425
453
|
fillOpacity: .1,
|
|
426
454
|
strokeWidth: 2,
|
|
427
455
|
name: "Conversions"
|
|
@@ -430,28 +458,28 @@ var O = [
|
|
|
430
458
|
})
|
|
431
459
|
})
|
|
432
460
|
}),
|
|
433
|
-
z === "audience" && /* @__PURE__ */
|
|
461
|
+
z === "audience" && /* @__PURE__ */ C("div", {
|
|
434
462
|
className: "grid grid-cols-1 gap-6 lg:grid-cols-3",
|
|
435
463
|
children: [
|
|
436
|
-
/* @__PURE__ */
|
|
464
|
+
/* @__PURE__ */ C("div", {
|
|
437
465
|
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
438
|
-
children: [/* @__PURE__ */
|
|
466
|
+
children: [/* @__PURE__ */ S("h4", {
|
|
439
467
|
className: "text-sm font-semibold text-text-primary mb-3",
|
|
440
468
|
children: "Demographics"
|
|
441
|
-
}), /* @__PURE__ */
|
|
469
|
+
}), /* @__PURE__ */ C("div", {
|
|
442
470
|
className: "space-y-2",
|
|
443
|
-
children: [K.targeting.demographics.map((e) => /* @__PURE__ */
|
|
471
|
+
children: [K.targeting.demographics.map((e) => /* @__PURE__ */ C("div", {
|
|
444
472
|
className: "flex items-center gap-2",
|
|
445
|
-
children: [/* @__PURE__ */
|
|
473
|
+
children: [/* @__PURE__ */ S("div", { className: "h-2 w-2 rounded-full bg-action-primary-bg" }), /* @__PURE__ */ S("span", {
|
|
446
474
|
className: "text-sm text-text-primary",
|
|
447
475
|
children: e
|
|
448
476
|
})]
|
|
449
|
-
}, e)), /* @__PURE__ */
|
|
477
|
+
}, e)), /* @__PURE__ */ C("div", {
|
|
450
478
|
className: "pt-2 border-t border-border-subtle mt-2",
|
|
451
|
-
children: [/* @__PURE__ */
|
|
479
|
+
children: [/* @__PURE__ */ S("p", {
|
|
452
480
|
className: "text-xs text-text-secondary",
|
|
453
481
|
children: "Age Range"
|
|
454
|
-
}), /* @__PURE__ */
|
|
482
|
+
}), /* @__PURE__ */ C("p", {
|
|
455
483
|
className: "text-sm font-medium text-text-primary",
|
|
456
484
|
children: [
|
|
457
485
|
K.targeting.ageRange.min,
|
|
@@ -463,32 +491,32 @@ var O = [
|
|
|
463
491
|
})]
|
|
464
492
|
})]
|
|
465
493
|
}),
|
|
466
|
-
/* @__PURE__ */
|
|
494
|
+
/* @__PURE__ */ C("div", {
|
|
467
495
|
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
468
|
-
children: [/* @__PURE__ */
|
|
496
|
+
children: [/* @__PURE__ */ S("h4", {
|
|
469
497
|
className: "text-sm font-semibold text-text-primary mb-3",
|
|
470
498
|
children: "Interests"
|
|
471
|
-
}), /* @__PURE__ */
|
|
499
|
+
}), /* @__PURE__ */ S("div", {
|
|
472
500
|
className: "space-y-2",
|
|
473
|
-
children: K.targeting.interests.map((e) => /* @__PURE__ */
|
|
501
|
+
children: K.targeting.interests.map((e) => /* @__PURE__ */ C("div", {
|
|
474
502
|
className: "flex items-center gap-2",
|
|
475
|
-
children: [/* @__PURE__ */
|
|
503
|
+
children: [/* @__PURE__ */ S("div", { className: "h-2 w-2 rounded-full bg-status-success-text" }), /* @__PURE__ */ S("span", {
|
|
476
504
|
className: "text-sm text-text-primary",
|
|
477
505
|
children: e
|
|
478
506
|
})]
|
|
479
507
|
}, e))
|
|
480
508
|
})]
|
|
481
509
|
}),
|
|
482
|
-
/* @__PURE__ */
|
|
510
|
+
/* @__PURE__ */ C("div", {
|
|
483
511
|
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
484
|
-
children: [/* @__PURE__ */
|
|
512
|
+
children: [/* @__PURE__ */ S("h4", {
|
|
485
513
|
className: "text-sm font-semibold text-text-primary mb-3",
|
|
486
514
|
children: "Locations"
|
|
487
|
-
}), /* @__PURE__ */
|
|
515
|
+
}), /* @__PURE__ */ S("div", {
|
|
488
516
|
className: "space-y-2",
|
|
489
|
-
children: K.targeting.locations.map((e) => /* @__PURE__ */
|
|
517
|
+
children: K.targeting.locations.map((e) => /* @__PURE__ */ C("div", {
|
|
490
518
|
className: "flex items-center gap-2",
|
|
491
|
-
children: [/* @__PURE__ */
|
|
519
|
+
children: [/* @__PURE__ */ S("div", { className: "h-2 w-2 rounded-full bg-status-warning-text" }), /* @__PURE__ */ S("span", {
|
|
492
520
|
className: "text-sm text-text-primary",
|
|
493
521
|
children: e
|
|
494
522
|
})]
|
|
@@ -497,46 +525,46 @@ var O = [
|
|
|
497
525
|
})
|
|
498
526
|
]
|
|
499
527
|
}),
|
|
500
|
-
z === "assets" && /* @__PURE__ */
|
|
528
|
+
z === "assets" && /* @__PURE__ */ C("div", {
|
|
501
529
|
className: "space-y-6",
|
|
502
|
-
children: [/* @__PURE__ */
|
|
530
|
+
children: [/* @__PURE__ */ C("div", {
|
|
503
531
|
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
504
|
-
children: [/* @__PURE__ */
|
|
532
|
+
children: [/* @__PURE__ */ C("h4", {
|
|
505
533
|
className: "text-sm font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
506
|
-
children: [/* @__PURE__ */
|
|
507
|
-
}), /* @__PURE__ */
|
|
534
|
+
children: [/* @__PURE__ */ S(y, { className: "h-4 w-4 text-text-secondary" }), "Images & Media"]
|
|
535
|
+
}), /* @__PURE__ */ S("div", {
|
|
508
536
|
className: "grid grid-cols-2 gap-4 sm:grid-cols-3 lg:grid-cols-4",
|
|
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__ */
|
|
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", {
|
|
510
538
|
className: "aspect-video rounded-lg border border-border-subtle bg-bg-sunken flex items-center justify-center",
|
|
511
|
-
children: /* @__PURE__ */
|
|
539
|
+
children: /* @__PURE__ */ S(y, { className: "h-8 w-8 text-text-secondary" })
|
|
512
540
|
}, e)) : [
|
|
513
541
|
1,
|
|
514
542
|
2,
|
|
515
543
|
3
|
|
516
|
-
].map((e) => /* @__PURE__ */
|
|
544
|
+
].map((e) => /* @__PURE__ */ S("div", {
|
|
517
545
|
className: "aspect-video rounded-lg border border-dashed border-border-subtle bg-bg-sunken/30 flex items-center justify-center",
|
|
518
|
-
children: /* @__PURE__ */
|
|
546
|
+
children: /* @__PURE__ */ S(y, { className: "h-8 w-8 text-text-secondary/50" })
|
|
519
547
|
}, e))
|
|
520
548
|
})]
|
|
521
|
-
}), /* @__PURE__ */
|
|
549
|
+
}), /* @__PURE__ */ C("div", {
|
|
522
550
|
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
523
|
-
children: [/* @__PURE__ */
|
|
551
|
+
children: [/* @__PURE__ */ C("h4", {
|
|
524
552
|
className: "text-sm font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
525
|
-
children: [/* @__PURE__ */
|
|
526
|
-
}), /* @__PURE__ */
|
|
553
|
+
children: [/* @__PURE__ */ S(v, { className: "h-4 w-4 text-text-secondary" }), "Documents"]
|
|
554
|
+
}), /* @__PURE__ */ S("div", {
|
|
527
555
|
className: "space-y-2",
|
|
528
|
-
children:
|
|
556
|
+
children: A.map((e) => /* @__PURE__ */ C("div", {
|
|
529
557
|
className: "flex items-center justify-between rounded-md border border-border-subtle p-3 hover:bg-bg-sunken/50 transition-colors",
|
|
530
|
-
children: [/* @__PURE__ */
|
|
558
|
+
children: [/* @__PURE__ */ C("div", {
|
|
531
559
|
className: "flex items-center gap-3",
|
|
532
|
-
children: [/* @__PURE__ */
|
|
560
|
+
children: [/* @__PURE__ */ S(v, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
533
561
|
className: "text-sm font-medium text-text-primary",
|
|
534
562
|
children: e.name
|
|
535
|
-
}), /* @__PURE__ */
|
|
563
|
+
}), /* @__PURE__ */ S("p", {
|
|
536
564
|
className: "text-xs text-text-secondary",
|
|
537
565
|
children: e.size
|
|
538
566
|
})] })]
|
|
539
|
-
}), /* @__PURE__ */
|
|
567
|
+
}), /* @__PURE__ */ S("span", {
|
|
540
568
|
className: "text-xs text-text-secondary",
|
|
541
569
|
children: e.updated
|
|
542
570
|
})]
|
|
@@ -544,23 +572,23 @@ var O = [
|
|
|
544
572
|
})]
|
|
545
573
|
})]
|
|
546
574
|
}),
|
|
547
|
-
z === "team" && /* @__PURE__ */
|
|
575
|
+
z === "team" && /* @__PURE__ */ C("div", {
|
|
548
576
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
|
|
549
|
-
children: [$.map((e) => /* @__PURE__ */
|
|
577
|
+
children: [$.map((e) => /* @__PURE__ */ C("div", {
|
|
550
578
|
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop flex items-center gap-4",
|
|
551
|
-
children: [/* @__PURE__ */
|
|
579
|
+
children: [/* @__PURE__ */ S("div", {
|
|
552
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",
|
|
553
581
|
children: e.avatar
|
|
554
|
-
}), /* @__PURE__ */
|
|
582
|
+
}), /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
555
583
|
className: "text-sm font-semibold text-text-primary",
|
|
556
584
|
children: e.name
|
|
557
|
-
}), /* @__PURE__ */
|
|
585
|
+
}), /* @__PURE__ */ S("p", {
|
|
558
586
|
className: "text-xs text-text-secondary",
|
|
559
587
|
children: e.role
|
|
560
588
|
})] })]
|
|
561
|
-
}, e.name)), $.length === 0 && /* @__PURE__ */
|
|
589
|
+
}, e.name)), $.length === 0 && /* @__PURE__ */ S("div", {
|
|
562
590
|
className: "col-span-full",
|
|
563
|
-
children: /* @__PURE__ */
|
|
591
|
+
children: /* @__PURE__ */ S(u, {
|
|
564
592
|
illustration: "empty-people",
|
|
565
593
|
title: "No team members",
|
|
566
594
|
description: "No team members have been assigned to this campaign yet."
|
|
@@ -573,6 +601,6 @@ var O = [
|
|
|
573
601
|
});
|
|
574
602
|
};
|
|
575
603
|
//#endregion
|
|
576
|
-
export {
|
|
604
|
+
export { j as CampaignDetailsPage };
|
|
577
605
|
|
|
578
606
|
//# sourceMappingURL=CampaignDetailsPage.js.map
|