@burdenoff/microfe-headshotmarketing 2026.704.5 → 2026.704.6
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.js +197 -100
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdReachEstimatePanel.js +147 -0
- package/dist/headshotmarketing/pages/ads/AdReachEstimatePanel.js.map +1 -0
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +246 -235
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +123 -233
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/TemplateCard.js +81 -0
- package/dist/headshotmarketing/pages/campaigns/TemplateCard.js.map +1 -0
- package/dist/headshotmarketing/pages/crm/ConvertLeadButton.js +107 -0
- package/dist/headshotmarketing/pages/crm/ConvertLeadButton.js.map +1 -0
- package/dist/headshotmarketing/pages/crm/LeadCreateModal.js +232 -0
- package/dist/headshotmarketing/pages/crm/LeadCreateModal.js.map +1 -0
- package/dist/headshotmarketing/pages/crm/LeadsPage.js +267 -233
- package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
- package/dist/headshotmarketing/utils/adsMapper.js +2 -2
- package/dist/headshotmarketing/utils/adsMapper.js.map +1 -1
- package/dist/headshotmarketing/utils/campaignMapper.js +1 -22
- package/dist/headshotmarketing/utils/campaignMapper.js.map +1 -1
- package/dist/headshotmarketing/utils/crmMapper.js +2 -2
- package/dist/headshotmarketing/utils/crmMapper.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { useHeadshotmarketingEstimateAdReachQuery as e } from "../../../generated/wspace-operations.js";
|
|
2
|
+
import { cn as t, formatNumber as n } from "../../utils/helpers.js";
|
|
3
|
+
import { useEffect as r, useState as i } from "react";
|
|
4
|
+
import { AlertCircle as a, Eye as o, Gauge as s, Loader2 as c, TrendingUp as l, Users as u } from "lucide-react";
|
|
5
|
+
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
6
|
+
import { GlassCard as p } from "@burdenoff/fe-libs/ui";
|
|
7
|
+
//#region src/headshotmarketing/pages/ads/AdReachEstimatePanel.tsx
|
|
8
|
+
function m(e, t) {
|
|
9
|
+
let [n, a] = i(e);
|
|
10
|
+
return r(() => {
|
|
11
|
+
let n = setTimeout(() => a(e), t);
|
|
12
|
+
return () => clearTimeout(n);
|
|
13
|
+
}, [e, t]), n;
|
|
14
|
+
}
|
|
15
|
+
var h = (e, t, n) => Math.min(Math.max(e, t), n), g = (e) => e >= 10 ? `${Math.round(e)}%` : `${e.toFixed(1)}%`, _ = ({ audienceId: r, dailyBudget: i, platform: _, className: y }) => {
|
|
16
|
+
let b = Number.isFinite(i) && i > 0 ? Math.round(i * 100) / 100 : 0, x = m(r, 350), S = m(b, 350), C = m(_, 350), w = S > 0, { data: T, previousData: E, loading: D, error: O } = e({
|
|
17
|
+
variables: {
|
|
18
|
+
audienceId: x,
|
|
19
|
+
dailyBudget: S,
|
|
20
|
+
platform: C
|
|
21
|
+
},
|
|
22
|
+
skip: !w,
|
|
23
|
+
errorPolicy: "all",
|
|
24
|
+
fetchPolicy: "cache-first",
|
|
25
|
+
notifyOnNetworkStatusChange: !0
|
|
26
|
+
}), k = T?.headshotmarketingEstimateAdReach ?? E?.headshotmarketingEstimateAdReach ?? null, A = D && k !== null, j;
|
|
27
|
+
if (!w && k === null) j = /* @__PURE__ */ d("p", {
|
|
28
|
+
className: "text-sm text-text-secondary",
|
|
29
|
+
children: "Enter a budget above to project how many people this campaign could reach each day."
|
|
30
|
+
});
|
|
31
|
+
else if (O && k === null) j = /* @__PURE__ */ f("div", {
|
|
32
|
+
className: "flex items-start gap-2 rounded-lg border border-status-error-border/30 bg-status-error-bg/10 px-3 py-2.5 text-sm text-status-error-text",
|
|
33
|
+
children: [/* @__PURE__ */ d(a, { className: "mt-0.5 h-4 w-4 shrink-0" }), /* @__PURE__ */ f("span", { children: ["We couldn't estimate reach right now. ", O.message] })]
|
|
34
|
+
});
|
|
35
|
+
else if (D && k === null) j = /* @__PURE__ */ f("div", {
|
|
36
|
+
className: "space-y-3",
|
|
37
|
+
"aria-busy": "true",
|
|
38
|
+
children: [
|
|
39
|
+
/* @__PURE__ */ d("div", { className: "h-8 w-40 animate-pulse rounded-md bg-bg-sunken" }),
|
|
40
|
+
/* @__PURE__ */ d("div", { className: "h-2.5 w-full animate-pulse rounded-full bg-bg-sunken" }),
|
|
41
|
+
/* @__PURE__ */ f("div", {
|
|
42
|
+
className: "grid grid-cols-2 gap-3",
|
|
43
|
+
children: [/* @__PURE__ */ d("div", { className: "h-16 animate-pulse rounded-lg bg-bg-sunken" }), /* @__PURE__ */ d("div", { className: "h-16 animate-pulse rounded-lg bg-bg-sunken" })]
|
|
44
|
+
})
|
|
45
|
+
]
|
|
46
|
+
});
|
|
47
|
+
else if (k !== null) {
|
|
48
|
+
let { audienceSize: e, estimatedDailyImpressions: t, estimatedDailyReachMin: r, estimatedDailyReachMax: i } = k, a = Math.min(r, i), s = Math.max(r, i), c = e > 0 ? e : Math.max(s, 1), p = h(a / c * 100, 0, 100), m = h(s / c * 100, 0, 100), _ = Math.min(p, m), y = Math.max(m - _, 2);
|
|
49
|
+
j = /* @__PURE__ */ f("div", {
|
|
50
|
+
className: "space-y-4",
|
|
51
|
+
"aria-live": "polite",
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ f("div", { children: [/* @__PURE__ */ f("div", {
|
|
54
|
+
className: "flex items-baseline gap-2",
|
|
55
|
+
children: [/* @__PURE__ */ d(l, { className: "h-5 w-5 shrink-0 self-center text-action-primary-bg" }), /* @__PURE__ */ f("span", {
|
|
56
|
+
className: "text-2xl font-bold text-text-primary",
|
|
57
|
+
children: [
|
|
58
|
+
n(a),
|
|
59
|
+
" – ",
|
|
60
|
+
n(s)
|
|
61
|
+
]
|
|
62
|
+
})]
|
|
63
|
+
}), /* @__PURE__ */ d("p", {
|
|
64
|
+
className: "mt-1 text-xs text-text-secondary",
|
|
65
|
+
children: "Estimated people reached per day"
|
|
66
|
+
})] }),
|
|
67
|
+
/* @__PURE__ */ f("div", {
|
|
68
|
+
className: "space-y-1.5",
|
|
69
|
+
children: [/* @__PURE__ */ d("div", {
|
|
70
|
+
role: "img",
|
|
71
|
+
"aria-label": `Daily reach of ${n(a)} to ${n(s)} within a pool of ${n(c)}`,
|
|
72
|
+
className: "relative h-2.5 w-full overflow-hidden rounded-full bg-bg-sunken",
|
|
73
|
+
children: /* @__PURE__ */ d("div", {
|
|
74
|
+
className: "absolute inset-y-0 rounded-full bg-action-primary-bg",
|
|
75
|
+
style: {
|
|
76
|
+
left: `${_}%`,
|
|
77
|
+
width: `${y}%`
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
}), /* @__PURE__ */ f("div", {
|
|
81
|
+
className: "flex items-center justify-between text-[11px] text-text-secondary",
|
|
82
|
+
children: [/* @__PURE__ */ d("span", { children: "0" }), /* @__PURE__ */ d("span", { children: e > 0 ? `${n(e)} in audience` : `${n(c)} reachable` })]
|
|
83
|
+
})]
|
|
84
|
+
}),
|
|
85
|
+
e > 0 && /* @__PURE__ */ f("p", {
|
|
86
|
+
className: "text-xs text-text-secondary",
|
|
87
|
+
children: [
|
|
88
|
+
"Reaches about",
|
|
89
|
+
" ",
|
|
90
|
+
g(h(a / e * 100, 0, 100)),
|
|
91
|
+
"–",
|
|
92
|
+
g(h(s / e * 100, 0, 100)),
|
|
93
|
+
" of your audience each day."
|
|
94
|
+
]
|
|
95
|
+
}),
|
|
96
|
+
/* @__PURE__ */ f("div", {
|
|
97
|
+
className: "grid grid-cols-2 gap-3",
|
|
98
|
+
children: [/* @__PURE__ */ d(v, {
|
|
99
|
+
icon: /* @__PURE__ */ d(u, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
100
|
+
label: "Audience size",
|
|
101
|
+
value: n(e)
|
|
102
|
+
}), /* @__PURE__ */ d(v, {
|
|
103
|
+
icon: /* @__PURE__ */ d(o, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
104
|
+
label: "Daily impressions",
|
|
105
|
+
value: n(t)
|
|
106
|
+
})]
|
|
107
|
+
})
|
|
108
|
+
]
|
|
109
|
+
});
|
|
110
|
+
} else j = /* @__PURE__ */ d("p", {
|
|
111
|
+
className: "text-sm text-text-secondary",
|
|
112
|
+
children: "Enter a budget above to project how many people this campaign could reach each day."
|
|
113
|
+
});
|
|
114
|
+
return /* @__PURE__ */ f(p, {
|
|
115
|
+
treatment: "insight",
|
|
116
|
+
className: t("space-y-4 p-5", y),
|
|
117
|
+
children: [/* @__PURE__ */ f("div", {
|
|
118
|
+
className: "flex items-center justify-between gap-2",
|
|
119
|
+
children: [/* @__PURE__ */ f("div", {
|
|
120
|
+
className: "flex items-center gap-2",
|
|
121
|
+
children: [/* @__PURE__ */ d(s, { className: "h-4 w-4 text-action-primary-bg" }), /* @__PURE__ */ d("h3", {
|
|
122
|
+
className: "text-sm font-semibold text-text-primary",
|
|
123
|
+
children: "Estimated reach"
|
|
124
|
+
})]
|
|
125
|
+
}), A && /* @__PURE__ */ f("span", {
|
|
126
|
+
className: "flex items-center gap-1 text-xs text-text-secondary",
|
|
127
|
+
children: [/* @__PURE__ */ d(c, { className: "h-3.5 w-3.5 animate-spin" }), "Updating…"]
|
|
128
|
+
})]
|
|
129
|
+
}), j]
|
|
130
|
+
});
|
|
131
|
+
}, v = ({ icon: e, label: t, value: n }) => /* @__PURE__ */ f("div", {
|
|
132
|
+
className: "rounded-lg border border-border-seam bg-accent-wash px-3 py-2.5",
|
|
133
|
+
children: [/* @__PURE__ */ f("div", {
|
|
134
|
+
className: "flex items-center gap-1.5 text-text-secondary",
|
|
135
|
+
children: [e, /* @__PURE__ */ d("span", {
|
|
136
|
+
className: "text-[11px]",
|
|
137
|
+
children: t
|
|
138
|
+
})]
|
|
139
|
+
}), /* @__PURE__ */ d("p", {
|
|
140
|
+
className: "mt-1 text-base font-semibold text-text-primary",
|
|
141
|
+
children: n
|
|
142
|
+
})]
|
|
143
|
+
});
|
|
144
|
+
//#endregion
|
|
145
|
+
export { _ as AdReachEstimatePanel };
|
|
146
|
+
|
|
147
|
+
//# sourceMappingURL=AdReachEstimatePanel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdReachEstimatePanel.js","names":[],"sources":["../../../../src/headshotmarketing/pages/ads/AdReachEstimatePanel.tsx"],"sourcesContent":["import { useEffect, useState, type FC, type ReactNode } from \"react\";\nimport {\n AlertCircle,\n Eye,\n Gauge,\n Loader2,\n TrendingUp,\n Users,\n} from \"lucide-react\";\nimport { GlassCard } from \"@burdenoff/fe-libs/ui\";\nimport { useHeadshotmarketingEstimateAdReachQuery } from \"../../../generated/wspace-operations\";\nimport { cn, formatNumber } from \"../../utils/helpers\";\n\n/**\n * Debounces a primitive value so rapid budget/audience/platform changes only\n * trigger a single reach estimate once the user pauses.\n */\nfunction useDebounced<T>(value: T, delayMs: number): T {\n const [debounced, setDebounced] = useState<T>(value);\n useEffect(() => {\n const handle = setTimeout(() => setDebounced(value), delayMs);\n return () => clearTimeout(handle);\n }, [value, delayMs]);\n return debounced;\n}\n\nconst clamp = (value: number, min: number, max: number): number =>\n Math.min(Math.max(value, min), max);\n\nconst formatPct = (value: number): string =>\n value >= 10 ? `${Math.round(value)}%` : `${value.toFixed(1)}%`;\n\nexport interface AdReachEstimatePanelProps {\n /** Selected saved-audience id, or null for manual targeting. */\n audienceId: string | null;\n /**\n * Daily budget in USD, already derived by the caller. Total budgets are\n * converted to a per-day figure before being passed in. Non-positive or\n * non-finite values mean \"no budget yet\" and gate the estimate query.\n */\n dailyBudget: number;\n /** Selected platform chip value (e.g. \"google_ads\"). */\n platform: string;\n className?: string;\n}\n\n/**\n * Live \"Estimated reach\" panel for the Create Ad Campaign wizard. Calls the\n * real `headshotmarketingEstimateAdReach` query (debounced) whenever the\n * budget, audience, or platform changes and renders the returned daily-reach\n * range as a gauge alongside the audience size and daily impressions. No\n * mocked numbers — every figure comes from the backend estimate.\n */\nexport const AdReachEstimatePanel: FC<AdReachEstimatePanelProps> = ({\n audienceId,\n dailyBudget,\n platform,\n className,\n}) => {\n const normalizedBudget =\n Number.isFinite(dailyBudget) && dailyBudget > 0\n ? Math.round(dailyBudget * 100) / 100\n : 0;\n\n const debouncedAudienceId = useDebounced(audienceId, 350);\n const debouncedBudget = useDebounced(normalizedBudget, 350);\n const debouncedPlatform = useDebounced(platform, 350);\n\n const hasBudget = debouncedBudget > 0;\n\n const { data, previousData, loading, error } =\n useHeadshotmarketingEstimateAdReachQuery({\n variables: {\n audienceId: debouncedAudienceId,\n dailyBudget: debouncedBudget,\n platform: debouncedPlatform,\n },\n skip: !hasBudget,\n errorPolicy: \"all\",\n fetchPolicy: \"cache-first\",\n notifyOnNetworkStatusChange: true,\n });\n\n // Keep the previous estimate visible while a fresh one loads to avoid flicker.\n const estimate =\n data?.headshotmarketingEstimateAdReach ??\n previousData?.headshotmarketingEstimateAdReach ??\n null;\n\n const refreshing = loading && estimate !== null;\n\n let body: ReactNode;\n\n if (!hasBudget && estimate === null) {\n body = (\n <p className=\"text-sm text-text-secondary\">\n Enter a budget above to project how many people this campaign could\n reach each day.\n </p>\n );\n } else if (error && estimate === null) {\n body = (\n <div className=\"flex items-start gap-2 rounded-lg border border-status-error-border/30 bg-status-error-bg/10 px-3 py-2.5 text-sm text-status-error-text\">\n <AlertCircle className=\"mt-0.5 h-4 w-4 shrink-0\" />\n <span>We couldn't estimate reach right now. {error.message}</span>\n </div>\n );\n } else if (loading && estimate === null) {\n body = (\n <div className=\"space-y-3\" aria-busy=\"true\">\n <div className=\"h-8 w-40 animate-pulse rounded-md bg-bg-sunken\" />\n <div className=\"h-2.5 w-full animate-pulse rounded-full bg-bg-sunken\" />\n <div className=\"grid grid-cols-2 gap-3\">\n <div className=\"h-16 animate-pulse rounded-lg bg-bg-sunken\" />\n <div className=\"h-16 animate-pulse rounded-lg bg-bg-sunken\" />\n </div>\n </div>\n );\n } else if (estimate !== null) {\n const {\n audienceSize,\n estimatedDailyImpressions,\n estimatedDailyReachMin,\n estimatedDailyReachMax,\n } = estimate;\n\n const reachLow = Math.min(estimatedDailyReachMin, estimatedDailyReachMax);\n const reachHigh = Math.max(estimatedDailyReachMin, estimatedDailyReachMax);\n\n // Scale the gauge to the reachable universe: the audience size when known,\n // otherwise the upper reach bound so the band always has a meaningful frame.\n const scale = audienceSize > 0 ? audienceSize : Math.max(reachHigh, 1);\n const lowPct = clamp((reachLow / scale) * 100, 0, 100);\n const highPct = clamp((reachHigh / scale) * 100, 0, 100);\n const bandLeft = Math.min(lowPct, highPct);\n const bandWidth = Math.max(highPct - bandLeft, 2);\n\n body = (\n <div className=\"space-y-4\" aria-live=\"polite\">\n <div>\n <div className=\"flex items-baseline gap-2\">\n <TrendingUp className=\"h-5 w-5 shrink-0 self-center text-action-primary-bg\" />\n <span className=\"text-2xl font-bold text-text-primary\">\n {formatNumber(reachLow)} – {formatNumber(reachHigh)}\n </span>\n </div>\n <p className=\"mt-1 text-xs text-text-secondary\">\n Estimated people reached per day\n </p>\n </div>\n\n <div className=\"space-y-1.5\">\n <div\n role=\"img\"\n aria-label={`Daily reach of ${formatNumber(reachLow)} to ${formatNumber(\n reachHigh,\n )} within a pool of ${formatNumber(scale)}`}\n className=\"relative h-2.5 w-full overflow-hidden rounded-full bg-bg-sunken\"\n >\n <div\n className=\"absolute inset-y-0 rounded-full bg-action-primary-bg\"\n style={{ left: `${bandLeft}%`, width: `${bandWidth}%` }}\n />\n </div>\n <div className=\"flex items-center justify-between text-[11px] text-text-secondary\">\n <span>0</span>\n <span>\n {audienceSize > 0\n ? `${formatNumber(audienceSize)} in audience`\n : `${formatNumber(scale)} reachable`}\n </span>\n </div>\n </div>\n\n {audienceSize > 0 && (\n <p className=\"text-xs text-text-secondary\">\n Reaches about{\" \"}\n {formatPct(clamp((reachLow / audienceSize) * 100, 0, 100))}–\n {formatPct(clamp((reachHigh / audienceSize) * 100, 0, 100))} of your\n audience each day.\n </p>\n )}\n\n <div className=\"grid grid-cols-2 gap-3\">\n <StatTile\n icon={<Users className=\"h-3.5 w-3.5 shrink-0\" />}\n label=\"Audience size\"\n value={formatNumber(audienceSize)}\n />\n <StatTile\n icon={<Eye className=\"h-3.5 w-3.5 shrink-0\" />}\n label=\"Daily impressions\"\n value={formatNumber(estimatedDailyImpressions)}\n />\n </div>\n </div>\n );\n } else {\n // Skipped (no budget) but a stale estimate isn't available — prompt again.\n body = (\n <p className=\"text-sm text-text-secondary\">\n Enter a budget above to project how many people this campaign could\n reach each day.\n </p>\n );\n }\n\n return (\n <GlassCard treatment=\"insight\" className={cn(\"space-y-4 p-5\", className)}>\n <div className=\"flex items-center justify-between gap-2\">\n <div className=\"flex items-center gap-2\">\n <Gauge className=\"h-4 w-4 text-action-primary-bg\" />\n <h3 className=\"text-sm font-semibold text-text-primary\">\n Estimated reach\n </h3>\n </div>\n {refreshing && (\n <span className=\"flex items-center gap-1 text-xs text-text-secondary\">\n <Loader2 className=\"h-3.5 w-3.5 animate-spin\" />\n Updating…\n </span>\n )}\n </div>\n {body}\n </GlassCard>\n );\n};\n\ninterface StatTileProps {\n icon: ReactNode;\n label: string;\n value: string;\n}\n\nconst StatTile: FC<StatTileProps> = ({ icon, label, value }) => (\n <div className=\"rounded-lg border border-border-seam bg-accent-wash px-3 py-2.5\">\n <div className=\"flex items-center gap-1.5 text-text-secondary\">\n {icon}\n <span className=\"text-[11px]\">{label}</span>\n </div>\n <p className=\"mt-1 text-base font-semibold text-text-primary\">{value}</p>\n </div>\n);\n"],"mappings":";;;;;;;AAiBA,SAAS,EAAgB,GAAU,GAAoB;CACrD,IAAM,CAAC,GAAW,KAAgB,EAAY,EAAM;AAKpD,QAJA,QAAgB;EACd,IAAM,IAAS,iBAAiB,EAAa,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