@burdenoff/microfe-eventfullymanaged 2026.730.1 → 2026.801.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eventfullymanaged/EventfullyManagedRoutes.d.ts.map +1 -1
- package/dist/eventfullymanaged/EventfullyManagedRoutes.js +61 -77
- package/dist/eventfullymanaged/EventfullyManagedRoutes.js.map +1 -1
- package/dist/eventfullymanaged/api/eventApi.d.ts +208 -0
- package/dist/eventfullymanaged/api/eventApi.d.ts.map +1 -1
- package/dist/eventfullymanaged/api/eventApi.js +293 -136
- package/dist/eventfullymanaged/api/eventApi.js.map +1 -1
- package/dist/eventfullymanaged/hooks/useEvmSubscription.d.ts +18 -0
- package/dist/eventfullymanaged/hooks/useEvmSubscription.d.ts.map +1 -0
- package/dist/eventfullymanaged/hooks/useEvmSubscription.js +110 -0
- package/dist/eventfullymanaged/hooks/useEvmSubscription.js.map +1 -0
- package/dist/eventfullymanaged/hooks/useVirtualCall.d.ts +47 -0
- package/dist/eventfullymanaged/hooks/useVirtualCall.d.ts.map +1 -0
- package/dist/eventfullymanaged/hooks/useVirtualCall.js +209 -0
- package/dist/eventfullymanaged/hooks/useVirtualCall.js.map +1 -0
- package/dist/eventfullymanaged/pages/events/EventDetailPage.d.ts.map +1 -1
- package/dist/eventfullymanaged/pages/events/EventDetailPage.js +80 -72
- package/dist/eventfullymanaged/pages/events/EventDetailPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/events/EventFormPage.js +1 -1
- package/dist/eventfullymanaged/pages/events/EventFormPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/events/SessionFormPage.js +1 -1
- package/dist/eventfullymanaged/pages/events/SessionFormPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/events/TicketTypeFormPage.js +1 -1
- package/dist/eventfullymanaged/pages/events/TicketTypeFormPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/events/VirtualSessionPage.d.ts +2 -0
- package/dist/eventfullymanaged/pages/events/VirtualSessionPage.d.ts.map +1 -0
- package/dist/eventfullymanaged/pages/events/VirtualSessionPage.js +353 -0
- package/dist/eventfullymanaged/pages/events/VirtualSessionPage.js.map +1 -0
- package/dist/eventfullymanaged/pages/exhibitors/ExhibitorFormPage.js +1 -1
- package/dist/eventfullymanaged/pages/exhibitors/ExhibitorFormPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.js +1 -1
- package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/IntegrationsPage.d.ts +2 -0
- package/dist/eventfullymanaged/pages/modules/IntegrationsPage.d.ts.map +1 -0
- package/dist/eventfullymanaged/pages/modules/IntegrationsPage.js +336 -0
- package/dist/eventfullymanaged/pages/modules/IntegrationsPage.js.map +1 -0
- package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.js +1 -1
- package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.js +1 -1
- package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.js +1 -1
- package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/networking/MeetingFormPage.js +1 -1
- package/dist/eventfullymanaged/pages/networking/MeetingFormPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/networking/NetworkingProfileFormPage.js +1 -1
- package/dist/eventfullymanaged/pages/networking/NetworkingProfileFormPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/registration/AttendeeFormPage.js +1 -1
- package/dist/eventfullymanaged/pages/registration/AttendeeFormPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.js +1 -1
- package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/speakers/SpeakerFormPage.js +1 -1
- package/dist/eventfullymanaged/pages/speakers/SpeakerFormPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.js +1 -1
- package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/venues/FloorPlansPage.js +1 -1
- package/dist/eventfullymanaged/pages/venues/FloorPlansPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/venues/VenueDetailPage.js +1 -1
- package/dist/eventfullymanaged/pages/venues/VenueDetailPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/venues/VenueFormPage.js +1 -1
- package/dist/eventfullymanaged/pages/venues/VenueFormPage.js.map +1 -1
- package/dist/eventfullymanaged/utils/shellBridge.d.ts +46 -0
- package/dist/eventfullymanaged/utils/shellBridge.d.ts.map +1 -0
- package/dist/eventfullymanaged/utils/shellBridge.js +19 -0
- package/dist/eventfullymanaged/utils/shellBridge.js.map +1 -0
- package/package.json +9 -9
|
@@ -8,12 +8,12 @@ import { formatDateTime as f } from "./eventFormUtils.js";
|
|
|
8
8
|
import { ActionMenu as p } from "../../components/ActionMenu.js";
|
|
9
9
|
import { Pagination as m, usePagination as h } from "../../components/Pagination.js";
|
|
10
10
|
import { useMemo as g, useState as _ } from "react";
|
|
11
|
-
import { useParams as v } from "react-router
|
|
11
|
+
import { useParams as v } from "react-router";
|
|
12
12
|
import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
13
|
-
import { ArrowLeft as S, CalendarClock as C, Clock as w, Edit as T, Eye as E, MapPin as D, Mic2 as O, Plus as k, Ticket as A, Users as j } from "lucide-react";
|
|
14
|
-
import { Badge as
|
|
13
|
+
import { ArrowLeft as S, CalendarClock as C, Clock as w, Edit as T, Eye as E, MapPin as D, Mic2 as O, Plus as k, Ticket as A, Users as j, Video as M } from "lucide-react";
|
|
14
|
+
import { Badge as N, Button as P, GlassCard as F, IllustratedEmptyState as I, Skeleton as L, Tabs as R, TabsContent as z, TabsList as B, TabsTrigger as V } from "@burdenoff/fe-libs/ui";
|
|
15
15
|
//#region src/eventfullymanaged/pages/events/EventDetailPage.tsx
|
|
16
|
-
function
|
|
16
|
+
function H(e) {
|
|
17
17
|
let t = e.toLowerCase();
|
|
18
18
|
return [
|
|
19
19
|
"active",
|
|
@@ -35,24 +35,24 @@ function V(e) {
|
|
|
35
35
|
"scheduled"
|
|
36
36
|
].includes(t) ? "info" : "secondary";
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function U(e, t) {
|
|
39
39
|
let n = new Date(e).getTime(), r = new Date(t).getTime();
|
|
40
40
|
if (Number.isNaN(n) || Number.isNaN(r) || r <= n) return "";
|
|
41
41
|
let i = Math.round((r - n) / 6e4), a = Math.floor(i / 60), o = i % 60;
|
|
42
42
|
return a && o ? `${a}h ${o}m` : a ? `${a}h` : `${o}m`;
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function W(e) {
|
|
45
45
|
let t = e < 12 ? "AM" : "PM";
|
|
46
46
|
return `${e % 12 == 0 ? 12 : e % 12}:00 ${t}`;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function G(e) {
|
|
49
49
|
let t = new Date(e);
|
|
50
50
|
return Number.isNaN(t.getTime()) ? "" : t.toLocaleTimeString(void 0, {
|
|
51
51
|
hour: "numeric",
|
|
52
52
|
minute: "2-digit"
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var K = t`
|
|
56
56
|
query EventfullymanagedScheduleSessions($eventId: ID, $limit: Int, $offset: Int) {
|
|
57
57
|
eventSessions: eventfullyManagedEventSessions(eventId: $eventId, limit: $limit, offset: $offset) {
|
|
58
58
|
total
|
|
@@ -70,13 +70,13 @@ var G = t`
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
`,
|
|
74
|
-
function
|
|
73
|
+
`, q = "General";
|
|
74
|
+
function J(e) {
|
|
75
75
|
let t = new Date(e);
|
|
76
76
|
return Number.isNaN(t.getTime()) ? "unknown" : t.toISOString().slice(0, 10);
|
|
77
77
|
}
|
|
78
|
-
function
|
|
79
|
-
let o =
|
|
78
|
+
function Y({ session: e, color: t, speakerName: n, roomName: r, onEdit: i, onDelete: a }) {
|
|
79
|
+
let o = U(e.startsAt, e.endsAt);
|
|
80
80
|
return /* @__PURE__ */ x("div", {
|
|
81
81
|
className: "relative rounded-card border border-border-subtle p-3 shadow-elevation-1",
|
|
82
82
|
style: {
|
|
@@ -118,14 +118,14 @@ function J({ session: e, color: t, speakerName: n, roomName: r, onEdit: i, onDel
|
|
|
118
118
|
}) : null,
|
|
119
119
|
/* @__PURE__ */ x("div", {
|
|
120
120
|
className: "flex items-center gap-1.5",
|
|
121
|
-
children: [/* @__PURE__ */ b(w, { className: "h-3.5 w-3.5 shrink-0 text-text-muted" }), /* @__PURE__ */ x("span", { children: [
|
|
121
|
+
children: [/* @__PURE__ */ b(w, { className: "h-3.5 w-3.5 shrink-0 text-text-muted" }), /* @__PURE__ */ x("span", { children: [G(e.startsAt), o ? ` · ${o}` : ""] })]
|
|
122
122
|
})
|
|
123
123
|
]
|
|
124
124
|
})]
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
|
-
function
|
|
128
|
-
let { navigate: a } = e(), o = h(), { data: s, loading: l, refetch: f } = n(
|
|
127
|
+
function X({ eventId: t }) {
|
|
128
|
+
let { navigate: a } = e(), o = h(), { data: s, loading: l, refetch: f } = n(K, { variables: {
|
|
129
129
|
eventId: t,
|
|
130
130
|
limit: o.limit,
|
|
131
131
|
offset: o.offset
|
|
@@ -146,18 +146,18 @@ function Y({ eventId: t }) {
|
|
|
146
146
|
}, [_]), T = g(() => {
|
|
147
147
|
let e = /* @__PURE__ */ new Map(), t = 0;
|
|
148
148
|
for (let n of S) {
|
|
149
|
-
let r = n.track?.trim() ||
|
|
149
|
+
let r = n.track?.trim() || q;
|
|
150
150
|
e.has(r) || (e.set(r, d[t % d.length]), t += 1);
|
|
151
151
|
}
|
|
152
152
|
return e;
|
|
153
153
|
}, [S]), E = g(() => {
|
|
154
154
|
let e = /* @__PURE__ */ new Map();
|
|
155
155
|
for (let t of [...S].sort((e, t) => new Date(e.startsAt).getTime() - new Date(t.startsAt).getTime())) {
|
|
156
|
-
let n =
|
|
156
|
+
let n = J(t.startsAt), r = e.get(n) ?? [];
|
|
157
157
|
r.push(t), e.set(n, r);
|
|
158
158
|
}
|
|
159
159
|
return Array.from(e.entries()).map(([e, t]) => {
|
|
160
|
-
let n = Array.from(new Set(t.map((e) => e.track?.trim() ||
|
|
160
|
+
let n = Array.from(new Set(t.map((e) => e.track?.trim() || q))), r = t.map((e) => new Date(e.startsAt).getHours()).filter((e) => !Number.isNaN(e)), i = r.length ? Math.min(...r) : 9, a = r.length ? Math.max(...r) : 17, o = [];
|
|
161
161
|
for (let e = i; e <= a; e += 1) o.push(e);
|
|
162
162
|
return {
|
|
163
163
|
key: e,
|
|
@@ -186,18 +186,18 @@ function Y({ eventId: t }) {
|
|
|
186
186
|
}), /* @__PURE__ */ b("p", {
|
|
187
187
|
className: "text-sm text-text-secondary",
|
|
188
188
|
children: "A multi-track schedule of everything happening on the day."
|
|
189
|
-
})] }), /* @__PURE__ */ x(
|
|
189
|
+
})] }), /* @__PURE__ */ x(P, {
|
|
190
190
|
type: "button",
|
|
191
191
|
size: "sm",
|
|
192
192
|
onClick: () => a(`/events/${t}/sessions/create`),
|
|
193
193
|
children: [/* @__PURE__ */ b(k, { className: "h-4 w-4" }), "New Session"]
|
|
194
194
|
})]
|
|
195
195
|
}),
|
|
196
|
-
l ? /* @__PURE__ */ b(
|
|
196
|
+
l ? /* @__PURE__ */ b(L, { className: "h-64 w-full rounded-card" }) : S.length === 0 ? /* @__PURE__ */ b(I, {
|
|
197
197
|
illustration: "empty-data",
|
|
198
198
|
title: "No sessions yet.",
|
|
199
199
|
description: "Build the agenda by adding your first session.",
|
|
200
|
-
action: /* @__PURE__ */ x(
|
|
200
|
+
action: /* @__PURE__ */ x(P, {
|
|
201
201
|
type: "button",
|
|
202
202
|
size: "sm",
|
|
203
203
|
onClick: () => a(`/events/${t}/sessions/create`),
|
|
@@ -239,10 +239,10 @@ function Y({ eventId: t }) {
|
|
|
239
239
|
className: "contents",
|
|
240
240
|
children: [/* @__PURE__ */ b("div", {
|
|
241
241
|
className: "sticky left-0 z-10 border-b border-border-subtle bg-bg-surface px-3 py-3 text-xs font-medium text-text-muted",
|
|
242
|
-
children:
|
|
242
|
+
children: W(n)
|
|
243
243
|
}), e.tracks.map((r) => /* @__PURE__ */ b("div", {
|
|
244
244
|
className: "space-y-2 border-b border-l border-border-subtle p-2 align-top",
|
|
245
|
-
children: e.sessions.filter((e) => (e.track?.trim() ||
|
|
245
|
+
children: e.sessions.filter((e) => (e.track?.trim() || q) === r && new Date(e.startsAt).getHours() === n).map((e) => /* @__PURE__ */ b(Y, {
|
|
246
246
|
session: e,
|
|
247
247
|
color: T.get(r) ?? d[0],
|
|
248
248
|
speakerName: O(e),
|
|
@@ -258,8 +258,8 @@ function Y({ eventId: t }) {
|
|
|
258
258
|
/* @__PURE__ */ b("ul", {
|
|
259
259
|
className: "space-y-2.5 md:hidden",
|
|
260
260
|
children: e.sessions.map((e) => {
|
|
261
|
-
let n = e.track?.trim() ||
|
|
262
|
-
return /* @__PURE__ */ b("li", { children: /* @__PURE__ */ b(
|
|
261
|
+
let n = e.track?.trim() || q;
|
|
262
|
+
return /* @__PURE__ */ b("li", { children: /* @__PURE__ */ b(Y, {
|
|
263
263
|
session: e,
|
|
264
264
|
color: T.get(n) ?? d[0],
|
|
265
265
|
speakerName: O(e),
|
|
@@ -285,7 +285,7 @@ function Y({ eventId: t }) {
|
|
|
285
285
|
]
|
|
286
286
|
});
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function Z() {
|
|
289
289
|
let { navigate: t } = e(), n = h(), { data: i, loading: o, refetch: s } = c({
|
|
290
290
|
limit: n.limit,
|
|
291
291
|
offset: n.offset
|
|
@@ -305,13 +305,13 @@ function X() {
|
|
|
305
305
|
children: "Speakers"
|
|
306
306
|
}), /* @__PURE__ */ x("div", {
|
|
307
307
|
className: "flex items-center gap-2",
|
|
308
|
-
children: [/* @__PURE__ */ b(
|
|
308
|
+
children: [/* @__PURE__ */ b(P, {
|
|
309
309
|
type: "button",
|
|
310
310
|
variant: "outline",
|
|
311
311
|
size: "sm",
|
|
312
312
|
onClick: () => t("/speakers"),
|
|
313
313
|
children: "Manage speakers"
|
|
314
|
-
}), /* @__PURE__ */ x(
|
|
314
|
+
}), /* @__PURE__ */ x(P, {
|
|
315
315
|
type: "button",
|
|
316
316
|
size: "sm",
|
|
317
317
|
onClick: () => t("/speakers/create"),
|
|
@@ -319,7 +319,7 @@ function X() {
|
|
|
319
319
|
})]
|
|
320
320
|
})]
|
|
321
321
|
}),
|
|
322
|
-
o ? /* @__PURE__ */ b(
|
|
322
|
+
o ? /* @__PURE__ */ b(L, { className: "h-40 w-full rounded-card" }) : d.length === 0 ? /* @__PURE__ */ b(I, {
|
|
323
323
|
illustration: "empty-people",
|
|
324
324
|
title: "No speakers yet.",
|
|
325
325
|
description: "Add speakers so you can assign them to sessions.",
|
|
@@ -368,7 +368,7 @@ function X() {
|
|
|
368
368
|
]
|
|
369
369
|
});
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function Q({ eventId: t }) {
|
|
372
372
|
let { navigate: n } = e(), i = h(), { data: a, loading: s, refetch: c } = l({
|
|
373
373
|
eventId: t,
|
|
374
374
|
limit: i.limit,
|
|
@@ -387,14 +387,14 @@ function Z({ eventId: t }) {
|
|
|
387
387
|
children: [/* @__PURE__ */ b("h2", {
|
|
388
388
|
className: "text-lg font-semibold text-text-primary",
|
|
389
389
|
children: "Ticket Types"
|
|
390
|
-
}), /* @__PURE__ */ x(
|
|
390
|
+
}), /* @__PURE__ */ x(P, {
|
|
391
391
|
type: "button",
|
|
392
392
|
size: "sm",
|
|
393
393
|
onClick: () => n(`/events/${t}/tickets/create`),
|
|
394
394
|
children: [/* @__PURE__ */ b(k, { className: "h-4 w-4" }), "New Ticket Type"]
|
|
395
395
|
})]
|
|
396
396
|
}),
|
|
397
|
-
s ? /* @__PURE__ */ b(
|
|
397
|
+
s ? /* @__PURE__ */ b(L, { className: "h-40 w-full rounded-card" }) : f.length === 0 ? /* @__PURE__ */ b(I, {
|
|
398
398
|
illustration: "empty-data",
|
|
399
399
|
title: "No ticket types yet.",
|
|
400
400
|
description: "Add a ticket type so attendees can register.",
|
|
@@ -422,7 +422,7 @@ function Z({ eventId: t }) {
|
|
|
422
422
|
})]
|
|
423
423
|
}), /* @__PURE__ */ x("div", {
|
|
424
424
|
className: "flex shrink-0 items-center gap-2",
|
|
425
|
-
children: [/* @__PURE__ */ b(
|
|
425
|
+
children: [/* @__PURE__ */ b(N, {
|
|
426
426
|
variant: e.isActive ? "success" : "warning",
|
|
427
427
|
className: "uppercase",
|
|
428
428
|
children: e.isActive ? "Active" : "Inactive"
|
|
@@ -486,8 +486,8 @@ function Z({ eventId: t }) {
|
|
|
486
486
|
]
|
|
487
487
|
});
|
|
488
488
|
}
|
|
489
|
-
function
|
|
490
|
-
return /* @__PURE__ */ x(
|
|
489
|
+
function $({ label: e, value: t, icon: n }) {
|
|
490
|
+
return /* @__PURE__ */ x(F, {
|
|
491
491
|
treatment: "metric",
|
|
492
492
|
className: "p-4",
|
|
493
493
|
children: [
|
|
@@ -506,8 +506,8 @@ function Q({ label: e, value: t, icon: n }) {
|
|
|
506
506
|
]
|
|
507
507
|
});
|
|
508
508
|
}
|
|
509
|
-
function
|
|
510
|
-
let { id: t = "" } = v(), { navigate: r } = e(), { data: i, loading: a } = s(t), { data: o } = n(
|
|
509
|
+
function ee() {
|
|
510
|
+
let { id: t = "" } = v(), { navigate: r } = e(), { data: i, loading: a } = s(t), { data: o } = n(K, {
|
|
511
511
|
variables: {
|
|
512
512
|
eventId: t,
|
|
513
513
|
limit: 200
|
|
@@ -527,9 +527,9 @@ function $() {
|
|
|
527
527
|
return a ? /* @__PURE__ */ x("div", {
|
|
528
528
|
className: "space-y-4 p-6",
|
|
529
529
|
children: [
|
|
530
|
-
/* @__PURE__ */ b(
|
|
531
|
-
/* @__PURE__ */ b(
|
|
532
|
-
/* @__PURE__ */ b(
|
|
530
|
+
/* @__PURE__ */ b(L, { className: "h-8 w-40" }),
|
|
531
|
+
/* @__PURE__ */ b(L, { className: "h-24 w-full rounded-card" }),
|
|
532
|
+
/* @__PURE__ */ b(L, { className: "h-64 w-full rounded-card" })
|
|
533
533
|
]
|
|
534
534
|
}) : h ? /* @__PURE__ */ x("div", {
|
|
535
535
|
className: "space-y-6 p-6",
|
|
@@ -538,7 +538,7 @@ function $() {
|
|
|
538
538
|
className: "flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
|
|
539
539
|
children: [/* @__PURE__ */ x("div", {
|
|
540
540
|
className: "space-y-3",
|
|
541
|
-
children: [/* @__PURE__ */ x(
|
|
541
|
+
children: [/* @__PURE__ */ x(P, {
|
|
542
542
|
type: "button",
|
|
543
543
|
variant: "ghost",
|
|
544
544
|
size: "sm",
|
|
@@ -549,8 +549,8 @@ function $() {
|
|
|
549
549
|
children: [/* @__PURE__ */ b("h1", {
|
|
550
550
|
className: "text-2xl font-bold text-text-primary",
|
|
551
551
|
children: h.name
|
|
552
|
-
}), /* @__PURE__ */ b(
|
|
553
|
-
variant:
|
|
552
|
+
}), /* @__PURE__ */ b(N, {
|
|
553
|
+
variant: H(h.status),
|
|
554
554
|
className: "uppercase",
|
|
555
555
|
children: h.status
|
|
556
556
|
})]
|
|
@@ -569,65 +569,73 @@ function $() {
|
|
|
569
569
|
children: [/* @__PURE__ */ b(D, { className: "h-4 w-4 text-text-muted" }), w]
|
|
570
570
|
}) : null]
|
|
571
571
|
})] })]
|
|
572
|
-
}), /* @__PURE__ */ x(
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
572
|
+
}), /* @__PURE__ */ x("div", {
|
|
573
|
+
className: "flex flex-wrap gap-2",
|
|
574
|
+
children: [h.type === "VIRTUAL" || h.type === "HYBRID" ? /* @__PURE__ */ x(P, {
|
|
575
|
+
type: "button",
|
|
576
|
+
variant: "outline",
|
|
577
|
+
onClick: () => r(`/events/${t}/virtual`),
|
|
578
|
+
children: [/* @__PURE__ */ b(M, { className: "h-4 w-4" }), "Virtual Session"]
|
|
579
|
+
}) : null, /* @__PURE__ */ x(P, {
|
|
580
|
+
type: "button",
|
|
581
|
+
onClick: () => r(`/events/${t}/edit`),
|
|
582
|
+
children: [/* @__PURE__ */ b(T, { className: "h-4 w-4" }), "Edit Event"]
|
|
583
|
+
})]
|
|
576
584
|
})]
|
|
577
585
|
}),
|
|
578
586
|
/* @__PURE__ */ x("div", {
|
|
579
587
|
className: "grid grid-cols-2 gap-3 sm:grid-cols-4",
|
|
580
588
|
children: [
|
|
581
|
-
/* @__PURE__ */ b(
|
|
589
|
+
/* @__PURE__ */ b($, {
|
|
582
590
|
label: "Capacity",
|
|
583
591
|
value: (h.capacity ?? 0).toLocaleString(),
|
|
584
592
|
icon: j
|
|
585
593
|
}),
|
|
586
|
-
/* @__PURE__ */ b(
|
|
594
|
+
/* @__PURE__ */ b($, {
|
|
587
595
|
label: "Sessions",
|
|
588
596
|
value: O.toLocaleString(),
|
|
589
597
|
icon: C
|
|
590
598
|
}),
|
|
591
|
-
/* @__PURE__ */ b(
|
|
599
|
+
/* @__PURE__ */ b($, {
|
|
592
600
|
label: "Ticket types",
|
|
593
601
|
value: (c?.ticketTypes?.total ?? 0).toLocaleString(),
|
|
594
602
|
icon: A
|
|
595
603
|
}),
|
|
596
|
-
/* @__PURE__ */ b(
|
|
604
|
+
/* @__PURE__ */ b($, {
|
|
597
605
|
label: "Tickets sold",
|
|
598
606
|
value: k.toLocaleString(),
|
|
599
607
|
icon: E
|
|
600
608
|
})
|
|
601
609
|
]
|
|
602
610
|
}),
|
|
603
|
-
/* @__PURE__ */ x(
|
|
611
|
+
/* @__PURE__ */ x(R, {
|
|
604
612
|
value: p,
|
|
605
613
|
onValueChange: m,
|
|
606
614
|
children: [
|
|
607
|
-
/* @__PURE__ */ x(
|
|
608
|
-
/* @__PURE__ */ b(
|
|
615
|
+
/* @__PURE__ */ x(B, { children: [
|
|
616
|
+
/* @__PURE__ */ b(V, {
|
|
609
617
|
value: "overview",
|
|
610
618
|
children: "Overview"
|
|
611
619
|
}),
|
|
612
|
-
/* @__PURE__ */ b(
|
|
620
|
+
/* @__PURE__ */ b(V, {
|
|
613
621
|
value: "sessions",
|
|
614
622
|
children: "Sessions"
|
|
615
623
|
}),
|
|
616
|
-
/* @__PURE__ */ b(
|
|
624
|
+
/* @__PURE__ */ b(V, {
|
|
617
625
|
value: "speakers",
|
|
618
626
|
children: "Speakers"
|
|
619
627
|
}),
|
|
620
|
-
/* @__PURE__ */ b(
|
|
628
|
+
/* @__PURE__ */ b(V, {
|
|
621
629
|
value: "tickets",
|
|
622
630
|
children: "Tickets"
|
|
623
631
|
})
|
|
624
632
|
] }),
|
|
625
|
-
/* @__PURE__ */ b(
|
|
633
|
+
/* @__PURE__ */ b(z, {
|
|
626
634
|
value: "overview",
|
|
627
635
|
className: "mt-4",
|
|
628
636
|
children: /* @__PURE__ */ x("div", {
|
|
629
637
|
className: "grid grid-cols-1 gap-4 lg:grid-cols-3",
|
|
630
|
-
children: [/* @__PURE__ */ x(
|
|
638
|
+
children: [/* @__PURE__ */ x(F, {
|
|
631
639
|
treatment: "plain",
|
|
632
640
|
className: "border-border-seam p-5 lg:col-span-2",
|
|
633
641
|
children: [
|
|
@@ -659,7 +667,7 @@ function $() {
|
|
|
659
667
|
children: "Venue"
|
|
660
668
|
}), /* @__PURE__ */ b("dd", {
|
|
661
669
|
className: "text-text-primary",
|
|
662
|
-
children: w ? /* @__PURE__ */ b(
|
|
670
|
+
children: w ? /* @__PURE__ */ b(P, {
|
|
663
671
|
type: "button",
|
|
664
672
|
variant: "link",
|
|
665
673
|
size: "sm",
|
|
@@ -723,7 +731,7 @@ function $() {
|
|
|
723
731
|
}),
|
|
724
732
|
/* @__PURE__ */ b("div", {
|
|
725
733
|
className: "mt-5",
|
|
726
|
-
children: /* @__PURE__ */ x(
|
|
734
|
+
children: /* @__PURE__ */ x(P, {
|
|
727
735
|
type: "button",
|
|
728
736
|
variant: "outline",
|
|
729
737
|
size: "sm",
|
|
@@ -732,7 +740,7 @@ function $() {
|
|
|
732
740
|
})
|
|
733
741
|
})
|
|
734
742
|
]
|
|
735
|
-
}), /* @__PURE__ */ x(
|
|
743
|
+
}), /* @__PURE__ */ x(F, {
|
|
736
744
|
treatment: "glass",
|
|
737
745
|
glow: !0,
|
|
738
746
|
className: "p-5",
|
|
@@ -775,36 +783,36 @@ function $() {
|
|
|
775
783
|
})]
|
|
776
784
|
})
|
|
777
785
|
}),
|
|
778
|
-
/* @__PURE__ */ b(
|
|
786
|
+
/* @__PURE__ */ b(z, {
|
|
779
787
|
value: "sessions",
|
|
780
788
|
className: "mt-4",
|
|
781
|
-
children: /* @__PURE__ */ b(
|
|
789
|
+
children: /* @__PURE__ */ b(X, { eventId: t })
|
|
782
790
|
}),
|
|
783
|
-
/* @__PURE__ */ b(
|
|
791
|
+
/* @__PURE__ */ b(z, {
|
|
784
792
|
value: "speakers",
|
|
785
793
|
className: "mt-4",
|
|
786
|
-
children: /* @__PURE__ */ b(
|
|
794
|
+
children: /* @__PURE__ */ b(Z, {})
|
|
787
795
|
}),
|
|
788
|
-
/* @__PURE__ */ b(
|
|
796
|
+
/* @__PURE__ */ b(z, {
|
|
789
797
|
value: "tickets",
|
|
790
798
|
className: "mt-4",
|
|
791
|
-
children: /* @__PURE__ */ b(
|
|
799
|
+
children: /* @__PURE__ */ b(Q, { eventId: t })
|
|
792
800
|
})
|
|
793
801
|
]
|
|
794
802
|
})
|
|
795
803
|
]
|
|
796
804
|
}) : /* @__PURE__ */ x("div", {
|
|
797
805
|
className: "space-y-4 p-6",
|
|
798
|
-
children: [/* @__PURE__ */ x(
|
|
806
|
+
children: [/* @__PURE__ */ x(P, {
|
|
799
807
|
type: "button",
|
|
800
808
|
variant: "ghost",
|
|
801
809
|
size: "sm",
|
|
802
810
|
onClick: () => r("/events"),
|
|
803
811
|
children: [/* @__PURE__ */ b(S, { className: "h-4 w-4" }), "Back to Events"]
|
|
804
|
-
}), /* @__PURE__ */ b(
|
|
812
|
+
}), /* @__PURE__ */ b(F, {
|
|
805
813
|
treatment: "plain",
|
|
806
814
|
className: "border-border-seam",
|
|
807
|
-
children: /* @__PURE__ */ b(
|
|
815
|
+
children: /* @__PURE__ */ b(I, {
|
|
808
816
|
illustration: "empty-search",
|
|
809
817
|
title: "Event not found.",
|
|
810
818
|
description: "This event may have been removed or is outside your current scope."
|
|
@@ -813,6 +821,6 @@ function $() {
|
|
|
813
821
|
});
|
|
814
822
|
}
|
|
815
823
|
//#endregion
|
|
816
|
-
export {
|
|
824
|
+
export { ee as default };
|
|
817
825
|
|
|
818
826
|
//# sourceMappingURL=EventDetailPage.js.map
|