@burdenoff/microfe-eventfullymanaged 2026.1123.6 → 2026.1124.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.js +58 -54
- package/dist/eventfullymanaged/EventfullyManagedRoutes.js.map +1 -1
- package/dist/eventfullymanaged/components/ActionMenu.js +19 -19
- package/dist/eventfullymanaged/components/EntityFormShell.js +9 -9
- package/dist/eventfullymanaged/components/EntityTagsField.js +13 -13
- package/dist/eventfullymanaged/components/EntityTagsField.js.map +1 -1
- package/dist/eventfullymanaged/components/ImageUploadField.js +5 -5
- package/dist/eventfullymanaged/components/Pagination.js +7 -7
- package/dist/eventfullymanaged/components/floorPlanEditor/ZonePanels.js +51 -51
- package/dist/eventfullymanaged/components/floorPlanEditor/ZonePanels.js.map +1 -1
- package/dist/eventfullymanaged/pages/certificates/CertificateAccess.d.ts +7 -0
- package/dist/eventfullymanaged/pages/certificates/CertificateAccess.js +29 -0
- package/dist/eventfullymanaged/pages/certificates/CertificateAccess.js.map +1 -0
- package/dist/eventfullymanaged/pages/certificates/CertificateIssuance.d.ts +7 -0
- package/dist/eventfullymanaged/pages/certificates/CertificateIssuance.js +253 -0
- package/dist/eventfullymanaged/pages/certificates/CertificateIssuance.js.map +1 -0
- package/dist/eventfullymanaged/pages/certificates/CertificateTemplates.d.ts +8 -0
- package/dist/eventfullymanaged/pages/certificates/CertificateTemplates.js +260 -0
- package/dist/eventfullymanaged/pages/certificates/CertificateTemplates.js.map +1 -0
- package/dist/eventfullymanaged/pages/certificates/CertificatesPage.d.ts +1 -0
- package/dist/eventfullymanaged/pages/certificates/CertificatesPage.js +121 -0
- package/dist/eventfullymanaged/pages/certificates/CertificatesPage.js.map +1 -0
- package/dist/eventfullymanaged/pages/dashboard/DashboardPage.js +26 -26
- package/dist/eventfullymanaged/pages/events/EventDetailPage.js +150 -148
- package/dist/eventfullymanaged/pages/events/EventDetailPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/events/VirtualSessionPage.js +100 -100
- package/dist/eventfullymanaged/pages/events/VirtualSessionPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/exhibitors/ExhibitorsPage.js +19 -19
- package/dist/eventfullymanaged/pages/exhibitors/ExhibitorsPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/leads/LeadCaptureDialog.js +16 -16
- package/dist/eventfullymanaged/pages/leads/LeadCaptureDialog.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/AnalyticsPage.js +103 -103
- package/dist/eventfullymanaged/pages/modules/AnalyticsPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.js +15 -15
- package/dist/eventfullymanaged/pages/modules/AttendeeRecommendations.js +12 -12
- package/dist/eventfullymanaged/pages/modules/AttendeeRecommendations.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/CommunicationPage.js +80 -80
- package/dist/eventfullymanaged/pages/modules/CommunicationPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/EventTemplatesSection.js +14 -14
- package/dist/eventfullymanaged/pages/modules/EventTemplatesSection.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/EventsPage.js +121 -121
- package/dist/eventfullymanaged/pages/modules/EventsPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/IntegrationsPage.js +57 -57
- package/dist/eventfullymanaged/pages/modules/IntegrationsPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/KioskPage.js +241 -241
- package/dist/eventfullymanaged/pages/modules/KioskPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/NetworkingPage.js +120 -120
- package/dist/eventfullymanaged/pages/modules/NetworkingPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/OperationsHubPage.js +17 -17
- package/dist/eventfullymanaged/pages/modules/OperationsHubPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/RegistrationPage.js +61 -61
- package/dist/eventfullymanaged/pages/modules/RegistrationPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/RoadmapPanel.js +23 -23
- package/dist/eventfullymanaged/pages/modules/RoadmapPanel.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.js +17 -17
- package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.js +11 -11
- package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.js +13 -13
- package/dist/eventfullymanaged/pages/modules/WorkflowsPage.js +108 -108
- package/dist/eventfullymanaged/pages/modules/WorkflowsPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.js +22 -22
- package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/registration/RegisterAttendeePage.js +45 -45
- package/dist/eventfullymanaged/pages/speakers/SpeakersPage.js +24 -24
- package/dist/eventfullymanaged/pages/speakers/SpeakersPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.js +37 -37
- package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.js +23 -23
- package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/venues/FloorPlansPage.js +123 -123
- package/dist/eventfullymanaged/pages/venues/FloorPlansPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/venues/VenueDetailPage.js +37 -37
- package/dist/eventfullymanaged/pages/venues/VenueDetailPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/venues/VenueFormPage.js +25 -25
- package/dist/eventfullymanaged/pages/venues/VenueListPage.js +26 -26
- package/dist/eventfullymanaged/pages/venues/VenueListPage.js.map +1 -1
- package/dist/generated/wspace-operations.d.ts +383 -0
- package/dist/generated/wspace-operations.js +177 -11
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +29809 -1503
- package/dist/node_modules/@apollo/client/react/hooks/internal/useRenderGuard.js +19 -0
- package/dist/node_modules/@apollo/client/react/hooks/internal/useRenderGuard.js.map +1 -0
- package/dist/node_modules/@apollo/client/react/hooks/useLazyQuery.js +110 -0
- package/dist/node_modules/@apollo/client/react/hooks/useLazyQuery.js.map +1 -0
- package/dist/utils/pageContext.js +5 -0
- package/dist/utils/pageContext.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { useEventPortfolioQuery as e } from "../../api/eventApi.js";
|
|
2
2
|
import "../../hooks/index.js";
|
|
3
3
|
import { ActionMenu as t } from "../../components/ActionMenu.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { formatDateTime as
|
|
8
|
-
import { EventTemplatesSection as
|
|
9
|
-
import { useMemo as
|
|
10
|
-
import { useI18n as
|
|
11
|
-
import { jsx as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
4
|
+
import { Pagination as n, usePagination as r } from "../../components/Pagination.js";
|
|
5
|
+
import { useEventfullyManaged as i } from "../../context/EventfullyManagedContext.js";
|
|
6
|
+
import { useEventDelete as a } from "../../hooks/useEventDelete.js";
|
|
7
|
+
import { formatDateTime as o } from "../events/eventFormUtils.js";
|
|
8
|
+
import { EventTemplatesSection as s } from "./EventTemplatesSection.js";
|
|
9
|
+
import { useMemo as c, useState as l } from "react";
|
|
10
|
+
import { useI18n as ee } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
11
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
12
|
+
import { Badge as f, Button as p, EmphasisPanel as te, GlassCard as m, GradientText as ne, IllustratedEmptyState as re, Input as ie, NextSteps as ae, PagePurpose as h, Skeleton as g, Table as _, TableBody as v, TableCell as y, TableHead as b, TableHeader as x, TableRow as S, Tabs as C, TabsList as oe, TabsTrigger as w } from "@burdenoff/fe-libs/ui";
|
|
13
|
+
import { Award as se, CalendarClock as ce, CalendarDays as le, CalendarPlus as T, CircleCheck as E, LayoutGrid as ue, MapPin as D, Rows3 as de, Search as fe, Ticket as pe, Users as O } from "lucide-react";
|
|
14
14
|
// src/eventfullymanaged/pages/modules/EventsPage.tsx
|
|
15
15
|
var k = {
|
|
16
16
|
all: void 0,
|
|
@@ -44,27 +44,27 @@ function j(e) {
|
|
|
44
44
|
return e === "LIVE" ? "success" : e === "UPCOMING" ? "info" : "secondary";
|
|
45
45
|
}
|
|
46
46
|
function M(e, t) {
|
|
47
|
-
let n = e ?
|
|
47
|
+
let n = e ? o(e) : "", r = t ? o(t) : "";
|
|
48
48
|
return n && r ? `${n} — ${r}` : n || r || "No schedule set";
|
|
49
49
|
}
|
|
50
50
|
function N(e) {
|
|
51
51
|
return e.checkInRate === null || e.checkInRate === void 0 ? null : Math.round(e.checkInRate * 100);
|
|
52
52
|
}
|
|
53
53
|
function P({ icon: e, label: t, value: n, loading: r }) {
|
|
54
|
-
return /* @__PURE__ */
|
|
54
|
+
return /* @__PURE__ */ u(m, {
|
|
55
55
|
treatment: "plain",
|
|
56
56
|
className: "border-border-seam p-4",
|
|
57
|
-
children: /* @__PURE__ */
|
|
57
|
+
children: /* @__PURE__ */ d("div", {
|
|
58
58
|
className: "flex items-center gap-3",
|
|
59
|
-
children: [/* @__PURE__ */
|
|
59
|
+
children: [/* @__PURE__ */ u("span", {
|
|
60
60
|
className: "flex h-9 w-9 shrink-0 items-center justify-center rounded-button bg-bg-sunken text-text-secondary",
|
|
61
|
-
children: /* @__PURE__ */
|
|
62
|
-
}), /* @__PURE__ */
|
|
61
|
+
children: /* @__PURE__ */ u(e, { className: "h-4 w-4" })
|
|
62
|
+
}), /* @__PURE__ */ d("div", {
|
|
63
63
|
className: "min-w-0",
|
|
64
|
-
children: [r ? /* @__PURE__ */
|
|
64
|
+
children: [r ? /* @__PURE__ */ u(g, { className: "h-6 w-12" }) : /* @__PURE__ */ u("p", {
|
|
65
65
|
className: "truncate text-xl font-bold tabular-nums text-text-primary",
|
|
66
66
|
children: n
|
|
67
|
-
}), /* @__PURE__ */
|
|
67
|
+
}), /* @__PURE__ */ u("p", {
|
|
68
68
|
className: "truncate text-xs text-text-muted",
|
|
69
69
|
children: t
|
|
70
70
|
})]
|
|
@@ -73,14 +73,14 @@ function P({ icon: e, label: t, value: n, loading: r }) {
|
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
75
|
function F({ icon: e, label: t, value: n }) {
|
|
76
|
-
return /* @__PURE__ */
|
|
76
|
+
return /* @__PURE__ */ d("div", {
|
|
77
77
|
className: "flex items-start gap-2",
|
|
78
|
-
children: [/* @__PURE__ */
|
|
78
|
+
children: [/* @__PURE__ */ u(e, { className: "mt-0.5 h-4 w-4 shrink-0 text-text-muted" }), /* @__PURE__ */ d("div", {
|
|
79
79
|
className: "min-w-0",
|
|
80
|
-
children: [/* @__PURE__ */
|
|
80
|
+
children: [/* @__PURE__ */ u("p", {
|
|
81
81
|
className: "tabular-nums font-semibold text-text-primary",
|
|
82
82
|
children: n
|
|
83
|
-
}), /* @__PURE__ */
|
|
83
|
+
}), /* @__PURE__ */ u("p", {
|
|
84
84
|
className: "truncate text-xs text-text-muted",
|
|
85
85
|
children: t
|
|
86
86
|
})]
|
|
@@ -88,16 +88,16 @@ function F({ icon: e, label: t, value: n }) {
|
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
function I() {
|
|
91
|
-
let { t:
|
|
92
|
-
let n =
|
|
91
|
+
let { t: o } = ee(), I = (e, t) => {
|
|
92
|
+
let n = o(e);
|
|
93
93
|
return n === e ? t : n;
|
|
94
|
-
}, { navigate: L, workspaceId: R } =
|
|
94
|
+
}, { navigate: L, workspaceId: R } = i(), [z, me] = l(""), [B, he] = l("all"), [V, H] = l("table"), U = r({ resetKey: `${z}::${B}` }), { data: ge, loading: W, refetch: _e } = e({
|
|
95
95
|
workspaceId: R || void 0,
|
|
96
96
|
lifecycle: k[B],
|
|
97
97
|
search: z.trim() || void 0,
|
|
98
98
|
limit: U.limit,
|
|
99
99
|
offset: U.offset
|
|
100
|
-
}), { onDeleteEvent: ve } =
|
|
100
|
+
}), { onDeleteEvent: ve } = a(), G = ge?.portfolio, K = c(() => G?.items ?? [], [G]), ye = G?.total ?? 0, q = G?.counts, J = W && !G, Y = G && G.totalRegistrations > 0 ? Math.round(G.totalCheckedIn / G.totalRegistrations * 100) : null, X = async (e) => {
|
|
101
101
|
await ve(e.event.id, {
|
|
102
102
|
name: e.event.name,
|
|
103
103
|
onSuccess: () => void _e()
|
|
@@ -105,7 +105,7 @@ function I() {
|
|
|
105
105
|
}, Z = (e) => e === "LIVE" ? I("eventfullymanaged.events.filters.live", "Live") : e === "UPCOMING" ? I("eventfullymanaged.events.filters.upcoming", "Upcoming") : I("eventfullymanaged.events.filters.past", "Past"), Q = (e, t) => {
|
|
106
106
|
let n = q?.[e];
|
|
107
107
|
return n === void 0 ? t : `${t} (${n.toLocaleString()})`;
|
|
108
|
-
}, $ = /* @__PURE__ */
|
|
108
|
+
}, $ = /* @__PURE__ */ u(n, {
|
|
109
109
|
offset: U.offset,
|
|
110
110
|
limit: U.limit,
|
|
111
111
|
loadedCount: K.length,
|
|
@@ -115,66 +115,66 @@ function I() {
|
|
|
115
115
|
itemLabel: "events",
|
|
116
116
|
loading: W
|
|
117
117
|
}), be = (q?.all ?? 0) > 0;
|
|
118
|
-
return /* @__PURE__ */
|
|
118
|
+
return /* @__PURE__ */ d("div", {
|
|
119
119
|
className: "space-y-6 p-6",
|
|
120
120
|
children: [
|
|
121
|
-
/* @__PURE__ */
|
|
122
|
-
/* @__PURE__ */
|
|
121
|
+
/* @__PURE__ */ u(h, { children: I("eventfullymanaged.events.purpose", "Events are the heart of the platform — each one is a happening you sell tickets for, register attendees to, and run on the day. Create an event, open it to reveal its agenda, speakers and ticket types, then publish it when it is ready.") }),
|
|
122
|
+
/* @__PURE__ */ u(te, { children: /* @__PURE__ */ d("div", {
|
|
123
123
|
className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
|
|
124
|
-
children: [/* @__PURE__ */
|
|
124
|
+
children: [/* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("h1", {
|
|
125
125
|
className: "text-2xl font-bold text-text-primary",
|
|
126
|
-
children: /* @__PURE__ */
|
|
127
|
-
}), /* @__PURE__ */
|
|
126
|
+
children: /* @__PURE__ */ u(ne, { children: I("eventfullymanaged.events.portfolio.title", "All Events") })
|
|
127
|
+
}), /* @__PURE__ */ u("p", {
|
|
128
128
|
className: "mt-1 text-sm text-text-secondary",
|
|
129
129
|
children: I("eventfullymanaged.events.portfolio.scope", "Every event in this workspace. Switch organization or workspace from the context switcher in the top bar.")
|
|
130
|
-
})] }), /* @__PURE__ */
|
|
130
|
+
})] }), /* @__PURE__ */ d(p, {
|
|
131
131
|
type: "button",
|
|
132
132
|
onClick: () => L("/events/create"),
|
|
133
|
-
children: [/* @__PURE__ */
|
|
133
|
+
children: [/* @__PURE__ */ u(T, { className: "h-4 w-4" }), I("eventfullymanaged.events.actions.create", "Create Event")]
|
|
134
134
|
})]
|
|
135
135
|
}) }),
|
|
136
|
-
/* @__PURE__ */
|
|
136
|
+
/* @__PURE__ */ d("div", {
|
|
137
137
|
className: "grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-5",
|
|
138
138
|
"data-testid": "events-portfolio-stats",
|
|
139
139
|
children: [
|
|
140
|
-
/* @__PURE__ */
|
|
141
|
-
icon:
|
|
140
|
+
/* @__PURE__ */ u(P, {
|
|
141
|
+
icon: le,
|
|
142
142
|
label: I("eventfullymanaged.events.portfolio.events", "Events"),
|
|
143
143
|
value: (q?.all ?? 0).toLocaleString(),
|
|
144
144
|
loading: J
|
|
145
145
|
}),
|
|
146
|
-
/* @__PURE__ */
|
|
147
|
-
icon:
|
|
146
|
+
/* @__PURE__ */ u(P, {
|
|
147
|
+
icon: O,
|
|
148
148
|
label: I("eventfullymanaged.events.portfolio.registrations", "Registrations"),
|
|
149
149
|
value: (G?.totalRegistrations ?? 0).toLocaleString(),
|
|
150
150
|
loading: J
|
|
151
151
|
}),
|
|
152
|
-
/* @__PURE__ */
|
|
153
|
-
icon:
|
|
152
|
+
/* @__PURE__ */ u(P, {
|
|
153
|
+
icon: E,
|
|
154
154
|
label: I("eventfullymanaged.events.portfolio.checkIn", "Check-in rate"),
|
|
155
155
|
value: Y === null ? "—" : `${Y}%`,
|
|
156
156
|
loading: J
|
|
157
157
|
}),
|
|
158
|
-
/* @__PURE__ */
|
|
159
|
-
icon:
|
|
158
|
+
/* @__PURE__ */ u(P, {
|
|
159
|
+
icon: D,
|
|
160
160
|
label: I("eventfullymanaged.events.portfolio.venues", "Venues"),
|
|
161
161
|
value: (G?.totalVenues ?? 0).toLocaleString(),
|
|
162
162
|
loading: J
|
|
163
163
|
}),
|
|
164
|
-
/* @__PURE__ */
|
|
165
|
-
icon:
|
|
164
|
+
/* @__PURE__ */ u(P, {
|
|
165
|
+
icon: se,
|
|
166
166
|
label: I("eventfullymanaged.events.portfolio.sponsors", "Sponsors"),
|
|
167
167
|
value: (G?.totalSponsors ?? 0).toLocaleString(),
|
|
168
168
|
loading: J
|
|
169
169
|
})
|
|
170
170
|
]
|
|
171
171
|
}),
|
|
172
|
-
/* @__PURE__ */
|
|
172
|
+
/* @__PURE__ */ d("div", {
|
|
173
173
|
className: "flex flex-col gap-3 lg:flex-row lg:items-center lg:justify-between",
|
|
174
174
|
children: [
|
|
175
|
-
/* @__PURE__ */
|
|
175
|
+
/* @__PURE__ */ d("div", {
|
|
176
176
|
className: "relative flex-1",
|
|
177
|
-
children: [/* @__PURE__ */
|
|
177
|
+
children: [/* @__PURE__ */ u(fe, { className: "pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-muted" }), /* @__PURE__ */ u(ie, {
|
|
178
178
|
type: "text",
|
|
179
179
|
value: z,
|
|
180
180
|
onChange: (e) => me(e.target.value),
|
|
@@ -183,88 +183,88 @@ function I() {
|
|
|
183
183
|
className: "pl-10"
|
|
184
184
|
})]
|
|
185
185
|
}),
|
|
186
|
-
/* @__PURE__ */
|
|
186
|
+
/* @__PURE__ */ u(C, {
|
|
187
187
|
value: B,
|
|
188
188
|
onValueChange: (e) => he(e),
|
|
189
189
|
className: "w-full lg:w-auto",
|
|
190
|
-
children: /* @__PURE__ */
|
|
190
|
+
children: /* @__PURE__ */ d(oe, {
|
|
191
191
|
className: "w-full overflow-x-auto lg:w-auto",
|
|
192
192
|
children: [
|
|
193
|
-
/* @__PURE__ */
|
|
193
|
+
/* @__PURE__ */ u(w, {
|
|
194
194
|
value: "all",
|
|
195
195
|
children: Q("all", I("eventfullymanaged.events.filters.all", "All"))
|
|
196
196
|
}),
|
|
197
|
-
/* @__PURE__ */
|
|
197
|
+
/* @__PURE__ */ u(w, {
|
|
198
198
|
value: "upcoming",
|
|
199
199
|
children: Q("upcoming", I("eventfullymanaged.events.filters.upcoming", "Upcoming"))
|
|
200
200
|
}),
|
|
201
|
-
/* @__PURE__ */
|
|
201
|
+
/* @__PURE__ */ u(w, {
|
|
202
202
|
value: "live",
|
|
203
203
|
children: Q("live", I("eventfullymanaged.events.filters.live", "Live"))
|
|
204
204
|
}),
|
|
205
|
-
/* @__PURE__ */
|
|
205
|
+
/* @__PURE__ */ u(w, {
|
|
206
206
|
value: "past",
|
|
207
207
|
children: Q("past", I("eventfullymanaged.events.filters.past", "Past"))
|
|
208
208
|
})
|
|
209
209
|
]
|
|
210
210
|
})
|
|
211
211
|
}),
|
|
212
|
-
/* @__PURE__ */
|
|
212
|
+
/* @__PURE__ */ d("div", {
|
|
213
213
|
className: "flex shrink-0 items-center gap-1 self-start rounded-button border border-border-seam p-1 lg:self-auto",
|
|
214
|
-
children: [/* @__PURE__ */
|
|
214
|
+
children: [/* @__PURE__ */ u(p, {
|
|
215
215
|
type: "button",
|
|
216
216
|
variant: V === "table" ? "default" : "ghost",
|
|
217
217
|
size: "sm",
|
|
218
218
|
"aria-pressed": V === "table",
|
|
219
219
|
"aria-label": I("eventfullymanaged.events.view.table", "Table view"),
|
|
220
220
|
onClick: () => H("table"),
|
|
221
|
-
children: /* @__PURE__ */
|
|
222
|
-
}), /* @__PURE__ */
|
|
221
|
+
children: /* @__PURE__ */ u(de, { className: "h-4 w-4" })
|
|
222
|
+
}), /* @__PURE__ */ u(p, {
|
|
223
223
|
type: "button",
|
|
224
224
|
variant: V === "cards" ? "default" : "ghost",
|
|
225
225
|
size: "sm",
|
|
226
226
|
"aria-pressed": V === "cards",
|
|
227
227
|
"aria-label": I("eventfullymanaged.events.view.cards", "Card view"),
|
|
228
228
|
onClick: () => H("cards"),
|
|
229
|
-
children: /* @__PURE__ */
|
|
229
|
+
children: /* @__PURE__ */ u(ue, { className: "h-4 w-4" })
|
|
230
230
|
})]
|
|
231
231
|
})
|
|
232
232
|
]
|
|
233
233
|
}),
|
|
234
|
-
J ? /* @__PURE__ */
|
|
234
|
+
J ? /* @__PURE__ */ d("div", {
|
|
235
235
|
className: "space-y-3",
|
|
236
236
|
children: [
|
|
237
|
-
/* @__PURE__ */
|
|
238
|
-
/* @__PURE__ */
|
|
239
|
-
/* @__PURE__ */
|
|
237
|
+
/* @__PURE__ */ u(g, { className: "h-28 w-full rounded-card" }),
|
|
238
|
+
/* @__PURE__ */ u(g, { className: "h-28 w-full rounded-card" }),
|
|
239
|
+
/* @__PURE__ */ u(g, { className: "h-28 w-full rounded-card" })
|
|
240
240
|
]
|
|
241
|
-
}) : be ? K.length === 0 ? /* @__PURE__ */
|
|
241
|
+
}) : be ? K.length === 0 ? /* @__PURE__ */ u(m, {
|
|
242
242
|
treatment: "plain",
|
|
243
243
|
className: "border-border-seam",
|
|
244
|
-
children: /* @__PURE__ */
|
|
244
|
+
children: /* @__PURE__ */ u("p", {
|
|
245
245
|
className: "px-2 py-8 text-center text-sm text-text-secondary",
|
|
246
246
|
children: I("eventfullymanaged.events.filters.emptyBucket", `No ${B} events in this workspace.`)
|
|
247
247
|
})
|
|
248
|
-
}) : V === "table" ? /* @__PURE__ */
|
|
248
|
+
}) : V === "table" ? /* @__PURE__ */ d("div", {
|
|
249
249
|
className: "space-y-3",
|
|
250
|
-
children: [/* @__PURE__ */
|
|
250
|
+
children: [/* @__PURE__ */ u("div", {
|
|
251
251
|
className: "overflow-hidden rounded-card border border-border-seam",
|
|
252
|
-
children: /* @__PURE__ */
|
|
253
|
-
/* @__PURE__ */
|
|
254
|
-
/* @__PURE__ */
|
|
255
|
-
/* @__PURE__ */
|
|
256
|
-
/* @__PURE__ */
|
|
257
|
-
/* @__PURE__ */
|
|
252
|
+
children: /* @__PURE__ */ d(_, { children: [/* @__PURE__ */ u(x, { children: /* @__PURE__ */ d(S, { children: [
|
|
253
|
+
/* @__PURE__ */ u(b, { children: I("eventfullymanaged.events.table.name", "Event") }),
|
|
254
|
+
/* @__PURE__ */ u(b, { children: I("eventfullymanaged.events.table.date", "Date") }),
|
|
255
|
+
/* @__PURE__ */ u(b, { children: I("eventfullymanaged.events.table.venue", "Venue") }),
|
|
256
|
+
/* @__PURE__ */ u(b, { children: I("eventfullymanaged.events.table.status", "Status") }),
|
|
257
|
+
/* @__PURE__ */ u(b, {
|
|
258
258
|
className: "text-right",
|
|
259
259
|
children: I("eventfullymanaged.events.table.attendees", "Attendees")
|
|
260
260
|
}),
|
|
261
|
-
/* @__PURE__ */
|
|
261
|
+
/* @__PURE__ */ u(b, {
|
|
262
262
|
className: "w-10",
|
|
263
263
|
"aria-label": I("eventfullymanaged.events.table.actions", "Actions")
|
|
264
264
|
})
|
|
265
|
-
] }) }), /* @__PURE__ */
|
|
265
|
+
] }) }), /* @__PURE__ */ u(v, { children: K.map((e) => {
|
|
266
266
|
let { event: n } = e, r = N(e);
|
|
267
|
-
return /* @__PURE__ */
|
|
267
|
+
return /* @__PURE__ */ d(S, {
|
|
268
268
|
className: "cursor-pointer",
|
|
269
269
|
tabIndex: 0,
|
|
270
270
|
"aria-label": n.name,
|
|
@@ -273,42 +273,42 @@ function I() {
|
|
|
273
273
|
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), L(`/events/${n.id}`));
|
|
274
274
|
},
|
|
275
275
|
children: [
|
|
276
|
-
/* @__PURE__ */
|
|
276
|
+
/* @__PURE__ */ u(y, {
|
|
277
277
|
className: "max-w-[18rem]",
|
|
278
|
-
children: /* @__PURE__ */
|
|
278
|
+
children: /* @__PURE__ */ d("div", {
|
|
279
279
|
className: "flex flex-wrap items-center gap-2",
|
|
280
|
-
children: [/* @__PURE__ */
|
|
280
|
+
children: [/* @__PURE__ */ u("span", {
|
|
281
281
|
className: "truncate font-medium text-text-primary",
|
|
282
282
|
children: n.name
|
|
283
|
-
}), n.type ? /* @__PURE__ */
|
|
283
|
+
}), n.type ? /* @__PURE__ */ u(f, {
|
|
284
284
|
variant: "secondary",
|
|
285
285
|
className: "shrink-0 capitalize",
|
|
286
286
|
children: n.type.toLowerCase().replace(/_/g, " ")
|
|
287
287
|
}) : null]
|
|
288
288
|
})
|
|
289
289
|
}),
|
|
290
|
-
/* @__PURE__ */
|
|
290
|
+
/* @__PURE__ */ u(y, {
|
|
291
291
|
className: "whitespace-nowrap text-text-secondary",
|
|
292
292
|
children: M(n.startAt, n.endAt)
|
|
293
293
|
}),
|
|
294
|
-
/* @__PURE__ */
|
|
294
|
+
/* @__PURE__ */ u(y, {
|
|
295
295
|
className: "text-text-secondary",
|
|
296
296
|
children: e.venueName ?? I("eventfullymanaged.events.card.noVenue", "No venue")
|
|
297
297
|
}),
|
|
298
|
-
/* @__PURE__ */
|
|
298
|
+
/* @__PURE__ */ u(y, { children: /* @__PURE__ */ d("div", {
|
|
299
299
|
className: "flex flex-wrap items-center gap-1.5",
|
|
300
|
-
children: [/* @__PURE__ */
|
|
300
|
+
children: [/* @__PURE__ */ u(f, {
|
|
301
301
|
variant: j(e.lifecycle),
|
|
302
302
|
children: Z(e.lifecycle)
|
|
303
|
-
}), n.status ? /* @__PURE__ */
|
|
303
|
+
}), n.status ? /* @__PURE__ */ u(f, {
|
|
304
304
|
variant: A(n.status),
|
|
305
305
|
className: "uppercase",
|
|
306
306
|
children: n.status
|
|
307
307
|
}) : null]
|
|
308
308
|
}) }),
|
|
309
|
-
/* @__PURE__ */
|
|
309
|
+
/* @__PURE__ */ d(y, {
|
|
310
310
|
className: "whitespace-nowrap text-right tabular-nums text-text-primary",
|
|
311
|
-
children: [e.registrations.toLocaleString(), /* @__PURE__ */
|
|
311
|
+
children: [e.registrations.toLocaleString(), /* @__PURE__ */ d("span", {
|
|
312
312
|
className: "ml-1 text-xs text-text-muted",
|
|
313
313
|
children: [
|
|
314
314
|
"(",
|
|
@@ -317,10 +317,10 @@ function I() {
|
|
|
317
317
|
]
|
|
318
318
|
})]
|
|
319
319
|
}),
|
|
320
|
-
/* @__PURE__ */
|
|
320
|
+
/* @__PURE__ */ u(y, {
|
|
321
321
|
onClick: (e) => e.stopPropagation(),
|
|
322
322
|
onKeyDown: (e) => e.stopPropagation(),
|
|
323
|
-
children: /* @__PURE__ */
|
|
323
|
+
children: /* @__PURE__ */ u(t, {
|
|
324
324
|
ariaLabel: `Event actions for ${n.name}`,
|
|
325
325
|
entityName: n.name,
|
|
326
326
|
deleteLabel: "Delete event",
|
|
@@ -333,13 +333,13 @@ function I() {
|
|
|
333
333
|
}, n.id);
|
|
334
334
|
}) })] })
|
|
335
335
|
}), $]
|
|
336
|
-
}) : /* @__PURE__ */
|
|
336
|
+
}) : /* @__PURE__ */ d("div", {
|
|
337
337
|
className: "space-y-3",
|
|
338
|
-
children: [/* @__PURE__ */
|
|
338
|
+
children: [/* @__PURE__ */ u("div", {
|
|
339
339
|
className: "grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-3",
|
|
340
340
|
children: K.map((e) => {
|
|
341
341
|
let { event: n } = e, r = N(e);
|
|
342
|
-
return /* @__PURE__ */
|
|
342
|
+
return /* @__PURE__ */ d(m, {
|
|
343
343
|
treatment: "plain",
|
|
344
344
|
role: "button",
|
|
345
345
|
tabIndex: 0,
|
|
@@ -349,23 +349,23 @@ function I() {
|
|
|
349
349
|
onKeyDown: (e) => {
|
|
350
350
|
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), L(`/events/${n.id}`));
|
|
351
351
|
},
|
|
352
|
-
children: [/* @__PURE__ */
|
|
352
|
+
children: [/* @__PURE__ */ u("span", {
|
|
353
353
|
"aria-hidden": "true",
|
|
354
354
|
className: "absolute inset-x-0 top-0 h-1.5 bg-gradient-to-r from-[var(--color-chart-1)] to-[var(--color-chart-2)]"
|
|
355
|
-
}), /* @__PURE__ */
|
|
355
|
+
}), /* @__PURE__ */ d("div", {
|
|
356
356
|
className: "space-y-3 p-5 pt-6",
|
|
357
357
|
children: [
|
|
358
|
-
/* @__PURE__ */
|
|
358
|
+
/* @__PURE__ */ d("div", {
|
|
359
359
|
className: "flex items-start justify-between gap-2",
|
|
360
|
-
children: [/* @__PURE__ */
|
|
360
|
+
children: [/* @__PURE__ */ u("p", {
|
|
361
361
|
className: "min-w-0 truncate text-lg font-semibold text-text-primary",
|
|
362
362
|
children: n.name
|
|
363
|
-
}), /* @__PURE__ */
|
|
363
|
+
}), /* @__PURE__ */ u("div", {
|
|
364
364
|
className: "-mr-2 -mt-1 shrink-0",
|
|
365
365
|
onClick: (e) => e.stopPropagation(),
|
|
366
366
|
onKeyDown: (e) => e.stopPropagation(),
|
|
367
367
|
role: "presentation",
|
|
368
|
-
children: /* @__PURE__ */
|
|
368
|
+
children: /* @__PURE__ */ u(t, {
|
|
369
369
|
ariaLabel: `Event actions for ${n.name}`,
|
|
370
370
|
entityName: n.name,
|
|
371
371
|
deleteLabel: "Delete event",
|
|
@@ -375,41 +375,41 @@ function I() {
|
|
|
375
375
|
})
|
|
376
376
|
})]
|
|
377
377
|
}),
|
|
378
|
-
/* @__PURE__ */
|
|
378
|
+
/* @__PURE__ */ d("div", {
|
|
379
379
|
className: "space-y-1 text-sm text-text-secondary",
|
|
380
|
-
children: [/* @__PURE__ */
|
|
380
|
+
children: [/* @__PURE__ */ d("p", {
|
|
381
381
|
className: "flex items-center gap-1.5",
|
|
382
|
-
children: [/* @__PURE__ */
|
|
382
|
+
children: [/* @__PURE__ */ u(ce, { className: "h-4 w-4 shrink-0 text-text-muted" }), /* @__PURE__ */ u("span", {
|
|
383
383
|
className: "truncate",
|
|
384
384
|
children: M(n.startAt, n.endAt)
|
|
385
385
|
})]
|
|
386
|
-
}), /* @__PURE__ */
|
|
386
|
+
}), /* @__PURE__ */ d("p", {
|
|
387
387
|
className: "flex items-center gap-1.5",
|
|
388
|
-
children: [/* @__PURE__ */
|
|
388
|
+
children: [/* @__PURE__ */ u(D, { className: "h-4 w-4 shrink-0 text-text-muted" }), /* @__PURE__ */ u("span", {
|
|
389
389
|
className: "truncate",
|
|
390
390
|
children: e.venueName ?? I("eventfullymanaged.events.card.noVenue", "No venue")
|
|
391
391
|
})]
|
|
392
392
|
})]
|
|
393
393
|
}),
|
|
394
|
-
/* @__PURE__ */
|
|
394
|
+
/* @__PURE__ */ d("div", {
|
|
395
395
|
className: "flex flex-wrap items-center gap-1.5",
|
|
396
|
-
children: [/* @__PURE__ */
|
|
396
|
+
children: [/* @__PURE__ */ u(f, {
|
|
397
397
|
variant: j(e.lifecycle),
|
|
398
398
|
children: Z(e.lifecycle)
|
|
399
|
-
}), n.status ? /* @__PURE__ */
|
|
399
|
+
}), n.status ? /* @__PURE__ */ u(f, {
|
|
400
400
|
variant: A(n.status),
|
|
401
401
|
className: "uppercase",
|
|
402
402
|
children: n.status
|
|
403
403
|
}) : null]
|
|
404
404
|
}),
|
|
405
|
-
/* @__PURE__ */
|
|
405
|
+
/* @__PURE__ */ d("div", {
|
|
406
406
|
className: "grid grid-cols-2 gap-3 border-t border-border-seam pt-3 text-sm",
|
|
407
|
-
children: [/* @__PURE__ */
|
|
408
|
-
icon:
|
|
407
|
+
children: [/* @__PURE__ */ u(F, {
|
|
408
|
+
icon: O,
|
|
409
409
|
label: I("eventfullymanaged.events.card.registrations", "registrations"),
|
|
410
410
|
value: e.registrations.toLocaleString()
|
|
411
|
-
}), /* @__PURE__ */
|
|
412
|
-
icon:
|
|
411
|
+
}), /* @__PURE__ */ u(F, {
|
|
412
|
+
icon: E,
|
|
413
413
|
label: I("eventfullymanaged.events.card.checkIn", "check-in"),
|
|
414
414
|
value: r === null ? "N/A" : `${r}%`
|
|
415
415
|
})]
|
|
@@ -419,22 +419,22 @@ function I() {
|
|
|
419
419
|
}, n.id);
|
|
420
420
|
})
|
|
421
421
|
}), $]
|
|
422
|
-
}) : /* @__PURE__ */
|
|
422
|
+
}) : /* @__PURE__ */ u(m, {
|
|
423
423
|
treatment: "plain",
|
|
424
424
|
className: "border-border-seam",
|
|
425
|
-
children: /* @__PURE__ */
|
|
425
|
+
children: /* @__PURE__ */ u(re, {
|
|
426
426
|
illustration: z ? "empty-search" : "empty-data",
|
|
427
427
|
title: z ? I("eventfullymanaged.events.list.emptySearch", "No events match your search.") : I("eventfullymanaged.events.list.empty", "No events yet."),
|
|
428
428
|
description: z ? I("eventfullymanaged.events.list.emptySearchHint", "Try a different name.") : I("eventfullymanaged.events.list.emptyHint", "Create your first event to get started."),
|
|
429
|
-
action: z ? void 0 : /* @__PURE__ */
|
|
429
|
+
action: z ? void 0 : /* @__PURE__ */ d(p, {
|
|
430
430
|
type: "button",
|
|
431
431
|
onClick: () => L("/events/create"),
|
|
432
|
-
children: [/* @__PURE__ */
|
|
432
|
+
children: [/* @__PURE__ */ u(T, { className: "h-4 w-4" }), I("eventfullymanaged.events.actions.create", "Create Event")]
|
|
433
433
|
})
|
|
434
434
|
})
|
|
435
435
|
}),
|
|
436
|
-
/* @__PURE__ */
|
|
437
|
-
/* @__PURE__ */
|
|
436
|
+
/* @__PURE__ */ u(s, {}),
|
|
437
|
+
/* @__PURE__ */ u(ae, {
|
|
438
438
|
storageKey: "eventfullymanaged-events",
|
|
439
439
|
title: I("eventfullymanaged.events.nextSteps.title", "Finish setting up your event"),
|
|
440
440
|
steps: [
|
|
@@ -442,21 +442,21 @@ function I() {
|
|
|
442
442
|
id: "configure-registration",
|
|
443
443
|
label: I("eventfullymanaged.events.nextSteps.registration", "Configure registration & tickets"),
|
|
444
444
|
description: I("eventfullymanaged.events.nextSteps.registrationDesc", "Open an event and define ticket types so people can register."),
|
|
445
|
-
icon: /* @__PURE__ */
|
|
445
|
+
icon: /* @__PURE__ */ u(pe, { className: "h-4 w-4" }),
|
|
446
446
|
onClick: () => L("/registration")
|
|
447
447
|
},
|
|
448
448
|
{
|
|
449
449
|
id: "plan-networking",
|
|
450
450
|
label: I("eventfullymanaged.events.nextSteps.networking", "Plan networking & sessions"),
|
|
451
451
|
description: I("eventfullymanaged.events.nextSteps.networkingDesc", "Set up attendee matchmaking and meeting schedules."),
|
|
452
|
-
icon: /* @__PURE__ */
|
|
452
|
+
icon: /* @__PURE__ */ u(O, { className: "h-4 w-4" }),
|
|
453
453
|
onClick: () => L("/networking")
|
|
454
454
|
},
|
|
455
455
|
{
|
|
456
456
|
id: "announce",
|
|
457
457
|
label: I("eventfullymanaged.events.nextSteps.announce", "Announce to attendees"),
|
|
458
458
|
description: I("eventfullymanaged.events.nextSteps.announceDesc", "Send announcements and run communication campaigns."),
|
|
459
|
-
icon: /* @__PURE__ */
|
|
459
|
+
icon: /* @__PURE__ */ u(T, { className: "h-4 w-4" }),
|
|
460
460
|
onClick: () => L("/communication")
|
|
461
461
|
}
|
|
462
462
|
]
|