@burdenoff/microfe-eventfullymanaged 2026.1102.5 → 2026.1108.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (487) hide show
  1. package/dist/dev/main.d.ts +0 -2
  2. package/dist/eventfullymanaged/EventfullyManagedRoot.d.ts +1 -3
  3. package/dist/eventfullymanaged/EventfullyManagedRoot.js +6 -6
  4. package/dist/eventfullymanaged/EventfullyManagedRoot.js.map +1 -1
  5. package/dist/eventfullymanaged/EventfullyManagedRoutes.d.ts +1 -2
  6. package/dist/eventfullymanaged/api/eventApi.d.ts +16 -2
  7. package/dist/eventfullymanaged/api/eventApi.js +107 -97
  8. package/dist/eventfullymanaged/api/eventApi.js.map +1 -1
  9. package/dist/eventfullymanaged/components/ActionMenu.d.ts +1 -3
  10. package/dist/eventfullymanaged/components/AttendanceForecast.d.ts +1 -3
  11. package/dist/eventfullymanaged/components/EntityFormShell.d.ts +1 -3
  12. package/dist/eventfullymanaged/components/EntityTagsField.d.ts +1 -2
  13. package/dist/eventfullymanaged/components/EventCharts.d.ts +4 -5
  14. package/dist/eventfullymanaged/components/EventDraftAssistant.d.ts +1 -3
  15. package/dist/eventfullymanaged/components/FloorPlanZoneEditor.d.ts +1 -3
  16. package/dist/eventfullymanaged/components/ImageUploadField.d.ts +1 -2
  17. package/dist/eventfullymanaged/components/PageLayout.d.ts +1 -3
  18. package/dist/eventfullymanaged/components/Pagination.d.ts +1 -2
  19. package/dist/eventfullymanaged/components/ResolvedImage.d.ts +1 -3
  20. package/dist/eventfullymanaged/components/SafeLink.d.ts +1 -3
  21. package/dist/eventfullymanaged/components/floorPlanEditor/ZoneCanvas.d.ts +1 -3
  22. package/dist/eventfullymanaged/components/floorPlanEditor/ZonePanels.d.ts +3 -5
  23. package/dist/eventfullymanaged/components/floorPlanEditor/useZoneEditorState.d.ts +0 -2
  24. package/dist/eventfullymanaged/components/index.d.ts +0 -1
  25. package/dist/eventfullymanaged/context/EventfullyManagedContext.d.ts +1 -3
  26. package/dist/eventfullymanaged/hooks/index.d.ts +0 -1
  27. package/dist/eventfullymanaged/hooks/useEventDelete.d.ts +0 -1
  28. package/dist/eventfullymanaged/hooks/useEvmSubscription.d.ts +0 -1
  29. package/dist/eventfullymanaged/hooks/useResolvedImageUrl.d.ts +0 -2
  30. package/dist/eventfullymanaged/hooks/useVirtualCall.d.ts +0 -1
  31. package/dist/eventfullymanaged/index.d.ts +0 -1
  32. package/dist/eventfullymanaged/lib/eventDraft.d.ts +0 -1
  33. package/dist/eventfullymanaged/lib/fileRef.d.ts +0 -1
  34. package/dist/eventfullymanaged/lib/floorPlanZones.d.ts +0 -1
  35. package/dist/eventfullymanaged/lib/format.d.ts +0 -1
  36. package/dist/eventfullymanaged/lib/mutationResult.d.ts +0 -2
  37. package/dist/eventfullymanaged/lib/offlineCheckInQueue.d.ts +0 -1
  38. package/dist/eventfullymanaged/lib/printBadge.d.ts +1 -0
  39. package/dist/eventfullymanaged/lib/printBadge.js +30 -0
  40. package/dist/eventfullymanaged/lib/printBadge.js.map +1 -0
  41. package/dist/eventfullymanaged/lib/toast.d.ts +0 -2
  42. package/dist/eventfullymanaged/lib/useBadgePrint.d.ts +11 -0
  43. package/dist/eventfullymanaged/lib/useBadgePrint.js +38 -0
  44. package/dist/eventfullymanaged/lib/useBadgePrint.js.map +1 -0
  45. package/dist/eventfullymanaged/lib/useOfflineCheckInSync.d.ts +0 -2
  46. package/dist/eventfullymanaged/pages/dashboard/DashboardPage.d.ts +1 -2
  47. package/dist/eventfullymanaged/pages/events/EventDetailPage.d.ts +1 -2
  48. package/dist/eventfullymanaged/pages/events/EventFormPage.d.ts +1 -2
  49. package/dist/eventfullymanaged/pages/events/SessionFormPage.d.ts +1 -2
  50. package/dist/eventfullymanaged/pages/events/TicketTypeFormPage.d.ts +1 -2
  51. package/dist/eventfullymanaged/pages/events/VirtualSessionPage.d.ts +1 -2
  52. package/dist/eventfullymanaged/pages/events/VirtualSessionPage.js +3 -3
  53. package/dist/eventfullymanaged/pages/events/VirtualSessionPage.js.map +1 -1
  54. package/dist/eventfullymanaged/pages/events/eventFormUtils.d.ts +0 -1
  55. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorFormPage.d.ts +1 -2
  56. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorsPage.d.ts +1 -2
  57. package/dist/eventfullymanaged/pages/leads/LeadCaptureDialog.d.ts +1 -2
  58. package/dist/eventfullymanaged/pages/modules/AnalyticsPage.d.ts +1 -2
  59. package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.d.ts +1 -2
  60. package/dist/eventfullymanaged/pages/modules/AttendeeRecommendations.d.ts +1 -2
  61. package/dist/eventfullymanaged/pages/modules/CommunicationPage.d.ts +1 -2
  62. package/dist/eventfullymanaged/pages/modules/EntityListSection.d.ts +1 -2
  63. package/dist/eventfullymanaged/pages/modules/EventsPage.d.ts +1 -2
  64. package/dist/eventfullymanaged/pages/modules/IntegrationsPage.d.ts +1 -2
  65. package/dist/eventfullymanaged/pages/modules/KioskPage.d.ts +1 -2
  66. package/dist/eventfullymanaged/pages/modules/KioskPage.js +321 -285
  67. package/dist/eventfullymanaged/pages/modules/KioskPage.js.map +1 -1
  68. package/dist/eventfullymanaged/pages/modules/NetworkingPage.d.ts +1 -2
  69. package/dist/eventfullymanaged/pages/modules/OperationsHubPage.d.ts +1 -2
  70. package/dist/eventfullymanaged/pages/modules/RegistrationPage.d.ts +1 -2
  71. package/dist/eventfullymanaged/pages/modules/RegistrationPage.js +1 -1
  72. package/dist/eventfullymanaged/pages/modules/RegistrationPage.js.map +1 -1
  73. package/dist/eventfullymanaged/pages/modules/RoadmapPanel.d.ts +1 -2
  74. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.d.ts +1 -2
  75. package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.d.ts +1 -2
  76. package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.d.ts +1 -2
  77. package/dist/eventfullymanaged/pages/modules/WorkflowsPage.d.ts +1 -2
  78. package/dist/eventfullymanaged/pages/networking/MeetingFormPage.d.ts +1 -2
  79. package/dist/eventfullymanaged/pages/networking/NetworkingProfileFormPage.d.ts +1 -2
  80. package/dist/eventfullymanaged/pages/registration/AttendeeFormPage.d.ts +1 -2
  81. package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.d.ts +1 -2
  82. package/dist/eventfullymanaged/pages/registration/RegisterAttendeePage.d.ts +1 -2
  83. package/dist/eventfullymanaged/pages/speakers/SpeakerFormPage.d.ts +1 -2
  84. package/dist/eventfullymanaged/pages/speakers/SpeakersPage.d.ts +1 -2
  85. package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.d.ts +1 -2
  86. package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.d.ts +1 -2
  87. package/dist/eventfullymanaged/pages/venues/FloorPlansPage.d.ts +1 -2
  88. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.d.ts +1 -2
  89. package/dist/eventfullymanaged/pages/venues/VenueFormPage.d.ts +1 -2
  90. package/dist/eventfullymanaged/pages/venues/VenueListPage.d.ts +1 -2
  91. package/dist/eventfullymanaged/store/eventfullyManagedStore.d.ts +0 -1
  92. package/dist/eventfullymanaged/types/index.d.ts +0 -2
  93. package/dist/eventfullymanaged/utils/cn.d.ts +0 -1
  94. package/dist/eventfullymanaged/utils/constants.d.ts +0 -1
  95. package/dist/eventfullymanaged/utils/navigation.d.ts +0 -1
  96. package/dist/eventfullymanaged/utils/shellBridge.d.ts +0 -1
  97. package/dist/generated/global-operations.d.ts +0 -1
  98. package/dist/generated/global-types.d.ts +0 -1
  99. package/dist/generated/wspace-operations.d.ts +0 -1
  100. package/dist/generated/wspace-types.d.ts +0 -1
  101. package/dist/index.d.ts +0 -1
  102. package/dist/node_modules/@apollo/client/version.js +1 -1
  103. package/dist/node_modules/@apollo/client/version.js.map +1 -1
  104. package/dist/node_modules/d3-array/dist/d3-array.js +204 -0
  105. package/dist/node_modules/d3-array/dist/d3-array.js.map +1 -0
  106. package/dist/node_modules/d3-color/dist/d3-color.js +388 -0
  107. package/dist/node_modules/d3-color/dist/d3-color.js.map +1 -0
  108. package/dist/node_modules/d3-format/dist/d3-format.js +186 -0
  109. package/dist/node_modules/d3-format/dist/d3-format.js.map +1 -0
  110. package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js +185 -0
  111. package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js.map +1 -0
  112. package/dist/node_modules/d3-path/{src/path.js → dist/d3-path.js} +33 -9
  113. package/dist/node_modules/d3-path/dist/d3-path.js.map +1 -0
  114. package/dist/node_modules/d3-scale/dist/d3-scale.js +622 -0
  115. package/dist/node_modules/d3-scale/dist/d3-scale.js.map +1 -0
  116. package/dist/node_modules/d3-shape/dist/d3-shape.js +901 -0
  117. package/dist/node_modules/d3-shape/dist/d3-shape.js.map +1 -0
  118. package/dist/node_modules/d3-time/dist/d3-time.js +241 -0
  119. package/dist/node_modules/d3-time/dist/d3-time.js.map +1 -0
  120. package/dist/node_modules/d3-time-format/{src/locale.js → dist/d3-time-format.js} +229 -173
  121. package/dist/node_modules/d3-time-format/dist/d3-time-format.js.map +1 -0
  122. package/dist/node_modules/fast-equals/dist/es/index.js +107 -76
  123. package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -1
  124. package/dist/node_modules/graphql/error/GraphQLError.js +5 -2
  125. package/dist/node_modules/graphql/error/GraphQLError.js.map +1 -1
  126. package/dist/node_modules/graphql/language/ast.js.map +1 -1
  127. package/dist/node_modules/graphql/language/lexer.js +14 -8
  128. package/dist/node_modules/graphql/language/lexer.js.map +1 -1
  129. package/dist/node_modules/graphql/language/location.js +30 -11
  130. package/dist/node_modules/graphql/language/location.js.map +1 -1
  131. package/dist/node_modules/graphql/language/parser.js +9 -7
  132. package/dist/node_modules/graphql/language/parser.js.map +1 -1
  133. package/dist/node_modules/graphql/language/printLocation.js.map +1 -1
  134. package/dist/node_modules/graphql/language/source.js.map +1 -1
  135. package/dist/node_modules/graphql-tag/lib/index.js +2 -1
  136. package/dist/node_modules/graphql-tag/lib/index.js.map +1 -1
  137. package/dist/node_modules/recharts/es6/cartesian/Brush.js +1 -1
  138. package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -1
  139. package/dist/node_modules/recharts/es6/shape/Curve.js +22 -32
  140. package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -1
  141. package/dist/node_modules/recharts/es6/shape/Symbols.js +1 -8
  142. package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -1
  143. package/dist/node_modules/recharts/es6/util/ChartUtils.js +7 -13
  144. package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -1
  145. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +1 -1
  146. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +1 -1
  147. package/dist/node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js +1 -1
  148. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js +1 -1
  149. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsapAction.js +1 -1
  150. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsapScheduler.js +1 -1
  151. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js +1 -1
  152. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js +1 -1
  153. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/immediateProvider.js +1 -1
  154. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/intervalProvider.js +1 -1
  155. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +1 -1
  156. package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js +51 -0
  157. package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js.map +1 -0
  158. package/dist/node_modules/tslib/tslib.es6.js +4 -51
  159. package/dist/node_modules/tslib/tslib.es6.js.map +1 -1
  160. package/dist/node_modules/victory-vendor/es/d3-scale.js +27 -43
  161. package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -1
  162. package/dist/services/createSandboxAssistantTransport.d.ts +0 -1
  163. package/dist/shared/hooks/index.d.ts +0 -1
  164. package/dist/shared/hooks/useTr.d.ts +0 -1
  165. package/dist/stories/ActionMenu.stories.d.ts +0 -2
  166. package/dist/stories/Pagination.stories.d.ts +0 -2
  167. package/dist/stories/SafeLink.stories.d.ts +0 -2
  168. package/dist/test/happydom.d.ts +1 -0
  169. package/dist/utils/pageContext.d.ts +0 -1
  170. package/dist/utils/pageContext.js +1 -1
  171. package/package.json +69 -58
  172. package/dist/dev/main.d.ts.map +0 -1
  173. package/dist/eventfullymanaged/EventfullyManagedRoot.d.ts.map +0 -1
  174. package/dist/eventfullymanaged/EventfullyManagedRoutes.d.ts.map +0 -1
  175. package/dist/eventfullymanaged/api/eventApi.d.ts.map +0 -1
  176. package/dist/eventfullymanaged/components/ActionMenu.d.ts.map +0 -1
  177. package/dist/eventfullymanaged/components/AttendanceForecast.d.ts.map +0 -1
  178. package/dist/eventfullymanaged/components/EntityFormShell.d.ts.map +0 -1
  179. package/dist/eventfullymanaged/components/EntityTagsField.d.ts.map +0 -1
  180. package/dist/eventfullymanaged/components/EventCharts.d.ts.map +0 -1
  181. package/dist/eventfullymanaged/components/EventDraftAssistant.d.ts.map +0 -1
  182. package/dist/eventfullymanaged/components/FloorPlanZoneEditor.d.ts.map +0 -1
  183. package/dist/eventfullymanaged/components/ImageUploadField.d.ts.map +0 -1
  184. package/dist/eventfullymanaged/components/PageLayout.d.ts.map +0 -1
  185. package/dist/eventfullymanaged/components/Pagination.d.ts.map +0 -1
  186. package/dist/eventfullymanaged/components/ResolvedImage.d.ts.map +0 -1
  187. package/dist/eventfullymanaged/components/SafeLink.d.ts.map +0 -1
  188. package/dist/eventfullymanaged/components/floorPlanEditor/ZoneCanvas.d.ts.map +0 -1
  189. package/dist/eventfullymanaged/components/floorPlanEditor/ZonePanels.d.ts.map +0 -1
  190. package/dist/eventfullymanaged/components/floorPlanEditor/useZoneEditorState.d.ts.map +0 -1
  191. package/dist/eventfullymanaged/components/index.d.ts.map +0 -1
  192. package/dist/eventfullymanaged/context/EventfullyManagedContext.d.ts.map +0 -1
  193. package/dist/eventfullymanaged/hooks/index.d.ts.map +0 -1
  194. package/dist/eventfullymanaged/hooks/useEventDelete.d.ts.map +0 -1
  195. package/dist/eventfullymanaged/hooks/useEvmSubscription.d.ts.map +0 -1
  196. package/dist/eventfullymanaged/hooks/useResolvedImageUrl.d.ts.map +0 -1
  197. package/dist/eventfullymanaged/hooks/useVirtualCall.d.ts.map +0 -1
  198. package/dist/eventfullymanaged/index.d.ts.map +0 -1
  199. package/dist/eventfullymanaged/lib/eventDraft.d.ts.map +0 -1
  200. package/dist/eventfullymanaged/lib/fileRef.d.ts.map +0 -1
  201. package/dist/eventfullymanaged/lib/floorPlanZones.d.ts.map +0 -1
  202. package/dist/eventfullymanaged/lib/format.d.ts.map +0 -1
  203. package/dist/eventfullymanaged/lib/mutationResult.d.ts.map +0 -1
  204. package/dist/eventfullymanaged/lib/offlineCheckInQueue.d.ts.map +0 -1
  205. package/dist/eventfullymanaged/lib/toast.d.ts.map +0 -1
  206. package/dist/eventfullymanaged/lib/useOfflineCheckInSync.d.ts.map +0 -1
  207. package/dist/eventfullymanaged/pages/dashboard/DashboardPage.d.ts.map +0 -1
  208. package/dist/eventfullymanaged/pages/events/EventDetailPage.d.ts.map +0 -1
  209. package/dist/eventfullymanaged/pages/events/EventFormPage.d.ts.map +0 -1
  210. package/dist/eventfullymanaged/pages/events/SessionFormPage.d.ts.map +0 -1
  211. package/dist/eventfullymanaged/pages/events/TicketTypeFormPage.d.ts.map +0 -1
  212. package/dist/eventfullymanaged/pages/events/VirtualSessionPage.d.ts.map +0 -1
  213. package/dist/eventfullymanaged/pages/events/eventFormUtils.d.ts.map +0 -1
  214. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorFormPage.d.ts.map +0 -1
  215. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorsPage.d.ts.map +0 -1
  216. package/dist/eventfullymanaged/pages/leads/LeadCaptureDialog.d.ts.map +0 -1
  217. package/dist/eventfullymanaged/pages/modules/AnalyticsPage.d.ts.map +0 -1
  218. package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.d.ts.map +0 -1
  219. package/dist/eventfullymanaged/pages/modules/AttendeeRecommendations.d.ts.map +0 -1
  220. package/dist/eventfullymanaged/pages/modules/CommunicationPage.d.ts.map +0 -1
  221. package/dist/eventfullymanaged/pages/modules/EntityListSection.d.ts.map +0 -1
  222. package/dist/eventfullymanaged/pages/modules/EventsPage.d.ts.map +0 -1
  223. package/dist/eventfullymanaged/pages/modules/IntegrationsPage.d.ts.map +0 -1
  224. package/dist/eventfullymanaged/pages/modules/KioskPage.d.ts.map +0 -1
  225. package/dist/eventfullymanaged/pages/modules/NetworkingPage.d.ts.map +0 -1
  226. package/dist/eventfullymanaged/pages/modules/OperationsHubPage.d.ts.map +0 -1
  227. package/dist/eventfullymanaged/pages/modules/RegistrationPage.d.ts.map +0 -1
  228. package/dist/eventfullymanaged/pages/modules/RoadmapPanel.d.ts.map +0 -1
  229. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.d.ts.map +0 -1
  230. package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.d.ts.map +0 -1
  231. package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.d.ts.map +0 -1
  232. package/dist/eventfullymanaged/pages/modules/WorkflowsPage.d.ts.map +0 -1
  233. package/dist/eventfullymanaged/pages/networking/MeetingFormPage.d.ts.map +0 -1
  234. package/dist/eventfullymanaged/pages/networking/NetworkingProfileFormPage.d.ts.map +0 -1
  235. package/dist/eventfullymanaged/pages/registration/AttendeeFormPage.d.ts.map +0 -1
  236. package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.d.ts.map +0 -1
  237. package/dist/eventfullymanaged/pages/registration/RegisterAttendeePage.d.ts.map +0 -1
  238. package/dist/eventfullymanaged/pages/speakers/SpeakerFormPage.d.ts.map +0 -1
  239. package/dist/eventfullymanaged/pages/speakers/SpeakersPage.d.ts.map +0 -1
  240. package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.d.ts.map +0 -1
  241. package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.d.ts.map +0 -1
  242. package/dist/eventfullymanaged/pages/venues/FloorPlansPage.d.ts.map +0 -1
  243. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.d.ts.map +0 -1
  244. package/dist/eventfullymanaged/pages/venues/VenueFormPage.d.ts.map +0 -1
  245. package/dist/eventfullymanaged/pages/venues/VenueListPage.d.ts.map +0 -1
  246. package/dist/eventfullymanaged/store/eventfullyManagedStore.d.ts.map +0 -1
  247. package/dist/eventfullymanaged/types/index.d.ts.map +0 -1
  248. package/dist/eventfullymanaged/utils/cn.d.ts.map +0 -1
  249. package/dist/eventfullymanaged/utils/constants.d.ts.map +0 -1
  250. package/dist/eventfullymanaged/utils/navigation.d.ts.map +0 -1
  251. package/dist/eventfullymanaged/utils/shellBridge.d.ts.map +0 -1
  252. package/dist/generated/global-operations.d.ts.map +0 -1
  253. package/dist/generated/global-types.d.ts.map +0 -1
  254. package/dist/generated/wspace-operations.d.ts.map +0 -1
  255. package/dist/generated/wspace-types.d.ts.map +0 -1
  256. package/dist/index.d.ts.map +0 -1
  257. package/dist/node_modules/d3-array/src/ascending.js +0 -7
  258. package/dist/node_modules/d3-array/src/ascending.js.map +0 -1
  259. package/dist/node_modules/d3-array/src/bisect.js +0 -9
  260. package/dist/node_modules/d3-array/src/bisect.js.map +0 -1
  261. package/dist/node_modules/d3-array/src/bisector.js +0 -42
  262. package/dist/node_modules/d3-array/src/bisector.js.map +0 -1
  263. package/dist/node_modules/d3-array/src/descending.js +0 -7
  264. package/dist/node_modules/d3-array/src/descending.js.map +0 -1
  265. package/dist/node_modules/d3-array/src/max.js +0 -13
  266. package/dist/node_modules/d3-array/src/max.js.map +0 -1
  267. package/dist/node_modules/d3-array/src/min.js +0 -13
  268. package/dist/node_modules/d3-array/src/min.js.map +0 -1
  269. package/dist/node_modules/d3-array/src/number.js +0 -14
  270. package/dist/node_modules/d3-array/src/number.js.map +0 -1
  271. package/dist/node_modules/d3-array/src/quantile.js +0 -24
  272. package/dist/node_modules/d3-array/src/quantile.js.map +0 -1
  273. package/dist/node_modules/d3-array/src/quickselect.js +0 -25
  274. package/dist/node_modules/d3-array/src/quickselect.js.map +0 -1
  275. package/dist/node_modules/d3-array/src/range.js +0 -9
  276. package/dist/node_modules/d3-array/src/range.js.map +0 -1
  277. package/dist/node_modules/d3-array/src/sort.js +0 -16
  278. package/dist/node_modules/d3-array/src/sort.js.map +0 -1
  279. package/dist/node_modules/d3-array/src/ticks.js +0 -34
  280. package/dist/node_modules/d3-array/src/ticks.js.map +0 -1
  281. package/dist/node_modules/d3-color/src/color.js +0 -290
  282. package/dist/node_modules/d3-color/src/color.js.map +0 -1
  283. package/dist/node_modules/d3-color/src/define.js +0 -12
  284. package/dist/node_modules/d3-color/src/define.js.map +0 -1
  285. package/dist/node_modules/d3-format/src/defaultLocale.js +0 -14
  286. package/dist/node_modules/d3-format/src/defaultLocale.js.map +0 -1
  287. package/dist/node_modules/d3-format/src/exponent.js +0 -8
  288. package/dist/node_modules/d3-format/src/exponent.js.map +0 -1
  289. package/dist/node_modules/d3-format/src/formatDecimal.js +0 -12
  290. package/dist/node_modules/d3-format/src/formatDecimal.js.map +0 -1
  291. package/dist/node_modules/d3-format/src/formatGroup.js +0 -10
  292. package/dist/node_modules/d3-format/src/formatGroup.js.map +0 -1
  293. package/dist/node_modules/d3-format/src/formatNumerals.js +0 -11
  294. package/dist/node_modules/d3-format/src/formatNumerals.js.map +0 -1
  295. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +0 -12
  296. package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +0 -1
  297. package/dist/node_modules/d3-format/src/formatRounded.js +0 -11
  298. package/dist/node_modules/d3-format/src/formatRounded.js.map +0 -1
  299. package/dist/node_modules/d3-format/src/formatSpecifier.js +0 -28
  300. package/dist/node_modules/d3-format/src/formatSpecifier.js.map +0 -1
  301. package/dist/node_modules/d3-format/src/formatTrim.js +0 -18
  302. package/dist/node_modules/d3-format/src/formatTrim.js.map +0 -1
  303. package/dist/node_modules/d3-format/src/formatTypes.js +0 -22
  304. package/dist/node_modules/d3-format/src/formatTypes.js.map +0 -1
  305. package/dist/node_modules/d3-format/src/identity.js +0 -7
  306. package/dist/node_modules/d3-format/src/identity.js.map +0 -1
  307. package/dist/node_modules/d3-format/src/locale.js +0 -83
  308. package/dist/node_modules/d3-format/src/locale.js.map +0 -1
  309. package/dist/node_modules/d3-format/src/precisionFixed.js +0 -8
  310. package/dist/node_modules/d3-format/src/precisionFixed.js.map +0 -1
  311. package/dist/node_modules/d3-format/src/precisionPrefix.js +0 -8
  312. package/dist/node_modules/d3-format/src/precisionPrefix.js.map +0 -1
  313. package/dist/node_modules/d3-format/src/precisionRound.js +0 -8
  314. package/dist/node_modules/d3-format/src/precisionRound.js.map +0 -1
  315. package/dist/node_modules/d3-interpolate/src/array.js +0 -13
  316. package/dist/node_modules/d3-interpolate/src/array.js.map +0 -1
  317. package/dist/node_modules/d3-interpolate/src/basis.js +0 -15
  318. package/dist/node_modules/d3-interpolate/src/basis.js.map +0 -1
  319. package/dist/node_modules/d3-interpolate/src/basisClosed.js +0 -12
  320. package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +0 -1
  321. package/dist/node_modules/d3-interpolate/src/color.js +0 -24
  322. package/dist/node_modules/d3-interpolate/src/color.js.map +0 -1
  323. package/dist/node_modules/d3-interpolate/src/constant.js +0 -5
  324. package/dist/node_modules/d3-interpolate/src/constant.js.map +0 -1
  325. package/dist/node_modules/d3-interpolate/src/date.js +0 -10
  326. package/dist/node_modules/d3-interpolate/src/date.js.map +0 -1
  327. package/dist/node_modules/d3-interpolate/src/number.js +0 -9
  328. package/dist/node_modules/d3-interpolate/src/number.js.map +0 -1
  329. package/dist/node_modules/d3-interpolate/src/numberArray.js +0 -15
  330. package/dist/node_modules/d3-interpolate/src/numberArray.js.map +0 -1
  331. package/dist/node_modules/d3-interpolate/src/object.js +0 -13
  332. package/dist/node_modules/d3-interpolate/src/object.js.map +0 -1
  333. package/dist/node_modules/d3-interpolate/src/piecewise.js +0 -13
  334. package/dist/node_modules/d3-interpolate/src/piecewise.js.map +0 -1
  335. package/dist/node_modules/d3-interpolate/src/rgb.js +0 -18
  336. package/dist/node_modules/d3-interpolate/src/rgb.js.map +0 -1
  337. package/dist/node_modules/d3-interpolate/src/round.js +0 -9
  338. package/dist/node_modules/d3-interpolate/src/round.js.map +0 -1
  339. package/dist/node_modules/d3-interpolate/src/string.js +0 -27
  340. package/dist/node_modules/d3-interpolate/src/string.js.map +0 -1
  341. package/dist/node_modules/d3-interpolate/src/value.js +0 -17
  342. package/dist/node_modules/d3-interpolate/src/value.js.map +0 -1
  343. package/dist/node_modules/d3-path/src/path.js.map +0 -1
  344. package/dist/node_modules/d3-scale/src/band.js +0 -51
  345. package/dist/node_modules/d3-scale/src/band.js.map +0 -1
  346. package/dist/node_modules/d3-scale/src/constant.js +0 -9
  347. package/dist/node_modules/d3-scale/src/constant.js.map +0 -1
  348. package/dist/node_modules/d3-scale/src/continuous.js +0 -72
  349. package/dist/node_modules/d3-scale/src/continuous.js.map +0 -1
  350. package/dist/node_modules/d3-scale/src/diverging.js +0 -81
  351. package/dist/node_modules/d3-scale/src/diverging.js.map +0 -1
  352. package/dist/node_modules/d3-scale/src/identity.js +0 -19
  353. package/dist/node_modules/d3-scale/src/identity.js.map +0 -1
  354. package/dist/node_modules/d3-scale/src/init.js +0 -24
  355. package/dist/node_modules/d3-scale/src/init.js.map +0 -1
  356. package/dist/node_modules/d3-scale/src/linear.js +0 -35
  357. package/dist/node_modules/d3-scale/src/linear.js.map +0 -1
  358. package/dist/node_modules/d3-scale/src/log.js +0 -76
  359. package/dist/node_modules/d3-scale/src/log.js.map +0 -1
  360. package/dist/node_modules/d3-scale/src/nice.js +0 -9
  361. package/dist/node_modules/d3-scale/src/nice.js.map +0 -1
  362. package/dist/node_modules/d3-scale/src/number.js +0 -7
  363. package/dist/node_modules/d3-scale/src/number.js.map +0 -1
  364. package/dist/node_modules/d3-scale/src/ordinal.js +0 -30
  365. package/dist/node_modules/d3-scale/src/ordinal.js.map +0 -1
  366. package/dist/node_modules/d3-scale/src/pow.js +0 -36
  367. package/dist/node_modules/d3-scale/src/pow.js.map +0 -1
  368. package/dist/node_modules/d3-scale/src/quantile.js +0 -36
  369. package/dist/node_modules/d3-scale/src/quantile.js.map +0 -1
  370. package/dist/node_modules/d3-scale/src/quantize.js +0 -32
  371. package/dist/node_modules/d3-scale/src/quantize.js.map +0 -1
  372. package/dist/node_modules/d3-scale/src/radial.js +0 -38
  373. package/dist/node_modules/d3-scale/src/radial.js.map +0 -1
  374. package/dist/node_modules/d3-scale/src/sequential.js +0 -66
  375. package/dist/node_modules/d3-scale/src/sequential.js.map +0 -1
  376. package/dist/node_modules/d3-scale/src/sequentialQuantile.js +0 -29
  377. package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +0 -1
  378. package/dist/node_modules/d3-scale/src/symlog.js +0 -29
  379. package/dist/node_modules/d3-scale/src/symlog.js.map +0 -1
  380. package/dist/node_modules/d3-scale/src/threshold.js +0 -24
  381. package/dist/node_modules/d3-scale/src/threshold.js.map +0 -1
  382. package/dist/node_modules/d3-scale/src/tickFormat.js +0 -28
  383. package/dist/node_modules/d3-scale/src/tickFormat.js.map +0 -1
  384. package/dist/node_modules/d3-scale/src/time.js +0 -46
  385. package/dist/node_modules/d3-scale/src/time.js.map +0 -1
  386. package/dist/node_modules/d3-scale/src/utcTime.js +0 -18
  387. package/dist/node_modules/d3-scale/src/utcTime.js.map +0 -1
  388. package/dist/node_modules/d3-shape/src/area.js +0 -56
  389. package/dist/node_modules/d3-shape/src/area.js.map +0 -1
  390. package/dist/node_modules/d3-shape/src/array.js +0 -7
  391. package/dist/node_modules/d3-shape/src/array.js.map +0 -1
  392. package/dist/node_modules/d3-shape/src/constant.js +0 -9
  393. package/dist/node_modules/d3-shape/src/constant.js.map +0 -1
  394. package/dist/node_modules/d3-shape/src/curve/basis.js +0 -44
  395. package/dist/node_modules/d3-shape/src/curve/basis.js.map +0 -1
  396. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +0 -45
  397. package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +0 -1
  398. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +0 -43
  399. package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +0 -1
  400. package/dist/node_modules/d3-shape/src/curve/bump.js +0 -37
  401. package/dist/node_modules/d3-shape/src/curve/bump.js.map +0 -1
  402. package/dist/node_modules/d3-shape/src/curve/linear.js +0 -33
  403. package/dist/node_modules/d3-shape/src/curve/linear.js.map +0 -1
  404. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +0 -24
  405. package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +0 -1
  406. package/dist/node_modules/d3-shape/src/curve/monotone.js +0 -89
  407. package/dist/node_modules/d3-shape/src/curve/monotone.js.map +0 -1
  408. package/dist/node_modules/d3-shape/src/curve/natural.js +0 -40
  409. package/dist/node_modules/d3-shape/src/curve/natural.js.map +0 -1
  410. package/dist/node_modules/d3-shape/src/curve/step.js +0 -44
  411. package/dist/node_modules/d3-shape/src/curve/step.js.map +0 -1
  412. package/dist/node_modules/d3-shape/src/line.js +0 -29
  413. package/dist/node_modules/d3-shape/src/line.js.map +0 -1
  414. package/dist/node_modules/d3-shape/src/math.js +0 -7
  415. package/dist/node_modules/d3-shape/src/math.js.map +0 -1
  416. package/dist/node_modules/d3-shape/src/noop.js +0 -5
  417. package/dist/node_modules/d3-shape/src/noop.js.map +0 -1
  418. package/dist/node_modules/d3-shape/src/offset/expand.js +0 -14
  419. package/dist/node_modules/d3-shape/src/offset/expand.js.map +0 -1
  420. package/dist/node_modules/d3-shape/src/offset/none.js +0 -7
  421. package/dist/node_modules/d3-shape/src/offset/none.js.map +0 -1
  422. package/dist/node_modules/d3-shape/src/offset/silhouette.js +0 -14
  423. package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +0 -1
  424. package/dist/node_modules/d3-shape/src/offset/wiggle.js +0 -20
  425. package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +0 -1
  426. package/dist/node_modules/d3-shape/src/order/none.js +0 -8
  427. package/dist/node_modules/d3-shape/src/order/none.js.map +0 -1
  428. package/dist/node_modules/d3-shape/src/path.js +0 -18
  429. package/dist/node_modules/d3-shape/src/path.js.map +0 -1
  430. package/dist/node_modules/d3-shape/src/point.js +0 -10
  431. package/dist/node_modules/d3-shape/src/point.js.map +0 -1
  432. package/dist/node_modules/d3-shape/src/stack.js +0 -33
  433. package/dist/node_modules/d3-shape/src/stack.js.map +0 -1
  434. package/dist/node_modules/d3-shape/src/symbol/circle.js +0 -9
  435. package/dist/node_modules/d3-shape/src/symbol/circle.js.map +0 -1
  436. package/dist/node_modules/d3-shape/src/symbol/cross.js +0 -9
  437. package/dist/node_modules/d3-shape/src/symbol/cross.js.map +0 -1
  438. package/dist/node_modules/d3-shape/src/symbol/diamond.js +0 -9
  439. package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +0 -1
  440. package/dist/node_modules/d3-shape/src/symbol/square.js +0 -9
  441. package/dist/node_modules/d3-shape/src/symbol/square.js.map +0 -1
  442. package/dist/node_modules/d3-shape/src/symbol/star.js +0 -14
  443. package/dist/node_modules/d3-shape/src/symbol/star.js.map +0 -1
  444. package/dist/node_modules/d3-shape/src/symbol/triangle.js +0 -9
  445. package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +0 -1
  446. package/dist/node_modules/d3-shape/src/symbol/wye.js +0 -9
  447. package/dist/node_modules/d3-shape/src/symbol/wye.js.map +0 -1
  448. package/dist/node_modules/d3-shape/src/symbol.js +0 -22
  449. package/dist/node_modules/d3-shape/src/symbol.js.map +0 -1
  450. package/dist/node_modules/d3-time/src/day.js +0 -20
  451. package/dist/node_modules/d3-time/src/day.js.map +0 -1
  452. package/dist/node_modules/d3-time/src/duration.js +0 -5
  453. package/dist/node_modules/d3-time/src/duration.js.map +0 -1
  454. package/dist/node_modules/d3-time/src/hour.js +0 -18
  455. package/dist/node_modules/d3-time/src/hour.js.map +0 -1
  456. package/dist/node_modules/d3-time/src/interval.js +0 -29
  457. package/dist/node_modules/d3-time/src/interval.js.map +0 -1
  458. package/dist/node_modules/d3-time/src/millisecond.js +0 -13
  459. package/dist/node_modules/d3-time/src/millisecond.js.map +0 -1
  460. package/dist/node_modules/d3-time/src/minute.js +0 -18
  461. package/dist/node_modules/d3-time/src/minute.js.map +0 -1
  462. package/dist/node_modules/d3-time/src/month.js +0 -17
  463. package/dist/node_modules/d3-time/src/month.js.map +0 -1
  464. package/dist/node_modules/d3-time/src/second.js +0 -12
  465. package/dist/node_modules/d3-time/src/second.js.map +0 -1
  466. package/dist/node_modules/d3-time/src/ticks.js +0 -124
  467. package/dist/node_modules/d3-time/src/ticks.js.map +0 -1
  468. package/dist/node_modules/d3-time/src/week.js +0 -24
  469. package/dist/node_modules/d3-time/src/week.js.map +0 -1
  470. package/dist/node_modules/d3-time/src/year.js +0 -25
  471. package/dist/node_modules/d3-time/src/year.js.map +0 -1
  472. package/dist/node_modules/d3-time-format/src/defaultLocale.js +0 -61
  473. package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +0 -1
  474. package/dist/node_modules/d3-time-format/src/locale.js.map +0 -1
  475. package/dist/node_modules/graphql/jsutils/invariant.js +0 -7
  476. package/dist/node_modules/graphql/jsutils/invariant.js.map +0 -1
  477. package/dist/node_modules/internmap/src/index.js +0 -39
  478. package/dist/node_modules/internmap/src/index.js.map +0 -1
  479. package/dist/services/createSandboxAssistantTransport.d.ts.map +0 -1
  480. package/dist/shared/hooks/index.d.ts.map +0 -1
  481. package/dist/shared/hooks/useTr.d.ts.map +0 -1
  482. package/dist/stories/ActionMenu.stories.d.ts.map +0 -1
  483. package/dist/stories/Pagination.stories.d.ts.map +0 -1
  484. package/dist/stories/SafeLink.stories.d.ts.map +0 -1
  485. package/dist/test/setup.d.ts +0 -11
  486. package/dist/test/setup.d.ts.map +0 -1
  487. package/dist/utils/pageContext.d.ts.map +0 -1
