@burdenoff/microfe-eventfullymanaged 2026.1108.1 → 2026.1110.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/dist/eventfullymanaged/api/eventApi.d.ts +16 -0
  2. package/dist/eventfullymanaged/api/eventApi.js +107 -97
  3. package/dist/eventfullymanaged/api/eventApi.js.map +1 -1
  4. package/dist/eventfullymanaged/lib/printBadge.d.ts +1 -0
  5. package/dist/eventfullymanaged/lib/printBadge.js +30 -0
  6. package/dist/eventfullymanaged/lib/printBadge.js.map +1 -0
  7. package/dist/eventfullymanaged/lib/useBadgePrint.d.ts +11 -0
  8. package/dist/eventfullymanaged/lib/useBadgePrint.js +38 -0
  9. package/dist/eventfullymanaged/lib/useBadgePrint.js.map +1 -0
  10. package/dist/eventfullymanaged/pages/events/EventDetailPage.js +252 -249
  11. package/dist/eventfullymanaged/pages/events/EventDetailPage.js.map +1 -1
  12. package/dist/eventfullymanaged/pages/modules/KioskPage.js +321 -285
  13. package/dist/eventfullymanaged/pages/modules/KioskPage.js.map +1 -1
  14. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.js +81 -78
  15. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.js.map +1 -1
  16. package/dist/eventfullymanaged/pages/speakers/SpeakerFormPage.js +87 -86
  17. package/dist/eventfullymanaged/pages/speakers/SpeakerFormPage.js.map +1 -1
  18. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.js +93 -91
  19. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.js.map +1 -1
  20. package/dist/eventfullymanaged/utils/breadcrumbRegistry.d.ts +2 -0
  21. package/dist/eventfullymanaged/utils/breadcrumbRegistry.js +13 -0
  22. package/dist/eventfullymanaged/utils/breadcrumbRegistry.js.map +1 -0
  23. package/package.json +1 -1
@@ -2,191 +2,193 @@ import { useVenueQuery as e } from "../../api/eventApi.js";
2
2
  import { EntityTagsField as t } from "../../components/EntityTagsField.js";
3
3
  import { ResolvedImage as n } from "../../components/ResolvedImage.js";
4
4
  import { useEventfullyManaged as r } from "../../context/EventfullyManagedContext.js";
5
- import { useParams as i } from "react-router";
6
- import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
- import { ArrowLeft as s, Building2 as c, Edit as l, MapPin as u, Megaphone as d, SquareStack as f, Users as p } from "lucide-react";
8
- import { Badge as m, Button as h, GlassCard as g, GradientText as _, IllustratedEmptyState as v, NextSteps as y, PagePurpose as b, Skeleton as x } from "@burdenoff/fe-libs/ui";
5
+ import { registerBreadcrumbName as i, unregisterBreadcrumbName as a } from "../../utils/breadcrumbRegistry.js";
6
+ import { useEffect as o } from "react";
7
+ import { useParams as s } from "react-router";
8
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
9
+ import { ArrowLeft as u, Building2 as d, Edit as f, MapPin as p, Megaphone as m, SquareStack as h, Users as g } from "lucide-react";
10
+ import { Badge as _, Button as v, GlassCard as y, GradientText as b, IllustratedEmptyState as x, NextSteps as S, PagePurpose as C, Skeleton as w } from "@burdenoff/fe-libs/ui";
9
11
  // src/eventfullymanaged/pages/venues/VenueDetailPage.tsx
