@burdenoff/microfe-headshotmarketing 2026.626.2 → 2026.704.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 (140) hide show
  1. package/dist/generated/wspace-operations.js +970 -52
  2. package/dist/generated/wspace-operations.js.map +1 -1
  3. package/dist/generated/wspace-types.js +26 -10
  4. package/dist/generated/wspace-types.js.map +1 -1
  5. package/dist/headshotmarketing/HeadshotMarketingRoot.js +45 -44
  6. package/dist/headshotmarketing/HeadshotMarketingRoot.js.map +1 -1
  7. package/dist/headshotmarketing/HeadshotMarketingRoutes.js +20 -0
  8. package/dist/headshotmarketing/HeadshotMarketingRoutes.js.map +1 -1
  9. package/dist/headshotmarketing/components/ActionMenu.js +57 -0
  10. package/dist/headshotmarketing/components/ActionMenu.js.map +1 -0
  11. package/dist/headshotmarketing/components/AssetUploadButton.js +47 -0
  12. package/dist/headshotmarketing/components/AssetUploadButton.js.map +1 -0
  13. package/dist/headshotmarketing/components/FilterBar.js.map +1 -1
  14. package/dist/headshotmarketing/components/InfluencerModals.js +606 -0
  15. package/dist/headshotmarketing/components/InfluencerModals.js.map +1 -0
  16. package/dist/headshotmarketing/components/LoadingSkeleton.js +11 -1
  17. package/dist/headshotmarketing/components/LoadingSkeleton.js.map +1 -0
  18. package/dist/headshotmarketing/components/Modal.js +6 -3
  19. package/dist/headshotmarketing/components/Modal.js.map +1 -1
  20. package/dist/headshotmarketing/components/Pagination.js +117 -0
  21. package/dist/headshotmarketing/components/Pagination.js.map +1 -0
  22. package/dist/headshotmarketing/components/QueryStateBoundary.js +46 -0
  23. package/dist/headshotmarketing/components/QueryStateBoundary.js.map +1 -0
  24. package/dist/headshotmarketing/components/StatusBadge.js.map +1 -1
  25. package/dist/headshotmarketing/components/TagChipsInput.js +74 -0
  26. package/dist/headshotmarketing/components/TagChipsInput.js.map +1 -0
  27. package/dist/headshotmarketing/components/index.js +6 -0
  28. package/dist/headshotmarketing/context/HeadshotMarketingContext.js +26 -22
  29. package/dist/headshotmarketing/context/HeadshotMarketingContext.js.map +1 -1
  30. package/dist/headshotmarketing/context/HeadshotmarketingBootstrapContext.js +29 -0
  31. package/dist/headshotmarketing/context/HeadshotmarketingBootstrapContext.js.map +1 -0
  32. package/dist/headshotmarketing/hooks/index.js +4 -0
  33. package/dist/headshotmarketing/hooks/useAssetUpload.js +86 -0
  34. package/dist/headshotmarketing/hooks/useAssetUpload.js.map +1 -0
  35. package/dist/headshotmarketing/hooks/useHeadshotmarketingBootstrap.js +12 -0
  36. package/dist/headshotmarketing/hooks/useHeadshotmarketingBootstrap.js.map +1 -0
  37. package/dist/headshotmarketing/hooks/usePagination.js +53 -0
  38. package/dist/headshotmarketing/hooks/usePagination.js.map +1 -0
  39. package/dist/headshotmarketing/pages/HomePage.js +291 -322
  40. package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
  41. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +522 -225
  42. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
  43. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +749 -147
  44. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
  45. package/dist/headshotmarketing/pages/ads/AdsPage.js +197 -188
  46. package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -1
  47. package/dist/headshotmarketing/pages/ads/AudiencesPage.js +583 -147
  48. package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
  49. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +218 -206
  50. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
  51. package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js +244 -237
  52. package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js.map +1 -1
  53. package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js +278 -272
  54. package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js.map +1 -1
  55. package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js +197 -193
  56. package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js.map +1 -1
  57. package/dist/headshotmarketing/pages/analytics/ReportsPage.js +254 -295
  58. package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
  59. package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js +227 -210
  60. package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js.map +1 -1
  61. package/dist/headshotmarketing/pages/automation/AutomationPage.js +239 -168
  62. package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
  63. package/dist/headshotmarketing/pages/automation/TriggersPage.js +150 -102
  64. package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
  65. package/dist/headshotmarketing/pages/automation/WorkflowActions.js +287 -0
  66. package/dist/headshotmarketing/pages/automation/WorkflowActions.js.map +1 -0
  67. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +56 -58
  68. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
  69. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +211 -179
  70. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
  71. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +444 -306
  72. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
  73. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +303 -342
  74. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
  75. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +189 -151
  76. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
  77. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +417 -274
  78. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -1
  79. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +345 -260
  80. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
  81. package/dist/headshotmarketing/pages/content/AIToolsPage.js +261 -192
  82. package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
  83. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +213 -141
  84. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
  85. package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js +242 -246
  86. package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js.map +1 -1
  87. package/dist/headshotmarketing/pages/content/ContentCreationPage.js +184 -136
  88. package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
  89. package/dist/headshotmarketing/pages/content/ContentPage.js +208 -159
  90. package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
  91. package/dist/headshotmarketing/pages/crm/ContactsPage.js +336 -265
  92. package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -1
  93. package/dist/headshotmarketing/pages/crm/CreateContactPage.js +76 -87
  94. package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
  95. package/dist/headshotmarketing/pages/crm/CreateDealPage.js +195 -196
  96. package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
  97. package/dist/headshotmarketing/pages/crm/CrmActions.js +663 -0
  98. package/dist/headshotmarketing/pages/crm/CrmActions.js.map +1 -0
  99. package/dist/headshotmarketing/pages/crm/CrmPage.js +237 -207
  100. package/dist/headshotmarketing/pages/crm/CrmPage.js.map +1 -1
  101. package/dist/headshotmarketing/pages/crm/LeadsPage.js +168 -165
  102. package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
  103. package/dist/headshotmarketing/pages/crm/PipelinePage.js +189 -178
  104. package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
  105. package/dist/headshotmarketing/pages/events/CreateEventPage.js +188 -190
  106. package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
  107. package/dist/headshotmarketing/pages/events/EventsPage.js +256 -238
  108. package/dist/headshotmarketing/pages/events/EventsPage.js.map +1 -1
  109. package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js +195 -167
  110. package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js.map +1 -1
  111. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +280 -243
  112. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
  113. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +186 -183
  114. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
  115. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +303 -231
  116. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
  117. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +460 -310
  118. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
  119. package/dist/headshotmarketing/pages/social-media/AccountsPage.js +318 -104
  120. package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -1
  121. package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js +266 -255
  122. package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js.map +1 -1
  123. package/dist/headshotmarketing/pages/social-media/PostsPage.js +365 -202
  124. package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
  125. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +321 -233
  126. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
  127. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +324 -308
  128. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -1
  129. package/dist/headshotmarketing/utils/adsMapper.js +74 -51
  130. package/dist/headshotmarketing/utils/adsMapper.js.map +1 -1
  131. package/dist/headshotmarketing/utils/analyticsMapper.js +11 -11
  132. package/dist/headshotmarketing/utils/analyticsMapper.js.map +1 -1
  133. package/dist/headshotmarketing/utils/crmMapper.js.map +1 -1
  134. package/dist/headshotmarketing/utils/helpers.js +11 -1
  135. package/dist/headshotmarketing/utils/helpers.js.map +1 -1
  136. package/dist/headshotmarketing/utils/influencerMapper.js +5 -4
  137. package/dist/headshotmarketing/utils/influencerMapper.js.map +1 -1
  138. package/package.json +1 -1
  139. package/dist/headshotmarketing/utils/reportMapper.js +0 -33
  140. package/dist/headshotmarketing/utils/reportMapper.js.map +0 -1