@@ -5,52 +5,54 @@ import { Pagination as p, usePagination as m } from "../../components/Pagination
5
5
  import { enqueuePendingScan as h } from "../../lib/offlineCheckInQueue.js";
6
6
  import { describeError as g, mutationSucceeded as _ } from "../../lib/mutationResult.js";
7
7
  import { notify as v } from "../../lib/toast.js";
8
- import { useOfflineCheckInSync as y } from "../../lib/useOfflineCheckInSync.js";
9
- import { useCallback as b, useEffect as x, useMemo as S, useRef as C, useState as w } from "react";
10
- import { Fragment as T, jsx as E, jsxs as D } from "react/jsx-runtime";
11
- import { ArrowLeftFromLine as O, ArrowRightToLine as k, Camera as A, CameraOff as j, CloudOff as M, Keyboard as N, LogIn as ee, Plus as P, QrCode as te, RefreshCw as F, ScanLine as ne } from "lucide-react";
12
- import { Badge as re, Button as I, EmphasisPanel as ie, GlassCard as L, GradientText as R, IllustratedEmptyState as z, Input as B, Label as V, PagePurpose as ae, ResponsiveDialog as H, ResponsiveDialogContent as U, ResponsiveDialogDescription as W, ResponsiveDialogFooter as G, ResponsiveDialogHeader as K, ResponsiveDialogTitle as q, ScrollArea as oe, Select as J, SelectContent as Y, SelectItem as X, SelectTrigger as Z, SelectValue as Q, Switch as se } from "@burdenoff/fe-libs/ui";
8
+ import { useBadgePrint as y } from "../../lib/useBadgePrint.js";
9
+ import { useOfflineCheckInSync as b } from "../../lib/useOfflineCheckInSync.js";
10
+ import { useCallback as x, useEffect as S, useMemo as C, useRef as w, useState as T } from "react";
11
+ import { Fragment as E, jsx as D, jsxs as O } from "react/jsx-runtime";
12
+ import { ArrowLeftFromLine as k, ArrowRightToLine as A, Camera as j, CameraOff as M, CloudOff as N, Keyboard as ee, LogIn as te, Plus as P, Printer as ne, QrCode as re, RefreshCw as F, ScanLine as ie } from "lucide-react";
13
+ import { Badge as ae, Button as I, EmphasisPanel as oe, GlassCard as L, GradientText as R, IllustratedEmptyState as z, Input as B, Label as V, PagePurpose as se, ResponsiveDialog as H, ResponsiveDialogContent as U, ResponsiveDialogDescription as W, ResponsiveDialogFooter as G, ResponsiveDialogHeader as K, ResponsiveDialogTitle as q, ScrollArea as ce, Select as J, SelectContent as Y, SelectItem as X, SelectTrigger as Z, SelectValue as Q, Switch as le } from "@burdenoff/fe-libs/ui";
13
14
  // src/eventfullymanaged/pages/modules/KioskPage.tsx
