@burdenoff/microfe-eventfullymanaged 2026.1102.5 → 2026.1108.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/dev/main.d.ts +0 -2
- package/dist/eventfullymanaged/EventfullyManagedRoot.d.ts +1 -3
- package/dist/eventfullymanaged/EventfullyManagedRoot.js +6 -6
- package/dist/eventfullymanaged/EventfullyManagedRoot.js.map +1 -1
- package/dist/eventfullymanaged/EventfullyManagedRoutes.d.ts +1 -2
- package/dist/eventfullymanaged/api/eventApi.d.ts +0 -2
- package/dist/eventfullymanaged/components/ActionMenu.d.ts +1 -3
- package/dist/eventfullymanaged/components/AttendanceForecast.d.ts +1 -3
- package/dist/eventfullymanaged/components/EntityFormShell.d.ts +1 -3
- package/dist/eventfullymanaged/components/EntityTagsField.d.ts +1 -2
- package/dist/eventfullymanaged/components/EventCharts.d.ts +4 -5
- package/dist/eventfullymanaged/components/EventDraftAssistant.d.ts +1 -3
- package/dist/eventfullymanaged/components/FloorPlanZoneEditor.d.ts +1 -3
- package/dist/eventfullymanaged/components/ImageUploadField.d.ts +1 -2
- package/dist/eventfullymanaged/components/PageLayout.d.ts +1 -3
- package/dist/eventfullymanaged/components/Pagination.d.ts +1 -2
- package/dist/eventfullymanaged/components/ResolvedImage.d.ts +1 -3
- package/dist/eventfullymanaged/components/SafeLink.d.ts +1 -3
- package/dist/eventfullymanaged/components/floorPlanEditor/ZoneCanvas.d.ts +1 -3
- package/dist/eventfullymanaged/components/floorPlanEditor/ZonePanels.d.ts +3 -5
- package/dist/eventfullymanaged/components/floorPlanEditor/useZoneEditorState.d.ts +0 -2
- package/dist/eventfullymanaged/components/index.d.ts +0 -1
- package/dist/eventfullymanaged/context/EventfullyManagedContext.d.ts +1 -3
- package/dist/eventfullymanaged/hooks/index.d.ts +0 -1
- package/dist/eventfullymanaged/hooks/useEventDelete.d.ts +0 -1
- package/dist/eventfullymanaged/hooks/useEvmSubscription.d.ts +0 -1
- package/dist/eventfullymanaged/hooks/useResolvedImageUrl.d.ts +0 -2
- package/dist/eventfullymanaged/hooks/useVirtualCall.d.ts +0 -1
- package/dist/eventfullymanaged/index.d.ts +0 -1
- package/dist/eventfullymanaged/lib/eventDraft.d.ts +0 -1
- package/dist/eventfullymanaged/lib/fileRef.d.ts +0 -1
- package/dist/eventfullymanaged/lib/floorPlanZones.d.ts +0 -1
- package/dist/eventfullymanaged/lib/format.d.ts +0 -1
- package/dist/eventfullymanaged/lib/mutationResult.d.ts +0 -2
- package/dist/eventfullymanaged/lib/offlineCheckInQueue.d.ts +0 -1
- package/dist/eventfullymanaged/lib/toast.d.ts +0 -2
- package/dist/eventfullymanaged/lib/useOfflineCheckInSync.d.ts +0 -2
- package/dist/eventfullymanaged/pages/dashboard/DashboardPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/events/EventDetailPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/events/EventFormPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/events/SessionFormPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/events/TicketTypeFormPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/events/VirtualSessionPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/events/VirtualSessionPage.js +3 -3
- package/dist/eventfullymanaged/pages/events/VirtualSessionPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/events/eventFormUtils.d.ts +0 -1
- package/dist/eventfullymanaged/pages/exhibitors/ExhibitorFormPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/exhibitors/ExhibitorsPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/leads/LeadCaptureDialog.d.ts +1 -2
- package/dist/eventfullymanaged/pages/modules/AnalyticsPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/modules/AttendeeRecommendations.d.ts +1 -2
- package/dist/eventfullymanaged/pages/modules/CommunicationPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/modules/EntityListSection.d.ts +1 -2
- package/dist/eventfullymanaged/pages/modules/EventsPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/modules/IntegrationsPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/modules/KioskPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/modules/NetworkingPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/modules/OperationsHubPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/modules/RegistrationPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/modules/RegistrationPage.js +1 -1
- package/dist/eventfullymanaged/pages/modules/RegistrationPage.js.map +1 -1
- package/dist/eventfullymanaged/pages/modules/RoadmapPanel.d.ts +1 -2
- package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/modules/WorkflowsPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/networking/MeetingFormPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/networking/NetworkingProfileFormPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/registration/AttendeeFormPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/registration/RegisterAttendeePage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/speakers/SpeakerFormPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/speakers/SpeakersPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/venues/FloorPlansPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/venues/VenueDetailPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/venues/VenueFormPage.d.ts +1 -2
- package/dist/eventfullymanaged/pages/venues/VenueListPage.d.ts +1 -2
- package/dist/eventfullymanaged/store/eventfullyManagedStore.d.ts +0 -1
- package/dist/eventfullymanaged/types/index.d.ts +0 -2
- package/dist/eventfullymanaged/utils/cn.d.ts +0 -1
- package/dist/eventfullymanaged/utils/constants.d.ts +0 -1
- package/dist/eventfullymanaged/utils/navigation.d.ts +0 -1
- package/dist/eventfullymanaged/utils/shellBridge.d.ts +0 -1
- package/dist/generated/global-operations.d.ts +0 -1
- package/dist/generated/global-types.d.ts +0 -1
- package/dist/generated/wspace-operations.d.ts +0 -1
- package/dist/generated/wspace-types.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/node_modules/@apollo/client/version.js +1 -1
- package/dist/node_modules/@apollo/client/version.js.map +1 -1
- package/dist/node_modules/d3-array/dist/d3-array.js +204 -0
- package/dist/node_modules/d3-array/dist/d3-array.js.map +1 -0
- package/dist/node_modules/d3-color/dist/d3-color.js +388 -0
- package/dist/node_modules/d3-color/dist/d3-color.js.map +1 -0
- package/dist/node_modules/d3-format/dist/d3-format.js +186 -0
- package/dist/node_modules/d3-format/dist/d3-format.js.map +1 -0
- package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js +185 -0
- package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js.map +1 -0
- package/dist/node_modules/d3-path/{src/path.js → dist/d3-path.js} +33 -9
- package/dist/node_modules/d3-path/dist/d3-path.js.map +1 -0
- package/dist/node_modules/d3-scale/dist/d3-scale.js +622 -0
- package/dist/node_modules/d3-scale/dist/d3-scale.js.map +1 -0
- package/dist/node_modules/d3-shape/dist/d3-shape.js +901 -0
- package/dist/node_modules/d3-shape/dist/d3-shape.js.map +1 -0
- package/dist/node_modules/d3-time/dist/d3-time.js +241 -0
- package/dist/node_modules/d3-time/dist/d3-time.js.map +1 -0
- package/dist/node_modules/d3-time-format/{src/locale.js → dist/d3-time-format.js} +229 -173
- package/dist/node_modules/d3-time-format/dist/d3-time-format.js.map +1 -0
- package/dist/node_modules/fast-equals/dist/es/index.js +107 -76
- package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -1
- package/dist/node_modules/graphql/error/GraphQLError.js +5 -2
- package/dist/node_modules/graphql/error/GraphQLError.js.map +1 -1
- package/dist/node_modules/graphql/language/ast.js.map +1 -1
- package/dist/node_modules/graphql/language/lexer.js +14 -8
- package/dist/node_modules/graphql/language/lexer.js.map +1 -1
- package/dist/node_modules/graphql/language/location.js +30 -11
- package/dist/node_modules/graphql/language/location.js.map +1 -1
- package/dist/node_modules/graphql/language/parser.js +9 -7
- package/dist/node_modules/graphql/language/parser.js.map +1 -1
- package/dist/node_modules/graphql/language/printLocation.js.map +1 -1
- package/dist/node_modules/graphql/language/source.js.map +1 -1
- package/dist/node_modules/graphql-tag/lib/index.js +2 -1
- package/dist/node_modules/graphql-tag/lib/index.js.map +1 -1
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +1 -1
- package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Curve.js +22 -32
- package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -1
- package/dist/node_modules/recharts/es6/shape/Symbols.js +1 -8
- package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -1
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +7 -13
- package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsapAction.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsapScheduler.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/immediateProvider.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/intervalProvider.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +1 -1
- package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js +51 -0
- package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/node_modules/tslib/tslib.es6.js +4 -51
- package/dist/node_modules/tslib/tslib.es6.js.map +1 -1
- package/dist/node_modules/victory-vendor/es/d3-scale.js +27 -43
- package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -1
- package/dist/services/createSandboxAssistantTransport.d.ts +0 -1
- package/dist/shared/hooks/index.d.ts +0 -1
- package/dist/shared/hooks/useTr.d.ts +0 -1
- package/dist/stories/ActionMenu.stories.d.ts +0 -2
- package/dist/stories/Pagination.stories.d.ts +0 -2
- package/dist/stories/SafeLink.stories.d.ts +0 -2
- package/dist/test/happydom.d.ts +1 -0
- package/dist/utils/pageContext.d.ts +0 -1
- package/dist/utils/pageContext.js +1 -1
- package/package.json +69 -58
- package/dist/dev/main.d.ts.map +0 -1
- package/dist/eventfullymanaged/EventfullyManagedRoot.d.ts.map +0 -1
- package/dist/eventfullymanaged/EventfullyManagedRoutes.d.ts.map +0 -1
- package/dist/eventfullymanaged/api/eventApi.d.ts.map +0 -1
- package/dist/eventfullymanaged/components/ActionMenu.d.ts.map +0 -1
- package/dist/eventfullymanaged/components/AttendanceForecast.d.ts.map +0 -1
- package/dist/eventfullymanaged/components/EntityFormShell.d.ts.map +0 -1
- package/dist/eventfullymanaged/components/EntityTagsField.d.ts.map +0 -1
- package/dist/eventfullymanaged/components/EventCharts.d.ts.map +0 -1
- package/dist/eventfullymanaged/components/EventDraftAssistant.d.ts.map +0 -1
- package/dist/eventfullymanaged/components/FloorPlanZoneEditor.d.ts.map +0 -1
- package/dist/eventfullymanaged/components/ImageUploadField.d.ts.map +0 -1
- package/dist/eventfullymanaged/components/PageLayout.d.ts.map +0 -1
- package/dist/eventfullymanaged/components/Pagination.d.ts.map +0 -1
- package/dist/eventfullymanaged/components/ResolvedImage.d.ts.map +0 -1
- package/dist/eventfullymanaged/components/SafeLink.d.ts.map +0 -1
- package/dist/eventfullymanaged/components/floorPlanEditor/ZoneCanvas.d.ts.map +0 -1
- package/dist/eventfullymanaged/components/floorPlanEditor/ZonePanels.d.ts.map +0 -1
- package/dist/eventfullymanaged/components/floorPlanEditor/useZoneEditorState.d.ts.map +0 -1
- package/dist/eventfullymanaged/components/index.d.ts.map +0 -1
- package/dist/eventfullymanaged/context/EventfullyManagedContext.d.ts.map +0 -1
- package/dist/eventfullymanaged/hooks/index.d.ts.map +0 -1
- package/dist/eventfullymanaged/hooks/useEventDelete.d.ts.map +0 -1
- package/dist/eventfullymanaged/hooks/useEvmSubscription.d.ts.map +0 -1
- package/dist/eventfullymanaged/hooks/useResolvedImageUrl.d.ts.map +0 -1
- package/dist/eventfullymanaged/hooks/useVirtualCall.d.ts.map +0 -1
- package/dist/eventfullymanaged/index.d.ts.map +0 -1
- package/dist/eventfullymanaged/lib/eventDraft.d.ts.map +0 -1
- package/dist/eventfullymanaged/lib/fileRef.d.ts.map +0 -1
- package/dist/eventfullymanaged/lib/floorPlanZones.d.ts.map +0 -1
- package/dist/eventfullymanaged/lib/format.d.ts.map +0 -1
- package/dist/eventfullymanaged/lib/mutationResult.d.ts.map +0 -1
- package/dist/eventfullymanaged/lib/offlineCheckInQueue.d.ts.map +0 -1
- package/dist/eventfullymanaged/lib/toast.d.ts.map +0 -1
- package/dist/eventfullymanaged/lib/useOfflineCheckInSync.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/dashboard/DashboardPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/events/EventDetailPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/events/EventFormPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/events/SessionFormPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/events/TicketTypeFormPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/events/VirtualSessionPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/events/eventFormUtils.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/exhibitors/ExhibitorFormPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/exhibitors/ExhibitorsPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/leads/LeadCaptureDialog.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/modules/AnalyticsPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/modules/AttendeeRecommendations.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/modules/CommunicationPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/modules/EntityListSection.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/modules/EventsPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/modules/IntegrationsPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/modules/KioskPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/modules/NetworkingPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/modules/OperationsHubPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/modules/RegistrationPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/modules/RoadmapPanel.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/modules/WorkflowsPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/networking/MeetingFormPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/networking/NetworkingProfileFormPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/registration/AttendeeFormPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/registration/RegisterAttendeePage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/speakers/SpeakerFormPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/speakers/SpeakersPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/venues/FloorPlansPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/venues/VenueDetailPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/venues/VenueFormPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/pages/venues/VenueListPage.d.ts.map +0 -1
- package/dist/eventfullymanaged/store/eventfullyManagedStore.d.ts.map +0 -1
- package/dist/eventfullymanaged/types/index.d.ts.map +0 -1
- package/dist/eventfullymanaged/utils/cn.d.ts.map +0 -1
- package/dist/eventfullymanaged/utils/constants.d.ts.map +0 -1
- package/dist/eventfullymanaged/utils/navigation.d.ts.map +0 -1
- package/dist/eventfullymanaged/utils/shellBridge.d.ts.map +0 -1
- package/dist/generated/global-operations.d.ts.map +0 -1
- package/dist/generated/global-types.d.ts.map +0 -1
- package/dist/generated/wspace-operations.d.ts.map +0 -1
- package/dist/generated/wspace-types.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/node_modules/d3-array/src/ascending.js +0 -7
- package/dist/node_modules/d3-array/src/ascending.js.map +0 -1
- package/dist/node_modules/d3-array/src/bisect.js +0 -9
- package/dist/node_modules/d3-array/src/bisect.js.map +0 -1
- package/dist/node_modules/d3-array/src/bisector.js +0 -42
- package/dist/node_modules/d3-array/src/bisector.js.map +0 -1
- package/dist/node_modules/d3-array/src/descending.js +0 -7
- package/dist/node_modules/d3-array/src/descending.js.map +0 -1
- package/dist/node_modules/d3-array/src/max.js +0 -13
- package/dist/node_modules/d3-array/src/max.js.map +0 -1
- package/dist/node_modules/d3-array/src/min.js +0 -13
- package/dist/node_modules/d3-array/src/min.js.map +0 -1
- package/dist/node_modules/d3-array/src/number.js +0 -14
- package/dist/node_modules/d3-array/src/number.js.map +0 -1
- package/dist/node_modules/d3-array/src/quantile.js +0 -24
- package/dist/node_modules/d3-array/src/quantile.js.map +0 -1
- package/dist/node_modules/d3-array/src/quickselect.js +0 -25
- package/dist/node_modules/d3-array/src/quickselect.js.map +0 -1
- package/dist/node_modules/d3-array/src/range.js +0 -9
- package/dist/node_modules/d3-array/src/range.js.map +0 -1
- package/dist/node_modules/d3-array/src/sort.js +0 -16
- package/dist/node_modules/d3-array/src/sort.js.map +0 -1
- package/dist/node_modules/d3-array/src/ticks.js +0 -34
- package/dist/node_modules/d3-array/src/ticks.js.map +0 -1
- package/dist/node_modules/d3-color/src/color.js +0 -290
- package/dist/node_modules/d3-color/src/color.js.map +0 -1
- package/dist/node_modules/d3-color/src/define.js +0 -12
- package/dist/node_modules/d3-color/src/define.js.map +0 -1
- package/dist/node_modules/d3-format/src/defaultLocale.js +0 -14
- package/dist/node_modules/d3-format/src/defaultLocale.js.map +0 -1
- package/dist/node_modules/d3-format/src/exponent.js +0 -8
- package/dist/node_modules/d3-format/src/exponent.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatDecimal.js +0 -12
- package/dist/node_modules/d3-format/src/formatDecimal.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatGroup.js +0 -10
- package/dist/node_modules/d3-format/src/formatGroup.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatNumerals.js +0 -11
- package/dist/node_modules/d3-format/src/formatNumerals.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +0 -12
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatRounded.js +0 -11
- package/dist/node_modules/d3-format/src/formatRounded.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatSpecifier.js +0 -28
- package/dist/node_modules/d3-format/src/formatSpecifier.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatTrim.js +0 -18
- package/dist/node_modules/d3-format/src/formatTrim.js.map +0 -1
- package/dist/node_modules/d3-format/src/formatTypes.js +0 -22
- package/dist/node_modules/d3-format/src/formatTypes.js.map +0 -1
- package/dist/node_modules/d3-format/src/identity.js +0 -7
- package/dist/node_modules/d3-format/src/identity.js.map +0 -1
- package/dist/node_modules/d3-format/src/locale.js +0 -83
- package/dist/node_modules/d3-format/src/locale.js.map +0 -1
- package/dist/node_modules/d3-format/src/precisionFixed.js +0 -8
- package/dist/node_modules/d3-format/src/precisionFixed.js.map +0 -1
- package/dist/node_modules/d3-format/src/precisionPrefix.js +0 -8
- package/dist/node_modules/d3-format/src/precisionPrefix.js.map +0 -1
- package/dist/node_modules/d3-format/src/precisionRound.js +0 -8
- package/dist/node_modules/d3-format/src/precisionRound.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/array.js +0 -13
- package/dist/node_modules/d3-interpolate/src/array.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/basis.js +0 -15
- package/dist/node_modules/d3-interpolate/src/basis.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +0 -12
- package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/color.js +0 -24
- package/dist/node_modules/d3-interpolate/src/color.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/constant.js +0 -5
- package/dist/node_modules/d3-interpolate/src/constant.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/date.js +0 -10
- package/dist/node_modules/d3-interpolate/src/date.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/number.js +0 -9
- package/dist/node_modules/d3-interpolate/src/number.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/numberArray.js +0 -15
- package/dist/node_modules/d3-interpolate/src/numberArray.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/object.js +0 -13
- package/dist/node_modules/d3-interpolate/src/object.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/piecewise.js +0 -13
- package/dist/node_modules/d3-interpolate/src/piecewise.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/rgb.js +0 -18
- package/dist/node_modules/d3-interpolate/src/rgb.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/round.js +0 -9
- package/dist/node_modules/d3-interpolate/src/round.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/string.js +0 -27
- package/dist/node_modules/d3-interpolate/src/string.js.map +0 -1
- package/dist/node_modules/d3-interpolate/src/value.js +0 -17
- package/dist/node_modules/d3-interpolate/src/value.js.map +0 -1
- package/dist/node_modules/d3-path/src/path.js.map +0 -1
- package/dist/node_modules/d3-scale/src/band.js +0 -51
- package/dist/node_modules/d3-scale/src/band.js.map +0 -1
- package/dist/node_modules/d3-scale/src/constant.js +0 -9
- package/dist/node_modules/d3-scale/src/constant.js.map +0 -1
- package/dist/node_modules/d3-scale/src/continuous.js +0 -72
- package/dist/node_modules/d3-scale/src/continuous.js.map +0 -1
- package/dist/node_modules/d3-scale/src/diverging.js +0 -81
- package/dist/node_modules/d3-scale/src/diverging.js.map +0 -1
- package/dist/node_modules/d3-scale/src/identity.js +0 -19
- package/dist/node_modules/d3-scale/src/identity.js.map +0 -1
- package/dist/node_modules/d3-scale/src/init.js +0 -24
- package/dist/node_modules/d3-scale/src/init.js.map +0 -1
- package/dist/node_modules/d3-scale/src/linear.js +0 -35
- package/dist/node_modules/d3-scale/src/linear.js.map +0 -1
- package/dist/node_modules/d3-scale/src/log.js +0 -76
- package/dist/node_modules/d3-scale/src/log.js.map +0 -1
- package/dist/node_modules/d3-scale/src/nice.js +0 -9
- package/dist/node_modules/d3-scale/src/nice.js.map +0 -1
- package/dist/node_modules/d3-scale/src/number.js +0 -7
- package/dist/node_modules/d3-scale/src/number.js.map +0 -1
- package/dist/node_modules/d3-scale/src/ordinal.js +0 -30
- package/dist/node_modules/d3-scale/src/ordinal.js.map +0 -1
- package/dist/node_modules/d3-scale/src/pow.js +0 -36
- package/dist/node_modules/d3-scale/src/pow.js.map +0 -1
- package/dist/node_modules/d3-scale/src/quantile.js +0 -36
- package/dist/node_modules/d3-scale/src/quantile.js.map +0 -1
- package/dist/node_modules/d3-scale/src/quantize.js +0 -32
- package/dist/node_modules/d3-scale/src/quantize.js.map +0 -1
- package/dist/node_modules/d3-scale/src/radial.js +0 -38
- package/dist/node_modules/d3-scale/src/radial.js.map +0 -1
- package/dist/node_modules/d3-scale/src/sequential.js +0 -66
- package/dist/node_modules/d3-scale/src/sequential.js.map +0 -1
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +0 -29
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +0 -1
- package/dist/node_modules/d3-scale/src/symlog.js +0 -29
- package/dist/node_modules/d3-scale/src/symlog.js.map +0 -1
- package/dist/node_modules/d3-scale/src/threshold.js +0 -24
- package/dist/node_modules/d3-scale/src/threshold.js.map +0 -1
- package/dist/node_modules/d3-scale/src/tickFormat.js +0 -28
- package/dist/node_modules/d3-scale/src/tickFormat.js.map +0 -1
- package/dist/node_modules/d3-scale/src/time.js +0 -46
- package/dist/node_modules/d3-scale/src/time.js.map +0 -1
- package/dist/node_modules/d3-scale/src/utcTime.js +0 -18
- package/dist/node_modules/d3-scale/src/utcTime.js.map +0 -1
- package/dist/node_modules/d3-shape/src/area.js +0 -56
- package/dist/node_modules/d3-shape/src/area.js.map +0 -1
- package/dist/node_modules/d3-shape/src/array.js +0 -7
- package/dist/node_modules/d3-shape/src/array.js.map +0 -1
- package/dist/node_modules/d3-shape/src/constant.js +0 -9
- package/dist/node_modules/d3-shape/src/constant.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/basis.js +0 -44
- package/dist/node_modules/d3-shape/src/curve/basis.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +0 -45
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +0 -43
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/bump.js +0 -37
- package/dist/node_modules/d3-shape/src/curve/bump.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/linear.js +0 -33
- package/dist/node_modules/d3-shape/src/curve/linear.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +0 -24
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/monotone.js +0 -89
- package/dist/node_modules/d3-shape/src/curve/monotone.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/natural.js +0 -40
- package/dist/node_modules/d3-shape/src/curve/natural.js.map +0 -1
- package/dist/node_modules/d3-shape/src/curve/step.js +0 -44
- package/dist/node_modules/d3-shape/src/curve/step.js.map +0 -1
- package/dist/node_modules/d3-shape/src/line.js +0 -29
- package/dist/node_modules/d3-shape/src/line.js.map +0 -1
- package/dist/node_modules/d3-shape/src/math.js +0 -7
- package/dist/node_modules/d3-shape/src/math.js.map +0 -1
- package/dist/node_modules/d3-shape/src/noop.js +0 -5
- package/dist/node_modules/d3-shape/src/noop.js.map +0 -1
- package/dist/node_modules/d3-shape/src/offset/expand.js +0 -14
- package/dist/node_modules/d3-shape/src/offset/expand.js.map +0 -1
- package/dist/node_modules/d3-shape/src/offset/none.js +0 -7
- package/dist/node_modules/d3-shape/src/offset/none.js.map +0 -1
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +0 -14
- package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +0 -1
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +0 -20
- package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +0 -1
- package/dist/node_modules/d3-shape/src/order/none.js +0 -8
- package/dist/node_modules/d3-shape/src/order/none.js.map +0 -1
- package/dist/node_modules/d3-shape/src/path.js +0 -18
- package/dist/node_modules/d3-shape/src/path.js.map +0 -1
- package/dist/node_modules/d3-shape/src/point.js +0 -10
- package/dist/node_modules/d3-shape/src/point.js.map +0 -1
- package/dist/node_modules/d3-shape/src/stack.js +0 -33
- package/dist/node_modules/d3-shape/src/stack.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/circle.js +0 -9
- package/dist/node_modules/d3-shape/src/symbol/circle.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/cross.js +0 -9
- package/dist/node_modules/d3-shape/src/symbol/cross.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +0 -9
- package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/square.js +0 -9
- package/dist/node_modules/d3-shape/src/symbol/square.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/star.js +0 -14
- package/dist/node_modules/d3-shape/src/symbol/star.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +0 -9
- package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol/wye.js +0 -9
- package/dist/node_modules/d3-shape/src/symbol/wye.js.map +0 -1
- package/dist/node_modules/d3-shape/src/symbol.js +0 -22
- package/dist/node_modules/d3-shape/src/symbol.js.map +0 -1
- package/dist/node_modules/d3-time/src/day.js +0 -20
- package/dist/node_modules/d3-time/src/day.js.map +0 -1
- package/dist/node_modules/d3-time/src/duration.js +0 -5
- package/dist/node_modules/d3-time/src/duration.js.map +0 -1
- package/dist/node_modules/d3-time/src/hour.js +0 -18
- package/dist/node_modules/d3-time/src/hour.js.map +0 -1
- package/dist/node_modules/d3-time/src/interval.js +0 -29
- package/dist/node_modules/d3-time/src/interval.js.map +0 -1
- package/dist/node_modules/d3-time/src/millisecond.js +0 -13
- package/dist/node_modules/d3-time/src/millisecond.js.map +0 -1
- package/dist/node_modules/d3-time/src/minute.js +0 -18
- package/dist/node_modules/d3-time/src/minute.js.map +0 -1
- package/dist/node_modules/d3-time/src/month.js +0 -17
- package/dist/node_modules/d3-time/src/month.js.map +0 -1
- package/dist/node_modules/d3-time/src/second.js +0 -12
- package/dist/node_modules/d3-time/src/second.js.map +0 -1
- package/dist/node_modules/d3-time/src/ticks.js +0 -124
- package/dist/node_modules/d3-time/src/ticks.js.map +0 -1
- package/dist/node_modules/d3-time/src/week.js +0 -24
- package/dist/node_modules/d3-time/src/week.js.map +0 -1
- package/dist/node_modules/d3-time/src/year.js +0 -25
- package/dist/node_modules/d3-time/src/year.js.map +0 -1
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +0 -61
- package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +0 -1
- package/dist/node_modules/d3-time-format/src/locale.js.map +0 -1
- package/dist/node_modules/graphql/jsutils/invariant.js +0 -7
- package/dist/node_modules/graphql/jsutils/invariant.js.map +0 -1
- package/dist/node_modules/internmap/src/index.js +0 -39
- package/dist/node_modules/internmap/src/index.js.map +0 -1
- package/dist/services/createSandboxAssistantTransport.d.ts.map +0 -1
- package/dist/shared/hooks/index.d.ts.map +0 -1
- package/dist/shared/hooks/useTr.d.ts.map +0 -1
- package/dist/stories/ActionMenu.stories.d.ts.map +0 -1
- package/dist/stories/Pagination.stories.d.ts.map +0 -1
- package/dist/stories/SafeLink.stories.d.ts.map +0 -1
- package/dist/test/setup.d.ts +0 -11
- package/dist/test/setup.d.ts.map +0 -1
- package/dist/utils/pageContext.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VirtualSessionPage.js","names":["Badge","_Fragment","Badge$1","initials","id","connectionDotClass","state","VideoTile","videoRef","useRef","useEffect","stream","videoEnabled","isLocal","actorId","role","muted","MicOff","connectionState","VirtualSessionPage","eventId","useParams","useEventfullyManaged","selfActorId","currentUser","eventData","eventLoading","useEventQuery","sessionQuery","useVirtualSessionQuery","session","mode","setMode","useState","hostSession","hosting","useHostVirtualSessionMutation","joinSession","joining","useJoinVirtualSessionMutation","leaveSession","leaving","useLeaveVirtualSessionMutation","endSession","ending","useEndVirtualSessionMutation","setMuteMutation","useSetVirtualMuteMutation","setVideoMutation","useSetVirtualVideoMutation","promotePresenter","usePromoteVirtualPresenterMutation","sendSignalMutation","useSendVirtualSignalMutation","selfParticipant","useMemo","p","activeParticipants","localMuted","setLocalMuted","localVideoOff","setLocalVideoOff","sendSignal","useCallback","args","call","useVirtualCall","useEvmSubscription","VIRTUAL_SIGNAL_SUBSCRIPTION_SDL","signal","data","VIRTUAL_PARTICIPANTS_CHANGED_SUBSCRIPTION_SDL","onHost","response","chosenMode","mutationSucceeded","notify","error","describeError","onJoin","onLeave","onEnd","toggleMute","next","toggleVideo","onPromote","participant","isHost","busy","Skeleton","Button","navigate","ArrowLeft","PagePurpose","EmphasisPanel","GradientText","GlassCard","IllustratedEmptyState","Select","value","SelectTrigger","SelectValue","SelectContent","SelectItem","Radio","Fragment","jsx","Mic","VideoOff","Video","PhoneOff","ScreenShare","Users"],"sources":["../../../../src/eventfullymanaged/pages/events/VirtualSessionPage.tsx"],"sourcesContent":["/* eslint-disable react-hooks/set-state-in-effect -- mirrors server-confirmed mute/video state into local toggle state, same established pattern as the fleet's *FormPage.tsx entity-hydration effects */\n/**\n * VirtualSessionPage (BOFF-4318)\n *\n * Real join/host flow for an event's virtual/hybrid session, backed by\n * `wspace-eventfullymanaged-svc`'s bounded browser-native WebRTC core\n * (`VirtualSessionService`). MEETING mode is a full mesh (cap 8);\n * WEBINAR mode is a host/presenter-broadcast star (cap 30) — attendees\n * only peer with the host/presenters, never each other. See\n * `useVirtualCall` for the exact topology and signaling logic.\n *\n * Large-audience broadcast (hundreds+ viewers) needs a real SFU/media\n * server and is explicit deferred follow-up — not built here.\n */\nimport {\n Badge,\n Button,\n EmphasisPanel,\n GlassCard,\n GradientText,\n IllustratedEmptyState,\n PagePurpose,\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n Skeleton,\n} from '@burdenoff/fe-libs/ui';\nimport { ArrowLeft, Mic, MicOff, PhoneOff, Radio, ScreenShare, Users, Video, VideoOff } from 'lucide-react';\nimport { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { useParams } from 'react-router';\n\nimport {\n useEndVirtualSessionMutation,\n useEventQuery,\n useHostVirtualSessionMutation,\n useJoinVirtualSessionMutation,\n useLeaveVirtualSessionMutation,\n usePromoteVirtualPresenterMutation,\n useSendVirtualSignalMutation,\n useSetVirtualMuteMutation,\n useSetVirtualVideoMutation,\n useVirtualSessionQuery,\n VIRTUAL_PARTICIPANTS_CHANGED_SUBSCRIPTION_SDL,\n VIRTUAL_SIGNAL_SUBSCRIPTION_SDL,\n type VirtualParticipantGql,\n} from '../../api/eventApi';\nimport { useEventfullyManaged } from '../../context/EventfullyManagedContext';\nimport { useEvmSubscription } from '../../hooks/useEvmSubscription';\nimport { type IncomingVirtualSignal, type VirtualCallRole, useVirtualCall } from '../../hooks/useVirtualCall';\nimport { describeError, mutationSucceeded } from '../../lib/mutationResult';\nimport { notify } from '../../lib/toast';\n\nfunction initials(id: string): string {\n return id.slice(0, 2).toUpperCase();\n}\n\nfunction connectionDotClass(state: RTCPeerConnectionState | undefined): string {\n if (state === 'connected') return 'bg-status-success';\n if (state === 'connecting' || state === 'new') return 'bg-status-warning';\n if (state === 'failed' || state === 'disconnected' || state === 'closed') return 'bg-status-danger';\n return 'bg-text-muted';\n}\n\ninterface VideoTileProps {\n actorId: string;\n role: VirtualCallRole;\n isLocal: boolean;\n stream: MediaStream | null;\n /** Muted/videoEnabled reflect the persisted participant state (server-confirmed for remotes, local toggle for self). */\n muted: boolean;\n videoEnabled: boolean;\n connectionState?: RTCPeerConnectionState;\n}\n\nfunction VideoTile({ actorId, role, isLocal, stream, muted, videoEnabled, connectionState }: VideoTileProps) {\n const videoRef = useRef<HTMLVideoElement>(null);\n useEffect(() => {\n if (videoRef.current) videoRef.current.srcObject = stream;\n }, [stream]);\n\n const showVideo = Boolean(stream) && videoEnabled;\n\n return (\n <div className=\"relative aspect-video overflow-hidden rounded-card border border-border-seam bg-bg-sunken\">\n {showVideo ? (\n <video\n ref={videoRef}\n autoPlay\n playsInline\n muted={isLocal}\n className=\"h-full w-full object-cover\"\n style={isLocal ? { transform: 'scaleX(-1)' } : undefined}\n />\n ) : (\n <div className=\"flex h-full w-full items-center justify-center\">\n <span className=\"flex h-12 w-12 items-center justify-center rounded-full bg-accent-primary/10 text-sm font-semibold text-accent-primary\">\n {initials(actorId)}\n </span>\n </div>\n )}\n <div className=\"absolute inset-x-0 bottom-0 flex items-center justify-between gap-2 bg-gradient-to-t from-black/60 to-transparent p-2\">\n <span className=\"truncate text-xs font-medium text-white\">\n {isLocal ? 'You' : `Participant ${actorId.slice(0, 6)}`}\n {role === 'HOST' ? ' · Host' : role === 'PRESENTER' ? ' · Presenter' : ''}\n </span>\n <span className=\"flex items-center gap-1.5\">\n {muted ? <MicOff className=\"h-3.5 w-3.5 text-white\" /> : null}\n {!isLocal ? (\n <span\n className={`h-2 w-2 rounded-full ${connectionDotClass(connectionState)}`}\n title={connectionState ?? 'connecting'}\n />\n ) : null}\n </span>\n </div>\n </div>\n );\n}\n\nexport default function VirtualSessionPage() {\n const { id: eventId = '' } = useParams<{ id: string }>();\n const { navigate, currentUser } = useEventfullyManaged();\n const selfActorId = currentUser?.id ?? '';\n\n const { data: eventData, loading: eventLoading } = useEventQuery(eventId);\n const sessionQuery = useVirtualSessionQuery({ eventId });\n const session = sessionQuery.data?.virtualSession ?? null;\n\n const [mode, setMode] = useState<'MEETING' | 'WEBINAR'>('MEETING');\n const [hostSession, { loading: hosting }] = useHostVirtualSessionMutation();\n const [joinSession, { loading: joining }] = useJoinVirtualSessionMutation();\n const [leaveSession, { loading: leaving }] = useLeaveVirtualSessionMutation();\n const [endSession, { loading: ending }] = useEndVirtualSessionMutation();\n const [setMuteMutation] = useSetVirtualMuteMutation();\n const [setVideoMutation] = useSetVirtualVideoMutation();\n const [promotePresenter] = usePromoteVirtualPresenterMutation();\n const [sendSignalMutation] = useSendVirtualSignalMutation();\n\n const selfParticipant = useMemo(\n () => session?.participants.find((p) => p.actorId === selfActorId && !p.leftAt) ?? null,\n [session, selfActorId]\n );\n const activeParticipants = useMemo(() => (session?.participants ?? []).filter((p) => !p.leftAt), [session]);\n\n const [localMuted, setLocalMuted] = useState(false);\n const [localVideoOff, setLocalVideoOff] = useState(false);\n useEffect(() => {\n if (selfParticipant) {\n setLocalMuted(selfParticipant.muted);\n setLocalVideoOff(!selfParticipant.videoEnabled);\n }\n }, [selfParticipant?.muted, selfParticipant?.videoEnabled]); // eslint-disable-line react-hooks/exhaustive-deps\n\n const sendSignal = useCallback(\n async (args: { toActorId: string; signalType: 'OFFER' | 'ANSWER' | 'ICE_CANDIDATE'; payload: unknown }) => {\n if (!session) return;\n await sendSignalMutation({\n variables: {\n sessionId: session.id,\n toActorId: args.toActorId,\n signalType: args.signalType,\n payload: args.payload,\n },\n });\n },\n [session, sendSignalMutation]\n );\n\n const call = useVirtualCall({\n sessionId: selfParticipant ? session?.id : null,\n selfActorId,\n mode: session?.mode ?? 'MEETING',\n selfRole: selfParticipant?.role ?? null,\n participants: activeParticipants.map((p) => ({ actorId: p.actorId, role: p.role })),\n sendSignal,\n muted: localMuted,\n videoEnabled: !localVideoOff,\n });\n\n useEvmSubscription<{ eventfullyManagedVirtualSignal: IncomingVirtualSignal }>({\n query: VIRTUAL_SIGNAL_SUBSCRIPTION_SDL,\n variables: { sessionId: session?.id },\n operationName: 'EventfullymanagedVirtualSignal',\n enabled: Boolean(selfParticipant && session),\n onData: (data) => {\n const signal = data.eventfullyManagedVirtualSignal;\n if (signal) call.handleIncomingSignal(signal);\n },\n // No real polling substitute exists for signaling — a missed signal is\n // simply a missed negotiation step. The fallback here just retries the\n // subscription's own reconnect path via re-render, kept as a no-op.\n pollFn: () => {},\n pollIntervalMs: 15_000,\n });\n\n useEvmSubscription<{ eventfullyManagedVirtualParticipantsChanged: unknown }>({\n query: VIRTUAL_PARTICIPANTS_CHANGED_SUBSCRIPTION_SDL,\n variables: { sessionId: session?.id },\n operationName: 'EventfullymanagedVirtualParticipantsChanged',\n enabled: Boolean(session),\n onData: () => {\n void sessionQuery.refetch();\n },\n pollFn: () => {\n void sessionQuery.refetch();\n },\n pollIntervalMs: 5_000,\n });\n\n const onHost = async (chosenMode: 'MEETING' | 'WEBINAR') => {\n try {\n const response = await hostSession({ variables: { eventId, mode: chosenMode } });\n if (!mutationSucceeded(response, response.data?.hostVirtualSession?.id, 'Could not start session')) {\n return;\n }\n notify.success('Session started', chosenMode === 'WEBINAR' ? 'Hosting as a webinar.' : 'Hosting a meeting.');\n await sessionQuery.refetch();\n } catch (error) {\n notify.error('Could not start session', describeError(error));\n }\n };\n\n const onJoin = async () => {\n try {\n const response = await joinSession({ variables: { eventId } });\n if (!mutationSucceeded(response, response.data?.joinVirtualSession?.id, 'Could not join session')) {\n return;\n }\n await sessionQuery.refetch();\n } catch (error) {\n notify.error('Could not join session', describeError(error));\n }\n };\n\n const onLeave = async () => {\n if (!session) return;\n try {\n await leaveSession({ variables: { sessionId: session.id } });\n notify.success('Left session', 'You are no longer in the virtual session.');\n await sessionQuery.refetch();\n } catch (error) {\n notify.error('Could not leave session', describeError(error));\n }\n };\n\n const onEnd = async () => {\n if (!session) return;\n try {\n await endSession({ variables: { sessionId: session.id } });\n notify.success('Session ended', 'The virtual session has been ended for everyone.');\n await sessionQuery.refetch();\n } catch (error) {\n notify.error('Could not end session', describeError(error));\n }\n };\n\n const toggleMute = async () => {\n if (!session) return;\n const next = !localMuted;\n setLocalMuted(next);\n try {\n await setMuteMutation({ variables: { sessionId: session.id, muted: next } });\n } catch (error) {\n setLocalMuted(!next);\n notify.error('Could not update mute state', describeError(error));\n }\n };\n\n const toggleVideo = async () => {\n if (!session) return;\n const next = !localVideoOff;\n setLocalVideoOff(next);\n try {\n await setVideoMutation({ variables: { sessionId: session.id, videoEnabled: !next } });\n } catch (error) {\n setLocalVideoOff(!next);\n notify.error('Could not update camera state', describeError(error));\n }\n };\n\n const onPromote = async (participant: VirtualParticipantGql) => {\n if (!session) return;\n try {\n await promotePresenter({ variables: { sessionId: session.id, actorId: participant.actorId } });\n notify.success('Promoted to presenter', `Participant ${participant.actorId.slice(0, 6)} can now broadcast.`);\n await sessionQuery.refetch();\n } catch (error) {\n notify.error('Could not promote participant', describeError(error));\n }\n };\n\n const isHost = selfParticipant?.role === 'HOST';\n const busy = hosting || joining || leaving || ending;\n\n if (eventLoading || sessionQuery.loading) {\n return (\n <div className=\"space-y-4 p-6\">\n <Skeleton className=\"h-8 w-64\" />\n <Skeleton className=\"h-64 w-full\" />\n </div>\n );\n }\n\n return (\n <div className=\"space-y-6 p-6\">\n <Button type=\"button\" variant=\"ghost\" size=\"sm\" onClick={() => navigate(`/events/${eventId}`)}>\n <ArrowLeft className=\"h-4 w-4\" />\n Back to Event\n </Button>\n\n <PagePurpose>\n A virtual session is a real, browser-native WebRTC room for this event — no external meeting link. Hosts start a\n Meeting (small mesh, up to 8 people all connected directly) or a Webinar (up to 30 attendees who see and hear\n only the host/presenters). Signaling is relayed through EventfullyManaged; media never touches our servers.\n </PagePurpose>\n\n <EmphasisPanel className=\"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between\">\n <div>\n <h1 className=\"text-2xl font-bold text-text-primary\">\n <GradientText>Virtual Session</GradientText>\n </h1>\n <p className=\"mt-1 text-sm text-text-secondary\">{eventData?.event?.name ?? 'Event'}</p>\n </div>\n {session ? (\n <Badge variant={session.status === 'ACTIVE' ? 'success' : 'secondary'} className=\"uppercase\">\n {session.mode} · {session.status}\n </Badge>\n ) : null}\n </EmphasisPanel>\n\n {!session || session.status !== 'ACTIVE' ? (\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-8\">\n <IllustratedEmptyState\n illustration=\"empty-data\"\n title=\"No live virtual session\"\n description=\"Start a session to host attendees over WebRTC, or join once someone else has started one.\"\n className=\"py-6\"\n />\n <div className=\"mt-4 flex flex-wrap items-center justify-center gap-2\">\n <Select value={mode} onValueChange={(value) => setMode(value as 'MEETING' | 'WEBINAR')}>\n <SelectTrigger aria-label=\"Session mode\" className=\"w-48\">\n <SelectValue />\n </SelectTrigger>\n <SelectContent>\n <SelectItem value=\"MEETING\">Meeting (up to 8)</SelectItem>\n <SelectItem value=\"WEBINAR\">Webinar (up to 30)</SelectItem>\n </SelectContent>\n </Select>\n <Button type=\"button\" onClick={() => onHost(mode)} disabled={busy}>\n <Radio className=\"h-4 w-4\" />\n {hosting ? 'Starting…' : 'Start session'}\n </Button>\n </div>\n </GlassCard>\n ) : !selfParticipant ? (\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-8\">\n <IllustratedEmptyState\n illustration=\"empty-people\"\n title=\"A session is live\"\n description={`${session.participantCount} of ${session.maxParticipants} seats in use. Join to turn on your camera and mic.`}\n className=\"py-6\"\n />\n <div className=\"mt-4 flex justify-center\">\n <Button type=\"button\" onClick={onJoin} disabled={busy}>\n <Video className=\"h-4 w-4\" />\n {joining ? 'Joining…' : 'Join session'}\n </Button>\n </div>\n </GlassCard>\n ) : (\n <>\n {call.mediaError ? (\n <GlassCard\n treatment=\"plain\"\n className=\"border-status-danger/40 bg-status-danger/5 p-4 text-sm text-status-danger\"\n >\n Camera/microphone unavailable: {call.mediaError}. You are still connected to the session and can see other\n participants, but others will not see or hear you.\n </GlassCard>\n ) : null}\n\n <div className=\"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3\">\n <VideoTile\n actorId={selfActorId}\n role={selfParticipant.role}\n isLocal\n stream={call.localStream}\n muted={localMuted}\n videoEnabled={!localVideoOff}\n />\n {activeParticipants\n .filter((p) => p.actorId !== selfActorId)\n .map((participant) => (\n <VideoTile\n key={participant.actorId}\n actorId={participant.actorId}\n role={participant.role}\n isLocal={false}\n stream={call.remoteStreams.get(participant.actorId) ?? null}\n muted={participant.muted}\n videoEnabled={participant.videoEnabled}\n connectionState={call.connectionStates.get(participant.actorId)}\n />\n ))}\n </div>\n\n <GlassCard\n treatment=\"plain\"\n className=\"flex flex-wrap items-center justify-center gap-2 border-border-seam p-4\"\n >\n <Button type=\"button\" variant={localMuted ? 'outline' : 'secondary'} onClick={toggleMute}>\n {localMuted ? <MicOff className=\"h-4 w-4\" /> : <Mic className=\"h-4 w-4\" />}\n {localMuted ? 'Unmute' : 'Mute'}\n </Button>\n <Button type=\"button\" variant={localVideoOff ? 'outline' : 'secondary'} onClick={toggleVideo}>\n {localVideoOff ? <VideoOff className=\"h-4 w-4\" /> : <Video className=\"h-4 w-4\" />}\n {localVideoOff ? 'Start Video' : 'Stop Video'}\n </Button>\n <Button type=\"button\" variant=\"outline\" onClick={onLeave} disabled={busy}>\n <PhoneOff className=\"h-4 w-4\" />\n {leaving ? 'Leaving…' : 'Leave'}\n </Button>\n {isHost ? (\n <Button type=\"button\" variant=\"destructive\" onClick={onEnd} disabled={busy}>\n <ScreenShare className=\"h-4 w-4\" />\n {ending ? 'Ending…' : 'End for everyone'}\n </Button>\n ) : null}\n </GlassCard>\n\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-4\">\n <h2 className=\"flex items-center gap-2 text-sm font-semibold text-text-primary\">\n <Users className=\"h-4 w-4 text-accent-primary\" />\n Participants ({activeParticipants.length}/{session.maxParticipants})\n </h2>\n <div className=\"mt-3 space-y-2\">\n {activeParticipants.map((participant) => (\n <div key={participant.id} className=\"flex items-center justify-between gap-2 text-sm\">\n <span className=\"flex items-center gap-2 text-text-secondary\">\n <span\n className={`h-2 w-2 rounded-full ${\n participant.actorId === selfActorId\n ? 'bg-status-success'\n : connectionDotClass(call.connectionStates.get(participant.actorId))\n }`}\n />\n {participant.actorId === selfActorId ? 'You' : `Participant ${participant.actorId.slice(0, 6)}`}\n <Badge variant=\"secondary\" className=\"uppercase\">\n {participant.role}\n </Badge>\n </span>\n {isHost && session.mode === 'WEBINAR' && participant.role === 'ATTENDEE' ? (\n <Button type=\"button\" variant=\"ghost\" size=\"sm\" onClick={() => onPromote(participant)}>\n Promote to presenter\n </Button>\n ) : null}\n </div>\n ))}\n </div>\n </GlassCard>\n </>\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;AAsDA,SAASG,EAAS,GAAoB;CACpC,OAAOC,EAAG,MAAM,GAAG,CAAC,CAAC,CAAC,YAAY;AACpC;AAEA,SAASC,EAAmB,GAAmD;CAI7E,OAHIC,MAAU,cAAoB,sBAC9BA,MAAU,gBAAgBA,MAAU,QAAc,sBAClDA,MAAU,YAAYA,MAAU,kBAAkBA,MAAU,WAAiB,qBAC1E;AACT;AAaA,SAASC,EAAU,EAAE,YAAS,SAAM,YAAS,WAAQ,UAAO,iBAAc,sBAAmC;CAC3G,IAAMC,IAAWC,EAAyB,IAAI;CAO9C,OANAC,QAAgB;EACd,AAAIF,EAAS,YAAS,EAAS,QAAQ,YAAYG;CACrD,GAAG,CAACA,CAAM,CAAC,GAKT,kBAAC,OAAD;EAAK,WAAU;EAAf,UAAA,CAHwBA,KAAWC,IAK/B,kBAAC,SAAD;GACE,KAAKJ;GACL,UAAA;GACA,aAAA;GACA,OAAOK;GACP,WAAU;GACV,OAAOA,IAAU,EAAE,WAAW,aAAa,IAAI,KAAA;EAChD,CAAA,IAED,kBAAC,OAAD;GAAK,WAAU;GACb,UAAA,kBAAC,QAAD;IAAM,WAAU;IACb,UAAAV,EAASW,CAAO;GACb,CAAA;EACH,CAAA,GAEP,kBAAC,OAAD;GAAK,WAAU;GAAf,UAAA,CACE,kBAAC,QAAD;IAAM,WAAU;IAAhB,UAAA,CACGD,IAAU,QAAQ,eAAeC,EAAQ,MAAM,GAAG,CAAC,KACnDC,MAAS,SAAS,YAAYA,MAAS,cAAc,iBAAiB,EACnE;GACN,CAAA,GAAA,kBAAC,QAAD;IAAM,WAAU;IAAhB,UAAA,CACGC,IAAQ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,CAAA,GAC3BvE,IAAU,aAAa,cAClB;;IACL,CAAA,CACI;GAEX,CAAA;EA4FC;;AAET"}
|
|
1
|
+
{"version":3,"file":"VirtualSessionPage.js","names":["Badge","_Fragment","Badge$1","initials","id","connectionDotClass","state","VideoTile","videoRef","useRef","useEffect","stream","videoEnabled","isLocal","actorId","role","muted","MicOff","connectionState","VirtualSessionPage","eventId","useParams","useEventfullyManaged","selfActorId","currentUser","eventData","eventLoading","useEventQuery","sessionQuery","useVirtualSessionQuery","session","mode","setMode","useState","hostSession","hosting","useHostVirtualSessionMutation","joinSession","joining","useJoinVirtualSessionMutation","leaveSession","leaving","useLeaveVirtualSessionMutation","endSession","ending","useEndVirtualSessionMutation","setMuteMutation","useSetVirtualMuteMutation","setVideoMutation","useSetVirtualVideoMutation","promotePresenter","usePromoteVirtualPresenterMutation","sendSignalMutation","useSendVirtualSignalMutation","selfParticipant","useMemo","p","activeParticipants","localMuted","setLocalMuted","localVideoOff","setLocalVideoOff","sendSignal","useCallback","args","call","useVirtualCall","useEvmSubscription","VIRTUAL_SIGNAL_SUBSCRIPTION_SDL","signal","data","VIRTUAL_PARTICIPANTS_CHANGED_SUBSCRIPTION_SDL","onHost","response","chosenMode","mutationSucceeded","notify","error","describeError","onJoin","onLeave","onEnd","toggleMute","next","toggleVideo","onPromote","participant","isHost","busy","Skeleton","Button","navigate","ArrowLeft","PagePurpose","EmphasisPanel","GradientText","GlassCard","IllustratedEmptyState","Select","value","SelectTrigger","SelectValue","SelectContent","SelectItem","Radio","Fragment","jsx","Mic","VideoOff","Video","PhoneOff","ScreenShare","Users"],"sources":["../../../../src/eventfullymanaged/pages/events/VirtualSessionPage.tsx"],"sourcesContent":["/* eslint-disable react-hooks/set-state-in-effect -- mirrors server-confirmed mute/video state into local toggle state, same established pattern as the fleet's *FormPage.tsx entity-hydration effects */\n/**\n * VirtualSessionPage (BOFF-4318)\n *\n * Real join/host flow for an event's virtual/hybrid session, backed by\n * `wspace-eventfullymanaged-svc`'s bounded browser-native WebRTC core\n * (`VirtualSessionService`). MEETING mode is a full mesh (cap 8);\n * WEBINAR mode is a host/presenter-broadcast star (cap 30) — attendees\n * only peer with the host/presenters, never each other. See\n * `useVirtualCall` for the exact topology and signaling logic.\n *\n * Large-audience broadcast (hundreds+ viewers) needs a real SFU/media\n * server and is explicit deferred follow-up — not built here.\n */\nimport {\n Badge,\n Button,\n EmphasisPanel,\n GlassCard,\n GradientText,\n IllustratedEmptyState,\n PagePurpose,\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n Skeleton,\n} from '@burdenoff/fe-libs/ui';\nimport { ArrowLeft, Mic, MicOff, PhoneOff, Radio, ScreenShare, Users, Video, VideoOff } from 'lucide-react';\nimport { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { useParams } from 'react-router';\n\nimport {\n useEndVirtualSessionMutation,\n useEventQuery,\n useHostVirtualSessionMutation,\n useJoinVirtualSessionMutation,\n useLeaveVirtualSessionMutation,\n usePromoteVirtualPresenterMutation,\n useSendVirtualSignalMutation,\n useSetVirtualMuteMutation,\n useSetVirtualVideoMutation,\n useVirtualSessionQuery,\n VIRTUAL_PARTICIPANTS_CHANGED_SUBSCRIPTION_SDL,\n VIRTUAL_SIGNAL_SUBSCRIPTION_SDL,\n type VirtualParticipantGql,\n} from '../../api/eventApi';\nimport { useEventfullyManaged } from '../../context/EventfullyManagedContext';\nimport { useEvmSubscription } from '../../hooks/useEvmSubscription';\nimport { type IncomingVirtualSignal, type VirtualCallRole, useVirtualCall } from '../../hooks/useVirtualCall';\nimport { describeError, mutationSucceeded } from '../../lib/mutationResult';\nimport { notify } from '../../lib/toast';\n\nfunction initials(id: string): string {\n return id.slice(0, 2).toUpperCase();\n}\n\nfunction connectionDotClass(state: RTCPeerConnectionState | undefined): string {\n if (state === 'connected') return 'bg-status-success';\n if (state === 'connecting' || state === 'new') return 'bg-status-warning';\n if (state === 'failed' || state === 'disconnected' || state === 'closed') return 'bg-status-danger';\n return 'bg-text-muted';\n}\n\ninterface VideoTileProps {\n actorId: string;\n role: VirtualCallRole;\n isLocal: boolean;\n stream: MediaStream | null;\n /** Muted/videoEnabled reflect the persisted participant state (server-confirmed for remotes, local toggle for self). */\n muted: boolean;\n videoEnabled: boolean;\n connectionState?: RTCPeerConnectionState;\n}\n\nfunction VideoTile({ actorId, role, isLocal, stream, muted, videoEnabled, connectionState }: VideoTileProps) {\n const videoRef = useRef<HTMLVideoElement>(null);\n useEffect(() => {\n if (videoRef.current) videoRef.current.srcObject = stream;\n }, [stream]);\n\n const showVideo = Boolean(stream) && videoEnabled;\n\n return (\n <div className=\"relative aspect-video overflow-hidden rounded-card border border-border-seam bg-bg-sunken\">\n {showVideo ? (\n <video\n ref={videoRef}\n autoPlay\n playsInline\n muted={isLocal}\n className=\"h-full w-full object-cover\"\n style={isLocal ? { transform: 'scaleX(-1)' } : undefined}\n />\n ) : (\n <div className=\"flex h-full w-full items-center justify-center\">\n <span className=\"flex h-12 w-12 items-center justify-center rounded-full bg-accent-primary/10 text-sm font-semibold text-accent-primary\">\n {initials(actorId)}\n </span>\n </div>\n )}\n <div className=\"absolute inset-x-0 bottom-0 flex items-center justify-between gap-2 bg-gradient-to-t from-bg-overlay to-transparent p-2\">\n <span className=\"truncate text-xs font-medium text-action-primary-text\">\n {isLocal ? 'You' : `Participant ${actorId.slice(0, 6)}`}\n {role === 'HOST' ? ' · Host' : role === 'PRESENTER' ? ' · Presenter' : ''}\n </span>\n <span className=\"flex items-center gap-1.5\">\n {muted ? <MicOff className=\"h-3.5 w-3.5 text-action-primary-text\" /> : null}\n {!isLocal ? (\n <span\n className={`h-2 w-2 rounded-full ${connectionDotClass(connectionState)}`}\n title={connectionState ?? 'connecting'}\n />\n ) : null}\n </span>\n </div>\n </div>\n );\n}\n\nexport default function VirtualSessionPage() {\n const { id: eventId = '' } = useParams<{ id: string }>();\n const { navigate, currentUser } = useEventfullyManaged();\n const selfActorId = currentUser?.id ?? '';\n\n const { data: eventData, loading: eventLoading } = useEventQuery(eventId);\n const sessionQuery = useVirtualSessionQuery({ eventId });\n const session = sessionQuery.data?.virtualSession ?? null;\n\n const [mode, setMode] = useState<'MEETING' | 'WEBINAR'>('MEETING');\n const [hostSession, { loading: hosting }] = useHostVirtualSessionMutation();\n const [joinSession, { loading: joining }] = useJoinVirtualSessionMutation();\n const [leaveSession, { loading: leaving }] = useLeaveVirtualSessionMutation();\n const [endSession, { loading: ending }] = useEndVirtualSessionMutation();\n const [setMuteMutation] = useSetVirtualMuteMutation();\n const [setVideoMutation] = useSetVirtualVideoMutation();\n const [promotePresenter] = usePromoteVirtualPresenterMutation();\n const [sendSignalMutation] = useSendVirtualSignalMutation();\n\n const selfParticipant = useMemo(\n () => session?.participants.find((p) => p.actorId === selfActorId && !p.leftAt) ?? null,\n [session, selfActorId]\n );\n const activeParticipants = useMemo(() => (session?.participants ?? []).filter((p) => !p.leftAt), [session]);\n\n const [localMuted, setLocalMuted] = useState(false);\n const [localVideoOff, setLocalVideoOff] = useState(false);\n useEffect(() => {\n if (selfParticipant) {\n setLocalMuted(selfParticipant.muted);\n setLocalVideoOff(!selfParticipant.videoEnabled);\n }\n }, [selfParticipant?.muted, selfParticipant?.videoEnabled]); // eslint-disable-line react-hooks/exhaustive-deps\n\n const sendSignal = useCallback(\n async (args: { toActorId: string; signalType: 'OFFER' | 'ANSWER' | 'ICE_CANDIDATE'; payload: unknown }) => {\n if (!session) return;\n await sendSignalMutation({\n variables: {\n sessionId: session.id,\n toActorId: args.toActorId,\n signalType: args.signalType,\n payload: args.payload,\n },\n });\n },\n [session, sendSignalMutation]\n );\n\n const call = useVirtualCall({\n sessionId: selfParticipant ? session?.id : null,\n selfActorId,\n mode: session?.mode ?? 'MEETING',\n selfRole: selfParticipant?.role ?? null,\n participants: activeParticipants.map((p) => ({ actorId: p.actorId, role: p.role })),\n sendSignal,\n muted: localMuted,\n videoEnabled: !localVideoOff,\n });\n\n useEvmSubscription<{ eventfullyManagedVirtualSignal: IncomingVirtualSignal }>({\n query: VIRTUAL_SIGNAL_SUBSCRIPTION_SDL,\n variables: { sessionId: session?.id },\n operationName: 'EventfullymanagedVirtualSignal',\n enabled: Boolean(selfParticipant && session),\n onData: (data) => {\n const signal = data.eventfullyManagedVirtualSignal;\n if (signal) call.handleIncomingSignal(signal);\n },\n // No real polling substitute exists for signaling — a missed signal is\n // simply a missed negotiation step. The fallback here just retries the\n // subscription's own reconnect path via re-render, kept as a no-op.\n pollFn: () => {},\n pollIntervalMs: 15_000,\n });\n\n useEvmSubscription<{ eventfullyManagedVirtualParticipantsChanged: unknown }>({\n query: VIRTUAL_PARTICIPANTS_CHANGED_SUBSCRIPTION_SDL,\n variables: { sessionId: session?.id },\n operationName: 'EventfullymanagedVirtualParticipantsChanged',\n enabled: Boolean(session),\n onData: () => {\n void sessionQuery.refetch();\n },\n pollFn: () => {\n void sessionQuery.refetch();\n },\n pollIntervalMs: 5_000,\n });\n\n const onHost = async (chosenMode: 'MEETING' | 'WEBINAR') => {\n try {\n const response = await hostSession({ variables: { eventId, mode: chosenMode } });\n if (!mutationSucceeded(response, response.data?.hostVirtualSession?.id, 'Could not start session')) {\n return;\n }\n notify.success('Session started', chosenMode === 'WEBINAR' ? 'Hosting as a webinar.' : 'Hosting a meeting.');\n await sessionQuery.refetch();\n } catch (error) {\n notify.error('Could not start session', describeError(error));\n }\n };\n\n const onJoin = async () => {\n try {\n const response = await joinSession({ variables: { eventId } });\n if (!mutationSucceeded(response, response.data?.joinVirtualSession?.id, 'Could not join session')) {\n return;\n }\n await sessionQuery.refetch();\n } catch (error) {\n notify.error('Could not join session', describeError(error));\n }\n };\n\n const onLeave = async () => {\n if (!session) return;\n try {\n await leaveSession({ variables: { sessionId: session.id } });\n notify.success('Left session', 'You are no longer in the virtual session.');\n await sessionQuery.refetch();\n } catch (error) {\n notify.error('Could not leave session', describeError(error));\n }\n };\n\n const onEnd = async () => {\n if (!session) return;\n try {\n await endSession({ variables: { sessionId: session.id } });\n notify.success('Session ended', 'The virtual session has been ended for everyone.');\n await sessionQuery.refetch();\n } catch (error) {\n notify.error('Could not end session', describeError(error));\n }\n };\n\n const toggleMute = async () => {\n if (!session) return;\n const next = !localMuted;\n setLocalMuted(next);\n try {\n await setMuteMutation({ variables: { sessionId: session.id, muted: next } });\n } catch (error) {\n setLocalMuted(!next);\n notify.error('Could not update mute state', describeError(error));\n }\n };\n\n const toggleVideo = async () => {\n if (!session) return;\n const next = !localVideoOff;\n setLocalVideoOff(next);\n try {\n await setVideoMutation({ variables: { sessionId: session.id, videoEnabled: !next } });\n } catch (error) {\n setLocalVideoOff(!next);\n notify.error('Could not update camera state', describeError(error));\n }\n };\n\n const onPromote = async (participant: VirtualParticipantGql) => {\n if (!session) return;\n try {\n await promotePresenter({ variables: { sessionId: session.id, actorId: participant.actorId } });\n notify.success('Promoted to presenter', `Participant ${participant.actorId.slice(0, 6)} can now broadcast.`);\n await sessionQuery.refetch();\n } catch (error) {\n notify.error('Could not promote participant', describeError(error));\n }\n };\n\n const isHost = selfParticipant?.role === 'HOST';\n const busy = hosting || joining || leaving || ending;\n\n if (eventLoading || sessionQuery.loading) {\n return (\n <div className=\"space-y-4 p-6\">\n <Skeleton className=\"h-8 w-64\" />\n <Skeleton className=\"h-64 w-full\" />\n </div>\n );\n }\n\n return (\n <div className=\"space-y-6 p-6\">\n <Button type=\"button\" variant=\"ghost\" size=\"sm\" onClick={() => navigate(`/events/${eventId}`)}>\n <ArrowLeft className=\"h-4 w-4\" />\n Back to Event\n </Button>\n\n <PagePurpose>\n A virtual session is a real, browser-native WebRTC room for this event — no external meeting link. Hosts start a\n Meeting (small mesh, up to 8 people all connected directly) or a Webinar (up to 30 attendees who see and hear\n only the host/presenters). Signaling is relayed through EventfullyManaged; media never touches our servers.\n </PagePurpose>\n\n <EmphasisPanel className=\"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between\">\n <div>\n <h1 className=\"text-2xl font-bold text-text-primary\">\n <GradientText>Virtual Session</GradientText>\n </h1>\n <p className=\"mt-1 text-sm text-text-secondary\">{eventData?.event?.name ?? 'Event'}</p>\n </div>\n {session ? (\n <Badge variant={session.status === 'ACTIVE' ? 'success' : 'secondary'} className=\"uppercase\">\n {session.mode} · {session.status}\n </Badge>\n ) : null}\n </EmphasisPanel>\n\n {!session || session.status !== 'ACTIVE' ? (\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-8\">\n <IllustratedEmptyState\n illustration=\"empty-data\"\n title=\"No live virtual session\"\n description=\"Start a session to host attendees over WebRTC, or join once someone else has started one.\"\n className=\"py-6\"\n />\n <div className=\"mt-4 flex flex-wrap items-center justify-center gap-2\">\n <Select value={mode} onValueChange={(value) => setMode(value as 'MEETING' | 'WEBINAR')}>\n <SelectTrigger aria-label=\"Session mode\" className=\"w-48\">\n <SelectValue />\n </SelectTrigger>\n <SelectContent>\n <SelectItem value=\"MEETING\">Meeting (up to 8)</SelectItem>\n <SelectItem value=\"WEBINAR\">Webinar (up to 30)</SelectItem>\n </SelectContent>\n </Select>\n <Button type=\"button\" onClick={() => onHost(mode)} disabled={busy}>\n <Radio className=\"h-4 w-4\" />\n {hosting ? 'Starting…' : 'Start session'}\n </Button>\n </div>\n </GlassCard>\n ) : !selfParticipant ? (\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-8\">\n <IllustratedEmptyState\n illustration=\"empty-people\"\n title=\"A session is live\"\n description={`${session.participantCount} of ${session.maxParticipants} seats in use. Join to turn on your camera and mic.`}\n className=\"py-6\"\n />\n <div className=\"mt-4 flex justify-center\">\n <Button type=\"button\" onClick={onJoin} disabled={busy}>\n <Video className=\"h-4 w-4\" />\n {joining ? 'Joining…' : 'Join session'}\n </Button>\n </div>\n </GlassCard>\n ) : (\n <>\n {call.mediaError ? (\n <GlassCard\n treatment=\"plain\"\n className=\"border-status-danger/40 bg-status-danger/5 p-4 text-sm text-status-danger\"\n >\n Camera/microphone unavailable: {call.mediaError}. You are still connected to the session and can see other\n participants, but others will not see or hear you.\n </GlassCard>\n ) : null}\n\n <div className=\"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3\">\n <VideoTile\n actorId={selfActorId}\n role={selfParticipant.role}\n isLocal\n stream={call.localStream}\n muted={localMuted}\n videoEnabled={!localVideoOff}\n />\n {activeParticipants\n .filter((p) => p.actorId !== selfActorId)\n .map((participant) => (\n <VideoTile\n key={participant.actorId}\n actorId={participant.actorId}\n role={participant.role}\n isLocal={false}\n stream={call.remoteStreams.get(participant.actorId) ?? null}\n muted={participant.muted}\n videoEnabled={participant.videoEnabled}\n connectionState={call.connectionStates.get(participant.actorId)}\n />\n ))}\n </div>\n\n <GlassCard\n treatment=\"plain\"\n className=\"flex flex-wrap items-center justify-center gap-2 border-border-seam p-4\"\n >\n <Button type=\"button\" variant={localMuted ? 'outline' : 'secondary'} onClick={toggleMute}>\n {localMuted ? <MicOff className=\"h-4 w-4\" /> : <Mic className=\"h-4 w-4\" />}\n {localMuted ? 'Unmute' : 'Mute'}\n </Button>\n <Button type=\"button\" variant={localVideoOff ? 'outline' : 'secondary'} onClick={toggleVideo}>\n {localVideoOff ? <VideoOff className=\"h-4 w-4\" /> : <Video className=\"h-4 w-4\" />}\n {localVideoOff ? 'Start Video' : 'Stop Video'}\n </Button>\n <Button type=\"button\" variant=\"outline\" onClick={onLeave} disabled={busy}>\n <PhoneOff className=\"h-4 w-4\" />\n {leaving ? 'Leaving…' : 'Leave'}\n </Button>\n {isHost ? (\n <Button type=\"button\" variant=\"destructive\" onClick={onEnd} disabled={busy}>\n <ScreenShare className=\"h-4 w-4\" />\n {ending ? 'Ending…' : 'End for everyone'}\n </Button>\n ) : null}\n </GlassCard>\n\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-4\">\n <h2 className=\"flex items-center gap-2 text-sm font-semibold text-text-primary\">\n <Users className=\"h-4 w-4 text-accent-primary\" />\n Participants ({activeParticipants.length}/{session.maxParticipants})\n </h2>\n <div className=\"mt-3 space-y-2\">\n {activeParticipants.map((participant) => (\n <div key={participant.id} className=\"flex items-center justify-between gap-2 text-sm\">\n <span className=\"flex items-center gap-2 text-text-secondary\">\n <span\n className={`h-2 w-2 rounded-full ${\n participant.actorId === selfActorId\n ? 'bg-status-success'\n : connectionDotClass(call.connectionStates.get(participant.actorId))\n }`}\n />\n {participant.actorId === selfActorId ? 'You' : `Participant ${participant.actorId.slice(0, 6)}`}\n <Badge variant=\"secondary\" className=\"uppercase\">\n {participant.role}\n </Badge>\n </span>\n {isHost && session.mode === 'WEBINAR' && participant.role === 'ATTENDEE' ? (\n <Button type=\"button\" variant=\"ghost\" size=\"sm\" onClick={() => onPromote(participant)}>\n Promote to presenter\n </Button>\n ) : null}\n </div>\n ))}\n </div>\n </GlassCard>\n </>\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;AAsDA,SAASG,EAAS,GAAoB;CACpC,OAAOC,EAAG,MAAM,GAAG,CAAC,CAAC,CAAC,YAAY;AACpC;AAEA,SAASC,EAAmB,GAAmD;CAI7E,OAHIC,MAAU,cAAoB,sBAC9BA,MAAU,gBAAgBA,MAAU,QAAc,sBAClDA,MAAU,YAAYA,MAAU,kBAAkBA,MAAU,WAAiB,qBAC1E;AACT;AAaA,SAASC,EAAU,EAAE,YAAS,SAAM,YAAS,WAAQ,UAAO,iBAAc,sBAAmC;CAC3G,IAAMC,IAAWC,EAAyB,IAAI;CAO9C,OANAC,QAAgB;EACd,AAAIF,EAAS,YAAS,EAAS,QAAQ,YAAYG;CACrD,GAAG,CAACA,CAAM,CAAC,GAKT,kBAAC,OAAD;EAAK,WAAU;EAAf,UAAA,CAHwBA,KAAWC,IAK/B,kBAAC,SAAD;GACE,KAAKJ;GACL,UAAA;GACA,aAAA;GACA,OAAOK;GACP,WAAU;GACV,OAAOA,IAAU,EAAE,WAAW,aAAa,IAAI,KAAA;EAChD,CAAA,IAED,kBAAC,OAAD;GAAK,WAAU;GACb,UAAA,kBAAC,QAAD;IAAM,WAAU;IACb,UAAAV,EAASW,CAAO;GACb,CAAA;EACH,CAAA,G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ACC,GAAD;KACE,cAAa;KACb,OAAM;KACN,aAAa,GAAGnE,EAAQ,iBAAiB,MAAMA,EAAQ,gBAAgB;KACvE,WAAU;IACX,CAAA,GACD,kBAAC,OAAD;KAAK,WAAU;KACb,UAAA,kBAAC4D,GAAD;MAAQ,MAAK;MAAS,SAASX;MAAQ,UAAUS;MAAjD,UAAA,CACE,kBAACqB,GAAD,EAAO,WAAU,UAAW,CAAA,GAC3BvE,IAAU,aAAa,cAClB;;IACL,CAAA,CACI;GAEX,CAAA;EA4FC;;AAET"}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function ExhibitorFormPage(): import(
|
|
2
|
-
//# sourceMappingURL=ExhibitorFormPage.d.ts.map
|
|
1
|
+
export default function ExhibitorFormPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function ExhibitorsPage(): import(
|
|
2
|
-
//# sourceMappingURL=ExhibitorsPage.d.ts.map
|
|
1
|
+
export default function ExhibitorsPage(): import('react').JSX.Element;
|
|
@@ -19,5 +19,4 @@ export interface LeadCaptureDialogProps {
|
|
|
19
19
|
* `metadata.company` (no first-class column) and `scannedAt` maps to the
|
|
20
20
|
* backend `capturedAt` timestamp.
|
|
21
21
|
*/
|
|
22
|
-
export declare function LeadCaptureDialog({ open, onOpenChange, eventId, exhibitorId, sponsorId, contextLabel, onCreated, }: LeadCaptureDialogProps): import(
|
|
23
|
-
//# sourceMappingURL=LeadCaptureDialog.d.ts.map
|
|
22
|
+
export declare function LeadCaptureDialog({ open, onOpenChange, eventId, exhibitorId, sponsorId, contextLabel, onCreated, }: LeadCaptureDialogProps): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function AnalyticsPage(): import(
|
|
2
|
-
//# sourceMappingURL=AnalyticsPage.d.ts.map
|
|
1
|
+
export default function AnalyticsPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function AttendeeProfilePage(): import(
|
|
2
|
-
//# sourceMappingURL=AttendeeProfilePage.d.ts.map
|
|
1
|
+
export default function AttendeeProfilePage(): import('react').JSX.Element;
|
|
@@ -8,6 +8,5 @@ interface AttendeeRecommendationsProps {
|
|
|
8
8
|
/** Attendees already loaded by the page, used to put names on suggested connections. */
|
|
9
9
|
attendees: AttendeeName[];
|
|
10
10
|
}
|
|
11
|
-
export declare function AttendeeRecommendations({ attendeeId, eventId, attendees }: AttendeeRecommendationsProps): import(
|
|
11
|
+
export declare function AttendeeRecommendations({ attendeeId, eventId, attendees }: AttendeeRecommendationsProps): import('react').JSX.Element;
|
|
12
12
|
export {};
|
|
13
|
-
//# sourceMappingURL=AttendeeRecommendations.d.ts.map
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function CommunicationPage(): import(
|
|
2
|
-
//# sourceMappingURL=CommunicationPage.d.ts.map
|
|
1
|
+
export default function CommunicationPage(): import('react').JSX.Element;
|
|
@@ -11,6 +11,5 @@ interface EntityListSectionProps {
|
|
|
11
11
|
/** Illustration used for the zero-state. Defaults to a generic data illustration. */
|
|
12
12
|
emptyIllustration?: string;
|
|
13
13
|
}
|
|
14
|
-
export declare function EntityListSection({ heading, rows, emptyLabel, emptyIllustration, }: EntityListSectionProps): import(
|
|
14
|
+
export declare function EntityListSection({ heading, rows, emptyLabel, emptyIllustration, }: EntityListSectionProps): import('react').JSX.Element;
|
|
15
15
|
export {};
|
|
16
|
-
//# sourceMappingURL=EntityListSection.d.ts.map
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function EventsPage(): import(
|
|
2
|
-
//# sourceMappingURL=EventsPage.d.ts.map
|
|
1
|
+
export default function EventsPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function IntegrationsPage(): import(
|
|
2
|
-
//# sourceMappingURL=IntegrationsPage.d.ts.map
|
|
1
|
+
export default function IntegrationsPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function NetworkingPage(): import(
|
|
2
|
-
//# sourceMappingURL=NetworkingPage.d.ts.map
|
|
1
|
+
export default function NetworkingPage(): import('react').JSX.Element;
|
|
@@ -4,6 +4,5 @@ interface OperationsHubPageProps {
|
|
|
4
4
|
description: string;
|
|
5
5
|
sectionKeys: SectionKey[];
|
|
6
6
|
}
|
|
7
|
-
export default function OperationsHubPage({ title, description, sectionKeys }: OperationsHubPageProps): import(
|
|
7
|
+
export default function OperationsHubPage({ title, description, sectionKeys }: OperationsHubPageProps): import('react').JSX.Element;
|
|
8
8
|
export {};
|
|
9
|
-
//# sourceMappingURL=OperationsHubPage.d.ts.map
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function RegistrationPage(): import(
|
|
2
|
-
//# sourceMappingURL=RegistrationPage.d.ts.map
|
|
1
|
+
export default function RegistrationPage(): import('react').JSX.Element;
|
|
@@ -31,7 +31,7 @@ function J({ registrationId: e, label: t, onOpenChange: n }) {
|
|
|
31
31
|
}) : /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ w("img", {
|
|
32
32
|
src: s.qrDataUrl,
|
|
33
33
|
alt: `Check-in QR code for ${t}`,
|
|
34
|
-
className: "h-56 w-56 rounded-card border border-border-seam bg-
|
|
34
|
+
className: "h-56 w-56 rounded-card border border-border-seam bg-bg-surface p-2"
|
|
35
35
|
}), /* @__PURE__ */ w("code", {
|
|
36
36
|
className: "max-w-full break-all rounded bg-bg-sunken px-2 py-1 text-xs text-text-secondary",
|
|
37
37
|
children: s.token
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RegistrationPage.js","names":["_Fragment","Badge","BadgeIcon","Badge$1","CheckInQrDialog","useCheckInTokenQuery","registrationId","token","data","ResponsiveDialog","ResponsiveDialogContent","ResponsiveDialogHeader","ResponsiveDialogTitle","ResponsiveDialogDescription","label","loading","error","Fragment","ResponsiveDialogFooter","Button","onOpenChange","REGISTRATION_STATUSES","statusVariant","status","UsageMeter","max","used","pct","SectionCard","GlassCard","icon","title","count","action","RegistrationsSection","pagination","usePagination","useRegistrationsQuery","updateRegistration","useUpdateRegistrationMutation","deleteRegistration","useDeleteRegistrationMutation","qrRegistrationId","setQrRegistrationId","useState","apollo","useApolloClient","downloadingBadgeId","setDownloadingBadgeId","onDownloadBadge","BADGE_PDF_QUERY","downloadBase64Pdf","notify","err","describeError","attendeesData","useAttendeesQuery","ticketsData","useTicketTypesQuery","nameById","useMemo","map","attendee","ticketById","ticket","attendeeLabel","attendeeId","items","total","changeStatus","response","row","mutationSucceeded","onDelete","rowLabel","TicketPlus","ResponsiveTable","formatMoney","IllustratedEmptyState","statusItems","candidate","index","extraItems","QrCode","Badge","ActionMenu","Pagination","qrRow","r","qrLabel","open","AttendeesSection","useEventfullyManaged","deleteAttendee","useDeleteAttendeeMutation","Users","navigate","UserPlus","PromoCodesSection","usePromoCodesQuery","deletePromoCode","useDeletePromoCodeMutation","Tag","describeValidity","RegistrationPage","PagePurpose","EmphasisPanel","GradientText","NextSteps","Megaphone"],"sources":["../../../../src/eventfullymanaged/pages/modules/RegistrationPage.tsx"],"sourcesContent":["import { useApolloClient } from '@apollo/client/react';\nimport { Badge as BadgeIcon, Megaphone, QrCode, Tag, TicketPlus, UserPlus, Users } from 'lucide-react';\nimport {\n Badge,\n Button,\n EmphasisPanel,\n GlassCard,\n GradientText,\n IllustratedEmptyState,\n NextSteps,\n PagePurpose,\n ResponsiveDialog,\n ResponsiveDialogContent,\n ResponsiveDialogDescription,\n ResponsiveDialogFooter,\n ResponsiveDialogHeader,\n ResponsiveDialogTitle,\n ResponsiveTable,\n type ResponsiveTableColumn,\n} from '@burdenoff/fe-libs/ui';\nimport { useMemo, useState } from 'react';\n\nimport {\n BADGE_PDF_QUERY,\n downloadBase64Pdf,\n useAttendeesQuery,\n useCheckInTokenQuery,\n useDeleteAttendeeMutation,\n useDeletePromoCodeMutation,\n useDeleteRegistrationMutation,\n usePromoCodesQuery,\n useRegistrationsQuery,\n useTicketTypesQuery,\n useUpdateRegistrationMutation,\n type AttendeeGql,\n type PromoCodeGql,\n type RegistrationGql,\n} from '../../api/eventApi';\nimport { ActionMenu, type ActionMenuItem } from '../../components/ActionMenu';\nimport { Pagination, usePagination } from '../../components/Pagination';\nimport { useEventfullyManaged } from '../../context/EventfullyManagedContext';\nimport { describeValidity, formatMoney } from '../../lib/format';\nimport { describeError, mutationSucceeded } from '../../lib/mutationResult';\nimport { notify } from '../../lib/toast';\n\n/**\n * BOFF-4330 — displays a registration's signed QR check-in token. Fetched on\n * demand (never persisted client-side) so it always reflects the\n * registration's current signature; a kiosk scans this exact image/token via\n * `eventfullyManagedScanCheckIn`.\n */\nfunction CheckInQrDialog({\n registrationId,\n label,\n onOpenChange,\n}: {\n registrationId: string;\n label: string;\n onOpenChange: (open: boolean) => void;\n}) {\n const { data, loading, error } = useCheckInTokenQuery(registrationId);\n const token = data?.checkInToken;\n\n return (\n <ResponsiveDialog open onOpenChange={onOpenChange}>\n <ResponsiveDialogContent className=\"max-w-sm\">\n <ResponsiveDialogHeader>\n <ResponsiveDialogTitle>Check-in QR</ResponsiveDialogTitle>\n <ResponsiveDialogDescription>\n {label} scans this code at any check-in station to check in — it works even if the station has no connection\n at the moment.\n </ResponsiveDialogDescription>\n </ResponsiveDialogHeader>\n\n <div className=\"flex flex-col items-center gap-3 py-2\">\n {loading ? (\n <p className=\"text-sm text-text-secondary\">Generating…</p>\n ) : error || !token ? (\n <p className=\"text-sm text-status-danger-text\">Could not generate a check-in QR for this registration.</p>\n ) : (\n <>\n <img\n src={token.qrDataUrl}\n alt={`Check-in QR code for ${label}`}\n className=\"h-56 w-56 rounded-card border border-border-seam bg-white p-2\"\n />\n <code className=\"max-w-full break-all rounded bg-bg-sunken px-2 py-1 text-xs text-text-secondary\">\n {token.token}\n </code>\n </>\n )}\n </div>\n\n <ResponsiveDialogFooter>\n <Button type=\"button\" variant=\"outline\" onClick={() => onOpenChange(false)}>\n Close\n </Button>\n </ResponsiveDialogFooter>\n </ResponsiveDialogContent>\n </ResponsiveDialog>\n );\n}\n\nconst REGISTRATION_STATUSES = ['PENDING', 'CONFIRMED', 'WAITLISTED', 'CANCELLED', 'CHECKED_IN'] as const;\n\nfunction statusVariant(status?: string | null): 'default' | 'secondary' | 'destructive' | 'outline' {\n switch ((status ?? '').toUpperCase()) {\n case 'CONFIRMED':\n case 'CHECKED_IN':\n return 'default';\n case 'CANCELLED':\n return 'destructive';\n case 'WAITLISTED':\n return 'outline';\n default:\n return 'secondary';\n }\n}\n\n/** Compact used/max meter for promo redemptions — semantic-token only. */\nfunction UsageMeter({ used, max }: { used: number; max?: number | null }) {\n if (max == null || max <= 0) {\n return <span className=\"text-xs text-text-secondary\">{used} used</span>;\n }\n const pct = Math.min(100, Math.round((used / max) * 100));\n const nearLimit = pct >= 90;\n return (\n <div className=\"min-w-[7rem] space-y-1\">\n <div className=\"flex items-center justify-between text-xs tabular-nums text-text-secondary\">\n <span>\n {used} / {max}\n </span>\n <span className=\"text-text-muted\">{pct}%</span>\n </div>\n <div className=\"h-1.5 w-full overflow-hidden rounded-full bg-bg-sunken\">\n <div\n className={`h-full rounded-full ${nearLimit ? 'bg-status-warning' : 'bg-action-primary-bg'}`}\n style={{ width: `${pct}%` }}\n />\n </div>\n </div>\n );\n}\n\nfunction SectionCard({\n icon,\n title,\n count,\n loading,\n action,\n children,\n}: {\n icon: React.ReactNode;\n title: string;\n count?: number;\n loading?: boolean;\n action?: React.ReactNode;\n children: React.ReactNode;\n}) {\n return (\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-5\">\n <div className=\"flex items-center justify-between gap-3\">\n <div className=\"flex items-center gap-3\">\n <span className=\"flex h-9 w-9 items-center justify-center rounded-input bg-accent-wash text-action-primary\">\n {icon}\n </span>\n <h2 className=\"text-lg font-semibold text-text-primary\">\n {loading ? `Loading ${title.toLowerCase()}…` : title}\n {!loading && count != null ? (\n <span className=\"ml-2 text-sm font-normal text-text-secondary\">({count.toLocaleString()})</span>\n ) : null}\n </h2>\n </div>\n {action}\n </div>\n <div className=\"mt-4\">{children}</div>\n </GlassCard>\n );\n}\n\nfunction RegistrationsSection() {\n const pagination = usePagination({ pageSize: 10 });\n const { data, loading } = useRegistrationsQuery({ limit: pagination.limit, offset: pagination.offset });\n const [updateRegistration] = useUpdateRegistrationMutation();\n const [deleteRegistration] = useDeleteRegistrationMutation();\n // BOFF-4330 — registration id currently showing its check-in QR, if any.\n const [qrRegistrationId, setQrRegistrationId] = useState<string | null>(null);\n // BOFF-4322 — on-demand badge PDF download. A one-off query (not a hook)\n // since it's a rarely-used, heavy payload — same pattern as TimeCampus's\n // invoice PDF download.\n const apollo = useApolloClient();\n const [downloadingBadgeId, setDownloadingBadgeId] = useState<string | null>(null);\n const onDownloadBadge = async (registrationId: string, label: string) => {\n setDownloadingBadgeId(registrationId);\n try {\n const { data, error } = await apollo.query<{ badgePdf: string }>({\n query: BADGE_PDF_QUERY,\n variables: { registrationId },\n fetchPolicy: 'network-only',\n errorPolicy: 'all',\n });\n if (error || !data?.badgePdf) {\n notify.error('Could not generate badge', error?.message ?? 'Please try again.');\n return;\n }\n downloadBase64Pdf(data.badgePdf, `${label.replace(/[^a-z0-9]+/gi, '-')}-badge.pdf`);\n notify.success('Badge ready', `${label}'s badge downloaded.`);\n } catch (err) {\n notify.error('Could not generate badge', describeError(err));\n } finally {\n setDownloadingBadgeId(null);\n }\n };\n\n // Resolve attendee display names and ticket-type names (the registrations query\n // returns only ids). Pull a page of each to build id -> label lookups so rows\n // read \"Ada Lovelace\" / \"VIP\" instead of raw UUIDs.\n const { data: attendeesData } = useAttendeesQuery({ limit: 200, offset: 0 });\n const { data: ticketsData } = useTicketTypesQuery({ limit: 200, offset: 0 });\n const nameById = useMemo(() => {\n const map = new Map<string, string>();\n for (const attendee of attendeesData?.attendees.items ?? []) {\n if (attendee.id && attendee.fullName) map.set(attendee.id, attendee.fullName);\n }\n return map;\n }, [attendeesData]);\n const ticketById = useMemo(() => {\n const map = new Map<string, string>();\n for (const ticket of ticketsData?.ticketTypes.items ?? []) {\n if (ticket.id && ticket.name) map.set(ticket.id, ticket.name);\n }\n return map;\n }, [ticketsData]);\n const attendeeLabel = (attendeeId?: string | null): string | null => {\n if (!attendeeId) return null;\n return nameById.get(attendeeId) ?? `Attendee ${attendeeId.slice(0, 8)}…`;\n };\n\n const items = useMemo<RegistrationGql[]>(() => data?.registrations.items ?? [], [data]);\n const total = data?.registrations.total ?? 0;\n\n const changeStatus = async (row: RegistrationGql, status: string) => {\n const response = await updateRegistration({\n variables: {\n id: row.id,\n input: {\n eventId: row.eventId,\n attendeeId: row.attendeeId ?? null,\n ticketTypeId: row.ticketTypeId ?? null,\n quantity: row.quantity,\n currency: row.currency,\n totalAmount: row.totalAmount ?? null,\n status,\n },\n },\n });\n if (!mutationSucceeded(response, response.data?.updateRegistration?.id, 'Could not update registration')) {\n return;\n }\n notify.success('Registration updated', `Status set to ${status}`);\n };\n\n const onDelete = async (row: RegistrationGql, label: string) => {\n const response = await deleteRegistration({ variables: { id: row.id } });\n if (response.error) {\n notify.error('Could not delete registration', response.error.message);\n throw response.error;\n }\n if (!response.data?.deleteRegistration) {\n notify.error('Could not delete registration', 'The server did not confirm the change.');\n throw new Error('delete-unconfirmed');\n }\n notify.success('Registration deleted', label);\n };\n\n const rowLabel = (row: RegistrationGql) => attendeeLabel(row.attendeeId) ?? `Registration ${row.id}`;\n\n const columns: ResponsiveTableColumn<RegistrationGql>[] = [\n {\n key: 'name',\n header: 'Name',\n priority: 'primary',\n cell: (row) => <span className=\"font-medium text-text-primary\">{rowLabel(row)}</span>,\n },\n {\n key: 'ticket',\n header: 'Ticket Type',\n mobileLabel: 'Ticket',\n cell: (row) => (\n <span className=\"text-text-secondary\">\n {row.ticketTypeId ? (ticketById.get(row.ticketTypeId) ?? '—') : '—'}\n </span>\n ),\n },\n {\n key: 'quantity',\n header: 'Qty',\n mobileLabel: 'Quantity',\n priority: 'secondary',\n cell: (row) => <span className=\"tabular-nums text-text-secondary\">{row.quantity}</span>,\n },\n {\n key: 'amount',\n header: 'Amount',\n cell: (row) => (\n <span className=\"tabular-nums text-text-primary\">\n {row.totalAmount ? formatMoney(Number(row.totalAmount), row.currency) : '—'}\n </span>\n ),\n },\n {\n key: 'status',\n header: 'Status',\n priority: 'primary',\n cell: (row) => <Badge variant={statusVariant(row.status)}>{row.status ?? 'UNKNOWN'}</Badge>,\n },\n ];\n\n return (\n <SectionCard icon={<TicketPlus className=\"h-4 w-4\" />} title=\"Registrations\" count={total} loading={loading}>\n <ResponsiveTable\n columns={columns}\n data={items}\n rowKey={(row) => row.id}\n emptyState={\n loading ? null : (\n <IllustratedEmptyState\n illustration=\"empty-data\"\n title=\"No registrations yet.\"\n description=\"Register your first attendee to start tracking sign-ups.\"\n />\n )\n }\n rowActions={(row) => {\n const label = rowLabel(row);\n const statusItems: ActionMenuItem[] = REGISTRATION_STATUSES.filter(\n (candidate) => candidate !== (row.status ?? '').toUpperCase()\n ).map((candidate, index) => ({\n key: candidate,\n label: `Set ${candidate.replace('_', ' ').toLowerCase()}`,\n onSelect: () => void changeStatus(row, candidate),\n separatorBefore: index === 0,\n }));\n const extraItems: ActionMenuItem[] = [\n {\n key: 'view-qr',\n label: 'View check-in QR',\n icon: QrCode,\n onSelect: () => setQrRegistrationId(row.id),\n },\n {\n key: 'download-badge',\n label: downloadingBadgeId === row.id ? 'Generating badge…' : 'Download badge',\n icon: BadgeIcon,\n disabled: downloadingBadgeId === row.id,\n onSelect: () => void onDownloadBadge(row.id, label),\n },\n ...statusItems,\n ];\n return (\n <ActionMenu\n ariaLabel=\"Registration actions\"\n entityName={label}\n deleteLabel=\"Delete registration\"\n extraItems={extraItems}\n onDelete={() => onDelete(row, label)}\n />\n );\n }}\n />\n <Pagination\n offset={pagination.offset}\n limit={pagination.limit}\n loadedCount={items.length}\n total={total}\n onPrev={pagination.prevPage}\n onNext={pagination.nextPage}\n itemLabel=\"registrations\"\n loading={loading}\n />\n {qrRegistrationId\n ? (() => {\n const qrRow = items.find((r) => r.id === qrRegistrationId);\n const qrLabel = qrRow ? rowLabel(qrRow) : `Registration ${qrRegistrationId}`;\n return (\n <CheckInQrDialog\n registrationId={qrRegistrationId}\n label={qrLabel}\n onOpenChange={(open) => {\n if (!open) setQrRegistrationId(null);\n }}\n />\n );\n })()\n : null}\n </SectionCard>\n );\n}\n\nfunction AttendeesSection() {\n const { navigate } = useEventfullyManaged();\n const pagination = usePagination({ pageSize: 10 });\n const { data, loading } = useAttendeesQuery({ limit: pagination.limit, offset: pagination.offset });\n const [deleteAttendee] = useDeleteAttendeeMutation();\n\n const items = useMemo<AttendeeGql[]>(() => data?.attendees.items ?? [], [data]);\n const total = data?.attendees.total ?? 0;\n\n const onDelete = async (row: AttendeeGql) => {\n const response = await deleteAttendee({ variables: { id: row.id } });\n if (response.error) {\n notify.error('Could not delete attendee', response.error.message);\n throw response.error;\n }\n if (!response.data?.deleteAttendee) {\n notify.error('Could not delete attendee', 'The server did not confirm the change.');\n throw new Error('delete-unconfirmed');\n }\n notify.success('Attendee deleted', row.fullName);\n };\n\n const columns: ResponsiveTableColumn<AttendeeGql>[] = [\n {\n key: 'name',\n header: 'Name',\n priority: 'primary',\n cell: (row) => <span className=\"font-medium text-text-primary\">{row.fullName}</span>,\n },\n {\n key: 'email',\n header: 'Email',\n priority: 'primary',\n cell: (row) => <span className=\"text-text-secondary\">{row.email}</span>,\n },\n {\n key: 'company',\n header: 'Company',\n cell: (row) => (\n <span className=\"text-text-secondary\">{[row.company, row.role].filter(Boolean).join(' · ') || '—'}</span>\n ),\n },\n ];\n\n return (\n <SectionCard\n icon={<Users className=\"h-4 w-4\" />}\n title=\"Attendees\"\n count={total}\n loading={loading}\n action={\n <Button type=\"button\" size=\"sm\" variant=\"outline\" onClick={() => navigate('/registration/attendees/create')}>\n <UserPlus className=\"h-4 w-4\" />\n Add attendee\n </Button>\n }\n >\n <ResponsiveTable\n columns={columns}\n data={items}\n rowKey={(row) => row.id}\n emptyState={\n loading ? null : (\n <IllustratedEmptyState\n illustration=\"empty-people\"\n title=\"No attendees yet.\"\n description=\"Add attendees or register one to build your guest list.\"\n />\n )\n }\n rowActions={(row) => (\n <ActionMenu\n ariaLabel={`Actions for ${row.fullName}`}\n entityName={row.fullName}\n deleteLabel=\"Delete attendee\"\n onView={() => navigate(`/attendees/${row.id}/profile`)}\n onEdit={() => navigate(`/registration/attendees/${row.id}/edit`)}\n onDelete={() => onDelete(row)}\n />\n )}\n />\n <Pagination\n offset={pagination.offset}\n limit={pagination.limit}\n loadedCount={items.length}\n total={total}\n onPrev={pagination.prevPage}\n onNext={pagination.nextPage}\n itemLabel=\"attendees\"\n loading={loading}\n />\n </SectionCard>\n );\n}\n\nfunction PromoCodesSection() {\n const { navigate } = useEventfullyManaged();\n const pagination = usePagination({ pageSize: 10 });\n const { data, loading } = usePromoCodesQuery({ limit: pagination.limit, offset: pagination.offset });\n const [deletePromoCode] = useDeletePromoCodeMutation();\n\n const items = useMemo<PromoCodeGql[]>(() => data?.promoCodes.items ?? [], [data]);\n const total = data?.promoCodes.total ?? 0;\n\n const onDelete = async (row: PromoCodeGql) => {\n const response = await deletePromoCode({ variables: { id: row.id } });\n if (response.error) {\n notify.error('Could not delete promo code', response.error.message);\n throw response.error;\n }\n notify.success('Promo code deleted', row.code);\n };\n\n const columns: ResponsiveTableColumn<PromoCodeGql>[] = [\n {\n key: 'code',\n header: 'Code',\n priority: 'primary',\n cell: (row) => <span className=\"font-mono text-sm font-semibold text-text-primary\">{row.code}</span>,\n },\n {\n key: 'discount',\n header: 'Discount',\n priority: 'primary',\n cell: (row) => (\n <span className=\"flex items-center gap-2\">\n <Badge variant=\"secondary\">{row.discountType === 'PERCENT' ? 'PERCENT' : 'FIXED'}</Badge>\n <span className=\"text-sm text-text-secondary\">\n {row.discountType === 'PERCENT' ? `${row.discountValue}%` : row.discountValue}\n </span>\n </span>\n ),\n },\n {\n key: 'usage',\n header: 'Usage',\n cell: (row) => <UsageMeter used={row.usedCount} max={row.maxUses} />,\n },\n {\n key: 'validity',\n header: 'Validity',\n cell: (row) => (\n <span className=\"whitespace-nowrap text-sm text-text-secondary\">\n {describeValidity(row.startsAt ?? '', row.endsAt ?? '')}\n </span>\n ),\n },\n {\n key: 'status',\n header: 'Status',\n priority: 'secondary',\n cell: (row) => (\n <Badge variant={row.isActive ? 'default' : 'secondary'}>{row.isActive ? 'Active' : 'Inactive'}</Badge>\n ),\n },\n ];\n\n return (\n <SectionCard\n icon={<Tag className=\"h-4 w-4\" />}\n title=\"Promo Codes\"\n count={total}\n loading={loading}\n action={\n <Button type=\"button\" size=\"sm\" variant=\"outline\" onClick={() => navigate('/registration/promo-codes/create')}>\n <TicketPlus className=\"h-4 w-4\" />\n New promo code\n </Button>\n }\n >\n <ResponsiveTable\n columns={columns}\n data={items}\n rowKey={(row) => row.id}\n emptyState={\n loading ? null : (\n <IllustratedEmptyState\n illustration=\"empty-data\"\n title=\"No promo codes yet.\"\n description=\"Create a code to offer discounts and drive registrations.\"\n />\n )\n }\n rowActions={(row) => (\n <ActionMenu\n ariaLabel={`Actions for ${row.code}`}\n entityName={row.code}\n onEdit={() => navigate(`/registration/promo-codes/${row.id}/edit`)}\n onDelete={() => onDelete(row)}\n />\n )}\n />\n <Pagination\n offset={pagination.offset}\n limit={pagination.limit}\n loadedCount={items.length}\n total={total}\n onPrev={pagination.prevPage}\n onNext={pagination.nextPage}\n itemLabel=\"promo codes\"\n loading={loading}\n />\n </SectionCard>\n );\n}\n\nexport default function RegistrationPage() {\n const { navigate } = useEventfullyManaged();\n\n return (\n <div className=\"space-y-6 p-6\">\n <PagePurpose>\n This is where you see who is coming. Registrations are the paid or confirmed sign-ups, attendees are the people\n behind them, and promo codes let you offer discounts. Register attendees, edit their details, change a\n registration's status, and manage discount codes — all backed by live GraphQL APIs.\n </PagePurpose>\n\n <EmphasisPanel>\n <div className=\"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between\">\n <div>\n <h1 className=\"text-2xl font-bold text-text-primary\">\n <GradientText>Registration</GradientText>\n </h1>\n <p className=\"mt-1 text-sm text-text-secondary\">\n Track registrations, attendees, and promo codes with backend persistence.\n </p>\n </div>\n <div className=\"flex flex-wrap gap-2\">\n <Button type=\"button\" onClick={() => navigate('/registration/register')}>\n <TicketPlus className=\"h-4 w-4\" />\n Register attendee\n </Button>\n <Button type=\"button\" variant=\"outline\" onClick={() => navigate('/registration/attendees/create')}>\n <UserPlus className=\"h-4 w-4\" />\n Add attendee\n </Button>\n <Button type=\"button\" variant=\"outline\" onClick={() => navigate('/registration/promo-codes/create')}>\n <Tag className=\"h-4 w-4\" />\n New promo code\n </Button>\n </div>\n </div>\n </EmphasisPanel>\n\n <RegistrationsSection />\n <AttendeesSection />\n <PromoCodesSection />\n\n <NextSteps\n storageKey=\"eventfullymanaged-registration\"\n title=\"Grow your registrations\"\n steps={[\n {\n id: 'view-networking',\n label: 'Set up attendee networking',\n description: 'Turn registered attendees into connections with matchmaking.',\n icon: <Users className=\"h-4 w-4\" />,\n onClick: () => navigate('/networking'),\n },\n {\n id: 'promote',\n label: 'Promote with a campaign',\n description: 'Send reminders and offers to drive more sign-ups.',\n icon: <Megaphone className=\"h-4 w-4\" />,\n onClick: () => navigate('/communication'),\n },\n {\n id: 'analyze',\n label: 'Snapshot your numbers',\n description: 'Capture an analytics snapshot to track registration trends.',\n icon: <Tag className=\"h-4 w-4\" />,\n onClick: () => navigate('/analytics'),\n },\n ]}\n />\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;AAmDA,SAASI,EAAgB,EACvB,mBACA,UACA,mBAKC;CACD,IAAM,EAAE,SAAM,YAAS,aAAUC,EAAqBC,CAAc,GAC9DC,IAAQC,GAAM;CAEpB,OACE,kBAACC,GAAD;EAAkB,MAAA;EAAmB;EACnC,UAAA,kBAACC,GAAD;GAAyB,WAAU;GAAnC,UAAA;IACE,kBAACC,GAAD,EAAA,UAAA,CACE,kBAACC,GAAD,EAAA,UAAuB,cAAkC,CAAA,GACzD,kBAACC,GAAD,EAAA,UAAA,CACGC,GAAM,sHAEoB,E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badge","BadgeIcon","Badge$1","CheckInQrDialog","useCheckInTokenQuery","registrationId","token","data","ResponsiveDialog","ResponsiveDialogContent","ResponsiveDialogHeader","ResponsiveDialogTitle","ResponsiveDialogDescription","label","loading","error","Fragment","ResponsiveDialogFooter","Button","onOpenChange","REGISTRATION_STATUSES","statusVariant","status","UsageMeter","max","used","pct","SectionCard","GlassCard","icon","title","count","action","RegistrationsSection","pagination","usePagination","useRegistrationsQuery","updateRegistration","useUpdateRegistrationMutation","deleteRegistration","useDeleteRegistrationMutation","qrRegistrationId","setQrRegistrationId","useState","apollo","useApolloClient","downloadingBadgeId","setDownloadingBadgeId","onDownloadBadge","BADGE_PDF_QUERY","downloadBase64Pdf","notify","err","describeError","attendeesData","useAttendeesQuery","ticketsData","useTicketTypesQuery","nameById","useMemo","map","attendee","ticketById","ticket","attendeeLabel","attendeeId","items","total","changeStatus","response","row","mutationSucceeded","onDelete","rowLabel","TicketPlus","ResponsiveTable","formatMoney","IllustratedEmptyState","statusItems","candidate","index","extraItems","QrCode","Badge","ActionMenu","Pagination","qrRow","r","qrLabel","open","AttendeesSection","useEventfullyManaged","deleteAttendee","useDeleteAttendeeMutation","Users","navigate","UserPlus","PromoCodesSection","usePromoCodesQuery","deletePromoCode","useDeletePromoCodeMutation","Tag","describeValidity","RegistrationPage","PagePurpose","EmphasisPanel","GradientText","NextSteps","Megaphone"],"sources":["../../../../src/eventfullymanaged/pages/modules/RegistrationPage.tsx"],"sourcesContent":["import { useApolloClient } from '@apollo/client/react';\nimport { Badge as BadgeIcon, Megaphone, QrCode, Tag, TicketPlus, UserPlus, Users } from 'lucide-react';\nimport {\n Badge,\n Button,\n EmphasisPanel,\n GlassCard,\n GradientText,\n IllustratedEmptyState,\n NextSteps,\n PagePurpose,\n ResponsiveDialog,\n ResponsiveDialogContent,\n ResponsiveDialogDescription,\n ResponsiveDialogFooter,\n ResponsiveDialogHeader,\n ResponsiveDialogTitle,\n ResponsiveTable,\n type ResponsiveTableColumn,\n} from '@burdenoff/fe-libs/ui';\nimport { useMemo, useState } from 'react';\n\nimport {\n BADGE_PDF_QUERY,\n downloadBase64Pdf,\n useAttendeesQuery,\n useCheckInTokenQuery,\n useDeleteAttendeeMutation,\n useDeletePromoCodeMutation,\n useDeleteRegistrationMutation,\n usePromoCodesQuery,\n useRegistrationsQuery,\n useTicketTypesQuery,\n useUpdateRegistrationMutation,\n type AttendeeGql,\n type PromoCodeGql,\n type RegistrationGql,\n} from '../../api/eventApi';\nimport { ActionMenu, type ActionMenuItem } from '../../components/ActionMenu';\nimport { Pagination, usePagination } from '../../components/Pagination';\nimport { useEventfullyManaged } from '../../context/EventfullyManagedContext';\nimport { describeValidity, formatMoney } from '../../lib/format';\nimport { describeError, mutationSucceeded } from '../../lib/mutationResult';\nimport { notify } from '../../lib/toast';\n\n/**\n * BOFF-4330 — displays a registration's signed QR check-in token. Fetched on\n * demand (never persisted client-side) so it always reflects the\n * registration's current signature; a kiosk scans this exact image/token via\n * `eventfullyManagedScanCheckIn`.\n */\nfunction CheckInQrDialog({\n registrationId,\n label,\n onOpenChange,\n}: {\n registrationId: string;\n label: string;\n onOpenChange: (open: boolean) => void;\n}) {\n const { data, loading, error } = useCheckInTokenQuery(registrationId);\n const token = data?.checkInToken;\n\n return (\n <ResponsiveDialog open onOpenChange={onOpenChange}>\n <ResponsiveDialogContent className=\"max-w-sm\">\n <ResponsiveDialogHeader>\n <ResponsiveDialogTitle>Check-in QR</ResponsiveDialogTitle>\n <ResponsiveDialogDescription>\n {label} scans this code at any check-in station to check in — it works even if the station has no connection\n at the moment.\n </ResponsiveDialogDescription>\n </ResponsiveDialogHeader>\n\n <div className=\"flex flex-col items-center gap-3 py-2\">\n {loading ? (\n <p className=\"text-sm text-text-secondary\">Generating…</p>\n ) : error || !token ? (\n <p className=\"text-sm text-status-danger-text\">Could not generate a check-in QR for this registration.</p>\n ) : (\n <>\n <img\n src={token.qrDataUrl}\n alt={`Check-in QR code for ${label}`}\n className=\"h-56 w-56 rounded-card border border-border-seam bg-bg-surface p-2\"\n />\n <code className=\"max-w-full break-all rounded bg-bg-sunken px-2 py-1 text-xs text-text-secondary\">\n {token.token}\n </code>\n </>\n )}\n </div>\n\n <ResponsiveDialogFooter>\n <Button type=\"button\" variant=\"outline\" onClick={() => onOpenChange(false)}>\n Close\n </Button>\n </ResponsiveDialogFooter>\n </ResponsiveDialogContent>\n </ResponsiveDialog>\n );\n}\n\nconst REGISTRATION_STATUSES = ['PENDING', 'CONFIRMED', 'WAITLISTED', 'CANCELLED', 'CHECKED_IN'] as const;\n\nfunction statusVariant(status?: string | null): 'default' | 'secondary' | 'destructive' | 'outline' {\n switch ((status ?? '').toUpperCase()) {\n case 'CONFIRMED':\n case 'CHECKED_IN':\n return 'default';\n case 'CANCELLED':\n return 'destructive';\n case 'WAITLISTED':\n return 'outline';\n default:\n return 'secondary';\n }\n}\n\n/** Compact used/max meter for promo redemptions — semantic-token only. */\nfunction UsageMeter({ used, max }: { used: number; max?: number | null }) {\n if (max == null || max <= 0) {\n return <span className=\"text-xs text-text-secondary\">{used} used</span>;\n }\n const pct = Math.min(100, Math.round((used / max) * 100));\n const nearLimit = pct >= 90;\n return (\n <div className=\"min-w-[7rem] space-y-1\">\n <div className=\"flex items-center justify-between text-xs tabular-nums text-text-secondary\">\n <span>\n {used} / {max}\n </span>\n <span className=\"text-text-muted\">{pct}%</span>\n </div>\n <div className=\"h-1.5 w-full overflow-hidden rounded-full bg-bg-sunken\">\n <div\n className={`h-full rounded-full ${nearLimit ? 'bg-status-warning' : 'bg-action-primary-bg'}`}\n style={{ width: `${pct}%` }}\n />\n </div>\n </div>\n );\n}\n\nfunction SectionCard({\n icon,\n title,\n count,\n loading,\n action,\n children,\n}: {\n icon: React.ReactNode;\n title: string;\n count?: number;\n loading?: boolean;\n action?: React.ReactNode;\n children: React.ReactNode;\n}) {\n return (\n <GlassCard treatment=\"plain\" className=\"border-border-seam p-5\">\n <div className=\"flex items-center justify-between gap-3\">\n <div className=\"flex items-center gap-3\">\n <span className=\"flex h-9 w-9 items-center justify-center rounded-input bg-accent-wash text-action-primary\">\n {icon}\n </span>\n <h2 className=\"text-lg font-semibold text-text-primary\">\n {loading ? `Loading ${title.toLowerCase()}…` : title}\n {!loading && count != null ? (\n <span className=\"ml-2 text-sm font-normal text-text-secondary\">({count.toLocaleString()})</span>\n ) : null}\n </h2>\n </div>\n {action}\n </div>\n <div className=\"mt-4\">{children}</div>\n </GlassCard>\n );\n}\n\nfunction RegistrationsSection() {\n const pagination = usePagination({ pageSize: 10 });\n const { data, loading } = useRegistrationsQuery({ limit: pagination.limit, offset: pagination.offset });\n const [updateRegistration] = useUpdateRegistrationMutation();\n const [deleteRegistration] = useDeleteRegistrationMutation();\n // BOFF-4330 — registration id currently showing its check-in QR, if any.\n const [qrRegistrationId, setQrRegistrationId] = useState<string | null>(null);\n // BOFF-4322 — on-demand badge PDF download. A one-off query (not a hook)\n // since it's a rarely-used, heavy payload — same pattern as TimeCampus's\n // invoice PDF download.\n const apollo = useApolloClient();\n const [downloadingBadgeId, setDownloadingBadgeId] = useState<string | null>(null);\n const onDownloadBadge = async (registrationId: string, label: string) => {\n setDownloadingBadgeId(registrationId);\n try {\n const { data, error } = await apollo.query<{ badgePdf: string }>({\n query: BADGE_PDF_QUERY,\n variables: { registrationId },\n fetchPolicy: 'network-only',\n errorPolicy: 'all',\n });\n if (error || !data?.badgePdf) {\n notify.error('Could not generate badge', error?.message ?? 'Please try again.');\n return;\n }\n downloadBase64Pdf(data.badgePdf, `${label.replace(/[^a-z0-9]+/gi, '-')}-badge.pdf`);\n notify.success('Badge ready', `${label}'s badge downloaded.`);\n } catch (err) {\n notify.error('Could not generate badge', describeError(err));\n } finally {\n setDownloadingBadgeId(null);\n }\n };\n\n // Resolve attendee display names and ticket-type names (the registrations query\n // returns only ids). Pull a page of each to build id -> label lookups so rows\n // read \"Ada Lovelace\" / \"VIP\" instead of raw UUIDs.\n const { data: attendeesData } = useAttendeesQuery({ limit: 200, offset: 0 });\n const { data: ticketsData } = useTicketTypesQuery({ limit: 200, offset: 0 });\n const nameById = useMemo(() => {\n const map = new Map<string, string>();\n for (const attendee of attendeesData?.attendees.items ?? []) {\n if (attendee.id && attendee.fullName) map.set(attendee.id, attendee.fullName);\n }\n return map;\n }, [attendeesData]);\n const ticketById = useMemo(() => {\n const map = new Map<string, string>();\n for (const ticket of ticketsData?.ticketTypes.items ?? []) {\n if (ticket.id && ticket.name) map.set(ticket.id, ticket.name);\n }\n return map;\n }, [ticketsData]);\n const attendeeLabel = (attendeeId?: string | null): string | null => {\n if (!attendeeId) return null;\n return nameById.get(attendeeId) ?? `Attendee ${attendeeId.slice(0, 8)}…`;\n };\n\n const items = useMemo<RegistrationGql[]>(() => data?.registrations.items ?? [], [data]);\n const total = data?.registrations.total ?? 0;\n\n const changeStatus = async (row: RegistrationGql, status: string) => {\n const response = await updateRegistration({\n variables: {\n id: row.id,\n input: {\n eventId: row.eventId,\n attendeeId: row.attendeeId ?? null,\n ticketTypeId: row.ticketTypeId ?? null,\n quantity: row.quantity,\n currency: row.currency,\n totalAmount: row.totalAmount ?? null,\n status,\n },\n },\n });\n if (!mutationSucceeded(response, response.data?.updateRegistration?.id, 'Could not update registration')) {\n return;\n }\n notify.success('Registration updated', `Status set to ${status}`);\n };\n\n const onDelete = async (row: RegistrationGql, label: string) => {\n const response = await deleteRegistration({ variables: { id: row.id } });\n if (response.error) {\n notify.error('Could not delete registration', response.error.message);\n throw response.error;\n }\n if (!response.data?.deleteRegistration) {\n notify.error('Could not delete registration', 'The server did not confirm the change.');\n throw new Error('delete-unconfirmed');\n }\n notify.success('Registration deleted', label);\n };\n\n const rowLabel = (row: RegistrationGql) => attendeeLabel(row.attendeeId) ?? `Registration ${row.id}`;\n\n const columns: ResponsiveTableColumn<RegistrationGql>[] = [\n {\n key: 'name',\n header: 'Name',\n priority: 'primary',\n cell: (row) => <span className=\"font-medium text-text-primary\">{rowLabel(row)}</span>,\n },\n {\n key: 'ticket',\n header: 'Ticket Type',\n mobileLabel: 'Ticket',\n cell: (row) => (\n <span className=\"text-text-secondary\">\n {row.ticketTypeId ? (ticketById.get(row.ticketTypeId) ?? '—') : '—'}\n </span>\n ),\n },\n {\n key: 'quantity',\n header: 'Qty',\n mobileLabel: 'Quantity',\n priority: 'secondary',\n cell: (row) => <span className=\"tabular-nums text-text-secondary\">{row.quantity}</span>,\n },\n {\n key: 'amount',\n header: 'Amount',\n cell: (row) => (\n <span className=\"tabular-nums text-text-primary\">\n {row.totalAmount ? formatMoney(Number(row.totalAmount), row.currency) : '—'}\n </span>\n ),\n },\n {\n key: 'status',\n header: 'Status',\n priority: 'primary',\n cell: (row) => <Badge variant={statusVariant(row.status)}>{row.status ?? 'UNKNOWN'}</Badge>,\n },\n ];\n\n return (\n <SectionCard icon={<TicketPlus className=\"h-4 w-4\" />} title=\"Registrations\" count={total} loading={loading}>\n <ResponsiveTable\n columns={columns}\n data={items}\n rowKey={(row) => row.id}\n emptyState={\n loading ? null : (\n <IllustratedEmptyState\n illustration=\"empty-data\"\n title=\"No registrations yet.\"\n description=\"Register your first attendee to start tracking sign-ups.\"\n />\n )\n }\n rowActions={(row) => {\n const label = rowLabel(row);\n const statusItems: ActionMenuItem[] = REGISTRATION_STATUSES.filter(\n (candidate) => candidate !== (row.status ?? '').toUpperCase()\n ).map((candidate, index) => ({\n key: candidate,\n label: `Set ${candidate.replace('_', ' ').toLowerCase()}`,\n onSelect: () => void changeStatus(row, candidate),\n separatorBefore: index === 0,\n }));\n const extraItems: ActionMenuItem[] = [\n {\n key: 'view-qr',\n label: 'View check-in QR',\n icon: QrCode,\n onSelect: () => setQrRegistrationId(row.id),\n },\n {\n key: 'download-badge',\n label: downloadingBadgeId === row.id ? 'Generating badge…' : 'Download badge',\n icon: BadgeIcon,\n disabled: downloadingBadgeId === row.id,\n onSelect: () => void onDownloadBadge(row.id, label),\n },\n ...statusItems,\n ];\n return (\n <ActionMenu\n ariaLabel=\"Registration actions\"\n entityName={label}\n deleteLabel=\"Delete registration\"\n extraItems={extraItems}\n onDelete={() => onDelete(row, label)}\n />\n );\n }}\n />\n <Pagination\n offset={pagination.offset}\n limit={pagination.limit}\n loadedCount={items.length}\n total={total}\n onPrev={pagination.prevPage}\n onNext={pagination.nextPage}\n itemLabel=\"registrations\"\n loading={loading}\n />\n {qrRegistrationId\n ? (() => {\n const qrRow = items.find((r) => r.id === qrRegistrationId);\n const qrLabel = qrRow ? rowLabel(qrRow) : `Registration ${qrRegistrationId}`;\n return (\n <CheckInQrDialog\n registrationId={qrRegistrationId}\n label={qrLabel}\n onOpenChange={(open) => {\n if (!open) setQrRegistrationId(null);\n }}\n />\n );\n })()\n : null}\n </SectionCard>\n );\n}\n\nfunction AttendeesSection() {\n const { navigate } = useEventfullyManaged();\n const pagination = usePagination({ pageSize: 10 });\n const { data, loading } = useAttendeesQuery({ limit: pagination.limit, offset: pagination.offset });\n const [deleteAttendee] = useDeleteAttendeeMutation();\n\n const items = useMemo<AttendeeGql[]>(() => data?.attendees.items ?? [], [data]);\n const total = data?.attendees.total ?? 0;\n\n const onDelete = async (row: AttendeeGql) => {\n const response = await deleteAttendee({ variables: { id: row.id } });\n if (response.error) {\n notify.error('Could not delete attendee', response.error.message);\n throw response.error;\n }\n if (!response.data?.deleteAttendee) {\n notify.error('Could not delete attendee', 'The server did not confirm the change.');\n throw new Error('delete-unconfirmed');\n }\n notify.success('Attendee deleted', row.fullName);\n };\n\n const columns: ResponsiveTableColumn<AttendeeGql>[] = [\n {\n key: 'name',\n header: 'Name',\n priority: 'primary',\n cell: (row) => <span className=\"font-medium text-text-primary\">{row.fullName}</span>,\n },\n {\n key: 'email',\n header: 'Email',\n priority: 'primary',\n cell: (row) => <span className=\"text-text-secondary\">{row.email}</span>,\n },\n {\n key: 'company',\n header: 'Company',\n cell: (row) => (\n <span className=\"text-text-secondary\">{[row.company, row.role].filter(Boolean).join(' · ') || '—'}</span>\n ),\n },\n ];\n\n return (\n <SectionCard\n icon={<Users className=\"h-4 w-4\" />}\n title=\"Attendees\"\n count={total}\n loading={loading}\n action={\n <Button type=\"button\" size=\"sm\" variant=\"outline\" onClick={() => navigate('/registration/attendees/create')}>\n <UserPlus className=\"h-4 w-4\" />\n Add attendee\n </Button>\n }\n >\n <ResponsiveTable\n columns={columns}\n data={items}\n rowKey={(row) => row.id}\n emptyState={\n loading ? null : (\n <IllustratedEmptyState\n illustration=\"empty-people\"\n title=\"No attendees yet.\"\n description=\"Add attendees or register one to build your guest list.\"\n />\n )\n }\n rowActions={(row) => (\n <ActionMenu\n ariaLabel={`Actions for ${row.fullName}`}\n entityName={row.fullName}\n deleteLabel=\"Delete attendee\"\n onView={() => navigate(`/attendees/${row.id}/profile`)}\n onEdit={() => navigate(`/registration/attendees/${row.id}/edit`)}\n onDelete={() => onDelete(row)}\n />\n )}\n />\n <Pagination\n offset={pagination.offset}\n limit={pagination.limit}\n loadedCount={items.length}\n total={total}\n onPrev={pagination.prevPage}\n onNext={pagination.nextPage}\n itemLabel=\"attendees\"\n loading={loading}\n />\n </SectionCard>\n );\n}\n\nfunction PromoCodesSection() {\n const { navigate } = useEventfullyManaged();\n const pagination = usePagination({ pageSize: 10 });\n const { data, loading } = usePromoCodesQuery({ limit: pagination.limit, offset: pagination.offset });\n const [deletePromoCode] = useDeletePromoCodeMutation();\n\n const items = useMemo<PromoCodeGql[]>(() => data?.promoCodes.items ?? [], [data]);\n const total = data?.promoCodes.total ?? 0;\n\n const onDelete = async (row: PromoCodeGql) => {\n const response = await deletePromoCode({ variables: { id: row.id } });\n if (response.error) {\n notify.error('Could not delete promo code', response.error.message);\n throw response.error;\n }\n notify.success('Promo code deleted', row.code);\n };\n\n const columns: ResponsiveTableColumn<PromoCodeGql>[] = [\n {\n key: 'code',\n header: 'Code',\n priority: 'primary',\n cell: (row) => <span className=\"font-mono text-sm font-semibold text-text-primary\">{row.code}</span>,\n },\n {\n key: 'discount',\n header: 'Discount',\n priority: 'primary',\n cell: (row) => (\n <span className=\"flex items-center gap-2\">\n <Badge variant=\"secondary\">{row.discountType === 'PERCENT' ? 'PERCENT' : 'FIXED'}</Badge>\n <span className=\"text-sm text-text-secondary\">\n {row.discountType === 'PERCENT' ? `${row.discountValue}%` : row.discountValue}\n </span>\n </span>\n ),\n },\n {\n key: 'usage',\n header: 'Usage',\n cell: (row) => <UsageMeter used={row.usedCount} max={row.maxUses} />,\n },\n {\n key: 'validity',\n header: 'Validity',\n cell: (row) => (\n <span className=\"whitespace-nowrap text-sm text-text-secondary\">\n {describeValidity(row.startsAt ?? '', row.endsAt ?? '')}\n </span>\n ),\n },\n {\n key: 'status',\n header: 'Status',\n priority: 'secondary',\n cell: (row) => (\n <Badge variant={row.isActive ? 'default' : 'secondary'}>{row.isActive ? 'Active' : 'Inactive'}</Badge>\n ),\n },\n ];\n\n return (\n <SectionCard\n icon={<Tag className=\"h-4 w-4\" />}\n title=\"Promo Codes\"\n count={total}\n loading={loading}\n action={\n <Button type=\"button\" size=\"sm\" variant=\"outline\" onClick={() => navigate('/registration/promo-codes/create')}>\n <TicketPlus className=\"h-4 w-4\" />\n New promo code\n </Button>\n }\n >\n <ResponsiveTable\n columns={columns}\n data={items}\n rowKey={(row) => row.id}\n emptyState={\n loading ? null : (\n <IllustratedEmptyState\n illustration=\"empty-data\"\n title=\"No promo codes yet.\"\n description=\"Create a code to offer discounts and drive registrations.\"\n />\n )\n }\n rowActions={(row) => (\n <ActionMenu\n ariaLabel={`Actions for ${row.code}`}\n entityName={row.code}\n onEdit={() => navigate(`/registration/promo-codes/${row.id}/edit`)}\n onDelete={() => onDelete(row)}\n />\n )}\n />\n <Pagination\n offset={pagination.offset}\n limit={pagination.limit}\n loadedCount={items.length}\n total={total}\n onPrev={pagination.prevPage}\n onNext={pagination.nextPage}\n itemLabel=\"promo codes\"\n loading={loading}\n />\n </SectionCard>\n );\n}\n\nexport default function RegistrationPage() {\n const { navigate } = useEventfullyManaged();\n\n return (\n <div className=\"space-y-6 p-6\">\n <PagePurpose>\n This is where you see who is coming. Registrations are the paid or confirmed sign-ups, attendees are the people\n behind them, and promo codes let you offer discounts. Register attendees, edit their details, change a\n registration's status, and manage discount codes — all backed by live GraphQL APIs.\n </PagePurpose>\n\n <EmphasisPanel>\n <div className=\"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between\">\n <div>\n <h1 className=\"text-2xl font-bold text-text-primary\">\n <GradientText>Registration</GradientText>\n </h1>\n <p className=\"mt-1 text-sm text-text-secondary\">\n Track registrations, attendees, and promo codes with backend persistence.\n </p>\n </div>\n <div className=\"flex flex-wrap gap-2\">\n <Button type=\"button\" onClick={() => navigate('/registration/register')}>\n <TicketPlus className=\"h-4 w-4\" />\n Register attendee\n </Button>\n <Button type=\"button\" variant=\"outline\" onClick={() => navigate('/registration/attendees/create')}>\n <UserPlus className=\"h-4 w-4\" />\n Add attendee\n </Button>\n <Button type=\"button\" variant=\"outline\" onClick={() => navigate('/registration/promo-codes/create')}>\n <Tag className=\"h-4 w-4\" />\n New promo code\n </Button>\n </div>\n </div>\n </EmphasisPanel>\n\n <RegistrationsSection />\n <AttendeesSection />\n <PromoCodesSection />\n\n <NextSteps\n storageKey=\"eventfullymanaged-registration\"\n title=\"Grow your registrations\"\n steps={[\n {\n id: 'view-networking',\n label: 'Set up attendee networking',\n description: 'Turn registered attendees into connections with matchmaking.',\n icon: <Users className=\"h-4 w-4\" />,\n onClick: () => navigate('/networking'),\n },\n {\n id: 'promote',\n label: 'Promote with a campaign',\n description: 'Send reminders and offers to drive more sign-ups.',\n icon: <Megaphone className=\"h-4 w-4\" />,\n onClick: () => navigate('/communication'),\n },\n {\n id: 'analyze',\n label: 'Snapshot your numbers',\n description: 'Capture an analytics snapshot to track registration trends.',\n icon: <Tag className=\"h-4 w-4\" />,\n onClick: () => navigate('/analytics'),\n },\n ]}\n />\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;AAmDA,SAASI,EAAgB,EACvB,mBACA,UACA,mBAKC;CACD,IAAM,EAAE,SAAM,YAAS,aAAUC,EAAqBC,CAAc,G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AU,UAAW,CAAA;MACtC,eAAeb,EAAS,gBAAgB;KAC1C;KACA;MACE,IAAI;MACJ,OAAO;MACP,aAAa;MACb,MAAM,kBAACM,GAAD,EAAK,WAAU,UAAW,CAAA;MAChC,eAAeN,EAAS,YAAY;KACtC;IACF;GACD,CAAA;EACE;;AAET"}
|
|
@@ -20,5 +20,4 @@ export interface RoadmapPanelProps {
|
|
|
20
20
|
* data and makes no functional claims — it only communicates intent and stage,
|
|
21
21
|
* so the app never mislabels a generic entity dashboard as a shipped capability.
|
|
22
22
|
*/
|
|
23
|
-
export default function RoadmapPanel({ title, summary, purpose, items }: RoadmapPanelProps): import(
|
|
24
|
-
//# sourceMappingURL=RoadmapPanel.d.ts.map
|
|
23
|
+
export default function RoadmapPanel({ title, summary, purpose, items }: RoadmapPanelProps): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function SponsorDetailsPage(): import(
|
|
2
|
-
//# sourceMappingURL=SponsorDetailsPage.d.ts.map
|
|
1
|
+
export default function SponsorDetailsPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function SponsorLeadsPage(): import(
|
|
2
|
-
//# sourceMappingURL=SponsorLeadsPage.d.ts.map
|
|
1
|
+
export default function SponsorLeadsPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function VenueResourcesPage(): import(
|
|
2
|
-
//# sourceMappingURL=VenueResourcesPage.d.ts.map
|
|
1
|
+
export default function VenueResourcesPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function WorkflowsPage(): import(
|
|
2
|
-
//# sourceMappingURL=WorkflowsPage.d.ts.map
|
|
1
|
+
export default function WorkflowsPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function MeetingFormPage(): import(
|
|
2
|
-
//# sourceMappingURL=MeetingFormPage.d.ts.map
|
|
1
|
+
export default function MeetingFormPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function NetworkingProfileFormPage(): import(
|
|
2
|
-
//# sourceMappingURL=NetworkingProfileFormPage.d.ts.map
|
|
1
|
+
export default function NetworkingProfileFormPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function AttendeeFormPage(): import(
|
|
2
|
-
//# sourceMappingURL=AttendeeFormPage.d.ts.map
|
|
1
|
+
export default function AttendeeFormPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function PromoCodeFormPage(): import(
|
|
2
|
-
//# sourceMappingURL=PromoCodeFormPage.d.ts.map
|
|
1
|
+
export default function PromoCodeFormPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function RegisterAttendeePage(): import(
|
|
2
|
-
//# sourceMappingURL=RegisterAttendeePage.d.ts.map
|
|
1
|
+
export default function RegisterAttendeePage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function SpeakerFormPage(): import(
|
|
2
|
-
//# sourceMappingURL=SpeakerFormPage.d.ts.map
|
|
1
|
+
export default function SpeakerFormPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function SpeakersPage(): import(
|
|
2
|
-
//# sourceMappingURL=SpeakersPage.d.ts.map
|
|
1
|
+
export default function SpeakersPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function SponsorFormPage(): import(
|
|
2
|
-
//# sourceMappingURL=SponsorFormPage.d.ts.map
|
|
1
|
+
export default function SponsorFormPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function SponsorsListPage(): import(
|
|
2
|
-
//# sourceMappingURL=SponsorsListPage.d.ts.map
|
|
1
|
+
export default function SponsorsListPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function FloorPlansPage(): import(
|
|
2
|
-
//# sourceMappingURL=FloorPlansPage.d.ts.map
|
|
1
|
+
export default function FloorPlansPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function VenueDetailPage(): import(
|
|
2
|
-
//# sourceMappingURL=VenueDetailPage.d.ts.map
|
|
1
|
+
export default function VenueDetailPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function VenueFormPage(): import(
|
|
2
|
-
//# sourceMappingURL=VenueFormPage.d.ts.map
|
|
1
|
+
export default function VenueFormPage(): import('react').JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export default function VenueListPage(): import(
|
|
2
|
-
//# sourceMappingURL=VenueListPage.d.ts.map
|
|
1
|
+
export default function VenueListPage(): import('react').JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { MicrofrontendRootProps } from '@burdenoff/fe-libs/shared/types';
|
|
2
|
-
|
|
3
2
|
/**
|
|
4
3
|
* EventfullyManaged microfrontend root props.
|
|
5
4
|
* Extends standard MicrofrontendRootProps from fe-libs.
|
|
@@ -3646,4 +3645,3 @@ export interface TeamCollaborationStats {
|
|
|
3646
3645
|
lastActivity: Date;
|
|
3647
3646
|
}>;
|
|
3648
3647
|
}
|
|
3649
|
-
//# sourceMappingURL=index.d.ts.map
|