@burdenoff/microfe-headshotmarketing 2026.625.2 → 2026.626.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/headshotmarketing/components/DataTable.js +58 -53
- package/dist/headshotmarketing/components/DataTable.js.map +1 -1
- package/dist/headshotmarketing/pages/HomePage.js +214 -188
- package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +76 -35
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +66 -25
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js +63 -22
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +188 -188
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js +122 -96
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/TriggersPage.js +84 -58
- package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +45 -45
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +133 -66
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +36 -36
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +160 -160
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +90 -57
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/ContactsPage.js +125 -92
- package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js +62 -62
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js +75 -75
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/CreateEventPage.js +110 -110
- package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +78 -37
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +136 -89
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +71 -45
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js +268 -242
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +105 -105
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,16 +7,16 @@ import { toCalendarPosts as i, toSocialAccountModel as a, toSocialPostModel as o
|
|
|
7
7
|
import { useMemo as s, useState as c } from "react";
|
|
8
8
|
import { BarChart3 as l, CalendarDays as u, ChevronLeft as d, ChevronRight as f, Clock as p } from "lucide-react";
|
|
9
9
|
import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
10
|
-
import {
|
|
10
|
+
import { EmphasisPanel as _, NextSteps as v, PagePurpose as y } from "@burdenoff/fe-libs/ui";
|
|
11
11
|
//#region src/headshotmarketing/pages/social-media/ContentCalendarPage.tsx
|
|
12
|
-
var
|
|
12
|
+
var b = {
|
|
13
13
|
instagram: "bg-action-primary-bg",
|
|
14
14
|
facebook: "bg-status-info-text",
|
|
15
15
|
twitter: "bg-status-info-text",
|
|
16
16
|
linkedin: "bg-status-info-text",
|
|
17
17
|
youtube: "bg-status-error-text",
|
|
18
18
|
tiktok: "bg-bg-sunken"
|
|
19
|
-
},
|
|
19
|
+
}, x = [
|
|
20
20
|
"Sun",
|
|
21
21
|
"Mon",
|
|
22
22
|
"Tue",
|
|
@@ -25,280 +25,306 @@ var v = {
|
|
|
25
25
|
"Fri",
|
|
26
26
|
"Sat"
|
|
27
27
|
];
|
|
28
|
-
function
|
|
28
|
+
function S(e, t) {
|
|
29
29
|
return new Date(e, t + 1, 0).getDate();
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function C(e, t) {
|
|
32
32
|
return new Date(e, t, 1).getDay();
|
|
33
33
|
}
|
|
34
|
-
var
|
|
35
|
-
let { navigate:
|
|
34
|
+
var w = () => {
|
|
35
|
+
let { navigate: w } = e(), { data: T } = t({ variables: {
|
|
36
36
|
limit: 200,
|
|
37
37
|
offset: 0
|
|
38
|
-
} }), [
|
|
38
|
+
} }), [E, D] = c("month"), [O, k] = c(new Date(2026, 1, 10)), [A, j] = c("all"), M = O.getFullYear(), N = O.getMonth(), P = S(M, N), F = C(M, N), I = O.toLocaleDateString("en-US", {
|
|
39
39
|
month: "long",
|
|
40
40
|
year: "numeric"
|
|
41
|
-
}),
|
|
42
|
-
|
|
43
|
-
},
|
|
44
|
-
let t = new Date(
|
|
45
|
-
t.setDate(t.getDate() + e * 7),
|
|
46
|
-
},
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
]),
|
|
51
|
-
|
|
52
|
-
let
|
|
53
|
-
for (let e = 0; e <
|
|
54
|
-
for (let e = 1; e <=
|
|
55
|
-
for (;
|
|
41
|
+
}), L = (e) => {
|
|
42
|
+
k(new Date(M, N + e, 1));
|
|
43
|
+
}, R = (e) => {
|
|
44
|
+
let t = new Date(O);
|
|
45
|
+
t.setDate(t.getDate() + e * 7), k(t);
|
|
46
|
+
}, z = s(() => (T?.headshotmarketingSocialAccounts.items ?? []).map((e) => a(e)), [T?.headshotmarketingSocialAccounts.items]), B = s(() => Object.fromEntries((T?.headshotmarketingSocialAccounts.items ?? []).map((e) => [e.id, e.accountName])), [T?.headshotmarketingSocialAccounts.items]), V = s(() => Object.fromEntries(z.map((e) => [e.id, e.platform])), [z]), H = s(() => (T?.headshotmarketingSocialPosts.items ?? []).map((e) => o(e, B, V)), [
|
|
47
|
+
T?.headshotmarketingSocialPosts.items,
|
|
48
|
+
B,
|
|
49
|
+
V
|
|
50
|
+
]), U = s(() => i(H), [H]), W = s(() => A === "all" ? U : U.filter((e) => e.platform === A), [A, U]), G = (e) => W.filter((t) => t.date === e), K = "2026-02-10", q = W.filter((e) => e.date === K), J = W.filter((e) => e.date > K && e.status === "scheduled").sort((e, t) => e.date.localeCompare(t.date)).slice(0, 5), Y = W.filter((e) => e.status === "published").length, X = W.filter((e) => e.status === "scheduled").length, Z = W.filter((e) => e.status === "draft").length, Q = new Date(O);
|
|
51
|
+
Q.setDate(Q.getDate() - Q.getDay());
|
|
52
|
+
let $ = [];
|
|
53
|
+
for (let e = 0; e < F; e++) $.push(null);
|
|
54
|
+
for (let e = 1; e <= P; e++) $.push(e);
|
|
55
|
+
for (; $.length % 7 != 0;) $.push(null);
|
|
56
56
|
return /* @__PURE__ */ g(r, {
|
|
57
57
|
title: "Content Calendar",
|
|
58
58
|
description: "Plan and visualize your content schedule",
|
|
59
59
|
actions: /* @__PURE__ */ h("button", {
|
|
60
|
-
onClick: () =>
|
|
60
|
+
onClick: () => w("/social-media/compose"),
|
|
61
61
|
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",
|
|
62
62
|
children: "+ New Post"
|
|
63
63
|
}),
|
|
64
|
-
children: [
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
64
|
+
children: [
|
|
65
|
+
/* @__PURE__ */ h(y, { children: "Plan your posting cadence at a glance. See everything scheduled across channels on a month or week view, spot gaps and clashes, and jump straight into composing for any day — so your content goes out consistently." }),
|
|
66
|
+
/* @__PURE__ */ h(v, {
|
|
67
|
+
storageKey: "headshotmarketing-content-calendar",
|
|
68
|
+
steps: [
|
|
69
|
+
{
|
|
70
|
+
id: "compose",
|
|
71
|
+
label: "Compose a post",
|
|
72
|
+
description: "Draft and schedule a post for any channel.",
|
|
73
|
+
onClick: () => w("/social-media/compose")
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
id: "accounts",
|
|
77
|
+
label: "Connect accounts",
|
|
78
|
+
description: "Link the social accounts you publish to.",
|
|
79
|
+
onClick: () => w("/social-media/accounts")
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
id: "posts",
|
|
83
|
+
label: "Review all posts",
|
|
84
|
+
description: "See every draft, scheduled and published post.",
|
|
85
|
+
onClick: () => w("/social-media/posts")
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}),
|
|
89
|
+
/* @__PURE__ */ g("div", {
|
|
90
|
+
className: "grid grid-cols-1 gap-6 lg:grid-cols-4",
|
|
91
|
+
children: [/* @__PURE__ */ g("div", {
|
|
92
|
+
className: "lg:col-span-3 space-y-4",
|
|
93
|
+
children: [
|
|
94
|
+
/* @__PURE__ */ g("div", {
|
|
95
|
+
className: "flex items-center justify-between",
|
|
96
|
+
children: [/* @__PURE__ */ g("div", {
|
|
97
|
+
className: "flex items-center gap-2",
|
|
95
98
|
children: [
|
|
96
|
-
/* @__PURE__ */ h("
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
/* @__PURE__ */ h("option", {
|
|
101
|
-
value: "instagram",
|
|
102
|
-
children: "Instagram"
|
|
103
|
-
}),
|
|
104
|
-
/* @__PURE__ */ h("option", {
|
|
105
|
-
value: "facebook",
|
|
106
|
-
children: "Facebook"
|
|
99
|
+
/* @__PURE__ */ h("button", {
|
|
100
|
+
onClick: () => E === "month" ? L(-1) : R(-1),
|
|
101
|
+
className: "rounded-md border border-border-subtle p-2 text-text-secondary hover:text-text-primary hover:bg-bg-sunken",
|
|
102
|
+
children: /* @__PURE__ */ h(d, { className: "h-4 w-4" })
|
|
107
103
|
}),
|
|
108
|
-
/* @__PURE__ */ h("
|
|
109
|
-
|
|
110
|
-
children:
|
|
104
|
+
/* @__PURE__ */ h("h2", {
|
|
105
|
+
className: "text-lg font-semibold text-text-primary min-w-[180px] text-center",
|
|
106
|
+
children: I
|
|
111
107
|
}),
|
|
112
|
-
/* @__PURE__ */ h("
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
/* @__PURE__ */ h("option", {
|
|
117
|
-
value: "youtube",
|
|
118
|
-
children: "YouTube"
|
|
119
|
-
}),
|
|
120
|
-
/* @__PURE__ */ h("option", {
|
|
121
|
-
value: "tiktok",
|
|
122
|
-
children: "TikTok"
|
|
108
|
+
/* @__PURE__ */ h("button", {
|
|
109
|
+
onClick: () => E === "month" ? L(1) : R(1),
|
|
110
|
+
className: "rounded-md border border-border-subtle p-2 text-text-secondary hover:text-text-primary hover:bg-bg-sunken",
|
|
111
|
+
children: /* @__PURE__ */ h(f, { className: "h-4 w-4" })
|
|
123
112
|
})
|
|
124
113
|
]
|
|
125
114
|
}), /* @__PURE__ */ g("div", {
|
|
126
|
-
className: "flex
|
|
127
|
-
children: [/* @__PURE__ */
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
115
|
+
className: "flex items-center gap-2",
|
|
116
|
+
children: [/* @__PURE__ */ g("select", {
|
|
117
|
+
value: A,
|
|
118
|
+
onChange: (e) => j(e.target.value),
|
|
119
|
+
className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
|
|
120
|
+
children: [
|
|
121
|
+
/* @__PURE__ */ h("option", {
|
|
122
|
+
value: "all",
|
|
123
|
+
children: "All Platforms"
|
|
124
|
+
}),
|
|
125
|
+
/* @__PURE__ */ h("option", {
|
|
126
|
+
value: "instagram",
|
|
127
|
+
children: "Instagram"
|
|
128
|
+
}),
|
|
129
|
+
/* @__PURE__ */ h("option", {
|
|
130
|
+
value: "facebook",
|
|
131
|
+
children: "Facebook"
|
|
132
|
+
}),
|
|
133
|
+
/* @__PURE__ */ h("option", {
|
|
134
|
+
value: "twitter",
|
|
135
|
+
children: "Twitter"
|
|
136
|
+
}),
|
|
137
|
+
/* @__PURE__ */ h("option", {
|
|
138
|
+
value: "linkedin",
|
|
139
|
+
children: "LinkedIn"
|
|
140
|
+
}),
|
|
141
|
+
/* @__PURE__ */ h("option", {
|
|
142
|
+
value: "youtube",
|
|
143
|
+
children: "YouTube"
|
|
144
|
+
}),
|
|
145
|
+
/* @__PURE__ */ h("option", {
|
|
146
|
+
value: "tiktok",
|
|
147
|
+
children: "TikTok"
|
|
148
|
+
})
|
|
149
|
+
]
|
|
150
|
+
}), /* @__PURE__ */ g("div", {
|
|
151
|
+
className: "flex rounded-md border border-border-subtle",
|
|
152
|
+
children: [/* @__PURE__ */ h("button", {
|
|
153
|
+
onClick: () => D("month"),
|
|
154
|
+
className: n("px-3 py-2 text-sm", E === "month" ? "bg-foreground text-background" : "text-text-secondary hover:text-text-primary"),
|
|
155
|
+
children: "Month"
|
|
156
|
+
}), /* @__PURE__ */ h("button", {
|
|
157
|
+
onClick: () => D("week"),
|
|
158
|
+
className: n("px-3 py-2 text-sm", E === "week" ? "bg-foreground text-background" : "text-text-secondary hover:text-text-primary"),
|
|
159
|
+
children: "Week"
|
|
160
|
+
})]
|
|
135
161
|
})]
|
|
136
162
|
})]
|
|
137
|
-
})
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
className: n("rounded px-1 py-0.5 text-[10px] text-white truncate", v[e.platform]),
|
|
157
|
-
children: e.title
|
|
158
|
-
}, e.id)), i.length > 3 && /* @__PURE__ */ g("span", {
|
|
159
|
-
className: "text-[10px] text-text-secondary",
|
|
160
|
-
children: [
|
|
161
|
-
"+",
|
|
162
|
-
i.length - 3,
|
|
163
|
-
" more"
|
|
164
|
-
]
|
|
165
|
-
})]
|
|
166
|
-
})] })
|
|
167
|
-
}, t);
|
|
168
|
-
})]
|
|
169
|
-
})
|
|
170
|
-
}),
|
|
171
|
-
w === "week" && /* @__PURE__ */ h("div", {
|
|
172
|
-
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop overflow-hidden",
|
|
173
|
-
children: /* @__PURE__ */ h("div", {
|
|
174
|
-
className: "grid grid-cols-7",
|
|
175
|
-
children: Array.from({ length: 7 }).map((e, t) => {
|
|
176
|
-
let r = new Date(X);
|
|
177
|
-
r.setDate(r.getDate() + t);
|
|
178
|
-
let i = r.toISOString().split("T")[0], a = U(i), o = i === W;
|
|
179
|
-
return /* @__PURE__ */ g("div", {
|
|
180
|
-
className: n("border-r border-border-subtle p-3 min-h-[200px]", o && "bg-status-info-bg/50"),
|
|
181
|
-
children: [/* @__PURE__ */ g("div", {
|
|
182
|
-
className: "text-center mb-2",
|
|
183
|
-
children: [/* @__PURE__ */ h("div", {
|
|
184
|
-
className: "text-xs text-text-secondary",
|
|
185
|
-
children: y[t]
|
|
186
|
-
}), /* @__PURE__ */ h("div", {
|
|
187
|
-
className: n("text-sm font-medium", o ? "text-status-info-text" : "text-text-primary"),
|
|
188
|
-
children: r.getDate()
|
|
189
|
-
})]
|
|
190
|
-
}), /* @__PURE__ */ h("div", {
|
|
191
|
-
className: "space-y-1",
|
|
192
|
-
children: a.map((e) => /* @__PURE__ */ g("div", {
|
|
193
|
-
className: n("rounded px-2 py-1 text-xs text-white", v[e.platform]),
|
|
194
|
-
children: [/* @__PURE__ */ h("div", {
|
|
195
|
-
className: "font-medium truncate",
|
|
163
|
+
}),
|
|
164
|
+
E === "month" && /* @__PURE__ */ h("div", {
|
|
165
|
+
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop overflow-hidden",
|
|
166
|
+
children: /* @__PURE__ */ g("div", {
|
|
167
|
+
className: "grid grid-cols-7",
|
|
168
|
+
children: [x.map((e) => /* @__PURE__ */ h("div", {
|
|
169
|
+
className: "border-b border-r border-border-subtle px-2 py-2 text-center text-xs font-medium text-text-secondary",
|
|
170
|
+
children: e
|
|
171
|
+
}, e)), $.map((e, t) => {
|
|
172
|
+
let r = e ? `${M}-${String(N + 1).padStart(2, "0")}-${String(e).padStart(2, "0")}` : "", i = e ? G(r) : [], a = r === K;
|
|
173
|
+
return /* @__PURE__ */ h("div", {
|
|
174
|
+
className: n("min-h-[80px] border-b border-r border-border-subtle p-1", !e && "bg-bg-sunken/30", a && "bg-status-info-bg/50"),
|
|
175
|
+
children: e && /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h("span", {
|
|
176
|
+
className: n("text-xs font-medium", a ? "text-status-info-text font-bold" : "text-text-secondary"),
|
|
177
|
+
children: e
|
|
178
|
+
}), /* @__PURE__ */ g("div", {
|
|
179
|
+
className: "mt-0.5 space-y-0.5",
|
|
180
|
+
children: [i.slice(0, 3).map((e) => /* @__PURE__ */ h("div", {
|
|
181
|
+
className: n("rounded px-1 py-0.5 text-[10px] text-white truncate", b[e.platform]),
|
|
196
182
|
children: e.title
|
|
183
|
+
}, e.id)), i.length > 3 && /* @__PURE__ */ g("span", {
|
|
184
|
+
className: "text-[10px] text-text-secondary",
|
|
185
|
+
children: [
|
|
186
|
+
"+",
|
|
187
|
+
i.length - 3,
|
|
188
|
+
" more"
|
|
189
|
+
]
|
|
190
|
+
})]
|
|
191
|
+
})] })
|
|
192
|
+
}, t);
|
|
193
|
+
})]
|
|
194
|
+
})
|
|
195
|
+
}),
|
|
196
|
+
E === "week" && /* @__PURE__ */ h("div", {
|
|
197
|
+
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop overflow-hidden",
|
|
198
|
+
children: /* @__PURE__ */ h("div", {
|
|
199
|
+
className: "grid grid-cols-7",
|
|
200
|
+
children: Array.from({ length: 7 }).map((e, t) => {
|
|
201
|
+
let r = new Date(Q);
|
|
202
|
+
r.setDate(r.getDate() + t);
|
|
203
|
+
let i = r.toISOString().split("T")[0], a = G(i), o = i === K;
|
|
204
|
+
return /* @__PURE__ */ g("div", {
|
|
205
|
+
className: n("border-r border-border-subtle p-3 min-h-[200px]", o && "bg-status-info-bg/50"),
|
|
206
|
+
children: [/* @__PURE__ */ g("div", {
|
|
207
|
+
className: "text-center mb-2",
|
|
208
|
+
children: [/* @__PURE__ */ h("div", {
|
|
209
|
+
className: "text-xs text-text-secondary",
|
|
210
|
+
children: x[t]
|
|
197
211
|
}), /* @__PURE__ */ h("div", {
|
|
198
|
-
className: "text-
|
|
199
|
-
children:
|
|
212
|
+
className: n("text-sm font-medium", o ? "text-status-info-text" : "text-text-primary"),
|
|
213
|
+
children: r.getDate()
|
|
200
214
|
})]
|
|
201
|
-
},
|
|
202
|
-
|
|
203
|
-
|
|
215
|
+
}), /* @__PURE__ */ h("div", {
|
|
216
|
+
className: "space-y-1",
|
|
217
|
+
children: a.map((e) => /* @__PURE__ */ g("div", {
|
|
218
|
+
className: n("rounded px-2 py-1 text-xs text-white", b[e.platform]),
|
|
219
|
+
children: [/* @__PURE__ */ h("div", {
|
|
220
|
+
className: "font-medium truncate",
|
|
221
|
+
children: e.title
|
|
222
|
+
}), /* @__PURE__ */ h("div", {
|
|
223
|
+
className: "text-[10px] opacity-80 capitalize",
|
|
224
|
+
children: e.status
|
|
225
|
+
})]
|
|
226
|
+
}, e.id))
|
|
227
|
+
})]
|
|
228
|
+
}, t);
|
|
229
|
+
})
|
|
204
230
|
})
|
|
205
231
|
})
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
className: "text-text-primary",
|
|
222
|
-
children: e.title
|
|
223
|
-
})]
|
|
224
|
-
}, e.id))
|
|
225
|
-
}) : /* @__PURE__ */ h("p", {
|
|
226
|
-
className: "text-sm text-text-secondary",
|
|
227
|
-
children: "No posts scheduled for today"
|
|
228
|
-
})]
|
|
229
|
-
}),
|
|
230
|
-
/* @__PURE__ */ g("div", {
|
|
231
|
-
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-4",
|
|
232
|
-
children: [/* @__PURE__ */ g("h3", {
|
|
233
|
-
className: "text-sm font-semibold text-text-primary mb-3 flex items-center gap-2",
|
|
234
|
-
children: [/* @__PURE__ */ h(p, { className: "h-4 w-4" }), "Upcoming Queue"]
|
|
235
|
-
}), /* @__PURE__ */ h("div", {
|
|
236
|
-
className: "space-y-2",
|
|
237
|
-
children: K.map((e) => /* @__PURE__ */ g("div", {
|
|
238
|
-
className: "flex items-center justify-between text-sm",
|
|
239
|
-
children: [/* @__PURE__ */ g("div", {
|
|
240
|
-
className: "flex items-center gap-2",
|
|
241
|
-
children: [/* @__PURE__ */ h("span", { className: n("h-2 w-2 rounded-full", v[e.platform]) }), /* @__PURE__ */ h("span", {
|
|
242
|
-
className: "text-text-primary truncate",
|
|
232
|
+
]
|
|
233
|
+
}), /* @__PURE__ */ g("div", {
|
|
234
|
+
className: "space-y-4",
|
|
235
|
+
children: [
|
|
236
|
+
/* @__PURE__ */ g("div", {
|
|
237
|
+
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-4",
|
|
238
|
+
children: [/* @__PURE__ */ g("h3", {
|
|
239
|
+
className: "text-sm font-semibold text-text-primary mb-3 flex items-center gap-2",
|
|
240
|
+
children: [/* @__PURE__ */ h(u, { className: "h-4 w-4" }), "Today"]
|
|
241
|
+
}), q.length > 0 ? /* @__PURE__ */ h("div", {
|
|
242
|
+
className: "space-y-2",
|
|
243
|
+
children: q.map((e) => /* @__PURE__ */ g("div", {
|
|
244
|
+
className: "flex items-center gap-2 text-sm",
|
|
245
|
+
children: [/* @__PURE__ */ h("span", { className: n("h-2 w-2 rounded-full", b[e.platform]) }), /* @__PURE__ */ h("span", {
|
|
246
|
+
className: "text-text-primary",
|
|
243
247
|
children: e.title
|
|
244
248
|
})]
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
children: [/* @__PURE__ */ h(l, { className: "h-4 w-4" }), "This Month"]
|
|
260
|
-
}), /* @__PURE__ */ g("div", {
|
|
261
|
-
className: "space-y-2",
|
|
262
|
-
children: [
|
|
263
|
-
/* @__PURE__ */ g("div", {
|
|
264
|
-
className: "flex items-center justify-between text-sm",
|
|
265
|
-
children: [/* @__PURE__ */ h("span", {
|
|
266
|
-
className: "text-text-secondary",
|
|
267
|
-
children: "Published"
|
|
268
|
-
}), /* @__PURE__ */ h("span", {
|
|
269
|
-
className: "font-medium text-status-success-text",
|
|
270
|
-
children: q
|
|
271
|
-
})]
|
|
272
|
-
}),
|
|
273
|
-
/* @__PURE__ */ g("div", {
|
|
274
|
-
className: "flex items-center justify-between text-sm",
|
|
275
|
-
children: [/* @__PURE__ */ h("span", {
|
|
276
|
-
className: "text-text-secondary",
|
|
277
|
-
children: "Scheduled"
|
|
278
|
-
}), /* @__PURE__ */ h("span", {
|
|
279
|
-
className: "font-medium text-action-primary-bg",
|
|
280
|
-
children: J
|
|
281
|
-
})]
|
|
282
|
-
}),
|
|
283
|
-
/* @__PURE__ */ g("div", {
|
|
249
|
+
}, e.id))
|
|
250
|
+
}) : /* @__PURE__ */ h("p", {
|
|
251
|
+
className: "text-sm text-text-secondary",
|
|
252
|
+
children: "No posts scheduled for today"
|
|
253
|
+
})]
|
|
254
|
+
}),
|
|
255
|
+
/* @__PURE__ */ g("div", {
|
|
256
|
+
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-4",
|
|
257
|
+
children: [/* @__PURE__ */ g("h3", {
|
|
258
|
+
className: "text-sm font-semibold text-text-primary mb-3 flex items-center gap-2",
|
|
259
|
+
children: [/* @__PURE__ */ h(p, { className: "h-4 w-4" }), "Upcoming Queue"]
|
|
260
|
+
}), /* @__PURE__ */ h("div", {
|
|
261
|
+
className: "space-y-2",
|
|
262
|
+
children: J.map((e) => /* @__PURE__ */ g("div", {
|
|
284
263
|
className: "flex items-center justify-between text-sm",
|
|
285
|
-
children: [/* @__PURE__ */
|
|
286
|
-
className: "
|
|
287
|
-
children: "
|
|
264
|
+
children: [/* @__PURE__ */ g("div", {
|
|
265
|
+
className: "flex items-center gap-2",
|
|
266
|
+
children: [/* @__PURE__ */ h("span", { className: n("h-2 w-2 rounded-full", b[e.platform]) }), /* @__PURE__ */ h("span", {
|
|
267
|
+
className: "text-text-primary truncate",
|
|
268
|
+
children: e.title
|
|
269
|
+
})]
|
|
288
270
|
}), /* @__PURE__ */ h("span", {
|
|
289
|
-
className: "
|
|
290
|
-
children:
|
|
271
|
+
className: "text-xs text-text-secondary whitespace-nowrap ml-2",
|
|
272
|
+
children: new Date(e.date).toLocaleDateString("en-US", {
|
|
273
|
+
month: "short",
|
|
274
|
+
day: "numeric"
|
|
275
|
+
})
|
|
291
276
|
})]
|
|
292
|
-
})
|
|
293
|
-
]
|
|
294
|
-
})
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
277
|
+
}, e.id))
|
|
278
|
+
})]
|
|
279
|
+
}),
|
|
280
|
+
/* @__PURE__ */ g(_, {
|
|
281
|
+
className: "p-4",
|
|
282
|
+
children: [/* @__PURE__ */ g("h3", {
|
|
283
|
+
className: "text-sm font-semibold text-text-primary mb-3 flex items-center gap-2",
|
|
284
|
+
children: [/* @__PURE__ */ h(l, { className: "h-4 w-4" }), "This Month"]
|
|
285
|
+
}), /* @__PURE__ */ g("div", {
|
|
286
|
+
className: "space-y-2",
|
|
287
|
+
children: [
|
|
288
|
+
/* @__PURE__ */ g("div", {
|
|
289
|
+
className: "flex items-center justify-between text-sm",
|
|
290
|
+
children: [/* @__PURE__ */ h("span", {
|
|
291
|
+
className: "text-text-secondary",
|
|
292
|
+
children: "Published"
|
|
293
|
+
}), /* @__PURE__ */ h("span", {
|
|
294
|
+
className: "font-medium text-status-success-text",
|
|
295
|
+
children: Y
|
|
296
|
+
})]
|
|
297
|
+
}),
|
|
298
|
+
/* @__PURE__ */ g("div", {
|
|
299
|
+
className: "flex items-center justify-between text-sm",
|
|
300
|
+
children: [/* @__PURE__ */ h("span", {
|
|
301
|
+
className: "text-text-secondary",
|
|
302
|
+
children: "Scheduled"
|
|
303
|
+
}), /* @__PURE__ */ h("span", {
|
|
304
|
+
className: "font-medium text-action-primary-bg",
|
|
305
|
+
children: X
|
|
306
|
+
})]
|
|
307
|
+
}),
|
|
308
|
+
/* @__PURE__ */ g("div", {
|
|
309
|
+
className: "flex items-center justify-between text-sm",
|
|
310
|
+
children: [/* @__PURE__ */ h("span", {
|
|
311
|
+
className: "text-text-secondary",
|
|
312
|
+
children: "Drafts"
|
|
313
|
+
}), /* @__PURE__ */ h("span", {
|
|
314
|
+
className: "font-medium text-text-secondary",
|
|
315
|
+
children: Z
|
|
316
|
+
})]
|
|
317
|
+
})
|
|
318
|
+
]
|
|
319
|
+
})]
|
|
320
|
+
})
|
|
321
|
+
]
|
|
322
|
+
})]
|
|
323
|
+
})
|
|
324
|
+
]
|
|
299
325
|
});
|
|
300
326
|
};
|
|
301
327
|
//#endregion
|
|
302
|
-
export {
|
|
328
|
+
export { w as ContentCalendarPage };
|
|
303
329
|
|
|
304
330
|
//# sourceMappingURL=ContentCalendarPage.js.map
|