14
- var ce = /^[^.\s]+\.[0-9a-f]{64}$/i, le = [
15
+ var ue = /^[^.\s]+\.[0-9a-f]{64}$/i, de = [
15
16
  "DESK",
16
17
  "GATE",
17
18
  "SELF_SERVICE",
18
19
  "MOBILE"
19
- ], ue = ["QR", "MANUAL"], de = ["IN", "OUT"];
20
- function fe(e) {
20
+ ], fe = ["QR", "MANUAL"], pe = ["IN", "OUT"];
21
+ function $(e) {
21
22
  if (!e || typeof e != "object") return {};
22
23
  let t = e;
23
24
  return {
24
25
  code: typeof t.code == "string" ? t.code : void 0,
25
26
  location: typeof t.location == "string" ? t.location : void 0,
26
27
  type: typeof t.type == "string" ? t.type : void 0,
27
- isActive: typeof t.isActive == "boolean" ? t.isActive : void 0
28
+ isActive: typeof t.isActive == "boolean" ? t.isActive : void 0,
29
+ autoPrintBadge: typeof t.autoPrintBadge == "boolean" ? t.autoPrintBadge : void 0
28
30
  };
29
31
  }
30
- function pe(e) {
32
+ function me(e) {
31
33
  return e.trim().toUpperCase().replace(/[^A-Z0-9]+/g, "-").replace(/^-+|-+$/g, "").slice(0, 24) || "STATION";
32
34
  }
33
- function me(e) {
35
+ function he(e) {
34
36
  let t = e.trim().split(/\s+/).filter(Boolean);
35
37
  return t.length === 0 ? "?" : t.length === 1 ? t[0].slice(0, 2).toUpperCase() : (t[0][0] + t[t.length - 1][0]).toUpperCase();
36
38
  }
37
- function he(e) {
39
+ function ge(e) {
38
40
  let t = new Date(e);
39
41
  return Number.isNaN(t.getTime()) ? "" : t.toLocaleTimeString([], {
40
42
  hour: "numeric",
41
43
  minute: "2-digit"
42
44
  });
43
45
  }
44
- function ge({ onDetected: e }) {
45
- let t = typeof window < "u" && !!window.BarcodeDetector, n = C(null), r = C(null), i = C(null), [a, o] = w(!1), [s, c] = w(null), l = b(() => {
46
+ function _e({ onDetected: e }) {
47
+ let t = typeof window < "u" && !!window.BarcodeDetector, n = w(null), r = w(null), i = w(null), [a, o] = T(!1), [s, c] = T(null), l = x(() => {
46
48
  if (i.current &&= (clearInterval(i.current), null), r.current) {
47
49
  for (let e of r.current.getTracks()) e.stop();
48
50
  r.current = null;
49
51
  }
50
52
  n.current && (n.current.srcObject = null), o(!1);
51
53
  }, []);
52
- x(() => l, [l]);
53
- let u = b(async () => {
54
+ S(() => l, [l]);
55
+ let u = x(async () => {
54
56
  if (t && window.BarcodeDetector) {
55
57
  c(null);
56
58
  try {
@@ -78,63 +80,63 @@ function ge({ onDetected: e }) {
78
80
  l,
79
81
  t
80
82
  ]);
81
- return /* @__PURE__ */ D("div", {
83
+ return /* @__PURE__ */ O("div", {
82
84
  className: "relative aspect-square w-full overflow-hidden rounded-card border-2 border-accent-primary/70 bg-bg-sunken",
83
85
  children: [
84
- /* @__PURE__ */ E("video", {
86
+ /* @__PURE__ */ D("video", {
85
87
  ref: n,
86
88
  className: `h-full w-full object-cover transition-opacity duration-300 ${a ? "opacity-100" : "opacity-0"}`,
87
89
  muted: !0,
88
90
  playsInline: !0,
89
91
  "aria-label": "Attendee QR camera preview"
90
92
  }),
91
- /* @__PURE__ */ E("div", {
93
+ /* @__PURE__ */ D("div", {
92
94
  className: "pointer-events-none absolute inset-0 p-5",
93
- children: /* @__PURE__ */ D("div", {
95
+ children: /* @__PURE__ */ O("div", {
94
96
  className: "relative h-full w-full",
95
97
  children: [
96
- /* @__PURE__ */ E("span", { className: "absolute left-0 top-0 h-10 w-10 rounded-tl-lg border-l-4 border-t-4 border-accent-primary" }),
97
- /* @__PURE__ */ E("span", { className: "absolute right-0 top-0 h-10 w-10 rounded-tr-lg border-r-4 border-t-4 border-accent-primary" }),
98
- /* @__PURE__ */ E("span", { className: "absolute bottom-0 left-0 h-10 w-10 rounded-bl-lg border-b-4 border-l-4 border-accent-primary" }),
99
- /* @__PURE__ */ E("span", { className: "absolute bottom-0 right-0 h-10 w-10 rounded-br-lg border-b-4 border-r-4 border-accent-primary" }),
100
- a ? /* @__PURE__ */ E("span", { className: "absolute inset-x-6 top-1/2 h-0.5 animate-pulse bg-accent-primary/80" }) : null
98
+ /* @__PURE__ */ D("span", { className: "absolute left-0 top-0 h-10 w-10 rounded-tl-lg border-l-4 border-t-4 border-accent-primary" }),
99
+ /* @__PURE__ */ D("span", { className: "absolute right-0 top-0 h-10 w-10 rounded-tr-lg border-r-4 border-t-4 border-accent-primary" }),
100
+ /* @__PURE__ */ D("span", { className: "absolute bottom-0 left-0 h-10 w-10 rounded-bl-lg border-b-4 border-l-4 border-accent-primary" }),
101
+ /* @__PURE__ */ D("span", { className: "absolute bottom-0 right-0 h-10 w-10 rounded-br-lg border-b-4 border-r-4 border-accent-primary" }),
102
+ a ? /* @__PURE__ */ D("span", { className: "absolute inset-x-6 top-1/2 h-0.5 animate-pulse bg-accent-primary/80" }) : null
101
103
  ]
102
104
  })
103
105
  }),
104
- a ? /* @__PURE__ */ D("div", {
106
+ a ? /* @__PURE__ */ O("div", {
105
107
  className: "absolute inset-x-0 bottom-0 flex items-center justify-between gap-2 bg-bg-canvas/70 p-3 backdrop-blur",
106
- children: [/* @__PURE__ */ D("span", {
108
+ children: [/* @__PURE__ */ O("span", {
107
109
  className: "flex items-center gap-1.5 text-xs font-medium text-text-primary",
108
- children: [/* @__PURE__ */ E("span", { className: "h-2 w-2 animate-pulse rounded-full bg-status-success-text" }), "Scanning…"]
109
- }), /* @__PURE__ */ D(I, {
110
+ children: [/* @__PURE__ */ D("span", { className: "h-2 w-2 animate-pulse rounded-full bg-status-success-text" }), "Scanning…"]
111
+ }), /* @__PURE__ */ O(I, {
110
112
  type: "button",
111
113
  size: "sm",
112
114
  variant: "outline",
113
115
  onClick: l,
114
- children: [/* @__PURE__ */ E(j, { className: "h-4 w-4" }), "Stop"]
116
+ children: [/* @__PURE__ */ D(M, { className: "h-4 w-4" }), "Stop"]
115
117
  })]
116
- }) : /* @__PURE__ */ D("div", {
118
+ }) : /* @__PURE__ */ O("div", {
117
119
  className: "absolute inset-0 flex flex-col items-center justify-center gap-3 text-center",
118
120
  children: [
119
- /* @__PURE__ */ E(te, {
121
+ /* @__PURE__ */ D(re, {
120
122
  className: "h-16 w-16 text-text-muted",
121
123
  "aria-hidden": "true"
122
124
  }),
123
- /* @__PURE__ */ E("p", {
125
+ /* @__PURE__ */ D("p", {
124
126
  className: "text-lg font-semibold text-text-primary",
125
127
  children: "Scan attendee QR"
126
128
  }),
127
- t ? /* @__PURE__ */ D(I, {
129
+ t ? /* @__PURE__ */ O(I, {
128
130
  type: "button",
129
131
  size: "sm",
130
132
  variant: "secondary",
131
133
  onClick: () => void u(),
132
- children: [/* @__PURE__ */ E(A, { className: "h-4 w-4" }), "Start camera"]
133
- }) : /* @__PURE__ */ E("p", {
134
+ children: [/* @__PURE__ */ D(j, { className: "h-4 w-4" }), "Start camera"]
135
+ }) : /* @__PURE__ */ D("p", {
134
136
  className: "max-w-56 text-xs text-text-secondary",
135
137
  children: "Camera scanning isn't available in this browser — use manual lookup below."
136
138
  }),
137
- s ? /* @__PURE__ */ E("p", {
139
+ s ? /* @__PURE__ */ D("p", {
138
140
  className: "max-w-56 text-xs text-status-danger-text",
139
141
  children: s
140
142
  }) : null
@@ -143,81 +145,87 @@ function ge({ onDetected: e }) {
143
145
  ]
144
146
  });
145
147
  }
146
- function $({ label: e, value: t, options: n, onChange: r }) {
147
- return /* @__PURE__ */ D("div", {
148
+ function ve({ label: e, value: t, options: n, onChange: r }) {
149
+ return /* @__PURE__ */ O("div", {
148
150
  className: "space-y-1.5",
149
- children: [/* @__PURE__ */ E("span", {
151
+ children: [/* @__PURE__ */ D("span", {
150
152
  className: "text-xs font-medium uppercase tracking-wide text-text-secondary",
151
153
  children: e
152
- }), /* @__PURE__ */ E("div", {
154
+ }), /* @__PURE__ */ D("div", {
153
155
  role: "group",
154
156
  "aria-label": e,
155
157
  className: "inline-flex rounded-input border border-border-default bg-bg-sunken p-0.5",
156
158
  children: n.map((e) => {
157
159
  let n = e.icon, i = e.value === t;
158
- return /* @__PURE__ */ D("button", {
160
+ return /* @__PURE__ */ O("button", {
159
161
  type: "button",
160
162
  "aria-pressed": i,
161
163
  onClick: () => r(e.value),
162
164
  className: `inline-flex items-center gap-1.5 rounded-[calc(var(--radius-input)-2px)] px-3 py-1.5 text-sm font-medium transition-colors ${i ? "bg-action-primary-bg text-action-primary-text shadow-elevation-1" : "text-text-secondary hover:text-text-primary"}`,
163
- children: [n ? /* @__PURE__ */ E(n, { className: "h-4 w-4" }) : null, e.label]
165
+ children: [n ? /* @__PURE__ */ D(n, { className: "h-4 w-4" }) : null, e.label]
164
166
  }, e.value);
165
167
  })
166
168
  })]
167
169
  });
168
170
  }
169
- function _e({ open: e, onOpenChange: t, eventId: n, eventName: r, station: a }) {
170
- let o = !!a, [s, { loading: c }] = i(), [l, { loading: u }] = d(), f = S(() => {
171
+ function ye({ open: e, onOpenChange: t, eventId: n, eventName: r, station: a }) {
172
+ let o = !!a, [s, { loading: c }] = i(), [l, { loading: u }] = d(), f = C(() => {
171
173
  if (!a) return {
172
174
  name: "",
173
175
  code: "",
174
176
  location: "",
175
177
  type: "DESK",
176
- isActive: !0
178
+ isActive: !0,
179
+ autoPrintBadge: !1
177
180
  };
178
- let e = fe(a.metadata);
181
+ let e = $(a.metadata);
179
182
  return {
180
183
  name: a.name ?? "",
181
- code: e.code ?? pe(a.name ?? ""),
184
+ code: e.code ?? me(a.name ?? ""),
182
185
  location: e.location ?? "",
183
186
  type: e.type ?? "DESK",
184
- isActive: e.isActive ?? !0
187
+ isActive: e.isActive ?? !0,
188
+ autoPrintBadge: e.autoPrintBadge ?? !1
185
189
  };
186
- }, [a]), [p, m] = w(f), [h, y] = w(null), b = `${e ? "open" : "closed"}:${a?.id ?? "new"}`;
190
+ }, [a]), [p, m] = T(f), [h, y] = T(null), b = `${e ? "open" : "closed"}:${a?.id ?? "new"}`;
187
191
  e && h !== b && (y(b), m(f)), !e && h !== null && y(null);
188
192
  let x = (e, t) => {
189
193
  m((n) => ({
190
194
  ...n,
191
195
  [e]: t
192
196
  }));
193
- }, C = c || u;
194
- return /* @__PURE__ */ E(H, {
197
+ }, S = c || u;
198
+ return /* @__PURE__ */ D(H, {
195
199
  open: e,
196
200
  onOpenChange: t,
197
- children: /* @__PURE__ */ D(U, {
201
+ children: /* @__PURE__ */ O(U, {
198
202
  className: "max-w-lg",
199
203
  children: [
200
- /* @__PURE__ */ D(K, { children: [/* @__PURE__ */ E(q, { children: o ? "Edit check-in station" : "New check-in station" }), /* @__PURE__ */ D(W, { children: [
204
+ /* @__PURE__ */ O(K, { children: [/* @__PURE__ */ D(q, { children: o ? "Edit check-in station" : "New check-in station" }), /* @__PURE__ */ O(W, { children: [
201
205
  "A station is a desk, gate or device where attendees scan in at ",
202
206
  r,
203
207
  "."
204
208
  ] })] }),
205
- /* @__PURE__ */ D("form", {
209
+ /* @__PURE__ */ O("form", {
206
210
  id: "station-form",
207
211
  onSubmit: async (e) => {
208
212
  e.preventDefault();
209
- let i = p.code.trim() || pe(p.name), c = {
213
+ let i = p.code.trim() || me(p.name), c = {
210
214
  eventId: n,
211
215
  name: p.name.trim(),
212
216
  code: i,
213
217
  location: p.location.trim() || null,
214
218
  isActive: p.isActive,
215
- kioskConfig: { type: p.type },
219
+ kioskConfig: {
220
+ type: p.type,
221
+ autoPrintBadge: p.autoPrintBadge
222
+ },
216
223
  metadata: {
217
224
  code: i,
218
225
  location: p.location.trim(),
219
226
  type: p.type,
220
- isActive: p.isActive
227
+ isActive: p.isActive,
228
+ autoPrintBadge: p.autoPrintBadge
221
229
  }
222
230
  };
223
231
  try {
@@ -240,103 +248,119 @@ function _e({ open: e, onOpenChange: t, eventId: n, eventName: r, station: a })
240
248
  },
241
249
  className: "space-y-4",
242
250
  children: [
243
- /* @__PURE__ */ D("div", {
251
+ /* @__PURE__ */ O("div", {
244
252
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
245
- children: [/* @__PURE__ */ D("label", {
253
+ children: [/* @__PURE__ */ O("label", {
246
254
  className: "space-y-1 text-sm",
247
- children: [/* @__PURE__ */ E("span", {
255
+ children: [/* @__PURE__ */ D("span", {
248
256
  className: "font-medium text-text-primary",
249
257
  children: "Name"
250
- }), /* @__PURE__ */ E(B, {
258
+ }), /* @__PURE__ */ D(B, {
251
259
  value: p.name,
252
260
  onChange: (e) => x("name", e.target.value),
253
261
  placeholder: "Main entrance",
254
262
  required: !0
255
263
  })]
256
- }), /* @__PURE__ */ D("label", {
264
+ }), /* @__PURE__ */ O("label", {
257
265
  className: "space-y-1 text-sm",
258
- children: [/* @__PURE__ */ E("span", {
266
+ children: [/* @__PURE__ */ D("span", {
259
267
  className: "font-medium text-text-primary",
260
268
  children: "Code"
261
- }), /* @__PURE__ */ E(B, {
269
+ }), /* @__PURE__ */ D(B, {
262
270
  value: p.code,
263
271
  onChange: (e) => x("code", e.target.value),
264
272
  placeholder: "Auto from name"
265
273
  })]
266
274
  })]
267
275
  }),
268
- /* @__PURE__ */ D("div", {
276
+ /* @__PURE__ */ O("div", {
269
277
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
270
- children: [/* @__PURE__ */ D("label", {
278
+ children: [/* @__PURE__ */ O("label", {
271
279
  className: "space-y-1 text-sm",
272
- children: [/* @__PURE__ */ E("span", {
280
+ children: [/* @__PURE__ */ D("span", {
273
281
  className: "font-medium text-text-primary",
274
282
  children: "Location"
275
- }), /* @__PURE__ */ E(B, {
283
+ }), /* @__PURE__ */ D(B, {
276
284
  value: p.location,
277
285
  onChange: (e) => x("location", e.target.value),
278
286
  placeholder: "North lobby"
279
287
  })]
280
- }), /* @__PURE__ */ D("label", {
288
+ }), /* @__PURE__ */ O("label", {
281
289
  className: "space-y-1 text-sm",
282
- children: [/* @__PURE__ */ E("span", {
290
+ children: [/* @__PURE__ */ D("span", {
283
291
  className: "font-medium text-text-primary",
284
292
  children: "Type"
285
- }), /* @__PURE__ */ D(J, {
293
+ }), /* @__PURE__ */ O(J, {
286
294
  value: p.type,
287
295
  onValueChange: (e) => x("type", e),
288
- children: [/* @__PURE__ */ E(Z, {
296
+ children: [/* @__PURE__ */ D(Z, {
289
297
  "aria-label": "Station type",
290
- children: /* @__PURE__ */ E(Q, {})
291
- }), /* @__PURE__ */ E(Y, { children: le.map((e) => /* @__PURE__ */ E(X, {
298
+ children: /* @__PURE__ */ D(Q, {})
299
+ }), /* @__PURE__ */ D(Y, { children: de.map((e) => /* @__PURE__ */ D(X, {
292
300
  value: e,
293
301
  children: e.replace("_", " ")
294
302
  }, e)) })]
295
303
  })]
296
304
  })]
297
305
  }),
298
- /* @__PURE__ */ D("div", {
306
+ /* @__PURE__ */ O("div", {
299
307
  className: "flex items-center justify-between rounded-card border border-border-seam bg-bg-surface p-3",
300
- children: [/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E(V, {
308
+ children: [/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D(V, {
301
309
  htmlFor: "station-active",
302
310
  className: "text-text-primary",
303
311
  children: "Active"
304
- }), /* @__PURE__ */ E("p", {
312
+ }), /* @__PURE__ */ D("p", {
305
313
  className: "text-xs text-text-secondary",
306
314
  children: "Disabled stations stay configured but cannot accept scans."
307
- })] }), /* @__PURE__ */ E(se, {
315
+ })] }), /* @__PURE__ */ D(le, {
308
316
  id: "station-active",
309
317
  checked: p.isActive,
310
318
  onCheckedChange: (e) => x("isActive", e),
311
319
  "aria-label": "Station active"
312
320
  })]
321
+ }),
322
+ /* @__PURE__ */ O("div", {
323
+ className: "flex items-center justify-between rounded-card border border-border-seam bg-bg-surface p-3",
324
+ children: [/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D(V, {
325
+ htmlFor: "station-auto-print-badge",
326
+ className: "text-text-primary",
327
+ children: "Auto-print badge"
328
+ }), /* @__PURE__ */ D("p", {
329
+ className: "text-xs text-text-secondary",
330
+ children: "Print each attendee's badge through the kiosk printer when they check in at this station."
331
+ })] }), /* @__PURE__ */ D(le, {
332
+ id: "station-auto-print-badge",
333
+ checked: p.autoPrintBadge,
334
+ onCheckedChange: (e) => x("autoPrintBadge", e),
335
+ "aria-label": "Auto-print badge on check-in"
336
+ })]
313
337
  })
314
338
  ]
315
339
  }),
316
- /* @__PURE__ */ D(G, { children: [/* @__PURE__ */ E(I, {
340
+ /* @__PURE__ */ O(G, { children: [/* @__PURE__ */ D(I, {
317
341
  type: "button",
318
342
  variant: "outline",
319
343
  onClick: () => t(!1),
320
- disabled: C,
344
+ disabled: S,
321
345
  children: "Cancel"
322
- }), /* @__PURE__ */ E(I, {
346
+ }), /* @__PURE__ */ D(I, {
323
347
  type: "submit",
324
348
  form: "station-form",
325
- disabled: C,
326
- children: C ? "Saving…" : o ? "Save station" : "Create station"
349
+ disabled: S,
350
+ children: S ? "Saving…" : o ? "Save station" : "Create station"
327
351
  })] })
328
352
  ]
329
353
  })
330
354
  });
331
355
  }
332
- function ve({ open: e, onOpenChange: t, record: n, stations: r }) {
333
- let [i, { loading: a }] = u(), o = S(() => ({
356
+ function be({ open: e, onOpenChange: t, record: n, stations: r }) {
357
+ let [i, { loading: a }] = u(), o = C(() => ({
334
358
  method: n?.method ?? "MANUAL",
335
359
  direction: n?.direction ?? "IN",
336
360
  status: n?.status ?? "checked_in",
337
361
  stationId: n?.stationId ?? "",
338
362
  attendeeId: n?.attendeeId ?? ""
339
- }), [n]), [s, c] = w(o), [l, d] = w(null), f = `${e ? "open" : "closed"}:${n?.id ?? "none"}`;
363
+ }), [n]), [s, c] = T(o), [l, d] = T(null), f = `${e ? "open" : "closed"}:${n?.id ?? "none"}`;
340
364
  e && l !== f && (d(f), c(o)), !e && l !== null && d(null);
341
365
  let p = (e, t) => {
342
366
  c((n) => ({
@@ -344,14 +368,14 @@ function ve({ open: e, onOpenChange: t, record: n, stations: r }) {
344
368
  [e]: t
345
369
  }));
346
370
  };
347
- return /* @__PURE__ */ E(H, {
371
+ return /* @__PURE__ */ D(H, {
348
372
  open: e,
349
373
  onOpenChange: t,
350
- children: /* @__PURE__ */ D(U, {
374
+ children: /* @__PURE__ */ O(U, {
351
375
  className: "max-w-lg",
352
376
  children: [
353
- /* @__PURE__ */ D(K, { children: [/* @__PURE__ */ E(q, { children: "Edit check-in record" }), /* @__PURE__ */ E(W, { children: "Correct the direction, method or station for this scan." })] }),
354
- /* @__PURE__ */ D("form", {
377
+ /* @__PURE__ */ O(K, { children: [/* @__PURE__ */ D(q, { children: "Edit check-in record" }), /* @__PURE__ */ D(W, { children: "Correct the direction, method or station for this scan." })] }),
378
+ /* @__PURE__ */ O("form", {
355
379
  id: "record-form",
356
380
  onSubmit: async (e) => {
357
381
  if (e.preventDefault(), !n) return;
@@ -378,78 +402,78 @@ function ve({ open: e, onOpenChange: t, record: n, stations: r }) {
378
402
  },
379
403
  className: "space-y-4",
380
404
  children: [
381
- /* @__PURE__ */ D("label", {
405
+ /* @__PURE__ */ O("label", {
382
406
  className: "block space-y-1 text-sm",
383
- children: [/* @__PURE__ */ E("span", {
407
+ children: [/* @__PURE__ */ D("span", {
384
408
  className: "font-medium text-text-primary",
385
409
  children: "Attendee ID"
386
- }), /* @__PURE__ */ E(B, {
410
+ }), /* @__PURE__ */ D(B, {
387
411
  value: s.attendeeId,
388
412
  onChange: (e) => p("attendeeId", e.target.value)
389
413
  })]
390
414
  }),
391
- /* @__PURE__ */ D("div", {
415
+ /* @__PURE__ */ O("div", {
392
416
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
393
- children: [/* @__PURE__ */ D("label", {
417
+ children: [/* @__PURE__ */ O("label", {
394
418
  className: "space-y-1 text-sm",
395
- children: [/* @__PURE__ */ E("span", {
419
+ children: [/* @__PURE__ */ D("span", {
396
420
  className: "font-medium text-text-primary",
397
421
  children: "Method"
398
- }), /* @__PURE__ */ D(J, {
422
+ }), /* @__PURE__ */ O(J, {
399
423
  value: s.method,
400
424
  onValueChange: (e) => p("method", e),
401
- children: [/* @__PURE__ */ E(Z, {
425
+ children: [/* @__PURE__ */ D(Z, {
402
426
  "aria-label": "Method",
403
- children: /* @__PURE__ */ E(Q, {})
404
- }), /* @__PURE__ */ E(Y, { children: ue.map((e) => /* @__PURE__ */ E(X, {
427
+ children: /* @__PURE__ */ D(Q, {})
428
+ }), /* @__PURE__ */ D(Y, { children: fe.map((e) => /* @__PURE__ */ D(X, {
405
429
  value: e,
406
430
  children: e
407
431
  }, e)) })]
408
432
  })]
409
- }), /* @__PURE__ */ D("label", {
433
+ }), /* @__PURE__ */ O("label", {
410
434
  className: "space-y-1 text-sm",
411
- children: [/* @__PURE__ */ E("span", {
435
+ children: [/* @__PURE__ */ D("span", {
412
436
  className: "font-medium text-text-primary",
413
437
  children: "Direction"
414
- }), /* @__PURE__ */ D(J, {
438
+ }), /* @__PURE__ */ O(J, {
415
439
  value: s.direction,
416
440
  onValueChange: (e) => p("direction", e),
417
- children: [/* @__PURE__ */ E(Z, {
441
+ children: [/* @__PURE__ */ D(Z, {
418
442
  "aria-label": "Direction",
419
- children: /* @__PURE__ */ E(Q, {})
420
- }), /* @__PURE__ */ E(Y, { children: de.map((e) => /* @__PURE__ */ E(X, {
443
+ children: /* @__PURE__ */ D(Q, {})
444
+ }), /* @__PURE__ */ D(Y, { children: pe.map((e) => /* @__PURE__ */ D(X, {
421
445
  value: e,
422
446
  children: e
423
447
  }, e)) })]
424
448
  })]
425
449
  })]
426
450
  }),
427
- /* @__PURE__ */ D("div", {
451
+ /* @__PURE__ */ O("div", {
428
452
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
429
- children: [/* @__PURE__ */ D("label", {
453
+ children: [/* @__PURE__ */ O("label", {
430
454
  className: "space-y-1 text-sm",
431
- children: [/* @__PURE__ */ E("span", {
455
+ children: [/* @__PURE__ */ D("span", {
432
456
  className: "font-medium text-text-primary",
433
457
  children: "Status"
434
- }), /* @__PURE__ */ E(B, {
458
+ }), /* @__PURE__ */ D(B, {
435
459
  value: s.status,
436
460
  onChange: (e) => p("status", e.target.value)
437
461
  })]
438
- }), /* @__PURE__ */ D("label", {
462
+ }), /* @__PURE__ */ O("label", {
439
463
  className: "space-y-1 text-sm",
440
- children: [/* @__PURE__ */ E("span", {
464
+ children: [/* @__PURE__ */ D("span", {
441
465
  className: "font-medium text-text-primary",
442
466
  children: "Station"
443
- }), /* @__PURE__ */ D(J, {
467
+ }), /* @__PURE__ */ O(J, {
444
468
  value: s.stationId || "none",
445
469
  onValueChange: (e) => p("stationId", e === "none" ? "" : e),
446
- children: [/* @__PURE__ */ E(Z, {
470
+ children: [/* @__PURE__ */ D(Z, {
447
471
  "aria-label": "Station",
448
- children: /* @__PURE__ */ E(Q, {})
449
- }), /* @__PURE__ */ D(Y, { children: [/* @__PURE__ */ E(X, {
472
+ children: /* @__PURE__ */ D(Q, {})
473
+ }), /* @__PURE__ */ O(Y, { children: [/* @__PURE__ */ D(X, {
450
474
  value: "none",
451
475
  children: "No station"
452
- }), r.map((e) => /* @__PURE__ */ E(X, {
476
+ }), r.map((e) => /* @__PURE__ */ D(X, {
453
477
  value: e.id,
454
478
  children: e.name ?? e.id
455
479
  }, e.id))] })]
@@ -458,13 +482,13 @@ function ve({ open: e, onOpenChange: t, record: n, stations: r }) {
458
482
  })
459
483
  ]
460
484
  }),
461
- /* @__PURE__ */ D(G, { children: [/* @__PURE__ */ E(I, {
485
+ /* @__PURE__ */ O(G, { children: [/* @__PURE__ */ D(I, {
462
486
  type: "button",
463
487
  variant: "outline",
464
488
  onClick: () => t(!1),
465
489
  disabled: a,
466
490
  children: "Cancel"
467
- }), /* @__PURE__ */ E(I, {
491
+ }), /* @__PURE__ */ D(I, {
468
492
  type: "submit",
469
493
  form: "record-form",
470
494
  disabled: a,
@@ -474,12 +498,12 @@ function ve({ open: e, onOpenChange: t, record: n, stations: r }) {
474
498
  })
475
499
  });
476
500
  }
477
- function ye({ eventId: e, eventName: t, stations: n, attendees: i, activeStationId: a, onStationChange: o, onCheckedIn: c }) {
478
- let [u, d] = w(""), [f, p] = w("QR"), [m, b] = w("IN"), [x, S] = w(""), T = C(null), [A, { loading: j }] = r(), [P] = l(), ie = s({
501
+ function xe({ eventId: e, eventName: t, stations: n, attendees: i, activeStationId: a, onStationChange: o, onCheckedIn: c }) {
502
+ let [u, d] = T(""), [f, p] = T("QR"), [m, x] = T("IN"), [S, C] = T(""), E = w(null), [j, { loading: M }] = r(), [P] = l(), ne = y(), oe = s({
479
503
  eventId: e,
480
504
  limit: 100,
481
505
  offset: 0
482
- }).data?.eventSessions.items ?? [], { isOnline: R, pendingCount: z, syncNow: V } = y(P, c), ae = (e) => {
506
+ }).data?.eventSessions.items ?? [], { isOnline: R, pendingCount: z, syncNow: V } = b(P, c), se = (e) => {
483
507
  let t = e.trim();
484
508
  if (!t) return {
485
509
  attendeeId: null,
@@ -501,25 +525,25 @@ function ye({ eventId: e, eventName: t, stations: n, attendees: i, activeStation
501
525
  matched: !!n
502
526
  };
503
527
  }, H = (e) => {
504
- d(e), p("QR"), v.info("QR captured", "Confirm the details and tap Check in."), T.current?.focus();
528
+ d(e), p("QR"), v.info("QR captured", "Confirm the details and tap Check in."), E.current?.focus();
505
529
  }, U = async (e) => {
506
530
  let t = crypto.randomUUID(), r = (/* @__PURE__ */ new Date()).toISOString(), i = {
507
531
  clientScanId: t,
508
532
  token: e,
509
533
  stationId: a || null,
510
- sessionId: x || null,
534
+ sessionId: S || null,
511
535
  method: "QR",
512
536
  direction: m,
513
537
  scannedAt: r
514
538
  }, o = async (e) => {
515
- await h(i), v.success("Saved on this device", e), d(""), T.current?.focus();
539
+ await h(i), v.success("Saved on this device", e), d(""), E.current?.focus();
516
540
  };
517
541
  if (typeof navigator < "u" && !navigator.onLine) await o("No connection right now — this check-in will sync automatically once you're back online.");
518
542
  else try {
519
543
  let i = await P({ variables: { input: {
520
544
  token: e,
521
545
  stationId: a || null,
522
- sessionId: x || null,
546
+ sessionId: S || null,
523
547
  method: "QR",
524
548
  direction: m,
525
549
  recordedAt: r,
@@ -534,50 +558,52 @@ function ye({ eventId: e, eventName: t, stations: n, attendees: i, activeStation
534
558
  return;
535
559
  }
536
560
  let o = n.find((e) => e.id === a);
537
- v.success(`Checked ${m === "OUT" ? "out" : "in"}`, `Recorded via QR${o?.name ? ` • ${o.name}` : ""}.`), d(""), T.current?.focus(), c();
561
+ v.success(`Checked ${m === "OUT" ? "out" : "in"}`, `Recorded via QR${o?.name ? ` • ${o.name}` : ""}.`);
562
+ let s = i.data.scanCheckIn.registrationId;
563
+ m === "IN" && s && o && $(o.metadata).autoPrintBadge && ne(s, a || null), d(""), E.current?.focus(), c();
538
564
  } catch {
539
565
  await o("Connection dropped — this check-in will sync automatically once you're back online.");
540
566
  }
541
567
  };
542
- return /* @__PURE__ */ D(L, {
568
+ return /* @__PURE__ */ O(L, {
543
569
  treatment: "glass",
544
570
  glow: !0,
545
571
  className: "border-border-seam p-5 sm:p-6",
546
572
  children: [
547
- /* @__PURE__ */ D("div", {
573
+ /* @__PURE__ */ O("div", {
548
574
  className: "flex items-center justify-between gap-2",
549
- children: [/* @__PURE__ */ D("div", {
575
+ children: [/* @__PURE__ */ O("div", {
550
576
  className: "flex items-center gap-2",
551
- children: [/* @__PURE__ */ E(ne, {
577
+ children: [/* @__PURE__ */ D(ie, {
552
578
  className: "h-5 w-5 text-accent-primary",
553
579
  "aria-hidden": "true"
554
- }), /* @__PURE__ */ E("h2", {
580
+ }), /* @__PURE__ */ D("h2", {
555
581
  className: "text-lg font-semibold text-text-primary",
556
582
  children: "Kiosk mode"
557
583
  })]
558
- }), !R || z > 0 ? /* @__PURE__ */ D("div", {
584
+ }), !R || z > 0 ? /* @__PURE__ */ O("div", {
559
585
  className: "flex items-center gap-2",
560
- children: [/* @__PURE__ */ D(re, {
586
+ children: [/* @__PURE__ */ O(ae, {
561
587
  variant: R ? "secondary" : "destructive",
562
588
  className: "flex items-center gap-1",
563
589
  children: [
564
- /* @__PURE__ */ E(M, {
590
+ /* @__PURE__ */ D(N, {
565
591
  className: "h-3 w-3",
566
592
  "aria-hidden": "true"
567
593
  }),
568
594
  R ? "Syncing…" : "Offline",
569
595
  z > 0 ? ` · ${z} queued` : ""
570
596
  ]
571
- }), R && z > 0 ? /* @__PURE__ */ D(I, {
597
+ }), R && z > 0 ? /* @__PURE__ */ O(I, {
572
598
  type: "button",
573
599
  size: "sm",
574
600
  variant: "outline",
575
601
  onClick: V,
576
- children: [/* @__PURE__ */ E(F, { className: "h-3.5 w-3.5" }), "Sync now"]
602
+ children: [/* @__PURE__ */ D(F, { className: "h-3.5 w-3.5" }), "Sync now"]
577
603
  }) : null]
578
604
  }) : null]
579
605
  }),
580
- /* @__PURE__ */ D("p", {
606
+ /* @__PURE__ */ O("p", {
581
607
  className: "mt-1 text-sm text-text-secondary",
582
608
  children: [
583
609
  "Scan an attendee badge or look them up, set the direction, and check them into ",
@@ -586,19 +612,19 @@ function ye({ eventId: e, eventName: t, stations: n, attendees: i, activeStation
586
612
  z > 0 ? " Scans queue on this device and sync automatically once you have a connection." : ""
587
613
  ]
588
614
  }),
589
- /* @__PURE__ */ E("div", {
615
+ /* @__PURE__ */ D("div", {
590
616
  className: "mt-5",
591
- children: /* @__PURE__ */ E(ge, { onDetected: H })
617
+ children: /* @__PURE__ */ D(_e, { onDetected: H })
592
618
  }),
593
- /* @__PURE__ */ D("form", {
619
+ /* @__PURE__ */ O("form", {
594
620
  onSubmit: async (t) => {
595
621
  t.preventDefault();
596
622
  let r = u.trim();
597
- if (f === "QR" && ce.test(r)) {
623
+ if (f === "QR" && ue.test(r)) {
598
624
  await U(r);
599
625
  return;
600
626
  }
601
- let { attendeeId: i, label: o } = ae(u);
627
+ let { attendeeId: i, label: o } = se(u);
602
628
  if (u.trim().includes("@") && !i) {
603
629
  v.error("Attendee not found", `No attendee at this event matches “${u.trim()}”.`);
604
630
  return;
@@ -611,26 +637,28 @@ function ye({ eventId: e, eventName: t, stations: n, attendees: i, activeStation
611
637
  direction: m,
612
638
  status: m === "OUT" ? "checked_out" : "checked_in",
613
639
  recordedAt: (/* @__PURE__ */ new Date()).toISOString(),
614
- metadata: x ? { sessionId: x } : {}
640
+ metadata: S ? { sessionId: S } : {}
615
641
  };
616
642
  try {
617
- let e = await A({ variables: { input: s } });
643
+ let e = await j({ variables: { input: s } });
618
644
  if (!_(e, e.data?.createCheckInRecord?.id, "Could not record check-in")) return;
619
645
  let t = n.find((e) => e.id === a);
620
- v.success(`${o} checked ${m === "OUT" ? "out" : "in"}`, `Recorded via ${f}${t?.name ? ` • ${t.name}` : ""}.`), d(""), T.current?.focus(), c();
646
+ v.success(`${o} checked ${m === "OUT" ? "out" : "in"}`, `Recorded via ${f}${t?.name ? ` • ${t.name}` : ""}.`);
647
+ let r = e.data?.createCheckInRecord?.registrationId;
648
+ m === "IN" && r && t && $(t.metadata).autoPrintBadge && ne(r, a || null), d(""), E.current?.focus(), c();
621
649
  } catch (e) {
622
650
  v.error("Could not record check-in", g(e));
623
651
  }
624
652
  },
625
653
  className: "mt-5 space-y-5",
626
654
  children: [
627
- /* @__PURE__ */ D("label", {
655
+ /* @__PURE__ */ O("label", {
628
656
  className: "block space-y-1.5",
629
- children: [/* @__PURE__ */ D("span", {
657
+ children: [/* @__PURE__ */ O("span", {
630
658
  className: "flex items-center gap-1.5 text-xs font-medium uppercase tracking-wide text-text-secondary",
631
- children: [/* @__PURE__ */ E(N, { className: "h-3.5 w-3.5" }), "Manual lookup"]
632
- }), /* @__PURE__ */ E(B, {
633
- ref: T,
659
+ children: [/* @__PURE__ */ D(ee, { className: "h-3.5 w-3.5" }), "Manual lookup"]
660
+ }), /* @__PURE__ */ D(B, {
661
+ ref: E,
634
662
  value: u,
635
663
  onChange: (e) => d(e.target.value),
636
664
  placeholder: "Enter name, email or attendee ID",
@@ -638,74 +666,74 @@ function ye({ eventId: e, eventName: t, stations: n, attendees: i, activeStation
638
666
  className: "h-12 text-base"
639
667
  })]
640
668
  }),
641
- /* @__PURE__ */ D("div", {
669
+ /* @__PURE__ */ O("div", {
642
670
  className: "flex flex-wrap gap-5",
643
671
  children: [
644
- /* @__PURE__ */ E($, {
672
+ /* @__PURE__ */ D(ve, {
645
673
  label: "Method",
646
674
  value: f,
647
675
  onChange: p,
648
676
  options: [{
649
677
  value: "QR",
650
678
  label: "QR",
651
- icon: te
679
+ icon: re
652
680
  }, {
653
681
  value: "MANUAL",
654
682
  label: "Manual",
655
- icon: N
683
+ icon: ee
656
684
  }]
657
685
  }),
658
- /* @__PURE__ */ E($, {
686
+ /* @__PURE__ */ D(ve, {
659
687
  label: "Direction",
660
688
  value: m,
661
- onChange: b,
689
+ onChange: x,
662
690
  options: [{
663
691
  value: "IN",
664
692
  label: "In",
665
- icon: k
693
+ icon: A
666
694
  }, {
667
695
  value: "OUT",
668
696
  label: "Out",
669
- icon: O
697
+ icon: k
670
698
  }]
671
699
  }),
672
- /* @__PURE__ */ D("label", {
700
+ /* @__PURE__ */ O("label", {
673
701
  className: "space-y-1.5",
674
- children: [/* @__PURE__ */ E("span", {
702
+ children: [/* @__PURE__ */ D("span", {
675
703
  className: "text-xs font-medium uppercase tracking-wide text-text-secondary",
676
704
  children: "Station"
677
- }), /* @__PURE__ */ D(J, {
705
+ }), /* @__PURE__ */ O(J, {
678
706
  value: a || "none",
679
707
  onValueChange: (e) => o(e === "none" ? "" : e),
680
- children: [/* @__PURE__ */ E(Z, {
708
+ children: [/* @__PURE__ */ D(Z, {
681
709
  "aria-label": "Station",
682
710
  className: "min-w-40",
683
- children: /* @__PURE__ */ E(Q, { placeholder: "No station" })
684
- }), /* @__PURE__ */ D(Y, { children: [/* @__PURE__ */ E(X, {
711
+ children: /* @__PURE__ */ D(Q, { placeholder: "No station" })
712
+ }), /* @__PURE__ */ O(Y, { children: [/* @__PURE__ */ D(X, {
685
713
  value: "none",
686
714
  children: "No station"
687
- }), n.map((e) => /* @__PURE__ */ E(X, {
715
+ }), n.map((e) => /* @__PURE__ */ D(X, {
688
716
  value: e.id,
689
717
  children: e.name ?? e.id
690
718
  }, e.id))] })]
691
719
  })]
692
720
  }),
693
- /* @__PURE__ */ D("label", {
721
+ /* @__PURE__ */ O("label", {
694
722
  className: "space-y-1.5",
695
- children: [/* @__PURE__ */ E("span", {
723
+ children: [/* @__PURE__ */ D("span", {
696
724
  className: "text-xs font-medium uppercase tracking-wide text-text-secondary",
697
725
  children: "Session"
698
- }), /* @__PURE__ */ D(J, {
699
- value: x || "none",
700
- onValueChange: (e) => S(e === "none" ? "" : e),
701
- children: [/* @__PURE__ */ E(Z, {
726
+ }), /* @__PURE__ */ O(J, {
727
+ value: S || "none",
728
+ onValueChange: (e) => C(e === "none" ? "" : e),
729
+ children: [/* @__PURE__ */ D(Z, {
702
730
  "aria-label": "Session",
703
731
  className: "min-w-40",
704
- children: /* @__PURE__ */ E(Q, { placeholder: "Whole event" })
705
- }), /* @__PURE__ */ D(Y, { children: [/* @__PURE__ */ E(X, {
732
+ children: /* @__PURE__ */ D(Q, { placeholder: "Whole event" })
733
+ }), /* @__PURE__ */ O(Y, { children: [/* @__PURE__ */ D(X, {
706
734
  value: "none",
707
735
  children: "Whole event"
708
- }), ie.map((e) => /* @__PURE__ */ E(X, {
736
+ }), oe.map((e) => /* @__PURE__ */ D(X, {
709
737
  value: e.id,
710
738
  children: e.title
711
739
  }, e.id))] })]
@@ -713,52 +741,52 @@ function ye({ eventId: e, eventName: t, stations: n, attendees: i, activeStation
713
741
  })
714
742
  ]
715
743
  }),
716
- /* @__PURE__ */ D(I, {
744
+ /* @__PURE__ */ O(I, {
717
745
  type: "submit",
718
746
  size: "lg",
719
- disabled: j || !u.trim(),
747
+ disabled: M || !u.trim(),
720
748
  className: "h-12 w-full text-base",
721
- children: [/* @__PURE__ */ E(ee, { className: "h-5 w-5" }), j ? "Recording…" : `Check ${m === "OUT" ? "out" : "in"}`]
749
+ children: [/* @__PURE__ */ D(te, { className: "h-5 w-5" }), M ? "Recording…" : `Check ${m === "OUT" ? "out" : "in"}`]
722
750
  })
723
751
  ]
724
752
  })
725
753
  ]
726
754
  });
727
755
  }
728
- var be = 10, xe = 500;
729
- function Se() {
756
+ var Se = 10, Ce = 500;
757
+ function we() {
730
758
  let r = c({
731
759
  limit: 100,
732
760
  offset: 0
733
- }).data?.events.items ?? [], [i, s] = w(""), l = i || void 0, u = r.find((e) => e.id === i), [d, h] = w(""), g = m({
734
- pageSize: be,
761
+ }).data?.events.items ?? [], [i, s] = T(""), l = i || void 0, u = r.find((e) => e.id === i), [d, h] = T(""), g = m({
762
+ pageSize: Se,
735
763
  resetKey: i
736
- }), y = n({
764
+ }), b = n({
737
765
  eventId: l,
738
766
  limit: 100,
739
767
  offset: 0
740
- }), b = t({
768
+ }), x = t({
741
769
  eventId: l,
742
770
  limit: g.limit,
743
771
  offset: g.offset
744
- }), x = t({
772
+ }), S = t({
745
773
  eventId: l,
746
- limit: xe,
774
+ limit: Ce,
747
775
  offset: 0
748
- }), C = e({
776
+ }), w = e({
749
777
  eventId: l,
750
778
  limit: 200,
751
779
  offset: 0
752
- }), O = S(() => y.data?.checkInStations.items ?? [], [y.data]), k = b.data?.checkInRecords.items ?? [], A = b.data?.checkInRecords.total ?? 0, j = S(() => x.data?.checkInRecords.items ?? [], [x.data]), M = S(() => C.data?.attendees.items ?? [], [C.data]), N = C.data?.attendees.total ?? 0, ee = S(() => {
780
+ }), k = C(() => b.data?.checkInStations.items ?? [], [b.data]), A = x.data?.checkInRecords.items ?? [], j = x.data?.checkInRecords.total ?? 0, M = C(() => S.data?.checkInRecords.items ?? [], [S.data]), N = C(() => w.data?.attendees.items ?? [], [w.data]), ee = w.data?.attendees.total ?? 0, te = C(() => {
753
781
  let e = /* @__PURE__ */ new Map();
754
- for (let t of M) e.set(t.id, t.fullName);
782
+ for (let t of N) e.set(t.id, t.fullName);
755
783
  return e;
756
- }, [M]), te = S(() => {
784
+ }, [N]), re = C(() => {
757
785
  let e = /* @__PURE__ */ new Map();
758
- for (let t of O) e.set(t.id, t.name ?? t.id);
786
+ for (let t of k) e.set(t.id, t.name ?? t.id);
759
787
  return e;
760
- }, [O]), { checkedInCount: F, stationCounts: ne } = S(() => {
761
- let e = /* @__PURE__ */ new Set(), t = { count: 0 }, n = /* @__PURE__ */ new Map(), r = [...j].sort((e, t) => new Date(e.recordedAt).getTime() - new Date(t.recordedAt).getTime());
788
+ }, [k]), { checkedInCount: F, stationCounts: ie } = C(() => {
789
+ let e = /* @__PURE__ */ new Set(), t = { count: 0 }, n = /* @__PURE__ */ new Map(), r = [...M].sort((e, t) => new Date(e.recordedAt).getTime() - new Date(t.recordedAt).getTime());
762
790
  for (let i of r) {
763
791
  let r = i.attendeeId ?? "";
764
792
  if (i.direction === "OUT" ? r ? e.delete(r) : t.count > 0 && --t.count : r ? e.add(r) : t.count += 1, i.stationId && i.direction !== "OUT") {
@@ -772,138 +800,140 @@ function Se() {
772
800
  checkedInCount: e.size + t.count,
773
801
  stationCounts: i
774
802
  };
775
- }, [j]), B = N, V = B > 0 ? Math.min(100, Math.round(F / B * 100)) : 0, [H] = o(), [U] = a(), [W, G] = w(!1), [K, q] = w(void 0), [se, ce] = w(!1), [le, ue] = w(null), de = () => {
803
+ }, [M]), B = ee, V = B > 0 ? Math.min(100, Math.round(F / B * 100)) : 0, [H] = o(), [U] = a(), [W, G] = T(!1), [K, q] = T(void 0), [le, ue] = T(!1), [de, fe] = T(null), pe = () => {
776
804
  q(void 0), G(!0);
777
- }, fe = (e) => {
805
+ }, $ = (e) => {
778
806
  q(e), G(!0);
779
- }, pe = (e) => {
780
- ue(e), ce(!0);
781
- }, ge = async (e) => {
807
+ }, me = (e) => {
808
+ fe(e), ue(!0);
809
+ }, _e = y(), ve = (e) => {
810
+ e.registrationId && _e(e.registrationId, e.stationId ?? null);
811
+ }, we = async (e) => {
782
812
  let t = await H({ variables: { id: e.id } });
783
813
  _(t, t.data?.deleteCheckInStation ? e.id : null, "Could not delete station") && (d === e.id && h(""), v.success("Station deleted", `“${e.name ?? e.id}” was removed.`));
784
- }, $ = async (e) => {
814
+ }, Te = async (e) => {
785
815
  let t = await U({ variables: { id: e.id } });
786
816
  _(t, t.data?.deleteCheckInRecord ? e.id : null, "Could not delete record") && v.success("Check-in record deleted");
787
- }, Se = () => {
788
- b.refetch(), x.refetch();
789
- }, Ce = (e) => e.attendeeId ? ee.get(e.attendeeId) ?? `Attendee ${e.attendeeId.slice(0, 8)}` : "Walk-in guest", we = !!i;
790
- return /* @__PURE__ */ D("div", {
817
+ }, Ee = () => {
818
+ x.refetch(), S.refetch();
819
+ }, De = (e) => e.attendeeId ? te.get(e.attendeeId) ?? `Attendee ${e.attendeeId.slice(0, 8)}` : "Walk-in guest", Oe = !!i;
820
+ return /* @__PURE__ */ O("div", {
791
821
  className: "space-y-6 p-6",
792
822
  children: [
793
- /* @__PURE__ */ E(ae, { children: "Kiosks are the front desk of your event. Each check-in station is a device or counter where attendees scan in, and check-in records are the live log of who arrived and when. Configure your stations before doors open, then check attendees in from this page and watch arrivals flow in on the day." }),
794
- /* @__PURE__ */ E(ie, { children: /* @__PURE__ */ D("div", {
823
+ /* @__PURE__ */ D(se, { children: "Kiosks are the front desk of your event. Each check-in station is a device or counter where attendees scan in, and check-in records are the live log of who arrived and when. Configure your stations before doors open, then check attendees in from this page and watch arrivals flow in on the day." }),
824
+ /* @__PURE__ */ D(oe, { children: /* @__PURE__ */ O("div", {
795
825
  className: "flex flex-wrap items-start justify-between gap-4",
796
- children: [/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ D("h1", {
826
+ children: [/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ O("h1", {
797
827
  className: "text-2xl font-bold text-text-primary",
798
- children: [/* @__PURE__ */ E(R, { children: "Kiosk" }), " & Check-In"]
799
- }), /* @__PURE__ */ E("p", {
828
+ children: [/* @__PURE__ */ D(R, { children: "Kiosk" }), " & Check-In"]
829
+ }), /* @__PURE__ */ D("p", {
800
830
  className: "mt-1 text-sm text-text-secondary",
801
831
  children: "Manage check-in stations and record attendee arrivals against a live backend."
802
- })] }), /* @__PURE__ */ D("div", {
832
+ })] }), /* @__PURE__ */ O("div", {
803
833
  className: "flex flex-wrap items-end gap-3",
804
- children: [/* @__PURE__ */ D("label", {
834
+ children: [/* @__PURE__ */ O("label", {
805
835
  className: "space-y-1 text-sm",
806
- children: [/* @__PURE__ */ E("span", {
836
+ children: [/* @__PURE__ */ D("span", {
807
837
  className: "font-medium text-text-primary",
808
838
  children: "Event"
809
- }), /* @__PURE__ */ D(J, {
839
+ }), /* @__PURE__ */ O(J, {
810
840
  value: i || "all",
811
841
  onValueChange: (e) => s(e === "all" ? "" : e),
812
- children: [/* @__PURE__ */ E(Z, {
842
+ children: [/* @__PURE__ */ D(Z, {
813
843
  "aria-label": "Event",
814
844
  className: "min-w-52",
815
- children: /* @__PURE__ */ E(Q, { placeholder: "All events" })
816
- }), /* @__PURE__ */ D(Y, { children: [/* @__PURE__ */ E(X, {
845
+ children: /* @__PURE__ */ D(Q, { placeholder: "All events" })
846
+ }), /* @__PURE__ */ O(Y, { children: [/* @__PURE__ */ D(X, {
817
847
  value: "all",
818
848
  children: "All events"
819
- }), r.map((e) => /* @__PURE__ */ E(X, {
849
+ }), r.map((e) => /* @__PURE__ */ D(X, {
820
850
  value: e.id,
821
851
  children: e.name
822
852
  }, e.id))] })]
823
853
  })]
824
- }), /* @__PURE__ */ D(I, {
854
+ }), /* @__PURE__ */ O(I, {
825
855
  type: "button",
826
- onClick: de,
827
- disabled: !we,
828
- children: [/* @__PURE__ */ E(P, { className: "h-4 w-4" }), "New station"]
856
+ onClick: pe,
857
+ disabled: !Oe,
858
+ children: [/* @__PURE__ */ D(P, { className: "h-4 w-4" }), "New station"]
829
859
  })]
830
860
  })]
831
861
  }) }),
832
- we ? /* @__PURE__ */ D("div", {
862
+ Oe ? /* @__PURE__ */ O("div", {
833
863
  className: "grid grid-cols-1 gap-6 lg:grid-cols-12",
834
- children: [/* @__PURE__ */ E("div", {
864
+ children: [/* @__PURE__ */ D("div", {
835
865
  className: "lg:col-span-5",
836
- children: /* @__PURE__ */ E(ye, {
866
+ children: /* @__PURE__ */ D(xe, {
837
867
  eventId: i,
838
868
  eventName: u?.name ?? "this event",
839
- stations: O,
840
- attendees: M,
869
+ stations: k,
870
+ attendees: N,
841
871
  activeStationId: d,
842
872
  onStationChange: h,
843
- onCheckedIn: Se
873
+ onCheckedIn: Ee
844
874
  })
845
- }), /* @__PURE__ */ D("div", {
875
+ }), /* @__PURE__ */ O("div", {
846
876
  className: "space-y-6 lg:col-span-7",
847
- children: [/* @__PURE__ */ D("section", { children: [
848
- /* @__PURE__ */ E("h2", {
877
+ children: [/* @__PURE__ */ O("section", { children: [
878
+ /* @__PURE__ */ D("h2", {
849
879
  className: "text-sm font-semibold uppercase tracking-wide text-text-secondary",
850
880
  children: "Stations"
851
881
  }),
852
- /* @__PURE__ */ D("div", {
882
+ /* @__PURE__ */ O("div", {
853
883
  className: "mt-3 flex flex-wrap gap-2",
854
- children: [O.map((e) => {
855
- let t = d === e.id, n = ne.get(e.id) ?? 0;
856
- return /* @__PURE__ */ D("div", {
884
+ children: [k.map((e) => {
885
+ let t = d === e.id, n = ie.get(e.id) ?? 0;
886
+ return /* @__PURE__ */ O("div", {
857
887
  className: `group inline-flex items-center gap-1.5 rounded-full border px-3 py-1.5 text-sm transition-colors ${t ? "border-accent-primary bg-accent-primary/10 text-accent-primary" : "border-border-default bg-bg-surface text-text-secondary hover:border-border-strong"}`,
858
- children: [/* @__PURE__ */ D("button", {
888
+ children: [/* @__PURE__ */ O("button", {
859
889
  type: "button",
860
890
  "aria-pressed": t,
861
891
  onClick: () => h(t ? "" : e.id),
862
892
  className: "inline-flex items-center gap-1.5 font-medium outline-none",
863
- children: [e.name ?? e.id, n > 0 ? /* @__PURE__ */ E("span", {
893
+ children: [e.name ?? e.id, n > 0 ? /* @__PURE__ */ D("span", {
864
894
  className: "rounded-full bg-bg-sunken px-1.5 py-0.5 text-xs tabular-nums text-text-secondary",
865
895
  children: n
866
896
  }) : null]
867
- }), /* @__PURE__ */ E(f, {
897
+ }), /* @__PURE__ */ D(f, {
868
898
  ariaLabel: `Station ${e.name ?? e.id} actions`,
869
899
  entityName: e.name ?? void 0,
870
- onEdit: () => fe(e),
871
- onDelete: () => ge(e)
900
+ onEdit: () => $(e),
901
+ onDelete: () => we(e)
872
902
  })]
873
903
  }, e.id);
874
- }), /* @__PURE__ */ D("button", {
904
+ }), /* @__PURE__ */ O("button", {
875
905
  type: "button",
876
- onClick: de,
906
+ onClick: pe,
877
907
  className: "inline-flex items-center gap-1.5 rounded-full border border-dashed border-border-strong px-3 py-1.5 text-sm font-medium text-text-secondary transition-colors hover:border-accent-primary hover:text-accent-primary",
878
- children: [/* @__PURE__ */ E(P, { className: "h-3.5 w-3.5" }), "New station"]
908
+ children: [/* @__PURE__ */ D(P, { className: "h-3.5 w-3.5" }), "New station"]
879
909
  })]
880
910
  }),
881
- y.loading && O.length === 0 ? /* @__PURE__ */ E("p", {
911
+ b.loading && k.length === 0 ? /* @__PURE__ */ D("p", {
882
912
  className: "mt-2 text-sm text-text-secondary",
883
913
  children: "Loading stations…"
884
914
  }) : null
885
- ] }), /* @__PURE__ */ D(L, {
915
+ ] }), /* @__PURE__ */ O(L, {
886
916
  treatment: "plain",
887
917
  className: "border-border-seam p-5",
888
918
  children: [
889
- /* @__PURE__ */ D("div", {
919
+ /* @__PURE__ */ O("div", {
890
920
  className: "flex flex-wrap items-center justify-between gap-2",
891
- children: [/* @__PURE__ */ E("h2", {
921
+ children: [/* @__PURE__ */ D("h2", {
892
922
  className: "text-lg font-semibold text-text-primary",
893
923
  children: "Check-In Records"
894
- }), /* @__PURE__ */ D("p", {
924
+ }), /* @__PURE__ */ O("p", {
895
925
  className: "text-sm text-text-secondary",
896
926
  children: [
897
927
  "Checked in",
898
928
  " ",
899
- /* @__PURE__ */ E("span", {
929
+ /* @__PURE__ */ D("span", {
900
930
  className: "text-lg font-bold tabular-nums text-text-primary",
901
931
  children: F.toLocaleString()
902
932
  }),
903
- B > 0 ? /* @__PURE__ */ D(T, { children: [
933
+ B > 0 ? /* @__PURE__ */ O(E, { children: [
904
934
  " ",
905
935
  "/ ",
906
- /* @__PURE__ */ E("span", {
936
+ /* @__PURE__ */ D("span", {
907
937
  className: "tabular-nums",
908
938
  children: B.toLocaleString()
909
939
  })
@@ -911,69 +941,75 @@ function Se() {
911
941
  ]
912
942
  })]
913
943
  }),
914
- B > 0 ? /* @__PURE__ */ E("div", {
944
+ B > 0 ? /* @__PURE__ */ D("div", {
915
945
  className: "mt-3 h-2 w-full overflow-hidden rounded-full bg-bg-sunken",
916
946
  role: "progressbar",
917
947
  "aria-valuenow": F,
918
948
  "aria-valuemin": 0,
919
949
  "aria-valuemax": B,
920
950
  "aria-label": "Attendees checked in",
921
- children: /* @__PURE__ */ E("div", {
951
+ children: /* @__PURE__ */ D("div", {
922
952
  className: "h-full rounded-full bg-action-primary-bg transition-[width] duration-500",
923
953
  style: { width: `${V}%` }
924
954
  })
925
955
  }) : null,
926
- /* @__PURE__ */ E("div", {
956
+ /* @__PURE__ */ D("div", {
927
957
  className: "mt-4",
928
- children: k.length === 0 ? /* @__PURE__ */ E(z, {
958
+ children: A.length === 0 ? /* @__PURE__ */ D(z, {
929
959
  illustration: "empty-data",
930
- title: b.loading ? "Loading check-in records…" : "No check-in records yet",
960
+ title: x.loading ? "Loading check-in records…" : "No check-in records yet",
931
961
  description: "Arrivals recorded from this kiosk show up here, newest first.",
932
962
  className: "py-8"
933
- }) : /* @__PURE__ */ E(oe, {
963
+ }) : /* @__PURE__ */ D(ce, {
934
964
  className: "max-h-[28rem] pr-3",
935
- children: /* @__PURE__ */ E("ul", {
965
+ children: /* @__PURE__ */ D("ul", {
936
966
  className: "space-y-2.5",
937
- children: k.map((e) => {
938
- let t = Ce(e), n = e.direction === "OUT", r = e.stationId ? te.get(e.stationId) : null;
939
- return /* @__PURE__ */ D("li", {
967
+ children: A.map((e) => {
968
+ let t = De(e), n = e.direction === "OUT", r = e.stationId ? re.get(e.stationId) : null;
969
+ return /* @__PURE__ */ O("li", {
940
970
  className: "flex items-center gap-3 rounded-card border border-border-seam bg-bg-surface p-3 transition-[box-shadow,border-color] duration-200 hover:border-border-strong hover:shadow-elevation-1",
941
971
  children: [
942
- /* @__PURE__ */ E("span", {
972
+ /* @__PURE__ */ D("span", {
943
973
  className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-accent-primary/10 text-sm font-semibold text-accent-primary",
944
974
  "aria-hidden": "true",
945
- children: me(t)
975
+ children: he(t)
946
976
  }),
947
- /* @__PURE__ */ D("div", {
977
+ /* @__PURE__ */ O("div", {
948
978
  className: "min-w-0 flex-1",
949
- children: [/* @__PURE__ */ E("p", {
979
+ children: [/* @__PURE__ */ D("p", {
950
980
  className: "truncate font-medium text-text-primary",
951
981
  children: t
952
- }), /* @__PURE__ */ D("p", {
982
+ }), /* @__PURE__ */ O("p", {
953
983
  className: "mt-0.5 truncate text-sm text-text-secondary",
954
984
  children: [
955
- he(e.recordedAt),
985
+ ge(e.recordedAt),
956
986
  " • ",
957
987
  e.method
958
988
  ]
959
989
  })]
960
990
  }),
961
- /* @__PURE__ */ D("div", {
991
+ /* @__PURE__ */ O("div", {
962
992
  className: "flex shrink-0 items-center gap-2",
963
993
  children: [
964
- /* @__PURE__ */ E(re, {
994
+ /* @__PURE__ */ D(ae, {
965
995
  variant: n ? "secondary" : "success",
966
996
  className: "uppercase",
967
997
  children: n ? "Checked out" : "Checked in"
968
998
  }),
969
- r ? /* @__PURE__ */ E("span", {
999
+ r ? /* @__PURE__ */ D("span", {
970
1000
  className: "hidden text-sm text-text-secondary sm:inline",
971
1001
  children: r
972
1002
  }) : null,
973
- /* @__PURE__ */ E(f, {
1003
+ /* @__PURE__ */ D(f, {
974
1004
  ariaLabel: `Check-in record ${e.id} actions`,
975
- onEdit: () => pe(e),
976
- onDelete: () => $(e)
1005
+ onEdit: () => me(e),
1006
+ onDelete: () => Te(e),
1007
+ extraItems: !n && e.registrationId ? [{
1008
+ key: "print-badge",
1009
+ label: "Print badge",
1010
+ icon: ne,
1011
+ onSelect: () => ve(e)
1012
+ }] : []
977
1013
  })
978
1014
  ]
979
1015
  })
@@ -983,45 +1019,45 @@ function Se() {
983
1019
  })
984
1020
  })
985
1021
  }),
986
- /* @__PURE__ */ E(p, {
1022
+ /* @__PURE__ */ D(p, {
987
1023
  offset: g.offset,
988
1024
  limit: g.limit,
989
- loadedCount: k.length,
990
- total: A,
1025
+ loadedCount: A.length,
1026
+ total: j,
991
1027
  onPrev: g.prevPage,
992
1028
  onNext: g.nextPage,
993
1029
  itemLabel: "records",
994
- loading: b.loading
1030
+ loading: x.loading
995
1031
  })
996
1032
  ]
997
1033
  })]
998
1034
  })]
999
- }) : /* @__PURE__ */ E(L, {
1035
+ }) : /* @__PURE__ */ D(L, {
1000
1036
  treatment: "plain",
1001
1037
  className: "border-border-seam p-5",
1002
- children: /* @__PURE__ */ E(z, {
1038
+ children: /* @__PURE__ */ D(z, {
1003
1039
  illustration: "empty-data",
1004
1040
  title: "Select an event to open the kiosk",
1005
1041
  description: "Check-in stations and records belong to a specific event. Pick one above to start scanning attendees in.",
1006
1042
  className: "py-8"
1007
1043
  })
1008
1044
  }),
1009
- i ? /* @__PURE__ */ E(_e, {
1045
+ i ? /* @__PURE__ */ D(ye, {
1010
1046
  open: W,
1011
1047
  onOpenChange: G,
1012
1048
  eventId: i,
1013
1049
  eventName: u?.name ?? "this event",
1014
1050
  station: K
1015
1051
  }) : null,
1016
- /* @__PURE__ */ E(ve, {
1017
- open: se,
1018
- onOpenChange: ce,
1019
- record: le,
1020
- stations: O
1052
+ /* @__PURE__ */ D(be, {
1053
+ open: le,
1054
+ onOpenChange: ue,
1055
+ record: de,
1056
+ stations: k
1021
1057
  })
1022
1058
  ]
1023
1059
  });
1024
1060
  }
1025
- export { Se as default };
1061
+ export { we as default };
1026
1062
 
1027
1063
  //# sourceMappingURL=KioskPage.js.map