@burdenoff/microfe-eventfullymanaged 2026.1123.6 → 2026.1124.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/eventfullymanaged/EventfullyManagedRoutes.js +58 -54
  2. package/dist/eventfullymanaged/EventfullyManagedRoutes.js.map +1 -1
  3. package/dist/eventfullymanaged/components/ActionMenu.js +19 -19
  4. package/dist/eventfullymanaged/components/EntityFormShell.js +9 -9
  5. package/dist/eventfullymanaged/components/EntityTagsField.js +13 -13
  6. package/dist/eventfullymanaged/components/EntityTagsField.js.map +1 -1
  7. package/dist/eventfullymanaged/components/ImageUploadField.js +5 -5
  8. package/dist/eventfullymanaged/components/Pagination.js +7 -7
  9. package/dist/eventfullymanaged/components/floorPlanEditor/ZonePanels.js +51 -51
  10. package/dist/eventfullymanaged/components/floorPlanEditor/ZonePanels.js.map +1 -1
  11. package/dist/eventfullymanaged/pages/certificates/CertificateAccess.d.ts +7 -0
  12. package/dist/eventfullymanaged/pages/certificates/CertificateAccess.js +29 -0
  13. package/dist/eventfullymanaged/pages/certificates/CertificateAccess.js.map +1 -0
  14. package/dist/eventfullymanaged/pages/certificates/CertificateIssuance.d.ts +7 -0
  15. package/dist/eventfullymanaged/pages/certificates/CertificateIssuance.js +264 -0
  16. package/dist/eventfullymanaged/pages/certificates/CertificateIssuance.js.map +1 -0
  17. package/dist/eventfullymanaged/pages/certificates/CertificatePdfDownload.d.ts +4 -0
  18. package/dist/eventfullymanaged/pages/certificates/CertificatePdfDownload.js +31 -0
  19. package/dist/eventfullymanaged/pages/certificates/CertificatePdfDownload.js.map +1 -0
  20. package/dist/eventfullymanaged/pages/certificates/CertificateScheduleDialog.d.ts +6 -0
  21. package/dist/eventfullymanaged/pages/certificates/CertificateScheduleDialog.js +76 -0
  22. package/dist/eventfullymanaged/pages/certificates/CertificateScheduleDialog.js.map +1 -0
  23. package/dist/eventfullymanaged/pages/certificates/CertificateTemplates.d.ts +8 -0
  24. package/dist/eventfullymanaged/pages/certificates/CertificateTemplates.js +271 -0
  25. package/dist/eventfullymanaged/pages/certificates/CertificateTemplates.js.map +1 -0
  26. package/dist/eventfullymanaged/pages/certificates/CertificatesPage.d.ts +1 -0
  27. package/dist/eventfullymanaged/pages/certificates/CertificatesPage.js +121 -0
  28. package/dist/eventfullymanaged/pages/certificates/CertificatesPage.js.map +1 -0
  29. package/dist/eventfullymanaged/pages/dashboard/DashboardPage.js +26 -26
  30. package/dist/eventfullymanaged/pages/events/EventDetailPage.js +150 -148
  31. package/dist/eventfullymanaged/pages/events/EventDetailPage.js.map +1 -1
  32. package/dist/eventfullymanaged/pages/events/VirtualSessionPage.js +100 -100
  33. package/dist/eventfullymanaged/pages/events/VirtualSessionPage.js.map +1 -1
  34. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorsPage.js +19 -19
  35. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorsPage.js.map +1 -1
  36. package/dist/eventfullymanaged/pages/leads/LeadCaptureDialog.js +16 -16
  37. package/dist/eventfullymanaged/pages/leads/LeadCaptureDialog.js.map +1 -1
  38. package/dist/eventfullymanaged/pages/modules/AnalyticsPage.js +103 -103
  39. package/dist/eventfullymanaged/pages/modules/AnalyticsPage.js.map +1 -1
  40. package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.js +15 -15
  41. package/dist/eventfullymanaged/pages/modules/AttendeeRecommendations.js +12 -12
  42. package/dist/eventfullymanaged/pages/modules/AttendeeRecommendations.js.map +1 -1
  43. package/dist/eventfullymanaged/pages/modules/CommunicationPage.js +80 -80
  44. package/dist/eventfullymanaged/pages/modules/CommunicationPage.js.map +1 -1
  45. package/dist/eventfullymanaged/pages/modules/EventTemplatesSection.js +14 -14
  46. package/dist/eventfullymanaged/pages/modules/EventTemplatesSection.js.map +1 -1
  47. package/dist/eventfullymanaged/pages/modules/EventsPage.js +121 -121
  48. package/dist/eventfullymanaged/pages/modules/EventsPage.js.map +1 -1
  49. package/dist/eventfullymanaged/pages/modules/IntegrationsPage.js +57 -57
  50. package/dist/eventfullymanaged/pages/modules/IntegrationsPage.js.map +1 -1
  51. package/dist/eventfullymanaged/pages/modules/KioskPage.js +241 -241
  52. package/dist/eventfullymanaged/pages/modules/KioskPage.js.map +1 -1
  53. package/dist/eventfullymanaged/pages/modules/NetworkingPage.js +120 -120
  54. package/dist/eventfullymanaged/pages/modules/NetworkingPage.js.map +1 -1
  55. package/dist/eventfullymanaged/pages/modules/OperationsHubPage.js +17 -17
  56. package/dist/eventfullymanaged/pages/modules/OperationsHubPage.js.map +1 -1
  57. package/dist/eventfullymanaged/pages/modules/RegistrationPage.js +61 -61
  58. package/dist/eventfullymanaged/pages/modules/RegistrationPage.js.map +1 -1
  59. package/dist/eventfullymanaged/pages/modules/RoadmapPanel.js +23 -23
  60. package/dist/eventfullymanaged/pages/modules/RoadmapPanel.js.map +1 -1
  61. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.js +17 -17
  62. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.js.map +1 -1
  63. package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.js +11 -11
  64. package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.js +13 -13
  65. package/dist/eventfullymanaged/pages/modules/WorkflowsPage.js +108 -108
  66. package/dist/eventfullymanaged/pages/modules/WorkflowsPage.js.map +1 -1
  67. package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.js +22 -22
  68. package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.js.map +1 -1
  69. package/dist/eventfullymanaged/pages/registration/RegisterAttendeePage.js +45 -45
  70. package/dist/eventfullymanaged/pages/speakers/SpeakersPage.js +24 -24
  71. package/dist/eventfullymanaged/pages/speakers/SpeakersPage.js.map +1 -1
  72. package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.js +37 -37
  73. package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.js +23 -23
  74. package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.js.map +1 -1
  75. package/dist/eventfullymanaged/pages/venues/FloorPlansPage.js +123 -123
  76. package/dist/eventfullymanaged/pages/venues/FloorPlansPage.js.map +1 -1
  77. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.js +37 -37
  78. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.js.map +1 -1
  79. package/dist/eventfullymanaged/pages/venues/VenueFormPage.js +25 -25
  80. package/dist/eventfullymanaged/pages/venues/VenueListPage.js +26 -26
  81. package/dist/eventfullymanaged/pages/venues/VenueListPage.js.map +1 -1
  82. package/dist/generated/wspace-operations.d.ts +468 -0
  83. package/dist/generated/wspace-operations.js +215 -11
  84. package/dist/generated/wspace-operations.js.map +1 -1
  85. package/dist/generated/wspace-types.d.ts +30060 -1503
  86. package/dist/node_modules/@apollo/client/react/hooks/internal/useRenderGuard.js +19 -0
  87. package/dist/node_modules/@apollo/client/react/hooks/internal/useRenderGuard.js.map +1 -0
  88. package/dist/node_modules/@apollo/client/react/hooks/useLazyQuery.js +110 -0
  89. package/dist/node_modules/@apollo/client/react/hooks/useLazyQuery.js.map +1 -0
  90. package/dist/utils/pageContext.js +5 -0
  91. package/dist/utils/pageContext.js.map +1 -1
  92. package/package.json +1 -1
