@burdenoff/microfe-headshotmarketing 2026.625.1 → 2026.626.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/headshotmarketing/components/DataTable.js +58 -53
- package/dist/headshotmarketing/components/DataTable.js.map +1 -1
- package/dist/headshotmarketing/pages/HomePage.js +146 -119
- package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +276 -219
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +202 -146
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdsPage.js +138 -99
- package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js +173 -117
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +196 -194
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js +40 -38
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js +123 -95
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js +23 -21
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js +95 -83
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js +23 -21
- package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/AutomationPage.js +98 -59
- package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/TriggersPage.js +134 -97
- package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +46 -44
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +220 -137
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +267 -262
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +201 -173
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +85 -91
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +160 -147
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +66 -64
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AIToolsPage.js +82 -74
- package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +93 -48
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js +23 -21
- package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js +39 -37
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentPage.js +82 -75
- package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/ContactsPage.js +261 -213
- package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js +64 -63
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js +77 -76
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CrmPage.js +162 -120
- package/dist/headshotmarketing/pages/crm/CrmPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/LeadsPage.js +58 -51
- package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/PipelinePage.js +173 -157
- package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/CreateEventPage.js +345 -340
- package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/EventsPage.js +100 -87
- package/dist/headshotmarketing/pages/events/EventsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js +162 -147
- package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +136 -87
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +56 -28
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +246 -184
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +144 -111
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/AccountsPage.js +27 -25
- package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js +269 -242
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/PostsPage.js +149 -137
- package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +119 -118
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +104 -76
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -1
- package/package.json +2 -2
|
@@ -7,15 +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 { EmphasisPanel as _, NextSteps as v, PagePurpose as y } from "@burdenoff/fe-libs/ui";
|
|
10
11
|
//#region src/headshotmarketing/pages/social-media/ContentCalendarPage.tsx
|
|
11
|
-
var
|
|
12
|
+
var b = {
|
|
12
13
|
instagram: "bg-action-primary-bg",
|
|
13
14
|
facebook: "bg-status-info-text",
|
|
14
15
|
twitter: "bg-status-info-text",
|
|
15
16
|
linkedin: "bg-status-info-text",
|
|
16
17
|
youtube: "bg-status-error-text",
|
|
17
18
|
tiktok: "bg-bg-sunken"
|
|
18
|
-
},
|
|
19
|
+
}, x = [
|
|
19
20
|
"Sun",
|
|
20
21
|
"Mon",
|
|
21
22
|
"Tue",
|
|
@@ -24,280 +25,306 @@ var _ = {
|
|
|
24
25
|
"Fri",
|
|
25
26
|
"Sat"
|
|
26
27
|
];
|
|
27
|
-
function
|
|
28
|
+
function S(e, t) {
|
|
28
29
|
return new Date(e, t + 1, 0).getDate();
|
|
29
30
|
}
|
|
30
|
-
function
|
|
31
|
+
function C(e, t) {
|
|
31
32
|
return new Date(e, t, 1).getDay();
|
|
32
33
|
}
|
|
33
|
-
var
|
|
34
|
-
let { navigate:
|
|
34
|
+
var w = () => {
|
|
35
|
+
let { navigate: w } = e(), { data: T } = t({ variables: {
|
|
35
36
|
limit: 200,
|
|
36
37
|
offset: 0
|
|
37
|
-
} }), [
|
|
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", {
|
|
38
39
|
month: "long",
|
|
39
40
|
year: "numeric"
|
|
40
|
-
}),
|
|
41
|
-
|
|
42
|
-
},
|
|
43
|
-
let t = new Date(
|
|
44
|
-
t.setDate(t.getDate() + e * 7),
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
]),
|
|
50
|
-
|
|
51
|
-
let
|
|
52
|
-
for (let e = 0; e <
|
|
53
|
-
for (let e = 1; e <=
|
|
54
|
-
for (;
|
|
55
|
-
return /* @__PURE__ */
|
|
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
|
+
return /* @__PURE__ */ g(r, {
|
|
56
57
|
title: "Content Calendar",
|
|
57
58
|
description: "Plan and visualize your content schedule",
|
|
58
59
|
actions: /* @__PURE__ */ h("button", {
|
|
59
|
-
onClick: () =>
|
|
60
|
+
onClick: () => w("/social-media/compose"),
|
|
60
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",
|
|
61
62
|
children: "+ New Post"
|
|
62
63
|
}),
|
|
63
|
-
children:
|
|
64
|
-
|
|
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
|
-
|
|
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",
|
|
94
98
|
children: [
|
|
95
|
-
/* @__PURE__ */ h("
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
/* @__PURE__ */ h("option", {
|
|
100
|
-
value: "instagram",
|
|
101
|
-
children: "Instagram"
|
|
102
|
-
}),
|
|
103
|
-
/* @__PURE__ */ h("option", {
|
|
104
|
-
value: "facebook",
|
|
105
|
-
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" })
|
|
106
103
|
}),
|
|
107
|
-
/* @__PURE__ */ h("
|
|
108
|
-
|
|
109
|
-
children:
|
|
104
|
+
/* @__PURE__ */ h("h2", {
|
|
105
|
+
className: "text-lg font-semibold text-text-primary min-w-[180px] text-center",
|
|
106
|
+
children: I
|
|
110
107
|
}),
|
|
111
|
-
/* @__PURE__ */ h("
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
/* @__PURE__ */ h("option", {
|
|
116
|
-
value: "youtube",
|
|
117
|
-
children: "YouTube"
|
|
118
|
-
}),
|
|
119
|
-
/* @__PURE__ */ h("option", {
|
|
120
|
-
value: "tiktok",
|
|
121
|
-
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" })
|
|
122
112
|
})
|
|
123
113
|
]
|
|
124
114
|
}), /* @__PURE__ */ g("div", {
|
|
125
|
-
className: "flex
|
|
126
|
-
children: [/* @__PURE__ */
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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
|
+
})]
|
|
134
161
|
})]
|
|
135
162
|
})]
|
|
136
|
-
})
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
className: n("rounded px-1 py-0.5 text-[10px] text-white truncate", _[e.platform]),
|
|
156
|
-
children: e.title
|
|
157
|
-
}, e.id)), i.length > 3 && /* @__PURE__ */ g("span", {
|
|
158
|
-
className: "text-[10px] text-text-secondary",
|
|
159
|
-
children: [
|
|
160
|
-
"+",
|
|
161
|
-
i.length - 3,
|
|
162
|
-
" more"
|
|
163
|
-
]
|
|
164
|
-
})]
|
|
165
|
-
})] })
|
|
166
|
-
}, t);
|
|
167
|
-
})]
|
|
168
|
-
})
|
|
169
|
-
}),
|
|
170
|
-
C === "week" && /* @__PURE__ */ h("div", {
|
|
171
|
-
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop overflow-hidden",
|
|
172
|
-
children: /* @__PURE__ */ h("div", {
|
|
173
|
-
className: "grid grid-cols-7",
|
|
174
|
-
children: Array.from({ length: 7 }).map((e, t) => {
|
|
175
|
-
let r = new Date(Y);
|
|
176
|
-
r.setDate(r.getDate() + t);
|
|
177
|
-
let i = r.toISOString().split("T")[0], a = H(i), o = i === U;
|
|
178
|
-
return /* @__PURE__ */ g("div", {
|
|
179
|
-
className: n("border-r border-border-subtle p-3 min-h-[200px]", o && "bg-status-info-bg/50"),
|
|
180
|
-
children: [/* @__PURE__ */ g("div", {
|
|
181
|
-
className: "text-center mb-2",
|
|
182
|
-
children: [/* @__PURE__ */ h("div", {
|
|
183
|
-
className: "text-xs text-text-secondary",
|
|
184
|
-
children: v[t]
|
|
185
|
-
}), /* @__PURE__ */ h("div", {
|
|
186
|
-
className: n("text-sm font-medium", o ? "text-status-info-text" : "text-text-primary"),
|
|
187
|
-
children: r.getDate()
|
|
188
|
-
})]
|
|
189
|
-
}), /* @__PURE__ */ h("div", {
|
|
190
|
-
className: "space-y-1",
|
|
191
|
-
children: a.map((e) => /* @__PURE__ */ g("div", {
|
|
192
|
-
className: n("rounded px-2 py-1 text-xs text-white", _[e.platform]),
|
|
193
|
-
children: [/* @__PURE__ */ h("div", {
|
|
194
|
-
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]),
|
|
195
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]
|
|
196
211
|
}), /* @__PURE__ */ h("div", {
|
|
197
|
-
className: "text-
|
|
198
|
-
children:
|
|
212
|
+
className: n("text-sm font-medium", o ? "text-status-info-text" : "text-text-primary"),
|
|
213
|
+
children: r.getDate()
|
|
199
214
|
})]
|
|
200
|
-
},
|
|
201
|
-
|
|
202
|
-
|
|
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
|
+
})
|
|
203
230
|
})
|
|
204
231
|
})
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
className: "text-text-primary",
|
|
221
|
-
children: e.title
|
|
222
|
-
})]
|
|
223
|
-
}, e.id))
|
|
224
|
-
}) : /* @__PURE__ */ h("p", {
|
|
225
|
-
className: "text-sm text-text-secondary",
|
|
226
|
-
children: "No posts scheduled for today"
|
|
227
|
-
})]
|
|
228
|
-
}),
|
|
229
|
-
/* @__PURE__ */ g("div", {
|
|
230
|
-
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-4",
|
|
231
|
-
children: [/* @__PURE__ */ g("h3", {
|
|
232
|
-
className: "text-sm font-semibold text-text-primary mb-3 flex items-center gap-2",
|
|
233
|
-
children: [/* @__PURE__ */ h(p, { className: "h-4 w-4" }), "Upcoming Queue"]
|
|
234
|
-
}), /* @__PURE__ */ h("div", {
|
|
235
|
-
className: "space-y-2",
|
|
236
|
-
children: G.map((e) => /* @__PURE__ */ g("div", {
|
|
237
|
-
className: "flex items-center justify-between text-sm",
|
|
238
|
-
children: [/* @__PURE__ */ g("div", {
|
|
239
|
-
className: "flex items-center gap-2",
|
|
240
|
-
children: [/* @__PURE__ */ h("span", { className: n("h-2 w-2 rounded-full", _[e.platform]) }), /* @__PURE__ */ h("span", {
|
|
241
|
-
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",
|
|
242
247
|
children: e.title
|
|
243
248
|
})]
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
children: [/* @__PURE__ */ h(l, { className: "h-4 w-4" }), "This Month"]
|
|
259
|
-
}), /* @__PURE__ */ g("div", {
|
|
260
|
-
className: "space-y-2",
|
|
261
|
-
children: [
|
|
262
|
-
/* @__PURE__ */ g("div", {
|
|
263
|
-
className: "flex items-center justify-between text-sm",
|
|
264
|
-
children: [/* @__PURE__ */ h("span", {
|
|
265
|
-
className: "text-text-secondary",
|
|
266
|
-
children: "Published"
|
|
267
|
-
}), /* @__PURE__ */ h("span", {
|
|
268
|
-
className: "font-medium text-status-success-text",
|
|
269
|
-
children: K
|
|
270
|
-
})]
|
|
271
|
-
}),
|
|
272
|
-
/* @__PURE__ */ g("div", {
|
|
273
|
-
className: "flex items-center justify-between text-sm",
|
|
274
|
-
children: [/* @__PURE__ */ h("span", {
|
|
275
|
-
className: "text-text-secondary",
|
|
276
|
-
children: "Scheduled"
|
|
277
|
-
}), /* @__PURE__ */ h("span", {
|
|
278
|
-
className: "font-medium text-action-primary-bg",
|
|
279
|
-
children: q
|
|
280
|
-
})]
|
|
281
|
-
}),
|
|
282
|
-
/* @__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", {
|
|
283
263
|
className: "flex items-center justify-between text-sm",
|
|
284
|
-
children: [/* @__PURE__ */
|
|
285
|
-
className: "
|
|
286
|
-
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
|
+
})]
|
|
287
270
|
}), /* @__PURE__ */ h("span", {
|
|
288
|
-
className: "
|
|
289
|
-
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
|
+
})
|
|
290
276
|
})]
|
|
291
|
-
})
|
|
292
|
-
]
|
|
293
|
-
})
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
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
|
+
]
|
|
298
325
|
});
|
|
299
326
|
};
|
|
300
327
|
//#endregion
|
|
301
|
-
export {
|
|
328
|
+
export { w as ContentCalendarPage };
|
|
302
329
|
|
|
303
330
|
//# sourceMappingURL=ContentCalendarPage.js.map
|