@burdenoff/microfe-headshotmarketing 2026.1201.1 → 2026.1202.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/ActionMenu.js +1 -1
- package/dist/headshotmarketing/components/ActionMenu.js.map +1 -1
- package/dist/headshotmarketing/components/DataTable.js +33 -33
- package/dist/headshotmarketing/components/DataTable.js.map +1 -1
- package/dist/headshotmarketing/components/EmptyState.d.ts +15 -0
- package/dist/headshotmarketing/components/EmptyState.js +35 -15
- package/dist/headshotmarketing/components/EmptyState.js.map +1 -1
- package/dist/headshotmarketing/components/FilterBar.js +2 -2
- package/dist/headshotmarketing/components/FilterBar.js.map +1 -1
- package/dist/headshotmarketing/components/InfluencerModals.js +96 -95
- package/dist/headshotmarketing/components/InfluencerModals.js.map +1 -1
- package/dist/headshotmarketing/components/Pagination.js +38 -37
- package/dist/headshotmarketing/components/Pagination.js.map +1 -1
- package/dist/headshotmarketing/components/TagChipsInput.js +1 -1
- package/dist/headshotmarketing/components/TagChipsInput.js.map +1 -1
- package/dist/headshotmarketing/components/Toast.js +1 -1
- package/dist/headshotmarketing/components/Toast.js.map +1 -1
- package/dist/headshotmarketing/pages/HomeMonthlyGoals.js.map +1 -1
- package/dist/headshotmarketing/pages/HomePage.js +10 -10
- package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js +203 -203
- package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +148 -148
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCreativeTestsSection.js +74 -73
- package/dist/headshotmarketing/pages/ads/AdCreativeTestsSection.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +369 -369
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdPlatformConnectionsSection.js +111 -110
- package/dist/headshotmarketing/pages/ads/AdPlatformConnectionsSection.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdPlatformSyncPanel.js +1 -1
- package/dist/headshotmarketing/pages/ads/AdPlatformSyncPanel.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdsPage.js +6 -6
- package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js +49 -49
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +112 -112
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/CreateAudiencePage.js +57 -57
- package/dist/headshotmarketing/pages/ads/CreateAudiencePage.js.map +1 -1
- package/dist/headshotmarketing/pages/ai/AiOperationsPage.js +175 -174
- package/dist/headshotmarketing/pages/ai/AiOperationsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js +1 -1
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AttributionPage.js +129 -129
- package/dist/headshotmarketing/pages/analytics/AttributionPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js +9 -9
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/ReportScheduleDialog.js +95 -94
- package/dist/headshotmarketing/pages/analytics/ReportScheduleDialog.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js +4 -4
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/TouchpointLedgerCard.js +42 -41
- package/dist/headshotmarketing/pages/analytics/TouchpointLedgerCard.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/analyticsWidgets.js +132 -131
- package/dist/headshotmarketing/pages/analytics/analyticsWidgets.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/AutomationPage.js +8 -8
- package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/TriggersPage.js +48 -48
- package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +4 -3
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowNodeConfigPanel.js +143 -142
- package/dist/headshotmarketing/pages/automation/WorkflowNodeConfigPanel.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowRunsPanel.js +79 -78
- package/dist/headshotmarketing/pages/automation/WorkflowRunsPanel.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +92 -92
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +143 -143
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/builder/SectionCanvasBlock.js +3 -3
- package/dist/headshotmarketing/pages/builder/SectionCanvasBlock.js.map +1 -1
- package/dist/headshotmarketing/pages/builder/SectionInspector.js +24 -23
- package/dist/headshotmarketing/pages/builder/SectionInspector.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +198 -193
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +41 -41
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +234 -229
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +134 -134
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CreateTemplateModal.js +46 -46
- package/dist/headshotmarketing/pages/campaigns/CreateTemplateModal.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AIExecutionLedger.js +29 -29
- package/dist/headshotmarketing/pages/content/AIExecutionLedger.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AIToolsPage.js +3 -3
- package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +230 -220
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js +431 -420
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentDetailsPage.js +7 -7
- package/dist/headshotmarketing/pages/content/ContentDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentLibraryCard.js +2 -2
- package/dist/headshotmarketing/pages/content/ContentLibraryCard.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentPage.js +88 -88
- package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/ContactsPage.js +111 -111
- package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js +59 -59
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js +86 -86
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CrmActions.js +93 -92
- package/dist/headshotmarketing/pages/crm/CrmActions.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CrmPage.js +4 -4
- package/dist/headshotmarketing/pages/crm/CrmPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/LeadCreateModal.js +63 -62
- package/dist/headshotmarketing/pages/crm/LeadCreateModal.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/LeadsPage.js +68 -68
- package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/PipelinePage.js +2 -2
- package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/CreateEventPage.js +165 -165
- package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/EventDetailsPage.js +255 -250
- package/dist/headshotmarketing/pages/events/EventDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/EventPagePreview.js +2 -2
- package/dist/headshotmarketing/pages/events/EventPagePreview.js.map +1 -1
- package/dist/headshotmarketing/pages/events/EventsPage.js +70 -70
- package/dist/headshotmarketing/pages/events/EventsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js +7 -7
- package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +98 -98
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +145 -140
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/seo/SeoScorePanel.js +1 -1
- package/dist/headshotmarketing/pages/seo/SeoScorePanel.js.map +1 -1
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +286 -286
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/AccountsPage.js +171 -166
- package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js +1 -1
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/CreateAccountPage.js +1 -1
- package/dist/headshotmarketing/pages/social-media/CreateAccountPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/MediaDropZone.js +2 -2
- package/dist/headshotmarketing/pages/social-media/MediaDropZone.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/PostsPage.js +257 -252
- package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialComposerPreview.js +2 -2
- package/dist/headshotmarketing/pages/social-media/SocialComposerPreview.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +4 -4
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +115 -115
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -1
- package/package.json +2 -2
|
@@ -5,23 +5,23 @@ import { YAxis as r } from "../../../node_modules/recharts/es6/cartesian/YAxis.j
|
|
|
5
5
|
import { CartesianGrid as i } from "../../../node_modules/recharts/es6/cartesian/CartesianGrid.js";
|
|
6
6
|
import { Tooltip as a } from "../../../node_modules/recharts/es6/component/Tooltip.js";
|
|
7
7
|
import { ResponsiveContainer as o } from "../../../node_modules/recharts/es6/component/ResponsiveContainer.js";
|
|
8
|
-
import { Legend as
|
|
9
|
-
import { cn as
|
|
10
|
-
import { toEngagementSeries as
|
|
11
|
-
import { PageLayout as
|
|
12
|
-
import { StatCard as
|
|
13
|
-
import { StatusBadge as h } from "../../components/StatusBadge.js";
|
|
8
|
+
import { Legend as ee } from "../../../node_modules/recharts/es6/component/Legend.js";
|
|
9
|
+
import { cn as s, formatNumber as c, formatPercentage as l } from "../../utils/helpers.js";
|
|
10
|
+
import { toEngagementSeries as u, toHashtagSuggestions as d, toSocialAccountModel as f, toSocialPostModel as p } from "../../utils/socialMapper.js";
|
|
11
|
+
import { PageLayout as m } from "../../components/PageLayout.js";
|
|
12
|
+
import { StatCard as h } from "../../components/StatCard.js";
|
|
14
13
|
import { EmptyState as g } from "../../components/EmptyState.js";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
14
|
+
import { StatusBadge as _ } from "../../components/StatusBadge.js";
|
|
15
|
+
import { ChartCard as v } from "../../components/ChartCard.js";
|
|
16
|
+
import { QueryStateBoundary as y } from "../../components/QueryStateBoundary.js";
|
|
17
17
|
import "../../components/index.js";
|
|
18
|
-
import { useHeadshotmarketingBootstrap as
|
|
18
|
+
import { useHeadshotmarketingBootstrap as te } from "../../hooks/useHeadshotmarketingBootstrap.js";
|
|
19
19
|
import "../../hooks/index.js";
|
|
20
|
-
import { useHeadshotMarketing as
|
|
20
|
+
import { useHeadshotMarketing as ne } from "../../context/HeadshotMarketingContext.js";
|
|
21
21
|
import { useMemo as b, useState as x } from "react";
|
|
22
|
-
import { CalendarDays as S, Eye as C, Hash as
|
|
23
|
-
import { jsx as
|
|
24
|
-
import { EmphasisPanel as
|
|
22
|
+
import { CalendarDays as S, Eye as C, Hash as re, Heart as w, PenSquare as T, RefreshCw as ie, TrendingUp as ae, Users as E } from "lucide-react";
|
|
23
|
+
import { jsx as D, jsxs as O } from "react/jsx-runtime";
|
|
24
|
+
import { EmphasisPanel as k, NextSteps as A, PagePurpose as j, ThemedSelect as M } from "@burdenoff/fe-libs/ui";
|
|
25
25
|
import { useI18n as N } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
26
26
|
// src/headshotmarketing/pages/social-media/SocialMediaPage.tsx
|
|
27
27
|
var P = [
|
|
@@ -39,10 +39,10 @@ var P = [
|
|
|
39
39
|
youtube: "bg-status-error-bg text-status-error-text",
|
|
40
40
|
tiktok: "bg-bg-sunken text-text-secondary"
|
|
41
41
|
}, I = () => {
|
|
42
|
-
let { navigate: I, basePath: L } =
|
|
42
|
+
let { navigate: I, basePath: L } = ne(), { t: R } = N(), z = (e, t) => {
|
|
43
43
|
let n = R(e);
|
|
44
44
|
return n === e ? t : n;
|
|
45
|
-
}, { data: B, loading: V, error: H, refetch: U } =
|
|
45
|
+
}, { data: B, loading: V, error: H, refetch: U } = te(), [W, G] = x("overview"), [K, q] = x("all"), J = b(() => (B?.headshotmarketingSocialAccounts.items ?? []).map((e) => f(e)), [B?.headshotmarketingSocialAccounts.items]), Y = b(() => Object.fromEntries((B?.headshotmarketingSocialAccounts.items ?? []).map((e) => [e.id, e.accountName])), [B?.headshotmarketingSocialAccounts.items]), X = b(() => Object.fromEntries(J.map((e) => [e.id, e.platform])), [J]), Z = b(() => (B?.headshotmarketingSocialPosts.items ?? []).map((e) => p(e, Y, X)), [
|
|
46
46
|
B?.headshotmarketingSocialPosts.items,
|
|
47
47
|
Y,
|
|
48
48
|
X
|
|
@@ -75,7 +75,7 @@ var P = [
|
|
|
75
75
|
B?.headshotmarketingSocialMetrics,
|
|
76
76
|
J,
|
|
77
77
|
Z
|
|
78
|
-
]),
|
|
78
|
+
]), oe = b(() => d(Z), [Z]), se = b(() => u(Z), [Z]), $ = b(() => K === "all" ? Z : Z.filter((e) => e.platform === K), [K, Z]), ce = [
|
|
79
79
|
{
|
|
80
80
|
key: "overview",
|
|
81
81
|
label: z("headshotmarketing.social.tabs.overview", "Overview")
|
|
@@ -89,169 +89,169 @@ var P = [
|
|
|
89
89
|
label: z("headshotmarketing.social.tabs.analytics", "Analytics")
|
|
90
90
|
}
|
|
91
91
|
];
|
|
92
|
-
return /* @__PURE__ */
|
|
92
|
+
return /* @__PURE__ */ O(m, {
|
|
93
93
|
title: z("headshotmarketing.social.title", "Social Media"),
|
|
94
94
|
description: z("headshotmarketing.social.description", "Manage and monitor your social media presence across all platforms"),
|
|
95
|
-
actions: /* @__PURE__ */
|
|
95
|
+
actions: /* @__PURE__ */ O("div", {
|
|
96
96
|
className: "flex flex-wrap items-center gap-2",
|
|
97
97
|
children: [
|
|
98
|
-
/* @__PURE__ */
|
|
98
|
+
/* @__PURE__ */ O("button", {
|
|
99
99
|
onClick: () => U(),
|
|
100
100
|
disabled: V,
|
|
101
101
|
className: "inline-flex items-center gap-2 rounded-md border border-border-subtle px-3 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken disabled:opacity-60",
|
|
102
|
-
children: [/* @__PURE__ */
|
|
102
|
+
children: [/* @__PURE__ */ D(ie, { className: s("h-4 w-4", V && "animate-spin") }), z("headshotmarketing.common.refresh", "Refresh")]
|
|
103
103
|
}),
|
|
104
|
-
/* @__PURE__ */
|
|
104
|
+
/* @__PURE__ */ O("button", {
|
|
105
105
|
onClick: () => I(L + "/social/compose"),
|
|
106
106
|
className: "inline-flex items-center gap-2 rounded-md bg-foreground px-4 py-2 text-sm font-medium text-background hover:bg-foreground/90",
|
|
107
|
-
children: [/* @__PURE__ */
|
|
107
|
+
children: [/* @__PURE__ */ D(T, { className: "h-4 w-4" }), z("headshotmarketing.social.actions.composePost", "Compose Post")]
|
|
108
108
|
}),
|
|
109
|
-
/* @__PURE__ */
|
|
109
|
+
/* @__PURE__ */ O("button", {
|
|
110
110
|
onClick: () => I(L + "/social/calendar"),
|
|
111
111
|
className: "inline-flex items-center gap-2 rounded-md border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken",
|
|
112
|
-
children: [/* @__PURE__ */
|
|
112
|
+
children: [/* @__PURE__ */ D(S, { className: "h-4 w-4" }), z("headshotmarketing.social.actions.calendar", "Calendar")]
|
|
113
113
|
})
|
|
114
114
|
]
|
|
115
115
|
}),
|
|
116
116
|
children: [
|
|
117
|
-
/* @__PURE__ */
|
|
118
|
-
/* @__PURE__ */
|
|
117
|
+
/* @__PURE__ */ D(j, { children: z("headshotmarketing.social.purpose", "Run all your social channels from one place. See followers, engagement and reach across every connected account, schedule and publish posts, and spot which content and platforms are working best.") }),
|
|
118
|
+
/* @__PURE__ */ D(A, {
|
|
119
119
|
storageKey: "headshotmarketing-social-overview",
|
|
120
120
|
steps: [
|
|
121
121
|
{
|
|
122
122
|
id: "compose",
|
|
123
123
|
label: z("headshotmarketing.social.actions.composePost", "Compose Post"),
|
|
124
124
|
description: z("headshotmarketing.social.next.composeDesc", "Write and publish to one or more channels at once."),
|
|
125
|
-
icon: /* @__PURE__ */
|
|
125
|
+
icon: /* @__PURE__ */ D(T, { className: "h-4 w-4" }),
|
|
126
126
|
onClick: () => I(L + "/social/compose")
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
129
|
id: "calendar",
|
|
130
130
|
label: z("headshotmarketing.social.actions.calendar", "Calendar"),
|
|
131
131
|
description: z("headshotmarketing.social.next.calendarDesc", "Plan and schedule your posting cadence."),
|
|
132
|
-
icon: /* @__PURE__ */
|
|
132
|
+
icon: /* @__PURE__ */ D(S, { className: "h-4 w-4" }),
|
|
133
133
|
onClick: () => I(L + "/social/calendar")
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
id: "accounts",
|
|
137
137
|
label: z("headshotmarketing.social.next.accounts", "Connect accounts"),
|
|
138
138
|
description: z("headshotmarketing.social.next.accountsDesc", "Link the social platforms you want to manage."),
|
|
139
|
-
icon: /* @__PURE__ */
|
|
139
|
+
icon: /* @__PURE__ */ D(E, { className: "h-4 w-4" }),
|
|
140
140
|
onClick: () => I(L + "/social/accounts")
|
|
141
141
|
}
|
|
142
142
|
]
|
|
143
143
|
}),
|
|
144
|
-
/* @__PURE__ */
|
|
144
|
+
/* @__PURE__ */ O(y, {
|
|
145
145
|
loading: V,
|
|
146
146
|
error: H,
|
|
147
147
|
onRetry: U,
|
|
148
148
|
hasData: !!B,
|
|
149
149
|
children: [
|
|
150
|
-
/* @__PURE__ */
|
|
150
|
+
/* @__PURE__ */ D("div", {
|
|
151
151
|
className: "flex items-center gap-3 overflow-x-auto pb-2",
|
|
152
|
-
children: J.filter((e) => e.connected).map((e) => /* @__PURE__ */
|
|
152
|
+
children: J.filter((e) => e.connected).map((e) => /* @__PURE__ */ O("div", {
|
|
153
153
|
className: "flex items-center gap-2 rounded-full border border-border-seam bg-gloss-card shadow-pop px-4 py-2 text-sm whitespace-nowrap",
|
|
154
154
|
children: [
|
|
155
|
-
/* @__PURE__ */
|
|
156
|
-
className:
|
|
155
|
+
/* @__PURE__ */ D("span", {
|
|
156
|
+
className: s("inline-block rounded-full px-2 py-0.5 text-xs font-medium capitalize", F[e.platform]),
|
|
157
157
|
children: e.platform
|
|
158
158
|
}),
|
|
159
|
-
/* @__PURE__ */
|
|
159
|
+
/* @__PURE__ */ D("span", {
|
|
160
160
|
className: "text-text-primary font-medium",
|
|
161
161
|
children: e.handle
|
|
162
162
|
}),
|
|
163
|
-
/* @__PURE__ */
|
|
163
|
+
/* @__PURE__ */ D("span", {
|
|
164
164
|
className: "text-text-secondary",
|
|
165
|
-
children:
|
|
165
|
+
children: c(e.followers)
|
|
166
166
|
})
|
|
167
167
|
]
|
|
168
168
|
}, e.id))
|
|
169
169
|
}),
|
|
170
|
-
/* @__PURE__ */
|
|
170
|
+
/* @__PURE__ */ D("div", {
|
|
171
171
|
className: "border-b border-border-subtle",
|
|
172
|
-
children: /* @__PURE__ */
|
|
172
|
+
children: /* @__PURE__ */ D("div", {
|
|
173
173
|
className: "flex flex-nowrap gap-4 overflow-x-auto",
|
|
174
|
-
children:
|
|
174
|
+
children: ce.map((e) => /* @__PURE__ */ D("button", {
|
|
175
175
|
onClick: () => G(e.key),
|
|
176
|
-
className:
|
|
176
|
+
className: s("px-1 py-3 text-sm font-medium border-b-2 transition-colors", W === e.key ? "border-foreground text-text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
|
|
177
177
|
children: e.label
|
|
178
178
|
}, e.key))
|
|
179
179
|
})
|
|
180
180
|
}),
|
|
181
|
-
W === "overview" && /* @__PURE__ */
|
|
181
|
+
W === "overview" && /* @__PURE__ */ O("div", {
|
|
182
182
|
className: "space-y-6",
|
|
183
183
|
children: [
|
|
184
|
-
/* @__PURE__ */
|
|
184
|
+
/* @__PURE__ */ D(k, { children: /* @__PURE__ */ O("div", {
|
|
185
185
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",
|
|
186
186
|
children: [
|
|
187
|
-
/* @__PURE__ */
|
|
187
|
+
/* @__PURE__ */ D(h, {
|
|
188
188
|
title: z("headshotmarketing.social.stats.totalFollowers", "Total Followers"),
|
|
189
|
-
value:
|
|
189
|
+
value: c(Q.totalFollowers),
|
|
190
190
|
change: 8.4,
|
|
191
191
|
changeLabel: z("headshotmarketing.common.vsLastMonth", "vs last month"),
|
|
192
|
-
icon: /* @__PURE__ */
|
|
192
|
+
icon: /* @__PURE__ */ D(E, { className: "h-4 w-4" })
|
|
193
193
|
}),
|
|
194
|
-
/* @__PURE__ */
|
|
194
|
+
/* @__PURE__ */ D(h, {
|
|
195
195
|
title: z("headshotmarketing.social.stats.totalEngagement", "Total Engagement"),
|
|
196
|
-
value:
|
|
196
|
+
value: c(Q.totalEngagement),
|
|
197
197
|
change: 12.3,
|
|
198
198
|
changeLabel: z("headshotmarketing.common.vsLastMonth", "vs last month"),
|
|
199
|
-
icon: /* @__PURE__ */
|
|
199
|
+
icon: /* @__PURE__ */ D(w, { className: "h-4 w-4" })
|
|
200
200
|
}),
|
|
201
|
-
/* @__PURE__ */
|
|
201
|
+
/* @__PURE__ */ D(h, {
|
|
202
202
|
title: z("headshotmarketing.social.stats.totalReach", "Total Reach"),
|
|
203
|
-
value:
|
|
203
|
+
value: c(Q.totalReach),
|
|
204
204
|
change: 5.7,
|
|
205
205
|
changeLabel: z("headshotmarketing.common.vsLastMonth", "vs last month"),
|
|
206
|
-
icon: /* @__PURE__ */
|
|
206
|
+
icon: /* @__PURE__ */ D(C, { className: "h-4 w-4" })
|
|
207
207
|
}),
|
|
208
|
-
/* @__PURE__ */
|
|
208
|
+
/* @__PURE__ */ D(h, {
|
|
209
209
|
title: z("headshotmarketing.social.stats.avgEngagementRate", "Avg Engagement Rate"),
|
|
210
|
-
value:
|
|
210
|
+
value: l(Q.averageEngagementRate),
|
|
211
211
|
change: .8,
|
|
212
212
|
changeLabel: z("headshotmarketing.common.vsLastMonth", "vs last month"),
|
|
213
|
-
icon: /* @__PURE__ */
|
|
213
|
+
icon: /* @__PURE__ */ D(ae, { className: "h-4 w-4" })
|
|
214
214
|
})
|
|
215
215
|
]
|
|
216
216
|
}) }),
|
|
217
|
-
/* @__PURE__ */
|
|
217
|
+
/* @__PURE__ */ O("div", {
|
|
218
218
|
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-6",
|
|
219
|
-
children: [/* @__PURE__ */
|
|
219
|
+
children: [/* @__PURE__ */ D("h3", {
|
|
220
220
|
className: "text-sm font-semibold text-text-primary mb-4",
|
|
221
221
|
children: z("headshotmarketing.social.sections.platformPerformance", "Platform Performance")
|
|
222
|
-
}), /* @__PURE__ */
|
|
222
|
+
}), /* @__PURE__ */ D("div", {
|
|
223
223
|
className: "space-y-3",
|
|
224
|
-
children: Q.platformBreakdown.map((e) => /* @__PURE__ */
|
|
224
|
+
children: Q.platformBreakdown.map((e) => /* @__PURE__ */ O("div", {
|
|
225
225
|
className: "flex flex-wrap items-center justify-between gap-2",
|
|
226
|
-
children: [/* @__PURE__ */
|
|
226
|
+
children: [/* @__PURE__ */ D("div", {
|
|
227
227
|
className: "flex items-center gap-3",
|
|
228
|
-
children: /* @__PURE__ */
|
|
229
|
-
className:
|
|
228
|
+
children: /* @__PURE__ */ D("span", {
|
|
229
|
+
className: s("inline-block rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", F[e.platform]),
|
|
230
230
|
children: e.platform
|
|
231
231
|
})
|
|
232
|
-
}), /* @__PURE__ */
|
|
232
|
+
}), /* @__PURE__ */ O("div", {
|
|
233
233
|
className: "flex flex-wrap items-center gap-x-6 gap-y-1 text-sm",
|
|
234
234
|
children: [
|
|
235
|
-
/* @__PURE__ */
|
|
235
|
+
/* @__PURE__ */ O("span", {
|
|
236
236
|
className: "text-text-secondary",
|
|
237
237
|
children: [
|
|
238
|
-
|
|
238
|
+
c(e.followers),
|
|
239
239
|
" ",
|
|
240
240
|
z("headshotmarketing.social.metrics.followers", "followers")
|
|
241
241
|
]
|
|
242
242
|
}),
|
|
243
|
-
/* @__PURE__ */
|
|
243
|
+
/* @__PURE__ */ O("span", {
|
|
244
244
|
className: "text-text-secondary",
|
|
245
245
|
children: [
|
|
246
|
-
|
|
246
|
+
c(e.engagement),
|
|
247
247
|
" ",
|
|
248
248
|
z("headshotmarketing.social.metrics.engagement", "engagement")
|
|
249
249
|
]
|
|
250
250
|
}),
|
|
251
|
-
/* @__PURE__ */
|
|
251
|
+
/* @__PURE__ */ O("span", {
|
|
252
252
|
className: "text-text-secondary",
|
|
253
253
|
children: [
|
|
254
|
-
|
|
254
|
+
c(e.reach),
|
|
255
255
|
" ",
|
|
256
256
|
z("headshotmarketing.social.metrics.reach", "reach")
|
|
257
257
|
]
|
|
@@ -261,103 +261,103 @@ var P = [
|
|
|
261
261
|
}, e.platform))
|
|
262
262
|
})]
|
|
263
263
|
}),
|
|
264
|
-
/* @__PURE__ */
|
|
264
|
+
/* @__PURE__ */ O("div", {
|
|
265
265
|
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-6",
|
|
266
|
-
children: [/* @__PURE__ */
|
|
266
|
+
children: [/* @__PURE__ */ O("h3", {
|
|
267
267
|
className: "text-sm font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
268
|
-
children: [/* @__PURE__ */
|
|
269
|
-
}), /* @__PURE__ */
|
|
268
|
+
children: [/* @__PURE__ */ D(re, { className: "h-4 w-4" }), z("headshotmarketing.social.sections.trendingHashtags", "Trending Hashtags")]
|
|
269
|
+
}), /* @__PURE__ */ D("div", {
|
|
270
270
|
className: "flex flex-wrap gap-2",
|
|
271
|
-
children:
|
|
271
|
+
children: oe.map((e) => /* @__PURE__ */ O("span", {
|
|
272
272
|
className: "inline-flex items-center gap-1 rounded-full border border-border-subtle px-3 py-1.5 text-sm text-text-primary",
|
|
273
|
-
children: [e.tag, /* @__PURE__ */
|
|
273
|
+
children: [e.tag, /* @__PURE__ */ D("span", {
|
|
274
274
|
className: "text-xs text-text-secondary",
|
|
275
|
-
children:
|
|
275
|
+
children: c(e.engagement)
|
|
276
276
|
})]
|
|
277
277
|
}, e.tag))
|
|
278
278
|
})]
|
|
279
279
|
})
|
|
280
280
|
]
|
|
281
281
|
}),
|
|
282
|
-
W === "posts" && /* @__PURE__ */
|
|
282
|
+
W === "posts" && /* @__PURE__ */ O("div", {
|
|
283
283
|
className: "space-y-4",
|
|
284
|
-
children: [/* @__PURE__ */
|
|
284
|
+
children: [/* @__PURE__ */ D("div", {
|
|
285
285
|
className: "flex items-center gap-2",
|
|
286
|
-
children: /* @__PURE__ */
|
|
286
|
+
children: /* @__PURE__ */ O(M, {
|
|
287
287
|
value: K,
|
|
288
288
|
onChange: (e) => q(e.target.value),
|
|
289
289
|
className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
|
|
290
290
|
children: [
|
|
291
|
-
/* @__PURE__ */
|
|
291
|
+
/* @__PURE__ */ D("option", {
|
|
292
292
|
value: "all",
|
|
293
293
|
children: z("headshotmarketing.social.filters.allPlatforms", "All Platforms")
|
|
294
294
|
}),
|
|
295
|
-
/* @__PURE__ */
|
|
295
|
+
/* @__PURE__ */ D("option", {
|
|
296
296
|
value: "instagram",
|
|
297
297
|
children: "Instagram"
|
|
298
298
|
}),
|
|
299
|
-
/* @__PURE__ */
|
|
299
|
+
/* @__PURE__ */ D("option", {
|
|
300
300
|
value: "facebook",
|
|
301
301
|
children: "Facebook"
|
|
302
302
|
}),
|
|
303
|
-
/* @__PURE__ */
|
|
303
|
+
/* @__PURE__ */ D("option", {
|
|
304
304
|
value: "twitter",
|
|
305
305
|
children: "Twitter"
|
|
306
306
|
}),
|
|
307
|
-
/* @__PURE__ */
|
|
307
|
+
/* @__PURE__ */ D("option", {
|
|
308
308
|
value: "linkedin",
|
|
309
309
|
children: "LinkedIn"
|
|
310
310
|
}),
|
|
311
|
-
/* @__PURE__ */
|
|
311
|
+
/* @__PURE__ */ D("option", {
|
|
312
312
|
value: "youtube",
|
|
313
313
|
children: "YouTube"
|
|
314
314
|
}),
|
|
315
|
-
/* @__PURE__ */
|
|
315
|
+
/* @__PURE__ */ D("option", {
|
|
316
316
|
value: "tiktok",
|
|
317
317
|
children: "TikTok"
|
|
318
318
|
})
|
|
319
319
|
]
|
|
320
320
|
})
|
|
321
|
-
}), $.length === 0 ? /* @__PURE__ */
|
|
321
|
+
}), $.length === 0 ? /* @__PURE__ */ D(g, {
|
|
322
322
|
illustration: Z.length === 0 ? "empty-generic" : "empty-search",
|
|
323
323
|
title: Z.length === 0 ? z("headshotmarketing.social.posts.empty.title", "No posts yet") : z("headshotmarketing.social.posts.emptyFiltered.title", "No posts on this platform"),
|
|
324
324
|
description: Z.length === 0 ? z("headshotmarketing.social.posts.empty.description", "Compose your first post to start publishing across your connected channels.") : z("headshotmarketing.social.posts.emptyFiltered.description", "Try a different platform filter, or compose a new post."),
|
|
325
|
-
action: Z.length === 0 ? /* @__PURE__ */
|
|
325
|
+
action: Z.length === 0 ? /* @__PURE__ */ O("button", {
|
|
326
326
|
onClick: () => I(L + "/social/compose"),
|
|
327
327
|
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",
|
|
328
|
-
children: [/* @__PURE__ */
|
|
328
|
+
children: [/* @__PURE__ */ D(T, { className: "h-4 w-4" }), z("headshotmarketing.social.actions.composePost", "Compose Post")]
|
|
329
329
|
}) : void 0
|
|
330
|
-
}) : /* @__PURE__ */
|
|
330
|
+
}) : /* @__PURE__ */ D("div", {
|
|
331
331
|
className: "grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",
|
|
332
|
-
children: $.map((e) => /* @__PURE__ */
|
|
332
|
+
children: $.map((e) => /* @__PURE__ */ O("div", {
|
|
333
333
|
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-4 space-y-3",
|
|
334
334
|
children: [
|
|
335
|
-
/* @__PURE__ */
|
|
335
|
+
/* @__PURE__ */ O("div", {
|
|
336
336
|
className: "flex items-center justify-between",
|
|
337
|
-
children: [/* @__PURE__ */
|
|
338
|
-
className:
|
|
337
|
+
children: [/* @__PURE__ */ D("span", {
|
|
338
|
+
className: s("rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", F[e.platform]),
|
|
339
339
|
children: e.platform
|
|
340
|
-
}), /* @__PURE__ */
|
|
340
|
+
}), /* @__PURE__ */ D(_, { status: e.status })]
|
|
341
341
|
}),
|
|
342
|
-
/* @__PURE__ */
|
|
342
|
+
/* @__PURE__ */ D("p", {
|
|
343
343
|
className: "text-sm text-text-primary line-clamp-3",
|
|
344
344
|
children: e.content
|
|
345
345
|
}),
|
|
346
|
-
e.status === "published" && /* @__PURE__ */
|
|
346
|
+
e.status === "published" && /* @__PURE__ */ O("div", {
|
|
347
347
|
className: "flex items-center gap-4 text-xs text-text-secondary",
|
|
348
348
|
children: [
|
|
349
|
-
/* @__PURE__ */
|
|
350
|
-
|
|
349
|
+
/* @__PURE__ */ O("span", { children: [
|
|
350
|
+
c(e.metrics.likes),
|
|
351
351
|
" ",
|
|
352
352
|
z("headshotmarketing.social.metrics.likes", "likes")
|
|
353
353
|
] }),
|
|
354
|
-
/* @__PURE__ */
|
|
355
|
-
|
|
354
|
+
/* @__PURE__ */ O("span", { children: [
|
|
355
|
+
c(e.metrics.comments),
|
|
356
356
|
" ",
|
|
357
357
|
z("headshotmarketing.social.metrics.comments", "comments")
|
|
358
358
|
] }),
|
|
359
|
-
/* @__PURE__ */
|
|
360
|
-
|
|
359
|
+
/* @__PURE__ */ O("span", { children: [
|
|
360
|
+
c(e.metrics.shares),
|
|
361
361
|
" ",
|
|
362
362
|
z("headshotmarketing.social.metrics.shares", "shares")
|
|
363
363
|
] })
|
|
@@ -367,34 +367,34 @@ var P = [
|
|
|
367
367
|
}, e.id))
|
|
368
368
|
})]
|
|
369
369
|
}),
|
|
370
|
-
W === "analytics" && /* @__PURE__ */
|
|
370
|
+
W === "analytics" && /* @__PURE__ */ D(v, {
|
|
371
371
|
title: z("headshotmarketing.social.charts.engagementByDay", "Engagement by Day"),
|
|
372
372
|
subtitle: z("headshotmarketing.social.charts.engagementByDaySubtitle", "Weekly engagement breakdown across all platforms"),
|
|
373
|
-
children: /* @__PURE__ */
|
|
373
|
+
children: /* @__PURE__ */ D(o, {
|
|
374
374
|
width: "100%",
|
|
375
375
|
height: 320,
|
|
376
|
-
children: /* @__PURE__ */
|
|
377
|
-
data:
|
|
376
|
+
children: /* @__PURE__ */ O(e, {
|
|
377
|
+
data: se,
|
|
378
378
|
children: [
|
|
379
|
-
/* @__PURE__ */
|
|
379
|
+
/* @__PURE__ */ D(i, {
|
|
380
380
|
strokeDasharray: "3 3",
|
|
381
381
|
className: "stroke-border"
|
|
382
382
|
}),
|
|
383
|
-
/* @__PURE__ */
|
|
383
|
+
/* @__PURE__ */ D(n, {
|
|
384
384
|
dataKey: "date",
|
|
385
385
|
className: "text-xs",
|
|
386
386
|
tick: { fill: "currentColor" }
|
|
387
387
|
}),
|
|
388
|
-
/* @__PURE__ */
|
|
388
|
+
/* @__PURE__ */ D(r, {
|
|
389
389
|
className: "text-xs",
|
|
390
390
|
tick: { fill: "currentColor" }
|
|
391
391
|
}),
|
|
392
|
-
/* @__PURE__ */
|
|
392
|
+
/* @__PURE__ */ D(a, { contentStyle: {
|
|
393
393
|
backgroundColor: "var(--color-card)",
|
|
394
394
|
border: "1px solid var(--color-border)"
|
|
395
395
|
} }),
|
|
396
|
-
/* @__PURE__ */
|
|
397
|
-
/* @__PURE__ */
|
|
396
|
+
/* @__PURE__ */ D(ee, {}),
|
|
397
|
+
/* @__PURE__ */ D(t, {
|
|
398
398
|
dataKey: "likes",
|
|
399
399
|
fill: P[0],
|
|
400
400
|
name: z("headshotmarketing.social.charts.likes", "Likes"),
|
|
@@ -405,7 +405,7 @@ var P = [
|
|
|
405
405
|
0
|
|
406
406
|
]
|
|
407
407
|
}),
|
|
408
|
-
/* @__PURE__ */
|
|
408
|
+
/* @__PURE__ */ D(t, {
|
|
409
409
|
dataKey: "comments",
|
|
410
410
|
fill: P[1],
|
|
411
411
|
name: z("headshotmarketing.social.charts.comments", "Comments"),
|
|
@@ -416,7 +416,7 @@ var P = [
|
|
|
416
416
|
0
|
|
417
417
|
]
|
|
418
418
|
}),
|
|
419
|
-
/* @__PURE__ */
|
|
419
|
+
/* @__PURE__ */ D(t, {
|
|
420
420
|
dataKey: "shares",
|
|
421
421
|
fill: P[2],
|
|
422
422
|
name: z("headshotmarketing.social.charts.shares", "Shares"),
|