10
- function S() {
11
- let { id: S = "" } = i(), { navigate: C } = r(), { data: w, loading: T } = e(S), E = w?.venue ?? null, D = w?.floorPlans?.items ?? [];
12
- if (T) return /* @__PURE__ */ o("div", {
12
+ function T() {
13
+ let { id: T = "" } = s(), { navigate: E } = r(), { data: D, loading: O } = e(T), k = D?.venue ?? null, A = D?.floorPlans?.items ?? [];
14
+ if (o(() => (i(T, k?.name), () => a(T)), [T, k?.name]), O) return /* @__PURE__ */ l("div", {
13
15
  className: "space-y-6 p-6",
14
16
  children: [
15
- /* @__PURE__ */ a(x, { className: "h-8 w-32" }),
16
- /* @__PURE__ */ a(x, { className: "h-8 w-64" }),
17
- /* @__PURE__ */ o("div", {
17
+ /* @__PURE__ */ c(w, { className: "h-8 w-32" }),
18
+ /* @__PURE__ */ c(w, { className: "h-8 w-64" }),
19
+ /* @__PURE__ */ l("div", {
18
20
  className: "grid grid-cols-1 gap-4 lg:grid-cols-3",
19
21
  children: [
20
- /* @__PURE__ */ a(x, { className: "h-24 rounded-card" }),
21
- /* @__PURE__ */ a(x, { className: "h-24 rounded-card" }),
22
- /* @__PURE__ */ a(x, { className: "h-24 rounded-card" })
22
+ /* @__PURE__ */ c(w, { className: "h-24 rounded-card" }),
23
+ /* @__PURE__ */ c(w, { className: "h-24 rounded-card" }),
24
+ /* @__PURE__ */ c(w, { className: "h-24 rounded-card" })
23
25
  ]
24
26
  }),
25
- /* @__PURE__ */ a(x, { className: "h-40 rounded-card" })
27
+ /* @__PURE__ */ c(w, { className: "h-40 rounded-card" })
26
28
  ]
27
29
  });
28
- let O = E?.status === "ACTIVE" ? "success" : E?.status === "MAINTENANCE" ? "warning" : "secondary";
29
- return E ? /* @__PURE__ */ o("div", {
30
+ let j = k?.status === "ACTIVE" ? "success" : k?.status === "MAINTENANCE" ? "warning" : "secondary";
31
+ return k ? /* @__PURE__ */ l("div", {
30
32
  className: "space-y-6 p-6",
31
33
  children: [
32
- /* @__PURE__ */ a(b, { children: "The full record for one venue. Review its location, capacity and status, see what amenities it offers, and manage the floor plans attendees will navigate. Come here to confirm a space is ready before you assign an event to it." }),
33
- /* @__PURE__ */ o("div", {
34
+ /* @__PURE__ */ c(C, { children: "The full record for one venue. Review its location, capacity and status, see what amenities it offers, and manage the floor plans attendees will navigate. Come here to confirm a space is ready before you assign an event to it." }),
35
+ /* @__PURE__ */ l("div", {
34
36
  className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
35
- children: [/* @__PURE__ */ o("div", {
37
+ children: [/* @__PURE__ */ l("div", {
36
38
  className: "space-y-3",
37
- children: [/* @__PURE__ */ o(h, {
39
+ children: [/* @__PURE__ */ l(v, {
38
40
  type: "button",
39
41
  variant: "ghost",
40
42
  size: "sm",
41
- onClick: () => C("/venues"),
42
- children: [/* @__PURE__ */ a(s, { className: "h-4 w-4" }), "Back to Venues"]
43
- }), /* @__PURE__ */ o("div", { children: [/* @__PURE__ */ a(_, {
43
+ onClick: () => E("/venues"),
44
+ children: [/* @__PURE__ */ c(u, { className: "h-4 w-4" }), "Back to Venues"]
45
+ }), /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c(b, {
44
46
  as: "h1",
45
47
  className: "text-2xl font-bold",
46
- children: E.name
47
- }), /* @__PURE__ */ a("p", {
48
+ children: k.name
49
+ }), /* @__PURE__ */ c("p", {
48
50
  className: "mt-1 text-sm text-text-secondary",
49
- children: E.description ?? "No description provided."
51
+ children: k.description ?? "No description provided."
50
52
  })] })]
51
- }), /* @__PURE__ */ o(h, {
53
+ }), /* @__PURE__ */ l(v, {
52
54
  type: "button",
53
- onClick: () => C(`/venues/${E.id}/edit`),
54
- children: [/* @__PURE__ */ a(l, { className: "h-4 w-4" }), "Edit Venue"]
55
+ onClick: () => E(`/venues/${k.id}/edit`),
56
+ children: [/* @__PURE__ */ c(f, { className: "h-4 w-4" }), "Edit Venue"]
55
57
  })]
56
58
  }),
57
- /* @__PURE__ */ o("div", {
59
+ /* @__PURE__ */ l("div", {
58
60
  className: "grid grid-cols-1 gap-4 lg:grid-cols-3",
59
61
  children: [
60
- /* @__PURE__ */ o(g, {
62
+ /* @__PURE__ */ l(y, {
61
63
  treatment: "metric",
62
64
  className: "p-4",
63
- children: [/* @__PURE__ */ o("div", {
65
+ children: [/* @__PURE__ */ l("div", {
64
66
  className: "mb-2 flex items-center gap-2 text-sm font-medium text-text-primary",
65
- children: [/* @__PURE__ */ a(u, { className: "h-4 w-4 text-action-primary-bg" }), "Location"]
66
- }), /* @__PURE__ */ a("p", {
67
+ children: [/* @__PURE__ */ c(p, { className: "h-4 w-4 text-action-primary-bg" }), "Location"]
68
+ }), /* @__PURE__ */ c("p", {
67
69
  className: "text-sm text-text-secondary",
68
70
  children: [
69
- E.addressLine1,
70
- E.city,
71
- E.state,
72
- E.country,
73
- E.postalCode
71
+ k.addressLine1,
72
+ k.city,
73
+ k.state,
74
+ k.country,
75
+ k.postalCode
74
76
  ].filter(Boolean).join(", ") || "Location not configured"
75
77
  })]
76
78
  }),
77
- /* @__PURE__ */ o(g, {
79
+ /* @__PURE__ */ l(y, {
78
80
  treatment: "glass",
79
81
  glow: !0,
80
82
  className: "p-4",
81
- children: [/* @__PURE__ */ o("div", {
83
+ children: [/* @__PURE__ */ l("div", {
82
84
  className: "mb-2 flex items-center gap-2 text-sm font-medium text-text-primary",
83
- children: [/* @__PURE__ */ a(p, { className: "h-4 w-4 text-action-primary-bg" }), "Capacity"]
84
- }), /* @__PURE__ */ o("p", {
85
+ children: [/* @__PURE__ */ c(g, { className: "h-4 w-4 text-action-primary-bg" }), "Capacity"]
86
+ }), /* @__PURE__ */ l("p", {
85
87
  className: "text-sm tabular-nums text-text-secondary",
86
- children: [(E.capacity ?? 0).toLocaleString(), " attendees"]
88
+ children: [(k.capacity ?? 0).toLocaleString(), " attendees"]
87
89
  })]
88
90
  }),
89
- /* @__PURE__ */ o(g, {
91
+ /* @__PURE__ */ l(y, {
90
92
  treatment: "metric",
91
93
  className: "p-4",
92
- children: [/* @__PURE__ */ o("div", {
94
+ children: [/* @__PURE__ */ l("div", {
93
95
  className: "mb-2 flex items-center gap-2 text-sm font-medium text-text-primary",
94
- children: [/* @__PURE__ */ a(c, { className: "h-4 w-4 text-action-primary-bg" }), "Status"]
95
- }), /* @__PURE__ */ a(m, {
96
- variant: O,
96
+ children: [/* @__PURE__ */ c(d, { className: "h-4 w-4 text-action-primary-bg" }), "Status"]
97
+ }), /* @__PURE__ */ c(_, {
98
+ variant: j,
97
99
  className: "uppercase",
98
- children: E.status
100
+ children: k.status
99
101
  })]
100
102
  })
101
103
  ]
102
104
  }),
103
- /* @__PURE__ */ o(g, {
105
+ /* @__PURE__ */ l(y, {
104
106
  treatment: "plain",
105
107
  className: "border-border-seam p-5",
106
- children: [/* @__PURE__ */ a("h2", {
108
+ children: [/* @__PURE__ */ c("h2", {
107
109
  className: "text-lg font-semibold text-text-primary",
108
110
  children: "Amenities"
109
- }), /* @__PURE__ */ a("div", {
111
+ }), /* @__PURE__ */ c("div", {
110
112
  className: "mt-3 flex flex-wrap gap-2",
111
- children: E.amenities.length > 0 ? E.amenities.map((e) => /* @__PURE__ */ a(m, {
113
+ children: k.amenities.length > 0 ? k.amenities.map((e) => /* @__PURE__ */ c(_, {
112
114
  variant: "secondary",
113
115
  children: e
114
- }, e)) : /* @__PURE__ */ a("p", {
116
+ }, e)) : /* @__PURE__ */ c("p", {
115
117
  className: "text-sm text-text-secondary",
116
118
  children: "No amenities configured."
117
119
  })
118
120
  })]
119
121
  }),
120
- /* @__PURE__ */ o(g, {
122
+ /* @__PURE__ */ l(y, {
121
123
  treatment: "plain",
122
124
  className: "border-border-seam p-5",
123
125
  children: [
124
- /* @__PURE__ */ a("h2", {
126
+ /* @__PURE__ */ c("h2", {
125
127
  className: "text-lg font-semibold text-text-primary",
126
128
  children: "Tags"
127
129
  }),
128
- /* @__PURE__ */ a("p", {
130
+ /* @__PURE__ */ c("p", {
129
131
  className: "mt-1 text-sm text-text-secondary",
130
132
  children: "Label this venue so you can group and filter it — for example by region, tier or amenity profile."
131
133
  }),
132
- /* @__PURE__ */ a(t, {
134
+ /* @__PURE__ */ c(t, {
133
135
  entityType: "EVENTFULLYMANAGED_VENUE",
134
- entityId: E.id,
136
+ entityId: k.id,
135
137
  label: "Venue tags",
136
138
  className: "mt-3"
137
139
  })
138
140
  ]
139
141
  }),
140
- /* @__PURE__ */ o(g, {
142
+ /* @__PURE__ */ l(y, {
141
143
  treatment: "plain",
142
144
  className: "border-border-seam p-5",
143
- children: [/* @__PURE__ */ o("div", {
145
+ children: [/* @__PURE__ */ l("div", {
144
146
  className: "flex items-center justify-between gap-3",
145
- children: [/* @__PURE__ */ a("h2", {
147
+ children: [/* @__PURE__ */ c("h2", {
146
148
  className: "text-lg font-semibold text-text-primary",
147
149
  children: "Floor Plans"
148
- }), /* @__PURE__ */ o(h, {
150
+ }), /* @__PURE__ */ l(v, {
149
151
  type: "button",
150
152
  variant: "outline",
151
153
  size: "sm",
152
- onClick: () => C(`/venues/${E.id}/floor-plans`),
153
- children: [/* @__PURE__ */ a(f, { className: "h-4 w-4" }), "Manage Floor Plans"]
154
+ onClick: () => E(`/venues/${k.id}/floor-plans`),
155
+ children: [/* @__PURE__ */ c(h, { className: "h-4 w-4" }), "Manage Floor Plans"]
154
156
  })]
155
- }), /* @__PURE__ */ a("div", {
157
+ }), /* @__PURE__ */ c("div", {
156
158
  className: "mt-4",
157
- children: D.length > 0 ? /* @__PURE__ */ a("ul", {
159
+ children: A.length > 0 ? /* @__PURE__ */ c("ul", {
158
160
  className: "grid grid-cols-1 gap-3 sm:grid-cols-2",
159
- children: D.map((e) => /* @__PURE__ */ a("li", { children: /* @__PURE__ */ o("button", {
161
+ children: A.map((e) => /* @__PURE__ */ c("li", { children: /* @__PURE__ */ l("button", {
160
162
  type: "button",
161
- onClick: () => C(`/venues/${E.id}/floor-plans`),
163
+ onClick: () => E(`/venues/${k.id}/floor-plans`),
162
164
  className: "flex w-full items-center gap-3 rounded-card border border-border-seam p-3 text-left transition-[box-shadow,border-color] duration-200 hover:border-border-strong hover:shadow-elevation-1 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-border-focus",
163
- children: [/* @__PURE__ */ a("span", {
165
+ children: [/* @__PURE__ */ c("span", {
164
166
  className: "flex h-14 w-14 shrink-0 items-center justify-center overflow-hidden rounded-md bg-bg-sunken",
165
- children: /* @__PURE__ */ a(n, {
167
+ children: /* @__PURE__ */ c(n, {
166
168
  value: e.imageUrl,
167
169
  alt: `${e.name} floor plan`,
168
170
  className: "h-full w-full object-cover",
169
- fallback: /* @__PURE__ */ a(f, { className: "h-5 w-5 text-text-muted" })
171
+ fallback: /* @__PURE__ */ c(h, { className: "h-5 w-5 text-text-muted" })
170
172
  })
171
- }), /* @__PURE__ */ o("span", {
173
+ }), /* @__PURE__ */ l("span", {
172
174
  className: "min-w-0",
173
- children: [/* @__PURE__ */ a("span", {
175
+ children: [/* @__PURE__ */ c("span", {
174
176
  className: "block truncate font-medium text-text-primary",
175
177
  children: e.name
176
- }), /* @__PURE__ */ a("span", {
178
+ }), /* @__PURE__ */ c("span", {
177
179
  className: "block text-sm text-text-secondary",
178
180
  children: e.imageUrl ? "Map attached" : "No image configured"
179
181
  })]
180
182
  })]
181
183
  }) }, e.id))
182
- }) : /* @__PURE__ */ a(v, {
184
+ }) : /* @__PURE__ */ c(x, {
183
185
  illustration: "empty-files",
184
186
  title: "No floor plans have been added yet.",
185
187
  className: "py-8"
186
188
  })
187
189
  })]
188
190
  }),
189
- /* @__PURE__ */ a(y, {
191
+ /* @__PURE__ */ c(S, {
190
192
  storageKey: "eventfullymanaged-venue-detail",
191
193
  title: "Get this venue ready to host",
192
194
  steps: [
@@ -194,38 +196,38 @@ function S() {
194
196
  id: "edit-venue",
195
197
  label: "Edit venue details",
196
198
  description: "Update capacity, address, status and amenities.",
197
- icon: /* @__PURE__ */ a(l, { className: "h-4 w-4" }),
198
- onClick: () => C(`/venues/${E.id}/edit`)
199
+ icon: /* @__PURE__ */ c(f, { className: "h-4 w-4" }),
200
+ onClick: () => E(`/venues/${k.id}/edit`)
199
201
  },
200
202
  {
201
203
  id: "floor-plans",
202
204
  label: "Add floor plans",
203
205
  description: "Map the layout so attendees and staff can navigate.",
204
- icon: /* @__PURE__ */ a(f, { className: "h-4 w-4" }),
205
- onClick: () => C(`/venues/${E.id}/floor-plans`)
206
+ icon: /* @__PURE__ */ c(h, { className: "h-4 w-4" }),
207
+ onClick: () => E(`/venues/${k.id}/floor-plans`)
206
208
  },
207
209
  {
208
210
  id: "resources",
209
211
  label: "Review resource readiness",
210
212
  description: "Check capacity, amenities and plans at a glance.",
211
- icon: /* @__PURE__ */ a(d, { className: "h-4 w-4" }),
212
- onClick: () => C(`/venues/${E.id}/resources`)
213
+ icon: /* @__PURE__ */ c(m, { className: "h-4 w-4" }),
214
+ onClick: () => E(`/venues/${k.id}/resources`)
213
215
  }
214
216
  ]
215
217
  })
216
218
  ]
217
- }) : /* @__PURE__ */ o("div", {
219
+ }) : /* @__PURE__ */ l("div", {
218
220
  className: "space-y-4 p-6",
219
- children: [/* @__PURE__ */ o(h, {
221
+ children: [/* @__PURE__ */ l(v, {
220
222
  type: "button",
221
223
  variant: "ghost",
222
224
  size: "sm",
223
- onClick: () => C("/venues"),
224
- children: [/* @__PURE__ */ a(s, { className: "h-4 w-4" }), "Back to Venues"]
225
- }), /* @__PURE__ */ a(g, {
225
+ onClick: () => E("/venues"),
226
+ children: [/* @__PURE__ */ c(u, { className: "h-4 w-4" }), "Back to Venues"]
227
+ }), /* @__PURE__ */ c(y, {
226
228
  treatment: "plain",
227
229
  className: "border-border-seam",
228
- children: /* @__PURE__ */ a(v, {
230
+ children: /* @__PURE__ */ c(x, {
229
231
  illustration: "empty-search",
230
232
  title: "Venue not found.",
231
233
  description: "This venue may have been removed or is outside your current scope."
@@ -233,6 +235,6 @@ function S() {
233
235
  })]
234
236
  });
235
237
  }
236
- export { S as default };
238
+ export { T as default };
237
239
 
238
240
  //# sourceMappingURL=VenueDetailPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VenueDetailPage.js","names":["Badge","Badge$1","VenueDetailPage","useParams","useEventfullyManaged","useVenueQuery","id","venue","data","floorPlans","loading","Skeleton","statusVariant","PagePurpose","Button","navigate","ArrowLeft","GradientText","Edit","GlassCard","MapPin","Users","Building2","amenity","EntityTagsField","SquareStack","ResolvedImage","plan","IllustratedEmptyState","NextSteps","Megaphone"],"sources":["../../../../src/eventfullymanaged/pages/venues/VenueDetailPage.tsx"],"sourcesContent":["import { ArrowLeft, Building2, Edit, MapPin, Megaphone, SquareStack, Users } from 'lucide-react';\nimport {\n Badge,\n Button,\n GlassCard,\n GradientText,\n IllustratedEmptyState,\n NextSteps,\n PagePurpose,\n Skeleton,\n} from '@burdenoff/fe-libs/ui';\nimport { useParams } from 'react-router';\n\nimport { useVenueQuery } from '../../api/eventApi';\nimport { EntityTagsField } from '../../components/EntityTagsField';\nimport { ResolvedImage } from '../../components/ResolvedImage';\nimport { useEventfullyManaged } from '../../context/EventfullyManagedContext';\n\ntype VenueRecord = {\n id: string;\n name: string;\n description?: string | null;\n addressLine1?: string | null;\n city?: string | null;\n state?: string | null;\n country?: string | null;\n postalCode?: string | null;\n capacity?: number | null;\n status: string;\n amenities: string[];\n pricing?: Record<string, unknown> | null;\n openingHours?: Record<string, unknown> | null;\n metadata?: Record<string, unknown> | null;\n};\n\ntype FloorPlanRecord = {\n id: string;\n name: string;\n imageUrl?: string | null;\n dimensions?: Record<string, unknown> | null;\n};\n\nexport default function VenueDetailPage() {\n const { id = '' } = useParams<{ id: string }>();\n const { navigate } = useEventfullyManaged();\n const { data, loading } = useVenueQuery(id);\n\n const venue = (data?.venue ?? null) as VenueRecord | null;\n const floorPlans = (data?.floorPlans?.items ?? []) as FloorPlanRecord[];\n\n if (loading) {\n return (\n <div className=\"space-y-6 p-6\">\n <Skeleton className=\"h-8 w-32\" />\n <Skeleton className=\"h-8 w-64\" />\n <div className=\"grid grid-cols-1 gap-4 lg:grid-cols-3\">\n <Skeleton className=\"h-24 rounded-card\" />\n <Skeleton className=\"h-24 rounded-card\" />\n <Skeleton className=\"h-24 rounded-card\" />\n </div>\n <Skeleton className=\"h-40 rounded-card\" />\n </div>\n );\n }\n\n const statusVariant: 'success' | 'secondary' | 'warning' =\n venue?.status === 'ACTIVE' ? 'success' : venue?.status === 'MAINTENANCE' ? 'warning' : 'secondary';\n\n if (!venue) {\n return (\n <div className=\"space-y-4 p-6\">\n <Button type=\"button\" variant=\"ghost\" size=\"sm\" onClick={() => navigate('/venues')}>\n <ArrowLeft className=\"h-4 w-4\" />\n Back to Venues\n </Button>\n <GlassCard treatment=\"plain\" className=\"border-border-seam\">\n <IllustratedEmptyState\n illustration=\"empty-search\"\n title=\"Venue not found.\"\n description=\"This venue may have been removed or is outside your current scope.\"\n />\n </GlassCard>\n </div>\n );\n }\n\n return (\n <div className=\"space-y-6 p-6\">\n <PagePurpose>\n The full record for one venue. Review its location, capacity and status, see what amenities it offers, and\n manage the floor plans attendees will navigate. Come here to confirm a space is ready before you assign an event\n to it.\n </PagePurpose>\n\n <div className=\"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between\">\n <div className=\"space-y-3\">\n <Button type=\"button\" variant=\"ghost\" size=\"sm\" onClick={() => navigate('/venues')}>\n <ArrowLeft className=\"h-4 w-4\" />\n Back to Venues\n </Button>\n <div>\n <GradientText as=\"h1\" className=\"text-2xl font-bold\">\n {venue.name}\n </GradientText>\n <p className=\"mt-1 text-sm text-text-secondary\">{venue.description ?? 'No description provided.'}</p>\n </div>\n </div>\n <Button type=\"button\" onClick={() => navigate(`/venues/${venue.id}/edit`)}>\n <Edit className=\"h-4 w-4\" />\n Edit Venue\n </Button>\n </div>\n\n <div className=\"grid grid-cols-1 gap-4 lg:grid-cols-3\">\n <GlassCard treatment=\"metric\" className=\"p-4\">\n <div className=\"mb-2 flex items-center gap-2 text-sm font-medium text-text-primary\">\n <MapPin className=\"h-4 w-4 text-action-primary-bg\" />\n Location\n </div>\n <p className=\"text-sm text-text-secondary\">\n {[venue.addressLine1, venue.city, venue.state, venue.country, venue.postalCode]\n .filter(Boolean)\n .join(', ') || 'Location not configured'}\n </p>\n </GlassCard>\n <GlassCard treatment=\"glass\" glow className=\"p-4\">\n <div className=\"mb-2 flex items-center gap-2 text-sm font-medium text-text-primary\">\n <Users className=\"h-4 w-4 text-action-primary-bg\" />\n Capacity\n </div>\n <p className=\"text-sm tabular-nums text-text-secondary\">{(venue.capacity ?? 0).toLocaleString()} attendees</p>\n </GlassCard>\n <GlassCard treatment=\"metric\" className=\"p-4\">\n <div className=\"mb-2 flex items-center gap-2 text-sm font-medium text-text-primary\">\n <Building2 className=\"h-4 w-4 text-action-primary-bg\" />\n Status\n </div>\n <Badge variant={statusVariant} className=\"uppercase\">\n {venue.status}\n </Badge>\n </GlassCard>\n </div>\n\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-5\">\n <h2 className=\"text-lg font-semibold text-text-primary\">Amenities</h2>\n <div className=\"mt-3 flex flex-wrap gap-2\">\n {venue.amenities.length > 0 ? (\n venue.amenities.map((amenity) => (\n <Badge key={amenity} variant=\"secondary\">\n {amenity}\n </Badge>\n ))\n ) : (\n <p className=\"text-sm text-text-secondary\">No amenities configured.</p>\n )}\n </div>\n </GlassCard>\n\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-5\">\n <h2 className=\"text-lg font-semibold text-text-primary\">Tags</h2>\n <p className=\"mt-1 text-sm text-text-secondary\">\n Label this venue so you can group and filter it — for example by region, tier or amenity profile.\n </p>\n <EntityTagsField entityType=\"EVENTFULLYMANAGED_VENUE\" entityId={venue.id} label=\"Venue tags\" className=\"mt-3\" />\n </GlassCard>\n\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-5\">\n <div className=\"flex items-center justify-between gap-3\">\n <h2 className=\"text-lg font-semibold text-text-primary\">Floor Plans</h2>\n <Button type=\"button\" variant=\"outline\" size=\"sm\" onClick={() => navigate(`/venues/${venue.id}/floor-plans`)}>\n <SquareStack className=\"h-4 w-4\" />\n Manage Floor Plans\n </Button>\n </div>\n <div className=\"mt-4\">\n {floorPlans.length > 0 ? (\n <ul className=\"grid grid-cols-1 gap-3 sm:grid-cols-2\">\n {floorPlans.map((plan) => (\n <li key={plan.id}>\n <button\n type=\"button\"\n onClick={() => navigate(`/venues/${venue.id}/floor-plans`)}\n className=\"flex w-full items-center gap-3 rounded-card border border-border-seam p-3 text-left transition-[box-shadow,border-color] duration-200 hover:border-border-strong hover:shadow-elevation-1 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-border-focus\"\n >\n <span className=\"flex h-14 w-14 shrink-0 items-center justify-center overflow-hidden rounded-md bg-bg-sunken\">\n <ResolvedImage\n value={plan.imageUrl}\n alt={`${plan.name} floor plan`}\n className=\"h-full w-full object-cover\"\n fallback={<SquareStack className=\"h-5 w-5 text-text-muted\" />}\n />\n </span>\n <span className=\"min-w-0\">\n <span className=\"block truncate font-medium text-text-primary\">{plan.name}</span>\n <span className=\"block text-sm text-text-secondary\">\n {plan.imageUrl ? 'Map attached' : 'No image configured'}\n </span>\n </span>\n </button>\n </li>\n ))}\n </ul>\n ) : (\n <IllustratedEmptyState\n illustration=\"empty-files\"\n title=\"No floor plans have been added yet.\"\n className=\"py-8\"\n />\n )}\n </div>\n </GlassCard>\n\n <NextSteps\n storageKey=\"eventfullymanaged-venue-detail\"\n title=\"Get this venue ready to host\"\n steps={[\n {\n id: 'edit-venue',\n label: 'Edit venue details',\n description: 'Update capacity, address, status and amenities.',\n icon: <Edit className=\"h-4 w-4\" />,\n onClick: () => navigate(`/venues/${venue.id}/edit`),\n },\n {\n id: 'floor-plans',\n label: 'Add floor plans',\n description: 'Map the layout so attendees and staff can navigate.',\n icon: <SquareStack className=\"h-4 w-4\" />,\n onClick: () => navigate(`/venues/${venue.id}/floor-plans`),\n },\n {\n id: 'resources',\n label: 'Review resource readiness',\n description: 'Check capacity, amenities and plans at a glance.',\n icon: <Megaphone className=\"h-4 w-4\" />,\n onClick: () => navigate(`/venues/${venue.id}/resources`),\n },\n ]}\n />\n </div>\n );\n}\n"],"mappings":";;;;;;;;;AA0CA,SAAwBE,IAAkB;CACxC,IAAM,EAAE,QAAK,OAAOC,EAA0B,GACxC,EAAE,gBAAaC,EAAqB,GACpC,EAAE,SAAM,eAAYC,EAAcC,CAAE,GAEpCC,IAASC,GAAM,SAAS,MACxBC,IAAcD,GAAM,YAAY,SAAS,CAAC;CAEhD,IAAIE,GACF,OACE,kBAAC,OAAD;EAAK,WAAU;EAAf,UAAA;GACE,kBAACC,GAAD,EAAU,WAAU,WAAY,CAAA;GAChC,kBAACA,GAAD,EAAU,WAAU,WAAY,CAAA;GAChC,kBAAC,OAAD;IAAK,WAAU;IAAf,UAAA;KACE,kBAACA,GAAD,EAAU,WAAU,oBAAqB,CAAA;KACzC,kBAACA,GAAD,EAAU,WAAU,o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kBAACX,GAAD,EAAM,WAAU,UAAW,CAAA;MACjC,eAAeH,EAAS,WAAWR,EAAM,GAAG,MAAM;KACpD;KACA;MACE,IAAI;MACJ,OAAO;MACP,aAAa;MACb,MAAM,kBAACkB,GAAD,EAAa,WAAU,UAAW,CAAA;MACxC,eAAeV,EAAS,WAAWR,EAAM,GAAG,aAAa;KAC3D;KACA;MACE,IAAI;MACJ,OAAO;MACP,aAAa;MACb,MAAM,kBAACuB,GAAD,EAAW,WAAU,UAAW,CAAA;MACtC,eAAef,EAAS,WAAWR,EAAM,GAAG,WAAW;KACzD;IACF;GACD,CAAA;EACE;C,KAzKH,kBAAC,OAAD;EAAK,WAAU;EAAf,UAAA,CACE,kBAACO,GAAD;GAAQ,MAAK;GAAS,SAAQ;GAAQ,MAAK;GAAK,eAAeC,EAAS,SAAS;GAAjF,UAAA,CACE,kBAACC,GAAD,EAAW,WAAU,UAAW,CAAA,GAAC,gBAE3B;EACR,CAAA,GAAA,kBAACG,GAAD;GAAW,WAAU;GAAQ,WAAU;GACrC,UAAA,kBAACS,GAAD;IACE,cAAa;IACb,OAAM;IACN,aAAY;GACb,CAAA;EACQ,CAAA,CACR;;AA+JX"}
1
+ {"version":3,"file":"VenueDetailPage.js","names":["Badge","Badge$1","VenueDetailPage","useParams","useEventfullyManaged","useVenueQuery","id","venue","data","floorPlans","useEffect","registerBreadcrumbName","unregisterBreadcrumbName","loading","Skeleton","statusVariant","PagePurpose","Button","navigate","ArrowLeft","GradientText","Edit","GlassCard","MapPin","Users","Building2","amenity","EntityTagsField","SquareStack","ResolvedImage","plan","IllustratedEmptyState","NextSteps","Megaphone"],"sources":["../../../../src/eventfullymanaged/pages/venues/VenueDetailPage.tsx"],"sourcesContent":["import { ArrowLeft, Building2, Edit, MapPin, Megaphone, SquareStack, Users } from 'lucide-react';\nimport {\n Badge,\n Button,\n GlassCard,\n GradientText,\n IllustratedEmptyState,\n NextSteps,\n PagePurpose,\n Skeleton,\n} from '@burdenoff/fe-libs/ui';\nimport { useEffect } from 'react';\nimport { useParams } from 'react-router';\n\nimport { useVenueQuery } from '../../api/eventApi';\nimport { EntityTagsField } from '../../components/EntityTagsField';\nimport { ResolvedImage } from '../../components/ResolvedImage';\nimport { useEventfullyManaged } from '../../context/EventfullyManagedContext';\nimport { registerBreadcrumbName, unregisterBreadcrumbName } from '../../utils/breadcrumbRegistry';\n\ntype VenueRecord = {\n id: string;\n name: string;\n description?: string | null;\n addressLine1?: string | null;\n city?: string | null;\n state?: string | null;\n country?: string | null;\n postalCode?: string | null;\n capacity?: number | null;\n status: string;\n amenities: string[];\n pricing?: Record<string, unknown> | null;\n openingHours?: Record<string, unknown> | null;\n metadata?: Record<string, unknown> | null;\n};\n\ntype FloorPlanRecord = {\n id: string;\n name: string;\n imageUrl?: string | null;\n dimensions?: Record<string, unknown> | null;\n};\n\nexport default function VenueDetailPage() {\n const { id = '' } = useParams<{ id: string }>();\n const { navigate } = useEventfullyManaged();\n const { data, loading } = useVenueQuery(id);\n\n const venue = (data?.venue ?? null) as VenueRecord | null;\n const floorPlans = (data?.floorPlans?.items ?? []) as FloorPlanRecord[];\n\n useEffect(() => {\n registerBreadcrumbName(id, venue?.name);\n return () => unregisterBreadcrumbName(id);\n }, [id, venue?.name]);\n\n if (loading) {\n return (\n <div className=\"space-y-6 p-6\">\n <Skeleton className=\"h-8 w-32\" />\n <Skeleton className=\"h-8 w-64\" />\n <div className=\"grid grid-cols-1 gap-4 lg:grid-cols-3\">\n <Skeleton className=\"h-24 rounded-card\" />\n <Skeleton className=\"h-24 rounded-card\" />\n <Skeleton className=\"h-24 rounded-card\" />\n </div>\n <Skeleton className=\"h-40 rounded-card\" />\n </div>\n );\n }\n\n const statusVariant: 'success' | 'secondary' | 'warning' =\n venue?.status === 'ACTIVE' ? 'success' : venue?.status === 'MAINTENANCE' ? 'warning' : 'secondary';\n\n if (!venue) {\n return (\n <div className=\"space-y-4 p-6\">\n <Button type=\"button\" variant=\"ghost\" size=\"sm\" onClick={() => navigate('/venues')}>\n <ArrowLeft className=\"h-4 w-4\" />\n Back to Venues\n </Button>\n <GlassCard treatment=\"plain\" className=\"border-border-seam\">\n <IllustratedEmptyState\n illustration=\"empty-search\"\n title=\"Venue not found.\"\n description=\"This venue may have been removed or is outside your current scope.\"\n />\n </GlassCard>\n </div>\n );\n }\n\n return (\n <div className=\"space-y-6 p-6\">\n <PagePurpose>\n The full record for one venue. Review its location, capacity and status, see what amenities it offers, and\n manage the floor plans attendees will navigate. Come here to confirm a space is ready before you assign an event\n to it.\n </PagePurpose>\n\n <div className=\"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between\">\n <div className=\"space-y-3\">\n <Button type=\"button\" variant=\"ghost\" size=\"sm\" onClick={() => navigate('/venues')}>\n <ArrowLeft className=\"h-4 w-4\" />\n Back to Venues\n </Button>\n <div>\n <GradientText as=\"h1\" className=\"text-2xl font-bold\">\n {venue.name}\n </GradientText>\n <p className=\"mt-1 text-sm text-text-secondary\">{venue.description ?? 'No description provided.'}</p>\n </div>\n </div>\n <Button type=\"button\" onClick={() => navigate(`/venues/${venue.id}/edit`)}>\n <Edit className=\"h-4 w-4\" />\n Edit Venue\n </Button>\n </div>\n\n <div className=\"grid grid-cols-1 gap-4 lg:grid-cols-3\">\n <GlassCard treatment=\"metric\" className=\"p-4\">\n <div className=\"mb-2 flex items-center gap-2 text-sm font-medium text-text-primary\">\n <MapPin className=\"h-4 w-4 text-action-primary-bg\" />\n Location\n </div>\n <p className=\"text-sm text-text-secondary\">\n {[venue.addressLine1, venue.city, venue.state, venue.country, venue.postalCode]\n .filter(Boolean)\n .join(', ') || 'Location not configured'}\n </p>\n </GlassCard>\n <GlassCard treatment=\"glass\" glow className=\"p-4\">\n <div className=\"mb-2 flex items-center gap-2 text-sm font-medium text-text-primary\">\n <Users className=\"h-4 w-4 text-action-primary-bg\" />\n Capacity\n </div>\n <p className=\"text-sm tabular-nums text-text-secondary\">{(venue.capacity ?? 0).toLocaleString()} attendees</p>\n </GlassCard>\n <GlassCard treatment=\"metric\" className=\"p-4\">\n <div className=\"mb-2 flex items-center gap-2 text-sm font-medium text-text-primary\">\n <Building2 className=\"h-4 w-4 text-action-primary-bg\" />\n Status\n </div>\n <Badge variant={statusVariant} className=\"uppercase\">\n {venue.status}\n </Badge>\n </GlassCard>\n </div>\n\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-5\">\n <h2 className=\"text-lg font-semibold text-text-primary\">Amenities</h2>\n <div className=\"mt-3 flex flex-wrap gap-2\">\n {venue.amenities.length > 0 ? (\n venue.amenities.map((amenity) => (\n <Badge key={amenity} variant=\"secondary\">\n {amenity}\n </Badge>\n ))\n ) : (\n <p className=\"text-sm text-text-secondary\">No amenities configured.</p>\n )}\n </div>\n </GlassCard>\n\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-5\">\n <h2 className=\"text-lg font-semibold text-text-primary\">Tags</h2>\n <p className=\"mt-1 text-sm text-text-secondary\">\n Label this venue so you can group and filter it — for example by region, tier or amenity profile.\n </p>\n <EntityTagsField entityType=\"EVENTFULLYMANAGED_VENUE\" entityId={venue.id} label=\"Venue tags\" className=\"mt-3\" />\n </GlassCard>\n\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-5\">\n <div className=\"flex items-center justify-between gap-3\">\n <h2 className=\"text-lg font-semibold text-text-primary\">Floor Plans</h2>\n <Button type=\"button\" variant=\"outline\" size=\"sm\" onClick={() => navigate(`/venues/${venue.id}/floor-plans`)}>\n <SquareStack className=\"h-4 w-4\" />\n Manage Floor Plans\n </Button>\n </div>\n <div className=\"mt-4\">\n {floorPlans.length > 0 ? (\n <ul className=\"grid grid-cols-1 gap-3 sm:grid-cols-2\">\n {floorPlans.map((plan) => (\n <li key={plan.id}>\n <button\n type=\"button\"\n onClick={() => navigate(`/venues/${venue.id}/floor-plans`)}\n className=\"flex w-full items-center gap-3 rounded-card border border-border-seam p-3 text-left transition-[box-shadow,border-color] duration-200 hover:border-border-strong hover:shadow-elevation-1 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-border-focus\"\n >\n <span className=\"flex h-14 w-14 shrink-0 items-center justify-center overflow-hidden rounded-md bg-bg-sunken\">\n <ResolvedImage\n value={plan.imageUrl}\n alt={`${plan.name} floor plan`}\n className=\"h-full w-full object-cover\"\n fallback={<SquareStack className=\"h-5 w-5 text-text-muted\" />}\n />\n </span>\n <span className=\"min-w-0\">\n <span className=\"block truncate font-medium text-text-primary\">{plan.name}</span>\n <span className=\"block text-sm text-text-secondary\">\n {plan.imageUrl ? 'Map attached' : 'No image configured'}\n </span>\n </span>\n </button>\n </li>\n ))}\n </ul>\n ) : (\n <IllustratedEmptyState\n illustration=\"empty-files\"\n title=\"No floor plans have been added yet.\"\n className=\"py-8\"\n />\n )}\n </div>\n </GlassCard>\n\n <NextSteps\n storageKey=\"eventfullymanaged-venue-detail\"\n title=\"Get this venue ready to host\"\n steps={[\n {\n id: 'edit-venue',\n label: 'Edit venue details',\n description: 'Update capacity, address, status and amenities.',\n icon: <Edit className=\"h-4 w-4\" />,\n onClick: () => navigate(`/venues/${venue.id}/edit`),\n },\n {\n id: 'floor-plans',\n label: 'Add floor plans',\n description: 'Map the layout so attendees and staff can navigate.',\n icon: <SquareStack className=\"h-4 w-4\" />,\n onClick: () => navigate(`/venues/${venue.id}/floor-plans`),\n },\n {\n id: 'resources',\n label: 'Review resource readiness',\n description: 'Check capacity, amenities and plans at a glance.',\n icon: <Megaphone className=\"h-4 w-4\" />,\n onClick: () => navigate(`/venues/${venue.id}/resources`),\n },\n ]}\n />\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;AA4CA,SAAwBE,IAAkB;CACxC,IAAM,EAAE,QAAK,OAAOC,EAA0B,GACxC,EAAE,gBAAaC,EAAqB,GACpC,EAAE,SAAM,eAAYC,EAAcC,CAAE,GAEpCC,IAASC,GAAM,SAAS,MACxBC,IAAcD,GAAM,YAAY,SAAS,CAAC;CAOhD,IALAE,SACEC,EAAuBL,GAAIC,GAAO,IAAI,SACzBK,EAAy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AAU;SACb,UAAAA,EAAK,WAAW,iBAAiB;QAC9B,CAAA,CACF;OACA,CAAA,CAAA;MACN,CAAA,EAAA,GArBKA,EAAK,EAqBV,CACL;KACC,CAAA,IAEJ,kBAACC,GAAD;MACE,cAAa;MACb,OAAM;MACN,WAAU;KACX,CAAA;IAEA,CAAA,CACI;;GAEX,kBAACC,GAAD;IACE,YAAW;IACX,OAAM;IACN,OAAO;KACL;MACE,IAAI;MACJ,OAAO;MACP,aAAa;MACb,MAAM,kBAACX,GAAD,EAAM,WAAU,UAAW,CAAA;MACjC,eAAeH,EAAS,WAAWX,EAAM,GAAG,MAAM;KACpD;KACA;MACE,IAAI;MACJ,OAAO;MACP,aAAa;MACb,MAAM,kBAACqB,GAAD,EAAa,WAAU,UAAW,CAAA;MACxC,eAAeV,EAAS,WAAWX,EAAM,GAAG,aAAa;KAC3D;KACA;MACE,IAAI;MACJ,OAAO;MACP,aAAa;MACb,MAAM,kBAAC0B,GAAD,EAAW,WAAU,UAAW,CAAA;MACtC,eAAef,EAAS,WAAWX,EAAM,GAAG,WAAW;KACzD;IACF;GACD,CAAA;EACE;C,KAzKH,kBAAC,OAAD;EAAK,WAAU;EAAf,UAAA,CACE,kBAACU,GAAD;GAAQ,MAAK;GAAS,SAAQ;GAAQ,MAAK;GAAK,eAAeC,EAAS,SAAS;GAAjF,UAAA,CACE,kBAACC,GAAD,EAAW,WAAU,UAAW,CAAA,GAAC,gBAE3B;EACR,CAAA,GAAA,kBAACG,GAAD;GAAW,WAAU;GAAQ,WAAU;GACrC,UAAA,kBAACS,GAAD;IACE,cAAa;IACb,OAAM;IACN,aAAY;GACb,CAAA;EACQ,CAAA,CACR;;AA+JX"}
@@ -0,0 +1,2 @@
1
+ export declare function registerBreadcrumbName(id: string | undefined, name: string | undefined | null): void;
2
+ export declare function unregisterBreadcrumbName(id: string | undefined): void;
@@ -0,0 +1,13 @@
1
+ // src/eventfullymanaged/utils/breadcrumbRegistry.ts
2
+ function e() {
3
+ if (typeof window < "u") return window.__breadcrumbRegistry;
4
+ }
5
+ function t(t, n) {
6
+ t && n?.trim() && e()?.register(t, n.trim());
7
+ }
8
+ function n(t) {
9
+ t && e()?.unregister(t);
10
+ }
11
+ export { t as registerBreadcrumbName, n as unregisterBreadcrumbName };
12
+
13
+ //# sourceMappingURL=breadcrumbRegistry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breadcrumbRegistry.js","names":["getBreadcrumbRegistry","registerBreadcrumbName","id","name","unregisterBreadcrumbName"],"sources":["../../../src/eventfullymanaged/utils/breadcrumbRegistry.ts"],"sourcesContent":["type BreadcrumbRegistry = {\n register: (id: string, name: string) => void;\n unregister: (id: string) => void;\n};\n\nfunction getBreadcrumbRegistry(): BreadcrumbRegistry | undefined {\n if (typeof window === 'undefined') return undefined;\n return (window as unknown as { __breadcrumbRegistry?: BreadcrumbRegistry }).__breadcrumbRegistry;\n}\n\nexport function registerBreadcrumbName(id: string | undefined, name: string | undefined | null) {\n if (!id || !name?.trim()) return;\n getBreadcrumbRegistry()?.register(id, name.trim());\n}\n\nexport function unregisterBreadcrumbName(id: string | undefined) {\n if (!id) return;\n getBreadcrumbRegistry()?.unregister(id);\n}\n"],"mappings":";AAKA,SAASA,IAAwD;CAC/D,IAAI,OAAO,SAAW,KACtB,OAAQ,OAAoE;AAC9E;AAEA,SAAgBC,EAAuB,GAAwB,GAAiC;CAC9F,AAAKC,KAAOC,GAAM,KAAK,KACvBH,EAAsB,CAAC,EAAE,SAASE,GAAIC,EAAK,KAAK,CAAC;AACnD;AAEA,SAAgBC,EAAyB,GAAwB;CAC/D,AAAKF,KACLF,EAAsB,CAAC,EAAE,WAAWE,CAAE;AACxC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-eventfullymanaged",
3
- "version": "2026.1108.1",
3
+ "version": "2026.1110.1",
4
4
  "description": "EventfullyManaged - End-to-end event management platform",
5
5
  "type": "module",
6
6
  "files": [