@burdenoff/microfe-eventfullymanaged 2026.819.1 → 2026.827.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/api/eventApi.js +68 -66
- package/dist/eventfullymanaged/api/eventApi.js.map +1 -1
- package/dist/eventfullymanaged/lib/format.d.ts +9 -0
- package/dist/eventfullymanaged/lib/format.d.ts.map +1 -1
- package/dist/eventfullymanaged/lib/format.js +11 -3
- package/dist/eventfullymanaged/lib/format.js.map +1 -1
- package/dist/eventfullymanaged/pages/events/EventDetailPage.d.ts.map +1 -1
- package/dist/eventfullymanaged/pages/events/EventDetailPage.js +294 -269
- package/dist/eventfullymanaged/pages/events/EventDetailPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/events/SessionFormPage.d.ts.map +1 -1
- package/dist/eventfullymanaged/pages/events/SessionFormPage.js +91 -81
- package/dist/eventfullymanaged/pages/events/SessionFormPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/EventsPage.d.ts.map +1 -1
- package/dist/eventfullymanaged/pages/modules/EventsPage.js +231 -220
- package/dist/eventfullymanaged/pages/modules/EventsPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/NetworkingPage.d.ts.map +1 -1
- package/dist/eventfullymanaged/pages/modules/NetworkingPage.js +120 -102
- package/dist/eventfullymanaged/pages/modules/NetworkingPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/RegistrationPage.d.ts.map +1 -1
- package/dist/eventfullymanaged/pages/modules/RegistrationPage.js +128 -120
- package/dist/eventfullymanaged/pages/modules/RegistrationPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.d.ts.map +1 -1
- package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.js +68 -75
- package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/registration/RegisterAttendeePage.js +41 -41
- package/dist/eventfullymanaged/pages/registration/RegisterAttendeePage.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,16 +3,16 @@ import { notify as t } from "../../lib/toast.js";
|
|
|
3
3
|
import { useAttendeesQuery as n, useDeleteMeetingMutation as r, useEventsQuery as i, useGenerateNetworkingMatchesMutation as a, useMeetingsQuery as o, useNetworkingMatchesQuery as s, useNetworkingProfilesQuery as c } from "../../api/eventApi.js";
|
|
4
4
|
import { ActionMenu as l } from "../../components/ActionMenu.js";
|
|
5
5
|
import { Pagination as u, usePagination as d } from "../../components/Pagination.js";
|
|
6
|
-
import { describeError as f, mutationSucceeded as
|
|
7
|
-
import { useMemo as
|
|
6
|
+
import { describeError as f, mutationSucceeded as p } from "../../lib/mutationResult.js";
|
|
7
|
+
import { useMemo as m, useState as ee } from "react";
|
|
8
8
|
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
9
|
-
import { CalendarDays as _, CalendarPlus as v, Clock as
|
|
10
|
-
import { Badge as
|
|
11
|
-
import { ContextConversationWidget as
|
|
12
|
-
import { useRegisterPageConversationContext as
|
|
9
|
+
import { CalendarDays as _, CalendarPlus as v, Clock as te, Heart as ne, MapPin as y, Megaphone as b, MessagesSquare as x, Sparkles as re, UserPlus as ie, Users as S, Wand2 as C } from "lucide-react";
|
|
10
|
+
import { Badge as w, Button as T, EmphasisPanel as ae, GlassCard as E, GradientText as oe, IllustratedEmptyState as D, NextSteps as se, PagePurpose as ce, ScrollArea as O, Select as le, SelectContent as ue, SelectItem as de, SelectTrigger as fe, SelectValue as pe } from "@burdenoff/fe-libs/ui";
|
|
11
|
+
import { ContextConversationWidget as k } from "@burdenoff/fe-libs/shared";
|
|
12
|
+
import { useRegisterPageConversationContext as A } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
13
13
|
//#region src/eventfullymanaged/pages/modules/NetworkingPage.tsx
|
|
14
|
-
var
|
|
15
|
-
function
|
|
14
|
+
var j = 8, M = 200;
|
|
15
|
+
function N(e) {
|
|
16
16
|
let t = e.toLowerCase();
|
|
17
17
|
return [
|
|
18
18
|
"active",
|
|
@@ -36,15 +36,15 @@ function P(e) {
|
|
|
36
36
|
"scheduled"
|
|
37
37
|
].includes(t) ? "info" : "secondary";
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function P(e) {
|
|
40
40
|
let t = e.trim().split(/\s+/).filter(Boolean);
|
|
41
41
|
return t.length === 0 ? "?" : t.length === 1 ? t[0].slice(0, 2).toUpperCase() : (t[0][0] + t[t.length - 1][0]).toUpperCase();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function F(e, t) {
|
|
44
44
|
let n = e?.[t];
|
|
45
45
|
return typeof n == "string" && n.trim() ? n : null;
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function I(e, t) {
|
|
48
48
|
if (!e) return null;
|
|
49
49
|
let n = new Date(e);
|
|
50
50
|
if (Number.isNaN(n.getTime())) return null;
|
|
@@ -63,7 +63,7 @@ function L(e, t) {
|
|
|
63
63
|
}
|
|
64
64
|
return r;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function L({ items: e }) {
|
|
67
67
|
return e.length === 0 ? null : /* @__PURE__ */ h("div", {
|
|
68
68
|
className: "flex flex-wrap gap-1.5",
|
|
69
69
|
children: e.slice(0, 4).map((e) => /* @__PURE__ */ h("span", {
|
|
@@ -72,15 +72,15 @@ function R({ items: e }) {
|
|
|
72
72
|
}, e))
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function R({ label: e }) {
|
|
76
76
|
return /* @__PURE__ */ h("span", {
|
|
77
77
|
className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-accent-primary/10 text-sm font-semibold text-accent-primary ring-2 ring-bg-surface",
|
|
78
78
|
"aria-hidden": "true",
|
|
79
|
-
children:
|
|
79
|
+
children: P(e)
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
return /* @__PURE__ */ g(
|
|
82
|
+
function z({ icon: e, heading: t, loading: n, total: r, loadedCount: i, pagination: a, itemLabel: o, empty: s, children: c }) {
|
|
83
|
+
return /* @__PURE__ */ g(E, {
|
|
84
84
|
treatment: "plain",
|
|
85
85
|
className: "flex flex-col border-border-seam p-4",
|
|
86
86
|
children: [
|
|
@@ -101,7 +101,7 @@ function B({ icon: e, heading: t, loading: n, total: r, loadedCount: i, paginati
|
|
|
101
101
|
})
|
|
102
102
|
]
|
|
103
103
|
}),
|
|
104
|
-
/* @__PURE__ */ h(
|
|
104
|
+
/* @__PURE__ */ h(O, {
|
|
105
105
|
className: "mt-3 max-h-[30rem] pr-2",
|
|
106
106
|
children: /* @__PURE__ */ h("div", {
|
|
107
107
|
className: "space-y-3",
|
|
@@ -121,40 +121,40 @@ function B({ icon: e, heading: t, loading: n, total: r, loadedCount: i, paginati
|
|
|
121
121
|
]
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
|
-
var
|
|
124
|
+
var B = {
|
|
125
125
|
entityType: "EVENTFULLYMANAGED_NETWORKING_LOUNGE",
|
|
126
126
|
entityId: "general",
|
|
127
127
|
contextTitle: "Networking Lounge"
|
|
128
128
|
};
|
|
129
|
-
function
|
|
130
|
-
return
|
|
129
|
+
function me() {
|
|
130
|
+
return A(B), /* @__PURE__ */ h(k, { widgetKey: "networking-lounge" });
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
let { navigate: u } = e(),
|
|
132
|
+
function V() {
|
|
133
|
+
let { navigate: u } = e(), O = d({ pageSize: j }), k = d({ pageSize: j }), A = d({ pageSize: j }), P = c({
|
|
134
|
+
limit: O.limit,
|
|
135
|
+
offset: O.offset
|
|
136
|
+
}), B = s({
|
|
134
137
|
limit: k.limit,
|
|
135
138
|
offset: k.offset
|
|
136
|
-
}), V =
|
|
139
|
+
}), V = o({
|
|
137
140
|
limit: A.limit,
|
|
138
141
|
offset: A.offset
|
|
139
|
-
}), H =
|
|
140
|
-
limit:
|
|
141
|
-
offset: j.offset
|
|
142
|
-
}), { data: U } = n({
|
|
143
|
-
limit: N,
|
|
142
|
+
}), { data: H } = n({
|
|
143
|
+
limit: M,
|
|
144
144
|
offset: 0
|
|
145
|
-
}), { data:
|
|
146
|
-
limit:
|
|
145
|
+
}), { data: U } = c({
|
|
146
|
+
limit: M,
|
|
147
147
|
offset: 0
|
|
148
|
-
}), [
|
|
148
|
+
}), [he] = r(), { data: W } = i({
|
|
149
149
|
limit: 100,
|
|
150
150
|
offset: 0
|
|
151
|
-
}),
|
|
152
|
-
if (!
|
|
151
|
+
}), ge = m(() => W?.events?.items ?? [], [W]), [G, _e] = ee(""), [K, { loading: q }] = a(), ve = async () => {
|
|
152
|
+
if (!G) {
|
|
153
153
|
t.error("Pick an event first", "Choose which event to generate matches for.");
|
|
154
154
|
return;
|
|
155
155
|
}
|
|
156
156
|
try {
|
|
157
|
-
let e = await
|
|
157
|
+
let e = await K({ variables: { eventId: G } });
|
|
158
158
|
if (e.error) {
|
|
159
159
|
t.error("Could not generate matches", e.error.message);
|
|
160
160
|
return;
|
|
@@ -164,11 +164,11 @@ function H() {
|
|
|
164
164
|
t.info("No matches yet", "This event needs at least 5 opted-in networking profiles before matches can be generated.");
|
|
165
165
|
return;
|
|
166
166
|
}
|
|
167
|
-
t.success("Matches generated", `Found ${n} suggested connection${n === 1 ? "" : "s"}.`), await
|
|
167
|
+
t.success("Matches generated", `Found ${n} suggested connection${n === 1 ? "" : "s"}.`), await B.refetch();
|
|
168
168
|
} catch (e) {
|
|
169
169
|
t.error("Could not generate matches", f(e));
|
|
170
170
|
}
|
|
171
|
-
}, J =
|
|
171
|
+
}, J = m(() => H?.attendees?.items ?? [], [H]), Y = m(() => {
|
|
172
172
|
let e = /* @__PURE__ */ new Map();
|
|
173
173
|
for (let t of J) e.set(t.id, {
|
|
174
174
|
name: t.fullName,
|
|
@@ -176,18 +176,18 @@ function H() {
|
|
|
176
176
|
company: t.company
|
|
177
177
|
});
|
|
178
178
|
return e;
|
|
179
|
-
}, [J]), X =
|
|
179
|
+
}, [J]), X = m(() => {
|
|
180
180
|
let e = /* @__PURE__ */ new Map();
|
|
181
|
-
for (let t of
|
|
181
|
+
for (let t of U?.networkingProfiles?.items ?? []) {
|
|
182
182
|
let n = Y.get(t.attendeeId);
|
|
183
183
|
e.set(t.id, n?.name ?? t.role ?? `Profile ${t.id.slice(0, 6)}`);
|
|
184
184
|
}
|
|
185
185
|
return e;
|
|
186
|
-
}, [
|
|
186
|
+
}, [U, Y]), Z = m(() => P.data?.networkingProfiles.items ?? [], [P.data]), Q = m(() => B.data?.networkingMatches.items ?? [], [B.data]), $ = m(() => V.data?.meetings.items ?? [], [V.data]), ye = async (e, n) => {
|
|
187
187
|
try {
|
|
188
|
-
let r = await
|
|
189
|
-
if (!
|
|
190
|
-
t.success("Meeting removed", `${n} was deleted.`), await
|
|
188
|
+
let r = await he({ variables: { id: e } });
|
|
189
|
+
if (!p(r, r.data?.deleteMeeting === !0 ? e : void 0, "Could not delete meeting")) return;
|
|
190
|
+
t.success("Meeting removed", `${n} was deleted.`), await V.refetch();
|
|
191
191
|
} catch (e) {
|
|
192
192
|
t.error("Could not delete meeting", f(e));
|
|
193
193
|
}
|
|
@@ -195,59 +195,59 @@ function H() {
|
|
|
195
195
|
return /* @__PURE__ */ g("div", {
|
|
196
196
|
className: "space-y-6 p-6",
|
|
197
197
|
children: [
|
|
198
|
-
/* @__PURE__ */ h(
|
|
199
|
-
/* @__PURE__ */ g(
|
|
198
|
+
/* @__PURE__ */ h(ce, { children: "Networking turns attendees into connections. Profiles describe who each attendee is and what they are looking for, matches are the suggestions the engine makes between them, and meetings are the 1:1s they book. Opt an attendee in, review strong matches, and book meetings that mirror straight into the calendar." }),
|
|
199
|
+
/* @__PURE__ */ g(ae, {
|
|
200
200
|
className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
|
|
201
201
|
children: [/* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("h1", {
|
|
202
202
|
className: "text-2xl font-bold text-text-primary",
|
|
203
|
-
children: /* @__PURE__ */ h(
|
|
203
|
+
children: /* @__PURE__ */ h(oe, { children: "Networking" })
|
|
204
204
|
}), /* @__PURE__ */ h("p", {
|
|
205
205
|
className: "mt-1 text-sm text-text-secondary",
|
|
206
206
|
children: "Manage profiles, matches and meeting schedules from live backend data."
|
|
207
207
|
})] }), /* @__PURE__ */ g("div", {
|
|
208
208
|
className: "flex flex-wrap gap-2",
|
|
209
|
-
children: [/* @__PURE__ */ g(
|
|
209
|
+
children: [/* @__PURE__ */ g(T, {
|
|
210
210
|
type: "button",
|
|
211
211
|
variant: "outline",
|
|
212
212
|
onClick: () => u("/networking/profiles/create"),
|
|
213
|
-
children: [/* @__PURE__ */ h(
|
|
214
|
-
}), /* @__PURE__ */ g(
|
|
213
|
+
children: [/* @__PURE__ */ h(ie, { className: "h-4 w-4" }), "Opt in a profile"]
|
|
214
|
+
}), /* @__PURE__ */ g(T, {
|
|
215
215
|
type: "button",
|
|
216
216
|
onClick: () => u("/networking/meetings/create"),
|
|
217
217
|
children: [/* @__PURE__ */ h(v, { className: "h-4 w-4" }), "Book a meeting"]
|
|
218
218
|
})]
|
|
219
219
|
})]
|
|
220
220
|
}),
|
|
221
|
-
/* @__PURE__ */ g(
|
|
221
|
+
/* @__PURE__ */ g(E, {
|
|
222
222
|
treatment: "plain",
|
|
223
223
|
className: "flex flex-col gap-3 border-border-seam p-4 sm:flex-row sm:items-center",
|
|
224
224
|
children: [/* @__PURE__ */ g("div", {
|
|
225
225
|
className: "min-w-0 flex-1",
|
|
226
226
|
children: [/* @__PURE__ */ g("p", {
|
|
227
227
|
className: "flex items-center gap-1.5 text-sm font-semibold text-text-primary",
|
|
228
|
-
children: [/* @__PURE__ */ h(
|
|
228
|
+
children: [/* @__PURE__ */ h(C, { className: "h-4 w-4 text-accent-primary" }), "Matchmaking engine"]
|
|
229
229
|
}), /* @__PURE__ */ h("p", {
|
|
230
230
|
className: "mt-0.5 text-xs text-text-secondary",
|
|
231
231
|
children: "Scores every opted-in profile pair at an event by shared interests and complementary asks. Needs at least 5 opted-in profiles to run."
|
|
232
232
|
})]
|
|
233
233
|
}), /* @__PURE__ */ g("div", {
|
|
234
234
|
className: "flex shrink-0 flex-wrap items-center gap-2",
|
|
235
|
-
children: [/* @__PURE__ */ g(
|
|
236
|
-
value:
|
|
237
|
-
onValueChange:
|
|
238
|
-
children: [/* @__PURE__ */ h(
|
|
235
|
+
children: [/* @__PURE__ */ g(le, {
|
|
236
|
+
value: G,
|
|
237
|
+
onValueChange: _e,
|
|
238
|
+
children: [/* @__PURE__ */ h(fe, {
|
|
239
239
|
"aria-label": "Event",
|
|
240
240
|
className: "w-56",
|
|
241
|
-
children: /* @__PURE__ */ h(
|
|
242
|
-
}), /* @__PURE__ */ h(
|
|
241
|
+
children: /* @__PURE__ */ h(pe, { placeholder: "Select an event" })
|
|
242
|
+
}), /* @__PURE__ */ h(ue, { children: ge.map((e) => /* @__PURE__ */ h(de, {
|
|
243
243
|
value: e.id,
|
|
244
244
|
children: e.name
|
|
245
245
|
}, e.id)) })]
|
|
246
|
-
}), /* @__PURE__ */ g(
|
|
246
|
+
}), /* @__PURE__ */ g(T, {
|
|
247
247
|
type: "button",
|
|
248
248
|
onClick: ve,
|
|
249
|
-
disabled: q || !
|
|
250
|
-
children: [/* @__PURE__ */ h(
|
|
249
|
+
disabled: q || !G,
|
|
250
|
+
children: [/* @__PURE__ */ h(C, { className: "h-4 w-4" }), q ? "Generating…" : "Generate matches"]
|
|
251
251
|
})]
|
|
252
252
|
})]
|
|
253
253
|
}),
|
|
@@ -256,15 +256,15 @@ function H() {
|
|
|
256
256
|
children: [/* @__PURE__ */ g("div", {
|
|
257
257
|
className: "grid min-w-0 flex-1 grid-cols-1 gap-6 md:grid-cols-3",
|
|
258
258
|
children: [
|
|
259
|
-
/* @__PURE__ */ h(
|
|
260
|
-
icon: /* @__PURE__ */ h(
|
|
259
|
+
/* @__PURE__ */ h(z, {
|
|
260
|
+
icon: /* @__PURE__ */ h(S, { className: "h-4 w-4" }),
|
|
261
261
|
heading: "Profiles",
|
|
262
|
-
loading:
|
|
263
|
-
total:
|
|
262
|
+
loading: P.loading,
|
|
263
|
+
total: P.data?.networkingProfiles.total ?? 0,
|
|
264
264
|
loadedCount: Z.length,
|
|
265
|
-
pagination:
|
|
265
|
+
pagination: O,
|
|
266
266
|
itemLabel: "profiles",
|
|
267
|
-
empty: /* @__PURE__ */ h(
|
|
267
|
+
empty: /* @__PURE__ */ h(D, {
|
|
268
268
|
illustration: "empty-people",
|
|
269
269
|
title: "No profiles yet",
|
|
270
270
|
description: "Opt an attendee in to start matchmaking.",
|
|
@@ -277,7 +277,7 @@ function H() {
|
|
|
277
277
|
children: [
|
|
278
278
|
/* @__PURE__ */ g("div", {
|
|
279
279
|
className: "flex items-start gap-3",
|
|
280
|
-
children: [/* @__PURE__ */ h(
|
|
280
|
+
children: [/* @__PURE__ */ h(R, { label: n }), /* @__PURE__ */ h("div", {
|
|
281
281
|
className: "min-w-0 flex-1",
|
|
282
282
|
children: /* @__PURE__ */ g("div", {
|
|
283
283
|
className: "flex items-start justify-between gap-2",
|
|
@@ -290,18 +290,36 @@ function H() {
|
|
|
290
290
|
className: "truncate text-xs text-text-secondary",
|
|
291
291
|
children: r
|
|
292
292
|
}) : null]
|
|
293
|
-
}), /* @__PURE__ */
|
|
294
|
-
|
|
295
|
-
|
|
293
|
+
}), /* @__PURE__ */ g("div", {
|
|
294
|
+
className: "flex shrink-0 items-center gap-1",
|
|
295
|
+
children: [e.visibility ? /* @__PURE__ */ h(w, {
|
|
296
|
+
variant: N(e.visibility),
|
|
297
|
+
className: "capitalize",
|
|
298
|
+
children: e.visibility.toLowerCase()
|
|
299
|
+
}) : null, /* @__PURE__ */ h(l, {
|
|
300
|
+
ariaLabel: `${n} profile actions`,
|
|
301
|
+
onEdit: () => u(`/networking/profiles/${e.id}/edit`)
|
|
302
|
+
})]
|
|
296
303
|
})]
|
|
297
304
|
})
|
|
298
305
|
})]
|
|
299
306
|
}),
|
|
300
307
|
e.interests.length > 0 ? /* @__PURE__ */ h("div", {
|
|
301
308
|
className: "mt-2.5",
|
|
302
|
-
children: /* @__PURE__ */ h(
|
|
309
|
+
children: /* @__PURE__ */ h(L, { items: e.interests })
|
|
303
310
|
}) : null,
|
|
304
|
-
/* @__PURE__ */ g(
|
|
311
|
+
e.lookingFor.length > 0 ? /* @__PURE__ */ g("p", {
|
|
312
|
+
className: "mt-2 text-xs text-text-secondary",
|
|
313
|
+
children: [
|
|
314
|
+
/* @__PURE__ */ h("span", {
|
|
315
|
+
className: "font-medium text-text-muted",
|
|
316
|
+
children: "Looking for:"
|
|
317
|
+
}),
|
|
318
|
+
" ",
|
|
319
|
+
e.lookingFor.join(", ")
|
|
320
|
+
]
|
|
321
|
+
}) : null,
|
|
322
|
+
/* @__PURE__ */ g(T, {
|
|
305
323
|
type: "button",
|
|
306
324
|
variant: "outline",
|
|
307
325
|
size: "sm",
|
|
@@ -313,15 +331,15 @@ function H() {
|
|
|
313
331
|
}, e.id);
|
|
314
332
|
})
|
|
315
333
|
}),
|
|
316
|
-
/* @__PURE__ */ h(
|
|
317
|
-
icon: /* @__PURE__ */ h(
|
|
334
|
+
/* @__PURE__ */ h(z, {
|
|
335
|
+
icon: /* @__PURE__ */ h(re, { className: "h-4 w-4" }),
|
|
318
336
|
heading: "Suggested Matches",
|
|
319
|
-
loading:
|
|
320
|
-
total:
|
|
337
|
+
loading: B.loading,
|
|
338
|
+
total: B.data?.networkingMatches.total ?? 0,
|
|
321
339
|
loadedCount: Q.length,
|
|
322
|
-
pagination:
|
|
340
|
+
pagination: k,
|
|
323
341
|
itemLabel: "matches",
|
|
324
|
-
empty: /* @__PURE__ */ h(
|
|
342
|
+
empty: /* @__PURE__ */ h(D, {
|
|
325
343
|
illustration: "empty-data",
|
|
326
344
|
title: "No matches yet",
|
|
327
345
|
description: "Matches appear as the engine suggests connections.",
|
|
@@ -337,24 +355,24 @@ function H() {
|
|
|
337
355
|
children: [t && n ? /* @__PURE__ */ g("div", {
|
|
338
356
|
className: "flex min-w-0 items-center gap-2",
|
|
339
357
|
children: [
|
|
340
|
-
/* @__PURE__ */ h(
|
|
358
|
+
/* @__PURE__ */ h(R, { label: t }),
|
|
341
359
|
/* @__PURE__ */ h("span", {
|
|
342
360
|
className: "text-xs text-text-muted",
|
|
343
361
|
children: "×"
|
|
344
362
|
}),
|
|
345
|
-
/* @__PURE__ */ h(
|
|
363
|
+
/* @__PURE__ */ h(R, { label: n })
|
|
346
364
|
]
|
|
347
365
|
}) : /* @__PURE__ */ g("div", {
|
|
348
366
|
className: "flex min-w-0 items-center gap-2",
|
|
349
|
-
children: [/* @__PURE__ */ h(
|
|
367
|
+
children: [/* @__PURE__ */ h(R, { label: r }), /* @__PURE__ */ h("p", {
|
|
350
368
|
className: "truncate text-sm font-medium text-text-primary",
|
|
351
369
|
children: r
|
|
352
370
|
})]
|
|
353
|
-
}), /* @__PURE__ */ g(
|
|
371
|
+
}), /* @__PURE__ */ g(w, {
|
|
354
372
|
variant: "success",
|
|
355
373
|
className: "shrink-0 gap-1",
|
|
356
374
|
children: [
|
|
357
|
-
/* @__PURE__ */ h(
|
|
375
|
+
/* @__PURE__ */ h(ne, { className: "h-3 w-3" }),
|
|
358
376
|
e.score,
|
|
359
377
|
"%"
|
|
360
378
|
]
|
|
@@ -372,40 +390,40 @@ function H() {
|
|
|
372
390
|
className: "mt-2 line-clamp-2 text-xs text-text-secondary",
|
|
373
391
|
children: e.reason
|
|
374
392
|
}) : null,
|
|
375
|
-
e.status === "suggested" ? null : /* @__PURE__ */ h(
|
|
376
|
-
variant:
|
|
393
|
+
e.status === "suggested" ? null : /* @__PURE__ */ h(w, {
|
|
394
|
+
variant: N(e.status),
|
|
377
395
|
className: "mt-2 uppercase",
|
|
378
396
|
children: e.status
|
|
379
397
|
}),
|
|
380
|
-
/* @__PURE__ */ g(
|
|
398
|
+
/* @__PURE__ */ g(T, {
|
|
381
399
|
type: "button",
|
|
382
400
|
size: "sm",
|
|
383
401
|
className: "mt-3 w-full",
|
|
384
402
|
onClick: () => {
|
|
385
403
|
document.getElementById("networking-lounge")?.scrollIntoView({ behavior: "smooth" });
|
|
386
404
|
},
|
|
387
|
-
children: [/* @__PURE__ */ h(
|
|
405
|
+
children: [/* @__PURE__ */ h(x, { className: "h-4 w-4" }), "Connect & Chat"]
|
|
388
406
|
})
|
|
389
407
|
]
|
|
390
408
|
}, e.id);
|
|
391
409
|
})
|
|
392
410
|
}),
|
|
393
|
-
/* @__PURE__ */ h(
|
|
411
|
+
/* @__PURE__ */ h(z, {
|
|
394
412
|
icon: /* @__PURE__ */ h(_, { className: "h-4 w-4" }),
|
|
395
413
|
heading: "Meetings",
|
|
396
|
-
loading:
|
|
397
|
-
total:
|
|
414
|
+
loading: V.loading,
|
|
415
|
+
total: V.data?.meetings.total ?? 0,
|
|
398
416
|
loadedCount: $.length,
|
|
399
|
-
pagination:
|
|
417
|
+
pagination: A,
|
|
400
418
|
itemLabel: "meetings",
|
|
401
|
-
empty: /* @__PURE__ */ h(
|
|
419
|
+
empty: /* @__PURE__ */ h(D, {
|
|
402
420
|
illustration: "empty-data",
|
|
403
421
|
title: "No meetings yet",
|
|
404
422
|
description: "Booked 1:1s show up here with their time and place.",
|
|
405
423
|
className: "py-6"
|
|
406
424
|
}),
|
|
407
425
|
children: $.map((e) => {
|
|
408
|
-
let t = e.title ?? e.name ?? `Meeting ${e.id.slice(0, 6)}`, n =
|
|
426
|
+
let t = e.title ?? e.name ?? `Meeting ${e.id.slice(0, 6)}`, n = I(F(e.metadata, "startsAt"), F(e.metadata, "endsAt")), r = F(e.metadata, "location");
|
|
409
427
|
return /* @__PURE__ */ g("div", {
|
|
410
428
|
className: "rounded-card border-l-2 border-l-accent-primary bg-bg-surface p-3 pl-3.5 shadow-elevation-1",
|
|
411
429
|
children: [/* @__PURE__ */ g("div", {
|
|
@@ -414,7 +432,7 @@ function H() {
|
|
|
414
432
|
className: "min-w-0",
|
|
415
433
|
children: [n ? /* @__PURE__ */ g("p", {
|
|
416
434
|
className: "flex items-center gap-1.5 text-xs font-medium text-text-secondary",
|
|
417
|
-
children: [/* @__PURE__ */ h(
|
|
435
|
+
children: [/* @__PURE__ */ h(te, { className: "h-3.5 w-3.5" }), n]
|
|
418
436
|
}) : null, /* @__PURE__ */ h("p", {
|
|
419
437
|
className: "mt-1 truncate font-medium text-text-primary",
|
|
420
438
|
children: t
|
|
@@ -427,13 +445,13 @@ function H() {
|
|
|
427
445
|
})]
|
|
428
446
|
}), /* @__PURE__ */ g("div", {
|
|
429
447
|
className: "mt-2 flex flex-wrap items-center gap-2",
|
|
430
|
-
children: [e.status ? /* @__PURE__ */ h(
|
|
431
|
-
variant:
|
|
448
|
+
children: [e.status ? /* @__PURE__ */ h(w, {
|
|
449
|
+
variant: N(e.status),
|
|
432
450
|
className: "uppercase",
|
|
433
451
|
children: e.status
|
|
434
452
|
}) : null, r ? /* @__PURE__ */ g("span", {
|
|
435
453
|
className: "inline-flex items-center gap-1 text-xs text-text-secondary",
|
|
436
|
-
children: [/* @__PURE__ */ h(
|
|
454
|
+
children: [/* @__PURE__ */ h(y, { className: "h-3.5 w-3.5" }), r]
|
|
437
455
|
}) : null]
|
|
438
456
|
})]
|
|
439
457
|
}, e.id);
|
|
@@ -447,15 +465,15 @@ function H() {
|
|
|
447
465
|
className: "space-y-3",
|
|
448
466
|
children: [/* @__PURE__ */ g("div", { children: [/* @__PURE__ */ g("h2", {
|
|
449
467
|
className: "flex items-center gap-2 text-lg font-semibold text-text-primary",
|
|
450
|
-
children: [/* @__PURE__ */ h(
|
|
468
|
+
children: [/* @__PURE__ */ h(x, { className: "h-5 w-5 text-accent-primary" }), "Networking Lounge"]
|
|
451
469
|
}), /* @__PURE__ */ h("p", {
|
|
452
470
|
className: "mt-1 text-sm text-text-secondary",
|
|
453
471
|
children: "A shared space for attendees and organizers to connect, backed by the conversations service."
|
|
454
|
-
})] }), /* @__PURE__ */ h(
|
|
472
|
+
})] }), /* @__PURE__ */ h(me, {})]
|
|
455
473
|
})
|
|
456
474
|
})]
|
|
457
475
|
}),
|
|
458
|
-
/* @__PURE__ */ h(
|
|
476
|
+
/* @__PURE__ */ h(se, {
|
|
459
477
|
storageKey: "eventfullymanaged-networking",
|
|
460
478
|
title: "Make networking land",
|
|
461
479
|
steps: [
|
|
@@ -463,14 +481,14 @@ function H() {
|
|
|
463
481
|
id: "grow-attendees",
|
|
464
482
|
label: "Bring in more attendees",
|
|
465
483
|
description: "More registered attendees means richer matches and meetings.",
|
|
466
|
-
icon: /* @__PURE__ */ h(
|
|
484
|
+
icon: /* @__PURE__ */ h(S, { className: "h-4 w-4" }),
|
|
467
485
|
onClick: () => u("/registration")
|
|
468
486
|
},
|
|
469
487
|
{
|
|
470
488
|
id: "announce-networking",
|
|
471
489
|
label: "Announce networking sessions",
|
|
472
490
|
description: "Let attendees know how and when to connect.",
|
|
473
|
-
icon: /* @__PURE__ */ h(
|
|
491
|
+
icon: /* @__PURE__ */ h(b, { className: "h-4 w-4" }),
|
|
474
492
|
onClick: () => u("/communication")
|
|
475
493
|
},
|
|
476
494
|
{
|
|
@@ -486,6 +504,6 @@ function H() {
|
|
|
486
504
|
});
|
|
487
505
|
}
|
|
488
506
|
//#endregion
|
|
489
|
-
export {
|
|
507
|
+
export { V as default };
|
|
490
508
|
|
|
491
509
|
//# sourceMappingURL=NetworkingPage.js.map
|