@@ -1,16 +1,17 @@
1
- import { useHeadshotMarketing as e } from "../../context/HeadshotMarketingContext.js";
2
- import { HeadshotmarketingBootstrapDataDocument as t, useHeadshotmarketingCreateEventMutation as n } from "../../../generated/wspace-operations.js";
3
- import { cn as r } from "../../utils/helpers.js";
4
- import { PageLayout as i } from "../../components/PageLayout.js";
5
- import "../../components/index.js";
1
+ import { HeadshotmarketingBootstrapDataDocument as e, useHeadshotmarketingCreateEventMutation as t } from "../../../generated/wspace-operations.js";
2
+ import "../../context/HeadshotmarketingBootstrapContext.js";
3
+ import { useHeadshotMarketing as n } from "../../context/HeadshotMarketingContext.js";
4
+ import { cn as r, joinPath as i } from "../../utils/helpers.js";
6
5
  import { HeadshotmarketingEventType as a } from "../../../generated/wspace-types.js";
7
- import { useState as o } from "react";
8
- import { ArrowLeft as s, Clock as c, Plus as l, Save as u, Trash2 as d, User as f } from "lucide-react";
9
- import { jsx as p, jsxs as m } from "react/jsx-runtime";
10
- import { EmphasisPanel as h, PagePurpose as g } from "@burdenoff/fe-libs/ui";
6
+ import { PageLayout as o } from "../../components/PageLayout.js";
7
+ import "../../components/index.js";
8
+ import { useState as s } from "react";
9
+ import { ArrowLeft as c, Clock as l, Plus as u, Save as d, Trash2 as f, User as p } from "lucide-react";
10
+ import { jsx as m, jsxs as h } from "react/jsx-runtime";
11
+ import { EmphasisPanel as g, PagePurpose as _ } from "@burdenoff/fe-libs/ui";
11
12
  //#region src/headshotmarketing/pages/events/CreateEventPage.tsx
