@burdenoff/microfe-headshotmarketing 2026.1117.1 → 2026.1124.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/generated/wspace-operations.d.ts +742 -0
- package/dist/generated/wspace-operations.js +752 -351
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.js +41 -33
- package/dist/generated/wspace-types.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdBudgetAiPanel.d.ts +7 -0
- package/dist/headshotmarketing/pages/ads/AdBudgetAiPanel.js +133 -0
- package/dist/headshotmarketing/pages/ads/AdBudgetAiPanel.js.map +1 -0
- package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js +54 -49
- package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ai/AiDecisionCard.d.ts +31 -0
- package/dist/headshotmarketing/pages/ai/AiDecisionCard.js +150 -0
- package/dist/headshotmarketing/pages/ai/AiDecisionCard.js.map +1 -0
- package/dist/headshotmarketing/pages/ai/AiOperationsPage.d.ts +2 -18
- package/dist/headshotmarketing/pages/ai/AiOperationsPage.js +607 -8
- package/dist/headshotmarketing/pages/ai/AiOperationsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ai/aiDecisionHelpers.d.ts +53 -0
- package/dist/headshotmarketing/pages/ai/aiDecisionHelpers.js +50 -0
- package/dist/headshotmarketing/pages/ai/aiDecisionHelpers.js.map +1 -0
- package/dist/headshotmarketing/pages/campaigns/CampaignAiPanel.d.ts +7 -0
- package/dist/headshotmarketing/pages/campaigns/CampaignAiPanel.js +267 -0
- package/dist/headshotmarketing/pages/campaigns/CampaignAiPanel.js.map +1 -0
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +258 -251
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/DealNextActionPanel.d.ts +14 -0
- package/dist/headshotmarketing/pages/crm/DealNextActionPanel.js +116 -0
- package/dist/headshotmarketing/pages/crm/DealNextActionPanel.js.map +1 -0
- package/dist/headshotmarketing/pages/crm/LeadAiDecisionPanel.d.ts +20 -0
- package/dist/headshotmarketing/pages/crm/LeadAiDecisionPanel.js +319 -0
- package/dist/headshotmarketing/pages/crm/LeadAiDecisionPanel.js.map +1 -0
- package/dist/headshotmarketing/pages/crm/LeadsPage.js +78 -41
- package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/PipelinePage.js +126 -102
- package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,13 +2,13 @@ import { ResponsiveContainer as e } from "../../../node_modules/recharts/es6/com
|
|
|
2
2
|
import { AreaChart as t } from "../../../node_modules/recharts/es6/chart/AreaChart.js";
|
|
3
3
|
import { Area as n } from "../../../node_modules/recharts/es6/cartesian/Area.js";
|
|
4
4
|
import { XAxis as ee } from "../../../node_modules/recharts/es6/cartesian/XAxis.js";
|
|
5
|
-
import { YAxis as
|
|
6
|
-
import { CartesianGrid as
|
|
7
|
-
import { Tooltip as
|
|
8
|
-
import { HeadshotmarketingBootstrapDataDocument as
|
|
9
|
-
import { HeadshotmarketingCampaignStatus as
|
|
10
|
-
import { cn as
|
|
11
|
-
import { toCampaignModel as
|
|
5
|
+
import { YAxis as te } from "../../../node_modules/recharts/es6/cartesian/YAxis.js";
|
|
6
|
+
import { CartesianGrid as ne } from "../../../node_modules/recharts/es6/cartesian/CartesianGrid.js";
|
|
7
|
+
import { Tooltip as re } from "../../../node_modules/recharts/es6/component/Tooltip.js";
|
|
8
|
+
import { HeadshotmarketingBootstrapDataDocument as r, HeadshotmarketingCampaignsListDocument as i, useCreateHeadshotmarketingCampaignMutation as ie, useDeleteHeadshotmarketingCampaignMutation as a, useHeadshotmarketingCampaignByIdQuery as o, useHeadshotmarketingResourceActivityQuery as s, useUpdateHeadshotmarketingCampaignMutation as c } from "../../../generated/wspace-operations.js";
|
|
9
|
+
import { HeadshotmarketingCampaignStatus as l } from "../../../generated/wspace-types.js";
|
|
10
|
+
import { cn as u, formatCurrency as d, formatDate as ae, formatNumber as oe } from "../../utils/helpers.js";
|
|
11
|
+
import { toCampaignModel as se, toCampaignPerformanceSeries as ce } from "../../utils/campaignMapper.js";
|
|
12
12
|
import "../../components/index.js";
|
|
13
13
|
import { PageLayout as f } from "../../components/PageLayout.js";
|
|
14
14
|
import { StatCard as p } from "../../components/StatCard.js";
|
|
@@ -17,17 +17,18 @@ import { EmptyState as m } from "../../components/EmptyState.js";
|
|
|
17
17
|
import { ChartCard as ue } from "../../components/ChartCard.js";
|
|
18
18
|
import { QueryStateBoundary as de } from "../../components/QueryStateBoundary.js";
|
|
19
19
|
import { useHeadshotMarketing as fe } from "../../context/HeadshotMarketingContext.js";
|
|
20
|
+
import { CampaignAiPanel as pe } from "./CampaignAiPanel.js";
|
|
20
21
|
import { useState as h } from "react";
|
|
21
|
-
import { Activity as
|
|
22
|
-
import { useParams as
|
|
23
|
-
import { jsx as
|
|
24
|
-
import { CTAOverflowMenu as
|
|
22
|
+
import { Activity as me, Archive as he, ArrowLeft as g, Calendar as ge, Clock as _e, Copy as ve, DollarSign as _, Edit as v, FileText as y, Image as b, Pause as ye, Play as be, Target as x, Trash2 as xe, TrendingUp as S } from "lucide-react";
|
|
23
|
+
import { useParams as C } from "react-router";
|
|
24
|
+
import { jsx as w, jsxs as T } from "react/jsx-runtime";
|
|
25
|
+
import { CTAOverflowMenu as E, EmphasisPanel as D, NextSteps as O, PagePurpose as k } from "@burdenoff/fe-libs/ui";
|
|
25
26
|
// src/headshotmarketing/pages/campaigns/CampaignDetailsPage.tsx
|
|
26
|
-
var
|
|
27
|
-
function
|
|
27
|
+
var A = [{ query: r }, i];
|
|
28
|
+
function j(e) {
|
|
28
29
|
return e.toLowerCase().split(/[_\s]+/).filter(Boolean).map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ");
|
|
29
30
|
}
|
|
30
|
-
var
|
|
31
|
+
var M = [
|
|
31
32
|
"var(--color-chart-1)",
|
|
32
33
|
"var(--color-chart-2)",
|
|
33
34
|
"var(--color-chart-3)",
|
|
@@ -35,14 +36,14 @@ var j = [
|
|
|
35
36
|
"var(--color-chart-5)",
|
|
36
37
|
"var(--color-chart-6)"
|
|
37
38
|
];
|
|
38
|
-
function
|
|
39
|
+
function Se(e) {
|
|
39
40
|
return e.split(/\s+/).filter(Boolean).map((e) => e[0]).join("").slice(0, 2).toUpperCase();
|
|
40
41
|
}
|
|
41
42
|
var N = () => {
|
|
42
|
-
let { navigate:
|
|
43
|
+
let { navigate: r, basePath: i } = fe(), { campaignId: N } = C(), { data: Ce, loading: we, error: Te, refetch: Ee } = o({
|
|
43
44
|
skip: !N,
|
|
44
45
|
variables: N ? { id: N } : void 0
|
|
45
|
-
}), [
|
|
46
|
+
}), [De, { loading: P }] = a(), [Oe, { loading: ke }] = c(), [Ae, { loading: je }] = ie(), [F, I] = h("overview"), [L, R] = h(null), z = Ce?.headshotmarketingCampaign, B = z ? se(z) : null, V = z?.status, H = V === l.Paused, Me = V === l.Archived, U = ke || je || P, { data: Ne, loading: Pe, error: Fe } = s({
|
|
46
47
|
skip: !N,
|
|
47
48
|
variables: { filter: {
|
|
48
49
|
resourceId: N,
|
|
@@ -50,192 +51,192 @@ var N = () => {
|
|
|
50
51
|
} },
|
|
51
52
|
errorPolicy: "all",
|
|
52
53
|
fetchPolicy: "cache-and-network"
|
|
53
|
-
}),
|
|
54
|
+
}), W = Ne?.getActivities ?? [], G = async (e) => {
|
|
54
55
|
if (N) {
|
|
55
|
-
|
|
56
|
+
R(null);
|
|
56
57
|
try {
|
|
57
58
|
await Oe({
|
|
58
59
|
variables: {
|
|
59
60
|
id: N,
|
|
60
61
|
input: { status: e }
|
|
61
62
|
},
|
|
62
|
-
refetchQueries:
|
|
63
|
+
refetchQueries: A
|
|
63
64
|
});
|
|
64
65
|
} catch (e) {
|
|
65
|
-
|
|
66
|
+
R(e instanceof Error ? e.message : "Failed to update campaign.");
|
|
66
67
|
}
|
|
67
68
|
}
|
|
68
|
-
},
|
|
69
|
-
if (
|
|
70
|
-
|
|
69
|
+
}, Ie = async () => {
|
|
70
|
+
if (z) {
|
|
71
|
+
R(null);
|
|
71
72
|
try {
|
|
72
73
|
let e = {
|
|
73
|
-
name: `${
|
|
74
|
-
description:
|
|
75
|
-
type:
|
|
76
|
-
status:
|
|
77
|
-
budget:
|
|
78
|
-
startDate:
|
|
79
|
-
endDate:
|
|
80
|
-
tags:
|
|
81
|
-
goals:
|
|
74
|
+
name: `${z.name} (Copy)`,
|
|
75
|
+
description: z.description ?? null,
|
|
76
|
+
type: z.type,
|
|
77
|
+
status: l.Draft,
|
|
78
|
+
budget: z.budget ?? null,
|
|
79
|
+
startDate: z.startDate ?? null,
|
|
80
|
+
endDate: z.endDate ?? null,
|
|
81
|
+
tags: z.tags,
|
|
82
|
+
goals: z.goals ?? void 0
|
|
82
83
|
}, t = (await Ae({
|
|
83
84
|
variables: { input: e },
|
|
84
|
-
refetchQueries:
|
|
85
|
+
refetchQueries: A,
|
|
85
86
|
awaitRefetchQueries: !0
|
|
86
87
|
})).data?.createHeadshotmarketingCampaign?.id;
|
|
87
|
-
t && i
|
|
88
|
+
t && r(i + "/campaigns/" + t);
|
|
88
89
|
} catch (e) {
|
|
89
|
-
|
|
90
|
+
R(e instanceof Error ? e.message : "Failed to duplicate campaign.");
|
|
90
91
|
}
|
|
91
92
|
}
|
|
92
|
-
},
|
|
93
|
-
if (N &&
|
|
94
|
-
|
|
93
|
+
}, Le = async () => {
|
|
94
|
+
if (N && B && window.confirm(`Delete campaign "${B.name}"? This cannot be undone.`)) {
|
|
95
|
+
R(null);
|
|
95
96
|
try {
|
|
96
|
-
await
|
|
97
|
+
await De({
|
|
97
98
|
variables: { id: N },
|
|
98
|
-
refetchQueries:
|
|
99
|
+
refetchQueries: A,
|
|
99
100
|
awaitRefetchQueries: !0
|
|
100
|
-
}), i
|
|
101
|
+
}), r(i + "/campaigns");
|
|
101
102
|
} catch (e) {
|
|
102
|
-
|
|
103
|
+
R(e instanceof Error ? e.message : "Failed to delete campaign.");
|
|
103
104
|
}
|
|
104
105
|
}
|
|
105
106
|
};
|
|
106
|
-
if (!
|
|
107
|
+
if (!B) return /* @__PURE__ */ w(f, {
|
|
107
108
|
title: "Campaign Details",
|
|
108
|
-
children: /* @__PURE__ */
|
|
109
|
-
loading:
|
|
110
|
-
error:
|
|
111
|
-
onRetry: () => void
|
|
109
|
+
children: /* @__PURE__ */ w(de, {
|
|
110
|
+
loading: we,
|
|
111
|
+
error: Te,
|
|
112
|
+
onRetry: () => void Ee(),
|
|
112
113
|
hasData: !1,
|
|
113
|
-
children: /* @__PURE__ */
|
|
114
|
+
children: /* @__PURE__ */ w(m, {
|
|
114
115
|
illustration: "empty-generic",
|
|
115
116
|
title: "Campaign not found",
|
|
116
117
|
description: "The campaign you're looking for doesn't exist or has been removed.",
|
|
117
|
-
action: /* @__PURE__ */
|
|
118
|
-
onClick: () => i
|
|
118
|
+
action: /* @__PURE__ */ T("button", {
|
|
119
|
+
onClick: () => r(i + "/campaigns"),
|
|
119
120
|
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",
|
|
120
|
-
children: [/* @__PURE__ */
|
|
121
|
+
children: [/* @__PURE__ */ w(g, { className: "h-4 w-4" }), "Back to Campaigns"]
|
|
121
122
|
})
|
|
122
123
|
})
|
|
123
124
|
})
|
|
124
125
|
});
|
|
125
|
-
let K =
|
|
126
|
-
return /* @__PURE__ */
|
|
127
|
-
title:
|
|
128
|
-
description:
|
|
129
|
-
actions: /* @__PURE__ */
|
|
126
|
+
let K = B.budget.total > 0 ? Math.round(B.budget.spent / B.budget.total * 100) : 0, q = new Date(B.timeline.startDate), J = new Date(B.timeline.endDate), Re = /* @__PURE__ */ new Date(), Y = Math.max(1, Math.ceil((J.getTime() - q.getTime()) / 864e5)), X = Math.max(0, Math.ceil((Re.getTime() - q.getTime()) / 864e5)), ze = Math.max(0, Y - X), Z = Math.min(Math.round(X / Y * 100), 100), Q = B.team, $ = B.assets.filter((e) => e.match(/\.(pdf|docx?|xlsx?|pptx?|txt|csv|rtf|odt|ods)$/i)), Be = ce(B);
|
|
127
|
+
return /* @__PURE__ */ T(f, {
|
|
128
|
+
title: B.name,
|
|
129
|
+
description: B.description,
|
|
130
|
+
actions: /* @__PURE__ */ T("div", {
|
|
130
131
|
className: "flex flex-wrap items-center gap-2",
|
|
131
132
|
children: [
|
|
132
|
-
/* @__PURE__ */
|
|
133
|
-
/* @__PURE__ */
|
|
134
|
-
onClick: () => i
|
|
133
|
+
/* @__PURE__ */ w(le, { status: B.status }),
|
|
134
|
+
/* @__PURE__ */ T("button", {
|
|
135
|
+
onClick: () => r(i + "/campaigns"),
|
|
135
136
|
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",
|
|
136
|
-
children: [/* @__PURE__ */
|
|
137
|
+
children: [/* @__PURE__ */ w(g, { className: "h-4 w-4" }), "Back"]
|
|
137
138
|
}),
|
|
138
|
-
/* @__PURE__ */
|
|
139
|
-
onClick: () => i
|
|
139
|
+
/* @__PURE__ */ T("button", {
|
|
140
|
+
onClick: () => r(i + "/campaigns/" + B.id + "/edit"),
|
|
140
141
|
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",
|
|
141
|
-
children: [/* @__PURE__ */
|
|
142
|
+
children: [/* @__PURE__ */ w(v, { className: "h-4 w-4" }), "Edit"]
|
|
142
143
|
}),
|
|
143
|
-
/* @__PURE__ */
|
|
144
|
+
/* @__PURE__ */ w(E, {
|
|
144
145
|
align: "end",
|
|
145
146
|
actions: [
|
|
146
147
|
{
|
|
147
|
-
label:
|
|
148
|
-
icon:
|
|
149
|
-
disabled:
|
|
150
|
-
onSelect: () => void
|
|
148
|
+
label: H ? "Resume" : "Pause",
|
|
149
|
+
icon: w(H ? be : ye, { className: "h-4 w-4" }),
|
|
150
|
+
disabled: U,
|
|
151
|
+
onSelect: () => void G(H ? l.Active : l.Paused)
|
|
151
152
|
},
|
|
152
153
|
{
|
|
153
154
|
label: "Duplicate",
|
|
154
|
-
icon: /* @__PURE__ */
|
|
155
|
-
disabled:
|
|
156
|
-
onSelect: () => void
|
|
155
|
+
icon: /* @__PURE__ */ w(ve, { className: "h-4 w-4" }),
|
|
156
|
+
disabled: U,
|
|
157
|
+
onSelect: () => void Ie()
|
|
157
158
|
},
|
|
158
159
|
{
|
|
159
160
|
label: "Archive",
|
|
160
|
-
icon: /* @__PURE__ */
|
|
161
|
-
disabled:
|
|
162
|
-
onSelect: () => void
|
|
161
|
+
icon: /* @__PURE__ */ w(he, { className: "h-4 w-4" }),
|
|
162
|
+
disabled: U || Me,
|
|
163
|
+
onSelect: () => void G(l.Archived)
|
|
163
164
|
},
|
|
164
165
|
{
|
|
165
166
|
label: "Delete",
|
|
166
|
-
icon: /* @__PURE__ */
|
|
167
|
+
icon: /* @__PURE__ */ w(xe, { className: "h-4 w-4" }),
|
|
167
168
|
intent: "destructive",
|
|
168
|
-
disabled:
|
|
169
|
-
onSelect: () => void
|
|
169
|
+
disabled: U,
|
|
170
|
+
onSelect: () => void Le()
|
|
170
171
|
}
|
|
171
172
|
]
|
|
172
173
|
})
|
|
173
174
|
]
|
|
174
175
|
}),
|
|
175
176
|
children: [
|
|
176
|
-
/* @__PURE__ */
|
|
177
|
-
/* @__PURE__ */
|
|
177
|
+
/* @__PURE__ */ w(k, { 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." }),
|
|
178
|
+
/* @__PURE__ */ w(D, { children: /* @__PURE__ */ T("div", {
|
|
178
179
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-5",
|
|
179
180
|
children: [
|
|
180
|
-
/* @__PURE__ */
|
|
181
|
+
/* @__PURE__ */ w(p, {
|
|
181
182
|
title: "Revenue",
|
|
182
|
-
value:
|
|
183
|
-
icon: /* @__PURE__ */
|
|
183
|
+
value: d(B.metrics.revenue),
|
|
184
|
+
icon: /* @__PURE__ */ w(_, { className: "h-5 w-5" })
|
|
184
185
|
}),
|
|
185
|
-
/* @__PURE__ */
|
|
186
|
+
/* @__PURE__ */ w(p, {
|
|
186
187
|
title: "Conversions",
|
|
187
|
-
value:
|
|
188
|
-
icon: /* @__PURE__ */
|
|
188
|
+
value: oe(B.metrics.conversions),
|
|
189
|
+
icon: /* @__PURE__ */ w(x, { className: "h-5 w-5" })
|
|
189
190
|
}),
|
|
190
|
-
/* @__PURE__ */
|
|
191
|
+
/* @__PURE__ */ w(p, {
|
|
191
192
|
title: "ROAS",
|
|
192
|
-
value: `${
|
|
193
|
-
icon: /* @__PURE__ */
|
|
193
|
+
value: `${B.metrics.roas.toFixed(1)}x`,
|
|
194
|
+
icon: /* @__PURE__ */ w(S, { className: "h-5 w-5" })
|
|
194
195
|
}),
|
|
195
|
-
/* @__PURE__ */
|
|
196
|
+
/* @__PURE__ */ w(p, {
|
|
196
197
|
title: "Budget Used",
|
|
197
198
|
value: `${K}%`,
|
|
198
|
-
icon: /* @__PURE__ */
|
|
199
|
+
icon: /* @__PURE__ */ w(_, { className: "h-5 w-5" }),
|
|
199
200
|
className: "relative"
|
|
200
201
|
}),
|
|
201
|
-
/* @__PURE__ */
|
|
202
|
+
/* @__PURE__ */ w(p, {
|
|
202
203
|
title: "Days Remaining",
|
|
203
|
-
value: String(
|
|
204
|
-
icon: /* @__PURE__ */
|
|
204
|
+
value: String(ze),
|
|
205
|
+
icon: /* @__PURE__ */ w(ge, { className: "h-5 w-5" })
|
|
205
206
|
})
|
|
206
207
|
]
|
|
207
208
|
}) }),
|
|
208
|
-
/* @__PURE__ */
|
|
209
|
+
/* @__PURE__ */ w(O, {
|
|
209
210
|
storageKey: "headshotmarketing-campaign-details",
|
|
210
211
|
steps: [
|
|
211
212
|
{
|
|
212
213
|
id: "analytics",
|
|
213
214
|
label: "Review performance",
|
|
214
215
|
description: "See revenue, cost and conversion trends over time.",
|
|
215
|
-
icon: /* @__PURE__ */
|
|
216
|
-
onClick: () =>
|
|
216
|
+
icon: /* @__PURE__ */ w(S, { className: "h-4 w-4" }),
|
|
217
|
+
onClick: () => I("analytics")
|
|
217
218
|
},
|
|
218
219
|
{
|
|
219
220
|
id: "audience",
|
|
220
221
|
label: "Check audience targeting",
|
|
221
222
|
description: "Confirm demographics, interests and locations.",
|
|
222
|
-
icon: /* @__PURE__ */
|
|
223
|
-
onClick: () =>
|
|
223
|
+
icon: /* @__PURE__ */ w(x, { className: "h-4 w-4" }),
|
|
224
|
+
onClick: () => I("audience")
|
|
224
225
|
},
|
|
225
226
|
{
|
|
226
227
|
id: "edit",
|
|
227
228
|
label: "Adjust budget or schedule",
|
|
228
229
|
description: "Open the campaign editor to refine the setup.",
|
|
229
|
-
icon: /* @__PURE__ */
|
|
230
|
-
onClick: () => i
|
|
230
|
+
icon: /* @__PURE__ */ w(v, { className: "h-4 w-4" }),
|
|
231
|
+
onClick: () => r(i + "/campaigns/" + B.id + "/edit")
|
|
231
232
|
}
|
|
232
233
|
]
|
|
233
234
|
}),
|
|
234
|
-
|
|
235
|
+
L && /* @__PURE__ */ w("div", {
|
|
235
236
|
className: "rounded-lg border border-status-error-border/30 bg-status-error-bg/10 px-4 py-3 text-sm text-status-error-text",
|
|
236
|
-
children:
|
|
237
|
+
children: L
|
|
237
238
|
}),
|
|
238
|
-
/* @__PURE__ */
|
|
239
|
+
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("div", {
|
|
239
240
|
className: "flex flex-nowrap items-center gap-1 overflow-x-auto border-b border-border-subtle",
|
|
240
241
|
children: [
|
|
241
242
|
{
|
|
@@ -258,165 +259,165 @@ var N = () => {
|
|
|
258
259
|
key: "team",
|
|
259
260
|
label: "Team"
|
|
260
261
|
}
|
|
261
|
-
].map((e) => /* @__PURE__ */
|
|
262
|
-
onClick: () =>
|
|
263
|
-
className:
|
|
262
|
+
].map((e) => /* @__PURE__ */ w("button", {
|
|
263
|
+
onClick: () => I(e.key),
|
|
264
|
+
className: u("px-4 py-2 text-sm font-medium border-b-2 transition-colors -mb-px", F === e.key ? "border-primary text-text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
|
|
264
265
|
children: e.label
|
|
265
266
|
}, e.key))
|
|
266
|
-
}), /* @__PURE__ */
|
|
267
|
+
}), /* @__PURE__ */ T("div", {
|
|
267
268
|
className: "mt-6",
|
|
268
269
|
children: [
|
|
269
|
-
|
|
270
|
+
F === "overview" && /* @__PURE__ */ T("div", {
|
|
270
271
|
className: "space-y-6",
|
|
271
272
|
children: [
|
|
272
|
-
/* @__PURE__ */
|
|
273
|
+
/* @__PURE__ */ T("div", {
|
|
273
274
|
className: "grid grid-cols-1 gap-6 lg:grid-cols-2",
|
|
274
|
-
children: [/* @__PURE__ */
|
|
275
|
+
children: [/* @__PURE__ */ T("div", {
|
|
275
276
|
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
276
277
|
children: [
|
|
277
|
-
/* @__PURE__ */
|
|
278
|
+
/* @__PURE__ */ T("h4", {
|
|
278
279
|
className: "text-sm font-semibold text-text-primary mb-3 flex items-center gap-2",
|
|
279
|
-
children: [/* @__PURE__ */
|
|
280
|
+
children: [/* @__PURE__ */ w(_e, { className: "h-4 w-4 text-text-secondary" }), "Timeline Progress"]
|
|
280
281
|
}),
|
|
281
|
-
/* @__PURE__ */
|
|
282
|
+
/* @__PURE__ */ T("div", {
|
|
282
283
|
className: "flex items-center justify-between text-xs text-text-secondary mb-1.5",
|
|
283
284
|
children: [
|
|
284
|
-
/* @__PURE__ */
|
|
285
|
-
/* @__PURE__ */
|
|
286
|
-
/* @__PURE__ */
|
|
285
|
+
/* @__PURE__ */ w("span", { children: q.toLocaleDateString() }),
|
|
286
|
+
/* @__PURE__ */ T("span", { children: [Z, "%"] }),
|
|
287
|
+
/* @__PURE__ */ w("span", { children: J.toLocaleDateString() })
|
|
287
288
|
]
|
|
288
289
|
}),
|
|
289
|
-
/* @__PURE__ */
|
|
290
|
+
/* @__PURE__ */ w("div", {
|
|
290
291
|
className: "h-2.5 w-full rounded-full bg-bg-sunken",
|
|
291
|
-
children: /* @__PURE__ */
|
|
292
|
+
children: /* @__PURE__ */ w("div", {
|
|
292
293
|
className: "h-2.5 rounded-full bg-action-primary-bg transition-all",
|
|
293
294
|
style: { width: `${Z}%` }
|
|
294
295
|
})
|
|
295
296
|
})
|
|
296
297
|
]
|
|
297
|
-
}), /* @__PURE__ */
|
|
298
|
+
}), /* @__PURE__ */ T("div", {
|
|
298
299
|
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
299
300
|
children: [
|
|
300
|
-
/* @__PURE__ */
|
|
301
|
+
/* @__PURE__ */ T("h4", {
|
|
301
302
|
className: "text-sm font-semibold text-text-primary mb-3 flex items-center gap-2",
|
|
302
|
-
children: [/* @__PURE__ */
|
|
303
|
+
children: [/* @__PURE__ */ w(_, { className: "h-4 w-4 text-text-secondary" }), "Budget Progress"]
|
|
303
304
|
}),
|
|
304
|
-
/* @__PURE__ */
|
|
305
|
+
/* @__PURE__ */ T("div", {
|
|
305
306
|
className: "flex items-center justify-between text-xs text-text-secondary mb-1.5",
|
|
306
307
|
children: [
|
|
307
|
-
/* @__PURE__ */
|
|
308
|
-
/* @__PURE__ */
|
|
309
|
-
/* @__PURE__ */
|
|
308
|
+
/* @__PURE__ */ T("span", { children: [d(B.budget.spent), " spent"] }),
|
|
309
|
+
/* @__PURE__ */ T("span", { children: [K, "%"] }),
|
|
310
|
+
/* @__PURE__ */ T("span", { children: [d(B.budget.total), " total"] })
|
|
310
311
|
]
|
|
311
312
|
}),
|
|
312
|
-
/* @__PURE__ */
|
|
313
|
+
/* @__PURE__ */ w("div", {
|
|
313
314
|
className: "h-2.5 w-full rounded-full bg-bg-sunken",
|
|
314
|
-
children: /* @__PURE__ */
|
|
315
|
-
className:
|
|
315
|
+
children: /* @__PURE__ */ w("div", {
|
|
316
|
+
className: u("h-2.5 rounded-full transition-all", K >= 90 ? "bg-status-error-bg" : "bg-action-primary-bg"),
|
|
316
317
|
style: { width: `${K}%` }
|
|
317
318
|
})
|
|
318
319
|
})
|
|
319
320
|
]
|
|
320
321
|
})]
|
|
321
322
|
}),
|
|
322
|
-
/* @__PURE__ */
|
|
323
|
+
/* @__PURE__ */ T("div", {
|
|
323
324
|
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
324
|
-
children: [/* @__PURE__ */
|
|
325
|
+
children: [/* @__PURE__ */ w("h4", {
|
|
325
326
|
className: "text-sm font-semibold text-text-primary mb-3",
|
|
326
327
|
children: "Active Channels"
|
|
327
|
-
}), /* @__PURE__ */
|
|
328
|
+
}), /* @__PURE__ */ w("div", {
|
|
328
329
|
className: "flex flex-wrap gap-2",
|
|
329
|
-
children:
|
|
330
|
+
children: B.channels.map((e) => /* @__PURE__ */ w("span", {
|
|
330
331
|
className: "inline-flex items-center rounded-full bg-bg-sunken px-3 py-1 text-xs font-medium text-text-primary",
|
|
331
332
|
children: e
|
|
332
333
|
}, e))
|
|
333
334
|
})]
|
|
334
335
|
}),
|
|
335
|
-
/* @__PURE__ */
|
|
336
|
+
/* @__PURE__ */ T("div", {
|
|
336
337
|
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
337
|
-
children: [/* @__PURE__ */
|
|
338
|
+
children: [/* @__PURE__ */ T("h4", {
|
|
338
339
|
className: "text-sm font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
339
|
-
children: [/* @__PURE__ */
|
|
340
|
-
}), Pe &&
|
|
340
|
+
children: [/* @__PURE__ */ w(me, { className: "h-4 w-4 text-text-secondary" }), "Recent Activity"]
|
|
341
|
+
}), Pe && W.length === 0 ? /* @__PURE__ */ w("div", {
|
|
341
342
|
className: "space-y-3 py-2",
|
|
342
343
|
children: [
|
|
343
344
|
0,
|
|
344
345
|
1,
|
|
345
346
|
2
|
|
346
|
-
].map((e) => /* @__PURE__ */
|
|
347
|
-
}) :
|
|
347
|
+
].map((e) => /* @__PURE__ */ w("div", { className: "h-10 rounded-md bg-bg-sunken/50 animate-pulse" }, e))
|
|
348
|
+
}) : W.length > 0 ? /* @__PURE__ */ w("ul", {
|
|
348
349
|
className: "space-y-3",
|
|
349
|
-
children:
|
|
350
|
+
children: W.map((e) => /* @__PURE__ */ T("li", {
|
|
350
351
|
className: "flex items-start gap-3",
|
|
351
|
-
children: [/* @__PURE__ */
|
|
352
|
+
children: [/* @__PURE__ */ w("span", { className: "mt-1 h-2 w-2 flex-shrink-0 rounded-full bg-action-primary-bg" }), /* @__PURE__ */ T("div", {
|
|
352
353
|
className: "min-w-0 flex-1",
|
|
353
|
-
children: [/* @__PURE__ */
|
|
354
|
+
children: [/* @__PURE__ */ w("p", {
|
|
354
355
|
className: "text-sm text-text-primary break-words",
|
|
355
|
-
children: e.description ??
|
|
356
|
-
}), /* @__PURE__ */
|
|
356
|
+
children: e.description ?? j(e.action)
|
|
357
|
+
}), /* @__PURE__ */ w("p", {
|
|
357
358
|
className: "text-xs text-text-secondary",
|
|
358
|
-
children:
|
|
359
|
+
children: ae(e.timestamp, "relative")
|
|
359
360
|
})]
|
|
360
361
|
})]
|
|
361
362
|
}, e.id))
|
|
362
|
-
}) : /* @__PURE__ */
|
|
363
|
+
}) : /* @__PURE__ */ w("p", {
|
|
363
364
|
className: "text-sm text-text-secondary py-4 text-center",
|
|
364
365
|
children: Fe ? "Activity is unavailable right now." : "No recent activity yet."
|
|
365
366
|
})]
|
|
366
367
|
})
|
|
367
368
|
]
|
|
368
369
|
}),
|
|
369
|
-
|
|
370
|
+
F === "analytics" && /* @__PURE__ */ w(ue, {
|
|
370
371
|
title: "Performance Over Time",
|
|
371
372
|
subtitle: "Revenue, cost, and conversions trend",
|
|
372
|
-
children: /* @__PURE__ */
|
|
373
|
+
children: /* @__PURE__ */ w(e, {
|
|
373
374
|
width: "100%",
|
|
374
375
|
height: 350,
|
|
375
|
-
children: /* @__PURE__ */
|
|
376
|
-
data:
|
|
376
|
+
children: /* @__PURE__ */ T(t, {
|
|
377
|
+
data: Be,
|
|
377
378
|
children: [
|
|
378
|
-
/* @__PURE__ */
|
|
379
|
+
/* @__PURE__ */ w(ne, {
|
|
379
380
|
strokeDasharray: "3 3",
|
|
380
381
|
className: "stroke-border"
|
|
381
382
|
}),
|
|
382
|
-
/* @__PURE__ */
|
|
383
|
+
/* @__PURE__ */ w(ee, {
|
|
383
384
|
dataKey: "date",
|
|
384
385
|
tick: { fontSize: 11 },
|
|
385
386
|
className: "text-text-secondary",
|
|
386
387
|
tickFormatter: (e) => e.slice(5)
|
|
387
388
|
}),
|
|
388
|
-
/* @__PURE__ */
|
|
389
|
+
/* @__PURE__ */ w(te, {
|
|
389
390
|
tick: { fontSize: 11 },
|
|
390
391
|
className: "text-text-secondary"
|
|
391
392
|
}),
|
|
392
|
-
/* @__PURE__ */
|
|
393
|
+
/* @__PURE__ */ w(re, { contentStyle: {
|
|
393
394
|
backgroundColor: "var(--color-card)",
|
|
394
395
|
border: "1px solid var(--color-border)",
|
|
395
396
|
borderRadius: 8
|
|
396
397
|
} }),
|
|
397
|
-
/* @__PURE__ */
|
|
398
|
+
/* @__PURE__ */ w(n, {
|
|
398
399
|
type: "monotone",
|
|
399
400
|
dataKey: "revenue",
|
|
400
|
-
stroke:
|
|
401
|
-
fill:
|
|
401
|
+
stroke: M[0],
|
|
402
|
+
fill: M[0],
|
|
402
403
|
fillOpacity: .15,
|
|
403
404
|
strokeWidth: 2,
|
|
404
405
|
name: "Revenue"
|
|
405
406
|
}),
|
|
406
|
-
/* @__PURE__ */
|
|
407
|
+
/* @__PURE__ */ w(n, {
|
|
407
408
|
type: "monotone",
|
|
408
409
|
dataKey: "cost",
|
|
409
|
-
stroke:
|
|
410
|
-
fill:
|
|
410
|
+
stroke: M[3],
|
|
411
|
+
fill: M[3],
|
|
411
412
|
fillOpacity: .1,
|
|
412
413
|
strokeWidth: 2,
|
|
413
414
|
name: "Cost"
|
|
414
415
|
}),
|
|
415
|
-
/* @__PURE__ */
|
|
416
|
+
/* @__PURE__ */ w(n, {
|
|
416
417
|
type: "monotone",
|
|
417
418
|
dataKey: "conversions",
|
|
418
|
-
stroke:
|
|
419
|
-
fill:
|
|
419
|
+
stroke: M[1],
|
|
420
|
+
fill: M[1],
|
|
420
421
|
fillOpacity: .1,
|
|
421
422
|
strokeWidth: 2,
|
|
422
423
|
name: "Conversions"
|
|
@@ -425,131 +426,137 @@ var N = () => {
|
|
|
425
426
|
})
|
|
426
427
|
})
|
|
427
428
|
}),
|
|
428
|
-
|
|
429
|
-
className: "
|
|
430
|
-
children: [
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
className: "
|
|
435
|
-
children: "
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
className: "
|
|
440
|
-
children: [
|
|
441
|
-
className: "
|
|
442
|
-
children:
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
className: "
|
|
448
|
-
children: "
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
429
|
+
F === "audience" && /* @__PURE__ */ T("div", {
|
|
430
|
+
className: "space-y-6",
|
|
431
|
+
children: [/* @__PURE__ */ T("div", {
|
|
432
|
+
className: "grid grid-cols-1 gap-6 lg:grid-cols-3",
|
|
433
|
+
children: [
|
|
434
|
+
/* @__PURE__ */ T("div", {
|
|
435
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
436
|
+
children: [/* @__PURE__ */ w("h4", {
|
|
437
|
+
className: "text-sm font-semibold text-text-primary mb-3",
|
|
438
|
+
children: "Demographics"
|
|
439
|
+
}), /* @__PURE__ */ T("div", {
|
|
440
|
+
className: "space-y-2",
|
|
441
|
+
children: [B.targeting.demographics.map((e) => /* @__PURE__ */ T("div", {
|
|
442
|
+
className: "flex items-center gap-2",
|
|
443
|
+
children: [/* @__PURE__ */ w("div", { className: "h-2 w-2 rounded-full bg-action-primary-bg" }), /* @__PURE__ */ w("span", {
|
|
444
|
+
className: "text-sm text-text-primary",
|
|
445
|
+
children: e
|
|
446
|
+
})]
|
|
447
|
+
}, e)), /* @__PURE__ */ T("div", {
|
|
448
|
+
className: "pt-2 border-t border-border-subtle mt-2",
|
|
449
|
+
children: [/* @__PURE__ */ w("p", {
|
|
450
|
+
className: "text-xs text-text-secondary",
|
|
451
|
+
children: "Age Range"
|
|
452
|
+
}), /* @__PURE__ */ T("p", {
|
|
453
|
+
className: "text-sm font-medium text-text-primary",
|
|
454
|
+
children: [
|
|
455
|
+
B.targeting.ageRange.min,
|
|
456
|
+
" -",
|
|
457
|
+
" ",
|
|
458
|
+
B.targeting.ageRange.max
|
|
459
|
+
]
|
|
460
|
+
})]
|
|
457
461
|
})]
|
|
458
462
|
})]
|
|
459
|
-
})
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
})
|
|
474
|
-
}
|
|
475
|
-
})
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
})
|
|
490
|
-
}
|
|
491
|
-
})
|
|
492
|
-
|
|
493
|
-
|
|
463
|
+
}),
|
|
464
|
+
/* @__PURE__ */ T("div", {
|
|
465
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
466
|
+
children: [/* @__PURE__ */ w("h4", {
|
|
467
|
+
className: "text-sm font-semibold text-text-primary mb-3",
|
|
468
|
+
children: "Interests"
|
|
469
|
+
}), /* @__PURE__ */ w("div", {
|
|
470
|
+
className: "space-y-2",
|
|
471
|
+
children: B.targeting.interests.map((e) => /* @__PURE__ */ T("div", {
|
|
472
|
+
className: "flex items-center gap-2",
|
|
473
|
+
children: [/* @__PURE__ */ w("div", { className: "h-2 w-2 rounded-full bg-status-success-text" }), /* @__PURE__ */ w("span", {
|
|
474
|
+
className: "text-sm text-text-primary",
|
|
475
|
+
children: e
|
|
476
|
+
})]
|
|
477
|
+
}, e))
|
|
478
|
+
})]
|
|
479
|
+
}),
|
|
480
|
+
/* @__PURE__ */ T("div", {
|
|
481
|
+
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
482
|
+
children: [/* @__PURE__ */ w("h4", {
|
|
483
|
+
className: "text-sm font-semibold text-text-primary mb-3",
|
|
484
|
+
children: "Locations"
|
|
485
|
+
}), /* @__PURE__ */ w("div", {
|
|
486
|
+
className: "space-y-2",
|
|
487
|
+
children: B.targeting.locations.map((e) => /* @__PURE__ */ T("div", {
|
|
488
|
+
className: "flex items-center gap-2",
|
|
489
|
+
children: [/* @__PURE__ */ w("div", { className: "h-2 w-2 rounded-full bg-status-warning-text" }), /* @__PURE__ */ w("span", {
|
|
490
|
+
className: "text-sm text-text-primary",
|
|
491
|
+
children: e
|
|
492
|
+
})]
|
|
493
|
+
}, e))
|
|
494
|
+
})]
|
|
495
|
+
})
|
|
496
|
+
]
|
|
497
|
+
}), /* @__PURE__ */ w(pe, {
|
|
498
|
+
campaignId: B.id,
|
|
499
|
+
campaignName: B.name
|
|
500
|
+
})]
|
|
494
501
|
}),
|
|
495
|
-
|
|
502
|
+
F === "assets" && /* @__PURE__ */ T("div", {
|
|
496
503
|
className: "space-y-6",
|
|
497
|
-
children: [/* @__PURE__ */
|
|
504
|
+
children: [/* @__PURE__ */ T("div", {
|
|
498
505
|
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
499
|
-
children: [/* @__PURE__ */
|
|
506
|
+
children: [/* @__PURE__ */ T("h4", {
|
|
500
507
|
className: "text-sm font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
501
|
-
children: [/* @__PURE__ */
|
|
502
|
-
}), /* @__PURE__ */
|
|
508
|
+
children: [/* @__PURE__ */ w(b, { className: "h-4 w-4 text-text-secondary" }), "Images & Media"]
|
|
509
|
+
}), /* @__PURE__ */ w("div", {
|
|
503
510
|
className: "grid grid-cols-2 gap-4 sm:grid-cols-3 lg:grid-cols-4",
|
|
504
|
-
children:
|
|
511
|
+
children: B.assets.filter((e) => e.match(/\.(jpg|jpeg|png|gif|mp4|webm)$/i)).length > 0 ? B.assets.filter((e) => e.match(/\.(jpg|jpeg|png|gif|mp4|webm)$/i)).map((e) => /* @__PURE__ */ w("div", {
|
|
505
512
|
className: "aspect-video rounded-lg border border-border-subtle bg-bg-sunken flex items-center justify-center",
|
|
506
|
-
children: /* @__PURE__ */
|
|
513
|
+
children: /* @__PURE__ */ w(b, { className: "h-8 w-8 text-text-secondary" })
|
|
507
514
|
}, e)) : [
|
|
508
515
|
1,
|
|
509
516
|
2,
|
|
510
517
|
3
|
|
511
|
-
].map((e) => /* @__PURE__ */
|
|
518
|
+
].map((e) => /* @__PURE__ */ w("div", {
|
|
512
519
|
className: "aspect-video rounded-lg border border-dashed border-border-subtle bg-bg-sunken/30 flex items-center justify-center",
|
|
513
|
-
children: /* @__PURE__ */
|
|
520
|
+
children: /* @__PURE__ */ w(b, { className: "h-8 w-8 text-text-secondary/50" })
|
|
514
521
|
}, e))
|
|
515
522
|
})]
|
|
516
|
-
}), /* @__PURE__ */
|
|
523
|
+
}), /* @__PURE__ */ T("div", {
|
|
517
524
|
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop",
|
|
518
|
-
children: [/* @__PURE__ */
|
|
525
|
+
children: [/* @__PURE__ */ T("h4", {
|
|
519
526
|
className: "text-sm font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
520
|
-
children: [/* @__PURE__ */
|
|
521
|
-
}), $.length > 0 ? /* @__PURE__ */
|
|
527
|
+
children: [/* @__PURE__ */ w(y, { className: "h-4 w-4 text-text-secondary" }), "Documents"]
|
|
528
|
+
}), $.length > 0 ? /* @__PURE__ */ w("div", {
|
|
522
529
|
className: "space-y-2",
|
|
523
|
-
children: $.map((e) => /* @__PURE__ */
|
|
530
|
+
children: $.map((e) => /* @__PURE__ */ w("div", {
|
|
524
531
|
className: "flex items-center justify-between rounded-md border border-border-subtle p-3 hover:bg-bg-sunken/50 transition-colors",
|
|
525
|
-
children: /* @__PURE__ */
|
|
532
|
+
children: /* @__PURE__ */ T("div", {
|
|
526
533
|
className: "flex items-center gap-3",
|
|
527
|
-
children: [/* @__PURE__ */
|
|
534
|
+
children: [/* @__PURE__ */ w(y, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ w("p", {
|
|
528
535
|
className: "text-sm font-medium text-text-primary break-all",
|
|
529
536
|
children: e.split("/").pop() ?? e
|
|
530
537
|
})]
|
|
531
538
|
})
|
|
532
539
|
}, e))
|
|
533
|
-
}) : /* @__PURE__ */
|
|
540
|
+
}) : /* @__PURE__ */ w("p", {
|
|
534
541
|
className: "text-sm text-text-secondary py-4 text-center",
|
|
535
542
|
children: "No documents yet."
|
|
536
543
|
})]
|
|
537
544
|
})]
|
|
538
545
|
}),
|
|
539
|
-
|
|
546
|
+
F === "team" && /* @__PURE__ */ T("div", {
|
|
540
547
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
|
|
541
|
-
children: [Q.map((e) => /* @__PURE__ */
|
|
548
|
+
children: [Q.map((e) => /* @__PURE__ */ T("div", {
|
|
542
549
|
className: "rounded-lg border border-border-seam bg-gloss-card p-5 shadow-pop flex items-center gap-4",
|
|
543
|
-
children: [/* @__PURE__ */
|
|
550
|
+
children: [/* @__PURE__ */ w("div", {
|
|
544
551
|
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",
|
|
545
|
-
children:
|
|
546
|
-
}), /* @__PURE__ */
|
|
552
|
+
children: Se(e)
|
|
553
|
+
}), /* @__PURE__ */ w("div", { children: /* @__PURE__ */ w("p", {
|
|
547
554
|
className: "text-sm font-semibold text-text-primary",
|
|
548
555
|
children: e
|
|
549
556
|
}) })]
|
|
550
|
-
}, e)), Q.length === 0 && /* @__PURE__ */
|
|
557
|
+
}, e)), Q.length === 0 && /* @__PURE__ */ w("div", {
|
|
551
558
|
className: "col-span-full",
|
|
552
|
-
children: /* @__PURE__ */
|
|
559
|
+
children: /* @__PURE__ */ w(m, {
|
|
553
560
|
illustration: "empty-people",
|
|
554
561
|
title: "No team members",
|
|
555
562
|
description: "No team members have been assigned to this campaign yet."
|