@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.
Files changed (89) hide show
  1. package/dist/headshotmarketing/components/DataTable.js +58 -53
  2. package/dist/headshotmarketing/components/DataTable.js.map +1 -1
  3. package/dist/headshotmarketing/pages/HomePage.js +146 -119
  4. package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
  5. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +276 -219
  6. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
  7. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +202 -146
  8. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
  9. package/dist/headshotmarketing/pages/ads/AdsPage.js +138 -99
  10. package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -1
  11. package/dist/headshotmarketing/pages/ads/AudiencesPage.js +173 -117
  12. package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
  13. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +196 -194
  14. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
  15. package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js +40 -38
  16. package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js.map +1 -1
  17. package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js +123 -95
  18. package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js.map +1 -1
  19. package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js +23 -21
  20. package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js.map +1 -1
  21. package/dist/headshotmarketing/pages/analytics/ReportsPage.js +95 -83
  22. package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
  23. package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js +23 -21
  24. package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js.map +1 -1
  25. package/dist/headshotmarketing/pages/automation/AutomationPage.js +98 -59
  26. package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
  27. package/dist/headshotmarketing/pages/automation/TriggersPage.js +134 -97
  28. package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
  29. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +46 -44
  30. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
  31. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +220 -137
  32. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
  33. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +267 -262
  34. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
  35. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +201 -173
  36. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
  37. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +85 -91
  38. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
  39. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +160 -147
  40. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -1
  41. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +66 -64
  42. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
  43. package/dist/headshotmarketing/pages/content/AIToolsPage.js +82 -74
  44. package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
  45. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +93 -48
  46. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
  47. package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js +23 -21
  48. package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js.map +1 -1
  49. package/dist/headshotmarketing/pages/content/ContentCreationPage.js +39 -37
  50. package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
  51. package/dist/headshotmarketing/pages/content/ContentPage.js +82 -75
  52. package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
  53. package/dist/headshotmarketing/pages/crm/ContactsPage.js +261 -213
  54. package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -1
  55. package/dist/headshotmarketing/pages/crm/CreateContactPage.js +64 -63
  56. package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
  57. package/dist/headshotmarketing/pages/crm/CreateDealPage.js +77 -76
  58. package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
  59. package/dist/headshotmarketing/pages/crm/CrmPage.js +162 -120
  60. package/dist/headshotmarketing/pages/crm/CrmPage.js.map +1 -1
  61. package/dist/headshotmarketing/pages/crm/LeadsPage.js +58 -51
  62. package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
  63. package/dist/headshotmarketing/pages/crm/PipelinePage.js +173 -157
  64. package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
  65. package/dist/headshotmarketing/pages/events/CreateEventPage.js +345 -340
  66. package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
  67. package/dist/headshotmarketing/pages/events/EventsPage.js +100 -87
  68. package/dist/headshotmarketing/pages/events/EventsPage.js.map +1 -1
  69. package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js +162 -147
  70. package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js.map +1 -1
  71. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +136 -87
  72. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
  73. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +56 -28
  74. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
  75. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +246 -184
  76. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
  77. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +144 -111
  78. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
  79. package/dist/headshotmarketing/pages/social-media/AccountsPage.js +27 -25
  80. package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -1
  81. package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js +269 -242
  82. package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js.map +1 -1
  83. package/dist/headshotmarketing/pages/social-media/PostsPage.js +149 -137
  84. package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
  85. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +119 -118
  86. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
  87. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +104 -76
  88. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -1
  89. 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