12
- var _ = () => {
13
- let { navigate: _ } = e(), [v, { loading: y, error: b }] = n(), [x, S] = o("basic"), [C, w] = o(null), [T, E] = o({
13
+ var v = () => {
14
+ let { navigate: v, basePath: y } = n(), [b, { loading: x, error: S }] = t(), [C, w] = s("basic"), [T, E] = s(null), [D, O] = s({
14
15
  name: "",
15
16
  description: "",
16
17
  type: "webinar",
@@ -20,23 +21,23 @@ var _ = () => {
20
21
  isVirtual: !0,
21
22
  maxCapacity: "",
22
23
  registrationUrl: ""
23
- }), [D, O] = o([{
24
+ }), [k, A] = s([{
24
25
  id: "1",
25
26
  name: "",
26
27
  title: "",
27
28
  company: ""
28
- }]), [k, A] = o([{
29
+ }]), [j, M] = s([{
29
30
  id: "1",
30
31
  time: "09:00",
31
32
  title: "",
32
33
  speaker: ""
33
- }]), [j, M] = o({
34
+ }]), [N, P] = s({
34
35
  budget: "",
35
36
  tags: "",
36
37
  emailCampaign: !1,
37
38
  socialPromotion: !1,
38
39
  paidAds: !1
39
- }), N = [
40
+ }), F = [
40
41
  {
41
42
  key: "basic",
42
43
  label: "Basic Info"
@@ -53,217 +54,214 @@ var _ = () => {
53
54
  key: "marketing",
54
55
  label: "Marketing"
55
56
  }
56
- ], P = "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]", F = () => {
57
- O((e) => [...e, {
57
+ ], I = "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]", L = () => {
58
+ A((e) => [...e, {
58
59
  id: String(Date.now()),
59
60
  name: "",
60
61
  title: "",
61
62
  company: ""
62
63
  }]);
63
- }, I = (e) => {
64
- O((t) => t.filter((t) => t.id !== e));
65
- }, L = () => {
66
- A((e) => [...e, {
64
+ }, R = (e) => {
65
+ A((t) => t.filter((t) => t.id !== e));
66
+ }, z = () => {
67
+ M((e) => [...e, {
67
68
  id: String(Date.now()),
68
69
  time: "",
69
70
  title: "",
70
71
  speaker: ""
71
72
  }]);
72
- }, R = (e) => {
73
- A((t) => t.filter((t) => t.id !== e));
74
- }, z = (e) => {
73
+ }, B = (e) => {
74
+ M((t) => t.filter((t) => t.id !== e));
75
+ }, V = (e) => {
75
76
  switch (e) {
76
77
  case "conference": return a.Conference;
77
78
  case "workshop": return a.Workshop;
78
79
  case "meetup": return a.Meetup;
79
80
  default: return a.Webinar;
80
81
  }
81
- }, B = async () => {
82
- if (!T.name.trim()) {
83
- w("Event name is required.");
82
+ }, H = async () => {
83
+ if (!D.name.trim()) {
84
+ E("Event name is required.");
84
85
  return;
85
86
  }
86
- if (!T.startDate || !T.endDate) {
87
- w("Start and end date are required.");
87
+ if (!D.startDate || !D.endDate) {
88
+ E("Start and end date are required.");
88
89
  return;
89
90
  }
90
- let e = new Date(T.startDate), n = new Date(T.endDate);
91
- if (Number.isNaN(e.getTime()) || Number.isNaN(n.getTime())) {
92
- w("Start and end date must be valid.");
91
+ let t = new Date(D.startDate), n = new Date(D.endDate);
92
+ if (Number.isNaN(t.getTime()) || Number.isNaN(n.getTime())) {
93
+ E("Start and end date must be valid.");
93
94
  return;
94
95
  }
95
- if (n.getTime() < e.getTime()) {
96
- w("End date must be after start date.");
96
+ if (n.getTime() < t.getTime()) {
97
+ E("End date must be after start date.");
97
98
  return;
98
99
  }
99
- w(null);
100
- let r = j.tags.split(",").map((e) => e.trim()).filter(Boolean), i = {
101
- title: T.name.trim(),
102
- description: T.description || null,
103
- type: z(T.type),
104
- startDate: e.toISOString(),
100
+ E(null);
101
+ let r = N.tags.split(",").map((e) => e.trim()).filter(Boolean), a = {
102
+ title: D.name.trim(),
103
+ description: D.description || null,
104
+ type: V(D.type),
105
+ startDate: t.toISOString(),
105
106
  endDate: n.toISOString(),
106
- location: T.isVirtual ? null : T.location || null,
107
- virtualUrl: T.isVirtual && T.location || null,
108
- maxAttendees: T.maxCapacity ? Number(T.maxCapacity) : null,
107
+ location: D.isVirtual ? null : D.location || null,
108
+ virtualUrl: D.isVirtual && D.location || null,
109
+ maxAttendees: D.maxCapacity ? Number(D.maxCapacity) : null,
109
110
  timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
110
111
  tags: r,
111
112
  metadata: {
112
- registrationUrl: T.registrationUrl || null,
113
- speakers: D,
114
- agenda: k,
115
- marketing: j
113
+ registrationUrl: D.registrationUrl || null,
114
+ speakers: k,
115
+ agenda: j,
116
+ marketing: N
116
117
  }
117
118
  };
118
119
  try {
119
- await v({
120
- variables: { input: i },
120
+ await b({
121
+ variables: { input: a },
121
122
  refetchQueries: [{
122
- query: t,
123
- variables: {
124
- limit: 200,
125
- offset: 0
126
- }
123
+ query: e,
124
+ variables: { limit: 200 }
127
125
  }],
128
126
  awaitRefetchQueries: !0
129
- }), _("events");
127
+ }), v(i(y, "events"));
130
128
  } catch (e) {
131
- w(e instanceof Error ? e.message : "Failed to create event.");
129
+ E(e instanceof Error ? e.message : "Failed to create event.");
132
130
  }
133
- }, V = C ?? b?.message ?? null;
134
- return /* @__PURE__ */ m(i, {
131
+ }, U = T ?? S?.message ?? null;
132
+ return /* @__PURE__ */ h(o, {
135
133
  title: "Create Event",
136
134
  description: "Set up a new marketing event",
137
- actions: /* @__PURE__ */ m("button", {
138
- onClick: () => _("events"),
135
+ actions: /* @__PURE__ */ h("button", {
136
+ onClick: () => v(i(y, "events")),
139
137
  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",
140
- children: [/* @__PURE__ */ p(s, { className: "h-4 w-4" }), "Back"]
138
+ children: [/* @__PURE__ */ m(c, { className: "h-4 w-4" }), "Back"]
141
139
  }),
142
140
  children: [
143
- /* @__PURE__ */ p(g, { children: "Set up a marketing event end to end — the basics (name, type, date and location), your speakers and agenda, ticketing, and the channels you'll promote it on. Fill in each tab, then publish to open registration." }),
144
- /* @__PURE__ */ p("div", {
141
+ /* @__PURE__ */ m(_, { children: "Set up a marketing event end to end — the basics (name, type, date and location), your speakers and agenda, ticketing, and the channels you'll promote it on. Fill in each tab, then publish to open registration." }),
142
+ /* @__PURE__ */ m("div", {
145
143
  className: "border-b border-border-subtle",
146
- children: /* @__PURE__ */ p("div", {
147
- className: "flex gap-6",
148
- children: N.map((e) => /* @__PURE__ */ p("button", {
149
- onClick: () => S(e.key),
150
- className: r("pb-3 text-sm font-medium transition-colors border-b-2", x === e.key ? "border-primary text-text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
144
+ children: /* @__PURE__ */ m("div", {
145
+ className: "flex flex-nowrap gap-6 overflow-x-auto",
146
+ children: F.map((e) => /* @__PURE__ */ m("button", {
147
+ onClick: () => w(e.key),
148
+ className: r("whitespace-nowrap pb-3 text-sm font-medium transition-colors border-b-2", C === e.key ? "border-primary text-text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
151
149
  children: e.label
152
150
  }, e.key))
153
151
  })
154
152
  }),
155
- /* @__PURE__ */ p("div", {
153
+ /* @__PURE__ */ m("div", {
156
154
  className: "max-w-2xl",
157
- children: /* @__PURE__ */ m(h, {
155
+ children: /* @__PURE__ */ h(g, {
158
156
  className: "p-6",
159
157
  children: [
160
- x === "basic" && /* @__PURE__ */ m("div", {
158
+ C === "basic" && /* @__PURE__ */ h("div", {
161
159
  className: "space-y-4",
162
160
  children: [
163
- /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
161
+ /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
164
162
  className: "block text-sm font-medium text-text-primary mb-1",
165
163
  children: "Event Name"
166
- }), /* @__PURE__ */ p("input", {
164
+ }), /* @__PURE__ */ m("input", {
167
165
  type: "text",
168
- value: T.name,
169
- onChange: (e) => E((t) => ({
166
+ value: D.name,
167
+ onChange: (e) => O((t) => ({
170
168
  ...t,
171
169
  name: e.target.value
172
170
  })),
173
171
  placeholder: "Enter event name",
174
- className: P
172
+ className: I
175
173
  })] }),
176
- /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
174
+ /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
177
175
  className: "block text-sm font-medium text-text-primary mb-1",
178
176
  children: "Description"
179
- }), /* @__PURE__ */ p("textarea", {
180
- value: T.description,
181
- onChange: (e) => E((t) => ({
177
+ }), /* @__PURE__ */ m("textarea", {
178
+ value: D.description,
179
+ onChange: (e) => O((t) => ({
182
180
  ...t,
183
181
  description: e.target.value
184
182
  })),
185
183
  placeholder: "Describe your event",
186
184
  rows: 3,
187
- className: r(P, "resize-none")
185
+ className: r(I, "resize-none")
188
186
  })] }),
189
- /* @__PURE__ */ m("div", {
190
- className: "grid grid-cols-2 gap-4",
191
- children: [/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
187
+ /* @__PURE__ */ h("div", {
188
+ className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
189
+ children: [/* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
192
190
  className: "block text-sm font-medium text-text-primary mb-1",
193
191
  children: "Event Type"
194
- }), /* @__PURE__ */ m("select", {
195
- value: T.type,
196
- onChange: (e) => E((t) => ({
192
+ }), /* @__PURE__ */ h("select", {
193
+ value: D.type,
194
+ onChange: (e) => O((t) => ({
197
195
  ...t,
198
196
  type: e.target.value
199
197
  })),
200
- className: P,
198
+ className: I,
201
199
  children: [
202
- /* @__PURE__ */ p("option", {
200
+ /* @__PURE__ */ m("option", {
203
201
  value: "webinar",
204
202
  children: "Webinar"
205
203
  }),
206
- /* @__PURE__ */ p("option", {
204
+ /* @__PURE__ */ m("option", {
207
205
  value: "conference",
208
206
  children: "Conference"
209
207
  }),
210
- /* @__PURE__ */ p("option", {
208
+ /* @__PURE__ */ m("option", {
211
209
  value: "workshop",
212
210
  children: "Workshop"
213
211
  }),
214
- /* @__PURE__ */ p("option", {
212
+ /* @__PURE__ */ m("option", {
215
213
  value: "meetup",
216
214
  children: "Meetup"
217
215
  })
218
216
  ]
219
- })] }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
217
+ })] }), /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
220
218
  className: "block text-sm font-medium text-text-primary mb-1",
221
219
  children: "Max Capacity"
222
- }), /* @__PURE__ */ p("input", {
220
+ }), /* @__PURE__ */ m("input", {
223
221
  type: "number",
224
- value: T.maxCapacity,
225
- onChange: (e) => E((t) => ({
222
+ value: D.maxCapacity,
223
+ onChange: (e) => O((t) => ({
226
224
  ...t,
227
225
  maxCapacity: e.target.value
228
226
  })),
229
227
  placeholder: "500",
230
- className: P
228
+ className: I
231
229
  })] })]
232
230
  }),
233
- /* @__PURE__ */ m("div", {
234
- className: "grid grid-cols-2 gap-4",
235
- children: [/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
231
+ /* @__PURE__ */ h("div", {
232
+ className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
233
+ children: [/* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
236
234
  className: "block text-sm font-medium text-text-primary mb-1",
237
235
  children: "Start Date & Time"
238
- }), /* @__PURE__ */ p("input", {
236
+ }), /* @__PURE__ */ m("input", {
239
237
  type: "datetime-local",
240
- value: T.startDate,
241
- onChange: (e) => E((t) => ({
238
+ value: D.startDate,
239
+ onChange: (e) => O((t) => ({
242
240
  ...t,
243
241
  startDate: e.target.value
244
242
  })),
245
- className: P
246
- })] }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
243
+ className: I
244
+ })] }), /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
247
245
  className: "block text-sm font-medium text-text-primary mb-1",
248
246
  children: "End Date & Time"
249
- }), /* @__PURE__ */ p("input", {
247
+ }), /* @__PURE__ */ m("input", {
250
248
  type: "datetime-local",
251
- value: T.endDate,
252
- onChange: (e) => E((t) => ({
249
+ value: D.endDate,
250
+ onChange: (e) => O((t) => ({
253
251
  ...t,
254
252
  endDate: e.target.value
255
253
  })),
256
- className: P
254
+ className: I
257
255
  })] })]
258
256
  }),
259
- /* @__PURE__ */ p("div", {
257
+ /* @__PURE__ */ m("div", {
260
258
  className: "flex items-center gap-3",
261
- children: /* @__PURE__ */ m("label", {
259
+ children: /* @__PURE__ */ h("label", {
262
260
  className: "flex items-center gap-2 text-sm text-text-primary",
263
- children: [/* @__PURE__ */ p("input", {
261
+ children: [/* @__PURE__ */ m("input", {
264
262
  type: "checkbox",
265
- checked: T.isVirtual,
266
- onChange: (e) => E((t) => ({
263
+ checked: D.isVirtual,
264
+ onChange: (e) => O((t) => ({
267
265
  ...t,
268
266
  isVirtual: e.target.checked
269
267
  })),
@@ -271,162 +269,162 @@ var _ = () => {
271
269
  }), "Virtual Event"]
272
270
  })
273
271
  }),
274
- /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
272
+ /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
275
273
  className: "block text-sm font-medium text-text-primary mb-1",
276
- children: T.isVirtual ? "Platform URL" : "Location"
277
- }), /* @__PURE__ */ p("input", {
274
+ children: D.isVirtual ? "Platform URL" : "Location"
275
+ }), /* @__PURE__ */ m("input", {
278
276
  type: "text",
279
- value: T.location,
280
- onChange: (e) => E((t) => ({
277
+ value: D.location,
278
+ onChange: (e) => O((t) => ({
281
279
  ...t,
282
280
  location: e.target.value
283
281
  })),
284
- placeholder: T.isVirtual ? "https://zoom.us/..." : "San Francisco, CA",
285
- className: P
282
+ placeholder: D.isVirtual ? "https://zoom.us/..." : "San Francisco, CA",
283
+ className: I
286
284
  })] })
287
285
  ]
288
286
  }),
289
- x === "speakers" && /* @__PURE__ */ m("div", {
287
+ C === "speakers" && /* @__PURE__ */ h("div", {
290
288
  className: "space-y-4",
291
- children: [D.map((e, t) => /* @__PURE__ */ m("div", {
289
+ children: [k.map((e, t) => /* @__PURE__ */ h("div", {
292
290
  className: "rounded-md border border-border-subtle p-4",
293
- children: [/* @__PURE__ */ m("div", {
291
+ children: [/* @__PURE__ */ h("div", {
294
292
  className: "flex items-center justify-between mb-3",
295
- children: [/* @__PURE__ */ m("div", {
293
+ children: [/* @__PURE__ */ h("div", {
296
294
  className: "flex items-center gap-2",
297
- children: [/* @__PURE__ */ p(f, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ m("span", {
295
+ children: [/* @__PURE__ */ m(p, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ h("span", {
298
296
  className: "text-sm font-medium text-text-primary",
299
297
  children: ["Speaker ", t + 1]
300
298
  })]
301
- }), D.length > 1 && /* @__PURE__ */ p("button", {
302
- onClick: () => I(e.id),
299
+ }), k.length > 1 && /* @__PURE__ */ m("button", {
300
+ onClick: () => R(e.id),
303
301
  className: "p-1 rounded-md hover:bg-bg-sunken text-text-secondary hover:text-status-error-text",
304
- children: /* @__PURE__ */ p(d, { className: "h-4 w-4" })
302
+ children: /* @__PURE__ */ m(f, { className: "h-4 w-4" })
305
303
  })]
306
- }), /* @__PURE__ */ m("div", {
307
- className: "grid grid-cols-3 gap-3",
304
+ }), /* @__PURE__ */ h("div", {
305
+ className: "grid grid-cols-1 sm:grid-cols-3 gap-3",
308
306
  children: [
309
- /* @__PURE__ */ p("input", {
307
+ /* @__PURE__ */ m("input", {
310
308
  type: "text",
311
309
  placeholder: "Name",
312
310
  value: e.name,
313
- onChange: (t) => O((n) => n.map((n) => n.id === e.id ? {
311
+ onChange: (t) => A((n) => n.map((n) => n.id === e.id ? {
314
312
  ...n,
315
313
  name: t.target.value
316
314
  } : n)),
317
- className: P
315
+ className: I
318
316
  }),
319
- /* @__PURE__ */ p("input", {
317
+ /* @__PURE__ */ m("input", {
320
318
  type: "text",
321
319
  placeholder: "Title",
322
320
  value: e.title,
323
- onChange: (t) => O((n) => n.map((n) => n.id === e.id ? {
321
+ onChange: (t) => A((n) => n.map((n) => n.id === e.id ? {
324
322
  ...n,
325
323
  title: t.target.value
326
324
  } : n)),
327
- className: P
325
+ className: I
328
326
  }),
329
- /* @__PURE__ */ p("input", {
327
+ /* @__PURE__ */ m("input", {
330
328
  type: "text",
331
329
  placeholder: "Company",
332
330
  value: e.company,
333
- onChange: (t) => O((n) => n.map((n) => n.id === e.id ? {
331
+ onChange: (t) => A((n) => n.map((n) => n.id === e.id ? {
334
332
  ...n,
335
333
  company: t.target.value
336
334
  } : n)),
337
- className: P
335
+ className: I
338
336
  })
339
337
  ]
340
338
  })]
341
- }, e.id)), /* @__PURE__ */ m("button", {
342
- onClick: F,
339
+ }, e.id)), /* @__PURE__ */ h("button", {
340
+ onClick: L,
343
341
  className: "inline-flex items-center gap-2 text-sm text-primary hover:underline",
344
- children: [/* @__PURE__ */ p(l, { className: "h-4 w-4" }), "Add Speaker"]
342
+ children: [/* @__PURE__ */ m(u, { className: "h-4 w-4" }), "Add Speaker"]
345
343
  })]
346
344
  }),
347
- x === "agenda" && /* @__PURE__ */ m("div", {
345
+ C === "agenda" && /* @__PURE__ */ h("div", {
348
346
  className: "space-y-4",
349
- children: [k.map((e) => /* @__PURE__ */ m("div", {
350
- className: "flex items-start gap-3",
347
+ children: [j.map((e) => /* @__PURE__ */ h("div", {
348
+ className: "flex flex-wrap items-start gap-3",
351
349
  children: [
352
- /* @__PURE__ */ p("div", {
350
+ /* @__PURE__ */ m("div", {
353
351
  className: "flex items-center gap-1 text-text-secondary pt-2",
354
- children: /* @__PURE__ */ p(c, { className: "h-3.5 w-3.5" })
352
+ children: /* @__PURE__ */ m(l, { className: "h-3.5 w-3.5" })
355
353
  }),
356
- /* @__PURE__ */ p("input", {
354
+ /* @__PURE__ */ m("input", {
357
355
  type: "time",
358
356
  value: e.time,
359
- onChange: (t) => A((n) => n.map((n) => n.id === e.id ? {
357
+ onChange: (t) => M((n) => n.map((n) => n.id === e.id ? {
360
358
  ...n,
361
359
  time: t.target.value
362
360
  } : n)),
363
- className: r(P, "w-28")
361
+ className: r(I, "w-28")
364
362
  }),
365
- /* @__PURE__ */ p("input", {
363
+ /* @__PURE__ */ m("input", {
366
364
  type: "text",
367
365
  placeholder: "Session title",
368
366
  value: e.title,
369
- onChange: (t) => A((n) => n.map((n) => n.id === e.id ? {
367
+ onChange: (t) => M((n) => n.map((n) => n.id === e.id ? {
370
368
  ...n,
371
369
  title: t.target.value
372
370
  } : n)),
373
- className: r(P, "flex-1")
371
+ className: r(I, "flex-1")
374
372
  }),
375
- /* @__PURE__ */ p("input", {
373
+ /* @__PURE__ */ m("input", {
376
374
  type: "text",
377
375
  placeholder: "Speaker",
378
376
  value: e.speaker,
379
- onChange: (t) => A((n) => n.map((n) => n.id === e.id ? {
377
+ onChange: (t) => M((n) => n.map((n) => n.id === e.id ? {
380
378
  ...n,
381
379
  speaker: t.target.value
382
380
  } : n)),
383
- className: r(P, "w-40")
381
+ className: r(I, "w-40")
384
382
  }),
385
- k.length > 1 && /* @__PURE__ */ p("button", {
386
- onClick: () => R(e.id),
383
+ j.length > 1 && /* @__PURE__ */ m("button", {
384
+ onClick: () => B(e.id),
387
385
  className: "p-2 rounded-md hover:bg-bg-sunken text-text-secondary hover:text-status-error-text",
388
- children: /* @__PURE__ */ p(d, { className: "h-4 w-4" })
386
+ children: /* @__PURE__ */ m(f, { className: "h-4 w-4" })
389
387
  })
390
388
  ]
391
- }, e.id)), /* @__PURE__ */ m("button", {
392
- onClick: L,
389
+ }, e.id)), /* @__PURE__ */ h("button", {
390
+ onClick: z,
393
391
  className: "inline-flex items-center gap-2 text-sm text-primary hover:underline",
394
- children: [/* @__PURE__ */ p(l, { className: "h-4 w-4" }), "Add Agenda Item"]
392
+ children: [/* @__PURE__ */ m(u, { className: "h-4 w-4" }), "Add Agenda Item"]
395
393
  })]
396
394
  }),
397
- x === "marketing" && /* @__PURE__ */ m("div", {
395
+ C === "marketing" && /* @__PURE__ */ h("div", {
398
396
  className: "space-y-4",
399
397
  children: [
400
- /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
398
+ /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
401
399
  className: "block text-sm font-medium text-text-primary mb-1",
402
400
  children: "Marketing Budget ($)"
403
- }), /* @__PURE__ */ p("input", {
401
+ }), /* @__PURE__ */ m("input", {
404
402
  type: "number",
405
- value: j.budget,
406
- onChange: (e) => M((t) => ({
403
+ value: N.budget,
404
+ onChange: (e) => P((t) => ({
407
405
  ...t,
408
406
  budget: e.target.value
409
407
  })),
410
408
  placeholder: "5000",
411
- className: P
409
+ className: I
412
410
  })] }),
413
- /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
411
+ /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
414
412
  className: "block text-sm font-medium text-text-primary mb-1",
415
413
  children: "Tags"
416
- }), /* @__PURE__ */ p("input", {
414
+ }), /* @__PURE__ */ m("input", {
417
415
  type: "text",
418
- value: j.tags,
419
- onChange: (e) => M((t) => ({
416
+ value: N.tags,
417
+ onChange: (e) => P((t) => ({
420
418
  ...t,
421
419
  tags: e.target.value
422
420
  })),
423
421
  placeholder: "webinar, seo, marketing",
424
- className: P
422
+ className: I
425
423
  })] }),
426
- /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
424
+ /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
427
425
  className: "block text-sm font-medium text-text-primary mb-2",
428
426
  children: "Promotion Channels"
429
- }), /* @__PURE__ */ p("div", {
427
+ }), /* @__PURE__ */ m("div", {
430
428
  className: "space-y-2",
431
429
  children: [
432
430
  {
@@ -441,12 +439,12 @@ var _ = () => {
441
439
  key: "paidAds",
442
440
  label: "Paid Advertising"
443
441
  }
444
- ].map((e) => /* @__PURE__ */ m("label", {
442
+ ].map((e) => /* @__PURE__ */ h("label", {
445
443
  className: "flex items-center gap-2 text-sm text-text-primary",
446
- children: [/* @__PURE__ */ p("input", {
444
+ children: [/* @__PURE__ */ m("input", {
447
445
  type: "checkbox",
448
- checked: j[e.key],
449
- onChange: (t) => M((n) => ({
446
+ checked: N[e.key],
447
+ onChange: (t) => P((n) => ({
450
448
  ...n,
451
449
  [e.key]: t.target.checked
452
450
  })),
@@ -456,23 +454,23 @@ var _ = () => {
456
454
  })] })
457
455
  ]
458
456
  }),
459
- V && /* @__PURE__ */ p("div", {
457
+ U && /* @__PURE__ */ m("div", {
460
458
  className: "rounded-lg border border-status-error-border/30 bg-status-error-bg/10 px-4 py-3 text-sm text-status-error-text",
461
- children: V
459
+ children: U
462
460
  }),
463
- /* @__PURE__ */ m("div", {
461
+ /* @__PURE__ */ h("div", {
464
462
  className: "flex items-center justify-end gap-3 mt-6 pt-4 border-t border-border-subtle",
465
- children: [/* @__PURE__ */ p("button", {
466
- onClick: () => _("events"),
463
+ children: [/* @__PURE__ */ m("button", {
464
+ onClick: () => v(i(y, "events")),
467
465
  className: "rounded-md border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken",
468
466
  children: "Cancel"
469
- }), /* @__PURE__ */ m("button", {
467
+ }), /* @__PURE__ */ h("button", {
470
468
  onClick: () => {
471
- B();
469
+ H();
472
470
  },
473
- disabled: y,
471
+ disabled: x,
474
472
  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 disabled:opacity-60",
475
- children: [/* @__PURE__ */ p(u, { className: "h-4 w-4" }), y ? "Creating..." : "Create Event"]
473
+ children: [/* @__PURE__ */ m(d, { className: "h-4 w-4" }), x ? "Creating..." : "Create Event"]
476
474
  })]
477
475
  })
478
476
  ]
@@ -482,6 +480,6 @@ var _ = () => {
482
480
  });
483
481
  };
484
482
  //#endregion
485
- export { _ as CreateEventPage };
483
+ export { v as CreateEventPage };
486
484
 
487
485
  //# sourceMappingURL=CreateEventPage.js.map