@@ -6,8 +6,8 @@ import { notify as d } from "../../lib/toast.js";
6
6
  import { useMemo as f, useState as p } from "react";
7
7
  import { useI18n as te } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
8
8
  import { Fragment as ne, jsx as m, jsxs as h } from "react/jsx-runtime";
9
- import { Mail as re, Megaphone as ie, Plus as g, Send as ae, Upload as oe } from "lucide-react";
10
- import { Badge as _, Button as v, GlassCard as y, GradientText as se, IllustratedEmptyState as b, Input as x, PagePurpose as ce, Select as le, SelectContent as S, SelectItem as C, SelectTrigger as ue, SelectValue as de, Textarea as fe } from "@burdenoff/fe-libs/ui";
9
+ import { Badge as g, Button as _, GlassCard as v, GradientText as re, IllustratedEmptyState as y, Input as b, PagePurpose as ie, Select as x, SelectContent as S, SelectItem as C, SelectTrigger as ae, SelectValue as oe, Textarea as se } from "@burdenoff/fe-libs/ui";
10
+ import { Mail as ce, Megaphone as le, Plus as ue, Send as de, Upload as fe } from "lucide-react";
11
11
  // src/eventfullymanaged/pages/modules/CommunicationPage.tsx
12
12
  function pe(e) {
13
13
  if (e.status !== "scheduled") return null;
@@ -71,8 +71,8 @@ function D() {
71
71
  }), [ge, { loading: _e }] = a(), [ve, { loading: ye }] = r(), [N, { loading: P }] = ee(), [be, { loading: F }] = i(), { data: xe } = n({
72
72
  limit: 100,
73
73
  offset: 0
74
- }), Se = xe?.events?.items ?? [], [I, L] = p("announcement"), [R, z] = p("EMAIL"), [B, V] = p(""), [H, U] = p(""), [W, Ce] = p(""), [G, we] = p([]), [K, q] = p(null), [J, Te] = p(""), [Y, Ee] = p(""), X = f(() => j.data?.announcements.items ?? [], [j.data]), Z = j.data?.announcements.total ?? 0, Q = f(() => M.data?.communicationCampaigns.items ?? [], [M.data]), $ = M.data?.communicationCampaigns.total ?? 0, De = I === "announcement" ? _e : P, Oe = () => {
75
- V(""), U(""), Ce(""), we([]), z("EMAIL"), Te(""), Ee("");
74
+ }), Se = xe?.events?.items ?? [], [I, L] = p("announcement"), [R, z] = p("EMAIL"), [B, V] = p(""), [H, Ce] = p(""), [U, we] = p(""), [W, Te] = p([]), [G, K] = p(null), [q, Ee] = p(""), [J, De] = p(""), Y = f(() => j.data?.announcements.items ?? [], [j.data]), X = j.data?.announcements.total ?? 0, Z = f(() => M.data?.communicationCampaigns.items ?? [], [M.data]), Q = M.data?.communicationCampaigns.total ?? 0, $ = I === "announcement" ? _e : P, Oe = () => {
75
+ V(""), Ce(""), we(""), Te([]), z("EMAIL"), Ee(""), De("");
76
76
  }, ke = async () => {
77
77
  if (!H.trim()) {
78
78
  d.error(O("eventfullymanaged.communication.subjectRequired", "Subject required"), "");
@@ -80,7 +80,7 @@ function D() {
80
80
  }
81
81
  if (I === "announcement") {
82
82
  let e = {};
83
- J.trim() && (e.body = J.trim()), W.trim() && (e.audience = W.trim());
83
+ q.trim() && (e.body = q.trim()), U.trim() && (e.audience = U.trim());
84
84
  let t = O("eventfullymanaged.communication.errors.create", "Could not create announcement");
85
85
  try {
86
86
  let n = await ge({ variables: { input: {
@@ -98,7 +98,7 @@ function D() {
98
98
  return;
99
99
  }
100
100
  let e = {};
101
- J.trim() && (e.content = { body: J.trim() }), G.length > 0 && Object.assign(e, he(G)), Y && (e.schedule = { sendAt: new Date(Y).toISOString() });
101
+ q.trim() && (e.content = { body: q.trim() }), W.length > 0 && Object.assign(e, he(W)), J && (e.schedule = { sendAt: new Date(J).toISOString() });
102
102
  let t = O("eventfullymanaged.communication.errors.createCampaign", "Could not create campaign");
103
103
  try {
104
104
  let n = await N({ variables: { input: {
@@ -115,8 +115,8 @@ function D() {
115
115
  d.error(t, l(e));
116
116
  }
117
117
  }, Ae = async () => {
118
- if (!K?.changed) return;
119
- let { row: e, tags: t } = K, n = O("eventfullymanaged.communication.errors.saveAudience", "Could not save campaign audience");
118
+ if (!G?.changed) return;
119
+ let { row: e, tags: t } = G, n = O("eventfullymanaged.communication.errors.saveAudience", "Could not save campaign audience");
120
120
  try {
121
121
  let r = await N({ variables: {
122
122
  id: e.id,
@@ -132,7 +132,7 @@ function D() {
132
132
  }
133
133
  } });
134
134
  if (!u(r, r.data?.upsertCommunicationCampaign?.id, n)) return;
135
- q(null), d.success(O("eventfullymanaged.communication.audienceSaved", "Campaign audience saved")), await M.refetch();
135
+ K(null), d.success(O("eventfullymanaged.communication.audienceSaved", "Campaign audience saved")), await M.refetch();
136
136
  } catch (e) {
137
137
  d.error(n, l(e));
138
138
  }
@@ -173,31 +173,31 @@ function D() {
173
173
  return /* @__PURE__ */ h("div", {
174
174
  className: "space-y-6 p-6",
175
175
  children: [
176
- /* @__PURE__ */ m(ce, { children: O("eventfullymanaged.communication.audiencePurpose", "Publish announcements and compose campaigns for an event or workspace. In-app campaigns can target eligible workspace members by attendee tag.") }),
176
+ /* @__PURE__ */ m(ie, { children: O("eventfullymanaged.communication.audiencePurpose", "Publish announcements and compose campaigns for an event or workspace. In-app campaigns can target eligible workspace members by attendee tag.") }),
177
177
  /* @__PURE__ */ h("div", {
178
178
  className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
179
179
  children: [/* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("h1", {
180
180
  className: "text-2xl font-bold text-text-primary",
181
- children: /* @__PURE__ */ m(se, { children: O("eventfullymanaged.communication.title", "Communications") })
181
+ children: /* @__PURE__ */ m(re, { children: O("eventfullymanaged.communication.title", "Communications") })
182
182
  }), /* @__PURE__ */ m("p", {
183
183
  className: "mt-1 text-sm text-text-secondary",
184
184
  children: O("eventfullymanaged.communication.description", "Draft, publish and send from one place.")
185
185
  })] }), /* @__PURE__ */ h("div", {
186
186
  className: "flex flex-col gap-2 sm:flex-row",
187
- children: [/* @__PURE__ */ h(v, {
187
+ children: [/* @__PURE__ */ h(_, {
188
188
  type: "button",
189
189
  variant: I === "announcement" ? "default" : "outline",
190
190
  onClick: () => L("announcement"),
191
- children: [/* @__PURE__ */ m(g, { className: "h-4 w-4" }), O("eventfullymanaged.communication.actions.newAnnouncement", "New announcement")]
192
- }), /* @__PURE__ */ h(v, {
191
+ children: [/* @__PURE__ */ m(ue, { className: "h-4 w-4" }), O("eventfullymanaged.communication.actions.newAnnouncement", "New announcement")]
192
+ }), /* @__PURE__ */ h(_, {
193
193
  type: "button",
194
194
  variant: I === "campaign" ? "default" : "outline",
195
195
  onClick: () => L("campaign"),
196
- children: [/* @__PURE__ */ m(g, { className: "h-4 w-4" }), O("eventfullymanaged.communication.actions.newCampaign", "New campaign")]
196
+ children: [/* @__PURE__ */ m(ue, { className: "h-4 w-4" }), O("eventfullymanaged.communication.actions.newCampaign", "New campaign")]
197
197
  })]
198
198
  })]
199
199
  }),
200
- /* @__PURE__ */ m(y, {
200
+ /* @__PURE__ */ m(v, {
201
201
  treatment: "glass",
202
202
  glow: !0,
203
203
  className: "p-5",
@@ -208,7 +208,7 @@ function D() {
208
208
  children: [
209
209
  /* @__PURE__ */ h("div", {
210
210
  className: "flex items-center gap-2",
211
- children: [m(I === "announcement" ? ie : re, { className: "h-4 w-4 text-accent-primary" }), /* @__PURE__ */ m("h2", {
211
+ children: [m(I === "announcement" ? le : ce, { className: "h-4 w-4 text-accent-primary" }), /* @__PURE__ */ m("h2", {
212
212
  className: "text-base font-semibold text-text-primary",
213
213
  children: I === "announcement" ? O("eventfullymanaged.communication.compose.announcement", "Compose announcement") : O("eventfullymanaged.communication.compose.campaign", "Compose campaign")
214
214
  })]
@@ -220,12 +220,12 @@ function D() {
220
220
  className: "font-medium text-text-primary",
221
221
  children: O("eventfullymanaged.communication.fields.event", "Event (optional)")
222
222
  }),
223
- /* @__PURE__ */ h(le, {
223
+ /* @__PURE__ */ h(x, {
224
224
  value: B,
225
225
  onValueChange: V,
226
- children: [/* @__PURE__ */ m(ue, {
226
+ children: [/* @__PURE__ */ m(ae, {
227
227
  "aria-label": O("eventfullymanaged.communication.fields.event", "Event (optional)"),
228
- children: /* @__PURE__ */ m(de, { placeholder: O("eventfullymanaged.communication.fields.eventPlaceholder", "All events (workspace-wide)") })
228
+ children: /* @__PURE__ */ m(oe, { placeholder: O("eventfullymanaged.communication.fields.eventPlaceholder", "All events (workspace-wide)") })
229
229
  }), /* @__PURE__ */ m(S, { children: Se.map((e) => /* @__PURE__ */ m(C, {
230
230
  value: e.id,
231
231
  children: e.name
@@ -242,9 +242,9 @@ function D() {
242
242
  children: [/* @__PURE__ */ m("span", {
243
243
  className: "font-medium text-text-primary",
244
244
  children: O("eventfullymanaged.communication.fields.subject", "Subject")
245
- }), /* @__PURE__ */ m(x, {
245
+ }), /* @__PURE__ */ m(b, {
246
246
  value: H,
247
- onChange: (e) => U(e.target.value),
247
+ onChange: (e) => Ce(e.target.value),
248
248
  placeholder: O("eventfullymanaged.communication.fields.subjectPlaceholder", "Q4 Product Roadmap Update"),
249
249
  "aria-label": O("eventfullymanaged.communication.fields.subject", "Subject")
250
250
  })]
@@ -256,12 +256,12 @@ function D() {
256
256
  className: "font-medium text-text-primary",
257
257
  children: O("eventfullymanaged.communication.fields.channel", "Delivery channel")
258
258
  }),
259
- /* @__PURE__ */ h(le, {
259
+ /* @__PURE__ */ h(x, {
260
260
  value: R,
261
261
  onValueChange: (e) => z(e === "IN_APP" ? "IN_APP" : "EMAIL"),
262
- children: [/* @__PURE__ */ m(ue, {
262
+ children: [/* @__PURE__ */ m(ae, {
263
263
  "aria-label": O("eventfullymanaged.communication.fields.channel", "Delivery channel"),
264
- children: /* @__PURE__ */ m(de, {})
264
+ children: /* @__PURE__ */ m(oe, {})
265
265
  }), /* @__PURE__ */ h(S, { children: [/* @__PURE__ */ m(C, {
266
266
  value: "EMAIL",
267
267
  children: O("eventfullymanaged.communication.channels.email", "Email")
@@ -276,8 +276,8 @@ function D() {
276
276
  }) : null
277
277
  ]
278
278
  }), /* @__PURE__ */ m(o, {
279
- selected: G,
280
- onChange: we
279
+ selected: W,
280
+ onChange: Te
281
281
  })] }) : /* @__PURE__ */ h("label", {
282
282
  className: "block space-y-1 text-sm",
283
283
  children: [
@@ -285,9 +285,9 @@ function D() {
285
285
  className: "font-medium text-text-primary",
286
286
  children: O("eventfullymanaged.communication.fields.announcementAudience", "Audience labels (optional)")
287
287
  }),
288
- /* @__PURE__ */ m(x, {
289
- value: W,
290
- onChange: (e) => Ce(e.target.value),
288
+ /* @__PURE__ */ m(b, {
289
+ value: U,
290
+ onChange: (e) => we(e.target.value),
291
291
  placeholder: O("eventfullymanaged.communication.fields.audienceSegmentsPlaceholder", "vip, early-bird, speakers (comma-separated segments)"),
292
292
  "aria-label": O("eventfullymanaged.communication.fields.announcementAudience", "Audience labels (optional)")
293
293
  }),
@@ -302,9 +302,9 @@ function D() {
302
302
  children: [/* @__PURE__ */ m("span", {
303
303
  className: "font-medium text-text-primary",
304
304
  children: O("eventfullymanaged.communication.fields.body", "Message")
305
- }), /* @__PURE__ */ m(fe, {
306
- value: J,
307
- onChange: (e) => Te(e.target.value),
305
+ }), /* @__PURE__ */ m(se, {
306
+ value: q,
307
+ onChange: (e) => Ee(e.target.value),
308
308
  rows: 5,
309
309
  placeholder: O("eventfullymanaged.communication.fields.bodyPlaceholder", "Hi there, here are the latest updates…"),
310
310
  "aria-label": O("eventfullymanaged.communication.fields.body", "Message")
@@ -317,10 +317,10 @@ function D() {
317
317
  className: "font-medium text-text-primary",
318
318
  children: O("eventfullymanaged.communication.fields.scheduleAt", "Schedule send (optional)")
319
319
  }),
320
- /* @__PURE__ */ m(x, {
320
+ /* @__PURE__ */ m(b, {
321
321
  type: "datetime-local",
322
- value: Y,
323
- onChange: (e) => Ee(e.target.value),
322
+ value: J,
323
+ onChange: (e) => De(e.target.value),
324
324
  "aria-label": O("eventfullymanaged.communication.fields.scheduleAt", "Schedule send (optional)")
325
325
  }),
326
326
  /* @__PURE__ */ m("span", {
@@ -331,11 +331,11 @@ function D() {
331
331
  }) : null,
332
332
  /* @__PURE__ */ m("div", {
333
333
  className: "flex justify-end",
334
- children: /* @__PURE__ */ m(v, {
334
+ children: /* @__PURE__ */ m(_, {
335
335
  type: "button",
336
- disabled: De,
336
+ disabled: $,
337
337
  onClick: ke,
338
- children: De ? O("eventfullymanaged.communication.actions.saving", "Saving…") : O(I === "announcement" ? "eventfullymanaged.communication.actions.createAnnouncement" : "eventfullymanaged.communication.actions.createCampaign", "Create draft")
338
+ children: $ ? O("eventfullymanaged.communication.actions.saving", "Saving…") : O(I === "announcement" ? "eventfullymanaged.communication.actions.createAnnouncement" : "eventfullymanaged.communication.actions.createCampaign", "Create draft")
339
339
  })
340
340
  })
341
341
  ]
@@ -345,8 +345,8 @@ function D() {
345
345
  className: "flex items-center justify-between border-b border-border-seam pb-2",
346
346
  children: [/* @__PURE__ */ h("span", {
347
347
  className: "flex items-center gap-2 text-xs font-medium uppercase tracking-wide text-text-muted",
348
- children: [/* @__PURE__ */ m(re, { className: "h-3.5 w-3.5" }), O("eventfullymanaged.communication.preview.label", "Preview")]
349
- }), /* @__PURE__ */ m(_, {
348
+ children: [/* @__PURE__ */ m(ce, { className: "h-3.5 w-3.5" }), O("eventfullymanaged.communication.preview.label", "Preview")]
349
+ }), /* @__PURE__ */ m(g, {
350
350
  variant: "info",
351
351
  className: "uppercase",
352
352
  children: O("eventfullymanaged.communication.preview.draft", "Draft")
@@ -358,18 +358,18 @@ function D() {
358
358
  className: "text-base font-semibold text-text-primary",
359
359
  children: H.trim() || O("eventfullymanaged.communication.preview.noSubject", "Your subject line")
360
360
  }),
361
- (I === "campaign" ? G.length > 0 : W.trim()) ? /* @__PURE__ */ h("p", {
361
+ (I === "campaign" ? W.length > 0 : U.trim()) ? /* @__PURE__ */ h("p", {
362
362
  className: "text-xs text-text-secondary",
363
363
  children: [
364
364
  O("eventfullymanaged.communication.preview.to", "To"),
365
365
  ":",
366
366
  " ",
367
- I === "campaign" ? G.map(({ label: e }) => e).join(", ") : W.trim()
367
+ I === "campaign" ? W.map(({ label: e }) => e).join(", ") : U.trim()
368
368
  ]
369
369
  }) : null,
370
370
  /* @__PURE__ */ m("p", {
371
371
  className: "whitespace-pre-wrap text-sm text-text-secondary",
372
- children: J.trim() || O("eventfullymanaged.communication.preview.noBody", "Start typing to see your message preview here.")
372
+ children: q.trim() || O("eventfullymanaged.communication.preview.noBody", "Start typing to see your message preview here.")
373
373
  })
374
374
  ]
375
375
  })]
@@ -378,7 +378,7 @@ function D() {
378
378
  }),
379
379
  /* @__PURE__ */ h("div", {
380
380
  className: "grid grid-cols-1 gap-6 lg:grid-cols-2",
381
- children: [/* @__PURE__ */ h(y, {
381
+ children: [/* @__PURE__ */ h(v, {
382
382
  treatment: "plain",
383
383
  className: "border-border-seam p-5",
384
384
  children: [/* @__PURE__ */ h("div", {
@@ -386,53 +386,53 @@ function D() {
386
386
  children: [/* @__PURE__ */ m("h2", {
387
387
  className: "text-lg font-semibold text-text-primary",
388
388
  children: O("eventfullymanaged.communication.announcements.heading", "Announcements")
389
- }), Z > 0 ? /* @__PURE__ */ m("span", {
389
+ }), X > 0 ? /* @__PURE__ */ m("span", {
390
390
  className: "text-sm text-text-muted",
391
- children: Z
391
+ children: X
392
392
  }) : null]
393
393
  }), /* @__PURE__ */ h("div", {
394
394
  className: "mt-4",
395
- children: [j.loading && X.length === 0 ? /* @__PURE__ */ m("p", {
395
+ children: [j.loading && Y.length === 0 ? /* @__PURE__ */ m("p", {
396
396
  className: "py-8 text-center text-sm text-text-secondary",
397
397
  children: O("eventfullymanaged.communication.announcements.loading", "Loading announcements…")
398
- }) : X.length === 0 ? /* @__PURE__ */ m(b, {
398
+ }) : Y.length === 0 ? /* @__PURE__ */ m(y, {
399
399
  illustration: "empty-data",
400
400
  title: O("eventfullymanaged.communication.announcements.empty", "No announcements yet."),
401
401
  className: "py-8"
402
402
  }) : /* @__PURE__ */ m("ul", {
403
403
  className: "space-y-2.5",
404
- children: X.map((e) => /* @__PURE__ */ h("li", {
404
+ children: Y.map((e) => /* @__PURE__ */ h("li", {
405
405
  className: "flex items-center justify-between gap-3 rounded-card border border-border-seam bg-bg-surface p-3 transition-[box-shadow,border-color] duration-200 hover:border-border-strong hover:shadow-elevation-1",
406
406
  children: [/* @__PURE__ */ m("p", {
407
407
  className: "min-w-0 truncate font-medium text-text-primary",
408
408
  children: E(e, O("eventfullymanaged.communication.announcements.itemPrefix", "Announcement"))
409
409
  }), /* @__PURE__ */ h("div", {
410
410
  className: "flex shrink-0 items-center gap-2",
411
- children: [e.status ? /* @__PURE__ */ m(_, {
411
+ children: [e.status ? /* @__PURE__ */ m(g, {
412
412
  variant: w(e.status),
413
413
  className: "uppercase",
414
414
  children: e.status
415
- }) : null, T(e.status) ? /* @__PURE__ */ h(v, {
415
+ }) : null, T(e.status) ? /* @__PURE__ */ h(_, {
416
416
  type: "button",
417
417
  size: "sm",
418
418
  disabled: ye,
419
419
  onClick: () => void je(e),
420
- children: [/* @__PURE__ */ m(oe, { className: "h-3.5 w-3.5" }), O("eventfullymanaged.communication.actions.publish", "Publish")]
420
+ children: [/* @__PURE__ */ m(fe, { className: "h-3.5 w-3.5" }), O("eventfullymanaged.communication.actions.publish", "Publish")]
421
421
  }) : null]
422
422
  })]
423
423
  }, e.id))
424
424
  }), /* @__PURE__ */ m(s, {
425
425
  offset: k.offset,
426
426
  limit: k.limit,
427
- loadedCount: X.length,
428
- total: Z,
427
+ loadedCount: Y.length,
428
+ total: X,
429
429
  onPrev: k.prevPage,
430
430
  onNext: k.nextPage,
431
431
  itemLabel: O("eventfullymanaged.communication.announcements.heading", "Announcements").toLowerCase(),
432
432
  loading: j.loading
433
433
  })]
434
434
  })]
435
- }), /* @__PURE__ */ h(y, {
435
+ }), /* @__PURE__ */ h(v, {
436
436
  treatment: "plain",
437
437
  className: "border-border-seam p-5",
438
438
  children: [/* @__PURE__ */ h("div", {
@@ -440,54 +440,54 @@ function D() {
440
440
  children: [/* @__PURE__ */ m("h2", {
441
441
  className: "text-lg font-semibold text-text-primary",
442
442
  children: O("eventfullymanaged.communication.campaigns.heading", "Campaigns")
443
- }), $ > 0 ? /* @__PURE__ */ m("span", {
443
+ }), Q > 0 ? /* @__PURE__ */ m("span", {
444
444
  className: "text-sm text-text-muted",
445
- children: $
445
+ children: Q
446
446
  }) : null]
447
447
  }), /* @__PURE__ */ h("div", {
448
448
  className: "mt-4",
449
449
  children: [
450
- K ? /* @__PURE__ */ h("div", {
450
+ G ? /* @__PURE__ */ h("div", {
451
451
  className: "mb-4 space-y-3 rounded-card border border-border-seam bg-bg-surface p-4",
452
452
  children: [
453
453
  /* @__PURE__ */ m("p", {
454
454
  className: "font-medium text-text-primary",
455
- children: E(K.row, "Campaign")
455
+ children: E(G.row, "Campaign")
456
456
  }),
457
457
  /* @__PURE__ */ m(o, {
458
- selected: K.tags,
459
- onChange: (e) => q({
460
- ...K,
458
+ selected: G.tags,
459
+ onChange: (e) => K({
460
+ ...G,
461
461
  tags: e,
462
462
  changed: !0
463
463
  })
464
- }, K.row.id),
464
+ }, G.row.id),
465
465
  /* @__PURE__ */ h("div", {
466
466
  className: "flex flex-wrap gap-2",
467
- children: [/* @__PURE__ */ m(v, {
467
+ children: [/* @__PURE__ */ m(_, {
468
468
  type: "button",
469
- disabled: P || !K.changed,
469
+ disabled: P || !G.changed,
470
470
  onClick: () => void Ae(),
471
471
  children: O("eventfullymanaged.communication.actions.saveAudience", "Save audience")
472
- }), /* @__PURE__ */ m(v, {
472
+ }), /* @__PURE__ */ m(_, {
473
473
  type: "button",
474
474
  variant: "outline",
475
- onClick: () => q(null),
475
+ onClick: () => K(null),
476
476
  children: O("eventfullymanaged.communication.actions.dismissAudience", "Close audience editor")
477
477
  })]
478
478
  })
479
479
  ]
480
480
  }) : null,
481
- M.loading && Q.length === 0 ? /* @__PURE__ */ m("p", {
481
+ M.loading && Z.length === 0 ? /* @__PURE__ */ m("p", {
482
482
  className: "py-8 text-center text-sm text-text-secondary",
483
483
  children: O("eventfullymanaged.communication.campaigns.loading", "Loading campaigns…")
484
- }) : Q.length === 0 ? /* @__PURE__ */ m(b, {
484
+ }) : Z.length === 0 ? /* @__PURE__ */ m(y, {
485
485
  illustration: "empty-data",
486
486
  title: O("eventfullymanaged.communication.campaigns.empty", "No campaigns yet."),
487
487
  className: "py-8"
488
488
  }) : /* @__PURE__ */ m("ul", {
489
489
  className: "space-y-2.5",
490
- children: Q.map((e) => {
490
+ children: Z.map((e) => {
491
491
  let t = pe(e), n = e.metrics?.lastDispatch, r = n && typeof n == "object" && "deliveredCount" in n ? n.deliveredCount : void 0, i = n && typeof n == "object" && "failedCount" in n ? n.failedCount : void 0;
492
492
  return /* @__PURE__ */ h("li", {
493
493
  className: "flex items-center justify-between gap-3 rounded-card border border-border-seam bg-bg-surface p-3 transition-[box-shadow,border-color] duration-200 hover:border-border-strong hover:shadow-elevation-1",
@@ -522,31 +522,31 @@ function D() {
522
522
  }), /* @__PURE__ */ h("div", {
523
523
  className: "flex shrink-0 items-center gap-2",
524
524
  children: [
525
- e.status ? /* @__PURE__ */ m(_, {
525
+ e.status ? /* @__PURE__ */ m(g, {
526
526
  variant: w(e.status),
527
527
  className: "uppercase",
528
528
  children: e.status
529
529
  }) : null,
530
- e.status?.toLowerCase() === "draft" ? /* @__PURE__ */ m(v, {
530
+ e.status?.toLowerCase() === "draft" ? /* @__PURE__ */ m(_, {
531
531
  type: "button",
532
532
  size: "sm",
533
533
  variant: "outline",
534
534
  disabled: P || F,
535
- onClick: () => q({
535
+ onClick: () => K({
536
536
  row: e,
537
537
  tags: me(e),
538
538
  changed: !1
539
539
  }),
540
540
  children: O("eventfullymanaged.communication.actions.editAudience", "Edit audience")
541
541
  }) : null,
542
- T(e.status) ? /* @__PURE__ */ h(v, {
542
+ T(e.status) ? /* @__PURE__ */ h(_, {
543
543
  type: "button",
544
544
  size: "sm",
545
- disabled: F || K?.row.id === e.id,
545
+ disabled: F || G?.row.id === e.id,
546
546
  onClick: () => void Me(e),
547
- children: [/* @__PURE__ */ m(ae, { className: "h-3.5 w-3.5" }), O("eventfullymanaged.communication.actions.send", "Send campaign")]
547
+ children: [/* @__PURE__ */ m(de, { className: "h-3.5 w-3.5" }), O("eventfullymanaged.communication.actions.send", "Send campaign")]
548
548
  }) : null,
549
- (e.status ?? "").toLowerCase() === "scheduled" ? /* @__PURE__ */ m(v, {
549
+ (e.status ?? "").toLowerCase() === "scheduled" ? /* @__PURE__ */ m(_, {
550
550
  type: "button",
551
551
  size: "sm",
552
552
  variant: "outline",
@@ -561,8 +561,8 @@ function D() {
561
561
  /* @__PURE__ */ m(s, {
562
562
  offset: A.offset,
563
563
  limit: A.limit,
564
- loadedCount: Q.length,
565
- total: $,
564
+ loadedCount: Z.length,
565
+ total: Q,
566
566
  onPrev: A.prevPage,
567
567
  onNext: A.nextPage,
568
568
  itemLabel: O("eventfullymanaged.communication.campaigns.heading", "Campaigns").toLowerCase(),