- }, v = [
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 y(e, t) {
28
+ function S(e, t) {
28
29
  return new Date(e, t + 1, 0).getDate();
29
30
  }
30
- function b(e, t) {
31
+ function C(e, t) {
31
32
  return new Date(e, t, 1).getDay();
32
33
  }
33
- var x = () => {
34
- let { navigate: x } = e(), { data: S } = t({ variables: {
34
+ var w = () => {
35
+ let { navigate: w } = e(), { data: T } = t({ variables: {
35
36
  limit: 200,
36
37
  offset: 0
37
- } }), [C, w] = c("month"), [T, E] = c(new Date(2026, 1, 10)), [D, O] = c("all"), k = T.getFullYear(), A = T.getMonth(), j = y(k, A), M = b(k, A), N = T.toLocaleDateString("en-US", {
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
- }), P = (e) => {
41
- E(new Date(k, A + e, 1));
42
- }, F = (e) => {
43
- let t = new Date(T);
44
- t.setDate(t.getDate() + e * 7), E(t);
45
- }, I = s(() => (S?.headshotmarketingSocialAccounts.items ?? []).map((e) => a(e)), [S?.headshotmarketingSocialAccounts.items]), L = s(() => Object.fromEntries((S?.headshotmarketingSocialAccounts.items ?? []).map((e) => [e.id, e.accountName])), [S?.headshotmarketingSocialAccounts.items]), R = s(() => Object.fromEntries(I.map((e) => [e.id, e.platform])), [I]), z = s(() => (S?.headshotmarketingSocialPosts.items ?? []).map((e) => o(e, L, R)), [
46
- S?.headshotmarketingSocialPosts.items,
47
- L,
48
- R
49
- ]), B = s(() => i(z), [z]), V = s(() => D === "all" ? B : B.filter((e) => e.platform === D), [D, B]), H = (e) => V.filter((t) => t.date === e), U = "2026-02-10", W = V.filter((e) => e.date === U), G = V.filter((e) => e.date > U && e.status === "scheduled").sort((e, t) => e.date.localeCompare(t.date)).slice(0, 5), K = V.filter((e) => e.status === "published").length, q = V.filter((e) => e.status === "scheduled").length, J = V.filter((e) => e.status === "draft").length, Y = new Date(T);
50
- Y.setDate(Y.getDate() - Y.getDay());
51
- let X = [];
52
- for (let e = 0; e < M; e++) X.push(null);
53
- for (let e = 1; e <= j; e++) X.push(e);
54
- for (; X.length % 7 != 0;) X.push(null);
55
- return /* @__PURE__ */ h(r, {
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: () => x("/social-media/compose"),
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: /* @__PURE__ */ g("div", {
64
- className: "grid grid-cols-1 gap-6 lg:grid-cols-4",
65
- children: [/* @__PURE__ */ g("div", {
66
- className: "lg:col-span-3 space-y-4",
67
- children: [
68
- /* @__PURE__ */ g("div", {
69
- className: "flex items-center justify-between",
70
- children: [/* @__PURE__ */ g("div", {
71
- className: "flex items-center gap-2",
72
- children: [
73
- /* @__PURE__ */ h("button", {
74
- onClick: () => C === "month" ? P(-1) : F(-1),
75
- className: "rounded-md border border-border-subtle p-2 text-text-secondary hover:text-text-primary hover:bg-bg-sunken",
76
- children: /* @__PURE__ */ h(d, { className: "h-4 w-4" })
77
- }),
78
- /* @__PURE__ */ h("h2", {
79
- className: "text-lg font-semibold text-text-primary min-w-[180px] text-center",
80
- children: N
81
- }),
82
- /* @__PURE__ */ h("button", {
83
- onClick: () => C === "month" ? P(1) : F(1),
84
- className: "rounded-md border border-border-subtle p-2 text-text-secondary hover:text-text-primary hover:bg-bg-sunken",
85
- children: /* @__PURE__ */ h(f, { className: "h-4 w-4" })
86
- })
87
- ]
88
- }), /* @__PURE__ */ g("div", {
89
- className: "flex items-center gap-2",
90
- children: [/* @__PURE__ */ g("select", {
91
- value: D,
92
- onChange: (e) => O(e.target.value),
93
- className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
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("option", {
96
- value: "all",
97
- children: "All Platforms"
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("option", {
108
- value: "twitter",
109
- children: "Twitter"
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("option", {
112
- value: "linkedin",
113
- children: "LinkedIn"
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 rounded-md border border-border-subtle",
126
- children: [/* @__PURE__ */ h("button", {
127
- onClick: () => w("month"),
128
- className: n("px-3 py-2 text-sm", C === "month" ? "bg-foreground text-background" : "text-text-secondary hover:text-text-primary"),
129
- children: "Month"
130
- }), /* @__PURE__ */ h("button", {
131
- onClick: () => w("week"),
132
- className: n("px-3 py-2 text-sm", C === "week" ? "bg-foreground text-background" : "text-text-secondary hover:text-text-primary"),
133
- children: "Week"
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
- C === "month" && /* @__PURE__ */ h("div", {
139
- className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop overflow-hidden",
140
- children: /* @__PURE__ */ g("div", {
141
- className: "grid grid-cols-7",
142
- children: [v.map((e) => /* @__PURE__ */ h("div", {
143
- className: "border-b border-r border-border-subtle px-2 py-2 text-center text-xs font-medium text-text-secondary",
144
- children: e
145
- }, e)), X.map((e, t) => {
146
- let r = e ? `${k}-${String(A + 1).padStart(2, "0")}-${String(e).padStart(2, "0")}` : "", i = e ? H(r) : [], a = r === U;
147
- return /* @__PURE__ */ h("div", {
148
- 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"),
149
- children: e && /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h("span", {
150
- className: n("text-xs font-medium", a ? "text-status-info-text font-bold" : "text-text-secondary"),
151
- children: e
152
- }), /* @__PURE__ */ g("div", {
153
- className: "mt-0.5 space-y-0.5",
154
- children: [i.slice(0, 3).map((e) => /* @__PURE__ */ h("div", {
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-[10px] opacity-80 capitalize",
198
- children: e.status
212
+ className: n("text-sm font-medium", o ? "text-status-info-text" : "text-text-primary"),
213
+ children: r.getDate()
199
214
  })]
200
- }, e.id))
201
- })]
202
- }, t);
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
- }), /* @__PURE__ */ g("div", {
208
- className: "space-y-4",
209
- children: [
210
- /* @__PURE__ */ g("div", {
211
- className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-4",
212
- children: [/* @__PURE__ */ g("h3", {
213
- className: "text-sm font-semibold text-text-primary mb-3 flex items-center gap-2",
214
- children: [/* @__PURE__ */ h(u, { className: "h-4 w-4" }), "Today"]
215
- }), W.length > 0 ? /* @__PURE__ */ h("div", {
216
- className: "space-y-2",
217
- children: W.map((e) => /* @__PURE__ */ g("div", {
218
- className: "flex items-center gap-2 text-sm",
219
- children: [/* @__PURE__ */ h("span", { className: n("h-2 w-2 rounded-full", _[e.platform]) }), /* @__PURE__ */ h("span", {
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
- }), /* @__PURE__ */ h("span", {
245
- className: "text-xs text-text-secondary whitespace-nowrap ml-2",
246
- children: new Date(e.date).toLocaleDateString("en-US", {
247
- month: "short",
248
- day: "numeric"
249
- })
250
- })]
251
- }, e.id))
252
- })]
253
- }),
254
- /* @__PURE__ */ g("div", {
255
- className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-4",
256
- children: [/* @__PURE__ */ g("h3", {
257
- className: "text-sm font-semibold text-text-primary mb-3 flex items-center gap-2",
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__ */ h("span", {
285
- className: "text-text-secondary",
286
- children: "Drafts"
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: "font-medium text-text-secondary",
289
- children: J
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 { x as ContentCalendarPage };
328
+ export { w as ContentCalendarPage };
302
329
 
303
330
  //# sourceMappingURL=ContentCalendarPage.js.map